/* MSLA-ID — sistema de diseno
   Paleta tomada del logo: tinta pizarra + las tres barras azules.
   Tipografia: Host Grotesk (display ligera + cuerpo) y IBM Plex Mono (datos, codigos de pais, API). */

:root {
  --paper: #F5F7F8;
  --surface: #FFFFFF;
  --ink: #0E1A20;
  --slate: #2F424B;
  --muted: #56666E;
  --line: #DCE3E7;
  --line-soft: #E8EDF0;
  --b1: #458CBB;
  --b2: #74A9CD;
  --b3: #A2C4DD;
  --night: #081016;
  --night-2: #0F1A21;
  --night-line: #1E2C35;

  --bg: var(--paper);
  --fg: var(--ink);
  --fg-2: var(--muted);
  --rule: var(--line);
  --card: var(--surface);

  --f-sans: "Host Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-display: "MuseoModerno", "Host Grotesk", ui-sans-serif, system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --wrap: 1240px;
  --gut: clamp(20px, 4vw, 40px);
  --sec: clamp(60px, 6.5vw, 92px);
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 28px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --nav-h: 72px;
}

/* Paginas oscuras */
.theme-dark {
  --bg: var(--night);
  --fg: #EEF3F6;
  --fg-2: #9AAAB3;
  --rule: var(--night-line);
  --card: var(--night-2);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 19px/1.55 var(--f-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--b1); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
.sec { padding-block: var(--sec); }
.sec--tight { padding-block: calc(var(--sec) * .6); }
.sec--rule { border-top: 1px solid var(--rule); }
.grid { display: grid; gap: clamp(20px, 3vw, 32px); }
.grid > * { min-width: 0; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.band-dark { background: var(--night); color: #EEF3F6; --fg: #EEF3F6; --fg-2: #9AAAB3; --rule: var(--night-line); --card: var(--night-2); }
.band-white { background: var(--surface); }

/* ---------- type ---------- */
.display, h1 {
  font-weight: 300;
  font-size: clamp(46px, 6.6vw, 96px);
  line-height: .98;
  letter-spacing: -.038em;
}
h2, .h2 {
  font-weight: 300;
  font-size: clamp(36px, 4.4vw, 62px);
  line-height: 1.02;
  letter-spacing: -.032em;
}
h3, .h3 { font-weight: 500; font-size: 23px; line-height: 1.25; letter-spacing: -.01em; }
.lead { font-size: clamp(20px, 1.6vw, 23px); line-height: 1.5; color: var(--fg-2); max-width: 40ch; }
.muted { color: var(--fg-2); }
.label {
  font: 500 13px/1.2 var(--f-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--fg-2);
}
.mono { font-family: var(--f-mono); }
.sec-head { display: grid; gap: 20px; margin-bottom: clamp(32px, 4vw, 52px); max-width: 820px; }
.sec-head--row { max-width: none; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 32px; }
.sec-head--row .lead { justify-self: end; }

/* ---------- buttons ---------- */
.btn {
  --bh: 50px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--bh); padding: 0 24px; border-radius: 999px;
  font: 500 17px/1 var(--f-sans); letter-spacing: -.005em;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: scale(.97); }
.btn svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--slate); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: #E4ECF1; }
.btn-line { border-color: currentColor; background: transparent; }
.btn-line:hover { background: rgba(127, 140, 150, .12); }
.theme-dark .btn-ink, .band-dark .btn-ink { background: #fff; color: var(--ink); }
.theme-dark .btn-ink:hover, .band-dark .btn-ink:hover { background: #E4ECF1; }
.btn-sm { --bh: 40px; padding: 0 18px; font-size: 15px; }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.link svg { width: 15px; height: 15px; transition: transform .2s var(--ease); }
.link:hover svg { transform: translateX(3px); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- logo ---------- */
.logo { height: 36px; width: auto; overflow: visible; }
.logo .logo-l { fill: currentColor; }
.logo .logo-bar1 { fill: var(--b1); }
.logo .logo-bar2 { fill: var(--b2); }
.logo .logo-bar3 { fill: var(--b3); }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h);
  color: var(--fg);
  transition: background-color .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease);
}
.nav__in { height: 100%; display: flex; align-items: center; gap: 28px; }
.nav__brand { display: flex; align-items: center; margin-right: auto; }
.nav__menu { display: flex; align-items: center; gap: 4px; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px;
  border-radius: 999px; font-size: 16px; font-weight: 500; background: none; border: 0; cursor: pointer;
  transition: background-color .18s var(--ease);
}
.nav__link:hover, .nav__item:focus-within > .nav__link { background: rgba(127, 140, 150, .14); }
.nav__link[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--b1); border-radius: 0; }
.nav__link .chev { width: 10px; height: 10px; transition: transform .2s var(--ease); }
.nav__item:hover .chev, .nav__item:focus-within .chev { transform: rotate(180deg); }
.nav__cta { display: flex; align-items: center; gap: 8px; }
.nav__login { font-size: 16px; font-weight: 500; padding: 0 12px; }
.nav--over { color: #fff; }
.nav--over .btn-ink { background: #fff; color: var(--ink); }
.nav--over .btn-ink:hover { background: #E4ECF1; }
.nav--solid { background: color-mix(in srgb, var(--bg) 97%, transparent); box-shadow: 0 1px 0 var(--rule); color: var(--fg); }
.nav--solid .btn-ink { background: var(--ink); color: #fff; }
.theme-dark .nav--solid .btn-ink { background: #fff; color: var(--ink); }

/* desplegables */
.drop {
  position: absolute; top: calc(100% + 8px); left: 50%; translate: -50% 0;
  min-width: 300px; padding: 10px; border-radius: var(--r);
  background: var(--surface); color: var(--ink); border: 1px solid var(--line);
  box-shadow: 0 24px 60px -24px rgba(14, 26, 32, .35);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}
.drop::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.nav__item:hover .drop, .nav__item:focus-within .drop { opacity: 1; visibility: visible; transform: none; }
.drop--wide { min-width: 560px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 10px; }
.drop__group { padding: 10px 12px 4px; font: 500 12px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); grid-column: 1 / -1; }
.drop a { display: grid; gap: 2px; padding: 10px 12px; border-radius: 10px; transition: background-color .15s var(--ease); }
.drop a:hover { background: var(--paper); }
.drop b { font-weight: 500; font-size: 16px; }
.drop span { font-size: 14px; color: var(--muted); line-height: 1.35; }

.nav__burger { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; border-radius: 10px; }
.nav__burger i { display: block; width: 22px; height: 1.5px; margin: 5px auto; background: currentColor; transition: transform .25s var(--ease), opacity .2s; }
.nav-open .nav__burger i:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-open .nav__burger i:nth-child(2) { opacity: 0; }
.nav-open .nav__burger i:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.sheet {
  position: fixed; inset: var(--nav-h) 0 0; z-index: 49; background: var(--surface); color: var(--ink);
  padding: 8px var(--gut) 40px; overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.nav-open .sheet { opacity: 1; visibility: visible; transform: none; }
.nav-open .nav { background: var(--surface); color: var(--ink); }
.nav-open .nav .btn-ink { background: var(--ink); color: #fff; }
.sheet details { border-bottom: 1px solid var(--line); }
.sheet summary, .sheet > a { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font-size: 22px; list-style: none; cursor: pointer; }
.sheet > a { border-bottom: 1px solid var(--line); }
.sheet summary::-webkit-details-marker { display: none; }
.sheet details a { display: block; padding: 10px 0 10px 4px; font-size: 18px; color: var(--muted); }
.sheet details[open] { padding-bottom: 12px; }
.sheet .btn { width: 100%; margin-top: 28px; }

/* ---------- hero con medio de fondo ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: max(640px, 100svh); display: flex; align-items: flex-end;
  color: #fff; background: var(--night);
}
.hero--page { min-height: max(560px, 82svh); }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media video, .hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 16, 22, .78) 0%, rgba(8, 16, 22, .45) 45%, rgba(8, 16, 22, .05) 80%),
    linear-gradient(0deg, rgba(8, 16, 22, .6) 0%, rgba(8, 16, 22, 0) 45%),
    linear-gradient(180deg, rgba(8, 16, 22, .55) 0%, rgba(8, 16, 22, 0) 22%);
}
.hero__body { padding-block: calc(var(--nav-h) + 40px) clamp(56px, 8vw, 104px); display: grid; gap: 28px; }
.hero h1 { max-width: 13ch; }
.hero--page h1 { max-width: 16ch; }
.hero .lead { color: rgba(255, 255, 255, .82); max-width: 44ch; }
.hero .btn-line { color: #fff; }
.hero__crumb { display: flex; gap: 10px; align-items: center; }
.hero__crumb a { color: rgba(255, 255, 255, .7); }
.hero__crumb a:hover { color: #fff; }

/* hero sin medio (Resources, Company...) */
.phead { padding-block: calc(var(--nav-h) + clamp(64px, 9vw, 120px)) clamp(48px, 6vw, 80px); display: grid; gap: 24px; }
.phead h1 { max-width: 16ch; }

/* ---------- carrusel de clientes (se mantiene igual que en la web actual) ---------- */
.clients { border-bottom: 1px solid var(--rule); background: var(--surface); }
.clients { padding-block: 14px; }
.marquee {
  width: 100%; overflow: hidden; padding: 18px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee__track { display: flex; width: max-content; align-items: center; animation: mq 90s linear infinite reverse; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee.is-js .marquee__track { animation: none; }
@keyframes mq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee__item { flex: 0 0 auto; margin: 0 42px; display: flex; align-items: center; }
.marquee__item img {
  height: 46px; width: auto; filter: grayscale(1) opacity(.55);
  transition: filter .35s var(--ease), transform .35s var(--ease);
}
.marquee__item:hover img { filter: grayscale(0) opacity(1); }

/* ---------- declaracion + cifras ---------- */
.statement { font-weight: 300; font-size: clamp(28px, 3vw, 44px); line-height: 1.15; letter-spacing: -.025em; max-width: 26ch; }
.statement em { font-style: normal; color: var(--b1); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--rule); margin-top: clamp(40px, 5vw, 64px); }
.stat { padding: 26px 24px 0 0; display: grid; gap: 6px; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--rule); }
.stat__n { font-weight: 300; font-size: clamp(44px, 4.6vw, 68px); line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.stat__l { font-size: 16px; color: var(--fg-2); }

/* ---------- tarjetas de producto ---------- */
.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pcard {
  position: relative; display: flex; flex-direction: column; gap: 16px; min-height: 360px;
  padding: 30px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--rule);
  overflow: hidden; transition: border-color .25s var(--ease), transform .35s var(--ease-out);
}
.pcard:hover { border-color: var(--b2); transform: translateY(-4px); }
.pcard__bars { display: flex; gap: 5px; height: 28px; }
.pcard__bars i { width: 9px; border-radius: 2px; background: var(--line); }
.pcard__bars i.on { background: var(--b1); }
.pcard__bars i.on + i.on { background: var(--b2); }
.pcard__bars i.on + i.on + i.on { background: var(--b3); }
.pcard h3 { font-size: 28px; font-weight: 400; letter-spacing: -.02em; }
.pcard p { color: var(--fg-2); }
.pcard ul { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 999px;
  border: 1px solid var(--rule); font-size: 14px; color: var(--fg-2); background: transparent;
}
.pcard .link { margin-top: 8px; }

/* ---------- sticky content (paso a paso, inspirado en Sticky Content Wrapper) ---------- */
.sticky { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); }
.sticky__steps { display: grid; }
.sticky__step { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; gap: 16px; padding-block: 40px; opacity: .28; transition: opacity .45s var(--ease); }
.sticky__step.is-on { opacity: 1; }
.sticky__step .label { color: var(--b1); }
.sticky__step h3 { font-size: clamp(28px, 2.6vw, 38px); font-weight: 300; letter-spacing: -.025em; }
.sticky__step p { color: var(--fg-2); max-width: 42ch; }
.sticky__stage { position: sticky; top: calc(var(--nav-h) + 8vh); height: min(66vh, 540px); align-self: start; }
.sticky__frame {
  position: relative; height: 100%; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--rule);
  background: radial-gradient(120% 90% at 100% 0%, rgba(162, 196, 221, .55), transparent 60%), linear-gradient(180deg, #EEF3F6, #E4EBF0);
}
.theme-dark .sticky__frame, .band-dark .sticky__frame { background: radial-gradient(120% 90% at 100% 0%, rgba(69, 140, 187, .28), transparent 60%), var(--night-2); }
.sticky__frame figure { position: absolute; inset: 0; display: grid; place-items: center; padding: clamp(22px, 3.4vw, 48px); opacity: 0; transform: translateY(16px) scale(.98); transition: opacity .5s var(--ease), transform .7s var(--ease-out); }
.sticky__frame figure.is-on { opacity: 1; transform: none; }
.sticky__frame img { width: 100%; max-height: 100%; object-fit: contain; border-radius: 12px; background: #fff; box-shadow: 0 1px 0 rgba(14, 26, 32, .05), 0 30px 60px -28px rgba(14, 26, 32, .45); }
.sticky__dots { position: absolute; left: 20px; bottom: 18px; display: flex; gap: 6px; }
.sticky__dots i { width: 22px; height: 3px; border-radius: 2px; background: rgba(14, 26, 32, .18); transition: background-color .3s; }
.sticky__dots i.is-on { background: var(--b1); }

/* ---------- escala al hacer scroll (inspirado en Scroll Trigger Scale) ---------- */
.zoom { position: relative; height: 210vh; }
.zoom__pin { position: sticky; top: 0; height: 100svh; display: grid; place-items: center; overflow: hidden; padding: calc(var(--nav-h) + 12px) var(--gut) 24px; }
.zoom__box {
  --p: 0;
  width: min(100%, 1240px); height: 100%;
  border-radius: calc(48px - 32px * var(--p));
  transform: scale(calc(.42 + .58 * var(--p)));
  overflow: hidden; background: var(--night); will-change: transform;
}
.zoom__box > * { width: 100%; height: 100%; }
.zoom__box img, .zoom__box video { object-fit: cover; }
.zoom__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(24px, 4vw, 48px); color: #fff; background: linear-gradient(0deg, rgba(8,16,22,.85), rgba(8,16,22,0)); display: flex; justify-content: space-between; align-items: end; gap: 24px; opacity: calc(var(--p) * 1.6 - .6); }
.zoom__inner { position: relative; }

/* ---------- consolas ---------- */
.consoles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.console { display: grid; gap: 18px; padding: 28px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--rule); }
.console__shot { border-radius: 14px; overflow: hidden; border: 1px solid var(--rule); background: #fff; aspect-ratio: 2.3 / 1; }
.console__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.console__nums { display: flex; gap: 32px; }
.console__nums b { display: block; font-weight: 300; font-size: 40px; letter-spacing: -.03em; line-height: 1; }
.console__nums span { font-size: 15px; color: var(--fg-2); }

/* ---------- matriz de cobertura (firma visual) ---------- */
.matrix { width: 100%; border-collapse: collapse; font-size: 16px; }
.matrix th, .matrix td { padding: 0; border-bottom: 1px solid var(--rule); }
.matrix thead th { font: 500 12px/1.3 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--fg-2); text-align: center; padding: 0 6px 16px; vertical-align: bottom; }
.matrix thead th:first-child { text-align: left; }
.matrix tbody th { text-align: left; font-weight: 400; padding: 10px 16px 10px 0; white-space: nowrap; }
.matrix tbody th .mono { display: inline-block; width: 34px; color: var(--fg-2); font-size: 13px; }
.matrix td { text-align: center; }
.cell { display: inline-block; width: 30px; height: 22px; border-radius: 4px; background: transparent; box-shadow: inset 0 0 0 1px var(--rule); transform-origin: bottom; }
.cell.k { background: var(--b1); box-shadow: none; }
.cell.b { background: var(--b2); box-shadow: none; }
.cell.x { background: var(--b3); box-shadow: none; }
.js .matrix .cell.k, .js .matrix .cell.b, .js .matrix .cell.x { transform: scaleY(.15); opacity: .2; transition: transform .6s var(--ease-out), opacity .6s var(--ease); transition-delay: calc(var(--d, 0) * 1ms); }
.js .matrix.is-in .cell { transform: none; opacity: 1; }
.matrix-key { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 22px; font-size: 15px; color: var(--fg-2); }
.matrix-key span { display: inline-flex; align-items: center; gap: 8px; }
.matrix-key .cell { width: 18px; height: 14px; }
.matrix-wrap { overflow-x: auto; position: relative; }
.matrix td, .matrix th { position: relative; }

/* ---------- soluciones: lista con video al pasar ---------- */
.sol-list { border-top: 1px solid var(--rule); }
.sol-row {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) 40px; align-items: center; gap: 24px;
  padding: 18px 0; border-bottom: 1px solid var(--rule);
}
.sol-row h3 { font-size: clamp(24px, 2.2vw, 32px); font-weight: 300; letter-spacing: -.025em; transition: transform .35s var(--ease-out); }
.sol-row p { color: var(--fg-2); font-size: 17px; }
.sol-row .arrow { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--rule); display: grid; place-items: center; transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s; }
.sol-row .arrow svg { width: 15px; height: 15px; }
.sol-row:hover h3 { transform: translateX(10px); }
.sol-row:hover .arrow { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.sol-peek {
  position: fixed; z-index: 30; left: 0; top: 0; width: 300px; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden;
  pointer-events: none; opacity: 0; transform: translate3d(var(--x, 0), var(--y, 0), 0) scale(.9);
  transition: opacity .25s var(--ease), transform .25s var(--ease-out); background: var(--night);
  box-shadow: 0 30px 60px -20px rgba(8, 16, 22, .5);
}
.sol-peek.is-on { opacity: 1; transform: translate3d(var(--x, 0), var(--y, 0), 0) scale(1); }
.sol-peek video { width: 100%; height: 100%; object-fit: cover; }

/* ---------- testimonios ---------- */
.quotes { display: flex; gap: 32px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.quotes::-webkit-scrollbar { display: none; }
.quote { flex: 0 0 calc((100% - 32px) / 2); scroll-snap-align: start; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: clamp(26px, 3vw, 40px); border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--rule); min-height: 340px; }
.quote blockquote { font-weight: 300; font-size: clamp(21px, 1.7vw, 25px); line-height: 1.4; letter-spacing: -.012em; }
.quote figcaption { display: flex; align-items: center; gap: 16px; }
.quote figcaption img { height: 30px; width: auto; }
.quote figcaption b { display: block; font-weight: 500; font-size: 16px; }
.quote figcaption span { font-size: 15px; color: var(--fg-2); }
.carousel-ctrl { display: flex; gap: 10px; }
.carousel-ctrl button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--rule); background: transparent; cursor: pointer; display: grid; place-items: center; transition: background-color .2s var(--ease), color .2s, opacity .2s; }
.carousel-ctrl button:hover { background: var(--fg); color: var(--bg); }
.carousel-ctrl button:disabled { opacity: .35; pointer-events: none; }
.carousel-ctrl svg { width: 16px; height: 16px; }

/* ---------- formulario "Get a demo" (inspirado en Persona) ---------- */
.demo { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--rule); background: var(--surface); color: var(--ink); }
.demo__side { position: relative; padding: clamp(32px, 4vw, 56px); background: var(--night); color: #fff; display: flex; flex-direction: column; gap: 22px; overflow: hidden; }
.demo__side::before { content: ""; position: absolute; right: -40px; bottom: -60px; width: 220px; height: 320px; background: linear-gradient(90deg, var(--b1) 0 30%, transparent 30% 35%, var(--b2) 35% 65%, transparent 65% 70%, var(--b3) 70%); opacity: .14; transform: skewX(-8deg); }
.demo__side h2 { font-size: clamp(36px, 3.6vw, 52px); }
.demo__side p { color: rgba(255, 255, 255, .72); max-width: 34ch; }
.demo__side ul { display: grid; gap: 12px; margin-top: auto; font-size: 16px; color: rgba(255, 255, 255, .85); }
.demo__side li { display: flex; gap: 12px; align-items: baseline; }
.demo__side li::before { content: ""; flex: 0 0 8px; height: 8px; border-radius: 2px; background: var(--b2); transform: translateY(-1px); }
.demo__logos { display: flex; flex-wrap: wrap; gap: 18px 26px; align-items: center; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); }
.demo__logos img { height: 22px; width: auto; filter: grayscale(1) brightness(3); opacity: .75; }
.demo__form { padding: clamp(32px, 4vw, 56px); display: flex; flex-direction: column; gap: 24px; }
.demo__top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.demo__prog { display: flex; gap: 6px; }
.demo__prog i { width: 26px; height: 4px; border-radius: 2px; background: var(--line); overflow: hidden; position: relative; }
.demo__prog i::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease-out); }
.demo__prog i.is-done::after { transform: scaleX(1); }
.step { display: grid; gap: 18px; animation: stepIn .45s var(--ease-out); }
@keyframes stepIn { from { opacity: 0; transform: translateY(10px); } }
.step h3 { font-size: clamp(24px, 2.2vw, 30px); font-weight: 400; letter-spacing: -.02em; }
.field { display: grid; gap: 8px; }
.field label, .field .flabel { font-size: 15px; font-weight: 500; color: var(--slate); }
.field .opt { color: var(--muted); font-weight: 400; }
.input {
  width: 100%; height: 56px; padding: 0 18px; border-radius: 14px; border: 1px solid var(--line); background: #fff;
  font-size: 18px; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
textarea.input { height: 112px; padding: 14px 18px; resize: vertical; }
.input:hover { border-color: #C3CED4; }
.input:focus { outline: none; border-color: var(--b1); box-shadow: 0 0 0 4px rgba(69, 140, 187, .16); }
.input[aria-invalid="true"] { border-color: #B4432E; }
.err { font-size: 14px; color: #A13A26; min-height: 0; }
.picks { display: flex; flex-wrap: wrap; gap: 10px; }
.pick { position: relative; }
.pick input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pick span {
  display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 18px; border-radius: 999px;
  border: 1px solid var(--line); font-size: 16px; background: #fff; transition: background-color .18s var(--ease), color .18s, border-color .18s;
}
.pick span small { font: 500 12px var(--f-mono); color: var(--muted); }
.pick input:hover + span { border-color: #B9C6CD; }
.pick input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.pick input:checked + span small { color: var(--b3); }
.pick input:focus-visible + span { outline: 2px solid var(--b1); outline-offset: 2px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.row2 > * { min-width: 0; }
.demo__nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 4px; }
.back { background: none; border: 0; padding: 8px 0; cursor: pointer; color: var(--muted); font-size: 16px; display: inline-flex; gap: 6px; align-items: center; }
.back:hover { color: var(--ink); }
.fine { font-size: 13px; line-height: 1.5; color: var(--muted); }
.fine a { text-decoration: underline; }
.done { display: grid; gap: 16px; align-content: center; min-height: 300px; animation: stepIn .5s var(--ease-out); }
.done__mark { width: 56px; height: 56px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; }
.done__mark svg { width: 24px; height: 24px; }
.hp { position: absolute; left: -9999px; }

/* ---------- bloques genericos de paginas ---------- */
.feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.feat { display: grid; gap: 12px; align-content: start; padding-top: 22px; border-top: 1px solid var(--rule); }
.feat p { color: var(--fg-2); font-size: 17px; }
.feat .label { color: var(--b1); }
.panel { padding: clamp(26px, 3vw, 40px); border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--rule); }
.list-check { display: grid; gap: 12px; }
.list-check li { display: flex; gap: 12px; align-items: baseline; }
.list-check li::before { content: ""; flex: 0 0 8px; height: 8px; border-radius: 2px; background: var(--b1); transform: translateY(-2px); }
.countries { display: flex; flex-wrap: wrap; gap: 8px; }
.countries .chip b { font: 500 12px var(--f-mono); color: var(--b1); }
.code {
  font: 400 14.5px/1.65 var(--f-mono); background: var(--night); color: #C9D6DD; border-radius: var(--r);
  padding: 22px 24px; overflow-x: auto; white-space: pre; border: 1px solid var(--night-line);
}
.code .k { color: var(--b3); }
.code .s { color: #9FD3B8; }
.code .n { color: #F0C987; }
.code .c { color: #5F7480; }
.code-head { display: flex; justify-content: space-between; align-items: center; font: 500 12px var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--fg-2); margin-bottom: 10px; }
.compare { width: 100%; border-collapse: collapse; }
.compare th, .compare td { text-align: left; padding: 18px 16px 18px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.compare thead th { font: 500 12px var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--fg-2); }
.compare tbody th { font-weight: 500; width: 28%; color: var(--fg-2); font-size: 16px; }
.compare td { font-size: 17px; }
.team { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.person { display: grid; gap: 14px; }
.person img { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; object-position: top; border-radius: var(--r); filter: grayscale(1); transition: filter .5s var(--ease); }
.person:hover img { filter: none; }
.person b { display: block; font-weight: 500; }
.person span { font-size: 16px; color: var(--fg-2); }
.docs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.doc { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--rule); font-size: 17px; transition: color .2s; }
.doc svg { flex: 0 0 18px; width: 18px; height: 18px; color: var(--fg-2); transition: transform .2s var(--ease); }
.doc:hover svg { transform: translateY(2px); color: var(--b1); }
.offices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.office { display: grid; gap: 10px; padding-top: 22px; border-top: 1px solid var(--rule); }
.office address { font-style: normal; color: var(--fg-2); }

.cta-band { padding-block: clamp(80px, 10vw, 136px); text-align: left; }
.cta-band h2 { max-width: 18ch; }

/* ---------- footer ---------- */
.foot { background: var(--night); color: #C3CFD6; padding-block: 72px 36px; font-size: 16px; }
.foot__top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); gap: 32px; padding-bottom: 56px; border-bottom: 1px solid var(--night-line); }
.foot .logo { height: 28px; color: #fff; }
.foot__about { display: grid; gap: 18px; align-content: start; }
.foot__about p { max-width: 30ch; color: #8FA0A9; }
.foot h4 { font: 500 12px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: #7E909A; margin-bottom: 16px; }
.foot ul { display: grid; gap: 10px; }
.foot a:hover { color: #fff; }
.foot__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; padding-top: 28px; color: #7E909A; font-size: 14px; }
.foot__badges { display: flex; align-items: center; gap: 14px; }
.foot__badges img { height: 48px; width: auto; }
.foot__social { display: inline-flex; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--night-line); align-items: center; justify-content: center; transition: background-color .2s, color .2s, border-color .2s; }
.foot__social:hover { background: #fff; color: var(--ink) !important; border-color: #fff; }
.foot__social svg { width: 16px; height: 16px; }

/* ---------- pantalla de carga (solo al llegar desde fuera) ---------- */
.loader { display: none; }
.show-loader .loader {
  display: grid; place-items: center; position: fixed; inset: 0; z-index: 100; background: var(--night); color: #fff;
  animation: loaderOut .5s var(--ease) 1.25s forwards;
}
.show-loader body { overflow: hidden; }
.loader .logo { height: clamp(46px, 7vw, 76px); }
.loader .logo-b { transform-box: fill-box; transform-origin: bottom; animation: barUp .5s var(--ease-out) both; }
.loader .logo-bar2 { animation-delay: .07s; }
.loader .logo-bar3 { animation-delay: .14s; }
.loader .logo-l { opacity: 0; transform-box: fill-box; animation: letterIn .42s var(--ease-out) both; animation-delay: calc(.42s + var(--i) * .045s); }
/* las barras nacen centradas y se desplazan a su sitio mientras aparece el wordmark */
.loader__bars { animation: slide .6s cubic-bezier(.7, 0, .2, 1) .38s both; }
@keyframes slide { from { transform: translateX(-281px); } to { transform: none; } }
@keyframes barUp { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes letterIn { from { opacity: 0; transform: translateY(14%); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes loaderOut { to { opacity: 0; visibility: hidden; } }
.loader-done .loader { display: none; }

/* ---------- reveal ---------- */
.js .rv { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease-out); transition-delay: calc(var(--rd, 0) * 70ms); }
.js .rv.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav__menu, .nav__login { display: none; }
  .nav__burger { display: block; }
  .products { grid-template-columns: 1fr; }
  .pcard { min-height: 0; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .docs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot__about { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  body { font-size: 18px; }
  .split, .sticky, .demo, .sec-head--row, .consoles { grid-template-columns: 1fr; }
  .sec-head--row .lead { justify-self: start; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--rule); margin-top: 22px; }
  .sticky__stage { display: none; }
  .sticky__step { min-height: 0; opacity: 1; padding-block: 28px; border-top: 1px solid var(--rule); }
  .sticky__step .mshot { display: block; border-radius: 14px; border: 1px solid var(--rule); margin-top: 8px; }
  .sol-row { grid-template-columns: minmax(0, 1fr) 40px; }
  .sol-row p { display: none; }
  .sol-peek { display: none; }
  .quotes { gap: 16px; }
  .quote { flex-basis: 88%; }
  .feature-grid, .feature-grid--2, .offices { grid-template-columns: 1fr; }
  .zoom { height: auto; }
  .zoom__pin { position: relative; height: auto; padding: 0 var(--gut); }
  .zoom__box { --p: 1 !important; transform: none; height: 70svh; border-radius: var(--r-lg); }
  .zoom__cap { opacity: 1; }
}
@media (min-width: 861px) { .sticky__step .mshot { display: none; } }
@media (max-width: 560px) {
  .team, .docs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .docs { grid-template-columns: 1fr; }
  .row2 { grid-template-columns: 1fr; }
  .foot__top { grid-template-columns: 1fr 1fr; }
  .console__nums { gap: 20px; }
  .nav__cta .btn { display: none; }
  .logo { height: 26px; }
  .hero .cta-row .btn { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .rv { opacity: 1; transform: none; }
  .js .matrix .cell { transform: none !important; opacity: 1 !important; }
  .zoom { height: auto; }
  .zoom__pin { position: relative; height: auto; }
  .zoom__box { --p: 1 !important; transform: none; height: 70svh; }
  .show-loader .loader { animation: loaderOut .01ms 0s forwards; }
  .sol-row:hover h3 { transform: none; }
}

/* menu movil: chevron a su tamano y rotado al abrir */
.sheet .chev { width: 14px; height: 14px; transition: transform .2s var(--ease); }
.sheet details[open] .chev { transform: rotate(180deg); }

/* en pantallas angostas la persona de la foto esta a la derecha: anclamos el recorte */
@media (max-width: 860px) { .hero__media img { object-position: 72% 50%; } }


/* ---------- barra fija al bajar (comportamiento ElevenLabs) ----------
   arriba: barra completa; al bajar se va con la pagina; pasado el hero baja una
   barra compacta y su logo se redibuja: barras en vertical y luego las letras. */
.nav { transform: translateY(calc(var(--off, 0) * -1px)); }
.nav.is-stuck { --off: 0; animation: navIn .42s cubic-bezier(.22, 1, .36, 1) both; }
@keyframes navIn { from { transform: translateY(-100%); } to { transform: none; } }
.nav.is-stuck .logo-b { transform-box: fill-box; transform-origin: top; animation: logoBar .3s ease-out both; }
.nav.is-stuck .logo-l { animation: logoLetter .25s ease-out both; animation-delay: calc(.5s + var(--i) * .025s); }
@keyframes logoBar { from { opacity: 0; transform: scaleY(0); } to { opacity: 1; transform: none; } }
@keyframes logoLetter { from { opacity: 0; } to { opacity: 1; } }
.nav.is-stuck { height: 64px; }
.nav.is-stuck .logo { height: 32px; }

/* ---------- paneles de la API en el paso a paso ---------- */
.panel-ui { width: 100%; max-width: 560px; }
.panel-ui .code { font-size: 14px; box-shadow: 0 30px 60px -28px rgba(14, 26, 32, .5); }
.sticky__frame .code-head { color: var(--slate); }
.flow { display: grid; gap: 0; justify-items: stretch; }
.flow__node { display: grid; gap: 6px; padding: 18px 22px; border-radius: 14px; background: #fff; border: 1px solid var(--line); color: var(--ink); box-shadow: 0 20px 40px -26px rgba(14, 26, 32, .4); }
.flow__node b { font-weight: 500; font-size: 19px; }
.flow__node--us { background: var(--ink); color: #fff; border-color: var(--ink); }
.flow__node--us .label { color: var(--b3); }
.flow__line { justify-self: center; width: 2px; height: 34px; background: linear-gradient(var(--b1), var(--b3)); position: relative; overflow: hidden; }
.flow__line::after { content: ""; position: absolute; left: 0; right: 0; height: 12px; background: #fff; opacity: .9; animation: pulse 1.6s linear infinite; }
@keyframes pulse { from { transform: translateY(-14px); } to { transform: translateY(36px); } }
.flow__time { margin-top: 16px; text-align: center; color: var(--slate); font-size: 16px; }
.status { width: 100%; border-collapse: collapse; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 20px 40px -26px rgba(14, 26, 32, .4); color: var(--ink); font-size: 16px; }
.status td { padding: 12px 18px; border-bottom: 1px solid var(--line-soft); }
.status td:first-child { width: 70px; font-weight: 500; color: var(--muted); }
.status td.ok { color: #2F7D55; }
.status .mono { font-size: 14px; }
.sticky__step .mshot.panel-ui { max-width: none; }

/* ---------- You can scroll (adaptado de jh3y) ---------- */
.can { position: relative; overflow: clip; background:
  linear-gradient(var(--night-line) 1px, transparent 1px) 0 0 / 80px 80px,
  linear-gradient(90deg, var(--night-line) 1px, transparent 1px) 0 0 / 80px 80px, var(--night); }
.can::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 60% at 50% 50%, transparent, var(--night) 85%); pointer-events: none; }
.can__in { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 4vw; align-items: stretch; }
.can__side { position: relative; }
/* la segunda linea ("you can") queda a la altura del verbo iluminado, en el centro de la pantalla */
.can__lead { position: sticky; top: calc(50vh - 1.61em); font-weight: 300; font-size: clamp(40px, 5.2vw, 80px); line-height: 1.12; letter-spacing: -.035em; color: #fff; margin-top: calc(42vh - 1.12em); text-align: right; }
.can__list { padding-block: 42vh; }
.can__list li {
  font-weight: 300; font-size: clamp(40px, 5.2vw, 80px); line-height: 1.12; letter-spacing: -.035em;
  color: #fff; opacity: .14; transition: opacity .35s var(--ease), color .35s var(--ease); white-space: nowrap;
}
.can__list li.is-on { opacity: 1; color: var(--c, var(--b2)); }
.can__list li:nth-child(3n+1) { --c: #8EC2E8; }
.can__list li:nth-child(3n+2) { --c: #B9D6EA; }
.can__list li:nth-child(3n) { --c: #FFFFFF; }

/* ---------- iconos ---------- */
.ico { width: 30px; height: 30px; color: var(--b1); flex: none; }
.ico--lg { width: 36px; height: 36px; }
.feat--ico { border-top: 0; padding: 26px; border-radius: var(--r); background: var(--card); border: 1px solid var(--rule); gap: 14px; transition: border-color .25s var(--ease), transform .35s var(--ease-out); }
.feat--ico:hover { border-color: var(--b2); transform: translateY(-3px); }
.feat--ico .ico { margin-bottom: 6px; }
.theme-dark .ico { color: var(--b2); }

/* ---------- paginas oscuras: bandas y formulario ---------- */
.theme-dark .band-white { background: var(--night-2); }
.theme-dark .demo { border-color: var(--night-line); background: var(--night-2); color: #EEF3F6; }
.theme-dark .demo__side { background: linear-gradient(160deg, #123349 0%, #0B1D29 70%); }
.theme-dark .demo__form .field label, .theme-dark .demo__form .flabel { color: #C9D6DD; }
.theme-dark .demo__form .opt, .theme-dark .fine, .theme-dark .demo__form .label { color: #8FA0A9; }
.theme-dark .input, .theme-dark .pick span { background: #0B151C; border-color: var(--night-line); color: #EEF3F6; }
.theme-dark .input::placeholder { color: #6E808A; }
.theme-dark .pick input:checked + span { background: #fff; color: var(--ink); border-color: #fff; }
.theme-dark .pick input:checked + span small { color: var(--b1); }
.theme-dark .demo__prog i { background: var(--night-line); }
.theme-dark .demo__prog i::after { background: #fff; }
.theme-dark .back:hover { color: #fff; }
.theme-dark .done__mark { background: #fff; color: var(--ink); }
.theme-dark .err { color: #F09A86; }
.theme-dark .pcard__bars i { background: var(--night-line); }

/* ---------- tipografia de marca: MuseoModerno fina en los titulos ---------- */
h1, h2, .display, .statement, .stat__n, .sticky__step h3, .sol-row h3, .pcard h3, .step h3,
.can__lead, .can__list li, .zoom__cap .h3, .console h3 {
  font-family: var(--f-display); font-weight: 200; letter-spacing: -.02em;
}
h1, .display { line-height: 1.04; }
h2 { line-height: 1.08; }
.statement em { font-weight: 300; }

@media (max-width: 860px) {
  .can__in { grid-template-columns: 1fr; }
  .can__lead { top: calc(var(--nav-h) + 8px); margin-top: 0; text-align: left; padding: 40px 0 20px; font-size: 34px; z-index: 1; background: linear-gradient(var(--night) 70%, transparent); }
  .can__list { padding-block: 20vh 40vh; }
  .can__list li { font-size: 36px; white-space: normal; }
  .feat--ico { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .nav.is-stuck, .nav.is-stuck .logo-b, .nav.is-stuck .logo-l { animation: none !important; opacity: 1; }
  .flow__line::after { animation: none; }
}

/* los bloques de codigo no pueden ensanchar la pagina en celular */
.sticky > *, .sticky__steps > *, .sticky__step > * { min-width: 0; }
.panel-ui { min-width: 0; }
@media (max-width: 860px) {
  .can__in { display: block; }
  .can__side { display: contents; }
  .can__lead { position: sticky; }
}
@media (max-width: 860px) {
  .can__lead { background: var(--night); box-shadow: 0 28px 24px 4px var(--night); top: 64px; }
}
.split > *, .sec-head > *, .grid > * > * { min-width: 0; }

/* titulo de seccion centrado */
.sec-head--center { margin-inline: auto; text-align: center; justify-items: center; max-width: 1000px; }
.sec-head--center .lead { max-width: 48ch; }

/* ruta (Products / Identity Verification) legible sobre cualquier foto o video */
.hero__crumb {
  justify-self: start; display: inline-flex; gap: 10px; align-items: center;
  padding: 8px 14px; border-radius: 999px; color: #fff;
  background: rgba(8, 16, 22, .62); border: 1px solid rgba(255, 255, 255, .14);
}
.hero__crumb a { color: rgba(255, 255, 255, .78); }
.hero__crumb a:hover { color: #fff; }
.hero__crumb span[aria-hidden] { color: rgba(255, 255, 255, .45); }
.phead .hero__crumb { background: transparent; border: 0; padding: 0; color: var(--fg-2); }
.phead .hero__crumb a { color: var(--fg-2); }

/* el video del zoom llena el recuadro completo (sin franja negra abajo) */
.zoom__inner { position: relative; overflow: hidden; }
.zoom__inner > video, .zoom__inner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.zoom__cap { z-index: 1; }

/* ---------- 404 ---------- */
.nf { min-height: 100svh; display: grid; align-items: center; padding: calc(var(--nav-h) + 48px) 0 72px; background:
  radial-gradient(70% 60% at 85% 20%, rgba(69, 140, 187, .18), transparent 60%), var(--night); }
.nf__in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.nf__bars { display: flex; gap: clamp(10px, 1.4vw, 18px); height: clamp(220px, 34vw, 420px); justify-content: center; }
.nf__bars i { width: clamp(52px, 7vw, 96px); background: var(--b1); transform-origin: bottom; animation: barUp .7s var(--ease-out) both; }
.nf__bars i:nth-child(2) { background: var(--b2); animation-delay: .08s; }
.nf__gap { background: transparent !important; border: 2px dashed rgba(162, 196, 221, .55); animation: gap 2.4s ease-in-out .9s infinite !important; }
@keyframes gap { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
.nf__text { display: grid; gap: 24px; }
.nf__text h1 { max-width: 14ch; }
.nf__code { display: flex; flex-wrap: wrap; gap: 10px; }
.nf__code span { padding: 6px 10px; border: 1px solid var(--night-line); border-radius: 6px; color: var(--b3); }
.nf__links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin-top: 12px; border-top: 1px solid var(--night-line); }
.nf__links a { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--night-line); color: #C9D6DD; transition: color .2s var(--ease); }
.nf__links a:hover { color: #fff; }
.nf__links svg { width: 14px; height: 14px; transition: transform .2s var(--ease); }
.nf__links a:hover svg { transform: translateX(3px); }
@media (max-width: 860px) {
  .nf__in { grid-template-columns: 1fr; }
  .nf__bars { height: 160px; justify-content: flex-start; }
  .nf__bars i { width: 44px; }
  .nf__links { grid-template-columns: 1fr; }
}

/* controles del carrusel de testimonios, centrados debajo */
.carousel-ctrl--center { justify-content: center; margin-top: 28px; }

/* ---------- Data Licensing: Tierra fija con capitulos (adaptado de 21st.dev "Landing Page") ---------- */
.dl { position: relative; background: radial-gradient(80% 60% at 70% 30%, #0E2233 0%, var(--night) 60%); }
.dl__stage { position: sticky; top: 0; height: 100svh; margin-bottom: -100svh; display: grid; place-items: center; overflow: hidden; pointer-events: none; }
.dl__globe { position: relative; width: min(46vw, 640px); aspect-ratio: 1; opacity: 0; transition: opacity .8s var(--ease); will-change: transform; }
.dl.is-ready .dl__globe { opacity: 1; }
.dl__canvas { position: relative; width: 100%; height: 100%; border-radius: 50%; }
.dl__glow { position: absolute; inset: -5%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(69, 140, 187, 0) 88%, rgba(116, 169, 205, .45) 93%, rgba(69, 140, 187, 0) 100%); filter: blur(4px); }
.dl__canvas { box-shadow: inset 0 0 0 1px rgba(162, 196, 221, .18), 0 0 120px -20px rgba(69, 140, 187, .45); }
.dl__dots { position: absolute; right: clamp(16px, 3vw, 40px); top: 50%; transform: translateY(-50%); display: grid; gap: 18px; pointer-events: auto; }
.dl__dots::before { content: ""; position: absolute; left: 50%; top: 6px; bottom: 6px; width: 1px; background: rgba(162, 196, 221, .25); }
.dl__dots i { position: relative; width: 11px; height: 11px; border-radius: 50%; border: 1px solid rgba(162, 196, 221, .6); background: var(--night); cursor: pointer; transition: background-color .3s, transform .3s var(--ease); }
.dl__dots i.is-on { background: #fff; border-color: #fff; transform: scale(1.15); }
.dl__ch { position: relative; min-height: 100svh; display: flex; align-items: center; padding-block: calc(var(--nav-h) + 24px) 48px; color: #fff; }
.dl__txt { display: grid; gap: 22px; max-width: 560px; opacity: .25; transform: translateY(16px); transition: opacity .6s var(--ease), transform .7s var(--ease-out); }
.dl__ch.is-on .dl__txt { opacity: 1; transform: none; }
.dl__ch--center .dl__txt { margin-inline: auto; text-align: center; justify-items: center; max-width: 720px; }
.dl__ch--right .dl__txt { margin-left: auto; }
.dl__txt .lead { color: rgba(255, 255, 255, .78); }
.dl__txt .btn-line { color: #fff; }
.dl__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.dl__chips .chip { color: #DCE6EC; border-color: rgba(162, 196, 221, .3); background: rgba(8, 16, 22, .55); }
.dl__note { font-size: 15px; color: #8FA0A9; }
.dl .countries .chip { background: rgba(8, 16, 22, .55); border-color: rgba(162, 196, 221, .3); color: #DCE6EC; }
@media (max-width: 860px) {
  .dl__globe { width: 92vw; }
  .dl__dots { display: none; }
  .dl__txt { opacity: 1; transform: none; }
  .dl__ch--right .dl__txt, .dl__ch--center .dl__txt { margin: 0; text-align: left; justify-items: start; }
}
@media (prefers-reduced-motion: reduce) { .dl__txt { opacity: 1; transform: none; } }

/* el globo se queda dentro de su seccion: termina con "Companies" y no tapa lo que sigue.
   clip-path recorta sin romper el position: sticky (overflow: hidden si lo romperia) */
.dl { clip-path: inset(0); }
