/* Tipografía alojada en la propia web (sin Google Fonts: no se envía la IP de nadie a terceros) */
@font-face { font-family: "Inter"; src: url("../fonts/InterVariable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
/* ZyraBus — web de presentación. Oscura, verde Zyra, animaciones suaves. */
:root {
  --bg: #0A0A0B;
  --bg-2: #111113;
  --surface: #151518;
  --surface-2: #1C1C20;
  --border: rgba(255, 255, 255, .08);
  --text: #F4F4F5;
  --text-2: #A1A1AA;
  --text-3: #71717A;
  --brand: #96FF0D;
  --brand-ink: #B6FF5C;
  --brand-tint: rgba(150, 255, 13, .12);
  --on-brand: #0A0A0B;
  --r: 22px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, .8);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html:not(.smooth) { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.55 "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  letter-spacing: -.011em; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
b { font-weight: 650; color: var(--text); }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
h1, h2, h3 { margin: 0; letter-spacing: -.035em; line-height: 1.05; }
h2 { font-size: clamp(32px, 5vw, 52px); font-weight: 750; }
h3 { font-size: 20px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
p { margin: 0; color: var(--text-2); }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); }
.small { font-size: 14px; }
.muted { color: var(--text-3); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 8px; }

/* ---------- botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 24px;
  border-radius: 16px; font-weight: 650; font-size: 16px; cursor: pointer; border: 0;
  transition: transform .35s var(--spring), box-shadow .35s var(--ease), background .25s;
}
.btn:active { transform: scale(.96); }
.btn-brand { background: var(--brand); color: var(--on-brand); box-shadow: 0 10px 40px -12px rgba(150, 255, 13, .55); }
.btn-brand:hover { transform: translateY(-2px); box-shadow: 0 18px 50px -12px rgba(150, 255, 13, .7); }
.btn-ghost { background: rgba(255, 255, 255, .06); color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14px; border-radius: 12px; }
.btn-lg { height: 60px; padding: 0 30px; font-size: 17px; }
.link { color: var(--brand-ink); font-weight: 600; border-bottom: 1px solid rgba(182, 255, 92, .35); }

/* ---------- navegación ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; padding: 14px 0;
  transition: background .3s, backdrop-filter .3s, border-color .3s; border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(10, 10, 11, .72); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-color: var(--border); }
.nav-in { display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 750; font-size: 19px; letter-spacing: -.03em; }
.brand img { border-radius: 9px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; font-size: 15px; font-weight: 500; color: var(--text-2); }
.nav-links a { transition: color .2s; }
.nav-links a:hover { color: var(--text); }

/* ---------- barra de progreso ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 60; pointer-events: none; }
.progress i { display: block; height: 100%; background: var(--brand); transform-origin: 0 50%; transform: scaleX(0); box-shadow: 0 0 12px rgba(150,255,13,.6); }

/* ---------- portada ---------- */
.hero { position: relative; min-height: 100svh; padding: 140px 0 110px; overflow: hidden; display: flex; align-items: center; }
.aurora { position: absolute; inset: -20%; pointer-events: none; filter: blur(70px); opacity: .9; }
.aurora i { position: absolute; border-radius: 50%; mix-blend-mode: screen; }
.aurora i:nth-child(1) { width: 46vw; height: 46vw; left: 48%; top: 12%; background: radial-gradient(circle, rgba(150,255,13,.30), transparent 65%); animation: blob1 18s ease-in-out infinite; }
.aurora i:nth-child(2) { width: 38vw; height: 38vw; left: 10%; top: 2%; background: radial-gradient(circle, rgba(60,200,140,.18), transparent 65%); animation: blob2 22s ease-in-out infinite; }
.aurora i:nth-child(3) { width: 30vw; height: 30vw; left: 62%; top: 50%; background: radial-gradient(circle, rgba(200,255,120,.14), transparent 65%); animation: blob1 26s ease-in-out -8s infinite reverse; }
@keyframes blob1 { 33% { transform: translate(-8vw, 6vh) scale(1.15); } 66% { transform: translate(4vw, -5vh) scale(.9); } }
@keyframes blob2 { 50% { transform: translate(10vw, 10vh) scale(1.2); } }
.grid-bg {
  position: absolute; inset: 0; pointer-events: none; opacity: .45;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse at 60% 40%, #000 15%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 15%, transparent 70%);
}
.hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; will-change: transform, opacity; }
.hero-title { font-size: clamp(50px, 7.4vw, 96px); font-weight: 850; letter-spacing: -.058em; line-height: .98; margin: 0 0 26px; }
.hero-title em { font-style: normal; background: linear-gradient(100deg, var(--brand) 20%, #E4FFB8 50%, var(--brand) 80%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 6s linear 2s infinite; }
.hero-title em .ch { background: inherit; background-size: inherit; -webkit-background-clip: text; background-clip: text; }
@keyframes shine { to { background-position: -200% 0; } }
.split .ch, [data-split] .ch { display: inline-block; opacity: 0; filter: blur(14px); transform: translateY(.45em) rotate(4deg); transition: opacity .9s var(--ease), filter .9s var(--ease), transform 1s var(--ease); transition-delay: var(--cd, 0ms); }
[data-split].in .ch { opacity: 1; filter: blur(0); transform: none; }
[data-split] .wd { display: inline-block; white-space: nowrap; }
.lead { font-size: clamp(18px, 2vw, 21px); max-width: 520px; }
.fade-up { opacity: 0; transform: translateY(24px); filter: blur(6px); animation: fadeUp 1.1s var(--ease) var(--d, 0ms) forwards; }
@keyframes fadeUp { to { opacity: 1; transform: none; filter: blur(0); } }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 26px; }
.hero-cta .btn-brand svg { transition: transform .35s var(--spring); }
.hero-cta .btn-brand:hover svg { transform: translateX(4px); }
.hero-facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 15px; color: var(--text-2); }
.hero-facts li { display: inline-flex; align-items: center; gap: 7px; }
.hero-facts svg { width: 17px; height: 17px; color: var(--brand); }
.magnetic { will-change: transform; }
.magnetic > * { pointer-events: none; }

/* móviles */
.phone {
  position: relative; border-radius: 46px; padding: 11px; background: linear-gradient(145deg, #2a2a2e, #0f0f11);
  box-shadow: var(--shadow), inset 0 0 0 1.5px rgba(255,255,255,.08); aspect-ratio: 390 / 844;
}
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; width: 30%; height: 24px; transform: translateX(-50%); background: #000; border-radius: 20px; z-index: 5; }
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 36px; overflow: hidden; background: #000; }
.phone-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.hero-visual { position: relative; height: 660px; perspective: 1400px; }
.hero-visual .phone { position: absolute; will-change: transform; }
.phone-main { width: 290px; right: 160px; top: 10px; }
.phone-lock { width: 270px; right: 0; top: 100px; }
.float-chip {
  position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: 9px; padding: 11px 16px; border-radius: 16px; font-size: 15px; font-weight: 650;
  background: rgba(28,28,32,.72); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: var(--shadow); white-space: nowrap; will-change: transform;
}
.float-chip svg { width: 17px; height: 17px; color: var(--brand); }
.chip-1 { left: 0; top: 150px; }
.chip-2 { right: 40px; bottom: 30px; }
.live { width: 9px; height: 9px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 0 rgba(150,255,13,.6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(150,255,13,0); } 100% { box-shadow: 0 0 0 0 rgba(150,255,13,0); } }
.scroll-hint { position: absolute; left: 50%; bottom: 28px; width: 26px; height: 42px; margin-left: -13px; border-radius: 14px; border: 2px solid rgba(255,255,255,.25); z-index: 2; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--brand); animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* pantalla de bloqueo simulada */
.lock {
  background: radial-gradient(120% 70% at 50% 0%, #1d3a0a 0%, transparent 60%), linear-gradient(180deg, #0c1a05, #050505 70%);
  padding: 58px 12px 16px; display: flex; flex-direction: column; align-items: center; color: #fff;
}
.lock-time { font-size: 64px; font-weight: 700; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.lock-date { font-size: 14px; opacity: .75; margin: 6px 0 26px; }
.media-card, .notif { width: 100%; border-radius: 20px; background: rgba(40, 40, 44, .72); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.media-card { position: relative; display: grid; grid-template-columns: 46px 1fr; gap: 6px 10px; padding: 12px; }
.media-art { width: 46px; height: 46px; border-radius: 11px; }
.media-txt { display: grid; align-content: center; min-width: 0; }
.media-txt b { color: #fff; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.media-txt span { font-size: 12px; opacity: .7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.media-bar { grid-column: 1 / -1; height: 4px; border-radius: 4px; background: rgba(255,255,255,.18); overflow: hidden; margin-top: 6px; }
.media-bar i { display: block; height: 100%; width: 40%; background: #fff; border-radius: 4px; transition: width 1s linear; }
.media-ctrl { grid-column: 1 / -1; display: flex; justify-content: center; padding-top: 4px; }
.media-ctrl svg { width: 26px; height: 26px; fill: #fff; stroke: none; }
.notif { display: flex; gap: 10px; align-items: flex-start; padding: 11px 12px; margin-top: 10px; animation: notifIn 1s var(--spring) 1.4s both; }
.notif img { width: 30px; height: 30px; border-radius: 8px; }
.notif b { display: block; color: #fff; font-size: 13px; }
.notif span { display: block; font-size: 12px; opacity: .75; line-height: 1.35; }
@keyframes notifIn { from { opacity: 0; transform: translateY(-14px) scale(.96); } }

/* ---------- cinta ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--border); background: var(--bg-2); padding: 20px 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 28px; width: max-content; will-change: transform; }
.marquee span { font-size: 22px; font-weight: 700; letter-spacing: -.02em; white-space: nowrap; color: var(--text-2); }
.marquee i { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); flex: none; }

/* ---------- secciones ---------- */
.section { padding: 120px 0; }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--border); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head p { font-size: 19px; margin-top: 16px; }
.kicker { display: inline-block; font-size: 14px; font-weight: 700; letter-spacing: .02em; color: var(--brand-ink); margin-bottom: 14px; text-transform: uppercase; }

/* ---------- funciones (bento) ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  position: relative; overflow: hidden; padding: 28px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 12px; isolation: isolate;
}
.card p { font-size: 16px; }
.card .ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--brand-tint); color: var(--brand); margin-bottom: 6px; }
.card .ic img { border-radius: 6px; }
.span-2 { grid-column: span 2; flex-direction: row; align-items: center; gap: 28px; padding-block: 0; }
.span-2 .card-txt { display: flex; flex-direction: column; gap: 12px; padding: 32px 0 32px 4px; flex: 1; }
.span-2.row-reverse { flex-direction: row-reverse; }
.span-2.row-reverse .card-txt { padding-right: 4px; }
.card-shot {
  width: 200px; height: 300px; object-fit: cover; object-position: top; align-self: flex-end; margin-top: 28px; flex: none;
  border-radius: 26px 26px 0 0; border: 6px solid #232327; border-bottom: 0; box-shadow: var(--shadow); transition: transform .6s var(--ease);
  -webkit-mask-image: linear-gradient(#000 75%, transparent); mask-image: linear-gradient(#000 75%, transparent);
}
.card:hover .card-shot { transform: translateY(-8px); }
.spot::before { /* luz que sigue al ratón */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(150, 255, 13, .1), transparent 60%);
}
.spot:hover::before { opacity: 1; }

/* ---------- guaguas y tranvía ---------- */
.modes { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.modes-copy p { font-size: 19px; margin: 16px 0 28px; }
.switch { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 5px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); min-width: 320px; }
.switch button { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 8px; height: 48px; border: 0; background: none; color: var(--text-2); font: inherit; font-weight: 650; cursor: pointer; transition: color .3s; }
.switch button.active { color: var(--on-brand); }
.switch-thumb { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 13px; background: var(--brand); transition: transform .55s var(--spring); }
.switch.tram .switch-thumb { transform: translateX(100%); }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; color: var(--text-2); }
.checks li { display: flex; gap: 10px; align-items: center; }
.checks li::before { content: ""; width: 20px; height: 20px; border-radius: 50%; flex: none; background: var(--brand-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2396FF0D' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.phone-mode { width: min(330px, 100%); margin-inline: auto; }
.phone-mode img { transition: opacity .35s var(--ease), transform .5s var(--ease); }
.phone-mode img.swap { opacity: 0; transform: scale(.97); }

/* ---------- comparativa ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--border); background: var(--surface); }
.compare { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 520px; }
.compare th, .compare td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--border); }
.compare tr:last-child td { border-bottom: 0; }
.compare th { font-size: 15px; color: var(--text-2); font-weight: 600; }
.compare th.us { color: var(--text); }
.compare th.us img { display: inline-block; vertical-align: -5px; margin-right: 8px; border-radius: 6px; }
.compare td:first-child { color: var(--text); font-weight: 500; }
.compare .us { background: rgba(150, 255, 13, .04); }
.compare .yes { color: var(--brand-ink); font-weight: 650; }
.compare .no { color: var(--text-3); }

/* ---------- instalar ---------- */
.install { max-width: 640px; }
.tabs { display: inline-flex; gap: 6px; padding: 5px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); margin-bottom: 26px; }
.tabs button { height: 42px; padding: 0 22px; border-radius: 12px; border: 0; background: none; color: var(--text-2); font: inherit; font-weight: 650; cursor: pointer; transition: background .25s, color .25s; }
.tabs button.active { background: var(--surface-2); color: var(--text); }
.install-steps[hidden] { display: none; }
.install-steps { list-style: none; counter-reset: s; padding: 0; margin: 0 0 30px; display: grid; gap: 12px; }
.install-steps li { counter-increment: s; position: relative; padding: 18px 20px 18px 66px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); }
.install-steps li::before { content: counter(s); position: absolute; left: 18px; top: 18px; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--brand); color: var(--on-brand); font-weight: 800; }
.install-steps b { display: block; }
.install-steps span { color: var(--text-2); font-size: 15px; }
.install .small { margin-top: 14px; }

.install-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.install-grid .section-head { margin-bottom: 0; }
.install-go { width: 100%; margin-bottom: 4px; }
.kbd { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 6px; margin: 0 2px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--border); font-style: normal; vertical-align: -6px; }
.kbd svg { width: 15px; height: 15px; }
.qr-card { display: flex; gap: 22px; align-items: center; margin-top: 34px; padding: 18px; border-radius: 24px; background: var(--surface); border: 1px solid var(--border); }
.qr-card b { display: block; font-size: 18px; margin-bottom: 6px; }
.qr-card span { color: var(--text-2); font-size: 15px; }
.qr-box { position: relative; flex: none; width: 168px; height: 168px; padding: 12px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 6px rgba(150,255,13,.12), 0 20px 50px -20px rgba(150,255,13,.5); }
.qr-box img:first-child { width: 100%; height: 100%; }
.qr-logo { position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; margin: -15px; border-radius: 8px; border: 3px solid #fff; box-sizing: content-box; }
.is-mobile .only-desktop, .is-desktop .only-mobile { display: none !important; }

/* ---------- preguntas ---------- */
.faq { display: grid; gap: 10px; }
.faq details { border-radius: 18px; background: var(--surface); border: 1px solid var(--border); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font-weight: 650; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--text-2); border-bottom: 2px solid var(--text-2); transform: translateY(-70%) rotate(45deg); transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .ans { overflow: hidden; }
.faq details p { padding: 0 22px 22px; font-size: 16px; }
.faq a { color: var(--brand-ink); }


/* ---------- frase que se ilumina ---------- */
.statement { padding: 160px 0 40px; }
.scroll-words { font-size: clamp(30px, 4.6vw, 60px); font-weight: 750; letter-spacing: -.045em; line-height: 1.12; color: var(--text); max-width: 1040px; }
.scroll-words .sw { opacity: .14; transition: opacity .25s linear, color .25s; }
.scroll-words .sw.on { opacity: 1; }
.scroll-words .sw.hl.on { color: var(--brand); }

/* ---------- historia fija ---------- */
.story { position: relative; height: calc(var(--steps) * 85vh + 100vh); }
.story-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.story-in { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.story-steps { position: relative; min-height: 250px; margin-top: 6px; }
.story-step { position: absolute; inset: 0 0 auto; opacity: 0; transform: translateY(40px); filter: blur(10px); transition: opacity .7s var(--ease), transform .8s var(--ease), filter .7s var(--ease); pointer-events: none; }
.story-step.past { transform: translateY(-40px); }
.story-step.active { opacity: 1; transform: none; filter: blur(0); pointer-events: auto; }
.story-step .n { display: block; font-size: 15px; font-weight: 800; color: var(--brand); margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.story-step h2 { font-size: clamp(34px, 4.4vw, 58px); letter-spacing: -.045em; }
.story-step p { font-size: clamp(18px, 1.8vw, 21px); margin-top: 18px; max-width: 460px; }
.story-dots { display: flex; gap: 8px; margin-top: 30px; }
.story-dots i { width: 8px; height: 8px; border-radius: 8px; background: rgba(255,255,255,.18); transition: width .5s var(--ease), background .4s; }
.story-dots i.on { width: 30px; background: var(--brand); }
.story-phone { position: relative; display: grid; place-items: center; }
.story-phone .phone { width: min(320px, 72vw); z-index: 1; will-change: transform; }
.story-glow { position: absolute; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle, rgba(150,255,13,.2), transparent 65%); filter: blur(20px); }
.screens .scr { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transform: scale(1.06); filter: blur(6px); transition: opacity .6s var(--ease), transform .8s var(--ease), filter .6s var(--ease); }
.screens .scr.on { opacity: 1; transform: none; filter: blur(0); }
.screens { text-align: left; }
.screens .scr.lock { display: flex; }

/* ---------- cifras ---------- */
.numbers { padding: 40px 0 120px; }
.numbers-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.num { padding: 30px 26px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--border); }
.num b { display: block; font-size: clamp(40px, 5vw, 64px); font-weight: 850; letter-spacing: -.05em; line-height: 1; color: var(--brand); font-variant-numeric: tabular-nums; }
.num span { display: block; margin-top: 10px; color: var(--text-2); font-size: 16px; }

/* inclinación 3D de las tarjetas */
.tilt { transform-style: preserve-3d; transition: transform .5s var(--ease), border-color .3s; will-change: transform; }
.tilt:hover { border-color: rgba(150,255,13,.25); }

/* ---------- privacidad: tarjetas que se apilan ---------- */
.section-head.center { text-align: center; margin-inline: auto; }
.stack { display: grid; gap: 22px; max-width: 760px; margin-inline: auto; padding-bottom: 40px; }
.stack-card {
  position: sticky; top: calc(110px + var(--i, 0) * 22px); display: flex; gap: 22px; align-items: flex-start;
  padding: 34px; border-radius: 28px; border: 1px solid var(--border); transform-origin: 50% 0;
  background: radial-gradient(90% 120% at 0% 0%, rgba(150,255,13,.09), transparent 60%), #17171A; box-shadow: 0 -20px 60px -20px rgba(0,0,0,.9);
  will-change: transform;
}
.stack-card h3 { font-size: clamp(22px, 2.6vw, 28px); margin-bottom: 8px; }
.stack-card p { font-size: 17px; }
.stack-ic { width: 56px; height: 56px; border-radius: 17px; display: grid; place-items: center; background: var(--brand); color: var(--on-brand); flex: none; }
.stack-ic svg { width: 26px; height: 26px; }

/* ---------- llamada final ---------- */
.cta-final { padding: 160px 0; text-align: center; position: relative; overflow: hidden; }
.cta-final::before { content: ""; position: absolute; inset: 0; background: radial-gradient(520px 320px at 50% 45%, rgba(150,255,13,.16), transparent 70%); pointer-events: none; }
.cta-rings { position: absolute; left: 50%; top: 45%; pointer-events: none; }
.cta-rings i { position: absolute; left: 0; top: 0; width: 300px; height: 300px; margin: -150px; border-radius: 50%; border: 1px solid rgba(150,255,13,.25); animation: ring 6s var(--ease) infinite; opacity: 0; }
.cta-rings i:nth-child(2) { animation-delay: 2s; }
.cta-rings i:nth-child(3) { animation-delay: 4s; }
@keyframes ring { 0% { transform: scale(.4); opacity: 0; } 20% { opacity: 1; } 100% { transform: scale(3.2); opacity: 0; } }
.cta-final .wrap { position: relative; display: grid; justify-items: center; gap: 28px; }
.cta-logo { width: 220px; height: auto; }
.cta-final h2 { max-width: 760px; font-size: clamp(36px, 5.6vw, 68px); }

/* ---------- pie ---------- */
.footer { border-top: 1px solid var(--border); padding: 44px 0 36px; background: var(--bg-2); }
.footer-in { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; align-items: flex-start; }
.footer .brand { margin-bottom: 8px; }
.footer-links { display: flex; gap: 26px; flex-wrap: wrap; color: var(--text-2); font-size: 15px; }
.footer-links a:hover { color: var(--text); }
.legal-note { margin-top: 30px; font-size: 13px; color: var(--text-3); max-width: 820px; }

.footer { position: relative; overflow: hidden; }
.footer-giant {
  font-size: clamp(90px, 21vw, 300px); font-weight: 900; letter-spacing: -.07em; line-height: .8; text-align: center; margin: 40px 0 -.12em;
  background: linear-gradient(180deg, rgba(150,255,13,.22), rgba(150,255,13,0) 85%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none;
  transform: translateY(var(--gy, 30%)); will-change: transform;
}

/* ---------- aparición al hacer scroll ---------- */
.reveal { opacity: 0; filter: blur(10px); transform: translateY(40px) scale(.98); transition: opacity 1s var(--ease), filter 1s var(--ease), transform 1.1s var(--ease); }
.reveal.in { opacity: 1; filter: blur(0); transform: none; }
.reveal.tilt.in { transition: opacity 1s var(--ease), filter 1s var(--ease), transform .5s var(--ease), border-color .3s; }


/* ---------- menú del móvil (Staggered Menu) ---------- */
.sm-toggle {
  display: none; align-items: center; gap: 10px; height: 40px; padding: 0 4px 0 10px; border: 0; background: none; color: var(--text);
  font: inherit; font-weight: 650; font-size: 15px; cursor: pointer; position: relative; z-index: 2; -webkit-tap-highlight-color: transparent;
  transition: color .3s;
}
.sm-tt { display: inline-block; height: 1.3em; line-height: 1.3em; overflow: hidden; }
.sm-tt-in { display: flex; flex-direction: column; transition: transform .6s cubic-bezier(.16,1,.3,1); }
.sm-icon { position: relative; width: 16px; height: 16px; transition: transform .35s cubic-bezier(.7,0,.84,0); }
.sm-icon i { position: absolute; left: 0; top: 50%; width: 100%; height: 2px; margin-top: -1px; border-radius: 2px; background: currentColor; }
.sm-icon i:last-child { transform: rotate(90deg); }
.nav.menu-open .sm-tt-in { transform: translateY(-50%); }
.nav.menu-open .sm-icon { transform: rotate(225deg); transition: transform .8s cubic-bezier(.16,1,.3,1); }
.nav.menu-open .sm-toggle { color: var(--brand); }
.nav.menu-open { background: transparent !important; border-color: transparent !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
.nav.menu-open .btn-sm { opacity: 0; pointer-events: none; transform: scale(.9); }
.nav .btn-sm { transition: opacity .3s, transform .35s var(--spring), box-shadow .35s var(--ease); }

.sm { position: fixed; inset: 0; z-index: 45; pointer-events: none; visibility: hidden; transition: visibility 0s linear .7s; }
.sm.open { pointer-events: auto; visibility: visible; transition: none; }
.sm-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.55); opacity: 0; transition: opacity .4s; }
.sm.open .sm-backdrop { opacity: 1; }
.sm-pre i, .sm-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(100%, 440px); transform: translateX(102%); transition: transform .32s cubic-bezier(.7,0,.84,0); }
.sm-pre i:nth-child(1) { background: #2B4A0A; transition-delay: .12s; }
.sm-pre i:nth-child(2) { background: var(--brand); transition-delay: .06s; }
.sm.open .sm-pre i, .sm.open .sm-panel { transform: none; transition: transform .65s cubic-bezier(.16,1,.3,1); }
.sm.open .sm-pre i:nth-child(1) { transition-delay: 0s; }
.sm.open .sm-pre i:nth-child(2) { transition-delay: .09s; }
.sm.open .sm-panel { transition-delay: .18s; }
.sm-panel { display: flex; flex-direction: column; padding: 110px 28px 34px; overflow-y: auto; background: #0E0E10; box-shadow: -30px 0 80px rgba(0,0,0,.5); }
.sm-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; counter-reset: smi; }
.sm-list li { counter-increment: smi; }
.sm-list li:nth-child(1) { --k: 0; } .sm-list li:nth-child(2) { --k: 1; } .sm-list li:nth-child(3) { --k: 2; } .sm-list li:nth-child(4) { --k: 3; } .sm-list li:nth-child(5) { --k: 4; }
.sm-item { position: relative; display: block; overflow: hidden; padding: 2px 44px 6px 0; line-height: 1; }
.sm-label {
  display: inline-block; font-size: clamp(38px, 11vw, 54px); font-weight: 800; letter-spacing: -.05em; text-transform: uppercase; color: var(--text);
  transform: translateY(140%) rotate(10deg); transform-origin: 50% 100%; transition: transform .3s cubic-bezier(.7,0,.84,0), color .25s;
}
.sm-item::after { content: counter(smi, decimal-leading-zero); position: absolute; right: 8px; top: 8px; font-size: 15px; font-weight: 600; color: var(--brand); opacity: 0; transition: opacity .2s; }
.sm.open .sm-label { transform: none; transition: transform 1s cubic-bezier(.16,1,.3,1), color .25s; transition-delay: calc(.38s + var(--k, 0) * .1s), 0s; }
.sm.open .sm-item::after { opacity: 1; transition: opacity .6s; transition-delay: calc(.55s + var(--k, 0) * .08s); }
.sm-item:hover .sm-label, .sm-item:focus-visible .sm-label, .sm-item:active .sm-label { color: var(--brand); }
.sm-foot { margin-top: auto; padding-top: 40px; display: grid; gap: 26px; opacity: 0; transform: translateY(20px); transition: opacity .25s, transform .25s; }
.sm.open .sm-foot { opacity: 1; transform: none; transition: opacity .6s .85s, transform .8s cubic-bezier(.16,1,.3,1) .85s; }
.sm-cta { width: 100%; }
.sm-links { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: baseline; }
.sm-links-title { width: 100%; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--brand-ink); }
.sm-links a { color: var(--text-2); font-size: 16px; font-weight: 500; }
.sm-links a:hover { color: var(--text); }
html.sm-lock, html.sm-lock body { overflow: hidden; }

/* ---------- muro que flota (Drift Wall) ---------- */
.drift { position: relative; height: clamp(560px, 82vh, 760px); overflow: hidden; display: grid; place-items: center; border-block: 1px solid var(--border); background: #070708; }
.drift-stage { position: absolute; inset: 0; perspective: 1100px; perspective-origin: 50% 40%; }
.drift-plane {
  position: absolute; left: 50%; top: 50%; width: 2400px; display: grid; gap: 22px; transform-style: preserve-3d;
  transform: translate(-50%, -50%) rotateX(42deg) rotateZ(-16deg) scale(1.05);
}
.dw-row { transform-style: preserve-3d; }
.dw-track { display: flex; gap: 22px; width: max-content; transform-style: preserve-3d; animation: dw var(--dur, 50s) linear infinite; }
.dw-row:nth-child(even) .dw-track { animation-direction: reverse; }
@keyframes dw { to { transform: translateX(calc(-50% - 11px)); } }
.drift.paused .dw-track { animation-play-state: paused; }
.dw-tile {
  position: relative; flex: none; width: 190px; height: 240px; border-radius: 22px; overflow: hidden; background: var(--surface); border: 1px solid rgba(255,255,255,.08);
  transition: transform .5s var(--spring), box-shadow .5s var(--ease), border-color .3s; box-shadow: 0 20px 40px -20px rgba(0,0,0,.8);
}
.dw-tile:hover { transform: translateZ(60px) translateY(-10px); border-color: rgba(150,255,13,.55); box-shadow: 0 40px 70px -20px rgba(150,255,13,.35); }
.dw-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; pointer-events: none; }
.dw-txt { display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 22px; background: radial-gradient(120% 90% at 0% 0%, rgba(150,255,13,.1), transparent 60%), var(--surface); }
.dw-txt small { font-size: 14px; color: var(--text-3); font-weight: 600; }
.dw-txt b { font-size: 24px; line-height: 1.1; letter-spacing: -.03em; font-weight: 750; }
.dw-big b { font-size: 44px; color: var(--brand); }
.dw-brand { background: var(--brand); border-color: transparent; }
.dw-brand small { color: rgba(10,10,11,.6); }
.dw-brand b { color: var(--on-brand); }
.drift-fade { position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background:
    radial-gradient(46% 42% at 50% 50%, rgba(7,7,8,.92), rgba(7,7,8,.5) 55%, transparent 80%),
    linear-gradient(#070708, transparent 22%, transparent 78%, #070708),
    linear-gradient(90deg, #070708, transparent 16%, transparent 84%, #070708); }
.drift-copy { position: relative; z-index: 2; text-align: center; max-width: 640px; padding: 0 20px; pointer-events: none; }
.drift-copy h2 { font-size: clamp(34px, 5vw, 60px); letter-spacing: -.045em; }
.drift-copy p { font-size: clamp(17px, 1.8vw, 20px); margin-top: 16px; color: var(--text-2); }
@media (max-width: 760px) {
  .drift { height: 560px; }
  .drift-plane { width: 1500px; gap: 14px; transform: translate(-50%, -50%) rotateX(40deg) rotateZ(-16deg) scale(.95); }
  .dw-track { gap: 14px; animation-name: dwm; }
  @keyframes dwm { to { transform: translateX(calc(-50% - 7px)); } }
  .dw-tile { width: 130px; height: 168px; border-radius: 16px; }
  .dw-txt { padding: 14px; }
  .dw-txt small { font-size: 11px; }
  .dw-txt b { font-size: 17px; }
  .dw-big b { font-size: 30px; }
  .drift-fade { background:
    radial-gradient(95% 34% at 50% 50%, rgba(7,7,8,.96), rgba(7,7,8,.75) 55%, rgba(7,7,8,.2) 90%),
    linear-gradient(#070708, transparent 20%, transparent 80%, #070708); }
}

/* ---------- tablet / móvil ---------- */
@media (max-width: 980px) {
  .hero { padding-top: 120px; min-height: 0; }
  .hero-in, .modes, .install-grid { grid-template-columns: 1fr; }
  .install-grid { gap: 36px; }
  .hero-visual { height: 580px; max-width: 480px; width: 100%; margin: 30px auto 0; }
  .phone-main { width: 250px; right: auto; left: 20px; }
  .phone-lock { width: 230px; top: 80px; }
  .chip-1 { left: -6px; top: 330px; }
  .chip-2 { right: 0; bottom: 10px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .numbers-in { grid-template-columns: 1fr 1fr; }
  .story-in { grid-template-columns: 1fr; gap: 20px; justify-items: center; text-align: center; }
  .story-text { order: 2; width: 100%; }
  .story-phone .phone { width: min(250px, 58vw, calc(52svh * 390 / 844)); }
  .story-steps { min-height: 190px; }
  .story-step p { margin-inline: auto; }
  .story-dots { justify-content: center; margin-top: 10px; }
  .story-glow { width: 320px; height: 320px; }
  .story .kicker { display: none; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-links { display: none; }
  .nav .btn-sm { margin-left: auto; }
  .sm-toggle { display: inline-flex; }
  .section { padding: 90px 0; }
  .section-head { margin-bottom: 38px; }
  .hero { padding: 110px 0 80px; }
  .hero-visual { height: 470px; }
  .phone { border-radius: 38px; padding: 9px; }
  .phone-screen { border-radius: 30px; }
  .phone-main { width: 205px; left: 4px; }
  .phone-lock { width: 195px; top: 64px; }
  .float-chip { font-size: 13px; padding: 9px 12px; }
  .chip-1 { top: 250px; left: -4px; }
  .lock { padding-top: 46px; }
  .lock-time { font-size: 46px; }
  .lock-date { margin-bottom: 18px; }
  .scroll-hint { display: none; }
  .statement { padding: 110px 0 20px; }
  .bento { grid-template-columns: 1fr; }
  .span-2, .span-2.row-reverse { grid-column: auto; flex-direction: column; align-items: stretch; padding: 28px 28px 0; }
  .span-2 .card-txt { padding: 0; }
  .card-shot { align-self: center; width: 190px; height: 250px; }
  .numbers { padding: 20px 0 90px; }
  .num { padding: 22px 18px; }
  .num span { font-size: 14px; }
  .compare { min-width: 0; font-size: 14.5px; }
  .compare th, .compare td { padding: 14px 12px; }
  .compare td:first-child { width: 48%; }
  .switch { min-width: 0; width: 100%; }
  .stack-card { flex-direction: column; gap: 16px; padding: 26px; top: calc(90px + var(--i, 0) * 16px); }
  .cta-final { padding: 110px 0; }
  .hero-cta .btn { flex: 1 1 auto; }
  .story-step h2 { font-size: 30px; }
  .story-step p { font-size: 16px; margin-top: 10px; }
  .story-steps { min-height: 170px; }
}
@media (max-height: 700px) and (max-width: 980px) {
  .story-phone .phone { width: min(200px, 50vw); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .fade-up, [data-split] .ch { opacity: 1 !important; filter: none !important; transform: none !important; }
  .scroll-words .sw { opacity: 1; }
  .dw-track { animation: none !important; }
  .sm-label { transform: none !important; }
}

/* ---------- pie: columnas y redes ---------- */
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-cols > div { display: grid; gap: 10px; align-content: start; }
.footer-cols b { font-size: 13px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--text-3); margin-bottom: 4px; }
.footer-cols a { color: var(--text-2); font-size: 15px; transition: color .2s; }
.footer-cols a:hover { color: var(--text); }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; color: var(--text-2); background: rgba(255,255,255,.05); border: 1px solid var(--border); transition: color .25s, background .25s, transform .35s var(--spring); }
.social a:hover { color: var(--on-brand); background: var(--brand); transform: translateY(-3px); }
.social svg { width: 20px; height: 20px; }
.sm-social { display: flex; gap: 10px; }
.sm-social a { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; color: var(--text); background: rgba(255,255,255,.06); border: 1px solid var(--border); }
.sm-social svg { width: 24px; height: 24px; }
@media (max-width: 760px) {
  .footer-cols { gap: 34px 48px; }
}

/* ---------- páginas legales ---------- */
.legal-page { padding: 130px 0 100px; }
.legal-page h1 { font-size: clamp(38px, 6vw, 60px); font-weight: 800; margin: 12px 0 8px; }
.legal-meta { color: var(--text-3); font-size: 14px; }
.legal-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 8px; }
.legal-tabs a { padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--text-2); background: var(--surface); border: 1px solid var(--border); transition: color .2s, border-color .2s; }
.legal-tabs a:hover { color: var(--text); }
.legal-tabs a[aria-current="page"] { color: var(--on-brand); background: var(--brand); border-color: transparent; }
.legal-body { margin-top: 28px; }
.legal-body h2 { font-size: 24px; letter-spacing: -.025em; margin: 44px 0 12px; }
.legal-body h3 { font-size: 18px; margin: 28px 0 10px; }
.legal-body p, .legal-body li, .legal-body dd { color: var(--text-2); font-size: 16.5px; line-height: 1.7; }
.legal-body p + p { margin-top: 12px; }
.legal-body ul { padding-left: 20px; display: grid; gap: 12px; margin: 14px 0; }
.legal-body a { color: var(--brand-ink); text-decoration: underline; text-decoration-color: rgba(182,255,92,.35); text-underline-offset: 3px; }
.legal-body a.btn { color: var(--on-brand); text-decoration: none; }
.legal-body b { color: var(--text); }
.data { display: grid; grid-template-columns: max-content 1fr; gap: 12px 26px; margin: 16px 0; padding: 22px 24px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); }
.data dt { font-size: 14px; font-weight: 600; color: var(--text-3); padding-top: 3px; }
.data dd { margin: 0; color: var(--text); }
mark.fill { background: #FFD60A; color: #0A0A0B; padding: 1px 6px; border-radius: 5px; font-weight: 600; }
.summary { padding: 22px 26px; border-radius: 20px; margin: 6px 0 26px; background: radial-gradient(90% 140% at 0% 0%, rgba(150,255,13,.1), transparent 60%), var(--surface); border: 1px solid rgba(150,255,13,.2); }
.summary > b { display: block; font-size: 18px; margin-bottom: 8px; color: var(--text); }
.summary ul { margin: 0; }
.summary.ok > b { color: var(--brand); font-size: 22px; }
.ctable { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; border-radius: 16px; overflow: hidden; background: var(--surface); }
.ctable th, .ctable td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--border); color: var(--text-2); }
.ctable th { color: var(--text-3); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.ctable tr:last-child td { border-bottom: 0; }
.hub { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 26px; }
.hub a { display: grid; gap: 6px; padding: 24px; border-radius: 20px; background: var(--surface); border: 1px solid var(--border); text-decoration: none !important; transition: border-color .25s, transform .35s var(--spring); }
.hub a:hover { border-color: rgba(150,255,13,.4); transform: translateY(-3px); }
.hub b { font-size: 19px; }
.hub span { color: var(--text-2); font-size: 15px; line-height: 1.5; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
@media (max-width: 760px) {
  .legal-page { padding: 110px 0 70px; }
  .data { grid-template-columns: 1fr; gap: 2px; }
  .data dd { margin-bottom: 12px; }
  .hub { grid-template-columns: 1fr; }
  .ctable { font-size: 13.5px; }
  .ctable th, .ctable td { padding: 11px 10px; }
}
.sm-links .sm-social { width: 100%; margin: 2px 0 8px; }

/* ---------- aviso de cookies (informativo) ---------- */
.cookie-note {
  position: fixed; z-index: 60; left: 20px; bottom: 20px; width: min(440px, calc(100% - 40px));
  display: grid; grid-template-columns: auto 1fr; gap: 14px 14px; align-items: center; padding: 18px 18px 18px 18px;
  border-radius: 20px; background: rgba(24,24,28,.92); border: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%);
  box-shadow: 0 30px 70px -20px rgba(0,0,0,.8);
  opacity: 0; transform: translateY(24px) scale(.97); transition: opacity .45s var(--ease), transform .55s var(--spring);
}
.cookie-note.in { opacity: 1; transform: none; }
.cookie-ic { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: var(--brand-tint); color: var(--brand); }
.cookie-note p { font-size: 14.5px; line-height: 1.5; color: var(--text-2); }
.cookie-note p b { color: var(--text); }
.cookie-note a { color: var(--brand-ink); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.cookie-note .btn { grid-column: 1 / -1; width: 100%; height: 44px; }
@media (max-width: 760px) {
  .cookie-note { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 16px; }
}
@media (prefers-reduced-motion: reduce) { .cookie-note { transition: none; } }
