/* =============================================================
   Luber Mechanical - lubermechanic.com
   Design tokens, layout primitives & component styles
   ============================================================= */

:root {
  /* Brand */
  --brand: #C8102E;
  --brand-dark: #8B0A1F;
  --brand-soft: #FFE5E9;
  --accent: #F5C518;
  --accent-dark: #C49B12;

  /* Ink / surface */
  --ink: #0F1720;
  --ink-2: #2A3340;
  --ink-3: #4A5568;
  --mute: #6B7280;
  --line: #E5E7EB;
  --paper: #FFFFFF;
  --surface: #F7F8FA;
  --surface-2: #EEF1F5;

  /* Type */
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-display: 'Bebas Neue', 'Oswald', 'Inter', sans-serif;

  /* Layout */
  --container: 1200px;
  --container-wide: 1320px;
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(15, 23, 32, 0.06);
  --shadow: 0 8px 24px rgba(15, 23, 32, 0.08);
  --shadow-lg: 0 20px 48px rgba(15, 23, 32, 0.12);

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast: 160ms;
  --t: 240ms;
  --t-slow: 420ms;
}

/* =============================================================
   Reset / base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--brand); text-decoration: none; transition: color var(--t-fast) var(--ease); }
a:hover { color: var(--brand-dark); }
button { font: inherit; cursor: pointer; border: 0; background: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--brand); color: #fff; }

/* Headings */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.05; letter-spacing: 0.01em; color: var(--ink); margin: 0 0 .6em; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); letter-spacing: 0.005em; }
h2 { font-size: clamp(2rem, 3.8vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); letter-spacing: 0.02em; }
h4 { font-size: 1.15rem; font-family: var(--font-sans); font-weight: 700; letter-spacing: 0; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--ink-2); }

/* =============================================================
   Layout primitives
   ============================================================= */
.container { width: 100%; max-width: var(--container); padding: 0 24px; margin-inline: auto; }
.container-wide { max-width: var(--container-wide); }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-tight { padding: clamp(48px, 6vw, 72px) 0; }
.section-surface { background: var(--surface); }
.section-ink { background: var(--ink); color: #fff; }
.section-ink h1, .section-ink h2, .section-ink h3 { color: #fff; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 14px;
  position: relative;
  padding-left: 32px;
}
.eyebrow::before {
  content: ''; position: absolute; left: 0; top: 50%;
  width: 24px; height: 2px; background: var(--brand); transform: translateY(-50%);
}
.section-ink .eyebrow { color: var(--accent); }
.section-ink .eyebrow::before { background: var(--accent); }

.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { padding-left: 0; }
.section-head.center .eyebrow::before { display: none; }

/* =============================================================
   Buttons
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 28px;
  font-weight: 700; font-size: 0.95rem; letter-spacing: 0.02em;
  border-radius: 999px;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), background var(--t) var(--ease), color var(--t) var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(200, 16, 46, 0.32); }
.btn-primary:hover { background: var(--brand-dark); color: #fff; box-shadow: 0 10px 24px rgba(200, 16, 46, 0.36); }
.btn-secondary { background: #fff; color: var(--ink); border: 2px solid var(--ink); padding: 13px 26px; }
.btn-secondary:hover { background: var(--ink); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.4); padding: 13px 26px; }
.btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-accent { background: var(--accent); color: var(--ink); box-shadow: 0 8px 20px rgba(245, 197, 24, 0.42); }
.btn-accent:hover { background: var(--accent-dark); }

/* =============================================================
   Header
   ============================================================= */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease);
}
.site-header.is-scrolled { background: rgba(255,255,255,0.98); border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 16px 0;
  transition: padding var(--t) var(--ease);
}
.is-scrolled .header-inner { padding: 10px 0; }

.brand-logo {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-size: 1.5rem; letter-spacing: 0.06em;
  color: var(--ink); line-height: 1;
  flex: 0 0 auto;
}
.brand-logo:hover { color: var(--ink); }
.brand-logo img { width: 38px; height: 38px; border-radius: 8px; flex: 0 0 38px; }
.brand-logo .brand-name { white-space: nowrap; display: block; }
.brand-logo .brand-name b { color: var(--brand); }
.brand-logo .brand-tag { display: block; font-family: var(--font-sans); font-size: 0.62rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mute); margin-top: 2px; white-space: nowrap; }

.primary-nav { display: flex; align-items: center; gap: 2px; flex: 1 1 auto; justify-content: center; }
.primary-nav a {
  padding: 10px 12px; font-weight: 600; font-size: 0.92rem; color: var(--ink-2); border-radius: 8px;
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
  white-space: nowrap;
}
.primary-nav a:hover { color: var(--brand); background: var(--brand-soft); }

.header-ctas { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.header-call {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; font-weight: 700; color: var(--ink);
  border-radius: 999px; border: 1px solid var(--line);
  white-space: nowrap;
}
.header-call:hover { color: var(--brand); border-color: var(--brand); }
.header-call svg { width: 16px; height: 16px; color: var(--brand); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--surface);
  align-items: center; justify-content: center;
}
.nav-toggle span {
  width: 22px; height: 2px; background: var(--ink); position: relative;
  transition: transform var(--t) var(--ease), background var(--t) var(--ease);
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ''; position: absolute; left: 0; width: 22px; height: 2px; background: var(--ink);
  transition: transform var(--t) var(--ease), top var(--t) var(--ease);
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* =============================================================
   Hero
   ============================================================= */
.hero {
  position: relative;
  padding: 160px 0 96px;
  overflow: hidden;
  background: linear-gradient(180deg, #F7F8FA 0%, #fff 100%);
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(800px 500px at 90% 0%, rgba(200,16,46,0.08), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(245,197,24,0.10), transparent 60%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
}
.hero h1 { margin-bottom: 20px; }
.hero h1 .accent-text { color: var(--brand); }
.hero p.lead { margin-bottom: 32px; max-width: 56ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; }
.rating-badge {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 16px; background: #fff; border: 1px solid var(--line);
  border-radius: 999px; box-shadow: var(--shadow-sm);
}
.stars { color: var(--accent); letter-spacing: 2px; font-size: 1.1rem; }
.rating-badge strong { font-size: 1.15rem; color: var(--ink); }
.rating-badge span { color: var(--mute); font-size: 0.9rem; }

.hero-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(15,23,32,0.4));
}
.hero-badge {
  position: absolute; bottom: 24px; left: 24px; right: 24px;
  display: flex; gap: 16px; align-items: center;
  padding: 16px 20px; background: rgba(255,255,255,0.97);
  border-radius: var(--radius); box-shadow: var(--shadow);
  z-index: 2;
}
.hero-badge-icon {
  flex: 0 0 48px; width: 48px; height: 48px; border-radius: 50%;
  background: var(--brand); color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.hero-badge-icon svg { width: 24px; height: 24px; }
.hero-badge-text strong { display: block; font-size: 0.95rem; color: var(--ink); }
.hero-badge-text span { font-size: 0.85rem; color: var(--mute); }

/* =============================================================
   Trust strip
   ============================================================= */
.trust-strip {
  background: var(--ink);
  color: #fff;
  padding: 28px 0;
}
.trust-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.trust-item { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.trust-item svg { width: 28px; height: 28px; color: var(--accent); }
.trust-item strong { font-size: 1rem; }
.trust-item span { font-size: 0.85rem; color: rgba(255,255,255,0.7); }

/* =============================================================
   Services
   ============================================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: box-shadow var(--t) var(--ease), border-color var(--t) var(--ease);
  display: flex; flex-direction: column;
}
.service-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--brand);
}
.service-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface);
}
.service-card-media img { width: 100%; height: 100%; object-fit: cover; }
.service-card-icon {
  position: absolute; top: 16px; left: 16px;
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--brand); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow);
}
.service-card-icon svg { width: 22px; height: 22px; }
.service-card-body { padding: 24px 24px 28px; flex: 1; display: flex; flex-direction: column; }
.service-card-body h3 { font-size: 1.4rem; margin-bottom: 10px; }
.service-card-body p { color: var(--ink-3); font-size: 0.95rem; flex: 1; margin-bottom: 18px; }
.service-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700; font-size: 0.9rem; color: var(--brand);
  text-transform: uppercase; letter-spacing: 0.1em;
}
.service-link svg { width: 14px; height: 14px; transition: transform var(--t) var(--ease); }
.service-card:hover .service-link svg { transform: translateX(4px); }

.service-card-text {
  padding: 28px 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.service-card-text:hover { box-shadow: var(--shadow); border-color: var(--brand); }
.service-card-text .icon-wrap {
  width: 56px; height: 56px; border-radius: 16px;
  background: var(--brand-soft); color: var(--brand);
  display: flex; align-items: center; justify-content: center;
}
.service-card-text .icon-wrap svg { width: 28px; height: 28px; }
.service-card-text h3 { font-size: 1.25rem; margin: 0; font-family: var(--font-sans); font-weight: 700; letter-spacing: 0; }
.service-card-text p { font-size: 0.92rem; color: var(--ink-3); margin: 0; }

/* =============================================================
   About
   ============================================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  align-items: center;
}
.about-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
}
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-stamp {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--accent); color: var(--ink);
  padding: 18px 22px; border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-lg);
  transform: rotate(-4deg);
}
.about-stamp strong { display: block; font-family: var(--font-display); font-size: 2.2rem; line-height: 1; }
.about-stamp span { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; }

.about-features {
  list-style: none; padding: 0; margin: 28px 0 36px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px;
}
.about-features li {
  display: flex; align-items: flex-start; gap: 10px;
  font-weight: 500; color: var(--ink-2);
}
.about-features li svg {
  flex: 0 0 22px; width: 22px; height: 22px;
  color: var(--brand); margin-top: 2px;
}

/* =============================================================
   Why us / counters
   ============================================================= */
.counters-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.counter-card {
  text-align: center; padding: 32px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  transition: transform var(--t) var(--ease), background var(--t) var(--ease);
}
.counter-card:hover { background: rgba(255,255,255,0.07); }
.counter-num {
  font-family: var(--font-display); font-size: clamp(3rem, 5vw, 4.2rem);
  color: var(--accent); line-height: 1; display: block;
}
.counter-label { font-size: 0.95rem; color: rgba(255,255,255,0.78); }

/* =============================================================
   Service areas
   ============================================================= */
.areas-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-top: 36px;
}
.area-pill {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px;
  background: #fff; border: 1px solid var(--line);
  border-radius: 12px;
  font-weight: 600; color: var(--ink-2);
  transition: transform var(--t) var(--ease), border-color var(--t) var(--ease), color var(--t) var(--ease);
}
.area-pill:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }
.area-pill svg { width: 18px; height: 18px; color: var(--brand); flex: 0 0 18px; }

/* =============================================================
   Testimonials carousel
   ============================================================= */
.testimonials { position: relative; }
.testimonial-track-wrap { overflow: hidden; padding: 8px 0 4px; }
.testimonial-track {
  display: flex;
  gap: 24px;
  transition: transform 500ms var(--ease);
  will-change: transform;
}
.testimonial-card {
  flex: 0 0 calc((100% - 48px) / 3);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex; flex-direction: column; gap: 14px;
  box-shadow: var(--shadow-sm);
}
.testimonial-card .stars { font-size: 1rem; }
.testimonial-card blockquote { margin: 0; font-size: 0.98rem; color: var(--ink-2); line-height: 1.65; flex: 1; }
.testimonial-card cite { font-style: normal; font-weight: 700; color: var(--ink); }
.testimonial-card cite small { display: block; font-weight: 500; color: var(--mute); font-size: 0.82rem; margin-top: 2px; }
.testimonial-author {
  display: flex; align-items: center; gap: 12px;
  padding-top: 14px; border-top: 1px solid var(--line);
}
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--brand); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
}

.carousel-controls {
  display: flex; gap: 12px; justify-content: flex-end; margin-top: 28px;
}
.carousel-btn {
  width: 48px; height: 48px; border-radius: 50%;
  background: #fff; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink); transition: all var(--t) var(--ease);
}
.carousel-btn svg { width: 18px; height: 18px; }
.carousel-btn:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.carousel-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.carousel-btn:disabled:hover { background: #fff; color: var(--ink); border-color: var(--line); }

/* =============================================================
   FAQ
   ============================================================= */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 920px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.faq-item[open] { border-color: var(--brand); box-shadow: var(--shadow-sm); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 60px 20px 24px;
  font-weight: 700; font-size: 1.05rem; color: var(--ink);
  position: relative;
  transition: color var(--t-fast) var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--brand); }
.faq-item summary::after {
  content: ''; position: absolute;
  right: 24px; top: 50%; width: 14px; height: 14px;
  background: var(--brand);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='currentColor' d='M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='currentColor' d='M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z'/></svg>") center/contain no-repeat;
  transform: translateY(-50%);
  transition: transform var(--t) var(--ease);
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(180deg); }
.faq-body { padding: 0 24px 22px; color: var(--ink-3); line-height: 1.7; }
.faq-body p:last-child { margin-bottom: 0; }

/* =============================================================
   Contact
   ============================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.info-card {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform var(--t) var(--ease), border-color var(--t) var(--ease);
}
.info-card:hover { border-color: var(--brand); }
.info-icon {
  flex: 0 0 48px; width: 48px; height: 48px; border-radius: 12px;
  background: var(--brand-soft); color: var(--brand);
  display: flex; align-items: center; justify-content: center;
}
.info-icon svg { width: 22px; height: 22px; }
.info-card h4 { margin: 0 0 4px; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--mute); font-weight: 700; }
.info-card p { margin: 0; color: var(--ink); font-weight: 600; }
.info-card a { color: var(--ink); }
.info-card a:hover { color: var(--brand); }

.contact-form-wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}
.contact-form-wrap h3 { margin-top: 0; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.82rem; font-weight: 700; color: var(--ink-2); text-transform: uppercase; letter-spacing: 0.1em; }
.field input, .field select, .field textarea {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  background: var(--surface);
  color: var(--ink);
  transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); background: #fff; }

.map-frame {
  margin-top: 24px;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* =============================================================
   Footer
   ============================================================= */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: 72px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .brand-logo { color: #fff; margin-bottom: 16px; }
.footer-brand .brand-logo .brand-tag { color: rgba(255,255,255,0.55); }
.footer-brand p { font-size: 0.92rem; color: rgba(255,255,255,0.7); max-width: 32ch; }
.footer-col h5 {
  font-family: var(--font-sans); font-size: 0.78rem; text-transform: uppercase;
  letter-spacing: 0.16em; color: #fff; font-weight: 700; margin: 0 0 18px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: rgba(255,255,255,0.7); font-size: 0.95rem; }
.footer-col a:hover { color: var(--accent); }

.social-row { display: flex; gap: 10px; margin-top: 16px; }
.social-link {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.08); color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--t) var(--ease), transform var(--t) var(--ease);
}
.social-link:hover { background: var(--brand); color: #fff; }
.social-link svg { width: 18px; height: 18px; }

.footer-bottom {
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 0.85rem; color: rgba(255,255,255,0.5);
}
.footer-bottom a { color: rgba(255,255,255,0.7); }

/* =============================================================
   404
   ============================================================= */
.error-wrap {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 120px 24px 80px;
  background: linear-gradient(180deg, var(--surface), #fff);
}
.error-wrap .big {
  font-family: var(--font-display);
  font-size: clamp(7rem, 18vw, 12rem);
  color: var(--brand); line-height: 0.9; margin-bottom: 8px;
}

/* =============================================================
   Motion preferences
   No JS-dependent reveal animations: content is always visible
   to crawlers and to users with JS disabled.
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* =============================================================
   Responsive
   ============================================================= */
/* Mid-large: keep sections balanced, tame the header */
@media (max-width: 1180px) {
  .brand-logo .brand-tag { display: none; }
  .header-call { padding: 9px 14px; font-size: 0.92rem; }
  .primary-nav a { padding: 9px 10px; font-size: 0.88rem; }
}

@media (max-width: 1024px) {
  .header-call { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding-top: 130px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 56px; }
  .counters-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .testimonial-card { flex-basis: calc((100% - 24px) / 2); }
}

@media (max-width: 880px) {
  .trust-strip-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}

@media (max-width: 720px) {
  html { scroll-padding-top: 72px; }
  .primary-nav { display: none; }
  .header-call { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header.is-open .primary-nav {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 12px 16px; gap: 4px;
    box-shadow: var(--shadow);
  }
  .site-header.is-open .primary-nav a { padding: 14px 16px; font-size: 1.05rem; }
  .site-header.is-open .header-call {
    display: inline-flex; margin: 12px 16px 16px;
    position: absolute; top: 100%; left: 0; right: 0;
    transform: translateY(calc(var(--menu-h, 280px)));
    background: var(--brand); color: #fff; border-color: var(--brand); justify-content: center;
  }
  .site-header.is-open .header-call svg { color: #fff; }

  .services-grid { grid-template-columns: 1fr; }
  .about-features { grid-template-columns: 1fr; }
  .testimonial-card { flex-basis: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact-form { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 24px; }
  .hero-badge { left: 16px; right: 16px; bottom: 16px; padding: 12px 14px; }
  .section { padding: 64px 0; }
  .hero { padding: 110px 0 64px; }
  .hero-trust { gap: 14px; }
  .about-stamp { right: 12px; bottom: -16px; padding: 14px 16px; }
  .about-stamp strong { font-size: 1.7rem; }
}
