/* =====================================================================
   Tinku · portada pública. Papel frío, tinta azul noche, cobalto para la acción
   y coral solo para la promoción. Lo memorable es el hablador de mesa en vivo.
   ===================================================================== */
:root {
    --cobalt: #2347F5; --cobalt-d: #1A36C4; --cobalt-s: #E9EDFF; --cyan: #12B5F0; --coral: #FF6B4A; --amber: #FFB443; --night: #121A33;
    --bg: #F4F6FA; --surface: #FFFFFF; --s2: #F8F9FC; --s3: #EEF1F7; --ink: #121A33; --text-2: #3D4766; --muted: #5F6984; --line: #E3E7EF; --line-2: #CDD3E0;
    --link: #1A36C4; --glass: rgba(255, 255, 255, .78); --grad: linear-gradient(120deg, #3A5BFF 0%, #2347F5 35%, #12B5F0 70%, #FF6B4A 100%);
    --font-d: 'Bricolage Grotesque', 'Hanken Grotesk', system-ui, sans-serif; --font: 'Hanken Grotesk', system-ui, sans-serif;
    --ease: cubic-bezier(.2, .8, .2, 1); --spring: cubic-bezier(.34, 1.56, .64, 1); --wrap: 1180px; --pad: clamp(16px, 4vw, 40px);
    --shadow: 0 1px 2px rgba(18, 26, 51, .05), 0 10px 30px -14px rgba(18, 26, 51, .18); --shadow-lg: 0 40px 80px -30px rgba(18, 26, 51, .38);
    color-scheme: light;
}
:root[data-theme="dark"] {
    --cobalt: #4D6BFF; --cobalt-d: #7D93FF; --cobalt-s: rgba(77, 107, 255, .16); --night: #1A2350;
    --bg: #0A0F1F; --surface: #111832; --s2: #151D3B; --s3: #1C2547; --ink: #EEF1FA; --text-2: #BAC3DD; --muted: #8C96B6; --line: #232D52; --line-2: #33406E;
    --link: #9DB0FF; --glass: rgba(17, 24, 50, .78);
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 14px 34px -16px rgba(0, 0, 0, .7); --shadow-lg: 0 40px 90px -30px rgba(0, 0, 0, .85);
    color-scheme: dark;
}
/* piezas que son «papel» o «pantalla de celular»: siempre en claro */
.tent, .ph, .prints, .swap-qr { --ink: #121A33; --text-2: #3D4766; --muted: #5F6984; --line: #E3E7EF; --line-2: #CDD3E0; --s2: #F8F9FC; --s3: #EEF1F7; --surface: #FFFFFF; }
.ph { color: #121A33; }
.swap-qr { background: #fff; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); transition: background-color .4s var(--ease), color .4s var(--ease); font: 400 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3 { margin: 0; font-family: var(--font-d); font-weight: 700; letter-spacing: -.03em; line-height: 1.05; }
p { margin: 0; }
a { color: inherit; }
img, svg { display: block; }
.i { width: 20px; height: 20px; flex-shrink: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr, .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 14px; border-radius: 10px; background: var(--night); color: #fff; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; }

/* ---------- botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border: 1px solid transparent; border-radius: 12px; font: 600 15px/1 var(--font); text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, transform .15s var(--ease); }
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 52px; padding: 14px 24px; font-size: 16px; }
.btn-primary { background: var(--cobalt); color: #fff; box-shadow: 0 10px 24px -12px rgba(35, 71, 245, .7); }
.btn-primary:hover { background: var(--cobalt-d); }
.btn-line { border-color: var(--line-2); background: var(--surface); color: var(--ink); }
.btn-line:hover { border-color: #AEB6C9; }
.btn-white { background: #fff; color: #121A33; }
.btn-white:hover { background: var(--cobalt-s); }

/* ---------- cabecera ---------- */
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 24px; max-width: calc(var(--wrap) + 2 * var(--pad)); margin: 0 auto; padding: 14px var(--pad); background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(12px); }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 22px/1 var(--font-d); letter-spacing: -.03em; text-decoration: none; }
.brand img { border-radius: 9px; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { padding: 8px 12px; border-radius: 10px; color: var(--text-2); font-weight: 500; font-size: 15px; text-decoration: none; }
.nav a:not(.btn):hover { background: var(--s3); color: var(--ink); }
.nav .nav-login { margin-left: 12px; color: var(--ink); font-weight: 600; }
.nav .btn { padding: 10px 16px; color: #fff; }
.burger { display: none; width: 44px; height: 44px; margin-left: auto; border: 1px solid var(--line-2); border-radius: 12px; background: var(--surface); cursor: pointer; }
.burger i { display: block; width: 18px; height: 2px; margin: 4px auto; border-radius: 2px; background: var(--ink); transition: transform .2s var(--ease); }
.burger[aria-expanded="true"] i:first-of-type { transform: translateY(3px) rotate(45deg); }
.burger[aria-expanded="true"] i:last-of-type { transform: translateY(-3px) rotate(-45deg); }

/* ---------- franja de lanzamiento ---------- */
.launch { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; max-width: var(--wrap); margin: 4px auto 0; padding: 10px 16px; border-radius: 12px; background: var(--night); color: #D7DCEC; font-size: 14.5px; text-align: center; text-decoration: none; }
.launch b { color: #fff; font-weight: 650; }
.launch-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 4px rgba(255, 107, 74, .2); }
@media (max-width: 1260px) { .launch { margin-left: var(--pad); margin-right: var(--pad); } }

/* ---------- portada ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 72px); align-items: center; max-width: var(--wrap); margin: 0 auto; padding: clamp(36px, 6vw, 72px) var(--pad) clamp(48px, 7vw, 88px); box-sizing: content-box; }
.hero h1 { max-width: 13ch; font-size: clamp(40px, 6.2vw, 76px); font-weight: 750; line-height: .98; letter-spacing: -.045em; }
.lead { max-width: 54ch; margin-top: 22px; color: var(--text-2); font-size: clamp(17px, 1.5vw, 19px); }
.try { display: grid; gap: 10px; max-width: 520px; margin-top: 28px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); }
.try > label, .try legend { font-weight: 600; font-size: 14px; }
.try input[type="text"], .try #try-name { width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--surface); color: var(--ink); font: 500 16px var(--font); }
.try #try-name:focus { outline: none; border-color: var(--cobalt); box-shadow: 0 0 0 3px rgba(35, 71, 245, .16); }
.try-rubro { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 0; padding: 0; border: 0; }
.try-rubro legend { margin-bottom: 8px; }
.try-rubro label { position: relative; cursor: pointer; }
.try-rubro input { position: absolute; opacity: 0; }
.try-rubro span { display: inline-block; padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--text-2); font-size: 14px; font-weight: 600; transition: background-color .15s, color .15s, border-color .15s; }
.try-rubro input:checked + span { border-color: var(--night); background: var(--night); color: #fff; }
.try-rubro input:focus-visible + span { outline: 2px solid var(--cobalt); outline-offset: 2px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.trust { margin-top: 14px; color: var(--muted); font-size: 14px; }

/* el hablador de mesa: lo memorable de la página */
.hero-stage { position: relative; display: grid; place-items: center; min-height: 600px; padding: 70px 0 60px; perspective: 1400px; }
.hero-stage::before { content: ""; position: absolute; inset: 6% 2% 14%; border-radius: 40px; background: radial-gradient(70% 60% at 50% 40%, var(--cobalt-s), transparent 72%); }
.tent { --c: #7F1D1D; position: relative; z-index: 1; width: min(360px, 82%); transform: rotateX(8deg) rotateY(-14deg); transform-style: preserve-3d; transition: transform .6s var(--ease); }
.tent-face { display: grid; justify-items: center; gap: 10px; padding: 30px 28px 26px; border-top: 10px solid var(--c); border-radius: 6px 6px 10px 10px; background: #fff; box-shadow: var(--shadow-lg), 0 2px 0 #E6E9F0; text-align: center; transition: border-color .4s; }
.tent::after { content: ""; position: absolute; left: 6%; right: 6%; bottom: -26px; height: 26px; border-radius: 50%; background: radial-gradient(closest-side, rgba(18, 26, 51, .28), transparent); filter: blur(4px); transform: translateZ(-40px); }
.tent-biz { max-width: 100%; overflow: hidden; color: var(--text-2); font-weight: 700; font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }
.tent-cta { color: var(--c); font: 800 clamp(30px, 3.6vw, 40px)/1 var(--font-d); letter-spacing: -.035em; transition: color .4s; }
.tent-qr { width: 78%; margin-top: 6px; padding: 10px; border: 1px solid #ECEEF3; border-radius: 12px; transition: opacity .25s; }
.tent-qr svg { width: 100%; height: auto; }
.tent-qr.busy { opacity: .45; }
.tent-hint { color: var(--muted); font-size: 13px; }
.table { position: absolute; left: 0; right: 0; bottom: 8%; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--line-2) 20%, var(--line-2) 80%, transparent); }
.float { position: absolute; z-index: 2; display: grid; gap: 2px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--glass); box-shadow: var(--shadow); backdrop-filter: blur(10px); }
.f-stats { top: 0; left: 0; }
.f-stats small { color: var(--muted); font-size: 12.5px; }
.f-stats b { font: 750 30px/1.05 var(--font-d); letter-spacing: -.03em; }
.f-stats span { color: #12804F; font-size: 12.5px; font-weight: 600; }
.f-edit { right: 0; bottom: 2%; display: flex; align-items: center; gap: 10px; }
.f-edit .i { width: 28px; height: 28px; padding: 6px; border-radius: 50%; background: #E3F5EC; color: #12804F; }
.f-edit span { display: grid; }
.f-edit b { font-size: 14px; }
.f-edit small { color: var(--muted); font-size: 12.5px; }
.js .float { opacity: 0; transform: translateY(10px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .ready .float { opacity: 1; transform: none; }
.js .ready .f-edit { transition-delay: .25s; }

/* ---------- franja de rubros ---------- */
.band { overflow: hidden; border-block: 1px solid var(--line); background: var(--surface); }
.band-track { display: flex; width: max-content; animation: band 46s linear infinite; }
.band ul { display: flex; gap: 0; margin: 0; padding: 0; list-style: none; }
.band li { display: flex; align-items: center; gap: 28px; padding: 18px 0 18px 28px; color: var(--text-2); font: 600 17px var(--font-d); letter-spacing: -.01em; white-space: nowrap; }
.band li::after { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--cobalt); transform: rotate(45deg); }
@keyframes band { to { transform: translateX(-50%); } }

/* ---------- secciones ---------- */
.sec { max-width: var(--wrap); margin: 0 auto; padding: clamp(64px, 9vw, 112px) var(--pad) 0; box-sizing: content-box; }
.sec-head { max-width: 680px; margin-bottom: 36px; }
.sec h2, .final h2 { font-size: clamp(32px, 4.4vw, 52px); font-weight: 750; letter-spacing: -.04em; }
.sec-head p, .sec-copy p { margin-top: 16px; color: var(--text-2); font-size: 18px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.split.rev .sec-copy { order: 2; }
.ticks { display: grid; gap: 12px; margin: 24px 0 0; padding: 0; list-style: none; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; color: var(--text-2); }
.ticks .i { margin-top: 2px; color: var(--cobalt); }

/* cambia sin reimprimir */
.swap { position: relative; display: grid; grid-template-columns: 1fr 180px; gap: 18px; align-items: center; padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); box-shadow: var(--shadow); }
.swap-card { display: grid; gap: 10px; }
.swap-k { color: var(--muted); font-weight: 600; }
.swap-p { display: flex; align-items: baseline; gap: 14px; }
.swap-p s { color: var(--muted); font: 600 22px var(--font-d); }
.swap-p b { font: 800 46px/1 var(--font-d); letter-spacing: -.04em; }
.swap-note { display: inline-flex; align-items: center; gap: 8px; width: fit-content; padding: 6px 12px; border-radius: 999px; background: var(--cobalt-s); color: var(--cobalt-d); font-size: 14px; font-weight: 600; }
.swap-note .i { width: 16px; height: 16px; }
.swap-qr { padding: 10px; border: 1px solid var(--line); border-radius: 14px; }
.swap-qr svg { width: 100%; height: auto; }
.js .swap-p b { opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease) .35s, transform .5s var(--ease) .35s; }
.js .swap-p s { text-decoration-color: transparent; transition: text-decoration-color .3s .1s; }
.js .swap.on .swap-p b { opacity: 1; transform: none; }
.js .swap.on .swap-p s { text-decoration-color: var(--coral); }

/* kits por rubro */
.kits { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 24px; padding: 12px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); box-shadow: var(--shadow); }
.kit-tabs { display: grid; align-content: start; gap: 4px; }
.kit-tabs button { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 10px 14px; border: 0; border-radius: 12px; background: none; color: var(--text-2); font: 600 15.5px var(--font); text-align: left; cursor: pointer; }
.kit-tabs button .i { color: var(--muted); }
.kit-tabs button:hover { background: var(--s2); color: var(--ink); }
.kit-tabs button[aria-selected="true"] { background: var(--cobalt-s); color: var(--cobalt-d); }
.kit-tabs button[aria-selected="true"] .i { color: var(--cobalt); }
.kit-panel { padding: 16px 16px 16px 8px; }
.kit-panel > p { color: var(--text-2); font-size: 17px; }
.kit-panel ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.kit-panel li { display: flex; gap: 12px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 14px; }
.k-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--s3); color: var(--ink); }
.kit-panel li span:last-child { display: grid; }
.kit-panel li b { font-size: 15px; }
.kit-panel li small { color: var(--muted); font-size: 13px; }

/* lo que ve tu cliente */
.phones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.phone { display: flex; flex-direction: column; margin: 0; }
.ph { flex: 1; display: grid; gap: 10px; align-content: start; min-height: 440px; padding: 26px 18px 20px; border: 8px solid var(--night); border-radius: 34px; background: var(--s2); }
.ph-ava { display: grid; place-items: center; width: 44px; height: 44px; margin: 0 auto; border-radius: 14px; background: var(--cobalt); color: #fff; }
.ph-t { font: 700 18px/1.2 var(--font-d); letter-spacing: -.02em; text-align: center; }
.ph-s { margin-top: -6px; color: var(--muted); font-size: 13px; text-align: center; }
.ph-tabs { display: flex; gap: 6px; justify-content: center; }
.ph-tabs i { padding: 4px 10px; border-radius: 99px; background: var(--s3); font: normal 600 12px var(--font); }
.ph-tabs i.on { background: var(--night); color: #fff; }
.ph-row { display: flex; justify-content: space-between; gap: 8px; padding: 10px 12px; border-radius: 12px; background: #fff; font-size: 14px; font-weight: 600; }
.ph-row small { display: block; color: var(--muted); font-size: 12px; font-weight: 400; }
.ph-btn { padding: 11px; border-radius: 12px; background: #128C4A; color: #fff; font-size: 14px; font-weight: 700; text-align: center; }
.ph-pay { display: grid; grid-template-columns: 1fr auto; padding: 12px; border-radius: 12px; background: #fff; }
.ph-pay small { grid-column: 1 / -1; color: var(--muted); font-size: 12px; }
.ph-pay b { font: 700 20px var(--font-d); letter-spacing: .01em; }
.ph-pay i { align-self: center; padding: 4px 10px; border-radius: 8px; background: var(--cobalt-s); color: var(--cobalt-d); font: normal 600 12px var(--font); }
.ph-note { color: var(--muted); font-size: 13px; text-align: center; }
.ph-off { justify-self: center; padding: 2px 14px; border-radius: 10px; background: var(--coral); color: #fff; font: 800 34px/1.1 var(--font-d); }
.ph-code { display: grid; justify-items: center; padding: 14px; border: 1.5px dashed var(--line-2); border-radius: 12px; background: #fff; }
.ph-code small { color: var(--muted); font-size: 12px; }
.ph-code b { font: 700 22px var(--font-d); letter-spacing: .08em; }
.phone figcaption { margin-top: 14px; color: var(--text-2); font-size: 15px; }
.phone figcaption b { display: block; color: var(--ink); font-size: 16px; }

/* material impreso */
.prints { position: relative; height: 380px; }
.prints > div { position: absolute; border-radius: 6px; background: #fff; box-shadow: var(--shadow-lg); }
.pr-sheet { left: 0; top: 30px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; width: 46%; aspect-ratio: 210 / 297; padding: 14px; transform: rotate(-5deg); }
.pr-sheet span { display: grid; place-items: center; padding: 12%; border: 1px dashed var(--line-2); border-radius: 6px; }
.prints svg { width: 100%; height: auto; }
.pr-tent { left: 34%; top: 120px; display: grid; justify-items: center; gap: 8px; width: 36%; padding: 18px 14px; border-top: 8px solid #7F1D1D; transform: rotate(3deg); }
.pr-tent span, .pr-poster span { color: #7F1D1D; font: 800 20px/1 var(--font-d); letter-spacing: -.03em; text-align: center; }
.pr-tent i, .pr-poster i { display: block; width: 72%; }
.pr-poster { right: 0; top: 0; display: grid; justify-items: center; align-content: start; gap: 12px; width: 34%; aspect-ratio: 210 / 297; padding: 18px 12px; border-top: 8px solid var(--cobalt); transform: rotate(6deg); }
.pr-poster span { color: var(--cobalt); }
.pr-poster em { width: 80%; height: 24px; border-radius: 4px; background: linear-gradient(90deg, var(--s3) 30%, transparent 30% 35%, var(--s3) 35% 65%, transparent 65% 70%, var(--s3) 70%); }

/* estadísticas */
.statcard { padding: 22px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); box-shadow: var(--shadow); }
.sc-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.sc-kpis span { display: grid; }
.sc-kpis small { color: var(--muted); font-size: 13px; }
.sc-kpis b { font: 750 28px/1.1 var(--font-d); letter-spacing: -.03em; }
.sc-heat { display: grid; grid-template-columns: repeat(16, 1fr); gap: 4px; }
.sc-heat i { aspect-ratio: 1; border-radius: 4px; background: var(--s3); }
.sc-heat .l1 { background: #CBD4FF; } .sc-heat .l2 { background: #8FA2FF; } .sc-heat .l3 { background: #4F6BFF; } .sc-heat .l4 { background: var(--cobalt-d); }

/* precios */
.promo { display: grid; grid-template-columns: minmax(0, 1fr) 220px auto; gap: 18px; align-items: center; margin-bottom: 22px; padding: 18px 22px; border-radius: 16px; background: var(--night); color: #D7DCEC; }
.promo b { display: block; color: #fff; font: 700 20px var(--font-d); letter-spacing: -.02em; }
.promo span { font-size: 15px; }
.promo small { color: #fff; font-weight: 600; white-space: nowrap; }
.promo-meter { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.promo-meter i { display: block; width: var(--w, 0%); min-width: 4px; height: 100%; border-radius: inherit; background: var(--coral); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.plan { display: grid; align-content: start; gap: 14px; padding: 26px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); box-shadow: var(--shadow); }
.plan.hot { border-color: var(--cobalt); box-shadow: 0 0 0 1px var(--cobalt), var(--shadow-lg); }
.plan h3 { font-size: 24px; }
.plan-for { margin-top: -8px; color: var(--muted); font-size: 14.5px; }
.price { display: grid; gap: 2px; }
.price b { font: 800 44px/1 var(--font-d); letter-spacing: -.04em; }
.price span { color: var(--muted); font-size: 14px; }
.price s { color: var(--muted); }
.plan ul { display: grid; gap: 10px; margin: 4px 0 6px; padding: 0; list-style: none; }
.plan li { display: flex; gap: 10px; color: var(--text-2); font-size: 15px; }
.plan li .i { width: 18px; height: 18px; margin-top: 3px; color: var(--cobalt); }
.plan .btn { margin-top: auto; }

/* preguntas */
.faq > * { max-width: 820px; }
.faq h2 { margin-bottom: 24px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; font: 650 18px/1.35 var(--font-d); letter-spacing: -.015em; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex-shrink: 0; color: var(--cobalt); font-size: 24px; line-height: 1; transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; color: var(--text-2); }

/* cierre y pie */
.final { display: grid; justify-items: center; gap: 16px; max-width: var(--wrap); margin: clamp(64px, 9vw, 112px) auto 0; padding: clamp(48px, 7vw, 80px) var(--pad); border-radius: 28px; background: var(--night); color: #fff; text-align: center; box-sizing: border-box; }
.final p { max-width: 52ch; color: #C3CAE0; font-size: 18px; }
@media (max-width: 1260px) { .final { margin-left: var(--pad); margin-right: var(--pad); } }
/* ---------- pie de página: banda nocturna con el nombre gigante ---------- */
.foot { position: relative; isolation: isolate; overflow: hidden; margin-top: clamp(64px, 9vw, 112px); padding: 64px var(--pad) 0; background: #070B18; color: #9AA4C4; font-size: 15px; }
.foot::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: var(--grad); opacity: .8; }
.foot::after { content: ""; position: absolute; z-index: -1; left: 50%; top: -220px; width: 900px; height: 420px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(35, 71, 245, .32), transparent); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr)); gap: 32px; max-width: var(--wrap); margin: 0 auto; }
.foot .brand { color: #fff; font-size: 22px; }
.foot-brand p { max-width: 34ch; margin: 14px 0 20px; line-height: 1.6; }
.foot-col { display: grid; align-content: start; gap: 12px; }
.foot-col h2 { margin-bottom: 4px; color: #6F7A9E; font: 600 13px var(--font); letter-spacing: .02em; }
.foot-col a, .foot-col span { width: fit-content; color: #E6EAF7; font-weight: 600; text-decoration: none; }
.foot-col a { background: linear-gradient(90deg, #12B5F0, #FF6B4A) 0 100% / 0 1.5px no-repeat; transition: background-size .35s var(--ease), color .2s; }
.foot-col a:hover { color: #fff; background-size: 100% 1.5px; }
.libro-btn { display: inline-flex; align-items: center; gap: 12px; padding: 10px 16px 10px 12px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px; background: rgba(255, 255, 255, .04); color: #fff; text-decoration: none; transition: border-color .2s, background-color .2s, transform .3s var(--spring); }
.libro-btn:hover { border-color: rgba(18, 181, 240, .6); background: rgba(18, 181, 240, .08); transform: translateY(-2px); }
.libro-btn .libro-ic { width: 26px; height: 26px; color: #12B5F0; }
.libro-btn span { display: grid; font-weight: 700; font-size: 14.5px; line-height: 1.25; }
.libro-btn small { color: #8F9AC0; font-size: 11px; font-weight: 600; letter-spacing: .04em; }
.foot-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 24px; max-width: var(--wrap); margin: 48px auto 0; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13.5px; }
.foot-bar p { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.foot-sep { width: 1px; height: 16px; background: rgba(255, 255, 255, .18); }
.credito a { color: #fff; font-weight: 700; text-decoration: none; background: var(--grad) 0 100% / 100% 1.5px no-repeat; padding-bottom: 2px; }
.credito a:hover { background-size: 100% 100%; color: #fff; padding: 0 4px 2px; border-radius: 4px; }
.foot-word { max-width: 1100px; margin: 0 auto -6%; pointer-events: none; user-select: none; }
.foot-word svg { display: block; width: 100%; height: auto; overflow: visible; }
.foot-word text { fill: transparent; stroke: url(#fw-g); stroke-width: 1.6; font: 800 300px/1 var(--font-d); letter-spacing: -.04em; stroke-dasharray: 2600; stroke-dashoffset: 0; opacity: .55; }
.js .foot-word text { stroke-dashoffset: 2600; transition: stroke-dashoffset 3.2s var(--ease), opacity 1.2s; opacity: .2; }
.js .foot-word.on text { stroke-dashoffset: 0; opacity: .6; }

/* ---------- celular y tableta ---------- */
@media (max-width: 960px) {
    .hero, .split { grid-template-columns: minmax(0, 1fr); }
    .split.rev .sec-copy { order: 0; }
    .hero-stage { min-height: 480px; }
    .kits { grid-template-columns: minmax(0, 1fr); }
    .kit-tabs { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; }
    .phones, .plans { grid-template-columns: minmax(0, 1fr); max-width: 440px; }
    .promo { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 820px) {
    .burger { display: block; }
    .nav { position: absolute; top: 100%; left: var(--pad); right: var(--pad); display: none; flex-direction: column; align-items: stretch; padding: 10px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-lg); }
    .nav.open { display: flex; }
    .nav a { padding: 12px 14px; }
    .nav .nav-login { margin-left: 0; }
}
@media (max-width: 560px) {
    .hero h1 { font-size: 40px; }
    .hero-stage { min-height: 0; padding: 64px 0 70px; }
    .f-stats { padding: 10px 12px; } .f-stats b { font-size: 24px; }
    .swap { grid-template-columns: minmax(0, 1fr); }
    .swap-qr { max-width: 180px; }
    .kit-panel ul { grid-template-columns: minmax(0, 1fr); }
    .prints { height: 300px; }
    .hero-cta { flex-direction: column; } .hero-cta .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .band-track { animation: none; }
    .tent { transform: none; }
    *, *::before, *::after { transition-duration: .01ms !important; }
    .js .float, .js .swap-p b { opacity: 1; transform: none; }
}
