/* Sitio corporativo de ElectroCol.
   Concepto: la portada ES el mapa real de Barranquilla (calles y río de OpenStreetMap) de noche, con los pines en sus estados.
   El resto alterna papel claro y azul marino. Un solo amarillo de sol, usado solo como señal. Números siempre con su fuente. */
:root {
  --bg: #f5f8fc; --surface: #ffffff; --ink: #0b1b33; --muted: #4b5d75; --line: #d5e0ee;
  --brand: #0b72dc; --brand-deep: #084a99; --brand-ink: #ffffff; --brand-soft: #e3f0ff;
  --sun: #ffc21a; --sun-ink: #1c1500; --night: #071427; --night-2: #0d2040; --band: #0b1b33; --band-ink: #eaf1fb; --band-muted: #a9bad1;
  --libre: #2bd47f; --fila: #ffd23f; --ocupado: #ff9f43; --danado: #ff5d6c; --nodata: #7e93b0;
  --shadow: 0 18px 44px rgba(11, 27, 51, .16);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a1424; --surface: #101f36; --ink: #eaf1fb; --muted: #a2b3ca; --line: #223555;
    --brand: #3aa0ff; --brand-deep: #8cc4ff; --brand-ink: #04213f; --brand-soft: #14304f;
    --band: #060d19; --band-ink: #eaf1fb; --band-muted: #93a6c0; --shadow: 0 18px 44px rgba(0, 0, 0, .5);
  }
}
:root[data-theme="dark"] {
  --bg: #0a1424; --surface: #101f36; --ink: #eaf1fb; --muted: #a2b3ca; --line: #223555;
  --brand: #3aa0ff; --brand-deep: #8cc4ff; --brand-ink: #04213f; --brand-soft: #14304f;
  --band: #060d19; --band-ink: #eaf1fb; --band-muted: #93a6c0; --shadow: 0 18px 44px rgba(0, 0, 0, .5);
}
* { box-sizing: border-box; }
html { scroll-padding-top: 76px; }
html:not(.lenis) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 600 17px/1.6 "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--brand); }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding-inline: max(20px, env(safe-area-inset-left, 0px)) max(20px, env(safe-area-inset-right, 0px)); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 999px; z-index: 60; font-weight: 800; }
.skip:focus { left: 12px; }

/* encabezado: transparente sobre la portada, sólido al bajar */
.bar { position: fixed; inset: 0 0 auto 0; z-index: 30; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(12px); transition: background .3s, border-color .3s, color .3s; }
.bar .wrap { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: flex; align-items: center; color: var(--ink); text-decoration: none; }
.logo { height: 34px; width: auto; display: block; color: inherit; }
.nav { display: flex; gap: 26px; margin-left: auto; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 800; font-size: 15px; }
.nav a:hover { color: var(--brand); }
.bar.is-top { background: transparent; border-color: transparent; backdrop-filter: none; }
.bar.is-top .brand, .bar.is-top .nav a:not(.btn) { color: #fff; }
.bar.is-top .nav a:not(.btn):hover { color: var(--sun); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; background: var(--brand); color: var(--brand-ink); font-weight: 900; text-decoration: none; font-size: 16px; border: 0; transition: transform .2s, background .2s; }
.btn:hover { background: var(--brand-deep); color: #fff; transform: translateY(-1px); }
.btn.small { min-height: 42px; padding: 0 18px; font-size: 15px; white-space: nowrap; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--line); }
.btn.ghost:hover { background: var(--brand-soft); color: var(--ink); }
.nav .btn { color: #fff; }

/* menú por secciones */
.nav a[aria-current="true"] { color: var(--brand); box-shadow: 0 2px 0 var(--sun); }
.bar.is-top .nav a[aria-current="true"] { color: var(--sun); }
.nav a { padding-block: 6px; border-radius: 4px; }
.bar-cta { flex: none; }
.menu-btn { display: none; flex: none; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 12px; background: transparent; color: var(--ink); cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.bar.is-top .menu-btn { color: #fff; }
.menu-btn span { display: block; width: 22px; height: 2.5px; border-radius: 2px; background: currentColor; transition: transform .25s, opacity .2s; }
.bar.menu-open .menu-btn span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.bar.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.bar.menu-open .menu-btn span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
@media (max-width: 1100px) {
  .nav { display: none; }
  .bar-cta { margin-left: auto; }
  .bar.menu-ready .menu-btn { display: flex; }
  .bar.menu-ready .nav { position: absolute; top: 100%; left: 0; right: 0; margin: 0; padding: 10px max(20px, env(safe-area-inset-left, 0px)) 18px; flex-direction: column; align-items: stretch; gap: 0; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); max-height: calc(100svh - 68px); overflow-y: auto; }
  .bar.menu-ready.menu-open .nav { display: flex; }
  .bar.menu-ready .nav a, .bar.is-top.menu-ready .nav a:not(.btn) { color: var(--ink); font-size: 18px; padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--line); box-shadow: none; }
  .bar.menu-ready .nav a:last-child { border-bottom: 0; }
  .bar.menu-ready .nav a[aria-current="true"], .bar.is-top.menu-ready .nav a[aria-current="true"] { color: var(--brand); box-shadow: inset 3px 0 0 var(--sun); padding-left: 14px; }
  .bar.menu-open { background: var(--bg); border-color: var(--line); backdrop-filter: none; }
  .bar.menu-open .brand, .bar.menu-open .menu-btn { color: var(--ink); }
}

/* portada */
.hero { position: relative; background: var(--night); color: #eaf1fb; min-height: 100svh; display: flex; flex-direction: column; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(900px 560px at 70% 52%, #12335f 0%, transparent 70%), linear-gradient(180deg, #071427, #081a33); }
.hero-stage { position: absolute; inset: 0 0 0 30%; z-index: -1; }
.hero-layer { position: absolute; inset: 0; will-change: transform; }
.hero-roads { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; --cx: 52%; --cy: 55%; --r: 160%;
  -webkit-mask-image: radial-gradient(circle at var(--cx) var(--cy), #000 calc(var(--r) - 24%), transparent var(--r));
  mask-image: radial-gradient(circle at var(--cx) var(--cy), #000 calc(var(--r) - 24%), transparent var(--r)); }
/* capa de interfaz de la portada: pines y etiquetas con tamaño fijo, colocados sobre el mapa */
.hero-ui, .route-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.route-svg { overflow: visible; pointer-events: none; }
#routePath { stroke: #fff; stroke-opacity: .85; stroke-width: 2.4; stroke-dasharray: 6 8; stroke-linecap: round; animation: flow 1.6s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -28; } }
.pin { position: absolute; width: 0; height: 0; --c: var(--nodata); }
.pin.st-libre { --c: var(--libre); } .pin.st-fila { --c: var(--fila); } .pin.st-ocupado { --c: var(--ocupado); } .pin.st-danado { --c: var(--danado); } .pin.you { --c: #2a86ff; }
.pin .dot { position: absolute; left: -12px; top: -12px; width: 24px; height: 24px; border-radius: 50%; background: var(--c); border: 3px solid var(--night); display: grid; place-items: center; box-shadow: 0 0 18px color-mix(in srgb, var(--c) 70%, transparent); }
.pin .dot svg { width: 11px; height: 14px; fill: var(--night); }
.pin.st-fila .dot svg { fill: #1c1500; }
.pin.you .dot { background: #2a86ff; border-color: #fff; }
.pin .ring { position: absolute; left: -12px; top: -12px; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--c); opacity: 0; animation: ring 2.4s ease-out infinite; }
.pin.st-ocupado .ring, .pin.st-danado .ring, .pin.st-nodata .ring { display: none; }
@keyframes ring { 0% { transform: scale(.7); opacity: .85; } 100% { transform: scale(2.8); opacity: 0; } }
.pin .tip { position: absolute; display: grid; gap: 1px; padding: 8px 12px 9px; border-radius: 12px; background: #0d2040; border: 1px solid rgba(255, 255, 255, .18); box-shadow: 0 10px 30px rgba(0, 0, 0, .35); white-space: nowrap; font-size: 12.5px; line-height: 1.25; z-index: 2; }
.pin .tip b { color: #fff; font-weight: 900; display: flex; align-items: center; gap: 7px; }
.pin .tip b::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); flex: none; }
.pin .tip i { color: #8fa6c6; font-style: normal; font-weight: 700; padding-left: 15px; }
.pin .tip.r { left: 22px; top: -20px; } .pin .tip.l { right: 22px; top: -20px; } .pin .tip.t { left: -20px; bottom: 24px; } .pin .tip.b { left: -20px; top: 24px; }
.pin .tip.chip { background: var(--sun); border-color: transparent; } .pin .tip.chip b { color: var(--sun-ink); } .pin .tip.chip b::before { background: var(--sun-ink); } .pin .tip.chip i { color: #4a3a00; }
.hero-stage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--night) 0%, rgba(7, 20, 39, .82) 16%, transparent 48%), linear-gradient(0deg, var(--night) 0%, transparent 22%); pointer-events: none; }
.coord { position: absolute; z-index: 2; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #8db4ff; font-variant-numeric: tabular-nums; }
.coord.c1 { right: 24px; top: 88px; }
.coord.c2 { right: 24px; bottom: 80px; color: #5f7fae; }
.hero-grid { flex: 1; display: flex; align-items: center; padding-block: 120px 72px; }
.hero-copy { max-width: 600px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 900; font-size: 13px; letter-spacing: .09em; text-transform: uppercase; color: var(--brand-deep); margin: 0 0 18px; }
.eyebrow::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--sun); flex: none; }
.hero .eyebrow { color: #8db4ff; }
h1 { font-size: clamp(40px, 5.8vw, 70px); line-height: 1.02; letter-spacing: -.04em; margin: 0 0 22px; font-weight: 900; text-wrap: balance; color: #fff; }
.lead { font-size: clamp(18px, 2vw, 21px); color: #b9c9e0; max-width: 33em; margin: 0 0 28px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero .btn.ghost { color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .25); }
.hero .btn.ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.stores { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; align-items: center; }
.stores .lbl { font-size: 14px; font-weight: 800; color: var(--muted); margin-right: 4px; }
.hero .stores .lbl { color: #8fa6c6; }
.store { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 6px 18px 6px 14px; border-radius: 16px; background: var(--surface); box-shadow: inset 0 0 0 2px var(--line); color: var(--muted); cursor: default; }
.hero .store { background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .16); color: #b9c9e0; }
.store svg { width: 24px; height: 24px; fill: currentColor; flex: none; }
.store b { display: block; font-size: 16px; color: var(--ink); line-height: 1.15; font-weight: 900; }
.hero .store b { color: #fff; }
.store small { display: block; font-size: 11.5px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-deep); line-height: 1.2; }
.hero .store small { color: var(--sun); }
.note { font-size: 13.5px; color: var(--muted); margin: 18px 0 0; }
.hero .note { color: #8fa6c6; }

.ticker { display: flex; align-items: center; gap: 16px; border-top: 1px solid rgba(255, 255, 255, .1); background: rgba(7, 20, 39, .72); backdrop-filter: blur(8px); min-height: 56px; overflow: hidden; }
.ticker-tag { flex: none; margin-left: max(20px, env(safe-area-inset-left, 0px)); font-size: 11px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; background: var(--sun); color: var(--sun-ink); padding: 4px 10px; border-radius: 999px; }
.ticker-view { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 20px); mask-image: linear-gradient(90deg, transparent, #000 20px); }
.ticker-track { display: flex; width: max-content; animation: tick 60s linear infinite; }
.ticker ul { display: flex; gap: 40px; margin: 0; padding: 0 20px; list-style: none; white-space: nowrap; font-size: 14.5px; font-weight: 700; color: #cddcf1; font-variant-numeric: tabular-nums; }
.ticker li { display: flex; align-items: center; gap: 10px; }
.ticker li i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c); flex: none; }
@keyframes tick { to { transform: translateX(-50%); } }
.ticker:hover .ticker-track { animation-play-state: paused; }

/* secciones */
section { padding-block: 96px; }
.hero { padding-block: 0; }
h2 { font-size: clamp(29px, 3.7vw, 46px); line-height: 1.08; letter-spacing: -.032em; margin: 0 0 18px; font-weight: 900; text-wrap: balance; max-width: 18em; }
.sub { color: var(--muted); max-width: 40em; margin: 0 0 12px; }
.cols { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: start; }

.problem-top { display: grid; grid-template-columns: minmax(0, auto) minmax(0, 1fr); gap: 56px; align-items: end; margin-bottom: 44px; }
.ratio { display: flex; align-items: baseline; font-size: clamp(84px, 13vw, 170px); line-height: .88; font-weight: 900; letter-spacing: -.055em; color: var(--brand); font-variant-numeric: tabular-nums; margin: 0; }
.ratio .colon { color: var(--sun); padding-inline: .02em; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.stat { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 26px 26px 22px; overflow: hidden; }
.stat .num { font-size: clamp(38px, 4.4vw, 56px); line-height: 1; font-weight: 900; letter-spacing: -.04em; margin: 0 0 12px; font-variant-numeric: tabular-nums; }
.stat .what { margin: 0 0 16px; color: var(--ink); }
.stat .src { margin: 0; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 10px; }

/* el celular se queda fijo mientras cambian los pasos */
.story { background: var(--surface); border-block: 1px solid var(--line); }
.story-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 72px; margin-top: 24px; }
.steps { list-style: none; margin: 0; padding: 0; }
.step { min-height: 76vh; display: flex; flex-direction: column; justify-content: center; padding-block: 24px; }
.step .kicker { font-size: 12.5px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-deep); margin-bottom: 10px; }
.step h3 { font-size: clamp(25px, 2.8vw, 36px); line-height: 1.1; letter-spacing: -.03em; margin: 0 0 14px; font-weight: 900; max-width: 15em; }
.step p { margin: 0; color: var(--muted); max-width: 30em; }
.inline-shot { display: none; margin: 28px 0 0; }
.story-phone { position: sticky; top: 100px; align-self: start; height: calc(100svh - 130px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; }
.phone { position: relative; width: 258px; aspect-ratio: 390 / 844; border-radius: 38px; padding: 8px; background: var(--ink); box-shadow: var(--shadow); }
.story-phone .phone { width: min(300px, 100%); max-height: calc(100svh - 190px); width: auto; height: calc(100svh - 190px); max-width: 100%; }
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 30px; background: var(--bg); }
.story-phone .phone img { position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); opacity: 0; transition: opacity .45s; }
.story-phone .phone img[data-i="0"] { opacity: 1; }
.dots { display: flex; gap: 8px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); transition: background .3s, transform .3s; }
.dots i.on { background: var(--brand); transform: scale(1.35); }
.cap { font-size: 13.5px; color: var(--muted); margin: 8px 0 0; }

.ladder { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; counter-reset: n; }
.ladder li { position: relative; counter-increment: n; display: grid; grid-template-columns: 44px 1fr; gap: 4px 14px; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.ladder li::before { content: counter(n); grid-row: span 2; width: 40px; height: 40px; border-radius: 50%; background: var(--brand); color: var(--brand-ink); display: grid; place-items: center; font-weight: 900; position: relative; z-index: 1; }
.ladder li:last-child::before { background: var(--line); color: var(--muted); }
.ladder b { font-size: 19px; font-weight: 900; position: relative; z-index: 1; }
.ladder span { color: var(--muted); position: relative; z-index: 1; }
.today { margin-top: 28px; padding: 22px 24px; background: var(--brand-soft); border-radius: 22px; display: grid; gap: 14px; }
.today dl { display: flex; flex-wrap: wrap; gap: 8px 30px; margin: 0; }
.today dt { font-size: 13px; font-weight: 800; color: var(--muted); }
.today dd { margin: 0; font-size: 34px; font-weight: 900; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.today p { margin: 0; font-size: 15px; color: var(--muted); }

/* foco de luz que sigue al cursor (solo con puntero fino) */
[data-spot]::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .25s; background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--brand) 16%, transparent), transparent 70%); }
@media (pointer: fine) { [data-spot]:hover::after { opacity: 1; } }

.band { background: var(--band); color: var(--band-ink); }
.band .eyebrow { color: var(--sun); }
.band h2, .band h3 { color: var(--band-ink); }
.band .sub, .band li { color: var(--band-muted); }
.band .btn { background: var(--sun); color: var(--sun-ink); }
.band .btn:hover { background: #ffd35c; color: var(--sun-ink); }
.checks { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 32px; max-width: 34em; }
.checks li::before { content: ""; position: absolute; left: 0; top: 7px; width: 18px; height: 18px; border-radius: 50%; background: var(--sun); }
.checks li::after { content: ""; position: absolute; left: 6px; top: 11px; width: 5px; height: 9px; border: solid var(--sun-ink); border-width: 0 2px 2px 0; transform: rotate(40deg); }
.band .mail { margin-top: 14px; font-size: 15px; color: var(--band-muted); }
.band .mail a { color: var(--band-ink); }
.code { position: relative; background: #040b17; border: 1px solid rgba(255, 255, 255, .12); border-radius: 24px; padding: 24px 26px; overflow: hidden; }
.code-cap { margin: 0 0 14px; font-size: 13px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; color: var(--sun); display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; position: relative; z-index: 1; }
.code-cap span { color: #6f86a8; text-transform: none; letter-spacing: 0; font-weight: 700; }
.code pre { margin: 0; overflow-x: auto; font: 500 14.5px/1.7 ui-monospace, "SF Mono", Menlo, Consolas, monospace; color: #cfe2ff; position: relative; z-index: 1; }
.code-note { margin: 16px 0 0; color: #9fb4d3; font-size: 15px; position: relative; z-index: 1; }

/* socios fundadores */
.partners { background: var(--bg); }
.perks { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.perk { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 24px 24px 22px; overflow: hidden; }
.perk h3 { font-size: 20px; line-height: 1.2; letter-spacing: -.02em; margin: 14px 0 8px; font-weight: 900; }
.perk p { margin: 0; color: var(--muted); font-size: 16px; }
.tag { display: inline-block; font-size: 11.5px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.tag.now { background: var(--sun); color: var(--sun-ink); }
.tag.soon { background: var(--brand-soft); color: var(--brand-deep); }
.promise { margin-top: 28px; border: 1px solid var(--line); background: var(--band); color: var(--band-ink); border-radius: 28px; padding: 32px 34px; }
.promise h3 { margin: 0 0 14px; font-size: 22px; font-weight: 900; letter-spacing: -.02em; color: var(--band-ink); }
.promise ul { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 10px; color: var(--band-muted); }
.promise li b { color: var(--band-ink); }
.promise .btn { background: var(--sun); color: var(--sun-ink); }
.promise .btn:hover { background: #ffd35c; color: var(--sun-ink); }
.promise .mail { margin: 14px 0 0; font-size: 15px; color: var(--band-muted); }

.download .box { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 32px; padding: 48px; }
.partners + .download { padding-top: 0; }
.download .stores { margin-top: 0; flex-direction: column; align-items: stretch; }
.download .store { justify-content: flex-start; }

footer { background: var(--surface); border-top: 1px solid var(--line); padding-block: 56px 40px; color: var(--muted); font-size: 15px; overflow: hidden; }
.wm-big { display: block; width: 100%; height: auto; color: var(--ink); opacity: .9; margin-bottom: 40px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
footer b { color: var(--ink); font-weight: 900; }
footer ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 8px; }
footer a { color: var(--muted); }
footer a:hover { color: var(--brand); }
footer .legal { font-size: 13.5px; border-top: 1px solid var(--line); padding-top: 20px; margin: 36px 0 0; }

/* páginas de texto */
.doc { max-width: 780px; padding-block: 120px 90px; }
.doc h1 { font-size: clamp(32px, 4.4vw, 48px); color: var(--ink); }
.doc .lead { color: var(--muted); }
.doc h2 { font-size: 26px; margin-top: 44px; max-width: none; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; margin-top: 12px; }
.doc th, .doc td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.table-scroll { overflow-x: auto; }

/* ---- estados iniciales de las animaciones: solo existen si arrancó boot.js y GSAP cargó ---- */
.fx [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(26px); }
.fx [data-split]:not(.is-in) .wi { opacity: 0; filter: blur(12px); transform: translateY(.45em); }
.w { display: inline-block; }
.wi { display: inline-block; }
.fx .hero-copy .lead:not(.is-in), .fx .hero-copy .cta:not(.is-in), .fx .hero-copy .stores:not(.is-in), .fx .hero-copy .note:not(.is-in) { opacity: 0; transform: translateY(18px); }
.fx .hero-roads:not(.is-in) { --r: 0%; }
.fx .wm-big:not(.is-in) path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.fx .step:not(.is-active) { opacity: .38; }
.step { transition: opacity .4s; }

@media (max-width: 960px) {
  .hero { min-height: 0; }
  .ticker { order: 3; }
  .hero-stage { position: relative; inset: auto; order: 2; height: 420px; margin-top: -10px; }
  .hero-stage::after { background: linear-gradient(0deg, var(--night) 0%, transparent 18%), linear-gradient(180deg, var(--night) 0%, transparent 22%); }
  .hero-grid { padding-block: 104px 8px; order: 1; }
  .coord.c1 { top: 30px; right: 20px; } .coord.c2 { bottom: 14px; right: 20px; }
  .pin .tip:not(.chip) { display: none; } .pin.keep .tip:not(.chip) { display: grid; } .pin .tip { font-size: 11.5px; padding: 6px 10px 7px; }
  .pin .dot { left: -10px; top: -10px; width: 20px; height: 20px; border-width: 2.5px; } .pin .dot svg { width: 9px; height: 12px; } .pin .ring { left: -10px; top: -10px; width: 20px; height: 20px; }
  .problem-top, .cols, .download .box, .foot-grid { grid-template-columns: 1fr; }
  .perks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero .stores { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 26px; }
  .hero .stores .lbl { grid-column: 1 / -1; margin: 0; }
  .hero .store { min-width: 0; }
  .hero .note { margin-top: 22px; }
  .problem-top { gap: 24px; }
  .stats { grid-template-columns: 1fr; }
  .story-grid { grid-template-columns: 1fr; gap: 0; }
  .story-phone { display: none; }
  .inline-shot { display: block; }
  .inline-shot .phone { width: min(250px, 72vw); margin-inline: auto; }
  .step { min-height: 0; padding-block: 36px; opacity: 1 !important; }
  section { padding-block: 64px; }
  .download .box { padding: 28px 22px; gap: 28px; }
}
@media (max-width: 620px) { .perks { grid-template-columns: 1fr; } .promise { padding: 26px 22px; } }
@media (max-width: 520px) { .long { display: none; } .logo { height: 28px; } .bar .wrap { gap: 12px; } .btn.small { padding: 0 18px; } .bar .wrap { min-height: 60px; } }
@media (prefers-reduced-motion: reduce) {
  html:not(.lenis) { scroll-behavior: auto; }
  .ticker-track, .pin .ring, #routePath { animation: none; }
  .pin .ring { opacity: 0; }
}
