/* Voquia V3 · Inmersivo */
:root {
  --ink: #12061A;
  --ink-2: #1b0926;
  --ink-3: #2a0d3a;
  --mag: #C81E8A;
  --mag-d: #8E1466;
  --mag-hi: #ff5cb8;
  --pink: #F7E8F3;
  --pink-t: #ffa3da;
  --green: #6BE48E;
  --yellow: #FFD23A;
  --text: #FBF4FA;
  --muted: rgba(251, 244, 250, .74);
  --soft: rgba(251, 244, 250, .6);
  --line: rgba(255, 255, 255, .13);
  --glass: rgba(24, 8, 34, .56);
  --serif: 'Instrument Serif', 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  /* margen lateral: respeta la isla/notch en horizontal */
  --gut: max(clamp(20px, 5.6vw, 96px), env(safe-area-inset-left), env(safe-area-inset-right));
  --maxw: 1320px;
  /* una sola rejilla: todas las secciones alinean su contenido al mismo borde */
  --edge: max(var(--gut), calc(50vw - var(--maxw) / 2));
  --r: 26px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --nav-h: 64px;
  --nav-top: max(12px, env(safe-area-inset-top));
  --nav-b: calc(var(--nav-top) + var(--nav-h));
  --shadow-s: inset 0 1px 0 rgba(255, 255, 255, .14), 0 12px 26px -18px rgba(0, 0, 0, .6);
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; background: var(--ink); scroll-padding-top: 80px; }
body {
  margin: 0; overflow-x: clip; min-height: 100svh;
  background: var(--ink); color: var(--text);
  font: 400 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
b, strong { font-weight: 650; }
em { font-style: italic; }
.nowrap { white-space: nowrap; }
.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; }
::selection { background: var(--mag); color: #fff; }
:focus-visible { outline: 2px solid var(--pink-t); outline-offset: 3px; border-radius: 8px; }

.skip {
  position: fixed; left: 12px; top: -60px; z-index: 100; padding: 12px 18px; border-radius: 12px;
  background: #fff; color: var(--ink); font-weight: 600; text-decoration: none; transition: top .2s;
}
.skip:focus { top: 12px; }

/* ---------- Fondo vivo ---------- */
.bg { position: fixed; left: 0; right: 0; top: 0; height: 100vh; height: 100lvh; z-index: 0; pointer-events: none; overflow: hidden; }
.bg__fallback {
  position: absolute; inset: 0;
  background:
    radial-gradient(42% 38% at 78% 30%, rgba(200, 30, 138, .55), transparent 70%),
    radial-gradient(50% 45% at 12% 85%, rgba(142, 20, 102, .5), transparent 70%),
    radial-gradient(35% 30% at 55% 60%, rgba(98, 26, 140, .38), transparent 70%),
    linear-gradient(160deg, #1c0828 0%, #12061A 55%, #0b0310 100%);
}
.bg__gl { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.2s ease; }
.bg.is-live .bg__gl { opacity: 1; }
.bg__grain {
  position: absolute; inset: 0; opacity: .5;
  background: radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(5, 1, 8, .55) 100%);
}

main, .foot { position: relative; z-index: 1; }

/* ---------- Componentes ---------- */
.wrap { width: 100%; padding: 0 var(--edge); }
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 15px/1.25 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--pink-t);
  text-wrap: balance;
}
.kicker .dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(107, 228, 142, .18); }
.h2 {
  font: 400 clamp(44px, 6.2vw, 100px)/.94 var(--serif); letter-spacing: -.012em; margin-top: 14px;
  text-wrap: balance;
}
.h2--br em { display: block; }
.h2 em, .net__title em, .dl__title em { color: var(--pink-t); }
.lead { margin-top: 18px; color: var(--muted); font-size: clamp(16px, 1.25vw, 19px); max-width: 52ch; }
.lead a { color: var(--text); text-decoration-color: var(--pink-t); text-underline-offset: 3px; }
.sec-head { max-width: 900px; margin-bottom: clamp(36px, 5vw, 64px); }

.glass {
  position: relative;
  background: linear-gradient(160deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .03) 60%), var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 40px 80px -40px rgba(0, 0, 0, .7);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  backdrop-filter: blur(20px) saturate(150%);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: linear-gradient(160deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02)), rgba(28, 10, 40, .94); }
}
/* en móvil el desenfoque sobre un lienzo animado sale caro: vidrio sólido semitransparente */
@media (max-width: 899px) {
  .glass { -webkit-backdrop-filter: none; backdrop-filter: none; background: linear-gradient(160deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03) 60%), rgba(26, 9, 38, .9); }
}
.glass::after { /* brillo que sigue al puntero */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 140, 210, .16), transparent 60%);
  transition: opacity .4s;
}
.glass.is-lit::after { opacity: 1; }

.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0;
  font: 600 16px/1 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .35s var(--ease), background .3s, box-shadow .3s, color .3s;
}
.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, #e0329f, var(--mag) 45%, var(--mag-d));
  box-shadow: 0 14px 40px -12px rgba(200, 30, 138, .8), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.btn--primary:hover { box-shadow: 0 20px 50px -12px rgba(232, 60, 170, .95), inset 0 1px 0 rgba(255, 255, 255, .4); }
.btn__arrow { display: inline-block; transition: transform .35s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn--ghost { color: var(--text); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .22); }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); }
.btn--pill { min-height: 44px; padding: 0 18px; font-size: 15px; }

.chip {
  display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; border-radius: 999px;
  font: 600 15px/1 var(--sans); color: #ffd6ee; background: rgba(200, 30, 138, .28); border: 1px solid rgba(255, 140, 210, .3);
}
.chip--green { color: #d7ffe2; background: rgba(107, 228, 142, .16); border-color: rgba(107, 228, 142, .4); }

/* ---------- Navegación ---------- */
.nav {
  position: fixed; z-index: 50; top: var(--nav-top); left: 50%; transform: translateX(-50%);
  width: calc(100% - 24px - env(safe-area-inset-left) - env(safe-area-inset-right)); max-width: 1200px; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 0 10px 0 16px; border-radius: 999px;
  background: rgba(20, 7, 30, .42); border: 1px solid rgba(255, 255, 255, .1);
  -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%);
  transition: background .4s;
}
.nav.is-solid, html.menu-open .nav { background: rgba(20, 7, 30, .78); }
.nav__brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; min-height: 44px; flex: none; }
.nav__logo { width: 34px; height: 34px; filter: brightness(0) invert(1); }
.nav__word { font: italic 400 28px/1 var(--serif); letter-spacing: -.01em; }
.nav__links { display: none; gap: 4px; }
.nav__links a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px;
  font-size: 15px; font-weight: 500; color: var(--muted); text-decoration: none; transition: color .2s, background .2s;
}
.nav__links a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.nav__end { display: flex; align-items: center; gap: 8px; flex: none; }
.nav__menu {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  width: 44px; height: 44px; padding: 0; border-radius: 50%; cursor: pointer; color: #fff;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .18);
}
.nav__menu span { display: block; width: 16px; height: 1.6px; border-radius: 2px; background: currentColor; transition: transform .4s var(--ease); }
.nav__menu[aria-expanded="true"] span:first-child { transform: translateY(3.8px) rotate(45deg); }
.nav__menu[aria-expanded="true"] span:last-child { transform: translateY(-3.8px) rotate(-45deg); }
@media (min-width: 960px) { .nav__links { display: flex; } .nav__menu { display: none; } }
@media (max-width: 380px) { .nav__word { display: none; } }

/* Menú móvil: hoja de vidrio a pantalla completa */
.menu {
  position: fixed; inset: 0; z-index: 45; display: flex; flex-direction: column;
  padding: calc(var(--nav-b) + 22px) var(--gut) calc(26px + env(safe-area-inset-bottom));
  background: rgba(14, 4, 22, .82);
  -webkit-backdrop-filter: blur(26px) saturate(150%); backdrop-filter: blur(26px) saturate(150%);
  overflow-y: auto; overscroll-behavior: contain;
}
.menu[hidden] { display: none; }
.menu__links { display: grid; }
.menu__links a {
  display: flex; align-items: baseline; gap: 16px; min-height: 60px; padding: 12px 0;
  font: 400 clamp(32px, 9vw, 44px)/1.05 var(--serif); text-decoration: none; border-bottom: 1px solid var(--line);
}
.menu__links span { font: 600 15px/1 var(--sans); letter-spacing: .1em; color: var(--pink-t); transform: translateY(-4px); }
.menu__cta { margin-top: 28px; width: 100%; }
.menu__note { margin-top: 14px; text-align: center; font-size: 15px; color: var(--soft); }
html.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; padding: 0 var(--edge); overflow-x: clip; }
.hero__inner {
  position: relative; z-index: 1; width: 100%;
  padding: calc(var(--nav-h) + 48svh) 0 calc(56px + env(safe-area-inset-bottom));
}
.hero__inner::before { /* velo de contraste detrás del texto */
  content: ""; position: absolute; z-index: -1; left: -30%; right: -30%; top: 34%; bottom: -10%;
  background: radial-gradient(60% 60% at 30% 60%, rgba(14, 4, 20, .62), transparent 75%);
  pointer-events: none;
}
/* píldora de vidrio: se lee sobre cualquier fondo (también sobre la esfera 3D) */
.hero__kicker {
  padding: 8px 16px 8px 13px; border-radius: 999px; text-transform: none; letter-spacing: .01em; color: #ffd6ee;
  background: rgba(18, 6, 26, .55); border: 1px solid rgba(255, 255, 255, .13);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.hero__title {
  margin-top: 18px; font: 400 clamp(52px, min(17.4vw, 16svh), 176px)/.86 var(--serif); letter-spacing: -.025em;
}
/* colchón generoso: la máscara de entrada no corta los descendentes (q, p, g) */
.hero__line { display: block; padding: .1em .1em .28em; margin: -.1em -.1em -.28em; }
.hero__line--accent em { color: var(--pink-t); text-shadow: 0 0 60px rgba(255, 92, 184, .45); transition: text-shadow 1s ease; }
html.hero-anim .hero__line--accent em { text-shadow: 0 0 60px rgba(255, 92, 184, 0); }
.hero__lead { margin-top: 22px; max-width: 34ch; color: var(--muted); font-size: clamp(16px, 1.35vw, 20px); }
.hero__lead strong { color: var(--text); }
.hero__ctas { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__facts { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 15px; color: var(--soft); }
.hero__facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero__facts li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--pink-t); }
.hero__facts b { color: var(--text); font-weight: 600; }
.hero__scroll { display: none; }
/* Orbe estático: sin WebGL, con movimiento reducido y mientras carga la escena 3D (mismo tamaño que la esfera 3D) */
.hero__orb {
  position: absolute; z-index: 0; pointer-events: none; aspect-ratio: 1; border-radius: 50%;
  width: min(62vw, 250px); left: 50%; top: calc(var(--nav-b) + 8px); transform: translateX(-50%);
  background: radial-gradient(circle at 34% 30%, #ff9bd6 0%, #C81E8A 42%, #6a0f4c 78%, #3a0830 100%);
  box-shadow: 0 0 90px 30px rgba(200, 30, 138, .45), 0 0 220px 80px rgba(142, 20, 102, .3), inset 0 0 40px rgba(255, 190, 230, .5);
  transition: opacity 1.2s ease, visibility 0s 1.2s;
}
.hero__orb img { position: absolute; inset: 0; margin: auto; width: 66%; height: auto; filter: brightness(0) invert(1); }
.hero__orb i { position: absolute; inset: -18%; border-radius: 50%; border: 1px solid rgba(255, 163, 218, .4); transform: rotateX(70deg) rotate(20deg); }
.hero__orb i + i { inset: -30%; border-color: rgba(255, 163, 218, .24); transform: rotateX(72deg) rotate(-30deg); }
html.gl-live .hero__orb { opacity: 0; visibility: hidden; }
@media (min-width: 900px) {
  .hero__orb { width: min(24vw, 360px); left: auto; right: 15vw; top: 50%; transform: translateY(-50%); }
  .hero__orb img { width: 92%; }
  .hero__orb i { inset: -12%; }
  .hero__orb i + i { inset: -27%; }
}
@media (max-width: 899px) {
  .hero__title { text-shadow: 0 2px 30px rgba(12, 3, 18, .55); }
}
@media (min-width: 600px) and (max-width: 899px) {
  .hero__inner { padding-top: calc(var(--nav-h) + 30svh); }
}
@media (max-width: 599px) {
  /* el contenido se apoya abajo y cabe entero en la primera pantalla */
  .hero__inner { padding-top: calc(var(--nav-b) + 20svh); padding-bottom: calc(26px + env(safe-area-inset-bottom)); }
  .hero__title { font-size: clamp(50px, 15vw, 62px); margin-top: 14px; }
  .hero__lead { margin-top: 16px; font-size: 16px; }
  .hero__ctas { margin-top: 20px; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .hero__ctas .btn--ghost { display: none; }
  .hero__facts { margin-top: 14px; gap: 6px 14px; }
}
@media (max-width: 599px) and (max-height: 620px) {
  .hero__inner { padding-top: calc(var(--nav-b) + 12svh); }
  .hero__title { font-size: clamp(44px, 13vw, 50px); margin-top: 12px; }
  .hero__lead { margin-top: 12px; }
  .hero__ctas { margin-top: 16px; }
  .hero__orb { width: min(52vw, 200px); }
}
/* en móviles de menos de ~740 px de alto la fila de datos no cabe entera: se omite (está en el menú, tarifas y descarga) */
@media (max-width: 599px) and (max-height: 739px) { .hero__facts { display: none; } }
@media (min-width: 900px) {
  .hero { align-items: center; }
  .hero__inner { padding: calc(var(--nav-h) + 40px) 0 80px; }
  .hero__inner::before { left: -40%; right: 30%; top: -10%; }
  .hero__title { font-size: clamp(64px, min(11vw, 15svh), 184px); }
  .hero__lead { max-width: 30ch; }
  .hero__scroll {
    display: none; position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); flex-direction: column; align-items: center; gap: 10px;
    font-size: 15px; letter-spacing: .16em; text-transform: uppercase; color: var(--soft);
  }
  .hero__scroll i { width: 1px; height: 46px; background: linear-gradient(var(--pink-t), transparent); transform-origin: top; animation: scrollcue 2.2s var(--ease) infinite; }
}
@media (min-width: 900px) and (max-height: 820px) {
  .hero__inner { padding: calc(var(--nav-b) + 18px) 0 36px; }
  .hero__title { margin-top: 12px; }
  .hero__lead { margin-top: 16px; }
  .hero__ctas { margin-top: 20px; }
  .hero__facts { margin-top: 16px; }
}
@media (min-width: 1280px) and (min-height: 821px) { .hero__scroll { display: flex; } }
@keyframes scrollcue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
/* móvil en horizontal: texto a la izquierda, escena a la derecha */
@media (orientation: landscape) and (max-height: 500px) {
  .hero { align-items: center; }
  .hero__inner { padding: calc(var(--nav-b) + 14px) 0 24px; }
  .hero__inner > * { max-width: 56vw; }
  .hero__title { font-size: clamp(40px, min(9vw, 16svh), 64px); margin-top: 10px; }
  .hero__lead { margin-top: 12px; font-size: 15px; max-width: 46ch; }
  .hero__ctas { margin-top: 14px; }
  .hero__ctas .btn { flex: 0 0 auto; }
  .hero__ctas .btn--ghost { display: inline-flex; }
  .hero__facts { margin-top: 12px; display: flex; }
  .hero__orb { width: 150px; left: auto; right: 12vw; top: 50%; transform: translateY(-50%); }
  .hero__orb img { width: 92%; }
}

/* ---------- La red (estado estático por defecto) ---------- */
.net { position: relative; padding: clamp(80px, 12vw, 160px) var(--edge); }
.net__title { margin-top: 14px; font: 400 clamp(40px, 5.4vw, 84px)/.96 var(--serif); letter-spacing: -.012em; text-wrap: balance; max-width: 14ch; }
.net__counter, .net__band { display: none; }
.net__steps { margin-top: 40px; display: grid; gap: 14px; }
.net__step { padding: 24px; }
.net__stepn { font: italic 400 22px/1 var(--serif); color: var(--pink-t); }
.net__step h3 { margin-top: 8px; font: 400 clamp(28px, 3vw, 40px)/1.02 var(--serif); }
.net__step h3 em { color: var(--green); }
.net__step p { margin-top: 10px; color: var(--muted); }
.net__step--win { border-color: rgba(107, 228, 142, .45); }
.net__step--win h3 { color: #b8ffcb; }
.net__static { margin-top: 36px; display: grid; gap: 22px; }
.net__svg { width: 100%; max-width: 560px; margin: 0 auto; }
.net__miles { display: grid; gap: 10px; }
.net__miles li {
  display: flex; justify-content: space-between; gap: 12px; padding: 14px 18px; border-radius: 16px;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--line);
}
.net__miles span { color: var(--muted); }
.net__miles .is-pay b { color: var(--green); }
.net__note { color: var(--soft); font-size: 15px; }
@media (min-width: 900px) {
  .net__steps { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
  .net__static { grid-template-columns: 1.2fr 1fr; align-items: center; }
}

/* contador (solo en modo inmersivo) */
.net__label { font: 600 15px/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--pink-t); transition: color .5s; }
.net__label-b { display: none; }
.net__value {
  position: relative; display: flex; align-items: baseline; margin-top: 6px;
  font: 400 clamp(72px, min(12.5vw, 18svh), 200px)/.9 var(--serif); letter-spacing: -.03em; font-variant-numeric: tabular-nums;
  color: #fff; text-shadow: 0 0 80px rgba(255, 60, 170, .45); transition: color .6s, text-shadow .6s;
  transform-origin: 0 70%;
}
.net__num { position: relative; display: inline-block; }
.net__ghost { position: absolute; left: 0; top: 0; pointer-events: none; }
.net__eur { font-size: .5em; letter-spacing: 0; margin-left: .02em; }
.net__sign { font-size: .7em; }
.net__friends { margin-top: 10px; font-size: 16px; color: var(--muted); }
.net__friends b { display: inline-block; color: #fff; font-weight: 650; font-variant-numeric: tabular-nums; }
.net__bar { display: block; margin-top: 14px; width: min(320px, 70vw); height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.net__bar i { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--mag-hi), #fff); transition: transform .5s var(--ease); }
.net.is-neg .net__label { color: var(--green); }
.net.is-neg .net__label-a { display: none; }
.net.is-neg .net__label-b { display: inline; }
.net.is-neg .net__value { color: #b8ffcb; text-shadow: 0 0 90px rgba(107, 228, 142, .55); }
.net.is-neg .net__bar i { background: linear-gradient(90deg, #2fd46a, #d9ffe4); }
.net__value.is-hit { animation: hit .55s var(--ease); }
@keyframes hit { 0% { transform: scale(1); } 30% { transform: scale(1.045); text-shadow: 0 0 110px rgba(255, 120, 200, .8); } 100% { transform: scale(1); } }
/* ficha "−1 €" que vuela desde la escena 3D hasta la cifra */
.net__fly {
  position: fixed; left: 0; top: 0; z-index: 3; pointer-events: none; padding: 6px 12px; border-radius: 999px;
  font: 700 15px/1 var(--sans); color: #fff; white-space: nowrap;
  background: linear-gradient(135deg, #f04bb0, #c81e8a); box-shadow: 0 0 24px rgba(255, 92, 184, .8);
}
.net__fly.is-neg { background: linear-gradient(135deg, #47d978, #1f9a55); box-shadow: 0 0 24px rgba(107, 228, 142, .8); }

/* ---------- La red (modo inmersivo con WebGL) ---------- */
html.imm .net { padding: 0; }
html.imm .net__static { display: none; }
html.imm .net__stage {
  position: relative; height: 100svh; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, min(500px, 40vw)) minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto;
  column-gap: 30px; row-gap: 14px;
  padding: calc(var(--nav-b) + clamp(14px, 4svh, 40px)) var(--edge) calc(clamp(18px, 4.5svh, 40px) + env(safe-area-inset-bottom));
}
html.imm .net__head { grid-area: 1 / 1; z-index: 2; }
html.imm .net__title { font-size: clamp(34px, 3.6vw, 58px); max-width: none; }
html.imm .net__title em { display: block; }
html.imm .net__band { display: block; grid-area: 1 / 2 / 4 / 3; }
html.imm .net__counter { grid-area: 2 / 1; align-self: center; display: flex; flex-direction: column; align-items: flex-start; z-index: 2; }
html.imm .net__steps { grid-area: 3 / 1; margin: 0; display: grid; z-index: 2; }
/* cada tarjeta mide su contenido (apoyada abajo): nada de vidrio vacío */
html.imm .net__step {
  grid-area: 1 / 1; align-self: end; box-shadow: var(--shadow-s);
  opacity: 0; visibility: hidden; transform: translate3d(0, 24px, 0) scale(.98);
  transition: opacity .55s var(--ease), transform .7s var(--ease), visibility 0s .7s;
}
html.imm .net__step.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .55s var(--ease), transform .7s var(--ease), visibility 0s; }
@media (min-width: 900px) and (max-height: 820px) {
  html.imm .net__title { font-size: clamp(30px, 3.1vw, 46px); }
  html.imm .net__step { padding: 16px 22px; }
  html.imm .net__step h3 { font-size: 27px; margin-top: 4px; }
  html.imm .net__step p { font-size: 15px; margin-top: 6px; }
  html.imm .net__value { font-size: clamp(72px, min(12.5vw, 17svh), 200px); }
  html.imm .net__friends { margin-top: 6px; }
  html.imm .net__bar { margin-top: 10px; }
}
@media (max-width: 899px) {
  html.imm .net__stage {
    grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto; row-gap: 10px;
    padding: calc(var(--nav-b) + 18px) var(--edge) calc(18px + env(safe-area-inset-bottom));
  }
  html.imm .net__head { grid-area: 1 / 1; transition: opacity .4s, transform .5s var(--ease); }
  html.imm .net__title { font-size: clamp(30px, 8.4vw, 44px); }
  html.imm .net__counter { grid-area: 1 / 1; align-self: start; transition: opacity .5s; }
  html.imm .net__band { grid-area: 2 / 1; }
  html.imm .net__value { font-size: clamp(60px, 17.5vw, 96px); margin-top: 4px; }
  html.imm .net__friends { font-size: 15px; margin-top: 4px; }
  html.imm .net__bar { margin-top: 10px; }
  html.imm .net.is-started .net__head { opacity: 0; transform: translateY(-14px); pointer-events: none; }
  html.imm .net:not(.is-started) .net__counter { opacity: 0; }
  html.imm .net__steps { grid-area: 3 / 1; }
  html.imm .net__step { padding: 16px 20px; }
  html.imm .net__step h3 { font-size: 26px; margin-top: 4px; }
  html.imm .net__step p { font-size: 15px; margin-top: 6px; line-height: 1.5; }
}
/* móviles bajos (iPhone SE/mini con barras, Android 360×600): más sitio para la escena */
@media (max-width: 899px) and (max-height: 640px) {
  html.imm .net__stage { padding-top: calc(var(--nav-b) + 12px); row-gap: 6px; }
  html.imm .net__title { font-size: clamp(28px, 7.6vw, 36px); }
  html.imm .net__value { font-size: clamp(48px, 11svh, 72px); }
  html.imm .net__friends { margin-top: 2px; }
  html.imm .net__bar { margin-top: 6px; }
  html.imm .net__step { padding: 12px 16px; }
  html.imm .net__step h3 { font-size: 22px; }
  html.imm .net__step p { font-size: 15px; line-height: 1.4; margin-top: 4px; }
}

/* ---------- Cómo funciona ---------- */
.how { position: relative; padding: clamp(100px, 14vw, 200px) 0 clamp(60px, 8vw, 120px); }
.how__wrap { padding: 0 var(--edge); display: grid; gap: 40px; }
.how__band { display: none; }
.how__cards { display: grid; gap: 22px; }
.how__card { display: grid; gap: 18px; padding: clamp(24px, 3vw, 44px); min-height: 0; transform-origin: 50% 0; }
.how__card.glass { background: linear-gradient(160deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .02) 60%), rgba(30, 10, 44, .95); -webkit-backdrop-filter: none; backdrop-filter: none; }
.how__num {
  font: italic 400 clamp(84px, 10vw, 150px)/.8 var(--serif); letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 1.2px rgba(255, 163, 218, .85);
}
.how__body h3 { font: 400 clamp(32px, 3.4vw, 52px)/1 var(--serif); letter-spacing: -.01em; }
.how__body p { margin: 14px 0 20px; color: var(--muted); max-width: 46ch; }
@media (min-width: 900px) {
  .how__wrap { grid-template-columns: .9fr 1.1fr; gap: 6vw; align-items: start; }
  .how__head { position: sticky; top: 22vh; }
  .how__card { grid-template-columns: auto 1fr; align-items: start; gap: 32px; min-height: 340px; }
}
/* sin WebGL (pero con animaciones): apilado con sticky */
html.js:not(.rm):not(.imm) .how__card { position: sticky; top: calc(var(--nav-b) + 24px); }
html.js:not(.rm):not(.imm) .how__card:nth-child(2) { top: calc(var(--nav-b) + 42px); }
html.js:not(.rm):not(.imm) .how__card:nth-child(3) { top: calc(var(--nav-b) + 60px); }
html.js:not(.rm):not(.imm) .how__cards { gap: 16vh; padding-bottom: 6vh; }
@media (min-width: 900px) {
  html.js:not(.rm):not(.imm) .how__card { top: 20vh; }
  html.js:not(.rm):not(.imm) .how__card:nth-child(2) { top: calc(20vh + 18px); }
  html.js:not(.rm):not(.imm) .how__card:nth-child(3) { top: calc(20vh + 36px); }
}
/* modo inmersivo: escena fijada; texto y mazo de tarjetas a la izquierda, el móvil 3D con tu red a la derecha */
html.imm .how { padding: 0; }
html.imm .how__wrap {
  height: 100svh; overflow: hidden; gap: 0;
  grid-template-columns: minmax(0, min(600px, 44vw)) minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto; column-gap: clamp(30px, 4vw, 72px); row-gap: 16px;
  padding: calc(var(--nav-b) + clamp(14px, 4svh, 40px)) var(--edge) calc(clamp(20px, 4.5svh, 44px) + env(safe-area-inset-bottom));
}
html.imm .how__head { grid-column: 1; grid-row: 1; align-self: start; position: static; }
html.imm .how__head .h2 { font-size: clamp(44px, 4.6vw, 76px); }
html.imm .how__band { display: block; grid-column: 2; grid-row: 1 / -1; align-self: stretch; }
html.imm .how__cards { grid-column: 1; grid-row: 3; align-self: end; display: grid; gap: 0; padding: 0; }
html.imm .how__card { grid-area: 1 / 1; align-self: end; position: relative; top: auto; min-height: 0; transform-origin: 50% 0; will-change: transform; box-shadow: var(--shadow-s); }
html.imm .how__card.glass { background: linear-gradient(160deg, #33173f, #1f0b2c 60%); }
html.imm .how__card { grid-template-columns: auto minmax(0, 1fr); gap: 28px; align-items: start; }
html.imm .how__num { font-size: clamp(64px, 6.4vw, 112px); }
html.imm .how__body h3 { font-size: clamp(30px, 2.9vw, 46px); }
html.imm .how__body p { margin: 12px 0 18px; }
@media (min-width: 900px) and (max-height: 820px) {
  html.imm .how__card { padding: 22px 28px; }
  html.imm .how__num { font-size: clamp(56px, 5vw, 84px); }
  html.imm .how__body h3 { font-size: clamp(28px, 2.5vw, 38px); }
  html.imm .how__body p { font-size: 15px; margin: 8px 0 12px; }
  html.imm .how__head .h2 { font-size: clamp(40px, 4.2vw, 64px); }
  html.imm .how__head .lead { margin-top: 12px; }
}
@media (max-width: 899px) {
  html.imm .how__wrap {
    grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto; column-gap: 0; row-gap: 10px;
    padding: calc(var(--nav-b) + 16px) var(--edge) calc(20px + env(safe-area-inset-bottom));
  }
  html.imm .how__head { grid-column: 1; grid-row: 1; align-self: start; transition: opacity .45s var(--ease), transform .6s var(--ease); }
  html.imm .how.is-started .how__head { opacity: 0; transform: translateY(-14px); pointer-events: none; }
  html.imm .how__head .h2 { font-size: clamp(30px, 8.4vw, 46px); margin-top: 8px; }
  html.imm .how__head .lead { display: none; }
  html.imm .how__band { grid-column: 1; grid-row: 2; }
  html.imm .how__cards { grid-column: 1; grid-row: 3; }
  html.imm .how__card { grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; row-gap: 8px; padding: 18px 20px; align-items: center; }
  html.imm .how__body { display: contents; }
  html.imm .how__num { font-size: 50px; grid-column: 1; grid-row: 1; -webkit-text-stroke-width: 1px; }
  html.imm .how__body h3 { grid-column: 2; grid-row: 1; font-size: 26px; line-height: 1.02; }
  html.imm .how__body p { grid-column: 1 / -1; margin: 2px 0 4px; font-size: 15px; line-height: 1.5; }
  html.imm .how__body .chip { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 899px) and (max-height: 640px) {
  html.imm .how__card { padding: 14px 16px; }
  html.imm .how__num { font-size: 42px; }
  html.imm .how__body h3 { font-size: 22px; }
  html.imm .how__body p { line-height: 1.4; }
}

/* ---------- App (estado estático por defecto) ---------- */
.app { position: relative; padding: clamp(80px, 12vw, 160px) var(--edge); }
.app__steps { margin-top: 36px; display: grid; gap: 14px; }
.app__step { padding: 22px 24px; }
.app__step h3 { font: 400 clamp(28px, 2.6vw, 38px)/1.02 var(--serif); }
.app__step p { margin-top: 10px; color: var(--muted); }
.app__step p.app__tabs { margin-top: 10px; font-size: 15px; color: var(--pink-t); letter-spacing: .01em; }
.app__shots { margin-top: 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 2vw, 28px); }
.app__shots img { width: 100%; border-radius: clamp(14px, 2vw, 28px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); }
.app__dots { display: none; }
@media (min-width: 900px) { .app__steps { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 699px) {
  .app__shots {
    display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin: 30px calc(-1 * var(--edge)) 0; padding: 0 var(--edge) 8px; scrollbar-width: none;
  }
  .app__shots::-webkit-scrollbar { display: none; }
  .app__shots figure { flex: 0 0 min(70vw, 300px); scroll-snap-align: center; }
}

html.imm .app { padding: 0; }
html.imm .app__stage { position: relative; height: 100svh; overflow: hidden; }
html.imm .app__shots { display: none; }
html.imm .app__head { position: absolute; z-index: 2; left: var(--edge); top: calc(var(--nav-b) + clamp(14px, 4svh, 40px)); }
html.imm .app__steps { position: absolute; z-index: 2; margin: 0; display: block; left: var(--edge); top: 54%; width: min(440px, 40vw); }
html.imm .app__step {
  position: absolute; left: 0; top: 0; width: 100%; box-shadow: var(--shadow-s);
  opacity: 0; visibility: hidden; transform: translate3d(0, calc(-50% + 26px), 0);
  transition: opacity .5s var(--ease), transform .7s var(--ease), visibility 0s .7s;
}
html.imm .app__step.is-on { opacity: 1; visibility: visible; transform: translate3d(0, -50%, 0); transition: opacity .5s var(--ease), transform .7s var(--ease), visibility 0s; }
html.imm .app__dots { display: flex; gap: 8px; position: absolute; z-index: 2; left: var(--edge); bottom: calc(clamp(24px, 5svh, 44px) + env(safe-area-inset-bottom)); }
html.imm .app__dots { transition: opacity .45s var(--ease); }
html.imm .app.is-leaving .app__dots { opacity: 0; } /* los guiones de progreso no se quedan huérfanos al soltar el pin */
.app__dots i { width: 28px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .2); transition: background .4s, width .4s; }
.app__dots i.is-on { width: 48px; background: var(--pink-t); }
@media (min-width: 900px) and (max-height: 820px) {
  html.imm .app__step { padding: 18px 22px; }
  html.imm .app__step h3 { font-size: 28px; }
  html.imm .app__step p { font-size: 15px; margin-top: 6px; }
}
@media (max-width: 899px) {
  html.imm .app__head { top: calc(var(--nav-b) + 18px); right: var(--edge); }
  html.imm .app__head .h2 { font-size: clamp(32px, 9vw, 46px); margin-top: 8px; }
  html.imm .app__head { transition: opacity .45s var(--ease), transform .6s var(--ease); }
  html.imm .app.is-focus .app__head { opacity: 0; transform: translateY(-12px); }
  /* mientras entra el escenario, el titular no pasa por encima de la pantalla blanca del móvil: aparece ya en su sitio */
  html.imm .app:not(.is-in) .app__head { opacity: 0; transform: translateY(14px); }
  html.imm .app__steps { top: auto; bottom: calc(46px + env(safe-area-inset-bottom)); width: auto; right: var(--edge); }
  html.imm .app__step { top: auto; bottom: 0; transform: translate3d(0, 26px, 0); padding: 16px 20px; }
  html.imm .app__step.is-on { transform: none; }
  html.imm .app__step h3 { font-size: 26px; }
  html.imm .app__step p { font-size: 15px; margin-top: 6px; line-height: 1.5; }
  html.imm .app__step p.app__tabs { margin-top: 6px; }
  html.imm .app__dots { bottom: calc(20px + env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); }
}
@media (max-width: 899px) and (max-height: 640px) {
  html.imm .app__step { padding: 12px 16px; }
  html.imm .app__step h3 { font-size: 22px; }
  html.imm .app__step p { line-height: 1.4; }
}

/* ---------- Calculadora ---------- */
.calc { position: relative; padding: clamp(60px, 7vw, 104px) 0 clamp(56px, 6vw, 96px); }
html.imm .calc { padding-top: clamp(36px, 4vw, 64px); }
.calc__panel { display: grid; gap: 16px; }
.calc__controls { position: relative; padding: clamp(22px, 3vw, 44px); display: grid; gap: 30px; }
.calc fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.calc legend, .calc__flabel { display: block; font: 600 15px/1.25 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--pink-t); padding: 0; margin-bottom: 14px; text-wrap: balance; }
.calc__group { font-size: 15px; color: var(--soft); margin: 4px 0 8px; }
.calc__chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 8px; margin-bottom: 10px; }
.pchip { position: relative; display: block; cursor: pointer; }
.pchip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
/* misma altura en todas y el precio siempre abajo: alineado aunque el nombre ocupe dos líneas */
.pchip span {
  display: flex; flex-direction: column; justify-content: space-between; gap: 4px; height: 100%; min-height: 64px; padding: 10px 14px; border-radius: 16px;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .14);
  transition: background .25s, border-color .25s, transform .25s var(--ease);
}
.pchip b { font-size: 15px; font-weight: 600; line-height: 1.2; }
.pchip i { font-style: normal; font-size: 15px; color: var(--muted); font-variant-numeric: tabular-nums; }
.pchip:hover span { background: rgba(255, 255, 255, .09); }
.pchip input:checked + span { background: linear-gradient(140deg, rgba(224, 50, 159, .55), rgba(142, 20, 102, .55)); border-color: rgba(255, 163, 218, .7); }
.pchip input:checked + span i { color: #fff; }
.pchip input:focus-visible + span { outline: 2px solid var(--pink-t); outline-offset: 2px; }
.calc__frow { display: flex; align-items: center; gap: 14px; }
.step {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .06);
  color: #fff; font: 500 24px/1 var(--sans); cursor: pointer; transition: background .2s, transform .2s;
}
.step:hover { background: rgba(255, 255, 255, .14); }
.step:active { transform: scale(.92); }
.calc__fnum { min-width: 2.2ch; text-align: center; font: 400 56px/1 var(--serif); font-variant-numeric: tabular-nums; }
.range { width: 100%; margin: 18px 0 8px; height: 44px; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; --p: 50%; }
.range::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--mag-hi) var(--p), rgba(255, 255, 255, .16) var(--p)); }
.range::-moz-range-track { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .16); }
.range::-moz-range-progress { height: 6px; border-radius: 6px; background: var(--mag-hi); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -11px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 6px rgba(255, 92, 184, .3), 0 4px 14px rgba(0, 0, 0, .4); }
.range::-moz-range-thumb { width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 6px rgba(255, 92, 184, .3); }
.calc__help { font-size: 15px; color: var(--soft); }
.calc__out { position: relative; display: flex; flex-direction: column; min-width: 0; }
.calc__viz { display: none; }
.calc__result {
  position: relative; flex: 1 1 auto; padding: clamp(26px, 3vw, 48px); display: flex; flex-direction: column; justify-content: center;
  background: radial-gradient(120% 90% at 80% 0%, rgba(200, 30, 138, .35), transparent 70%), rgba(10, 3, 16, .62);
  border: 1px solid var(--line); border-radius: var(--r); transition: background .6s;
}
.calc__rlabel { font: 600 15px/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--pink-t); transition: color .3s; }
.calc__rvalue { margin-top: 8px; font: 400 clamp(84px, 10vw, 150px)/.9 var(--serif); letter-spacing: -.03em; font-variant-numeric: tabular-nums; white-space: nowrap; transition: color .3s, text-shadow .3s; }
.calc__rsub { margin-top: 10px; color: var(--muted); }
.calc__formula { margin-top: 18px; font-size: 15px; color: var(--soft); font-variant-numeric: tabular-nums; }
.calc__dots { margin-top: 20px; display: grid; grid-template-columns: repeat(15, 1fr); gap: 6px; max-width: 340px; }
.calc__dots i { aspect-ratio: 1; border-radius: 50%; background: rgba(255, 255, 255, .12); transition: background .3s, transform .3s var(--ease); }
.calc__dots i.on { background: var(--mag-hi); }
.calc__dots i.pay { background: var(--green); box-shadow: 0 0 10px rgba(107, 228, 142, .7); }
.calc__dots i.on, .calc__dots i.pay { transform: scale(1.08); }
.calc__badge {
  display: none; margin-top: 18px; align-self: flex-start; padding: 8px 14px; border-radius: 999px;
  font: 600 15px/1 var(--sans); color: #0d2b16; background: var(--green);
}
.calc.is-pay .calc__result { background: radial-gradient(120% 90% at 80% 0%, rgba(107, 228, 142, .28), transparent 70%), rgba(6, 16, 10, .55); }
.calc.is-pay .calc__rlabel { color: var(--green); }
.calc.is-pay .calc__rvalue { color: #c4ffd3; }
.calc.is-neg .calc__badge { display: inline-block; }
/* con WebGL: tu red en 3D reacciona a la calculadora, y el resultado flota sobre ella */
html.gl .calc__viz { display: block; flex: 1 1 auto; min-height: clamp(240px, 36svh, 420px); }
html.gl .calc__result, html.gl .calc.is-pay .calc__result { flex: 0 0 auto; background: none; border: 0; padding: 0 6px 6px; }
html.gl .calc__dots { display: none; }
html.gl .calc__rvalue { text-shadow: 0 0 70px rgba(255, 60, 170, .45), 0 2px 18px rgba(10, 2, 16, .6); }
html.gl .calc.is-pay .calc__rvalue { text-shadow: 0 0 80px rgba(107, 228, 142, .5), 0 2px 18px rgba(4, 12, 8, .6); }
html.gl .calc__rsub, html.gl .calc__formula { text-shadow: 0 1px 12px rgba(10, 2, 16, .8); }
@media (min-width: 900px) {
  .calc__panel { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(20px, 3vw, 48px); align-items: stretch; }
  html.gl .calc__panel { align-items: start; } /* el panel de controles mide su contenido: sin vidrio vacío */
  html.gl .calc__viz { min-height: clamp(280px, 42svh, 470px); }
}
@media (min-width: 1280px) { .calc__chips { grid-template-columns: repeat(4, minmax(0, 1fr)); } .calc__chips:last-of-type { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.calc__bar { display: none; }
@media (max-width: 899px) {
  /* resultado a la vista mientras tocas los controles: barra fija bajo la navegación, fuera del flujo */
  .calc__bar {
    position: fixed; z-index: 40; top: calc(var(--nav-b) + 8px); left: var(--gut); right: var(--gut);
    display: flex; align-items: baseline; gap: 10px; min-height: 52px; padding: 11px 18px; border-radius: 18px;
    background: #1a0826; -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border: 1px solid rgba(255, 163, 218, .35); box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .8);
    opacity: 0; visibility: hidden; transform: translateY(-10px); pointer-events: none;
    transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s .35s, border-color .3s;
  }
  .calc__bar.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s, border-color .3s; }
  .calc__bar-l { font: 600 15px/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--pink-t); white-space: nowrap; }
  .calc__bar-v { font: 400 30px/1 var(--serif); font-variant-numeric: tabular-nums; white-space: nowrap; }
  .calc__bar-s { font-size: 15px; color: var(--muted); white-space: nowrap; }
  .calc.is-pay .calc__bar { border-color: rgba(107, 228, 142, .5); }
  .calc.is-pay .calc__bar-l { color: var(--green); }
  .calc.is-pay .calc__bar-v { color: #c4ffd3; }
}

/* ---------- Tarifas ---------- */
.plans { position: relative; padding: clamp(70px, 8vw, 120px) 0 clamp(30px, 4vw, 60px); overflow-x: clip; }
.plans .wrap { position: relative; z-index: 1; }
/* «−1 €» gigante que cruza el fondo con el scroll */
.plans__big { position: absolute; z-index: 0; left: 0; top: 26%; width: 100%; pointer-events: none; white-space: nowrap; }
.plans__big span {
  display: inline-block; padding-left: 30vw;
  font: italic 400 clamp(260px, 40vw, 680px)/.8 var(--serif); letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255, 163, 218, .22);
}
.plans__group + .plans__group { margin-top: 44px; }
.plans__gtitle {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 18px;
  font: 400 clamp(34px, 3.4vw, 48px)/1 var(--serif);
}
.plans__gtitle span { font: 600 15px/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--pink-t); }
.plans__grid { display: grid; gap: 14px; padding-top: 14px; }
.plan { display: flex; flex-direction: column; padding: 24px; transition: border-color .3s; transform-style: preserve-3d; }
.plan:hover { border-color: rgba(255, 163, 218, .45); }
.plan__tag { /* sobre el borde: no desplaza nombre ni precio */
  position: absolute; top: 0; left: 22px; transform: translateY(-50%); padding: 6px 12px; border-radius: 999px;
  font: 600 15px/1 var(--sans); letter-spacing: .05em; text-transform: uppercase; color: var(--ink); background: var(--pink-t);
  box-shadow: 0 6px 18px -6px rgba(255, 92, 184, .8);
}
.plan--rec { border-color: rgba(255, 163, 218, .5); background: linear-gradient(160deg, rgba(255, 92, 184, .2), rgba(255, 255, 255, .03) 60%), var(--glass); }
@media (max-width: 899px) { .plan--rec { background: linear-gradient(160deg, rgba(255, 92, 184, .22), rgba(255, 255, 255, .03) 60%), rgba(26, 9, 38, .92); } }
.plan__name { font-weight: 600; font-size: 17px; }
.plan__price { margin-top: 8px; font: 400 64px/1 var(--serif); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.plan__price small { font: 500 15px/1 var(--sans); color: var(--soft); margin-left: 4px; letter-spacing: 0; }
.plan__feat { margin: 16px 0 18px; display: grid; align-content: start; gap: 8px; font-size: 15px; color: var(--muted); flex: 1; }
.plan__feat li { display: flex; gap: 10px; align-items: baseline; }
.plan__feat li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--pink-t); transform: translateY(-2px); }
.plan__feat--empty li::before { display: none; }
.plan__feat--empty { color: var(--soft); }
.plan__perm {
  align-self: flex-start; padding: 7px 12px; border-radius: 999px; font: 600 15px/1 var(--sans);
  color: #d7ffe2; background: rgba(107, 228, 142, .14); border: 1px solid rgba(107, 228, 142, .35);
}
.plan__perm--12 { color: #ffe9a8; background: rgba(255, 210, 58, .12); border-color: rgba(255, 210, 58, .38); }
.plan__cta {
  margin-top: 16px; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; font-size: 15px;
  text-decoration: none; color: #fff;
}
.plan__cta span { transition: transform .3s var(--ease); }
.plan__cta:hover span { transform: translateX(4px); }
.plans__note { margin-top: 30px; max-width: 80ch; font-size: 15px; color: var(--soft); }
.plans__dots { display: none; }
@media (min-width: 700px) { .plans__grid--4 { grid-template-columns: repeat(2, 1fr); } .plans__grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .plans__grid--4 { grid-template-columns: repeat(4, 1fr); } }
/* fibra en escritorio: tarjetas anchas con las prestaciones en dos columnas (sin media tarjeta vacía) */
@media (min-width: 1100px) {
  .plans__grid--2 .plan { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto 1fr auto; column-gap: 28px; }
  .plans__grid--2 .plan__name, .plans__grid--2 .plan__price { grid-column: 1; }
  .plans__grid--2 .plan__feat { grid-column: 2; grid-row: 1 / 4; margin: 4px 0 0; align-self: start; }
  .plans__grid--2 .plan__perm { grid-column: 1; grid-row: 3; align-self: end; justify-self: start; margin-top: 16px; }
  .plans__grid--2 .plan__cta { grid-column: 2; grid-row: 4; justify-self: start; align-self: end; }
}
@media (max-width: 699px) {
  /* carrusel horizontal por grupo, con la siguiente tarjeta asomando */
  .plans__grid {
    display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin: 0 calc(-1 * var(--edge)); padding: 16px var(--edge) 8px; scroll-padding: 0 var(--edge); scrollbar-width: none;
  }
  .plans__grid::-webkit-scrollbar { display: none; }
  .plan { flex: 0 0 min(80vw, 330px); scroll-snap-align: start; padding: 22px 20px 16px; }
  .plan__price { font-size: 56px; }
  .plans__dots { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
  .plans__dots i { width: 7px; height: 7px; border-radius: 4px; background: rgba(255, 255, 255, .22); transition: width .35s var(--ease), background .35s; }
  .plans__dots i.is-on { width: 22px; background: var(--pink-t); }
  .plans__dots span { margin-left: 6px; font-size: 15px; color: var(--soft); }
}

/* ---------- FAQ ---------- */
.faq { position: relative; padding: clamp(64px, 7vw, 110px) 0 clamp(24px, 3vw, 48px); }
.faq__wrap { display: grid; gap: 10px; }
.faq__list { display: grid; gap: 12px; }
.faq__item { border-radius: 20px; }
.faq__item summary {
  position: relative; list-style: none; cursor: pointer; padding: 20px 64px 20px 22px; min-height: 64px;
  font-weight: 600; font-size: 17px; line-height: 1.35; display: flex; align-items: center;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%;
  background:
    linear-gradient(#fff, #fff) center/12px 1.6px no-repeat,
    linear-gradient(#fff, #fff) center/1.6px 12px no-repeat,
    rgba(255, 255, 255, .1);
  transition: transform .4s var(--ease), background-color .3s;
}
.faq__item[open] summary::after { transform: rotate(45deg); background-color: rgba(200, 30, 138, .7); }
.faq__a { overflow: hidden; }
.faq__a p { padding: 0 22px 22px; color: var(--muted); max-width: 64ch; }
@media (min-width: 900px) {
  .faq__wrap { grid-template-columns: .8fr 1.2fr; gap: 6vw; align-items: start; }
  .faq__head { position: sticky; top: 20vh; }
}

/* ---------- Descarga ---------- */
.dl { position: relative; padding: clamp(56px, 7vw, 110px) 0 clamp(56px, 6vw, 100px); }
.dl__panel { max-width: 920px; margin: 0 auto; padding: clamp(36px, 6vw, 90px) clamp(20px, 5vw, 80px); overflow: hidden; }
.dl__viz { display: none; }
.dl__text { display: flex; flex-direction: column; align-items: center; text-align: center; }
.dl__icon { width: clamp(84px, 9vw, 120px); height: auto; border-radius: 26%; box-shadow: 0 30px 60px -20px rgba(200, 30, 138, .8), 0 0 0 1px rgba(255, 255, 255, .2); margin-bottom: 26px; }
.dl__kicker { text-wrap: balance; justify-content: center; }
.dl__title { margin-top: 14px; font: 400 clamp(52px, 8.4vw, 136px)/.92 var(--serif); letter-spacing: -.02em; text-wrap: balance; }
.dl .lead { margin-left: auto; margin-right: auto; }
.badges { margin-top: 32px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.badge {
  display: inline-flex; align-items: center; gap: 12px; min-height: 60px; padding: 0 22px 0 18px; border-radius: 16px;
  background: #050207; color: #fff; text-decoration: none; border: 1px solid rgba(255, 255, 255, .28);
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.badge:hover { transform: translateY(-3px); border-color: rgba(255, 255, 255, .6); box-shadow: 0 18px 40px -16px rgba(200, 30, 138, .8); }
.badge span { display: flex; flex-direction: column; text-align: left; line-height: 1.1; }
.badge small { font-size: 15px; opacity: .88; }
.badge b { font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.dl__facts { margin-top: 30px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; font-size: 15px; color: var(--soft); }
.dl__facts li { display: inline-flex; align-items: center; gap: 8px; }
.dl__facts li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--green); }
@media (max-width: 599px) { .badge { width: 100%; max-width: 300px; justify-content: center; } }
/* modo inmersivo: cierre en alto con el móvil 3D como foto de producto y tu red orbitando */
html.imm .dl { padding-top: clamp(40px, 6vw, 90px); }
html.imm .dl__panel {
  max-width: none; padding: 0; overflow: visible; display: grid; align-items: center;
  background: none; border: 0; border-radius: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none;
}
html.imm .dl__panel::after { display: none; }
html.imm .dl__icon { display: none; }
html.imm .dl__viz { display: block; height: min(48svh, 440px); }
@media (min-width: 900px) {
  html.imm .dl__panel { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 4vw; }
  html.imm .dl__viz { grid-column: 2; grid-row: 1; height: min(84svh, 780px); }
  html.imm .dl__text { grid-column: 1; grid-row: 1; align-items: flex-start; text-align: left; }
  html.imm .dl__kicker, html.imm .dl .badges, html.imm .dl__facts { justify-content: flex-start; }
  html.imm .dl .lead { margin-left: 0; }
}

/* ---------- Pie ---------- */
.foot { background: #07020b; border-top: 1px solid rgba(255, 255, 255, .08); padding: 64px 0 calc(40px + env(safe-area-inset-bottom)); }
.foot__wrap { display: grid; gap: 34px; }
.foot__word { font: italic 400 48px/1 var(--serif); }
.foot__claim { margin-top: 8px; color: var(--muted); }
.foot__contact { margin-top: 8px; }
.foot__contact a, .foot__legal a { color: var(--text); text-underline-offset: 3px; text-decoration-color: var(--pink-t); }
.foot__contact a, .foot__legal dd a { display: inline-flex; align-items: center; min-height: 44px; }
.foot__h { font: 600 15px/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--pink-t); margin-bottom: 14px; }
.foot__legal dl { display: grid; gap: 12px; font-size: 15px; }
.foot__legal dt { color: var(--soft); font-size: 15px; }
.foot__legal dd { color: var(--text); }
.foot__links { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.foot__links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-size: 15px; text-underline-offset: 3px; }
.foot__links a:hover { color: #fff; }
.foot__copy { font-size: 15px; color: var(--soft); border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 22px; }
@media (min-width: 900px) {
  .foot__wrap { grid-template-columns: 1fr 1.3fr; }
  .foot__legal dl { grid-template-columns: 1fr 1fr; gap: 14px 30px; }
  .foot__links, .foot__copy { grid-column: 1 / -1; }
}

/* ---------- Animaciones iniciales (solo con JS) ---------- */
html.js:not(.rm) .hero__kicker, html.js:not(.rm) .hero__lead, html.js:not(.rm) .hero__ctas, html.js:not(.rm) .hero__facts { opacity: 0; }
html.js.is-ready .hero__kicker, html.js.is-ready .hero__lead, html.js.is-ready .hero__ctas, html.js.is-ready .hero__facts { opacity: 1; }
.split-line { display: block; overflow: clip; padding-bottom: .12em; margin-bottom: -.12em; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* ---- r3: píldora del héroe nunca en dos líneas en pantallas estrechas ---- */
@media (max-width: 360px) { .hero__kicker { white-space: nowrap; font-size: 14px; padding: 7px 13px 7px 11px; gap: 8px; } }

/* ---- r3 · Tarifas: la sección clara (rosa suave + tinta, precios en magenta) que rompe la noche ---- */
.plans {
  --text: #0F0F0F; --muted: rgba(15, 15, 15, .74); --soft: rgba(15, 15, 15, .62); --pink-t: #a8157a;
  color: var(--text); background: #F7E8F3; border-radius: clamp(28px, 4vw, 56px);
  padding: clamp(64px, 7vw, 112px) 0 clamp(56px, 6vw, 100px);
  box-shadow: 0 -30px 80px -40px rgba(200, 30, 138, .55), 0 30px 80px -40px rgba(200, 30, 138, .55);
}
.plans .h2 em { color: #C81E8A; }
.plans .plan.glass, .plans .plan--rec {
  background: #fff; border: 1px solid rgba(142, 20, 102, .14); -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: 0 28px 60px -34px rgba(142, 20, 102, .45), 0 2px 0 rgba(255, 255, 255, .8) inset;
}
.plans .plan--rec { background: linear-gradient(170deg, #fff 55%, #fbe6f3); border-color: rgba(200, 30, 138, .55); }
.plans .plan:hover { border-color: rgba(200, 30, 138, .45); }
.plans .plan__tag { color: #fff; background: #C81E8A; box-shadow: 0 6px 18px -6px rgba(200, 30, 138, .7); }
.plans .plan__price { color: #C81E8A; }
.plans .plan__price small { color: var(--soft); }
.plans .plan__feat li::before { background: #C81E8A; }
.plans .plan__perm { color: #0b5c2c; background: rgba(107, 228, 142, .26); border-color: rgba(31, 138, 90, .38); }
.plans .plan__perm--12 { color: #5c3f00; background: rgba(255, 210, 58, .34); border-color: rgba(176, 130, 0, .4); }
.plans .plan__cta { color: #8E1466; }
.plans .plans__dots i { background: rgba(15, 15, 15, .18); }
.plans .plans__dots i.is-on { background: #C81E8A; }
.plans :focus-visible { outline-color: #8E1466; }
/* medidor: cada segmento es un amigo; el último (verde) es cuando te pagamos */
.plan__meter { margin: 0 0 16px; }
.plan__mbar { position: relative; display: block; height: 10px; border-radius: 6px; overflow: hidden;
  background: repeating-linear-gradient(90deg, rgba(200, 30, 138, .13) 0 calc(100% / var(--n) - 2px), transparent calc(100% / var(--n) - 2px) calc(100% / var(--n))); }
.plan__mbar i { position: absolute; inset: 0;
  background: repeating-linear-gradient(90deg, #C81E8A 0 calc(100% / var(--n) - 2px), transparent calc(100% / var(--n) - 2px) calc(100% / var(--n))); }
.plan__mbar i::after { content: ""; position: absolute; top: 0; bottom: 0; right: 2px; width: calc(100% / var(--n) - 2px); background: #2fbf63; box-shadow: 0 0 10px rgba(47, 191, 99, .8); }
.plan__meter p { margin-top: 8px; font-size: 15px; color: var(--muted); }
.plan__meter b { color: #0F0F0F; font-weight: 650; }
@media (min-width: 1100px) {
  .plan--solo .plan__price { font-size: 92px; margin-top: 2px; }
  .plan--solo .plan__feat { flex: 1; }
}

/* ---- r4: sin franjas muertas entre escenas ---- */
@media (min-width: 900px) {
  /* la calculadora sube por la mitad baja (vacía) del escenario de la app: al soltar el pin ya asoma bajo la tarjeta */
  html.imm .calc { margin-top: -24svh; }
  /* cierre más compacto: el móvil y el texto comparten altura y no queda aire muerto antes del pie */
  html.imm .dl { padding-bottom: clamp(28px, 3.4vw, 52px); }
  html.imm .dl__viz { height: min(68svh, 620px); }
}
