/* ============================================================
   BOX SPEEDY LOGISTICS — "The Corridor"
   Design system. Teal infrastructure + amber movement +
   documentary security-seal red. Poppins display / Space Mono manifest.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Brand teal ramp */
  --teal-950: #04222f;
  --teal-900: #05303f;
  --teal-850: #053a4d;
  --teal-800: #05475e;
  --teal-700: #056083; /* brand primary */
  --teal-600: #0a7099;
  --teal-500: #1487ad;
  --teal-400: #38a2c4;
  --teal-200: #a9d3e2;
  --teal-100: #d7ebf2;
  --teal-050: #eef6f9;

  /* Amber accent */
  --amber-700: #c8942a;
  --amber-600: #dca438;
  --amber: #eab54a; /* brand accent */
  --amber-300: #f4d38c;
  --amber-050: #fcf4e0;

  /* Documentary seal red (cinta de seguridad) */
  --seal: #d5382f;
  --seal-700: #b62c25;

  /* Ink + paper */
  --ink: #0d2530;
  --ink-2: #37525f;
  --ink-3: #5f7883;
  --paper: #ffffff;
  --paper-2: #f4f8fa;
  --paper-3: #eaf1f5;

  /* Lines & fields */
  --line: rgba(5, 96, 131, 0.14);
  --line-strong: rgba(5, 96, 131, 0.28);
  --line-on-dark: rgba(255, 255, 255, 0.14);

  /* On-dark text (tinted, never gray) */
  --on-dark: #ffffff;
  --on-dark-2: #b4d1dd;
  --on-dark-3: #7fa6b6;

  /* Fonts */
  --sans: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Space Mono", ui-monospace, "SF Mono", "Roboto Mono", monospace;

  /* Elevation (offset + soft blur) */
  --sh-sm: 0 1px 2px rgba(9, 43, 58, 0.06), 0 2px 6px rgba(9, 43, 58, 0.06);
  --sh-md: 0 8px 24px -8px rgba(9, 43, 58, 0.18), 0 2px 8px rgba(9, 43, 58, 0.08);
  --sh-lg: 0 30px 60px -24px rgba(6, 40, 55, 0.42), 0 8px 24px -12px rgba(6, 40, 55, 0.24);
  --sh-amber: 0 14px 30px -12px rgba(203, 148, 42, 0.55);

  /* Radii */
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 34px;

  /* Rhythm */
  --container: 1200px;
  --gutter: clamp(20px, 5vw, 56px);
  --section-y: clamp(72px, 9vw, 148px);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: clamp(15.5px, 1.05vw, 17px);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg, video { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
  border-radius: 4px;
}
::selection { background: var(--amber); color: var(--ink); }

.icon { width: 1.4em; height: 1.4em; fill: none; stroke: currentColor;
  stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Layout primitives ---------- */
.wrap { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

/* Prevent nowrap marquees from inflating grid/flex track sizing (min-width:auto trap) */
.hero__inner > *, .split > *, .control-grid > *,
.faq-grid > *, .ledger__item, .services__grid > *, .steps__grid > * { min-width: 0; }
.console, .route-map, .seal-strip, .seal-card, .border-ribbon, .figure { max-width: 100%; min-width: 0; }
.section { padding-block: var(--section-y); position: relative; }
.section--dark { background: var(--teal-900); color: var(--on-dark); }
.section--deep { background: radial-gradient(120% 130% at 15% 0%, var(--teal-800), var(--teal-950) 72%); color: var(--on-dark); }
.section--tint { background: var(--paper-2); }

/* Manifest label — functional route/data codes, mono */
.manifest {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-600);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-weight: 700;
}
.manifest::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--amber);
}
.section--dark .manifest, .section--deep .manifest { color: var(--amber-300); }
.section--dark .manifest::before, .section--deep .manifest::before { background: var(--amber); }

.section-head { max-width: 62ch; margin-bottom: clamp(36px, 4.5vw, 60px); }
.section-head h2 {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  font-weight: 800;
  margin-top: 18px;
}
.section-head p {
  margin-top: 18px;
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  color: var(--ink-2);
  max-width: 54ch;
}
.section--dark .section-head p, .section--deep .section-head p { color: var(--on-dark-2); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6em;
  padding: 0.95em 1.5em;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), background 0.25s, color 0.25s;
  will-change: transform;
  line-height: 1;
}
.btn .icon { width: 1.25em; height: 1.25em; }
.btn:active { transform: translateY(1px) scale(0.99); }

.btn--wa {
  background: var(--amber);
  color: var(--ink);
  box-shadow: var(--sh-amber);
}
.btn--wa:hover { background: var(--amber-300); transform: translateY(-3px); box-shadow: 0 20px 38px -12px rgba(203, 148, 42, 0.7); }
.btn--wa .icon { stroke: none; fill: currentColor; }

.btn--solid { background: var(--teal-700); color: #fff; box-shadow: var(--sh-md); }
.btn--solid:hover { background: var(--teal-600); transform: translateY(-3px); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line-strong);
}
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--teal-700); transform: translateY(-3px); }
.section--dark .btn--ghost, .section--deep .btn--ghost, .hero .btn--ghost {
  color: #fff; box-shadow: inset 0 0 0 1.5px var(--line-on-dark);
}
.section--dark .btn--ghost:hover, .section--deep .btn--ghost:hover, .hero .btn--ghost:hover {
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.55); background: rgba(255,255,255,0.06);
}
.btn--lg { padding: 1.1em 1.9em; font-size: 1.05rem; }
.btn--block { width: 100%; justify-content: center; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.4s var(--ease-out), border-color 0.4s, background 0.4s;
}
.site-header.is-stuck {
  box-shadow: var(--sh-sm);
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, 0.94);
}
.nav {
  display: flex; align-items: center; gap: 24px;
  height: 74px;
}
.nav__logo { display: flex; align-items: center; gap: 10px; }
.nav__logo img { height: 40px; width: auto; }
.nav__cube { width: 32px; height: 32px; flex: none; }
.nav__brand { font-size: 1.1rem; font-weight: 800; letter-spacing: -0.02em; color: var(--teal-700); white-space: nowrap; line-height: 1; }
.nav__brand b { font-weight: 800; }
@media (max-width: 400px) { .nav__brand b { display: none; } }
.nav__links { display: flex; align-items: center; gap: 4px; margin-inline: auto; }
.nav__links a {
  padding: 8px 13px; border-radius: 999px;
  font-size: 0.92rem; font-weight: 500; color: var(--ink-2);
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}
.nav__links a:hover { color: var(--teal-700); background: var(--teal-050); }
.nav__cta { display: flex; align-items: center; gap: 10px; }
.nav__phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 0.82rem; font-weight: 700;
  color: var(--teal-700); padding: 8px 12px; border-radius: 999px;
}
.nav__phone:hover { background: var(--teal-050); }
.nav__toggle { display: none; }

/* Mobile drawer */
.nav__toggle {
  width: 44px; height: 44px; border-radius: 12px;
  align-items: center; justify-content: center; color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
}
.drawer { display: none; }

@media (max-width: 960px) {
  .nav__links, .nav__cta .btn span.long { display: none; }
  .nav__phone { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav__cta { margin-left: auto; }
  .drawer {
    display: block; position: fixed; inset: 0; z-index: 80;
    pointer-events: none;
  }
  .drawer__scrim {
    position: absolute; inset: 0; background: rgba(6, 34, 47, 0.5);
    opacity: 0; transition: opacity 0.35s;
  }
  .drawer__panel {
    position: absolute; top: 0; right: 0; height: 100%;
    width: min(86vw, 360px); background: var(--paper);
    transform: translateX(100%); transition: transform 0.4s var(--ease-out);
    padding: 22px; display: flex; flex-direction: column; gap: 6px;
    box-shadow: var(--sh-lg);
  }
  .drawer.is-open { pointer-events: auto; }
  .drawer.is-open .drawer__scrim { opacity: 1; }
  .drawer.is-open .drawer__panel { transform: translateX(0); }
  .drawer__panel a.drawer__link {
    padding: 14px 12px; border-radius: 12px; font-weight: 500;
    color: var(--ink); border-bottom: 1px solid var(--line);
    display: flex; align-items: center; justify-content: space-between;
  }
  .drawer__panel a.drawer__link:hover { background: var(--paper-2); }
  .drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
  .drawer__head img { height: 34px; }
  .drawer__close { width: 42px; height: 42px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; }
  .drawer__cta { margin-top: 16px; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background: radial-gradient(130% 120% at 78% -10%, var(--teal-700) 0%, var(--teal-900) 46%, var(--teal-950) 100%);
  color: #fff;
  overflow: hidden;
  padding-top: clamp(40px, 6vw, 72px);
  padding-bottom: clamp(48px, 7vw, 96px);
}
.hero__grid-lines {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image:
    linear-gradient(var(--line-on-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-on-dark) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(80% 70% at 50% 30%, #000 30%, transparent 85%);
  -webkit-mask-image: radial-gradient(80% 70% at 50% 30%, #000 30%, transparent 85%);
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero__copy { max-width: 620px; }
.hero__route {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 9px 16px 9px 12px; border-radius: 999px;
  background: rgba(255,255,255,0.06);
  box-shadow: inset 0 0 0 1px var(--line-on-dark);
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.06em;
  color: var(--on-dark-2); font-weight: 700;
}
.hero__route b { color: #fff; }
.hero__route .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(234,181,74,0.22); }
.hero__flag { font-size: 0.9em; letter-spacing: 0; }

.hero h1 {
  font-size: clamp(2.5rem, 6.2vw, 4.7rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  margin-top: 22px;
}
.hero h1 .accent { color: var(--amber); }
.hero__sub {
  margin-top: 22px;
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  color: var(--on-dark-2);
  max-width: 48ch;
  line-height: 1.55;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero__trust {
  display: flex; flex-wrap: wrap; gap: 26px; margin-top: 38px;
  padding-top: 26px; border-top: 1px solid var(--line-on-dark);
}
.hero__trust .t { display: flex; flex-direction: column; gap: 2px; }
.hero__trust .t b { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.03em; }
.hero__trust .t span { font-size: 0.82rem; color: var(--on-dark-3); font-family: var(--mono); letter-spacing: 0.02em; }

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__copy { max-width: none; }
  .hero__sub { max-width: none; }
  .hero h1 { font-size: clamp(2.4rem, 9vw, 3.4rem); }
}
@media (max-width: 420px) {
  .hero__trust { gap: 18px 26px; }
  .hero__cta .btn { flex: 1 1 auto; justify-content: center; }
}

/* Corridor console (hero visual) */
.console {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,0.09), rgba(255,255,255,0.03));
  box-shadow: inset 0 0 0 1px var(--line-on-dark), var(--sh-lg);
  border-radius: var(--r-lg);
  padding: 22px;
  backdrop-filter: blur(6px);
}
.console__top {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.12em;
  color: var(--on-dark-3); text-transform: uppercase; margin-bottom: 18px;
}
.console__live { display: inline-flex; align-items: center; gap: 8px; color: var(--amber-300); }
.console__live .pulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--amber);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(234,181,74,0.5);} 50% { box-shadow: 0 0 0 6px rgba(234,181,74,0);} }

.route-map { position: relative; }
.route-map svg { width: 100%; height: auto; overflow: visible; }
.route-dash { stroke: rgba(255,255,255,0.28); stroke-width: 2; stroke-dasharray: 6 8; fill: none; }
.route-live { stroke: var(--amber); stroke-width: 3; fill: none; stroke-linecap: round;
  stroke-dasharray: var(--len); stroke-dashoffset: var(--len); }
.route-node circle { fill: var(--teal-950); stroke: #fff; stroke-width: 2.5; }
.route-node.is-amber circle { stroke: var(--amber); }
.route-mover { fill: var(--amber); filter: drop-shadow(0 0 6px rgba(234,181,74,0.7)); }
.route-label { font-family: var(--mono); font-size: 11px; fill: #fff; font-weight: 700; letter-spacing: 0.04em; }
.route-sub { font-family: var(--mono); font-size: 8.5px; fill: var(--on-dark-3); letter-spacing: 0.08em; }

.console__stamps { display: flex; gap: 12px; margin-top: 18px; }
.stamp {
  flex: 1; border-radius: var(--r-sm); padding: 12px 14px;
  background: rgba(0,0,0,0.18); box-shadow: inset 0 0 0 1px var(--line-on-dark);
}
.stamp b { display: block; font-size: 0.7rem; font-family: var(--mono); letter-spacing: 0.1em; color: var(--on-dark-3); text-transform: uppercase; }
.stamp span { font-size: 0.98rem; font-weight: 700; }
.stamp .code { color: var(--amber-300); font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.06em; }

/* Security seal strip (documentary) */
.seal-strip {
  margin-top: 16px; border-radius: 8px; overflow: hidden;
  background: var(--seal);
  color: #fff; font-family: var(--mono); font-weight: 700;
  font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase;
  padding: 8px 0; position: relative;
}
.seal-strip__track { display: inline-flex; white-space: nowrap; gap: 40px; will-change: transform; animation: marquee 26s linear infinite; }
.seal-strip__track span { opacity: 0.92; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Border ribbon between hero and stats */
.border-ribbon {
  background: var(--seal); color: #fff; overflow: hidden;
  font-family: var(--mono); font-weight: 700; font-size: 0.72rem;
  letter-spacing: 0.24em; text-transform: uppercase; padding: 11px 0;
}
.border-ribbon .track { display: inline-flex; white-space: nowrap; gap: 44px; animation: marquee 40s linear infinite; }
.border-ribbon .track span { display: inline-flex; gap: 44px; }
.border-ribbon .track .dot { color: var(--amber); }

/* ============================================================
   STATS LEDGER
   ============================================================ */
.ledger {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.ledger__item {
  padding: 8px clamp(12px, 2vw, 26px);
  border-left: 1px solid var(--line-on-dark);
}
.ledger__item:first-child { border-left: 0; padding-left: 0; }
.ledger__num {
  font-size: clamp(1.9rem, 5vw, 3.05rem); font-weight: 800; letter-spacing: -0.04em;
  line-height: 1; display: flex; align-items: baseline; gap: 1px;
  white-space: nowrap; font-variant-numeric: tabular-nums;
}
.ledger__num .plus { color: var(--amber); }
.ledger__num .arrow { color: var(--amber); }
.ledger__num.small { font-size: clamp(1.5rem, 3vw, 2.2rem); }
.ledger__label {
  margin-top: 12px; font-family: var(--mono); font-size: 0.74rem;
  letter-spacing: 0.08em; color: var(--on-dark-2); text-transform: uppercase; line-height: 1.5;
}
.ledger__label b { color: #fff; display: block; letter-spacing: 0; font-family: var(--sans); font-size: 0.92rem; text-transform: none; }

@media (max-width: 860px) {
  .ledger { grid-template-columns: 1fr 1fr; gap: 28px 0; }
  .ledger__item { border-left: 0; padding-left: clamp(16px,2.4vw,34px); }
  .ledger__item:nth-child(odd) { padding-left: 0; }
  .ledger__item:nth-child(even) { border-left: 1px solid var(--line-on-dark); }
}

/* ============================================================
   SERVICES — differentiated grid, not identical tiles
   ============================================================ */
.services__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.svc {
  position: relative; border-radius: var(--r-md);
  padding: 26px; background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
  overflow: hidden;
}
.svc:hover { transform: translateY(-5px); box-shadow: var(--sh-md), inset 0 0 0 1px var(--line); }
.svc__ico {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--teal-050); color: var(--teal-700); margin-bottom: 18px;
}
.svc__ico .icon { width: 24px; height: 24px; }
.svc h3 { font-size: 1.18rem; font-weight: 700; }
.svc p { margin-top: 8px; color: var(--ink-2); font-size: 0.95rem; }
.svc__code { position: absolute; top: 20px; right: 22px; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.1em; color: var(--ink-3); }

/* spans */
.svc--feature { grid-column: span 3; grid-row: span 2; background: radial-gradient(120% 120% at 100% 0%, var(--teal-700), var(--teal-900)); color: #fff; padding: 34px; }
.svc--feature .svc__ico { background: rgba(255,255,255,0.12); color: #fff; width: 54px; height: 54px; }
.svc--feature h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 800; }
.svc--feature p { color: var(--on-dark-2); font-size: 1.02rem; max-width: 42ch; }
.svc--feature .svc__code { color: var(--on-dark-3); }
.svc--feature .svc__photo { position: absolute; inset: auto -1px -1px -1px; height: 42%; opacity: 0.9;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 55%); mask-image: linear-gradient(180deg, transparent, #000 55%); }
.svc--wide { grid-column: span 3; }
.svc--std { grid-column: span 2; }
.svc__link { margin-top: 16px; display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: 0.9rem; color: var(--amber-300); }
.svc--feature .svc__link .icon { transition: transform 0.3s var(--ease-out); }
.svc--feature:hover .svc__link .icon { transform: translateX(4px); }

@media (max-width: 900px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .svc--feature, .svc--wide, .svc--std { grid-column: span 2; grid-row: auto; }
}
@media (max-width: 560px) {
  .services__grid { grid-template-columns: 1fr; }
  .svc--feature, .svc--wide, .svc--std { grid-column: span 1; }
}

/* ============================================================
   AUDIENCE SPLIT (personas / importadores)
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split--rev .split__media { order: -1; }
.split__body h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); font-weight: 800; margin-top: 16px; }
.split__body > p { margin-top: 18px; color: var(--ink-2); font-size: 1.08rem; max-width: 46ch; }
.section--dark .split__body > p, .section--deep .split__body > p { color: var(--on-dark-2); }

.checklist { margin-top: 26px; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 13px; align-items: flex-start; font-size: 1rem; }
.checklist li .tick {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--teal-050); color: var(--teal-700); display: grid; place-items: center; margin-top: 1px;
}
.section--dark .checklist li .tick, .section--deep .checklist li .tick { background: rgba(255,255,255,0.1); color: var(--amber); }
.checklist li .tick .icon { width: 15px; height: 15px; stroke-width: 2.4; }
.checklist li b { font-weight: 600; }
.checklist li span { color: var(--ink-2); }
.section--dark .checklist li span, .section--deep .checklist li span { color: var(--on-dark-2); }
.split__cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }

/* Figure with graceful photo placeholder */
.figure {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--sh-lg);
  background:
    linear-gradient(140deg, var(--teal-800), var(--teal-950));
  aspect-ratio: 4 / 3.2;
  isolation: isolate;
}
.figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2; }
.figure__ph {
  position: absolute; inset: 0; z-index: 1; display: grid; place-content: center; gap: 14px;
  text-align: center; color: var(--on-dark-2); padding: 24px;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}
.figure__ph .icon { width: 46px; height: 46px; margin-inline: auto; color: var(--on-dark-3); }
.figure__ph b { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark-2); }
.figure__ph small { font-size: 0.72rem; color: var(--on-dark-3); max-width: 26ch; margin-inline: auto; }
.figure__tag {
  position: absolute; left: 16px; bottom: 16px; z-index: 3;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(6, 34, 47, 0.72); backdrop-filter: blur(6px);
  color: #fff; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.08em;
  padding: 7px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-on-dark);
}
.figure__tag .gp { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); }
.figure--tall { aspect-ratio: 3.4 / 4; }

@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split--rev .split__media { order: 0; }
}

/* Agency margin visual */
.margin-viz {
  display: grid; gap: 14px; margin-top: 4px;
}
.margin-row {
  display: flex; align-items: center; gap: 16px;
  background: rgba(255,255,255,0.05); box-shadow: inset 0 0 0 1px var(--line-on-dark);
  border-radius: var(--r-md); padding: 18px 20px;
}
.margin-row .mv-ico { width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,0.08); color: var(--amber); display: grid; place-items: center; flex: none; }
.margin-row b { display: block; font-size: 1.02rem; }
.margin-row span { font-size: 0.9rem; color: var(--on-dark-2); }
.margin-row .mv-tag { margin-left: auto; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.08em; color: var(--amber-300); text-transform: uppercase; flex: none; }

/* ============================================================
   HOW IT WORKS — corridor steps
   ============================================================ */
.steps { position: relative; margin-top: 20px; }
.steps__line {
  position: absolute; left: 0; right: 0; top: 33px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--line-strong) 0 8px, transparent 8px 16px);
}
.steps__prog {
  position: absolute; left: 0; top: 33px; height: 2px; width: 100%; background: var(--amber);
  box-shadow: 0 0 10px rgba(234,181,74,0.6);
  transform: scaleX(0); transform-origin: left center;
  transition: transform 1.2s var(--ease-io);
}
.steps__prog.is-full { transform: scaleX(1); }
.steps__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; position: relative; }
.step { position: relative; }
.step__node {
  width: 66px; height: 66px; border-radius: 50%;
  background: var(--paper); box-shadow: inset 0 0 0 2px var(--line-strong), var(--sh-sm);
  display: grid; place-items: center; position: relative; z-index: 2;
  font-family: var(--mono); font-weight: 700; font-size: 1.1rem; color: var(--teal-700);
  transition: box-shadow 0.4s, background 0.4s, color 0.4s, transform 0.4s var(--ease-out);
}
.step.is-on .step__node { background: var(--teal-700); color: #fff; box-shadow: 0 0 0 6px var(--teal-050), var(--sh-md); transform: scale(1.04); }
.step__ico { position: absolute; top: -12px; right: -8px; width: 34px; height: 34px; border-radius: 10px; background: var(--amber); color: var(--ink); display: grid; place-items: center; box-shadow: var(--sh-sm); z-index: 3; }
.step__ico .icon { width: 18px; height: 18px; }
.step h3 { font-size: 1.05rem; font-weight: 700; margin-top: 22px; }
.step p { margin-top: 8px; font-size: 0.92rem; color: var(--ink-2); }

@media (max-width: 880px) {
  .steps__line, .steps__prog { left: 32px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .steps__prog { width: 2px; height: 100%; transform: scaleY(0); transform-origin: top center; }
  .steps__prog.is-full { transform: scaleY(1); }
  .steps__grid { grid-template-columns: 1fr; gap: 30px; }
  .step { display: grid; grid-template-columns: 66px 1fr; gap: 20px; align-items: start; }
  .step h3 { margin-top: 6px; }
  .step__txt { padding-top: 4px; }
}

/* ============================================================
   SECURITY / CONTROL
   ============================================================ */
.control-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(30px,5vw,64px); align-items: center; }
.control-list { display: grid; gap: 2px; }
.control-item {
  display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start;
  padding: 22px 0; border-bottom: 1px solid var(--line-on-dark);
}
.control-item:first-child { padding-top: 0; }
.control-item__n { font-family: var(--mono); font-size: 0.8rem; color: var(--amber-300); font-weight: 700; letter-spacing: 0.08em; padding-top: 4px; }
.control-item h3 { font-size: 1.16rem; font-weight: 700; }
.control-item p { margin-top: 6px; color: var(--on-dark-2); font-size: 0.96rem; max-width: 44ch; }

.seal-card {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  background: linear-gradient(150deg, var(--teal-800), var(--teal-950));
  box-shadow: var(--sh-lg); padding: 30px; aspect-ratio: 1/1; display: flex; flex-direction: column; justify-content: space-between;
}
.seal-card__tape {
  position: absolute; top: 46%; left: -12%; right: -12%; transform: rotate(-8deg);
  background: var(--seal); color: #fff; padding: 12px 0; overflow: hidden;
  font-family: var(--mono); font-weight: 700; letter-spacing: 0.2em; font-size: 0.7rem; text-transform: uppercase;
  box-shadow: 0 12px 30px -10px rgba(0,0,0,0.5);
}
.seal-card__tape .track { display: inline-flex; white-space: nowrap; gap: 34px; animation: marquee 22s linear infinite; }
.seal-card__badge { align-self: flex-start; width: 58px; height: 58px; border-radius: 16px; background: rgba(255,255,255,0.1); color: var(--amber); display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-on-dark); }
.seal-card__badge .icon { width: 30px; height: 30px; }
.seal-card__foot b { display: block; font-size: 1.3rem; font-weight: 800; }
.seal-card__foot span { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; color: var(--on-dark-2); text-transform: uppercase; }

@media (max-width: 820px) { .control-grid { grid-template-columns: 1fr; gap: 40px; } .seal-card { aspect-ratio: 16/10; } }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.tst-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tst {
  position: relative; border-radius: var(--r-md); padding: 28px;
  background: var(--paper); box-shadow: inset 0 0 0 1px var(--line);
  display: flex; flex-direction: column; gap: 18px;
}
.tst__q { font-size: 2.4rem; line-height: 1; color: var(--teal-200); font-family: var(--mono); }
.tst__body { color: var(--ink); font-size: 1rem; flex: 1; }
.tst__body em { color: var(--ink-3); font-style: normal; font-family: var(--mono); font-size: 0.82rem; letter-spacing: 0.04em; }
.tst__who { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--line); padding-top: 16px; }
.tst__ava { width: 42px; height: 42px; border-radius: 50%; background: var(--teal-050); color: var(--teal-700); display: grid; place-items: center; font-family: var(--mono); font-weight: 700; }
.tst__who > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.tst__who b { font-family: var(--sans); font-size: 0.95rem; font-weight: 700; color: var(--ink); }
.tst__who span { font-size: 0.8rem; color: var(--ink-3); font-family: var(--mono); }
.tst__note { position: absolute; top: 16px; right: 18px; font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.1em; color: var(--seal); opacity: 0.7; text-transform: uppercase; }
@media (max-width: 860px) { .tst-grid { grid-template-columns: 1fr; } }

/* ============================================================
   FAQ
   ============================================================ */
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(30px,5vw,64px); align-items: start; }
.faq-list { display: grid; gap: 12px; }
.faq {
  border-radius: var(--r-md); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line);
  overflow: hidden; transition: box-shadow 0.3s;
}
.faq[open] { box-shadow: inset 0 0 0 1.5px var(--teal-700), var(--sh-sm); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 22px;
  display: flex; align-items: center; gap: 16px; font-weight: 600; font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .q-ico { flex: none; width: 30px; height: 30px; border-radius: 8px; background: var(--teal-050); color: var(--teal-700); display: grid; place-items: center; transition: transform 0.35s var(--ease-out), background 0.3s, color 0.3s; }
.faq[open] summary .q-ico { transform: rotate(45deg); background: var(--teal-700); color: #fff; }
.faq summary > span:last-child { margin-left: auto; }
.faq__body { padding: 0 22px 22px 68px; color: var(--ink-2); font-size: 0.98rem; }
.faq__body.placeholder { color: var(--ink-3); font-style: italic; }
.faq-aside {
  border-radius: var(--r-lg); padding: 30px; background: var(--teal-900); color: #fff;
  position: sticky; top: 96px; box-shadow: var(--sh-lg);
}
.faq-aside h3 { font-size: 1.4rem; font-weight: 800; }
.faq-aside p { margin-top: 12px; color: var(--on-dark-2); }
.faq-aside .btn { margin-top: 22px; }
.faq-aside__mini { margin-top: 24px; display: grid; gap: 12px; padding-top: 22px; border-top: 1px solid var(--line-on-dark); }
.faq-aside__mini a { display: flex; align-items: center; gap: 12px; font-size: 0.92rem; color: var(--on-dark-2); }
.faq-aside__mini a:hover { color: #fff; }
.faq-aside__mini .icon { color: var(--amber); }
@media (max-width: 820px) { .faq-grid { grid-template-columns: 1fr; } .faq-aside { position: static; } .faq__body { padding-left: 22px; } }

/* ============================================================
   FINAL CTA
   ============================================================ */
.finalcta { position: relative; overflow: hidden; }
.finalcta__inner {
  position: relative; z-index: 2; text-align: center; max-width: 780px; margin-inline: auto;
}
.finalcta h2 { font-size: clamp(2.2rem, 5.5vw, 4rem); font-weight: 800; letter-spacing: -0.035em; }
.finalcta h2 .accent { color: var(--amber); }
.finalcta p { margin-top: 20px; font-size: clamp(1.05rem,1.7vw,1.3rem); color: var(--on-dark-2); max-width: 44ch; margin-inline: auto; }
.finalcta__cta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.finalcta__meta { margin-top: 26px; font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.1em; color: var(--on-dark-3); text-transform: uppercase; }
.finalcta__glow { position: absolute; inset: 0; z-index: 1; background: radial-gradient(60% 80% at 50% 120%, rgba(234,181,74,0.28), transparent 70%); }
.finalcta__rings { position: absolute; inset: 0; z-index: 0; opacity: 0.4;
  background: radial-gradient(circle at 50% 130%, transparent 0 38%, var(--line-on-dark) 38% 38.4%, transparent 38.4%),
    radial-gradient(circle at 50% 130%, transparent 0 55%, var(--line-on-dark) 55% 55.3%, transparent 55.3%),
    radial-gradient(circle at 50% 130%, transparent 0 74%, var(--line-on-dark) 74% 74.3%, transparent 74.3%); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--teal-950); color: var(--on-dark-2); padding-top: clamp(56px,7vw,84px); padding-bottom: 28px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer__brand-mark { display: flex; align-items: center; gap: 12px; }
.footer__brand-mark .cube { width: 34px; height: 34px; }
.footer__brand-mark b { font-size: 1.25rem; font-weight: 800; color: #fff; letter-spacing: -0.02em; }
.footer__brand p { margin-top: 16px; max-width: 34ch; font-size: 0.92rem; }
.footer__brand .foot-tag { margin-top: 14px; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.06em; color: var(--amber-300); }
.footer h4 { font-size: 0.78rem; font-family: var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark-3); margin-bottom: 16px; }
.footer__col a, .footer__col p { display: block; font-size: 0.92rem; padding: 5px 0; color: var(--on-dark-2); }
.footer__col a:hover { color: #fff; }
.footer__loc { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 16px; }
.footer__loc .icon { color: var(--amber); margin-top: 2px; flex: none; width: 18px; height: 18px; }
.footer__loc b { color: #fff; font-size: 0.95rem; }
.footer__loc span { font-size: 0.86rem; }
.footer__social { display: flex; gap: 10px; margin-top: 4px; }
.footer__social a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-on-dark); color: #fff; transition: background 0.25s, transform 0.25s; }
.footer__social a:hover { background: rgba(255,255,255,0.08); transform: translateY(-2px); }
.footer__bottom { margin-top: clamp(40px,5vw,60px); padding-top: 22px; border-top: 1px solid var(--line-on-dark); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; font-size: 0.82rem; color: var(--on-dark-3); }
.footer__bottom a:hover { color: #fff; }
.footer__bottom .mono { font-family: var(--mono); letter-spacing: 0.04em; }
@media (max-width: 820px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

/* ============================================================
   FLOATING WHATSAPP
   ============================================================ */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 70;
  display: inline-flex; align-items: center; gap: 10px;
  background: #25d366; color: #06331b; font-weight: 700; font-size: 0.95rem;
  padding: 14px 18px; border-radius: 999px;
  box-shadow: 0 16px 34px -10px rgba(6, 60, 30, 0.5);
  transform: translateY(120%); opacity: 0;
  transition: transform 0.5s var(--ease-out), opacity 0.5s, box-shadow 0.3s;
}
.wa-float.is-in { transform: translateY(0); opacity: 1; }
.wa-float:hover { box-shadow: 0 20px 40px -10px rgba(6,60,30,0.6); }
.wa-float .icon { width: 26px; height: 26px; fill: currentColor; stroke: none; }
.wa-float .wa-label { white-space: nowrap; }
.wa-float::after {
  content: ""; position: absolute; top: -3px; right: -3px; width: 14px; height: 14px;
  background: var(--amber); border-radius: 50%; box-shadow: 0 0 0 3px #25d366;
  animation: pulse-badge 2.4s ease-in-out infinite;
}
@keyframes pulse-badge { 0%,100% { transform: scale(1); } 50% { transform: scale(1.25); } }
@media (max-width: 620px) {
  .wa-float .wa-label { display: none; }
  .wa-float { padding: 15px; right: 14px; bottom: 14px; }
}

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }

/* Hero animates on load (CSS-driven, not scroll-gated) so the LCP paints immediately */
@keyframes heroFadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.js .hero .reveal { opacity: 1; transform: none; transition: none; animation: heroFadeUp 0.7s var(--ease-out) both; }
.js .hero .reveal[data-d="1"] { animation-delay: 0.09s; }
.js .hero .reveal[data-d="2"] { animation-delay: 0.18s; }
.js .hero .reveal[data-d="3"] { animation-delay: 0.27s; }
.js .hero .reveal[data-d="4"] { animation-delay: 0.36s; }
.reveal[data-d="1"] { transition-delay: 0.08s; }
.reveal[data-d="2"] { transition-delay: 0.16s; }
.reveal[data-d="3"] { transition-delay: 0.24s; }
.reveal[data-d="4"] { transition-delay: 0.32s; }
.reveal[data-d="5"] { transition-delay: 0.40s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .js .hero .reveal { opacity: 1; transform: none; transition: none; animation: none; }
  .seal-strip__track, .border-ribbon .track, .seal-card__tape .track, .console__live .pulse, .wa-float::after { animation: none !important; }
  .btn:hover, .svc:hover, .figure:hover { transform: none !important; }
}
