/* Layout: header blanco con logo horizontal → banda azul marino (hero + mapa vivo del corredor Bogotá·Cúcuta·Caracas + cinta de estándares) → secciones claras alternadas → banda oscura de cierre. Contenedor 1200px. */
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-var-latin.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var-latin.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

:root {
  --navy: #12345A;
  --teal: #159C9A;
  --teal-ink: #0E7C7A;
  --graphite: #263746;
  --muted: #5B6D7C;
  --bg: #F5F7F8;
  --surface: #FFFFFF;
  --line: #DCE3E8;
  --heading: #12345A;
  --band: #12345A;
  --band-deep: #0C2642;
  --on-band: #FFFFFF;
  --on-band-muted: #B9C7D4;
  --band-line: rgba(255, 255, 255, .16);
  --accent-on-band: #3FC9C6;
  --shadow: 0 1px 2px rgba(18, 52, 90, .06), 0 10px 30px rgba(18, 52, 90, .08);
  --shadow-lg: 0 2px 4px rgba(18, 52, 90, .06), 0 24px 48px rgba(18, 52, 90, .14);

  --font-display: "Montserrat", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;

  --step--1: .8125rem;
  --step-0: 1rem;
  --step-1: 1.125rem;
  --step-2: clamp(1.25rem, 1.1rem + .6vw, 1.5rem);
  --step-3: clamp(1.7rem, 1.3rem + 1.6vw, 2.5rem);
  --step-4: clamp(2.1rem, 1.3rem + 3vw, 3.5rem);

  --ease: cubic-bezier(.2, .7, .2, 1);
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 12px;
  --header-h: 96px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --graphite: #D5DEE6; --muted: #93A5B5; --bg: #0A1828; --surface: #0F2337; --line: #1F3A55;
    --heading: #FFFFFF; --teal-ink: #3FC9C6; --band: #0E2A48; --band-deep: #081A2E;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 30px rgba(0, 0, 0, .28);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, .3), 0 24px 48px rgba(0, 0, 0, .4);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --graphite: #D5DEE6; --muted: #93A5B5; --bg: #0A1828; --surface: #0F2337; --line: #1F3A55;
  --heading: #FFFFFF; --teal-ink: #3FC9C6; --band: #0E2A48; --band-deep: #081A2E;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 30px rgba(0, 0, 0, .28);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, .3), 0 24px 48px rgba(0, 0, 0, .4);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--graphite);
  font-family: var(--font-body); font-size: var(--step-0); line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--teal-ink); text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--heading); line-height: 1.12; margin: 0; text-wrap: balance; letter-spacing: -.015em; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 6px; }
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
/* Eyebrow con el tracking amplio del descriptor del logotipo */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-size: .75rem; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase; color: var(--teal-ink);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; flex: none; }
.lead { font-size: var(--step-1); color: var(--muted); max-width: 62ch; }
.section { padding-block: clamp(72px, 9vw, 128px); }
.section-head { display: grid; gap: 16px; margin-bottom: clamp(36px, 5vw, 60px); max-width: 780px; justify-items: start; }
.section-head h2 { font-size: var(--step-3); font-weight: 800; }

/* Buttons */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 24px; border-radius: 8px; border: 2px solid transparent;
  font-family: var(--font-display); font-weight: 700; font-size: .95rem; letter-spacing: .01em; text-align: center;
  text-decoration: none; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 6px 20px rgba(21, 156, 154, .28); }
.btn-primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%);
  transform: translateX(-110%); transition: transform .7s var(--ease);
}
.btn-primary:hover { background: #118482; transform: translateY(-2px); box-shadow: 0 10px 28px rgba(21, 156, 154, .36); }
.btn-primary:hover::after { transform: translateX(110%); }
.btn-ghost { border-color: var(--band-line); color: var(--on-band); background: transparent; }
.btn-ghost:hover { border-color: var(--on-band); background: rgba(255, 255, 255, .06); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--teal); transform: translateY(-1px); }

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line); transition: box-shadow .3s;
}
.site-header.is-scrolled { box-shadow: var(--shadow); }
.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--navy), var(--teal)); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; flex: none; }
.brand img { width: 240px; height: auto; }
.logo-dark { display: none !important; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo-light { display: none !important; } :root:not([data-theme="light"]) .logo-dark { display: block !important; } }
:root[data-theme="dark"] .logo-light { display: none !important; }
:root[data-theme="dark"] .logo-dark { display: block !important; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav a:not(.btn) { position: relative; color: var(--graphite); text-decoration: none; font-family: var(--font-display); font-weight: 600; font-size: .9rem; padding-block: 8px; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--teal); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav a:not(.btn):hover, .nav a.is-active { color: var(--heading); }
.nav a:not(.btn):hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 8px; border: 1px solid var(--line);
  background: transparent; color: var(--heading); cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 960px) {
  :root { --header-h: 76px; }
  .brand img { width: 172px; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; inset: 100% 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px;
    box-shadow: var(--shadow-lg); display: none;
  }
  .nav.is-open { display: flex; animation: drop .3s var(--ease) both; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; padding: 14px 0 !important; border-bottom: 1px solid var(--line); }
  .nav ul a::after { display: none; }
  .nav .btn { margin-top: 16px; }
}
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }

/* Hero */
.hero { background: var(--band); color: var(--on-band); position: relative; overflow: hidden; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--band-line) 1px, transparent 1px), linear-gradient(90deg, var(--band-line) 1px, transparent 1px);
  background-size: 56px 56px; opacity: .28;
  mask-image: radial-gradient(ellipse at 72% 45%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 72% 45%, #000 0%, transparent 70%);
  animation: grid-drift 30s linear infinite;
}
.hero::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: 70vmax; height: 70vmax; right: -25vmax; top: -30vmax; border-radius: 50%;
  background: radial-gradient(circle, rgba(63, 201, 198, .2), transparent 60%);
  animation: glow 14s ease-in-out infinite alternate;
}
@keyframes grid-drift { to { background-position: 56px 56px; } }
@keyframes glow { to { transform: translate(-12vmax, 10vmax) scale(1.1); } }
.hero-inner {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 4vw, 64px); align-items: center; padding-block: clamp(48px, 7vw, 96px) clamp(40px, 5vw, 72px);
}
.hero-copy { display: grid; gap: 24px; min-width: 0; justify-items: start; }
.hero .eyebrow { color: var(--accent-on-band); }
.hero h1 { color: var(--on-band); font-size: var(--step-4); font-weight: 800; letter-spacing: -.028em; line-height: 1.06; }
.hero h1 .ln, .hero h1 .ln > span { display: inline; }
.hero h1 em { font-style: normal; color: var(--accent-on-band); }
.hero .lead { color: var(--on-band-muted); }
.hero .lead strong { color: var(--on-band); font-weight: 600; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.hero-proof { display: flex; align-items: center; gap: 12px; font-size: .88rem; color: var(--on-band-muted); }
.hero-proof .dot { position: relative; width: 10px; height: 10px; border-radius: 50%; background: var(--accent-on-band); flex: none; }
.hero-proof .dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: ping 2s ease-out infinite; }
@keyframes ping { to { transform: scale(2.8); opacity: 0; } }

/* Secuencia de entrada del hero */
.intro { animation: rise .9s var(--ease) both; animation-delay: calc(var(--d, 0) * 1ms); }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }

/* Mapa vivo del corredor */
.corridor { min-width: 0; margin: 0; perspective: 1200px; animation: rise 1.1s var(--ease) .3s both; }
.corridor-card {
  position: relative; border-radius: 18px; padding: clamp(14px, 2vw, 22px);
  background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)), var(--band-deep);
  border: 1px solid var(--band-line); box-shadow: 0 40px 80px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .08);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--ease);
  transform-style: preserve-3d;
}
.corridor-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 4px 6px 10px; }
.corridor-head span { font-family: var(--font-display); font-size: .68rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--on-band-muted); }
.live { display: inline-flex; align-items: center; gap: 8px; color: var(--accent-on-band) !important; }
.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-on-band); box-shadow: 0 0 0 4px rgba(63, 201, 198, .2); animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .3; } }
.map { position: relative; }
.map svg { width: 100%; height: auto; overflow: visible; }
.map .country { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.4s var(--ease) .4s forwards, fill-in 1.2s ease 1.6s forwards; fill-opacity: 0; }
.map .co { fill: #FFFFFF; stroke: rgba(255, 255, 255, .55); }
.map .ve { fill: #3FC9C6; stroke: rgba(63, 201, 198, .9); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fill-in { to { fill-opacity: var(--fo, .08); } }
.map .ve { --fo: .16; }
.map .country-label { font-family: var(--font-display); font-size: 11px; font-weight: 700; letter-spacing: .3em; fill: rgba(255, 255, 255, .5); animation: fade-in 1s ease 1.8s both; }
.map .route-base { stroke: rgba(255, 255, 255, .14); }
.map .route-draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.6s var(--ease) 1.4s forwards; }
.map .route-flow { stroke-dasharray: 5 12; opacity: 0; animation: flow 2s linear infinite, fade-in .6s ease 3s forwards; }
@keyframes flow { to { stroke-dashoffset: -34; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.map .packet { opacity: 0; animation: fade-in .4s ease 3s forwards; filter: drop-shadow(0 0 6px #3FC9C6); }
.map .node { transform-box: fill-box; transform-origin: center; animation: pop .7s var(--ease) both; }
@keyframes pop { from { transform: scale(0); opacity: 0; } }
.map .pulse { transform-box: fill-box; transform-origin: center; animation: pulse 2.8s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(.5); opacity: .8; } 100% { transform: scale(3); opacity: 0; } }
.map .radar { transform-box: view-box; animation: spin 5s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.map .radar-wrap { opacity: 0; animation: fade-in 1s ease 2.4s forwards; }
.map .city { font-family: var(--font-body); font-size: 13px; font-weight: 700; fill: #FFFFFF; paint-order: stroke; stroke: rgba(8, 26, 46, .85); stroke-width: 4px; }
.map .city-sub { font-family: var(--font-body); font-size: 9.5px; font-weight: 500; fill: var(--on-band-muted); paint-order: stroke; stroke: rgba(8, 26, 46, .85); stroke-width: 3px; letter-spacing: .04em; }
.map .labels { animation: fade-in .8s ease 2s both; }

/* Etiqueta de servicio que rota sobre el mapa */
.map-tag {
  position: absolute; left: var(--x, 61%); top: var(--y, 13%); z-index: 2;
  transform: translate(-50%, calc(-100% - 16px)); pointer-events: none;
  display: grid; gap: 2px; max-width: min(230px, 62%);
  background: rgba(255, 255, 255, .97); color: #12345A; border-radius: 10px; padding: 9px 13px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .35); transition: left .7s var(--ease), top .7s var(--ease), opacity .35s ease;
  animation: fade-in .6s ease 3.2s both;
}
.map-tag::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 12px; height: 12px; background: inherit; transform: translateX(-50%) rotate(45deg); border-radius: 2px; }
.map-tag.is-swapping { opacity: 0; }
.map-tag.below { transform: translate(-50%, 16px); }
.map-tag.below::after { bottom: auto; top: -6px; }
.map-tag small { font-family: var(--font-display); font-size: .62rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #0E7C7A; display: flex; align-items: center; gap: 6px; }
.map-tag small::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #159C9A; }
.map-tag b { font-size: .8rem; font-weight: 600; line-height: 1.3; }

.corridor-legend { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 8px; padding: 14px 6px 4px; border-top: 1px solid var(--band-line); }
.corridor-legend div { min-width: 0; display: grid; gap: 1px; }
.corridor-legend b { font-family: var(--font-display); font-size: .9rem; color: var(--on-band); }
.corridor-legend span { font-size: .74rem; color: var(--accent-on-band); font-weight: 600; }
.corridor-legend small { color: var(--on-band-muted); font-size: .7rem; font-variant-numeric: tabular-nums; }

/* Cinta de estándares */
.ticker { position: relative; border-top: 1px solid var(--band-line); padding-block: 18px; overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker ul { display: flex; gap: 40px; list-style: none; margin: 0; padding: 0 20px; }
.ticker li { display: flex; align-items: center; gap: 40px; white-space: nowrap; font-family: var(--font-display); font-weight: 700; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--on-band-muted); }
.ticker li::after { content: ""; width: 6px; height: 6px; transform: rotate(45deg); background: var(--accent-on-band); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Facts strip */
.facts { background: var(--surface); border-bottom: 1px solid var(--line); }
.facts ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.facts li { padding: 30px 22px; border-left: 1px solid var(--line); display: grid; gap: 4px; align-content: start; }
.facts li:first-child { border-left: 0; padding-left: 0; }
.facts b { font-family: var(--font-display); font-size: clamp(2rem, 1.4rem + 2vw, 3rem); font-weight: 800; color: var(--heading); line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.facts b::after { content: ""; display: block; width: 24px; height: 3px; background: var(--teal); margin-top: 12px; border-radius: 2px; }
.facts span { font-size: .9rem; color: var(--muted); }

/* Value pillars */
.value-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.value-summary {
  position: sticky; top: calc(var(--header-h) + 24px); overflow: hidden;
  background: var(--band); color: var(--on-band); border-radius: 16px; padding: clamp(26px, 3.5vw, 42px);
  display: grid; gap: 18px; box-shadow: var(--shadow-lg);
}
.value-summary::before { content: ""; position: absolute; width: 260px; height: 260px; right: -90px; top: -90px; border-radius: 50%; border: 40px solid rgba(63, 201, 198, .12); animation: spin 40s linear infinite; border-top-color: rgba(63, 201, 198, .28); }
.value-summary h3 { color: var(--on-band); font-size: var(--step-2); position: relative; }
.value-summary p { color: var(--on-band-muted); position: relative; }
.value-summary strong { color: var(--on-band); }
.value-summary .seal { display: flex; gap: 12px; align-items: center; padding-top: 18px; border-top: 1px solid var(--band-line); font-family: var(--font-display); font-weight: 700; color: var(--accent-on-band); font-size: .95rem; }
.value-summary .seal svg { width: 22px; height: 22px; flex: none; }
.pillars { display: grid; border-top: 1px solid var(--line); }
.pillar { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 20px; padding-block: 28px; border-bottom: 1px solid var(--line); }
.pillar-icon { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--teal) 12%, transparent); color: var(--teal-ink); transition: background .3s, color .3s, transform .4s var(--ease); }
.pillar:hover .pillar-icon { background: var(--teal); color: #fff; transform: rotate(-6deg) scale(1.05); }
.pillar-icon svg { width: 26px; height: 26px; }
.pillar h3 { font-size: var(--step-1); font-weight: 700; margin-bottom: 6px; }
.pillar p { color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.chip { font-size: .74rem; font-weight: 600; letter-spacing: .02em; padding: 4px 11px; border-radius: 999px; border: 1px solid var(--line); color: var(--graphite); background: var(--surface); transition: border-color .2s, color .2s; }
.chip:hover { border-color: var(--teal); color: var(--teal-ink); }

/* Servicios: pestañas A–E */
.services { background: var(--surface); border-block: 1px solid var(--line); }
.svc { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.svc-tabs { display: grid; gap: 8px; position: sticky; top: calc(var(--header-h) + 24px); }
.svc-tab {
  position: relative; overflow: hidden; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: center;
  width: 100%; text-align: left; cursor: pointer; padding: 14px 16px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--bg); color: var(--graphite);
  font: 600 .95rem/1.3 var(--font-display); transition: background .3s, border-color .3s, color .3s, transform .3s var(--ease);
}
.svc-tab:hover { border-color: var(--teal); transform: translateX(4px); }
.svc-tab .letter { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); color: var(--heading); font-weight: 800; transition: background .3s, color .3s, border-color .3s; }
.svc-tab[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.svc-tab[aria-selected="true"] .letter { background: var(--teal); border-color: var(--teal); color: #fff; }
.svc-tab::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--teal); transform: scaleX(0); transform-origin: left; }
.svc-tab[aria-selected="true"]::after { transform: scaleX(1); transition: transform .6s var(--ease); }
.svc-panel {
  position: relative; overflow: hidden; background: var(--bg); border: 1px solid var(--line); border-radius: 16px;
  padding: clamp(24px, 3.5vw, 44px); display: grid; gap: 18px;
}
.svc-panel::before { content: attr(data-letter); position: absolute; right: -10px; top: -40px; font: 800 clamp(9rem, 14vw, 13rem)/1 var(--font-display); color: var(--heading); opacity: .05; pointer-events: none; }
.js-anim .svc-panel:not(.is-active) { display: none; }
.svc-panel.is-active { animation: panel-in .6s var(--ease) both; }
@keyframes panel-in { from { opacity: 0; transform: translateY(16px); } }
.svc-panel-head { display: flex; align-items: center; gap: 16px; }
.svc-icon { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: var(--navy); color: #fff; flex: none; }
.svc-icon svg { width: 28px; height: 28px; }
.svc-panel h3 { font-size: var(--step-2); font-weight: 800; }
.svc-panel .svc-intro { color: var(--muted); max-width: 60ch; }
.svc-points { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.svc-points:has(> li:nth-child(4)) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.svc-points li { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 18px; display: grid; gap: 6px; align-content: start; transition: border-color .3s, transform .4s var(--ease), box-shadow .4s; }
.svc-points li:hover { border-color: color-mix(in srgb, var(--teal) 55%, var(--line)); transform: translateY(-3px); box-shadow: var(--shadow); }
.svc-panel.is-active .svc-points li { animation: rise .6s var(--ease) both; animation-delay: calc(var(--i, 0) * 80ms + 150ms); }
.svc-points b { font-family: var(--font-display); font-size: .95rem; color: var(--heading); display: flex; gap: 8px; align-items: flex-start; }
.svc-points b svg { width: 18px; height: 18px; color: var(--teal-ink); flex: none; margin-top: 2px; }
.svc-points span { font-size: .92rem; color: var(--muted); }
.svc-foot { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; padding-top: 4px; }
.svc-foot a.more { font-family: var(--font-display); font-weight: 700; font-size: .9rem; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.svc-foot a.more span { transition: transform .3s var(--ease); }
.svc-foot a.more:hover span { transform: translateX(5px); }
.fronting {
  position: relative; overflow: hidden;
  margin-top: 20px; display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between;
  background: var(--band); color: var(--on-band); border-radius: var(--radius); padding: 22px clamp(20px, 3vw, 32px);
}
.fronting::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(100deg, transparent 40%, rgba(63, 201, 198, .14) 50%, transparent 60%); background-size: 250% 100%; animation: sheen 6s ease-in-out infinite; }
@keyframes sheen { from { background-position: 120% 0; } to { background-position: -120% 0; } }
.fronting p { display: flex; gap: 12px; align-items: center; font-weight: 600; min-width: 0; }
.fronting svg { width: 22px; height: 22px; color: var(--accent-on-band); flex: none; }

/* Method */
.phases { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: relative; }
.phase { position: relative; padding: 0 clamp(14px, 2vw, 24px) 0 0; display: grid; gap: 10px; align-content: start; }
.phase-mark { display: flex; align-items: center; margin-bottom: 8px; }
.phase-dot { position: relative; z-index: 1; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--surface); border: 2px solid var(--teal); color: var(--heading); font-family: var(--font-display); font-weight: 800; font-size: .9rem; font-variant-numeric: tabular-nums; transition: background .4s, color .4s, transform .4s var(--ease); }
.phase:hover .phase-dot, .phase:last-child .phase-dot { background: var(--teal); color: #fff; }
.phase:hover .phase-dot { transform: scale(1.1); }
.phase-line { position: relative; flex: 1; height: 2px; background: var(--line); overflow: hidden; }
.phase-line::after { content: ""; position: absolute; inset: 0; background: var(--teal); transform-origin: left; transform: scaleX(1); }
.phase:last-child .phase-line { display: none; }
.phase .tag { font-family: var(--font-display); font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--teal-ink); }
.phase h3 { font-size: var(--step-1); font-weight: 800; }
.phase h3 i { display: block; font-style: normal; font-weight: 600; font-size: .82rem; color: var(--muted); letter-spacing: .02em; margin-top: 4px; }
.phase p { color: var(--muted); font-size: .95rem; }

/* Por qué elegirnos */
.why { margin-top: clamp(44px, 6vw, 68px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 16px; background: var(--surface); overflow: hidden; }
.why-item { padding: clamp(24px, 3vw, 36px); display: grid; gap: 12px; align-content: start; transition: background .3s; }
.why-item:hover { background: color-mix(in srgb, var(--teal) 5%, var(--surface)); }
.why-item + .why-item { border-left: 1px solid var(--line); }
.why-item .big { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 1.6rem + 2vw, 3rem); line-height: 1; color: var(--teal-ink); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.why-item h3 { font-size: var(--step-1); font-weight: 700; }
.why-item p { color: var(--muted); font-size: .96rem; }

/* Audience */
.audience { background: var(--surface); border-block: 1px solid var(--line); }
.audience-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); }
.aud { position: relative; display: grid; gap: 10px; padding-top: 22px; align-content: start; }
.aud::before, .aud::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; border-radius: 2px; }
.aud::before { right: 0; background: var(--line); }
.aud::after { width: 64px; background: var(--navy); transition: width .6s var(--ease); }
.aud:nth-child(2)::after { background: var(--teal); }
.aud:nth-child(3)::after { background: var(--muted); }
.aud:hover::after { width: 100%; }
.aud h3 { font-size: var(--step-1); font-weight: 700; }
.aud p { color: var(--muted); font-size: .96rem; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.faq-list { display: grid; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 22px 0; font-family: var(--font-display); font-weight: 700; color: var(--heading); font-size: 1.02rem; transition: color .2s; }
.faq-list summary:hover { color: var(--teal-ink); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); font-size: 1.2rem; font-weight: 400; color: var(--teal-ink); line-height: 1; flex: none; transition: transform .35s var(--ease), background .3s, color .3s; }
.faq-list details[open] summary::after { transform: rotate(45deg); background: var(--teal); color: #fff; border-color: var(--teal); }
.faq-list details p { padding: 0 0 24px; color: var(--muted); max-width: 68ch; }
.faq-list details[open] p { animation: rise .45s var(--ease) both; }

/* Contact */
.contact { position: relative; overflow: hidden; isolation: isolate; background: var(--band); color: var(--on-band); }
.contact::before { content: ""; position: absolute; z-index: -1; width: 60vmax; height: 60vmax; left: -25vmax; bottom: -35vmax; border-radius: 50%; background: radial-gradient(circle, rgba(63, 201, 198, .18), transparent 60%); animation: glow 16s ease-in-out infinite alternate-reverse; }
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact h2 { color: var(--on-band); font-size: var(--step-3); font-weight: 800; }
.contact .eyebrow { color: var(--accent-on-band); }
.contact .lead { color: var(--on-band-muted); }
.contact-copy { display: grid; gap: 22px; justify-items: start; }
.agenda { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 14px; width: 100%; }
.agenda li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; align-items: baseline; padding-bottom: 14px; border-bottom: 1px solid var(--band-line); }
.agenda time { font-family: var(--font-display); font-weight: 700; color: var(--accent-on-band); font-variant-numeric: tabular-nums; font-size: .9rem; }
.agenda span { color: var(--on-band-muted); }
.agenda b { color: var(--on-band); font-weight: 600; }
.contact-direct { display: grid; gap: 6px; font-size: .95rem; color: var(--on-band-muted); }
.contact-direct a { color: var(--on-band); font-weight: 600; }

.form { background: var(--surface); color: var(--graphite); border-radius: 16px; padding: clamp(24px, 3.5vw, 38px); display: grid; gap: 16px; box-shadow: 0 30px 60px rgba(0, 0, 0, .3); }
.form h3 { font-size: var(--step-2); font-weight: 800; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: .84rem; font-weight: 600; color: var(--heading); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .96rem; color: var(--graphite); background: var(--bg);
  border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; min-height: 48px;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: var(--surface); box-shadow: 0 0 0 4px color-mix(in srgb, var(--teal) 18%, transparent); }
.consent { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; font-size: .82rem; color: var(--muted); align-items: start; }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--teal); }
.form .btn { width: 100%; }
.form .btn[disabled] { opacity: .7; cursor: progress; transform: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile:empty { display: none; }
.form-status { font-size: .9rem; font-weight: 600; color: var(--teal-ink); min-height: 1.4em; }
.form-status.is-error { color: #C0392B; }

/* Footer */
.site-footer { background: var(--band-deep); color: var(--on-band-muted); padding-block: 60px 28px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer-brand { display: grid; gap: 16px; align-content: start; }
.footer-brand img { width: 240px; height: auto; }
.site-footer h4 { color: var(--on-band); font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--on-band-muted); text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--on-band); text-decoration: underline; }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--band-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .82rem; }

/* Revelado al hacer scroll (solo con JS; sin JS todo queda visible) */
.js-anim [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js-anim [data-reveal].is-in { opacity: 1; transform: none; }
.js-anim .phases .phase-line::after { transform: scaleX(0); transition: transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 250ms + 300ms); }
.js-anim .phases.is-in .phase-line::after { transform: scaleX(1); }

/* Floating CTA (mobile) */
.float-cta { display: none; }

/* Responsive */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc { grid-template-columns: minmax(0, 1fr); }
  .svc-tabs { position: relative; top: 0; display: flex; overflow-x: auto; gap: 8px; padding-bottom: 6px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
  .svc-tab { flex: 0 0 auto; width: auto; max-width: 260px; scroll-snap-align: start; grid-template-columns: 34px auto; padding: 10px 14px; font-size: .86rem; }
  .svc-tab .letter { width: 34px; height: 34px; }
  .svc-tab:hover { transform: none; }
}
@media (max-width: 900px) {
  .hero-inner, .value-grid, .faq-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .value-summary { position: relative; top: 0; }
  .facts ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts li:nth-child(3) { border-left: 0; padding-left: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .phases { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .phase:nth-child(2) .phase-line { display: none; }
  .audience-grid, .why { grid-template-columns: minmax(0, 1fr); }
  .why-item + .why-item { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .svc-points, .svc-points:has(> li:nth-child(4)) { grid-template-columns: minmax(0, 1fr); }
  .phases { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .phase { grid-template-columns: 46px minmax(0, 1fr); column-gap: 16px; padding: 0 0 28px; }
  .phase-mark { grid-column: 1; grid-row: 1 / span 4; flex-direction: column; align-items: center; height: 100%; margin: 0; }
  .phase-line, .phase:nth-child(2) .phase-line { display: block; width: 2px; height: auto; flex: 1; }
  .phase-line::after { transform-origin: top; }
  .js-anim .phases .phase-line::after { transform: scaleY(0); }
  .js-anim .phases.is-in .phase-line::after { transform: scaleY(1); }
  .phase:last-child .phase-line { display: none; }
  .form-row { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .corridor-legend { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .corridor-legend small { display: none; }
  .map-tag { padding: 7px 10px; }
  .map-tag b { font-size: .72rem; }
  .float-cta {
    display: inline-flex; position: fixed; z-index: 40; left: 50%; width: auto; min-height: 52px; padding-inline: 26px; border-radius: 999px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px)); box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
    transform: translate(-50%, 160%); transition: transform .45s var(--ease);
  }
  .float-cta.is-visible { transform: translate(-50%, 0); }
  .site-footer { padding-bottom: 100px; }
}
/* ===== Experiencia móvil y tablet (prioritaria) ===== */
.btn { white-space: nowrap; }
.btn .short { display: none; }
.svc-tab .tab-short { display: none; }
@media (max-width: 1024px) and (min-width: 641px) {
  .hero-inner { gap: 40px; }
}
/* Tablet vertical y móvil: una columna, contenido centrado */
@media (max-width: 900px) {
  .hero-copy { justify-items: center; text-align: center; }
  .hero .lead { margin-inline: auto; }
  .hero-ctas { justify-content: center; }
  .hero-proof { display: block; text-align: center; }
  .hero-proof .dot { display: inline-block; vertical-align: middle; margin-right: 8px; }
  .eyebrow { text-wrap: balance; }
  .eyebrow::before { display: none; }
  .corridor { width: 100%; max-width: 640px; margin-inline: auto; }
  .section-head { justify-items: center; text-align: center; margin-inline: auto; }
  .section-head .lead { margin-inline: auto; }
  .faq-grid .section-head { justify-items: center; }
  .contact-copy { justify-items: center; text-align: center; }
  .agenda li { text-align: left; }
  .contact-direct { justify-items: center; }
  .facts li { text-align: center; justify-items: center; padding-inline: 12px; }
  .facts li:first-child, .facts li:nth-child(3) { padding-left: 12px; }
  .facts b::after { margin-inline: auto; }
  .why-item { text-align: center; justify-items: center; }
  .aud { text-align: center; }
  .aud::after { left: 50%; transform: translateX(-50%); }
  .fronting { justify-content: center; text-align: center; }
  .fronting p { justify-content: center; }
  .footer-brand { justify-items: center; text-align: center; }
  .site-footer { text-align: center; }
  .footer-bottom { justify-content: center; text-align: center; }
}
/* iPhone y móviles */
@media (max-width: 640px) {
  :root { --radius: 16px; --gutter: 20px; }
  body { font-size: 1rem; line-height: 1.6; }
  .section { padding-block: 64px; }
  .eyebrow { font-size: .68rem; letter-spacing: .2em; }
  .eyebrow::before { width: 18px; }
  .hero-inner { padding-block: 36px 32px; gap: 32px; }
  .hero-copy { gap: 18px; }
  .hero h1 { font-size: clamp(1.95rem, 8.4vw, 2.4rem); }
  .hero .lead { font-size: 1rem; }
  .btn { min-height: 54px; border-radius: 14px; font-size: .95rem; padding-inline: 18px; }
  .btn .long { display: none; }
  .btn .short { display: inline; }
  .hero-ctas { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 10px; width: 100%; max-width: 360px; }
  .hero-ctas .btn { padding-inline: 12px; font-size: .9rem; gap: 6px; }
  .hero-ctas .btn svg { width: 16px; height: 16px; }
  .hero-proof { font-size: .8rem; }
  .corridor-card { border-radius: 20px; padding: 12px; }
  .corridor-head { padding: 4px 4px 6px; }
  .ticker { padding-block: 14px; }
  .ticker li { font-size: .7rem; }
  .facts li { padding-block: 24px; }
  .facts span { font-size: .82rem; }
  .value-summary { border-radius: 20px; text-align: center; justify-items: center; }
  .value-summary .seal { justify-content: center; }
  .pillar { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; gap: 14px; }
  .chips { justify-content: center; }
  .svc-tabs { margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .svc-tabs::-webkit-scrollbar { display: none; }
  .svc-tab { border-radius: 999px; padding: 6px 16px 6px 6px; grid-template-columns: 30px auto; white-space: nowrap; }
  .svc-tab .letter { width: 30px; height: 30px; border-radius: 50%; font-size: .8rem; }
  .svc-tab .tab-long { display: none; }
  .svc-tab .tab-short { display: inline; }
  .svc-panel { border-radius: 20px; padding: 24px 18px; text-align: center; justify-items: center; }
  .svc-panel-head { flex-direction: column; gap: 12px; }
  .svc-points li { text-align: left; border-radius: 16px; }
  .svc-foot { justify-content: center; width: 100%; }
  .svc-foot .btn { width: 100%; }
  .fronting { border-radius: 20px; padding: 22px 18px; }
  .fronting p { flex-direction: column; gap: 10px; }
  .fronting .btn { width: 100%; }
  .why { border-radius: 20px; }
  .phase h3 i { font-size: .78rem; }
  .faq-list summary { font-size: .98rem; padding-block: 18px; text-align: left; }
  .form { border-radius: 20px; padding: 22px 18px; text-align: left; }
  .field input, .field select, .field textarea { font-size: 16px; border-radius: 12px; min-height: 52px; }
  .agenda { text-align: left; }
  .nav { padding-bottom: 24px; }
  .nav ul a { font-size: 1.05rem; padding-block: 16px !important; }
  .nav .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .map .country { stroke-dashoffset: 0; fill-opacity: var(--fo, .08); }
  .map .route-draw { stroke-dashoffset: 0; }
  .map .route-flow, .map .radar-wrap { opacity: 1; }
  .map .packet { display: none; }
  .js-anim [data-reveal] { opacity: 1; transform: none; }
  .js-anim .phases .phase-line::after { transform: none; }
  .ticker-track { width: auto; }
  .ticker ul + ul { display: none; }
  .ticker ul { flex-wrap: wrap; gap: 12px 28px; }
}

/* ===== Páginas internas (servicios, privacidad, 404) ===== */
.page-hero { background: var(--band); color: var(--on-band); position: relative; overflow: hidden; isolation: isolate; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--band-line) 1px, transparent 1px), linear-gradient(90deg, var(--band-line) 1px, transparent 1px);
  background-size: 56px 56px; opacity: .25;
  mask-image: radial-gradient(ellipse at 80% 30%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 80% 30%, #000 0%, transparent 70%);
}
.page-hero::after { content: ""; position: absolute; z-index: -1; width: 60vmax; height: 60vmax; right: -25vmax; top: -35vmax; border-radius: 50%; background: radial-gradient(circle, rgba(63, 201, 198, .18), transparent 60%); }
.page-hero-inner { display: grid; gap: 22px; padding-block: clamp(40px, 6vw, 80px) clamp(48px, 7vw, 88px); max-width: 860px; justify-items: start; }
.page-hero h1 { color: var(--on-band); font-size: clamp(2rem, 1.4rem + 2.6vw, 3.1rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.08; }
.page-hero .eyebrow { color: var(--accent-on-band); }
.page-hero .lead { color: var(--on-band-muted); }
.page-hero .hero-ctas { margin-top: 6px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; font-size: .85rem; color: var(--on-band-muted); }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .6; }
.crumbs a { color: var(--on-band); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.module-badge { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--teal); color: #fff; font: 800 1.1rem var(--font-display); }

.split { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.split .section-head { margin-bottom: 0; position: sticky; top: calc(var(--header-h) + 24px); }
.prose { display: grid; gap: 18px; font-size: 1.04rem; max-width: 70ch; }
.prose h2 { font-size: var(--step-2); font-weight: 800; margin-top: 18px; }
.prose h3 { font-size: var(--step-1); font-weight: 700; margin-top: 8px; }
.prose ul, .prose ol { margin: 0; padding-left: 1.3em; display: grid; gap: 8px; }
.prose a { font-weight: 600; }
.prose strong { color: var(--heading); }

.feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.feature-list li { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 22px 24px; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; transition: border-color .3s, transform .4s var(--ease), box-shadow .4s; }
.feature-list li:hover { border-color: color-mix(in srgb, var(--teal) 55%, var(--line)); transform: translateY(-3px); box-shadow: var(--shadow); }
.feature-list .fi { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: color-mix(in srgb, var(--teal) 12%, transparent); color: var(--teal-ink); }
.feature-list .fi svg { width: 20px; height: 20px; }
.feature-list h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 4px; }
.feature-list p { color: var(--muted); font-size: .96rem; }

.deliver { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--surface); }
.deliver div { padding: clamp(22px, 3vw, 32px); display: grid; gap: 12px; align-content: start; }
.deliver div + div { border-left: 1px solid var(--line); }
.deliver h3 { font-size: var(--step-1); font-weight: 700; }
.deliver ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.deliver li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; color: var(--graphite); font-size: .96rem; }
.deliver li svg { width: 18px; height: 18px; color: var(--teal-ink); margin-top: 3px; }

.related { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.related a { display: grid; gap: 10px; align-content: start; padding: 22px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; color: var(--graphite); transition: border-color .3s, transform .4s var(--ease), box-shadow .4s; }
.related a:hover { border-color: var(--teal); transform: translateY(-4px); box-shadow: var(--shadow); }
.related b { font-family: var(--font-display); color: var(--heading); font-size: 1rem; line-height: 1.3; }
.related span { font-size: .88rem; color: var(--muted); }
.related .module-badge { width: 36px; height: 36px; font-size: .95rem; border-radius: 10px; }

.cta-band { background: var(--band); color: var(--on-band); border-radius: 20px; padding: clamp(28px, 4vw, 48px); display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; justify-content: space-between; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(100deg, transparent 40%, rgba(63, 201, 198, .12) 50%, transparent 60%); background-size: 250% 100%; animation: sheen 7s ease-in-out infinite; }
.cta-band h2 { color: var(--on-band); font-size: var(--step-2); font-weight: 800; max-width: 26ch; }
.cta-band p { color: var(--on-band-muted); margin-top: 8px; max-width: 52ch; }

.legal-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: .9rem; color: var(--on-band-muted); }
.legal { max-width: 820px; margin-inline: auto; }
.legal .prose { max-width: none; }
.legal table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.legal td, .legal th { text-align: left; padding: 10px 12px; border: 1px solid var(--line); vertical-align: top; }
.legal th { background: var(--bg); color: var(--heading); font-family: var(--font-display); font-size: .85rem; }
.legal .table-wrap { overflow-x: auto; }
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px 24px; }
.toc ol { margin: 8px 0 0; padding-left: 0; list-style: none; columns: 2; gap: 32px; font-size: .94rem; }
.toc a { text-decoration: none; }

.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.notfound .code { font: 800 clamp(5rem, 3rem + 10vw, 10rem)/1 var(--font-display); color: var(--accent-on-band); letter-spacing: -.04em; }

@media (max-width: 1024px) { .related { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr); }
  .split .section-head { position: static; }
  .page-hero-inner { justify-items: center; text-align: center; margin-inline: auto; }
  .crumbs { justify-content: center; }
  .page-hero .lead { margin-inline: auto; }
  .page-hero .hero-ctas { justify-content: center; }
  .cta-band { justify-content: center; text-align: center; }
  .cta-band h2, .cta-band p { margin-inline: auto; }
}
@media (max-width: 640px) {
  .deliver { grid-template-columns: minmax(0, 1fr); }
  .deliver div + div { border-left: 0; border-top: 1px solid var(--line); }
  .related { grid-template-columns: minmax(0, 1fr); }
  .toc ol { columns: 1; }
  .cta-band .btn { width: 100%; }
  .page-hero .hero-ctas { display: grid; grid-template-columns: minmax(0, 1fr); max-width: 320px; width: 100%; }
}
