/* ============================================================
   ELVRU DESIGN SYSTEM v4
   Google-palette, high-conversion, mobile-first
   ============================================================ */

/* ── 1. DESIGN TOKENS ──────────────────────────────────── */
:root {
  /* Google Brand Colors */
  --blue:          #4285F4;
  --blue-hover:    #1a73e8;
  --blue-dark:     #0d47a1;
  --blue-tint:     #e8f0fe;
  --green:         #34A853;
  --green-hover:   #1e8e3e;
  --green-tint:    #e6f4ea;
  --red:           #EA4335;
  --red-tint:      #fce8e6;
  --yellow:        #FBBC05;
  --yellow-tint:   #fef7e0;

  /* Ink (dark surfaces) */
  --ink-900:  #0a0e1a;
  --ink-800:  #0f172a;
  --ink-700:  #1e293b;
  --ink-600:  #2d3748;

  /* Neutrals */
  --gray-900: #111827;
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-500: #6b7280;
  --gray-400: #9ca3af;
  --gray-300: #d1d5db;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --gray-50:  #f9fafb;
  --white:    #ffffff;

  /* Semantic */
  --text-primary:   var(--gray-900);
  --text-secondary: var(--gray-600);
  --text-muted:     var(--gray-400);
  --surface:        var(--white);
  --surface-alt:    #f8faff;
  --surface-2:      var(--gray-50);
  --border:         var(--gray-200);
  --border-subtle:  var(--gray-100);

  /* Typography */
  --font: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Font scale */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;
  --text-6xl:  3.75rem;
  --text-7xl:  4.5rem;

  /* Spacing */
  --s1:  0.25rem;
  --s2:  0.5rem;
  --s3:  0.75rem;
  --s4:  1rem;
  --s5:  1.25rem;
  --s6:  1.5rem;
  --s8:  2rem;
  --s10: 2.5rem;
  --s12: 3rem;
  --s16: 4rem;
  --s20: 5rem;
  --s24: 6rem;
  --s32: 8rem;

  /* Border radius */
  --r-sm:   6px;
  --r-md:   10px;
  --r-lg:   16px;
  --r-xl:   24px;
  --r-full: 9999px;

  /* Shadows */
  --sh-sm:   0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --sh-md:   0 4px 12px rgba(0,0,0,.09), 0 2px 6px rgba(0,0,0,.05);
  --sh-lg:   0 10px 30px rgba(0,0,0,.11), 0 4px 12px rgba(0,0,0,.07);
  --sh-xl:   0 20px 60px rgba(0,0,0,.14), 0 8px 24px rgba(0,0,0,.08);
  --sh-blue: 0 4px 20px rgba(66,133,244,.25);
  --sh-card-hover: 0 8px 32px rgba(0,0,0,.12), 0 2px 8px rgba(0,0,0,.06);

  /* Motion */
  --ease:       cubic-bezier(.4, 0, .2, 1);
  --ease-out:   cubic-bezier(0, 0, .2, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --t-fast:     .15s var(--ease);
  --t:          .25s var(--ease);
  --t-slow:     .4s var(--ease);

  /* Layout */
  --max-w:      1200px;
  --nav-h:      84px;
  --section-py: 96px;
}

/* ── 2. RESET ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video { max-width: 100%; height: auto; display: block; }
svg { display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
ul, ol { list-style: none; }
input, textarea, select { font: inherit; }
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.2; }

/* ── 3. TYPOGRAPHY BASE ─────────────────────────────────── */
.text-xs   { font-size: var(--text-xs); }
.text-sm   { font-size: var(--text-sm); }
.text-lg   { font-size: var(--text-lg); }
.text-xl   { font-size: var(--text-xl); }
.text-2xl  { font-size: var(--text-2xl); }
.text-3xl  { font-size: var(--text-3xl); }
.text-4xl  { font-size: var(--text-4xl); }

.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

.text-muted  { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }
.text-white  { color: var(--white); }
.text-blue   { color: var(--blue); }
.text-green  { color: var(--green); }

/* ── 4. LAYOUT ──────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--s6);
}

.section {
  padding: var(--section-py) 0;
}

.section--alt  { background: var(--surface-alt); }
.section--dark { background: var(--ink-800); color: var(--white); }
.section--blue { background: var(--blue); color: var(--white); }
.section--ink  { background: var(--ink-900); color: var(--white); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s8); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s8); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s6); }

.flex        { display: flex; }
.flex-col    { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: var(--s2); }
.gap-4 { gap: var(--s4); }
.gap-6 { gap: var(--s6); }
.gap-8 { gap: var(--s8); }

.text-center { text-align: center; }

/* ── 5. SECTION HEADERS ─────────────────────────────────── */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: var(--s4);
}

.section-eyebrow--green { color: var(--green); }
.section-eyebrow--red   { color: var(--red); }

.section-title {
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: var(--s4);
}

.section-title--white { color: var(--white); }

.section-subtitle {
  font-size: var(--text-xl);
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 640px;
}

.section-subtitle--white { color: rgba(255,255,255,.8); }

.section-header { margin-bottom: var(--s16); }
.section-header--center { text-align: center; }
.section-header--center .section-subtitle { margin: 0 auto; }

/* ── 6. BUTTONS ─────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  padding: var(--s3) var(--s6);
  font-size: var(--text-base);
  font-weight: 600;
  border-radius: var(--r-md);
  transition: all var(--t);
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: var(--sh-blue);
}
.btn--primary:hover {
  background: var(--blue-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 28px rgba(66,133,244,.38);
}
.btn--primary:active { transform: translateY(0); }

.btn--primary-dark {
  background: var(--white);
  color: var(--blue);
  font-weight: 700;
}
.btn--primary-dark:hover {
  background: var(--blue-tint);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}
.btn--outline:hover {
  background: var(--blue-tint);
  transform: translateY(-1px);
}

.btn--outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.4);
}
.btn--outline-white:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.7);
}

.btn--ghost {
  background: transparent;
  color: var(--text-secondary);
  padding-left: var(--s4);
  padding-right: var(--s4);
}
.btn--ghost:hover {
  color: var(--text-primary);
  background: var(--gray-100);
}

.btn--lg {
  padding: var(--s4) var(--s8);
  font-size: var(--text-lg);
  border-radius: var(--r-lg);
}

.btn--sm {
  padding: var(--s2) var(--s4);
  font-size: var(--text-sm);
  border-radius: var(--r-sm);
}

.btn-arrow {
  transition: transform var(--t-fast);
}
.btn:hover .btn-arrow { transform: translateX(3px); }

/* ── 7. NAVIGATION ──────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border-bottom: 1px solid var(--border-subtle);
  transition: box-shadow var(--t);
}

.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--s3);
  text-decoration: none;
  font-size: var(--text-xl);
  font-weight: 800;
  letter-spacing: -.04em;
  color: var(--ink-800);
  flex-shrink: 0;
}

.nav-logo-icon {
  width: 34px;
  height: 34px;
  background: var(--blue);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: var(--text-base);
  font-weight: 900;
  letter-spacing: -.05em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--s1);
}

.nav-link {
  display: flex;
  align-items: center;
  gap: var(--s2);
  padding: var(--s2) var(--s3);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--gray-700);
  border-radius: var(--r-sm);
  transition: all var(--t-fast);
  text-decoration: none;
}

.nav-link svg { width: 16px; height: 16px; opacity: .6; }

.nav-link:hover {
  color: var(--blue);
  background: var(--blue-tint);
}

.nav-link:hover svg { opacity: 1; }

.nav-cta { margin-left: var(--s4); }

/* Mobile nav */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: var(--s2);
  border-radius: var(--r-sm);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background var(--t-fast);
}

.nav-hamburger:hover { background: var(--gray-100); }

.nav-hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: all var(--t);
  transform-origin: center;
}

.nav-hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  top: var(--nav-h);
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: var(--s6);
  flex-direction: column;
  gap: var(--s2);
  z-index: 99;
  border-top: 1px solid var(--border);
}

.mobile-nav.open { display: flex; }

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: var(--s3);
  padding: var(--s4);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--text-primary);
  border-radius: var(--r-md);
  text-decoration: none;
  transition: all var(--t-fast);
}

.mobile-nav-link svg { width: 22px; height: 22px; color: var(--blue); }
.mobile-nav-link:hover { background: var(--surface-alt); color: var(--blue); }

.mobile-nav-cta {
  margin-top: var(--s4);
  width: 100%;
  justify-content: center;
}

/* ── 8. HERO SECTION ────────────────────────────────────── */
.hero {
  position: relative;
  background: var(--ink-900);
  overflow: hidden;
  padding: var(--s32) 0 var(--s24);
  min-height: 680px;
  display: flex;
  align-items: center;
}

/* Mesh gradient background */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 10% 50%, rgba(66,133,244,.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 90% 20%, rgba(52,168,83,.12) 0%, transparent 55%),
    radial-gradient(ellipse 50% 50% at 50% 100%, rgba(66,133,244,.1) 0%, transparent 50%);
  pointer-events: none;
}

/* Dot grid overlay */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  background: rgba(66,133,244,.15);
  border: 1px solid rgba(66,133,244,.3);
  color: #93c5fd;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: .04em;
  padding: var(--s2) var(--s4);
  border-radius: var(--r-full);
  margin-bottom: var(--s6);
}

.hero-eyebrow-dot {
  width: 6px;
  height: 6px;
  background: var(--blue);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .6; transform: scale(.8); }
}

.hero-title {
  font-size: clamp(var(--text-4xl), 6.5vw, var(--text-7xl));
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: var(--s6);
}

.hero-title-accent {
  color: var(--blue);
  display: inline;
}

.hero-subtitle {
  font-size: clamp(var(--text-lg), 2vw, var(--text-xl));
  line-height: 1.65;
  color: rgba(255,255,255,.65);
  max-width: 560px;
  margin-bottom: var(--s10);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--s4);
  flex-wrap: wrap;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: var(--s3);
  margin-top: var(--s10);
  padding-top: var(--s8);
  border-top: 1px solid rgba(255,255,255,.1);
}

.hero-trust-text {
  font-size: var(--text-sm);
  color: rgba(255,255,255,.45);
}

.hero-trust-items {
  display: flex;
  align-items: center;
  gap: var(--s6);
  flex-wrap: wrap;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: var(--s2);
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgba(255,255,255,.7);
}

.hero-trust-item svg {
  width: 16px;
  height: 16px;
  color: var(--green);
  flex-shrink: 0;
}

/* ── 9. LOGO BAR ────────────────────────────────────────── */
.logo-bar {
  padding: var(--s8) 0;
  background: var(--gray-50);
  border-bottom: 1px solid var(--border);
}

.logo-bar-inner {
  display: flex;
  align-items: center;
  gap: var(--s8);
  flex-wrap: wrap;
  justify-content: center;
}

.logo-bar-label {
  font-size: var(--text-sm);
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
}

.logo-bar-items {
  display: flex;
  align-items: center;
  gap: var(--s8);
  flex-wrap: wrap;
  justify-content: center;
}

.logo-bar-item {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--gray-400);
  letter-spacing: -.02em;
  transition: color var(--t-fast);
}

/* ── 10. PAIN SECTION ───────────────────────────────────── */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s6);
}

.pain-card {
  display: flex;
  align-items: flex-start;
  gap: var(--s4);
  padding: var(--s6);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: all var(--t);
}

.pain-card:hover {
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-tint);
  transform: translateY(-2px);
}

.pain-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: var(--red-tint);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pain-icon svg { width: 22px; height: 22px; }

.pain-card-title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--s1);
}

.pain-card-text {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ── 11. SERVICES SECTION ───────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s6);
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s8);
  transition: all var(--t);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  background: var(--service-color, var(--blue));
  transform: scaleX(0);
  transition: transform var(--t);
  transform-origin: left;
}

.service-card:hover {
  box-shadow: var(--sh-card-hover);
  transform: translateY(-3px);
  border-color: transparent;
}

.service-card:hover::before { transform: scaleX(1); }

.service-card--blue   { --service-color: var(--blue); }
.service-card--green  { --service-color: var(--green); }
.service-card--yellow { --service-color: var(--yellow); }
.service-card--red    { --service-color: var(--red); }

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--s5);
  flex-shrink: 0;
}

.service-icon svg { width: 26px; height: 26px; }

.service-card--blue .service-icon   { background: var(--blue-tint); color: var(--blue); }
.service-card--green .service-icon  { background: var(--green-tint); color: var(--green); }
.service-card--yellow .service-icon { background: var(--yellow-tint); color: #9a6700; }
.service-card--red .service-icon    { background: var(--red-tint); color: var(--red); }

.service-title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--s3);
}

.service-desc {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: var(--s5);
}

.service-bullets {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
}

.service-bullet {
  display: flex;
  align-items: flex-start;
  gap: var(--s3);
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.service-bullet svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

.service-card--blue   .service-bullet svg { color: var(--blue); }
.service-card--green  .service-bullet svg { color: var(--green); }
.service-card--yellow .service-bullet svg { color: var(--yellow); }
.service-card--red    .service-bullet svg { color: var(--red); }

/* ── 12. PROCESS SECTION ────────────────────────────────── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s8);
  position: relative;
}

.process-steps::after {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(16.667% + 28px);
  right: calc(16.667% + 28px);
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--green), var(--yellow));
  opacity: .3;
  pointer-events: none;
}

.process-step { position: relative; }

.process-step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-2xl);
  font-weight: 900;
  margin-bottom: var(--s5);
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.process-step:nth-child(1) .process-step-num {
  background: var(--blue-tint);
  color: var(--blue);
  border: 2px solid var(--blue);
}

.process-step:nth-child(2) .process-step-num {
  background: var(--green-tint);
  color: var(--green);
  border: 2px solid var(--green);
}

.process-step:nth-child(3) .process-step-num {
  background: var(--yellow-tint);
  color: #9a6700;
  border: 2px solid var(--yellow);
}

.process-duration {
  display: inline-flex;
  align-items: center;
  gap: var(--s1);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: var(--s3);
}

.process-step-title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--s3);
}

.process-step-desc {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ── 13. STATS SECTION ──────────────────────────────────── */
.stats-section {
  background: linear-gradient(135deg, var(--ink-800) 0%, #162244 100%);
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 80% at 80% 50%, rgba(66,133,244,.12) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(52,168,83,.08) 0%, transparent 50%);
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s8);
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
  padding: var(--s6) var(--s4);
}

.stat-number {
  font-size: clamp(var(--text-4xl), 5vw, var(--text-6xl));
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1;
  margin-bottom: var(--s2);
  background: linear-gradient(135deg, var(--white), #93c5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-suffix {
  font-size: clamp(var(--text-2xl), 3vw, var(--text-4xl));
  font-weight: 900;
}

.stat-label {
  font-size: var(--text-base);
  color: rgba(255,255,255,.6);
  font-weight: 500;
}

/* ── 14. TESTIMONIALS ───────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s6);
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s8);
  display: flex;
  flex-direction: column;
  gap: var(--s5);
  transition: box-shadow var(--t);
}

.testimonial-card:hover { box-shadow: var(--sh-lg); }

.testimonial-stars {
  display: flex;
  gap: var(--s1);
  color: var(--yellow);
}

.testimonial-stars svg { width: 18px; height: 18px; fill: currentColor; }

.testimonial-quote {
  font-size: var(--text-base);
  color: var(--text-primary);
  line-height: 1.7;
  font-style: italic;
  flex: 1;
}

.testimonial-quote::before { content: '\201C'; }
.testimonial-quote::after  { content: '\201D'; }

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--s3);
  padding-top: var(--s4);
  border-top: 1px solid var(--border);
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--text-base);
  color: var(--blue);
  flex-shrink: 0;
}

.testimonial-name {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text-primary);
}

.testimonial-role {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

/* ── 15. FAQ SECTION ────────────────────────────────────── */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color var(--t-fast);
}

.faq-item.open {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-tint);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  padding: var(--s5) var(--s6);
  text-align: left;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text-primary);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color var(--t-fast);
}

.faq-item.open .faq-question { color: var(--blue); }

.faq-chevron {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--gray-400);
  transition: transform var(--t);
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: var(--blue);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-slow) var(--ease-out);
}

.faq-answer-inner {
  padding: 0 var(--s6) var(--s5);
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ── 16. CTA SECTION ────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--blue) 0%, #1a5dcf 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: var(--s24) 0;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.cta-section::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
  top: -200px;
  right: -100px;
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}

.cta-title {
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  font-weight: 900;
  letter-spacing: -.03em;
  color: var(--white);
  margin-bottom: var(--s4);
  line-height: 1.1;
}

.cta-subtitle {
  font-size: var(--text-xl);
  color: rgba(255,255,255,.75);
  margin-bottom: var(--s10);
  line-height: 1.6;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s4);
  flex-wrap: wrap;
}

.cta-note {
  margin-top: var(--s5);
  font-size: var(--text-sm);
  color: rgba(255,255,255,.5);
}

/* ── 17. FOOTER ─────────────────────────────────────────── */
.site-footer {
  background: var(--ink-900);
  color: rgba(255,255,255,.7);
  padding: var(--s20) 0 var(--s12);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: var(--s12);
  padding-bottom: var(--s12);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: var(--s3);
  font-size: var(--text-xl);
  font-weight: 800;
  letter-spacing: -.04em;
  color: var(--white);
  margin-bottom: var(--s4);
}

.footer-brand-desc {
  font-size: var(--text-sm);
  line-height: 1.7;
  color: rgba(255,255,255,.5);
  max-width: 280px;
  margin-bottom: var(--s6);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: var(--s2);
  font-size: var(--text-sm);
  color: rgba(255,255,255,.5);
  margin-bottom: var(--s2);
}

.footer-contact-item svg { width: 15px; height: 15px; flex-shrink: 0; }
.footer-contact-item a { color: inherit; transition: color var(--t-fast); }
.footer-contact-item a:hover { color: var(--white); }

.footer-col-title {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: var(--s4);
}

.footer-col-links {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}

.footer-col-link {
  font-size: var(--text-sm);
  color: rgba(255,255,255,.5);
  text-decoration: none;
  transition: color var(--t-fast);
  display: flex;
  align-items: center;
  gap: var(--s2);
}

.footer-col-link:hover { color: var(--white); }

.footer-bottom {
  padding-top: var(--s8);
}

.footer-bottom-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s3);
  font-size: var(--text-sm);
  color: rgba(255,255,255,.55);
}

.footer-bottom-copy {
  color: rgba(255,255,255,.55);
}

.footer-bottom-link {
  font-size: var(--text-sm);
  color: rgba(255,255,255,.55);
  text-decoration: none;
  transition: color var(--t-fast);
}

.footer-bottom-link:hover { color: var(--white); }

.footer-bottom-sep {
  color: rgba(255,255,255,.3);
  font-size: var(--text-xs);
  user-select: none;
}

/* ── 18. ABOUT PAGE ─────────────────────────────────────── */
.about-hero {
  background: linear-gradient(135deg, var(--ink-800) 0%, #162244 100%);
  padding: var(--s24) 0 var(--s20);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.about-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 28px 28px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s6);
}

.value-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s8);
  transition: all var(--t);
}

.value-card:hover {
  box-shadow: var(--sh-lg);
  transform: translateY(-2px);
}

.value-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--s4);
}

.value-icon svg { width: 24px; height: 24px; }

/* ── 19. SERVICES PAGE ──────────────────────────────────── */
.services-hero {
  background: var(--ink-900);
  padding: var(--s24) 0 var(--s20);
  position: relative;
  overflow: hidden;
}

.services-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 20% 50%, rgba(66,133,244,.15) 0%, transparent 60%);
  pointer-events: none;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s12);
  align-items: center;
}

.service-detail-grid.reverse { direction: rtl; }
.service-detail-grid.reverse > * { direction: ltr; }

.service-detail-visual {
  border-radius: var(--r-xl);
  padding: var(--s8);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}

.service-detail-visual--blue   { background: var(--blue-tint); }
.service-detail-visual--green  { background: var(--green-tint); }
.service-detail-visual--yellow { background: var(--yellow-tint); }
.service-detail-visual--red    { background: var(--red-tint); }

.service-detail-visual-icon {
  width: 100px;
  height: 100px;
  border-radius: var(--r-xl);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-detail-visual-icon svg { width: 52px; height: 52px; }

.service-detail-visual--blue   .service-detail-visual-icon { background: var(--blue); color: var(--white); }
.service-detail-visual--green  .service-detail-visual-icon { background: var(--green); color: var(--white); }
.service-detail-visual--yellow .service-detail-visual-icon { background: var(--yellow); color: #3d2600; }
.service-detail-visual--red    .service-detail-visual-icon { background: var(--red); color: var(--white); }

.service-detail-title {
  font-size: clamp(var(--text-2xl), 3vw, var(--text-4xl));
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: var(--s4);
}

.service-detail-desc {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--s6);
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: var(--s3);
  font-size: var(--text-base);
  color: var(--text-secondary);
}

.feature-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── 20. CONTACT PAGE ───────────────────────────────────── */
.contact-hero {
  background: var(--ink-900);
  padding: var(--s20) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--s12);
  align-items: start;
}

.contact-info-title {
  font-size: var(--text-2xl);
  font-weight: 700;
  margin-bottom: var(--s4);
}

.contact-info-desc {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--s8);
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: var(--s4);
  padding: var(--s5);
  background: var(--surface-alt);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  margin-bottom: var(--s4);
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: var(--blue-tint);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-icon svg { width: 22px; height: 22px; }

.contact-detail-label {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: var(--s1);
}

.contact-detail-value {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text-primary);
}

/* Contact Form */
.contact-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--s10);
  box-shadow: var(--sh-lg);
}

.form-title {
  font-size: var(--text-2xl);
  font-weight: 700;
  margin-bottom: var(--s2);
}

.form-subtitle {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-bottom: var(--s8);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s4);
}

.form-group {
  margin-bottom: var(--s5);
}

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--s2);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: var(--s3) var(--s4);
  font-size: var(--text-base);
  color: var(--text-primary);
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--r-md);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.form-input::placeholder,
.form-textarea::placeholder { color: var(--gray-400); }

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(66,133,244,.15);
}

.form-textarea { resize: vertical; min-height: 120px; }

.form-submit { width: 100%; margin-top: var(--s2); }

/* ── 21. 404 PAGE ───────────────────────────────────────── */
.page-404 {
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--surface-alt);
}

.page-404-num {
  font-size: 120px;
  font-weight: 900;
  letter-spacing: -.06em;
  line-height: 1;
  background: linear-gradient(135deg, var(--blue), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--s4);
}

/* ── 22. BADGES / PILLS ─────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s1);
  padding: var(--s1) var(--s3);
  font-size: var(--text-xs);
  font-weight: 600;
  border-radius: var(--r-full);
}

.badge--blue   { background: var(--blue-tint); color: var(--blue-dark); }
.badge--green  { background: var(--green-tint); color: var(--green-hover); }
.badge--red    { background: var(--red-tint); color: var(--red); }
.badge--yellow { background: var(--yellow-tint); color: #9a6700; }

/* ── 23. GENERIC PAGE ───────────────────────────────────── */
.page-hero {
  background: var(--ink-900);
  padding: var(--s20) 0;
  text-align: center;
}

.page-content {
  max-width: 780px;
  margin: 0 auto;
}

.page-content h2 { font-size: var(--text-2xl); font-weight: 700; margin: var(--s8) 0 var(--s4); }
.page-content h3 { font-size: var(--text-xl); font-weight: 700; margin: var(--s6) 0 var(--s3); }
.page-content p  { font-size: var(--text-lg); color: var(--text-secondary); line-height: 1.75; margin-bottom: var(--s5); }
.page-content ul { padding-left: var(--s6); margin-bottom: var(--s5); }
.page-content ul li { font-size: var(--text-lg); color: var(--text-secondary); line-height: 1.75; margin-bottom: var(--s2); list-style: disc; }
.page-content a { color: var(--blue); text-decoration: underline; }

/* ── 24. SCROLL ANIMATIONS ──────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }
.reveal-delay-5 { transition-delay: .5s; }

/* ── 25. SKIP LINK ──────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--s4);
  background: var(--blue);
  color: var(--white);
  padding: var(--s3) var(--s6);
  border-radius: var(--r-md);
  font-weight: 600;
  text-decoration: none;
  z-index: 200;
  transition: top var(--t-fast);
}
.skip-link:focus { top: var(--s4); }

/* ── 26. RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 1024px) {
  :root { --section-py: 72px; }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: var(--s8);
  }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --section-py: 56px; --nav-h: 76px; }

  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  .grid-2,
  .grid-3,
  .grid-4,
  .services-grid,
  .pain-grid,
  .values-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr;
    gap: var(--s6);
  }

  .process-steps::after { display: none; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: var(--s4); }

  .footer-top {
    grid-template-columns: 1fr;
    gap: var(--s8);
  }

  .hero { padding: var(--s20) 0 var(--s16); min-height: unset; }
  .hero-title { letter-spacing: -.03em; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-trust { flex-direction: column; align-items: flex-start; gap: var(--s4); }

  .contact-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .service-detail-grid { grid-template-columns: 1fr; }
  .service-detail-grid.reverse { direction: ltr; }

  .cta-actions { flex-direction: column; align-items: center; }
  .cta-section { padding: var(--s16) 0; }

  .footer-bottom-row { flex-direction: column; align-items: flex-start; gap: var(--s2); }
}

@media (max-width: 480px) {
  :root { --section-py: 48px; }

  .container { padding: 0 var(--s4); }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: var(--s4); }

  .btn--lg { padding: var(--s3) var(--s6); font-size: var(--text-base); }

  .hero-eyebrow { font-size: 11px; }

  .contact-form-card { padding: var(--s6); }
}

/* ── 27. FORM STATES ────────────────────────────────────── */
.form-input.error,
.form-textarea.error {
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-tint);
}

.form-success {
  text-align: center;
  padding: var(--s12) var(--s8);
}

.form-success h3 {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--s3);
}

.form-success p {
  color: var(--text-secondary);
}

/* ── 28. WORDPRESS ADMIN BAR ────────────────────────────── */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

/* ── 29. PRINT ──────────────────────────────────────────── */
@media print {
  .site-header, .mobile-nav, .hero, .cta-section, .site-footer { display: none; }
  body { color: #000; }
  a { color: #000; text-decoration: underline; }
}
