/* ============================================================
   RealProcess — Enterprise trust redesign v2
   Deep navy authority + clean light body. EN/ES.
   ============================================================ */

:root {
  /* Deep navy brand surfaces (hero, dark sections, footer) */
  --navy:      #0a142b;
  --navy-2:    #0d1b38;
  --navy-3:    #12224a;
  --navy-line: rgba(160, 185, 235, 0.16);
  --navy-line-soft: rgba(160, 185, 235, 0.09);

  /* Brand blue */
  --brand:      #2a5cff;
  --brand-2:    #5687ff;
  --brand-ink:  #1233b8;
  --brand-tint: #eaf0ff;

  /* Warm restraint accent — only for urgency/deadlines */
  --accent:     #d8602e;
  --accent-2:   #e8854f;

  /* Light body palette */
  --bg:        #ffffff;
  --bg-2:      #f5f7fb;
  --bg-3:      #eef2f9;
  --ink:       #0c1426;
  --ink-2:     #3a4761;
  --ink-3:     #66738c;
  --muted:     #8d98ad;
  --rule:      #e2e7f0;
  --rule-2:    #eef1f7;

  /* On-navy text */
  --on-navy:      #f4f7ff;
  --on-navy-2:    #b6c4e4;
  --on-navy-3:    #7e8eb4;

  --ok: #2fa46b;

  --sans: "Geist", "Inter", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --container: 1280px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-pad: clamp(72px, 9vw, 132px);
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 18px;

  color-scheme: light;
}

/* Dark body theme — flips the light sections to deep navy */
:root[data-theme="dark"] {
  --bg:   #070d1c;
  --bg-2: #0a142b;
  --bg-3: #0d1b38;
  --ink:  #f1f5ff;
  --ink-2: #b7c4e0;
  --ink-3: #8593b4;
  --muted: #6b7896;
  --rule:  rgba(160,185,235,0.14);
  --rule-2: rgba(160,185,235,0.08);
  --brand-tint: #11224d;
  color-scheme: dark;
}

:root[data-density="compact"]     { --section-pad: clamp(48px, 6vw, 88px); }
:root[data-density="comfortable"] { --section-pad: clamp(72px, 9vw, 132px); }
:root[data-density="airy"]        { --section-pad: clamp(104px, 13vw, 200px); }

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
::selection { background: var(--brand); color: #fff; }

/* ---------- type utilities ---------- */
.mono-xs {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 500;
}
.dim { color: var(--muted); opacity: 0.85; }

.display-md {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(30px, 3.8vw, 50px);
  line-height: 1.06;
  letter-spacing: -0.025em;
  margin: 0;
  max-width: 20ch;
  text-wrap: balance;
  color: var(--ink);
}
.display-md--light { color: var(--on-navy); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--brand);
  margin-bottom: 22px;
}
.eyebrow--light { color: var(--brand-2); }
.eyebrow__tick { width: 22px; height: 2px; background: currentColor; border-radius: 2px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 8px;
  padding: 13px 22px;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  transition: transform .14s ease, background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.btn--sm { padding: 9px 16px; font-size: 13.5px; }
.btn--large { padding: 16px 26px; font-size: 16px; }

.btn--primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,0.2) inset, 0 8px 20px -8px rgba(42,92,255,0.6);
}
.btn--primary:hover { background: var(--brand-ink); transform: translateY(-1px); }

.btn--ghost-light {
  background: rgba(255,255,255,0.04);
  color: var(--on-navy);
  border-color: var(--navy-line);
}
.btn--ghost-light:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.4); }

/* ---------- logo ---------- */
.logo-mark { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); }
.logo-mark--light { color: var(--on-navy); }
.logo-mark__svg { width: 26px; height: 26px; display: block; }
.logo-mark__word { font-weight: 600; font-size: 18px; letter-spacing: -0.02em; }

/* ============================================================
   NAV (sits on navy hero)
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  padding: 16px var(--gutter);
  background: color-mix(in oklab, var(--navy) 80%, transparent);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, padding .2s ease, background .2s ease;
}
.nav.is-scrolled { border-bottom-color: var(--navy-line); padding-top: 11px; padding-bottom: 11px; }
.nav__brand { flex-shrink: 0; }
.nav__links {
  display: flex; gap: 26px; list-style: none; margin: 0 auto 0 28px; padding: 0;
}
.nav__links a { font-size: 14px; color: var(--on-navy-2); padding: 6px 0; transition: color .15s ease; }
.nav__links a:hover { color: var(--on-navy); }
.nav__right { display: flex; align-items: center; gap: 14px; margin-left: auto; }
@media (max-width: 980px) { .nav__links { display: none; } }

.lang-toggle {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em;
  padding: 6px 11px; border: 1px solid var(--navy-line); border-radius: 999px;
}
.lang-toggle button { color: var(--on-navy-3); text-transform: uppercase; }
.lang-toggle__sep { color: var(--on-navy-3); opacity: 0.5; }
.lang-toggle button.is-active { color: var(--on-navy); font-weight: 600; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background: var(--navy);
  color: var(--on-navy);
  padding: clamp(48px, 6vw, 88px) var(--gutter) 0;
  overflow: hidden;
}
/* ---------- shader background ---------- */
.shader { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.shader__canvas { width: 100%; height: 100%; display: block; }
/* CSS fallback when WebGL unavailable */
.shader--fallback {
  background:
    radial-gradient(900px 500px at 78% 8%, rgba(42,92,255,0.30) 0%, transparent 58%),
    radial-gradient(700px 600px at 110% 60%, rgba(86,135,255,0.16) 0%, transparent 55%),
    var(--navy);
}
.hero__shader { z-index: 0; }
.hero__grid-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image:
    linear-gradient(var(--navy-line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--navy-line-soft) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(1100px 640px at 28% 16%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(1100px 640px at 28% 16%, #000 0%, transparent 78%);
  opacity: 0.5;
}
.hero__inner { z-index: 2; }
.hero__trust { z-index: 2; }
.hero__inner {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 0.95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding: clamp(36px, 5vw, 64px) 0 clamp(48px, 6vw, 80px);
}
@media (max-width: 920px) { .hero__inner { grid-template-columns: 1fr; gap: 40px; } }

.hero__kicker { display: inline-flex; align-items: center; gap: 11px; color: var(--on-navy-2); margin-bottom: 30px; }
.hero__kicker-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(216,96,46,0.18); }

.hero__title {
  margin: 0 0 28px;
  font-weight: 600;
  font-size: clamp(38px, 5.4vw, 76px);
  line-height: 1.0;
  letter-spacing: -0.035em;
  color: var(--on-navy);
}
.hero__line { display: block; text-wrap: balance; }
.hero__line--accent {
  background: linear-gradient(92deg, var(--brand-2), #8fb0ff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.hero__lede {
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.6;
  color: var(--on-navy-2);
  max-width: 52ch;
  margin: 0 0 36px;
  text-wrap: pretty;
}
.hero__cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 38px; }

.hero__chips {
  display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; margin: 0; padding: 22px 0 0;
  border-top: 1px solid var(--navy-line);
}
.hero__chips li {
  display: inline-flex; align-items: center;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--on-navy-3);
}
.hero__chips li:not(:last-child)::after {
  content: ""; width: 3px; height: 3px; border-radius: 50%; background: var(--on-navy-3);
  opacity: 0.4; margin-left: 22px;
}

/* ---------- hero engagement card ---------- */
.hero__aside { min-width: 0; }
.eng-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid var(--navy-line);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: 0 30px 60px -28px rgba(0,0,0,0.6);
  backdrop-filter: blur(6px);
}
.eng-card__head { color: var(--on-navy-3); padding-bottom: 14px; border-bottom: 1px solid var(--navy-line-soft); }
.eng-card__service { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 16px 0 18px; }
.eng-card__service-name { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; color: var(--on-navy); }
.eng-card__service-meta { color: var(--brand-2); }
.eng-card__list-label { color: var(--on-navy-3); padding-bottom: 12px; }
.eng-card__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.eng-card__list li { display: flex; align-items: center; gap: 11px; font-size: 14.5px; line-height: 1.3; color: var(--on-navy); }
.eng-card__check {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 6px;
  display: grid; place-items: center;
  background: rgba(42,92,255,0.18); color: var(--brand-2);
  border: 1px solid rgba(86,135,255,0.3);
}
.eng-card__foot {
  display: flex; align-items: center; gap: 9px; margin-top: 20px; padding-top: 16px;
  border-top: 1px solid var(--navy-line-soft); color: var(--on-navy-2);
}
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(47,164,107,0.2); }

/* ---------- hero trust strip ---------- */
.hero__trust {
  position: relative;
  max-width: var(--container); margin: 0 auto;
  border-top: 1px solid var(--navy-line);
  padding: 26px 0 30px;
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
}
.hero__trust-label { color: var(--on-navy-3); flex-shrink: 0; }
.fw-strip { display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center; }
.fw-strip__item {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; font-weight: 500;
  color: var(--on-navy-2);
  position: relative;
}
.fw-strip__item:not(:last-child)::after { content: ""; }

/* ============================================================
   STATS BAND
   ============================================================ */
.stats { background: var(--navy-2); border-bottom: 1px solid var(--navy-line); }
.stats__inner {
  max-width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: clamp(28px, 3.4vw, 44px) var(--gutter);
  border-right: 1px solid var(--navy-line-soft);
  text-align: left;
}
.stat:first-child { padding-left: var(--gutter); }
.stat:last-child { border-right: none; }
.stat__v {
  font-size: clamp(32px, 3.6vw, 50px); font-weight: 600; letter-spacing: -0.03em;
  color: var(--on-navy); line-height: 1;
}
.stat__k { margin-top: 10px; font-size: 13.5px; color: var(--on-navy-3); }
@media (max-width: 760px) {
  .stats__inner { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--navy-line-soft); }
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: var(--section-pad) var(--gutter); position: relative; }
.section__inner, .section > * { }
.section--tint { background: var(--bg-2); }
.section--dark { background: var(--navy); color: var(--on-navy); }
.section__head { max-width: var(--container); margin: 0 auto clamp(44px, 5vw, 72px); }
.section__sub { margin: 20px 0 0; max-width: 58ch; font-size: 17px; line-height: 1.55; color: var(--ink-2); }
.section__sub--light { color: var(--on-navy-2); }

/* ---------- services (editorial list) ---------- */
.services__list {
  max-width: var(--container); margin: 0 auto;
  border-top: 1px solid var(--ink);
}
.svc {
  display: grid; grid-template-columns: 0.8fr 1.6fr; gap: clamp(20px, 5vw, 80px);
  padding: clamp(28px, 3.4vw, 44px) 4px;
  border-bottom: 1px solid var(--rule);
  align-items: start;
}
.svc__l { display: flex; flex-direction: column; gap: 10px; }
.svc__name { font-size: clamp(24px, 2.4vw, 34px); font-weight: 600; letter-spacing: -0.025em; margin: 0; color: var(--ink); }
.svc__tag { font-size: 13.5px; color: var(--ink-3); }
.svc__b { font-size: clamp(15px, 1.15vw, 17px); line-height: 1.6; color: var(--ink-2); margin: 0; max-width: 56ch; text-wrap: pretty; }
@media (max-width: 760px) {
  .svc { grid-template-columns: 1fr; gap: 12px; }
}

/* ---------- problems ---------- */
.problems__grid {
  max-width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; background: var(--rule);
  gap: 1px;
}
@media (max-width: 900px) { .problems__grid { grid-template-columns: 1fr; } }
.problem-card {
  background: var(--bg); padding: clamp(26px, 3vw, 38px);
  display: flex; flex-direction: column; gap: 16px; min-height: 340px;
}
.section--tint .problem-card { background: var(--bg-2); }
.problem-card__head { display: flex; align-items: center; }
.problem-card__n {
  color: var(--accent); border: 1px solid color-mix(in oklab, var(--accent) 35%, transparent);
  padding: 4px 9px; border-radius: 999px;
}
.problem-card__h { font-size: clamp(19px, 1.7vw, 24px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; margin: 0; text-wrap: balance; }
.problem-card__b { font-size: 14.5px; line-height: 1.6; color: var(--ink-2); margin: 0; text-wrap: pretty; }
.problem-card__tags { margin: auto 0 0; padding: 16px 0 0; list-style: none; display: flex; flex-wrap: wrap; gap: 7px; border-top: 1px solid var(--rule); }
.problem-card__tags li { padding: 4px 9px; border-radius: 999px; background: var(--bg-3); color: var(--ink-3); }

/* ---------- method timeline (dark) ---------- */
.method .timeline {
  max-width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--navy-line); border: 1px solid var(--navy-line); border-radius: var(--radius-lg); overflow: hidden;
}
@media (max-width: 900px) { .method .timeline { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .method .timeline { grid-template-columns: 1fr; } }
.phase {
  background: var(--navy-2); padding: clamp(24px, 2.4vw, 34px) clamp(22px, 2vw, 28px);
  display: flex; flex-direction: column; gap: 18px; min-height: 320px; position: relative;
  transition: background .2s ease;
}
.phase:hover { background: var(--navy-3); }
.phase__head { display: flex; align-items: center; justify-content: space-between; }
.phase__week { color: var(--brand-2); }
.phase__num { color: var(--on-navy-3); }
.phase__title { font-size: clamp(26px, 2.4vw, 34px); font-weight: 600; letter-spacing: -0.03em; margin: 0; color: var(--on-navy); }
.phase__items { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 13px; font-size: 14px; color: var(--on-navy-2); line-height: 1.45; }
.phase__items li { display: flex; gap: 11px; align-items: flex-start; }
.phase__tick { color: var(--brand-2); flex-shrink: 0; margin-top: 1px; }
.phase__index {
  position: absolute; top: clamp(24px, 2.4vw, 34px); right: clamp(22px, 2vw, 28px);
  color: var(--navy-line); font-size: 13px; opacity: 0; transition: opacity .2s ease;
}

/* ---------- deliverables ---------- */
.deliverables__layout {
  max-width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(36px, 5vw, 80px); align-items: start;
}
@media (max-width: 900px) { .deliverables__layout { grid-template-columns: 1fr; gap: 40px; } }
.deliverables__intro { position: sticky; top: 96px; }
@media (max-width: 900px) { .deliverables__intro { position: static; } }
.deliverables__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.deliverable {
  display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: start;
  padding: 26px 4px; border-bottom: 1px solid var(--rule);
  transition: padding-left .2s ease;
}
.deliverable:hover { padding-left: 12px; }
.deliverable__n { color: var(--brand); padding-top: 4px; }
.deliverable__t { font-size: clamp(18px, 1.5vw, 22px); font-weight: 600; letter-spacing: -0.015em; margin: 0 0 6px; }
.deliverable__d { font-size: 14.5px; line-height: 1.55; color: var(--ink-2); margin: 0; max-width: 52ch; text-wrap: pretty; }
.deliverable__check {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center;
  background: var(--brand-tint); color: var(--brand); border: 1px solid color-mix(in oklab, var(--brand) 20%, transparent);
}

/* ---------- frameworks ---------- */
.fw { max-width: var(--container); margin: 0 auto; }
.fw__primary {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
@media (max-width: 760px) { .fw__primary { grid-template-columns: 1fr; } }
.fwp {
  background: var(--bg); border: 1px solid var(--rule); border-radius: var(--radius);
  padding: clamp(28px, 3vw, 40px);
  display: flex; flex-direction: column; gap: 16px;
}
.fwp__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.fwp__code { font-size: clamp(28px, 3vw, 40px); font-weight: 600; letter-spacing: -0.03em; color: var(--ink); }
.fwp__status { font-size: 12.5px; color: var(--accent); font-weight: 500; white-space: nowrap; }
.fwp__name { font-size: 14px; color: var(--ink-3); margin-top: -6px; }
.fwp__why { font-size: 15px; line-height: 1.6; color: var(--ink-2); margin: 0; text-wrap: pretty; }

.fw__secondary {
  margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--rule);
  display: flex; flex-direction: column; gap: 18px;
}
.fw__seclabel { color: var(--ink-3); }
.fw__secrow { display: flex; flex-wrap: wrap; gap: 12px; }
.fws {
  display: inline-flex; align-items: baseline; gap: 10px;
  border: 1px solid var(--rule); border-radius: 999px;
  padding: 10px 18px; background: var(--bg);
}
.fws__code { font-weight: 600; font-size: 15px; letter-spacing: -0.01em; color: var(--ink); white-space: nowrap; }
.fws__name { font-size: 13px; color: var(--ink-3); }

/* ---------- for you ---------- */
.for-you__grid {
  max-width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
}
@media (max-width: 760px) { .for-you__grid { grid-template-columns: 1fr; } }
.foryou-card {
  position: relative; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--bg);
  padding: 30px 30px 30px 64px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.foryou-card:hover { border-color: var(--brand); box-shadow: 0 16px 40px -24px rgba(42,92,255,0.3); }
.foryou-card__check {
  position: absolute; left: 26px; top: 32px;
  width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center;
  background: var(--brand-tint); color: var(--brand);
  border: 1px solid color-mix(in oklab, var(--brand) 22%, transparent);
}
.foryou-card__h { font-size: clamp(18px, 1.5vw, 23px); font-weight: 600; letter-spacing: -0.015em; line-height: 1.22; margin: 0 0 12px; text-wrap: balance; }
.foryou-card__b { font-size: 14.5px; line-height: 1.6; color: var(--ink-2); margin: 0; text-wrap: pretty; }

/* ---------- faq ---------- */
.faq__list { max-width: 940px; margin: 0 auto; border-top: 2px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-item__q {
  width: 100%; display: grid; grid-template-columns: 44px 1fr 28px; gap: 18px; align-items: center;
  padding: 26px 6px; text-align: left;
  font-size: clamp(17px, 1.35vw, 21px); font-weight: 600; letter-spacing: -0.015em; line-height: 1.3; color: var(--ink);
  transition: color .15s ease;
}
.faq-item__q:hover { color: var(--brand); }
.faq-item__n { color: var(--muted); }
.faq-item__icon { color: var(--brand); display: grid; place-items: center; transition: transform .3s ease; }
.faq-item.is-open .faq-item__icon { transform: rotate(45deg); }
.faq-item__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.faq-item.is-open .faq-item__a { grid-template-rows: 1fr; }
.faq-item__a > p {
  overflow: hidden; margin: 0; max-width: 74ch; padding: 0 6px 26px 62px;
  font-size: 15.5px; line-height: 1.6; color: var(--ink-2); text-wrap: pretty;
}
@media (max-width: 640px) {
  .faq-item__q { grid-template-columns: 34px 1fr 24px; gap: 12px; }
  .faq-item__a > p { padding-left: 46px; }
}

/* ---------- final cta ---------- */
.final-cta { position: relative; overflow: hidden; }
.final-cta__shader { z-index: 0; }
.final-cta .final-cta__inner {
  position: relative; z-index: 2;
  max-width: 1000px; margin: 0 auto; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 26px;
}
.final-cta__title {
  margin: 0; font-weight: 600; font-size: clamp(40px, 6vw, 84px); line-height: 0.98; letter-spacing: -0.04em; color: var(--on-navy);
}
.final-cta__line { display: block; }
.final-cta__line--accent {
  background: linear-gradient(92deg, var(--brand-2), #93b2ff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.final-cta__body { max-width: 56ch; font-size: clamp(16px, 1.2vw, 19px); line-height: 1.6; color: var(--on-navy-2); margin: 0; }
.final-cta__meta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; color: var(--on-navy-3); margin-top: 8px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--navy); color: var(--on-navy); padding: clamp(56px, 7vw, 92px) var(--gutter) 28px; }
.footer__top {
  max-width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: 1.3fr 2fr; gap: clamp(40px, 6vw, 96px);
  padding-bottom: 48px; border-bottom: 1px solid var(--navy-line);
}
@media (max-width: 880px) { .footer__top { grid-template-columns: 1fr; } }
.footer__brand { display: flex; flex-direction: column; gap: 18px; }
.footer__tagline { max-width: 44ch; color: var(--on-navy-2); font-size: 15px; line-height: 1.55; margin: 0; }
.footer__motto { color: var(--brand-2); font-weight: 600; font-size: 17px; letter-spacing: -0.01em; margin: 0; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
@media (max-width: 560px) { .footer__cols { grid-template-columns: 1fr; gap: 28px; } }
.footer__colh { color: var(--on-navy-3); margin: 0 0 16px; }
.footer__cols ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; font-size: 14.5px; color: var(--on-navy-2); }
.footer__cols a:hover { color: var(--on-navy); }
.footer__bottom { max-width: var(--container); margin: 24px auto 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer__bottom .mono-xs { color: var(--on-navy-3); }

/* ============================================================
   TWEAKS
   ============================================================ */
.tweaks {
  position: fixed; right: 20px; bottom: 20px; width: 320px; z-index: 100;
  background: var(--bg); border: 1px solid var(--rule); border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px -20px rgba(8,20,43,0.4);
}
.tweaks__head {
  display: flex; justify-content: space-between; align-items: center; padding: 13px 15px;
  background: var(--navy); color: var(--on-navy); border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.tweaks__head .mono-xs { color: var(--on-navy); }
.tweaks__close { color: var(--on-navy-2); font-size: 14px; }
.tweaks__section { padding: 14px 15px; border-bottom: 1px solid var(--rule-2); }
.tweaks__label { color: var(--ink-3); display: block; margin-bottom: 9px; }
.tweaks__pills { display: flex; gap: 6px; flex-wrap: wrap; }
.tweaks__pills--stack { flex-direction: column; }
.tweaks__pills button {
  padding: 8px 13px; border: 1px solid var(--rule); border-radius: 7px; background: var(--bg-2);
  color: var(--ink-2); font-size: 12px; text-align: left; text-transform: capitalize; transition: all .15s ease;
}
.tweaks__pills--stack button { width: 100%; }
.tweaks__pills button.is-active { background: var(--brand); color: #fff; border-color: var(--brand); }
.tweaks textarea {
  width: 100%; border: 1px solid var(--rule); border-radius: 7px; padding: 9px; resize: vertical;
  font-family: var(--mono); font-size: 12px; color: var(--ink); background: var(--bg-2);
}
.tweaks__foot { padding: 11px 15px; }
.tweaks-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 99;
  background: var(--navy); color: var(--on-navy); padding: 11px 16px; border-radius: 999px;
  box-shadow: 0 12px 28px -10px rgba(8,20,43,0.5);
}
.tweaks-fab:hover { background: var(--brand); }

/* ============================================================
   MOBILE — refinements
   ============================================================ */
@media (max-width: 980px) {
  :root { --gutter: clamp(18px, 5vw, 40px); }
  .nav { gap: 12px; }
  .nav__right { gap: 10px; }
}

@media (max-width: 720px) {
  :root { --section-pad: clamp(56px, 11vw, 88px); }

  .nav { padding: 12px var(--gutter); }
  .logo-mark__word { font-size: 16px; }
  .logo-mark__svg { width: 23px; height: 23px; }

  .hero { padding-top: 28px; }
  .hero__inner { padding: 24px 0 36px; }
  .hero__kicker { margin-bottom: 22px; }
  .hero__title { font-size: clamp(33px, 9vw, 50px); letter-spacing: -0.03em; margin-bottom: 22px; }
  .hero__lede { font-size: 16px; margin-bottom: 28px; }
  .hero__cta { gap: 10px; margin-bottom: 30px; }
  .hero__cta .btn { flex: 1 1 auto; justify-content: center; }
  .hero__grid-overlay { background-size: 44px 44px; }

  .eng-card { padding: 18px; }
  .eng-card__service-name { font-size: 17px; }

  .hero__trust { flex-direction: column; align-items: flex-start; gap: 14px; padding: 22px 0 26px; }
  .fw-strip { gap: 9px 18px; }
  .fw-strip__item { font-size: 11px; }

  .display-md { font-size: clamp(26px, 7.5vw, 38px); }
  .section__sub { font-size: 15.5px; }

  .stat { padding: 22px var(--gutter); }
  .stat__v { font-size: clamp(28px, 9vw, 40px); }

  .service-card, .foryou-card, .problem-card { padding: 24px 22px; }
  .problem-card { min-height: 0; }

  .phase { min-height: 0; padding: 24px 22px; }
  .phase__title { font-size: clamp(24px, 7vw, 32px); }

  .deliverable { grid-template-columns: auto 1fr; gap: 14px 16px; padding: 22px 2px; }
  .deliverable__check { display: none; }
  .deliverables__intro { margin-bottom: 8px; }

  .faq-item__q { padding: 22px 4px; font-size: 17px; }

  .final-cta__title { font-size: clamp(34px, 10vw, 56px); }
  .final-cta__body { font-size: 16px; }

  .footer__bottom { gap: 8px; }
  .footer__bottom .mono-xs:last-child { display: none; }

  .tweaks { left: 16px; right: 16px; width: auto; bottom: 16px; }
}

@media (max-width: 420px) {
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__chips { gap: 10px 16px; }
  .lang-toggle { padding: 5px 9px; }
  .nav__right .btn--sm { padding: 8px 13px; font-size: 12.5px; }
}

/* Touch targets */
@media (hover: none) {
  .btn, .faq-item__q, .nav__links a, .lang-toggle button { min-height: 44px; }
  .lang-toggle button { display: inline-flex; align-items: center; }
}
