/* ─────────────────────────────────────────────────────────────
   QALMAX · IMPROVED HOMEPAGE — DESIGN SYSTEM
   Brand: navy + green · Type: Space Grotesk + Inter + JetBrains Mono
   ───────────────────────────────────────────────────────────── */

/* ─── DESIGN TOKENS ────────────────────────────────────────── */
:root {
  /* Navy scale */
  --navy-950: #001428;
  --navy-900: #001A3A;
  --navy-800: #002C5F;
  --navy-700: #003878;
  --navy-600: #1a4d8a;
  --navy-300: #6b7e9a;
  --navy-100: #c6d2e2;
  --navy-50:  #eef2f8;
  --navy-25:  #f7f9fc;

  /* Green scale */
  --green-700: #1f7a48;
  --green-600: #2a9259;
  --green-500: #34B46F;
  --green-400: #5bc88c;
  --green-200: #b3e3c8;
  --green-50:  #e8f7ef;

  /* Surfaces */
  --bg:        #ffffff;
  --bg-alt:    #f7f9fc;
  --ink:       var(--navy-800);
  --ink-soft:  #3d4a5c;       /* WCAG AAA on white (~10:1) */
  --ink-mute:  #5d6b7d;       /* WCAG AA on white (~5.5:1) — was #8B9BAD (2.85:1) */
  --line:      rgba(0, 44, 95, 0.08);

  /* Brand green — -700 for all white-on-green text (WCAG AA 5.4:1), -600 for accents */
  --green-text: #1f7a48;     /* AA on white: 5.4:1 */
  --green-btn:  #1f7a48;     /* AA white-on-green: 5.4:1 (was #2a9259 = 3.88:1, failed) */

  /* Type — SF-flavored stack: Inter Display via system-tuned features, fall back to native SF on Apple devices */
  --ff-display: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', system-ui, sans-serif;
  --ff-body:    -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Inter', system-ui, sans-serif;
  --ff-mono:    'SF Mono', ui-monospace, 'JetBrains Mono', monospace;

  /* Type scale — Apple-style: bigger display, generous breathing */
  --fs-display: clamp(44px, 7.6vw, 88px);
  --fs-h2:      clamp(32px, 4.4vw, 52px);
  --fs-h3:      clamp(20px, 2.4vw, 26px);
  --fs-lead:    clamp(17px, 1.4vw, 21px);
  --fs-body:    16px;
  --fs-small:   13.5px;
  --fs-eyebrow: 11px;

  /* Spacing (8px grid) */
  --s-1: 4px;   --s-2: 8px;   --s-3: 12px;  --s-4: 16px;
  --s-5: 20px;  --s-6: 24px;  --s-8: 32px;  --s-10: 40px;
  --s-12: 48px; --s-16: 64px; --s-20: 80px; --s-24: 96px;

  /* Radius */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(0,20,40,.04), 0 1px 1px rgba(0,20,40,.03);
  --shadow-md: 0 2px 6px rgba(0,20,40,.05), 0 8px 28px rgba(0,20,40,.08);
  --shadow-lg: 0 12px 32px rgba(0,20,40,.12), 0 24px 72px rgba(0,20,40,.10);
  --shadow-green: 0 8px 32px rgba(52,180,111,.32);
  --shadow-green-lg: 0 16px 48px rgba(52,180,111,.45);

  /* Motion — Apple's signature easing curves */
  --ease:       cubic-bezier(0.28, 0.11, 0.32, 1);     /* Apple standard */
  --ease-out:   cubic-bezier(0.22, 0.61, 0.36, 1);     /* deliberate ease-out */
  --ease-in-out:cubic-bezier(0.65, 0, 0.35, 1);
  --spring:     cubic-bezier(0.34, 1.36, 0.64, 1);     /* gentler spring */

  --nav-h: 72px;
}

/* ─── RESET ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body {
  font-family: var(--ff-body);
  font-size: var(--fs-body);
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
  overflow-x: clip;
  font-feature-settings: "ss01", "cv11";
  letter-spacing: -0.005em;
}
h1, h2, h3, h4 {
  font-family: var(--ff-display);
  letter-spacing: -0.022em;
  line-height: 1.06;
  font-weight: 600;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: 0; color: inherit; cursor: pointer; }
img, svg { display: block; max-width: 100%; }
::selection { background: var(--green-500); color: #fff; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-pad { padding: var(--s-24) 0; }

@media (max-width: 720px) {
  .section-pad { padding: var(--s-20) 0; }
}

/* ─── SECTION HEADERS ──────────────────────────────────────── */
.section-header {
  max-width: 720px;
  margin-bottom: var(--s-16);
}
.section-header.section-header-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-header.section-header-light .section-label { color: var(--green-400); }
.section-header.section-header-light .section-title { color: #fff; }
.section-header.section-header-light .section-sub { color: rgba(255,255,255,.6); }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-text);
  margin-bottom: var(--s-5);
}
.section-label::before {
  content: '';
  width: 28px; height: 1px;
  background: currentColor;
  opacity: .7;
}
.section-title {
  font-size: var(--fs-h2);
  color: var(--navy-900);
  margin-bottom: var(--s-5);
  text-wrap: balance;
}
.section-sub {
  font-size: var(--fs-lead);
  color: var(--ink-mute);
  max-width: 580px;
  line-height: 1.6;
  text-wrap: pretty;
}
.section-header-center .section-sub { margin-inline: auto; }

/* ─── TOP SCROLL PROGRESS ──────────────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: transparent;
  z-index: 999;
  pointer-events: none;
}
.scroll-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--green-500), var(--green-400));
  box-shadow: 0 0 12px var(--green-500);
  transition: width 60ms linear;
}

/* ─── NAV ──────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: transparent;
  transition: background 400ms var(--ease), backdrop-filter 400ms var(--ease), border-color 300ms var(--ease);
  border-bottom: 1px solid transparent;
}
nav.is-scrolled {
  background: rgba(0, 20, 40, 0.78);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom-color: rgba(255,255,255,.06);
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.nav-logo-img {
  height: 30px;
  width: auto;
  display: block;
  transition: opacity 200ms;
}
.nav-logo:hover .nav-logo-img { opacity: 0.85; }

.brand-logo-img {
  height: 28px;
  width: auto;
  display: block;
}
.brand-logo-img--sm { height: 22px; }
.brand-logo-img--md { height: 28px; }
.brand-logo-img--lg { height: 36px; }

.nav-sheet-logo {
  display: flex;
  justify-content: center;
  padding: 4px 14px 12px;
  margin-bottom: 4px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav-sheet-logo:hover .brand-logo-img { opacity: 0.85; }

.nav-links {
  display: flex;
  gap: 4px;
  align-items: center;
}
.nav-links a {
  font-family: var(--ff-body);
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,.65);
  padding: 8px 14px;
  border-radius: var(--r-pill);
  transition: color 200ms, background 200ms;
  position: relative;
}
.nav-links a:hover {
  color: #fff;
  background: rgba(255,255,255,.06);
}
.nav-links a.is-active {
  color: #fff;
  background: rgba(52,180,111,.14);
}
.nav-links a.is-active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--green-500);
}

.nav-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-btn);
  color: #fff;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: var(--r-pill);
  transition: transform 200ms var(--ease), background 200ms;
  overflow: hidden;
  isolation: isolate;
}
.nav-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.25), transparent);
  transform: translateX(-100%);
  transition: transform 600ms var(--ease-out);
  z-index: -1;
}
.nav-cta:hover { transform: translateY(-1px); background: #175c38; }
.nav-cta:hover::before { transform: translateX(100%); }
.nav-cta-pulse {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 0 rgba(255,255,255,.7);
  animation: navPulse 2.4s ease-in-out infinite;
}
@keyframes navPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,.55); }
  50%      { box-shadow: 0 0 0 8px rgba(255,255,255,0); }
}

.nav-burger {
  display: none;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,.08);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
}
.nav-burger span {
  width: 16px; height: 1.5px;
  background: #fff;
  transition: transform 300ms var(--ease), opacity 200ms;
  border-radius: 1px;
}
.nav-burger.is-open span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.nav-sheet {
  position: fixed;
  top: var(--nav-h);
  left: 12px; right: 12px;
  background: rgba(0, 20, 40, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 300ms var(--ease), transform 300ms var(--ease);
}
.nav-sheet.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.nav-sheet a {
  padding: 12px 14px;
  border-radius: 12px;
  color: rgba(255,255,255,.8);
  font-weight: 500;
  font-size: 15px;
  transition: background 200ms;
}
.nav-sheet a:hover { background: rgba(255,255,255,.05); }
.nav-sheet-cta {
  margin-top: 4px;
  background: var(--green-btn);
  color: #fff !important;
  font-family: var(--ff-display);
  font-weight: 700;
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
}

/* ─── BUTTONS ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 22px 14px 24px;
  border-radius: var(--r-pill);
  transition: transform 200ms var(--ease), box-shadow 250ms var(--ease), background 200ms;
  cursor: pointer;
  position: relative;
  isolation: isolate;
}
.btn-primary {
  background: var(--green-btn);
  color: #fff;
  box-shadow: var(--shadow-green);
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--green-500), var(--green-btn) 50%, var(--green-700));
  z-index: -1;
  opacity: 0;
  transition: opacity 300ms;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-green-lg);
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary-lg {
  font-size: 17px;
  padding: 18px 28px 18px 30px;
}
.btn-arrow {
  display: inline-block;
  transition: transform 250ms var(--ease);
}
.btn:hover .btn-arrow { transform: translateX(4px); }
.btn-wa { width: 18px; height: 18px; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 14px;
  color: rgba(255,255,255,.85);
  padding: 14px 18px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.02);
  transition: color 200ms, border-color 200ms, background 200ms;
}
.btn-ghost:hover {
  color: #fff;
  border-color: rgba(52,180,111,.6);
  background: rgba(52,180,111,.08);
}
.btn-ghost-icon {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.btn-ghost-icon svg { width: 9px; height: 9px; fill: currentColor; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--green-500);
  color: var(--green-500);
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 14px;
  padding: 12px 22px;
  border-radius: var(--r-pill);
  width: fit-content;
  transition: background 200ms, color 200ms, transform 200ms var(--ease);
}
.btn-outline:hover {
  background: var(--green-500);
  color: #fff;
  transform: translateY(-1px);
}
.btn-outline span { transition: transform 200ms; }
.btn-outline:hover span { transform: translateX(3px); }

/* ─── HERO ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  background: var(--navy-900);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-h) + 40px) 24px 80px;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 75%);
}
.hero-ring { display: none; }
.hero-aurora {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(620px circle at var(--mx, 50%) var(--my, 40%), rgba(52,180,111,.12), transparent 65%),
    radial-gradient(900px circle at calc(var(--mx, 50%) + 240px) calc(var(--my, 50%) - 120px), rgba(91,200,140,.06), transparent 70%);
  filter: blur(20px);
  transition: background 500ms ease-out;
}
.hero-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(52,180,111,.16);
  pointer-events: none;
}
.hero-ring-1 { width: 520px; height: 520px; top: -120px; left: -80px; animation: ringFloat 9s var(--ease-in-out) infinite; }
.hero-ring-2 { width: 380px; height: 380px; top: 12%; right: -100px; animation: ringFloat 11s var(--ease-in-out) infinite -2s; }
.hero-ring-3 { width: 700px; height: 700px; bottom: -300px; left: 50%; transform: translateX(-50%); animation: ringFloat 13s var(--ease-in-out) infinite -4s; opacity: .5; }
@keyframes ringFloat {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: .25; }
  50%      { transform: translate(0, -16px) scale(1.04); opacity: .5; }
}
.hero-ring-3 {
  animation-name: ringFloat3;
}
@keyframes ringFloat3 {
  0%, 100% { transform: translateX(-50%) scale(1); opacity: .2; }
  50%      { transform: translateX(-50%) scale(1.05); opacity: .4; }
}

.hero-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  opacity: .5;
  mix-blend-mode: overlay;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
@media (min-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr min(360px, 34%);
    gap: 48px;
    text-align: left;
  }
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 920px;
  text-align: center;
}
@media (min-width: 1024px) {
  .hero-content {
    max-width: none;
    text-align: left;
    margin-inline: 0;
  }
  .hero-actions { justify-content: flex-start; }
  .hero-stats { justify-content: flex-start; }
  .hero-proof { margin-inline: 0; }
}
.hero-proof {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 auto var(--s-6);
  padding: 6px 14px 6px 10px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-pill);
  font-size: 13px;
  color: rgba(255,255,255,.75);
  opacity: 0;
  animation: fadeUp 900ms var(--ease-out) 200ms forwards;
}
.hero-stars { color: var(--green-400); letter-spacing: 0.05em; font-size: 12px; }
.hero-proof-text strong { color: #fff; font-weight: 600; }
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 28px;
  justify-content: center;
  margin-bottom: var(--s-10);
  opacity: 0;
  animation: fadeUp 1000ms var(--ease-out) 1580ms forwards;
}
.hero-stat { display: flex; flex-direction: column; gap: 2px; }
.hero-stat-num {
  font-family: var(--ff-display);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.03em;
}
.hero-stat-star { color: var(--green-400); font-size: 0.75em; }
.hero-stat-label {
  font-size: 11px;
  color: rgba(255,255,255,.65);
  font-family: var(--ff-mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.btn-ghost-dim { opacity: 0.85; }
.hero-ai {
  display: none;
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-lg);
  padding: 18px 18px 16px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  font-family: var(--ff-mono);
  font-size: 12px;
  opacity: 0;
  animation: fadeUp 1100ms var(--ease-out) 900ms forwards;
}
@media (min-width: 1024px) { .hero-ai { display: block; } }
.hero-ai-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.hero-ai-logo {
  height: 20px;
  width: auto;
  display: block;
  flex-shrink: 0;
  opacity: 0.92;
}
.hero-ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green-400);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero-ai-pulse {
  width: 6px; height: 6px;
  background: var(--green-500);
  border-radius: 50%;
  animation: statusPulse 2s ease-in-out infinite;
}
.hero-ai-live {
  font-size: 10px;
  color: rgba(255,255,255,.65);
  letter-spacing: 0.12em;
}
.hero-ai-file {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  color: rgba(255,255,255,.55);
}
.hero-ai-status { color: var(--green-400); font-size: 10px; }
.hero-ai-code {
  margin: 0 0 14px;
  padding: 12px;
  background: rgba(0,0,0,.25);
  border-radius: 8px;
  font-size: 11px;
  line-height: 1.55;
  color: rgba(255,255,255,.7);
  overflow: hidden;
}
.hero-ai-code .tok-c { color: rgba(255,255,255,.35); }
.hero-ai-code .tok-k { color: #7dd3fc; }
.hero-ai-code .tok-fn { color: var(--green-400); }
.hero-ai-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 0;
}
.hero-ai-metrics div {
  padding: 8px 10px;
  background: rgba(255,255,255,.04);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.06);
}
.hero-ai-metrics dt {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,.62);
  margin-bottom: 4px;
}
.hero-ai-metrics dd {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}

.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 11px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,.82);
  margin-bottom: var(--s-8);
  letter-spacing: -0.005em;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
}
.hero-status-dot {
  width: 8px; height: 8px;
  background: var(--green-500);
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}
.hero-status-dot::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: var(--green-500);
  opacity: .3;
  animation: statusPulse 3.2s ease-in-out infinite;
}
@keyframes statusPulse {
  0%, 100% { transform: scale(1); opacity: .3; }
  50%      { transform: scale(1.5); opacity: 0; }
}

.hero-h1 {
  font-size: var(--fs-display);
  font-weight: 600;
  letter-spacing: -0.045em;
  color: #fff;
  margin-bottom: var(--s-8);
  line-height: 1.02;
  text-wrap: balance;
}
.hero-line {
  display: block;
  overflow: hidden;
}
.hero-line-accent .hero-word {
  color: transparent;
  background: linear-gradient(180deg, #ffffff 0%, #cfe6da 60%, #34B46F 130%);
  -webkit-background-clip: text;
  background-clip: text;
}
.hero-line-sub {
  font-size: 0.36em;
  font-weight: 400;
  letter-spacing: -0.012em;
  color: rgba(255,255,255,.62);
  margin-top: 0.6em;
  font-family: var(--ff-body);
  line-height: 1.45;
}
.hero-word {
  display: inline-block;
  margin-right: 0.22em;
  opacity: 0;
  transform: translateY(28%);
  animation: wordIn 1100ms var(--ease-out) forwards;
}
@keyframes wordIn {
  to { opacity: 1; transform: translateY(0); }
}
.hero-line[data-line="1"] .hero-word:nth-child(1) { animation-delay: 80ms; }
.hero-line[data-line="1"] .hero-word:nth-child(2) { animation-delay: 160ms; }
.hero-line[data-line="2"] .hero-word:nth-child(1) { animation-delay: 280ms; }
.hero-line[data-line="2"] .hero-word:nth-child(2) { animation-delay: 380ms; }
.hero-line[data-line="2"] .hero-word:nth-child(3) { animation-delay: 480ms; }
.hero-line[data-line="2"] .hero-word:nth-child(4) { animation-delay: 580ms; }
.hero-line[data-line="3"] .hero-word:nth-child(1) { animation-delay: 760ms; }
.hero-line[data-line="3"] .hero-word:nth-child(2) { animation-delay: 830ms; }
.hero-line[data-line="3"] .hero-word:nth-child(3) { animation-delay: 900ms; }
.hero-line[data-line="3"] .hero-word:nth-child(4) { animation-delay: 970ms; }
.hero-line[data-line="3"] .hero-word:nth-child(5) { animation-delay: 1040ms; }
.hero-line[data-line="3"] .hero-word:nth-child(6) { animation-delay: 1110ms; }
.hero-line[data-line="3"] .hero-word:nth-child(7) { animation-delay: 1180ms; }

.hero-sub, .hero-fine, .hero-actions {
  opacity: 0;
  transform: translateY(12px);
  animation: fadeUp 1000ms var(--ease-out) forwards;
}
.hero-sub   { animation-delay: 1400ms; }
.hero-fine  { animation-delay: 1520ms; }
.hero-actions { animation-delay: 1640ms; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.hero-sub {
  font-size: clamp(17px, 1.4vw, 21px);
  color: rgba(255,255,255,.74);
  max-width: 640px;
  margin: 0 auto 10px;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: -0.012em;
}
.hero-sub strong { color: #fff; font-weight: 500; }
.hero-fine {
  font-size: 13px;
  color: rgba(255,255,255,.58);
  margin-bottom: var(--s-12);
  font-family: var(--ff-body);
  letter-spacing: 0.01em;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  align-items: center;
}

/* ─── REVEAL ───────────────────────────────────────────────── */
.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 1100ms var(--ease-out), transform 1100ms var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .hero-word, .hero-sub, .hero-fine, .hero-actions,
  .hero-proof, .hero-stats, .hero-ai {
    opacity: 1; transform: none; filter: none; animation: none; transition: none;
  }
  .hero-ring, .hero-status-dot::before, .nav-cta-pulse { animation: none; }
  .scroll-progress-fill { transition: none; }
}

/* ─── PROOF MARQUEE ────────────────────────────────────────── */
#proof-bar {
  background: var(--green-btn);
  padding: 16px 0;
  overflow: hidden;
  position: relative;
}
#proof-bar::before,
#proof-bar::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
#proof-bar::before { left: 0;  background: linear-gradient(to right, var(--green-btn), transparent); }
#proof-bar::after  { right: 0; background: linear-gradient(to left,  var(--green-btn), transparent); }
.marquee { display: flex; }
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 72s linear infinite;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: #fff;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  padding-right: 40px;
}
.marquee-item i {
  width: 5px; height: 5px;
  background: rgba(255,255,255,.55);
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ─── TECH STRIP ───────────────────────────────────────────── */
#tech-strip {
  background: #fff;
  padding: 72px 0 80px;
  border-bottom: 1px solid var(--line);
}
.tech-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
}
.tech-header .section-label {
  margin-bottom: 14px;
}
.tech-title {
  font-family: var(--ff-display);
  font-size: clamp(1.5rem, 3.2vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--navy-900);
  margin: 0 0 14px;
}
.tech-sub {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-mute);
  margin: 0;
}
.tech-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
  max-width: 720px;
  margin: 0 auto;
}
.tech-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-family: var(--ff-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--navy-800);
  transition: border-color 200ms, background 200ms, transform 200ms var(--ease);
  cursor: default;
}
.tech-chip:hover {
  border-color: var(--green-500);
  background: var(--green-50);
  transform: translateY(-2px);
}
.tech-chip img { width: 18px; height: 18px; object-fit: contain; }

@media (max-width: 560px) {
  #tech-strip { padding: 56px 0 64px; }
}

/* ─── SERVICES ─────────────────────────────────────────────── */
#services {
  background: var(--navy-25);
  position: relative;
}

/* transform on .reveal clips nested pill shapes in WebKit — fade only here */
.js .svc-tabs.reveal,
.js .svc-tabs.reveal.is-visible {
  transform: none;
}

.svc-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: var(--s-12);
  width: fit-content;
  max-width: 100%;
}
.svc-tab {
  flex-shrink: 0;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 13.5px;
  padding: 9px 18px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-soft);
  transition: background 250ms, color 200ms, border-color 200ms;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.svc-tab:hover { background: var(--navy-50); color: var(--navy-800); }
.svc-tab.is-active {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: #fff;
}
.svc-tab-count {
  font-size: 11px;
  padding: 2px 7px;
  border-radius: var(--r-pill);
  background: var(--navy-50);
  color: var(--ink-mute);
  font-family: var(--ff-mono);
  font-weight: 500;
  min-width: 22px;
  text-align: center;
}
.svc-tab.is-active .svc-tab-count {
  background: rgba(255,255,255,.14);
  color: rgba(255,255,255,.85);
}

.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 980px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .svc-grid { grid-template-columns: 1fr; } }

.svc-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px 22px 22px;
  cursor: default;
  transition: border-color 200ms, box-shadow 280ms, transform 280ms var(--ease), opacity 400ms var(--ease-out);
  overflow: hidden;
}
.svc-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(52,180,111,.04), transparent 50%);
  opacity: 0;
  transition: opacity 200ms;
  pointer-events: none;
}
.svc-card:hover {
  transform: translateY(-3px);
  border-color: rgba(52,180,111,.35);
  box-shadow: 0 10px 28px rgba(0,44,95,.10);
}
.svc-card:hover::before { opacity: 1; }
.svc-card.is-hidden {
  opacity: 0;
  transform: scale(0.96);
  pointer-events: none;
  position: absolute;
  visibility: hidden;
}

.svc-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  margin-bottom: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--green-50), #fff);
  border: 1px solid rgba(52,180,111,.2);
  color: var(--green-600);
  transition: border-color 200ms, transform 280ms var(--ease);
}
.svc-icon i { font-size: 24px; line-height: 1; }
.svc-card:hover .svc-icon {
  border-color: var(--green-500);
  transform: translateY(-2px);
}

.svc-name {
  font-family: var(--ff-display);
  font-size: 16.5px;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 6px;
  line-height: 1.3;
}
.svc-stack {
  font-size: 11px;
  color: var(--ink-mute);
  margin-bottom: 8px;
  line-height: 1.45;
  font-family: var(--ff-mono);
}
.svc-stack-label {
  color: var(--green-600);
  font-weight: 600;
  margin-right: 6px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 10px;
}
.svc-outcome {
  font-size: 13.5px;
  color: var(--ink-soft);
  margin-bottom: 14px;
  line-height: 1.5;
}
.svc-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.svc-items li {
  font-size: 12.5px;
  color: var(--ink-mute);
  position: relative;
  padding-left: 14px;
  line-height: 1.45;
}
.svc-items li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 6px; height: 1px;
  background: var(--green-500);
}
.svc-cat-pill {
  position: absolute;
  top: 18px;
  right: 18px;
  font-family: var(--ff-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  opacity: 0;
  transition: opacity 200ms;
}
.svc-card:hover .svc-cat-pill { opacity: 1; }

.svc-empty {
  text-align: center;
  padding: 60px 24px;
  color: var(--ink-mute);
  font-size: 15px;
}
.svc-empty-link {
  color: var(--green-text);
  text-decoration: underline;
  font-weight: 600;
}

/* ─── PRICING ──────────────────────────────────────────────── */
.pricing { background: var(--bg); position: relative; }
.pricing .section-header { text-align: center; max-width: 720px; margin-inline: auto; }
.pricing .section-sub { margin-inline: auto; }

.currency-toggle {
  position: relative;
  display: inline-flex;
  background: var(--navy-50);
  border-radius: var(--r-pill);
  padding: 4px;
  margin-top: 24px;
  isolation: isolate;
}
.cur-opt {
  position: relative;
  padding: 8px 22px;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 13.5px;
  color: var(--ink-soft);
  border-radius: var(--r-pill);
  z-index: 1;
  transition: color 250ms;
}
.cur-opt.is-active { color: var(--navy-900); }
.cur-thumb {
  position: absolute;
  top: 4px; left: 4px;
  width: 70px;
  height: calc(100% - 8px);
  background: #fff;
  border-radius: var(--r-pill);
  box-shadow: 0 1px 4px rgba(0,20,40,.1);
  transition: transform 350ms var(--spring);
  z-index: 0;
}
.currency-toggle[data-cur="USD"] .cur-thumb { transform: translateX(70px); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
@media (max-width: 980px) { .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; } }

.price-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: border-color 250ms, box-shadow 300ms, transform 300ms var(--ease);
}
.price-card:hover {
  border-color: rgba(52,180,111,.3);
  box-shadow: 0 12px 36px rgba(0,44,95,.1);
  transform: translateY(-4px);
}
.price-card-featured {
  background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 100%);
  border-color: var(--green-500);
  color: #fff;
  box-shadow: 0 16px 48px rgba(0,44,95,.25);
  transform: scale(1.02);
  overflow: visible;
  isolation: isolate;
}
.price-card-featured::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--green-500), transparent 40%, transparent 60%, var(--green-500));
  opacity: .4;
  z-index: -1;
  filter: blur(8px);
}
.price-card-featured:hover { transform: scale(1.02) translateY(-4px); }
@media (max-width: 980px) {
  .price-card-featured { transform: none; }
  .price-card-featured:hover { transform: translateY(-4px); }
}

.price-card-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--green-btn);
  color: #fff;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  border-radius: var(--r-pill);
  text-transform: uppercase;
  box-shadow: 0 8px 20px rgba(52,180,111,.4);
  white-space: nowrap;
}
.price-card-badge-dot {
  width: 6px; height: 6px;
  background: #fff;
  border-radius: 50%;
  animation: navPulse 2.4s ease-in-out infinite;
}

.price-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  gap: 12px;
}
.price-icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--green-50);
  color: var(--green-text);
  display: grid;
  place-items: center;
}
.price-card-featured .price-icon {
  background: rgba(52,180,111,.15);
  color: var(--green-400);
}
.price-card-tag {
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.price-card-featured .price-card-tag { color: rgba(255,255,255,.5); }

.price-name {
  font-family: var(--ff-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.price-card-featured .price-name { color: #fff; }
.price-pitch {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin-bottom: 20px;
}
.price-card-featured .price-pitch { color: rgba(255,255,255,.6); }

.price-amount {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding-bottom: 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.price-card-featured .price-amount { border-bottom-color: rgba(255,255,255,.1); }
.price-currency {
  font-family: var(--ff-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--green-text);
}
.price-card-featured .price-currency { color: var(--green-400); }
.price-num {
  font-family: var(--ff-display);
  font-size: 44px;
  font-weight: 700;
  color: var(--navy-900);
  letter-spacing: -0.03em;
  line-height: 1;
  transition: opacity 200ms;
}
.price-card-featured .price-num { color: #fff; }
.price-suffix {
  font-size: 13px;
  color: var(--ink-mute);
  margin-left: 4px;
}
.price-card-featured .price-suffix { color: rgba(255,255,255,.4); }

.price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  flex: 1;
}
.price-features li {
  font-size: 13.5px;
  color: var(--ink-soft);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}
.price-card-featured .price-features li { color: rgba(255,255,255,.78); }
.price-features li::before {
  content: '';
  flex-shrink: 0;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--green-50);
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 24 24' fill='none' stroke='%2334B46F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'><polyline points='20 6 9 17 4 12'/></svg>");
  background-size: 11px;
  background-position: center;
  background-repeat: no-repeat;
  margin-top: 1px;
}
.price-card-featured .price-features li::before {
  background-color: rgba(52,180,111,.18);
}

.price-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  background: var(--navy-900);
  color: #fff;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 14px;
  border-radius: var(--r-pill);
  transition: background 200ms, transform 200ms var(--ease);
}
.price-cta:hover { background: var(--navy-800); transform: translateY(-1px); }
.price-card-featured .price-cta {
  background: var(--green-btn);
  box-shadow: 0 8px 24px rgba(52,180,111,.4);
}
.price-card-featured .price-cta:hover { background: #175c38; }
.price-cta-arrow {
  display: inline-block;
  transition: transform 200ms var(--ease);
}
.price-cta:hover .price-cta-arrow { transform: translateX(3px); }

.pricing-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.pricing-foot-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--ink-soft);
  font-weight: 500;
}
.pricing-foot-item svg {
  width: 16px; height: 16px;
  color: var(--green-btn);
  background: var(--green-50);
  border-radius: 50%;
  padding: 3px;
}

/* ─── QUOTES (replaces fixed-price cards) ─────────────────── */
.quotes { background: var(--bg); position: relative; }
.quotes .section-header { text-align: center; max-width: 760px; margin-inline: auto; }
.quotes .section-sub { margin-inline: auto; }

.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
  margin-top: var(--s-12);
}
@media (max-width: 980px) {
  .quote-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
}

.quote-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 28px 26px 26px;
  transition: border-color 250ms, box-shadow 300ms, transform 300ms var(--ease);
}
.quote-card:hover {
  border-color: rgba(52,180,111,.32);
  box-shadow: 0 12px 36px rgba(0,44,95,.08);
  transform: translateY(-3px);
}

.quote-card-feature {
  background: linear-gradient(180deg, var(--navy-25) 0%, #fff 70%);
  border-color: rgba(52,180,111,.35);
  box-shadow: 0 8px 28px rgba(0,44,95,.05);
}
.quote-card-feature::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(52,180,111,.18), transparent 40%);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  padding: 1px;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
}

.quote-card-badge {
  position: absolute;
  top: -12px;
  left: 22px;
  background: var(--green-text);
  color: #fff;
  font-family: var(--ff-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  box-shadow: 0 4px 12px rgba(31,122,72,.25);
}

.quote-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.quote-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: var(--green-50);
  border: 1px solid rgba(52,180,111,.22);
  color: var(--green-600);
}
.quote-icon i { font-size: 26px; line-height: 1; }
.quote-card-cat {
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.quote-card-title {
  font-family: var(--ff-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--navy-900);
  margin-bottom: 8px;
  line-height: 1.2;
}
.quote-card-pitch {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin-bottom: 18px;
}

.quote-card-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 18px 0 22px;
  margin: 0 0 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  flex: 1;
}
.quote-card-list li {
  font-size: 13.5px;
  color: var(--ink-soft);
  position: relative;
  padding-left: 22px;
  line-height: 1.5;
}
.quote-card-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 7px;
  width: 12px; height: 8px;
  border-left: 1.6px solid var(--green-btn);
  border-bottom: 1.6px solid var(--green-btn);
  transform: rotate(-45deg);
  border-radius: 1px;
}

.quote-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  font-family: var(--ff-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--navy-900);
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: #fff;
  transition: background 200ms, border-color 200ms, color 200ms, transform 200ms var(--ease);
}
.quote-card-cta:hover {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: #fff;
  transform: translateY(-1px);
}
.quote-card-arrow {
  display: inline-block;
  transition: transform 200ms var(--ease);
}
.quote-card-cta:hover .quote-card-arrow { transform: translateX(3px); }
.quote-card-feature .quote-card-cta {
  background: var(--green-btn);
  border-color: var(--green-btn);
  color: #fff;
}
.quote-card-feature .quote-card-cta:hover {
  background: #175c38;
  border-color: #175c38;
}

/* — How quotes work strip — */
.quote-flow {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
  padding: 28px;
  background: var(--navy-25);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
}
@media (max-width: 820px) {
  .quote-flow { grid-template-columns: 1fr; padding: 22px; gap: 18px; }
}
.quote-flow-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.quote-flow-num {
  font-family: var(--ff-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--green-text);
  background: #fff;
  border: 1px solid rgba(52,180,111,.25);
  padding: 4px 8px;
  border-radius: 6px;
  flex-shrink: 0;
  margin-top: 2px;
}
.quote-flow-body h4 {
  font-family: var(--ff-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--navy-900);
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}
.quote-flow-body p {
  font-size: 13.5px;
  color: var(--ink-mute);
  line-height: 1.5;
  margin: 0;
}

/* — Bottom CTA banner — */
.quote-cta {
  margin-top: 36px;
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 60%, var(--navy-700) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.quote-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 280px at 88% 110%, rgba(52,180,111,.22), transparent 70%),
    radial-gradient(420px 200px at 8% -20%, rgba(91,200,140,.14), transparent 70%);
  z-index: -1;
}
.quote-cta-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 44px 48px;
}
@media (max-width: 880px) {
  .quote-cta-inner { grid-template-columns: 1fr; gap: 28px; padding: 32px 28px; }
}
.quote-cta-logo {
  height: 32px;
  width: auto;
  display: block;
  margin-bottom: 16px;
  opacity: 0.95;
}
.quote-cta-eyebrow {
  display: inline-flex;
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-400);
  margin-bottom: 14px;
}
.quote-cta-title {
  font-family: var(--ff-display);
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: #fff;
  margin: 0 0 14px;
  text-wrap: balance;
}
.quote-cta-sub {
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255,255,255,.7);
  margin: 0 0 14px;
  max-width: 52ch;
}
.quote-cta-fine {
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,.45);
  margin: 0;
}
.quote-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
}
.quote-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 22px;
  border-radius: var(--r-pill);
  transition: background 200ms, transform 200ms var(--ease), border-color 200ms;
  white-space: nowrap;
}
.quote-cta-btn-primary {
  background: var(--green-btn);
  color: #fff;
  box-shadow: 0 10px 28px rgba(52,180,111,.35);
}
.quote-cta-btn-primary:hover {
  background: #175c38;
  transform: translateY(-1px);
}
.quote-cta-btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.2);
}
.quote-cta-btn-ghost:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.4);
}
.quote-cta-btn-ghost:hover .quote-card-arrow { transform: translateX(3px); }

/* ─── HOW IT WORKS ─────────────────────────────────────────── */
.how { background: var(--bg); }
.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 56px;
  max-width: 800px;
  margin: 0 auto;
}
.timeline-rail {
  position: absolute;
  top: 26px;
  bottom: 26px;
  left: 23px;
  width: 2px;
  background: var(--line);
  border-radius: 1px;
  overflow: hidden;
}
.timeline-rail-fill {
  position: absolute;
  inset: 0 0 auto 0;
  height: 0%;
  background: linear-gradient(to bottom, var(--green-500), var(--green-400));
  box-shadow: 0 0 8px rgba(52,180,111,.4);
  transition: height 60ms linear;
}

.step {
  display: flex;
  gap: 28px;
  position: relative;
  align-items: flex-start;
}
.step-dot {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--line);
  font-family: var(--ff-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-mute);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  transition: background 300ms, border-color 300ms, color 300ms, transform 300ms var(--ease);
}
.step.is-active .step-dot {
  background: var(--green-500);
  border-color: var(--green-500);
  color: #fff;
  transform: scale(1.05);
  box-shadow: 0 0 0 6px rgba(52,180,111,.15);
}
.step-dot span { font-family: var(--ff-mono); letter-spacing: 0.02em; }

.step-body { flex: 1; padding-bottom: 8px; }
.step-day {
  display: inline-block;
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-text);
  background: var(--green-50);
  padding: 4px 10px;
  border-radius: var(--r-pill);
  margin-bottom: 12px;
}
.step-title {
  font-family: var(--ff-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.step-desc {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 14px;
  max-width: 580px;
}
.step-points {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.step-points li {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--navy-800);
  background: var(--navy-50);
  padding: 5px 12px;
  border-radius: var(--r-pill);
}

/* ─── STATS ────────────────────────────────────────────────── */
.stats {
  background: var(--navy-25);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 64px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
@media (max-width: 720px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
.stat-item {}
.stat-num {
  font-family: var(--ff-display);
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
  display: inline-block;
  position: relative;
}
.stat-num::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 12%; right: 12%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--green-500), transparent);
  border-radius: 2px;
}
.stat-star {
  color: var(--green-500);
  font-size: 0.6em;
  vertical-align: 6%;
  margin-left: 2px;
}
.stat-num-text {
  font-size: clamp(40px, 6vw, 56px);
  line-height: 1;
}
.stat-label {
  font-size: 13.5px;
  color: var(--ink-mute);
  margin-top: 16px;
  font-weight: 500;
  line-height: 1.45;
}

/* ─── CASE STUDY ───────────────────────────────────────────── */
.case-section { background: #fff; }
.case-card {
  background: var(--navy-900);
  color: #fff;
  border-radius: var(--r-xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  box-shadow: 0 20px 60px rgba(0,20,40,.18);
  position: relative;
  isolation: isolate;
}
@media (max-width: 880px) { .case-card { grid-template-columns: 1fr; } }
.case-visual {
  background: radial-gradient(circle at 30% 30%, var(--navy-700) 0%, var(--navy-900) 60%);
  min-height: 360px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  padding: 0;
}
.case-photo {
  width: 100%;
  height: 100%;
  min-height: 360px;
  margin: 0;
  position: relative;
  z-index: 1;
}
.case-photo img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  display: block;
}
.case-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,26,58,.75));
  pointer-events: none;
}
.case-visual-glow {
  position: absolute;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(52,180,111,.25), transparent 65%);
  top: 30%; left: 20%;
  filter: blur(20px);
  animation: glowFloat 14s var(--ease-in-out) infinite;
}
@keyframes glowFloat {
  0%, 100% { transform: translate(0,0); }
  50%      { transform: translate(20px, -20px); }
}

.phone-wrap {
  position: relative;
  z-index: 1;
  animation: phoneFloat 9s var(--ease-in-out) infinite;
}
@keyframes phoneFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
.phone-mockup {
  width: 200px;
  height: 380px;
  background: linear-gradient(180deg, #0a2a52, #001e3e);
  border-radius: 32px;
  border: 2px solid rgba(52,180,111,.35);
  padding: 8px;
  position: relative;
  box-shadow:
    0 30px 80px rgba(0,0,0,.5),
    inset 0 1px 0 rgba(255,255,255,.08);
}
.phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px; height: 18px;
  background: #000;
  border-radius: 10px;
  z-index: 2;
}
.phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #021b3b, #002851);
  border-radius: 24px;
  overflow: hidden;
  padding: 36px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.phone-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--ff-display);
  font-size: 11px;
  color: rgba(255,255,255,.7);
  padding: 0 4px;
  margin-bottom: 6px;
}
.phone-status-icons { display: inline-flex; gap: 3px; }
.phone-status-icons i {
  width: 4px; height: 4px;
  background: rgba(255,255,255,.6);
  border-radius: 50%;
}
.phone-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  background: rgba(255,255,255,.05);
  border-radius: 10px;
}
.phone-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-500), var(--green-700));
}
.phone-header-text { flex: 1; }
.phone-header-title {
  width: 60%; height: 6px;
  background: rgba(255,255,255,.35);
  border-radius: 3px;
  margin-bottom: 4px;
}
.phone-header-sub {
  width: 40%; height: 4px;
  background: rgba(255,255,255,.18);
  border-radius: 2px;
}
.phone-cards {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.phone-card {
  height: 40px;
  background: rgba(255,255,255,.04);
  border-radius: 8px;
  border-left: 2px solid var(--green-500);
  position: relative;
  overflow: hidden;
  animation: phoneCardShimmer 3s ease-in-out infinite;
}
.phone-card:nth-child(2) { animation-delay: 0.3s; }
.phone-card:nth-child(3) { animation-delay: 0.6s; }
.phone-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(52,180,111,.1), transparent);
  transform: translateX(-100%);
  animation: phoneShimmer 3s linear infinite;
}
@keyframes phoneShimmer {
  to { transform: translateX(100%); }
}
.phone-tabbar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding: 6px 4px 2px;
  border-top: 1px solid rgba(255,255,255,.05);
}
.phone-tabbar i {
  height: 4px;
  background: rgba(255,255,255,.15);
  border-radius: 2px;
}
.phone-tabbar i.is-active { background: var(--green-500); }

.case-content {
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (max-width: 540px) { .case-content { padding: 32px 24px; } }
.case-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-400);
  margin-bottom: 18px;
}
.case-tag-dot {
  width: 6px; height: 6px;
  background: var(--green-500);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--green-500);
}
.case-title {
  font-family: var(--ff-display);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.case-desc {
  font-size: 15px;
  color: rgba(255,255,255,.65);
  line-height: 1.6;
  margin-bottom: 28px;
}
.case-result {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: rgba(52,180,111,.08);
  border: 1px solid rgba(52,180,111,.2);
  border-radius: 14px;
  margin-bottom: 28px;
}
.case-result-stat { flex: 1; text-align: center; }
.case-result-num {
  font-family: var(--ff-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--green-400);
  letter-spacing: -0.02em;
  line-height: 1;
}
.case-result-label {
  font-size: 11px;
  color: rgba(255,255,255,.55);
  margin-top: 4px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: var(--ff-mono);
}
.case-result-divider {
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,.1);
}

/* ─── TESTIMONIALS ─────────────────────────────────────────── */
.testimonials {
  background: var(--navy-900);
  position: relative;
  overflow: hidden;
}
.testimonials::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(52,180,111,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(52,180,111,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 70%);
  pointer-events: none;
}
.testimonials .container { position: relative; }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
@media (max-width: 720px) { .testi-grid { grid-template-columns: 1fr; } }

.testi-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-lg);
  padding: 28px 26px;
  min-height: 200px;
  transition: background 250ms, border-color 250ms, transform 300ms var(--ease);
  display: flex;
  flex-direction: column;
}
.testi-card:hover {
  background: rgba(255,255,255,.06);
  border-color: rgba(52,180,111,.3);
  transform: translateY(-3px);
}

.testi-review { gap: 0; }
.testi-stars {
  display: inline-flex;
  gap: 3px;
  color: #fbbf24;
  margin-bottom: 18px;
}
.testi-stars svg { width: 16px; height: 16px; }
.testi-quote {
  font-family: var(--ff-body);
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255,255,255,.88);
  margin: 0 0 24px;
  flex: 1;
  font-style: normal;
  font-weight: 400;
  position: relative;
}
.testi-quote::before {
  content: '\201C';
  position: absolute;
  top: -22px; left: -6px;
  font-family: var(--ff-display);
  font-size: 60px;
  line-height: 1;
  color: var(--green-500);
  opacity: .25;
  pointer-events: none;
}
.testi-quote strong { color: var(--green-400); font-weight: 600; }

.testi-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.07);
  flex-wrap: wrap;
}
.testi-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy-700);
  display: block;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,.25);
}
.testi-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.testi-avatar-initials {
  display: grid;
  place-items: center;
  font-family: var(--ff-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  background: linear-gradient(145deg, var(--green-600), var(--navy-700));
}
.testi-author { flex: 1; min-width: 0; }
.testi-name {
  font-family: var(--ff-display);
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.testi-role {
  font-size: 12px;
  color: rgba(255,255,255,.5);
  margin-top: 2px;
  font-family: var(--ff-mono);
}
.testi-badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--ff-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 10px;
  background: rgba(52,180,111,.14);
  color: var(--green-400);
  border: 1px solid rgba(52,180,111,.25);
  border-radius: var(--r-pill);
  white-space: nowrap;
}

.testi-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-style: dashed;
  border-color: rgba(255,255,255,.12);
}
.testi-placeholder-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  color: rgba(255,255,255,.4);
}
.testi-placeholder-icon svg { width: 22px; height: 22px; }
.testi-placeholder-text {
  font-family: var(--ff-display);
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,.45);
}

.testi-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(180deg, rgba(52,180,111,.12), rgba(52,180,111,.04));
  border-color: rgba(52,180,111,.3);
}
.testi-cta-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(52,180,111,.15);
  display: grid;
  place-items: center;
  color: var(--green-400);
  margin-bottom: 16px;
}
.testi-cta-icon svg { width: 22px; height: 22px; }
.testi-cta-logo {
  height: 22px;
  width: auto;
  display: block;
}
.testi-cta-title {
  font-family: var(--ff-display);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}
.testi-cta-sub {
  font-size: 13px;
  color: rgba(255,255,255,.55);
  margin-bottom: 18px;
  max-width: 200px;
  line-height: 1.5;
}
.testi-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green-btn);
  color: #fff;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 13px;
  padding: 10px 18px;
  border-radius: var(--r-pill);
  transition: background 200ms, transform 200ms var(--ease);
}
.testi-cta-btn:hover { background: #175c38; transform: translateY(-1px); }
.testi-cta-btn span { transition: transform 200ms; }
.testi-cta-btn:hover span { transform: translateX(2px); }

/* ─── INDUSTRIES ───────────────────────────────────────────── */
.industries { background: var(--navy-25); }
.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 880px) { .industry-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .industry-grid { grid-template-columns: repeat(2, 1fr); } }

.industry-chip {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  padding: 14px 14px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  text-align: center;
  transition: border-color 250ms, transform 300ms var(--ease), box-shadow 250ms;
  cursor: default;
}
.industry-chip:hover {
  border-color: var(--green-500);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0,44,95,.08);
}
.industry-chip-icon-wrap {
  display: grid;
  place-items: center;
  padding: 8px 0 4px;
}
.industry-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--navy-50);
  border: 1px solid var(--line);
  color: var(--navy-700);
  transition: border-color 200ms, color 200ms, background 200ms;
}
.industry-icon i { font-size: 20px; line-height: 1; }
.industry-chip:hover .industry-icon {
  border-color: var(--green-500);
  background: var(--green-50);
  color: var(--green-600);
}
.industry-chip-name {
  font-family: var(--ff-display);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy-900);
  line-height: 1.3;
  text-align: center;
}

/* ─── COMPARISON ───────────────────────────────────────────── */
.comparison { background: #fff; }
.compare-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--r-lg);
  box-shadow: 0 4px 32px rgba(0,44,95,.06);
  border: 1px solid var(--line);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  background: #fff;
}
.compare-table th {
  padding: 22px 24px;
  font-family: var(--ff-display);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  letter-spacing: -0.01em;
}
.compare-table th:first-child { text-align: left; }
.compare-table th.col-qalmax { background: var(--navy-900); color: #fff; position: relative; }
.cmp-logo {
  height: 26px;
  width: auto;
  display: block;
  margin: 0 auto;
}
.compare-table th.col-qalmax::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--green-500);
}
.compare-table th.col-other { background: var(--navy-25); color: var(--ink-mute); }
.compare-table td {
  padding: 16px 24px;
  font-size: 14px;
  color: var(--navy-800);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.compare-table td:first-child { text-align: left; font-weight: 600; color: var(--navy-900); }
.compare-table td.col-qalmax {
  background: rgba(52,180,111,.05);
  font-weight: 600;
  color: var(--navy-900);
}
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:hover td { background: rgba(0,44,95,.025); }
.compare-table tr:hover td.col-qalmax { background: rgba(52,180,111,.1); }
.cmp-yes { color: var(--green-text); font-weight: 700; }
.cmp-no  { color: #c53030; }
.cmp-meh { color: #b7791f; }

/* ─── TRUST ────────────────────────────────────────────────── */
.trust { background: var(--navy-25); }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 980px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .trust-grid { grid-template-columns: 1fr; } }

.trust-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 26px;
  transition: border-color 250ms, transform 300ms var(--ease), box-shadow 250ms;
  position: relative;
  overflow: hidden;
}
.trust-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-500), var(--green-400));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 400ms var(--ease);
}
.trust-card:hover {
  transform: translateY(-4px);
  border-color: rgba(52,180,111,.3);
  box-shadow: 0 12px 32px rgba(0,44,95,.08);
}
.trust-card:hover::before { transform: scaleX(1); }
.trust-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  margin-bottom: 16px;
  display: grid;
  place-items: center;
  background: var(--green-50);
  border: 1px solid rgba(52,180,111,.2);
  color: var(--green-600);
}
.trust-icon i { font-size: 22px; line-height: 1; }
.trust-title {
  font-family: var(--ff-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.trust-desc {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* ─── FAQ ──────────────────────────────────────────────────── */
.faq { background: #fff; }
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  background: var(--navy-25);
  border: 1px solid transparent;
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color 250ms, background 250ms, box-shadow 300ms;
}
.faq-item[open] {
  border-color: rgba(52,180,111,.35);
  background: #fff;
  box-shadow: 0 4px 24px rgba(52,180,111,.08);
}
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
  user-select: none;
  font-family: var(--ff-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1.4;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q:hover { color: var(--green-text); }

.faq-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--navy-50);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background 250ms, transform 350ms var(--ease);
  position: relative;
}
.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--navy-900);
  border-radius: 1px;
  transition: background 250ms, transform 350ms var(--ease);
}
.faq-icon::before { width: 11px; height: 1.5px; }
.faq-icon::after  { width: 1.5px; height: 11px; }
.faq-item[open] .faq-icon { background: var(--green-500); transform: rotate(135deg); }
.faq-item[open] .faq-icon::before,
.faq-item[open] .faq-icon::after { background: #fff; }

.faq-a {
  padding: 0 24px 22px;
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.7;
  animation: faqOpen 300ms var(--ease-out);
}
.faq-a strong { color: var(--navy-900); font-weight: 600; }
@keyframes faqOpen {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── FINAL CTA ────────────────────────────────────────────── */
.final-cta {
  position: relative;
  background: var(--navy-900);
  color: #fff;
  text-align: center;
  padding: var(--s-24) 24px;
  overflow: hidden;
  isolation: isolate;
}
.lead-form-logo {
  height: 28px;
  width: auto;
  display: block;
  margin-bottom: 16px;
}
.lead-form--dark .lead-form-logo {
  opacity: 0.95;
}
.section-brand-logo {
  height: 32px;
  width: auto;
  display: block;
  margin: 0 auto 16px;
}
.final-cta-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.final-cta-bg .hero-grid {
  mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 70%);
}
.final-cta-glow {
  position: absolute;
  width: 800px; height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(52,180,111,.18), transparent 60%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(40px);
}
.cta-eyebrow {
  font-family: var(--ff-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-400);
  margin-bottom: 16px;
}
.cta-heading {
  font-family: var(--ff-display);
  font-size: clamp(36px, 6vw, 68px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: -0.035em;
  line-height: 1.05;
  text-wrap: balance;
}
.cta-heading em { font-style: normal; color: var(--green-500); }
.cta-sub {
  font-size: clamp(15px, 1.4vw, 18px);
  color: rgba(255,255,255,.6);
  margin-bottom: 28px;
  max-width: 520px;
  line-height: 1.6;
}
.cta-final {
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: 8px;
}
.cta-final .cta-brand-logo {
  height: 36px;
  width: auto;
  display: block;
  margin: 0 auto 20px;
  opacity: 0.95;
}
.cta-final .cta-sub { margin-inline: auto; }
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  align-items: center;
  margin-top: 8px;
}
.cta-form-hint {
  margin-top: 20px;
  font-size: 13px;
  color: rgba(255,255,255,.45);
  line-height: 1.5;
}
.cta-form-hint a {
  color: var(--green-400);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cta-form-hint a:hover { color: #fff; }
@media (max-width: 900px) {
  .cta-contact { align-items: center; }
}
.cta-contact {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}
.cta-contact li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 14px;
  color: rgba(255,255,255,.65);
}
@media (max-width: 900px) { .cta-contact li { align-items: center; } }
.cta-contact-label {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-400);
}
.cta-contact a {
  color: #fff;
  font-weight: 600;
  transition: color 200ms;
}
.cta-contact a:hover { color: var(--green-400); }
/* ─── CONTACT / LEAD FORMS ─────────────────────────────────── */
.contact { background: var(--bg); }
.contact-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(320px, 1.15fr);
  gap: 40px;
  align-items: start;
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}
.contact-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}
.contact-perks li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.45;
}
.contact-perks span {
  color: var(--green-600);
  font-weight: 700;
  flex-shrink: 0;
}
.contact-direct {
  padding: 20px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: #fff;
}
.contact-direct-label {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 12px;
}
.contact-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--r-pill);
  background: var(--green-btn);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 10px;
  transition: background 200ms, transform 200ms var(--ease);
}
.contact-wa-btn:hover {
  background: #175c38;
  transform: translateY(-1px);
}
.contact-email-link {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy-900);
}
.contact-email-link:hover { color: var(--green-700); }

.lead-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  text-align: left;
  box-shadow: var(--shadow-sm);
}
.lead-form--dark {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.12);
  box-shadow: none;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.lead-form-title {
  font-family: var(--ff-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}
.lead-form--dark .lead-form-title { color: #fff; }
.lead-form-sub {
  font-size: 13px;
  color: var(--text-3);
  margin-bottom: 20px;
  line-height: 1.45;
}
.lead-form--dark .lead-form-sub { color: rgba(255,255,255,.5); }
.lead-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 560px) { .lead-form-row { grid-template-columns: 1fr; } }
.lead-form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}
.lead-form-row .lead-form-field { margin-bottom: 0; }
.lead-form-row + .lead-form-field,
.lead-form-row + label.lead-form-field { margin-top: 14px; }
.lead-form-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-soft);
}
.lead-form--dark .lead-form-label { color: rgba(255,255,255,.7); }
.lead-form-optional { font-weight: 400; color: var(--ink-mute); }
.lead-form--dark .lead-form-optional { color: rgba(255,255,255,.4); }
.lead-form input,
.lead-form textarea,
.lead-form select {
  width: 100%;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--navy-900);
  font-family: var(--ff-body);
  font-size: 14px;
  transition: border-color 200ms, box-shadow 200ms;
}
.lead-form--dark input,
.lead-form--dark textarea,
.lead-form--dark select {
  border-color: rgba(255,255,255,.15);
  background: rgba(0,0,0,.25);
  color: #fff;
}
.lead-form input::placeholder,
.lead-form textarea::placeholder { color: var(--text-3); }
.lead-form--dark input::placeholder,
.lead-form--dark textarea::placeholder { color: rgba(255,255,255,.35); }
.lead-form select { cursor: pointer; }
.lead-form--dark select option { color: var(--navy-900); }
.lead-form input:focus,
.lead-form textarea:focus,
.lead-form select:focus {
  outline: none;
  border-color: var(--green-500);
  box-shadow: 0 0 0 3px rgba(52,180,111,.2);
}
.lead-form textarea { resize: vertical; min-height: 96px; }
.lead-form-honey {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.lead-form-btn {
  width: 100%;
  margin-top: 6px;
  padding: 13px 20px;
  border: none;
  border-radius: var(--r-pill);
  background: var(--green-btn);
  color: #fff;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: background 200ms, transform 200ms var(--ease);
}
.lead-form-btn:hover:not(:disabled) {
  background: #175c38;
  transform: translateY(-1px);
}
.lead-form-btn:disabled { opacity: 0.7; cursor: wait; }
.lead-form-fine {
  margin-top: 12px;
  font-size: 11px;
  color: var(--text-3);
  text-align: center;
  line-height: 1.4;
}
.lead-form--dark .lead-form-fine { color: rgba(255,255,255,.4); }
.lead-form-error {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(220, 53, 69, .12);
  color: #b02a37;
  font-size: 13px;
  line-height: 1.4;
}
.lead-form--dark .lead-form-error {
  background: rgba(220, 53, 69, .2);
  color: #ffb3ba;
}
.lead-form-fallback {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-mute);
}
.lead-form-fallback-link {
  color: var(--green);
  font-weight: 600;
  text-decoration: none;
}
.lead-form-fallback-link:hover { text-decoration: underline; }
.lead-form-success {
  text-align: center;
  padding: 16px 8px 8px;
}
.lead-form.is-submitted .lead-form-title,
.lead-form.is-submitted .lead-form-sub { display: none; }
.lead-form-success-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: rgba(52,180,111,.15);
  color: var(--green-600);
  font-size: 22px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lead-form--dark .lead-form-success-icon {
  background: rgba(52,180,111,.25);
  color: var(--green-400);
}
.lead-form-success-title {
  font-family: var(--ff-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 8px;
}
.lead-form--dark .lead-form-success-title { color: #fff; }
.lead-form-success-text {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.lead-form--dark .lead-form-success-text { color: rgba(255,255,255,.6); }
.cta-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-top: 32px;
}
.cta-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.6);
  font-size: 13.5px;
}
.cta-trust-item svg {
  width: 14px; height: 14px;
  color: var(--green-400);
  flex-shrink: 0;
}

/* ─── PROBLEMS ─────────────────────────────────────────────── */
.problems { background: var(--bg); }
.problems-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 720px) { .problems-grid { grid-template-columns: 1fr; } }
.problems-col {
  padding: 28px 26px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
}
.problems-col-pain {
  background: #fff;
}
.problems-col-fix {
  background: linear-gradient(145deg, var(--navy-900), #0a2540);
  border-color: rgba(52,180,111,.2);
  color: #fff;
}
.problems-col-title {
  font-family: var(--ff-display);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}
.problems-col-title-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.problems-col-logo {
  height: 22px;
  width: auto;
  flex-shrink: 0;
  opacity: 0.95;
}
.problems-col-fix .problems-col-title { color: #fff; }
.problems-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.problems-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.45;
}
.problems-list-pain li { color: var(--ink-soft); }
.problems-list-fix li { color: rgba(255,255,255,.82); }
.problems-icon {
  flex-shrink: 0;
  width: 18px;
  font-size: 12px;
  color: var(--green-500);
  margin-top: 2px;
}
.problems-list-pain .problems-icon { color: var(--ink-mute); }

/* ─── OUTCOMES ───────────────────────────────────────────── */
.outcomes { background: var(--navy-50); }
.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .outcomes-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .outcomes-grid { grid-template-columns: 1fr; } }
.outcome-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 22px;
  text-align: center;
}
.outcome-num {
  font-family: var(--ff-display);
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 700;
  color: var(--navy-900);
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.outcome-label {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.45;
}

/* ─── WORK GRID ────────────────────────────────────────────── */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}
@media (max-width: 980px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .work-grid { grid-template-columns: 1fr; } }
.work-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 200ms, box-shadow 280ms, transform 280ms var(--ease);
}
.work-card-body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.work-card-featured .work-card-body { padding: 24px 26px 28px; }
.work-card:hover {
  border-color: rgba(52,180,111,.35);
  box-shadow: 0 10px 28px rgba(0,44,95,.08);
  transform: translateY(-3px);
}
.work-card-featured {
  grid-column: span 2;
  background: linear-gradient(145deg, var(--navy-900), #0d2847);
  border-color: rgba(52,180,111,.25);
  color: #fff;
}
@media (max-width: 980px) { .work-card-featured { grid-column: span 1; } }
.work-card-tag {
  display: inline-block;
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-400);
  margin-bottom: 10px;
}
.work-card-featured .work-card-tag { color: var(--green-400); }
.work-card:not(.work-card-featured) .work-card-tag { color: var(--green-600); }
.work-card-title {
  font-family: var(--ff-display);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.work-card-featured .work-card-title { color: #fff; font-size: 20px; }
.work-card-desc {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.work-card-featured .work-card-desc { color: rgba(255,255,255,.65); }
.work-card-result {
  font-size: 12px;
  font-family: var(--ff-mono);
  color: var(--green-600);
  letter-spacing: 0.02em;
  margin-top: auto;
}
.work-card-featured .work-card-result { color: var(--green-400); }

/* ─── FOOTER ───────────────────────────────────────────────── */
.site-footer {
  background: var(--navy-950);
  padding: 48px 0 32px;
  border-top: 1px solid rgba(255,255,255,.04);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px 32px;
  width: 100%;
  text-align: left;
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-col-title {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-400);
  margin-bottom: 4px;
}
.footer-col a,
.footer-col p {
  font-size: 13px;
  color: rgba(255,255,255,.55);
  line-height: 1.5;
}
.footer-col a:hover { color: var(--green-400); }
.footer-logo {
  display: inline-flex;
  align-items: center;
}
.footer-logo-img {
  height: 28px;
  width: auto;
  display: block;
  opacity: 0.9;
  transition: opacity 200ms;
}
.footer-logo:hover .footer-logo-img { opacity: 1; }
.footer-tagline {
  font-size: 13px;
  color: rgba(255,255,255,.4);
}
.footer-links {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,.5);
  transition: color 200ms;
  font-weight: 500;
}
.footer-links a:hover { color: var(--green-400); }
.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,.5);
  font-family: var(--ff-mono);
}

/* ─── FLOATING WHATSAPP ────────────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-btn);
  color: #fff;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 14px;
  padding: 12px 18px 12px 14px;
  border-radius: var(--r-pill);
  box-shadow: 0 12px 32px rgba(52,180,111,.45);
  transition: transform 250ms var(--ease), box-shadow 250ms;
  isolation: isolate;
}
.wa-float:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 16px 40px rgba(52,180,111,.6);
  background: #175c38;
}
.wa-float-ring {
  position: absolute;
  inset: -4px;
  border-radius: var(--r-pill);
  border: 2px solid var(--green-500);
  opacity: .4;
  z-index: -1;
  animation: waRing 3.2s var(--ease-in-out) infinite;
}
@keyframes waRing {
  0%   { transform: scale(0.95); opacity: .5; }
  100% { transform: scale(1.35); opacity: 0; }
}
.wa-float .wa-icon { width: 22px; height: 22px; flex-shrink: 0; }
.wa-float-label {
  white-space: nowrap;
}
@media (max-width: 540px) {
  .wa-float-label { display: none; }
  .wa-float { padding: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .wa-float-ring { animation: none; }
}

/* ─── INNER PAGES (services, geo) ──────────────────────────── */
.page-hero {
  padding: calc(var(--nav-h) + var(--s-16)) 0 var(--s-16);
  background: linear-gradient(165deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: #fff;
}
.page-hero .section-label { color: var(--green-400); }
.page-hero .section-title { color: #fff; margin-bottom: var(--s-4); }
.page-lead {
  font-size: var(--fs-lead);
  color: rgba(255,255,255,.78);
  max-width: 640px;
  line-height: 1.55;
}
.page-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .5rem;
  font-size: var(--fs-small);
  color: rgba(255,255,255,.55);
  margin-bottom: var(--s-6);
}
.page-breadcrumb a { color: rgba(255,255,255,.75); }
.page-breadcrumb a:hover { color: var(--green-400); }
.page-breadcrumb span[aria-hidden="true"] { opacity: .45; }
.page-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-8); }
.page-body { background: var(--bg); }
.page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--s-5);
}
.page-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  transition: box-shadow 200ms var(--ease), border-color 200ms;
}
.page-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(52,180,111,.25);
}
.page-card h3 { font-size: var(--fs-h3); margin-bottom: var(--s-2); }
.page-card p { color: var(--ink-soft); font-size: var(--fs-small); line-height: 1.55; }
.page-card a.page-card-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: var(--s-4);
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--green-text);
}
.svc-card .page-card-link { margin-top: var(--s-3); }
.page-prose { max-width: 720px; }
.page-prose p { color: var(--ink-soft); margin-bottom: var(--s-4); line-height: 1.65; }
.page-prose h2 { font-size: var(--fs-h3); margin: var(--s-10) 0 var(--s-4); }
.page-list {
  list-style: none;
  display: grid;
  gap: var(--s-3);
  margin: var(--s-6) 0;
}
.page-list li {
  display: flex;
  gap: var(--s-3);
  align-items: flex-start;
  color: var(--ink-soft);
  line-height: 1.55;
}
.page-list li::before {
  content: "✓";
  color: var(--green-500);
  font-weight: 700;
  flex-shrink: 0;
}
.page-stack {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin-top: var(--s-4);
}
.page-stack span {
  font-size: 12px;
  font-family: var(--ff-mono);
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: var(--navy-25);
  color: var(--navy-700);
  border: 1px solid var(--line);
}
.page-cta-band {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.page-cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-6);
}
.page-cta-inner h2 { font-size: clamp(24px, 3vw, 32px); max-width: 28ch; }
.page-cta-inner p { color: var(--ink-soft); max-width: 42ch; margin-top: var(--s-2); }
.page-related { background: var(--bg-alt); }
.page-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--s-4);
}
.page-related a {
  display: block;
  padding: var(--s-4) var(--s-5);
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--bg);
  font-weight: 600;
  font-size: var(--fs-small);
  transition: border-color 200ms, color 200ms;
}
.page-related a:hover { border-color: var(--green-500); color: var(--green-text); }
.nav.is-inner { background: rgba(0,26,58,.96); backdrop-filter: blur(12px); }
.nav.is-inner.is-scrolled { box-shadow: 0 1px 0 rgba(255,255,255,.06); }

/* ─── GLOBAL OFFICES MAP ───────────────────────────────────── */
.offices { background: var(--bg-alt); }
.offices-layout {
  display: grid;
  grid-template-columns: minmax(240px, 300px) 1fr;
  gap: 20px;
  align-items: stretch;
}
@media (max-width: 900px) {
  .offices-layout { grid-template-columns: 1fr; }
}
.offices-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.offices-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: border-color 200ms, box-shadow 200ms, background 200ms;
}
.offices-item:hover {
  border-color: rgba(34, 139, 87, 0.35);
}
.offices-item.is-active {
  border-color: var(--green-500);
  background: rgba(34, 139, 87, 0.06);
  box-shadow: var(--shadow-sm);
}
.offices-item--hq.is-active { border-color: var(--green-600); }
.offices-item-top {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}
.offices-item-name {
  font-family: var(--ff-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--navy-900);
  letter-spacing: -0.02em;
}
.offices-item-badge {
  font-family: var(--ff-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: var(--r-pill);
  background: var(--green-600);
  color: #fff;
}
.offices-item-region {
  font-size: 13px;
  color: var(--text-3);
}
.offices-item-address {
  font-size: 12px;
  color: var(--ink-mute);
  line-height: 1.35;
}
.offices-item-link {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--green-700);
}
.offices-item-link:hover { color: var(--green-500); text-decoration: underline; }
.offices-map-wrap {
  min-height: 360px;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--line);
  box-shadow: var(--shadow-sm);
}
@media (max-width: 900px) {
  .offices-map-wrap { min-height: 280px; }
}
.offices-map-embed {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
}
@media (max-width: 900px) {
  .offices-map-embed { min-height: 280px; }
}
.footer-offices-map {
  margin-top: 4px;
  font-size: 12px;
  color: var(--green-400) !important;
}
