/* =========================================================
   MiEspacio.fit — Landing
   Paleta de marca: Primary #99FF00 · Secondary #1A1A1A ·
   Tertiary #FFFFFF · Neutral #0A0A0A · Acento neón morado
   ========================================================= */

/* ---------- Tokens ---------- */
:root,
:root[data-theme="dark"] {
  --bg: #0A0A0A;
  --bg-2: #101010;
  --surface: #141414;
  --surface-2: #1A1A1A;
  --surface-3: #232323;
  --border: rgba(255, 255, 255, .08);
  --border-strong: rgba(255, 255, 255, .16);
  --text: #FFFFFF;
  --text-2: #A8A8A8;
  --text-3: #6E6E6E;
  --accent: #99FF00;          /* relleno: botones, barras, puntos */
  --accent-ink: #99FF00;      /* acento usado como texto */
  --accent-soft: rgba(153, 255, 0, .12);
  --on-accent: #0A0A0A;
  --purple: #A855F7;
  --purple-soft: rgba(168, 85, 247, .14);
  --glass: rgba(26, 26, 26, .55);
  --glass-border: rgba(255, 255, 255, .10);
  --glass-hi: rgba(255, 255, 255, .06);
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, .7);
  --glow-1: rgba(153, 255, 0, .10);
  --glow-2: rgba(168, 85, 247, .12);
  --node-bg: #FFFFFF;
  --node-ink: #0A0A0A;
  /* Degradado de títulos y contorno de banners (2026-10-16): lima neón, el morado nunca se mezcla en el texto */
  --grad-text: linear-gradient(90deg, #99FF00 0%, #C8FF4D 55%, #EEFFB3 100%);
  --banner-edge: linear-gradient(120deg, #99FF00 0%, rgba(153, 255, 0, .35) 40%, rgba(178, 90, 255, .55) 70%, #B25AFF 100%);
  --banner-glow: rgba(168, 85, 247, .32);
  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #F4F5F0;
  --bg-2: #ECEEE6;
  --surface: #FFFFFF;
  --surface-2: #F6F7F2;
  --surface-3: #EDEFE7;
  --border: rgba(10, 10, 10, .08);
  --border-strong: rgba(10, 10, 10, .16);
  --text: #0A0A0A;
  --text-2: #4B4F45;
  --text-3: #8A8E82;
  --accent: #99FF00;
  --accent-ink: #3F7D00;      /* el lima no se lee como texto sobre blanco */
  --accent-soft: rgba(153, 255, 0, .25);
  --on-accent: #0A0A0A;
  --purple: #8B3DF0;
  --purple-soft: rgba(139, 61, 240, .10);
  --glass: rgba(255, 255, 255, .62);
  --glass-border: rgba(10, 10, 10, .08);
  --glass-hi: rgba(255, 255, 255, .8);
  --shadow: 0 20px 50px -24px rgba(30, 40, 10, .28);
  --glow-1: rgba(153, 255, 0, .28);
  --glow-2: rgba(168, 85, 247, .10);
  --node-bg: #FFFFFF;
  --node-ink: #0A0A0A;
  /* Verde de siempre que llega rápido a un morado vivo (transición corta para que no se agrise) */
  --grad-text: linear-gradient(90deg, #4E9A00 0%, #6CC400 48%, #A93BFF 80%, #B14DFF 100%);
  --banner-edge: linear-gradient(120deg, #99FF00 0%, rgba(153, 255, 0, .45) 40%, rgba(160, 70, 250, .5) 70%, #A046FA 100%);
  --banner-glow: rgba(168, 85, 247, .16);
  color-scheme: light;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme]) {
    --bg: #F4F5F0; --bg-2: #ECEEE6; --surface: #FFFFFF; --surface-2: #F6F7F2; --surface-3: #EDEFE7;
    --border: rgba(10,10,10,.08); --border-strong: rgba(10,10,10,.16);
    --text: #0A0A0A; --text-2: #4B4F45; --text-3: #8A8E82;
    --accent-ink: #3F7D00; --accent-soft: rgba(153,255,0,.25);
    --purple: #8B3DF0; --purple-soft: rgba(139,61,240,.10);
    --glass: rgba(255,255,255,.62); --glass-border: rgba(10,10,10,.08); --glass-hi: rgba(255,255,255,.8);
    --shadow: 0 20px 50px -24px rgba(30,40,10,.28); --glow-1: rgba(153,255,0,.28); --glow-2: rgba(168,85,247,.10);
    --grad-text: linear-gradient(90deg, #4E9A00 0%, #6CC400 48%, #A93BFF 80%, #B14DFF 100%);
    --banner-edge: linear-gradient(120deg, #99FF00 0%, rgba(153,255,0,.45) 40%, rgba(160,70,250,.5) 70%, #A046FA 100%);
    --banner-glow: rgba(168,85,247,.16);
    color-scheme: light;
  }
}

:root {
  /* Escala de radios (GUIA_UI §Escalado móvil): escritorio */
  --r-xs: 6px; --r-sm: 12px; --r-md: 16px; --r-lg: 22px; --r-xl: 28px;
  --radius: var(--r-lg);
  --radius-sm: var(--r-md);
  --ring: 4px;
  --font: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-brand: "Science Gothic", "Outfit", sans-serif;
  --gutter: 20px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: clip;
  transition: background-color .4s var(--ease), color .4s var(--ease);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(60vw 50vw at 85% -10%, var(--glow-2), transparent 60%),
    radial-gradient(55vw 45vw at 0% 10%, var(--glow-1), transparent 60%);
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4, h5, h6, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
code { font-family: ui-monospace, "SF Mono", Menlo, monospace; }

.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
svg use { pointer-events: none; }
[class*="fc-ico"] svg, .b-ico svg, .f-dot svg, .chip-lime svg, .flame, .badge svg, .w-badge svg, .w-play svg, .d-qr svg, .spark svg, .live-btn svg {
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--accent); color: var(--on-accent); padding: 8px 14px; border-radius: var(--r-sm); }
.skip:focus { left: 12px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.container.narrow { max-width: 820px; }
.section { padding: 72px 0; }
@media (min-width: 900px) { .section { padding: 110px 0; } :root { --gutter: 32px; } }

/* ---------- Tipografía ---------- */
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 14px; }
.h2 { font-size: clamp(30px, 5vw, 52px); line-height: 1.08; font-weight: 800; letter-spacing: -.02em; }
.h3 { font-size: 21px; line-height: 1.25; font-weight: 700; }
.lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--text-2); margin-top: 16px; max-width: 640px; }
.section-head { margin-bottom: 44px; }
.section-head.center { text-align: center; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }
.hl-text { color: var(--accent-ink); }
.muted { color: var(--text-3); }

/* ---------- Glass ---------- */
.glass {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: inset 0 1px 0 var(--glass-hi), var(--shadow);
}

/* ---------- Botones ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px;
  border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 16px; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .3s var(--ease), background-color .3s, border-color .3s;
}
.btn:active { transform: scale(.97); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 15px; }
.btn-lg { height: 56px; padding: 0 28px; font-size: 17px; }
.btn-block { width: 100%; }
.btn-ghost { background: var(--glass); border-color: var(--border-strong); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.btn-ghost:hover { border-color: var(--accent-ink); }
.btn-solid { background: var(--accent); color: var(--on-accent); }
.btn-solid:disabled { background: var(--surface-3); color: var(--text-3); cursor: not-allowed; }

/* Botón glass con reflejo (prueba 14 días) */
.btn-glass {
  color: #0A0A0A;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(180deg, rgba(204, 255, 128, .95) 0%, rgba(153, 255, 0, .9) 48%, rgba(122, 214, 0, .95) 100%);
  border-color: rgba(214, 255, 150, .9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .85),
    inset 0 -3px 8px rgba(40, 80, 0, .25),
    0 0 0 4px rgba(153, 255, 0, .14),
    0 12px 40px -6px rgba(153, 255, 0, .55),
    0 0 26px -4px rgba(168, 85, 247, .35);
}
.btn-glass > * { position: relative; z-index: 2; }
.btn-glass::before { /* brillo superior tipo vidrio */
  content: ""; position: absolute; z-index: 1;
  left: 2px; right: 2px; top: 2px; height: 48%;
  border-radius: 999px 999px 40% 40% / 999px 999px 18px 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .7), rgba(255, 255, 255, .08));
  pointer-events: none;
}
.btn-glass::after { /* reflejo que cruza */
  content: ""; position: absolute; z-index: 1;
  top: -20%; bottom: -20%; width: 34%; left: -60%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .85), transparent);
  transform: skewX(-20deg);
  animation: shine 3.6s var(--ease) infinite;
  pointer-events: none;
}
.btn-glass:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.9), inset 0 -3px 8px rgba(40,80,0,.25), 0 0 0 6px rgba(153,255,0,.2), 0 16px 50px -6px rgba(153,255,0,.7), 0 0 34px -2px rgba(168,85,247,.45); transform: translateY(-1px); }
@keyframes shine { 0% { left: -60%; } 55%, 100% { left: 130%; } }

.icon-btn {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--border);
}
.icon-btn .ic { width: 19px; height: 19px; }
.theme-toggle .ic-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .ic-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .ic-moon { display: none; }

/* ---------- Borde neón (morado + verde) ---------- */
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.neon {
  position: relative;
  isolation: isolate;
  padding: 1.5px;
  border-radius: var(--r-xl);
  /* Dos destellos morado→verde que recorren el contorno; el resto del borde queda tenue */
  background: conic-gradient(from var(--ang), var(--border-strong) 0deg, var(--border-strong) 40deg, var(--purple) 95deg, var(--accent) 140deg, var(--border-strong) 165deg, var(--border-strong) 220deg, var(--purple) 275deg, var(--accent) 320deg, var(--border-strong) 345deg);
  animation: spin 7s linear infinite;
}
.neon::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border-radius: inherit; background: inherit;
  filter: blur(22px); opacity: .5;
}
.neon-inner { position: relative; border-radius: calc(var(--r-xl) - 1.5px); background: var(--surface); }
@keyframes spin { to { --ang: 360deg; } }

/* ---------- Navegación ---------- */
.nav-wrap { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding: 12px var(--gutter) 0; }
main { padding-top: 76px; }
.nav {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; gap: 16px;
  height: 64px; padding: 0 10px 0 18px;
  border-radius: 999px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-iso { width: 28px; height: 28px; color: #73C120; }
.brand-word { font-family: var(--font-brand); font-size: 14px; letter-spacing: .06em; }
.brand-dot { color: var(--accent-ink); }
.nav-links { display: none; gap: 4px; margin-left: auto; }
.nav-links a { display: block; padding: 8px 12px; border-radius: 999px; font-size: 15px; color: var(--text-2); transition: color .2s, background-color .2s; }
.nav-links a:hover { color: var(--text); background: var(--surface-2); }
.nav-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.menu-toggle { display: inline-grid; }
.hide-sm { display: none; }
.hide-xs { display: none; }
@media (min-width: 520px) { .hide-xs { display: inline-flex; } }
@media (min-width: 1080px) {
  .nav-links { display: flex; }
  .nav-actions { margin-left: 8px; }
  .menu-toggle { display: none; }
  .hide-sm { display: inline-flex; }
}
@media (max-width: 1079px) {
  .nav-links.open {
    display: flex; flex-direction: column; gap: 2px;
    position: absolute; top: 84px; left: var(--gutter); right: var(--gutter);
    padding: 10px; border-radius: var(--r-lg);
    background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow);
  }
  .nav-links.open a { padding: 12px 16px; font-size: 17px; color: var(--text); }
}

/* ---------- Hero ---------- */
.hero { padding: 48px 0 0; }
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .hero { padding-top: 72px; } .hero-grid { grid-template-columns: .9fr 1.1fr; } }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--text-2); box-shadow: inset 0 1px 0 var(--glass-hi); }
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.hero-title {
  margin-top: 22px;
  font-size: clamp(38px, 6vw, 66px);
  line-height: .98; font-weight: 900; letter-spacing: -.03em; text-transform: uppercase;
}
.hl {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { margin-top: 22px; font-size: clamp(16px, 1.6vw, 18px); color: var(--text-2); max-width: 560px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-ctas.center { justify-content: center; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; font-size: 14px; color: var(--text-2); }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust .ic { width: 16px; height: 16px; color: var(--accent-ink); }
.hero-badges { display: grid; gap: 14px; margin-top: 26px; }
.pay-row, .store-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.row-label { font-size: 13px; color: var(--text-3); margin-right: 2px; }
.pay-logo { display: inline-grid; place-items: center; width: 54px; height: 34px; border-radius: 8px; background: #fff; border: 1px solid var(--border); box-shadow: 0 4px 12px -6px rgba(0,0,0,.35); }
.pay-logo svg { width: 46px; height: 28px; }
.pay-logo.amex { background: #016FD0; }
.store-badge { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px 0 10px; border-radius: var(--r-sm); background: #000; color: #fff; border: 1px solid rgba(255,255,255,.25); font-weight: 600; font-size: 15px; line-height: 1.05; }
.store-badge svg { width: 22px; height: 22px; }
.store-badge small { display: block; font-size: 10px; font-weight: 400; opacity: .85; }
.store-note { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--purple-soft); color: var(--purple); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.hero-visual { position: relative; display: grid; place-items: center; min-height: 560px; }
.rings { position: absolute; inset: -40px -20px; display: grid; place-items: center; pointer-events: none; overflow: hidden; }
.rings > span { position: absolute; border-radius: 50%; border: 1px dashed var(--border-strong); }
.rings > span:nth-child(1) { width: 380px; height: 380px; }
.rings > span:nth-child(2) { width: 500px; height: 500px; opacity: .7; }
.rings > span:nth-child(3) { width: 620px; height: 620px; opacity: .4; }
.spark { position: absolute; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); box-shadow: 0 0 24px rgba(153,255,0,.5); }
.spark svg { width: 20px; height: 20px; }
.spark.s1 { left: 4%; top: 40%; animation: float 6s ease-in-out infinite; }
.spark.s2 { right: 4%; bottom: 20%; animation: float 7s ease-in-out infinite reverse; background: var(--purple); color: #fff; box-shadow: 0 0 24px rgba(168,85,247,.5); }

/* Teléfono (pantalla siempre oscura, como la app) */
.phone {
  position: relative; z-index: 2;
  width: 288px; aspect-ratio: 9 / 19;
  border-radius: 46px; padding: 10px;
  background: linear-gradient(145deg, #2a2a2a, #0b0b0b);
  box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 40px 80px -30px rgba(0,0,0,.8), 0 0 60px -20px rgba(153,255,0,.3);
}
.phone-notch { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; border-radius: var(--r-lg); background: #000; z-index: 3; }
.screen {
  height: 100%; border-radius: 37px; overflow: hidden;
  padding: 16px 14px; color: #fff;
  background: radial-gradient(120% 60% at 50% 0%, rgba(153,255,0,.16), transparent 60%), #0D0D0D;
  display: flex; flex-direction: column; gap: 10px;
  font-size: 12px;
}
.scr-status { display: flex; justify-content: space-between; padding: 2px 8px 6px; font-weight: 600; font-size: 12px; }
.scr-dots { display: flex; gap: 3px; align-items: center; }
.scr-dots i { width: 4px; height: 8px; border-radius: 2px; background: #fff; }
.scr-head { display: flex; align-items: center; gap: 10px; }
.scr-head small { display: block; color: #9a9a9a; font-size: 11px; line-height: 1.2; }
.scr-head strong { font-size: 15px; line-height: 1.2; }
.avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 13px; color: #0A0A0A; background: linear-gradient(135deg, #C6FF6B, #99FF00); }
.scr-bell { margin-left: auto; width: 32px; height: 32px; border-radius: 50%; background: #1d1d1d; position: relative; }
.scr-bell::after { content: ""; position: absolute; top: 7px; right: 8px; width: 7px; height: 7px; border-radius: 50%; background: #99FF00; }
.scr-card { background: #1A1A1A; border: 1px solid rgba(255,255,255,.06); border-radius: var(--r-lg); padding: 12px; }
.scr-card small { color: #9a9a9a; font-size: 11px; display: block; }
.scr-next strong { display: block; font-size: 17px; margin-top: 2px; }
.scr-next > span { color: #cfcfcf; }
.scr-next-row { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.chip-lime { display: inline-flex; align-items: center; gap: 6px; background: #99FF00; color: #0A0A0A; font-weight: 700; padding: 6px 10px; border-radius: 999px; font-size: 11px; }
.chip-lime svg { width: 14px; height: 14px; }
.scr-count { color: #9a9a9a; font-size: 11px; }
.scr-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.scr-streak { text-align: center; }
.scr-streak .flame { width: 26px; height: 26px; margin: 0 auto; color: #99FF00; filter: drop-shadow(0 0 8px rgba(153,255,0,.6)); }
.scr-streak strong { display: block; font-size: 26px; line-height: 1.1; }
.scr-week { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.ring-prog {
  width: 64px; height: 64px; border-radius: 50%;
  background: conic-gradient(#99FF00 calc(var(--p) * 360deg), #2a2a2a 0);
  display: grid; place-items: center; position: relative;
}
.ring-prog::before { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: #1A1A1A; }
.ring-prog span { position: relative; font-weight: 700; font-size: 14px; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 70px; margin-top: 8px; }
.bars i { flex: 1; height: var(--h); border-radius: 8px; background: #2c2c2c; }
.bars i.on { background: linear-gradient(180deg, #99FF00, rgba(153,255,0,.25)); }
.scr-nav { margin-top: auto; display: flex; justify-content: space-around; padding: 10px; border-radius: 999px; background: #1A1A1A; }
.scr-nav span { width: 22px; height: 22px; border-radius: 50%; background: #2c2c2c; }
.scr-nav span.on { background: #99FF00; box-shadow: 0 0 14px rgba(153,255,0,.6); }

.float-card { position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: var(--r-lg); font-size: 14px; animation: float 6s ease-in-out infinite; }
.float-card strong { display: block; line-height: 1.2; }
.float-card small { color: var(--text-2); font-size: 12px; }
.fc-1 { top: 2%; left: -4%; }
.fc-2 { top: 44%; right: 6%; animation-delay: -2s; }
.fc-3 { bottom: 8%; left: 2%; animation-delay: -4s; }
.fc-ico { width: 36px; height: 36px; border-radius: var(--r-sm); display: grid; place-items: center; flex: none; }
.fc-ico svg { width: 18px; height: 18px; }
.fc-ico.lime { background: var(--accent); color: #0A0A0A; }
.fc-ico.purple { background: var(--purple); color: #fff; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

@media (max-width: 600px) {
  .hero-visual { min-height: 520px; }
  .phone { width: 250px; }
  
  .float-card { font-size: 13px; padding: 10px 12px; }
  .fc-1 { left: -4px; top: 4%; }
  .fc-2 { right: -4px; }
  .fc-3 { left: -4px; }
  .spark { display: none; }
}

/* Marquesina */
.marquee { margin-top: 64px; padding: 18px 0; border-block: 1px solid var(--border); overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 32s linear infinite; }
.marquee-track span { font-size: 20px; font-weight: 700; color: var(--text-3); text-transform: uppercase; letter-spacing: .04em; display: inline-flex; align-items: center; gap: 48px; }
.marquee-track span::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Checks ---------- */
.checks { display: grid; gap: 12px; margin-top: 24px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); }
.checks li strong { color: var(--text); }
.checks .ic { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); margin-top: 2px; stroke-width: 3; }

/* ---------- Mapa 2D ---------- */
.map-grid { display: grid; gap: 36px; padding: 32px 22px; }
@media (min-width: 900px) { .map-grid { grid-template-columns: 1fr 1fr; padding: 56px; align-items: center; } }
.map-card { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.map-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.map-head strong { display: block; font-size: 17px; }
.map-head small { color: var(--text-2); }
.tag { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--purple-soft); color: var(--purple); white-space: nowrap; }
.room { border: 1px dashed var(--border-strong); border-radius: var(--r-lg); padding: 12px; background: var(--surface); }
.room-top, .room-bottom { display: flex; gap: 8px; }
.room-bottom { justify-content: flex-end; margin-top: 10px; }
.room-el { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--r-sm); font-size: 12px; font-weight: 600; color: var(--text-3); background: var(--surface-3); }
.room-el.wide { flex: 1; justify-content: center; }
.room-el .ic { width: 14px; height: 14px; }
.seats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 12px; }
.seat {
  aspect-ratio: 1; border-radius: var(--r-sm);
  display: grid; place-items: center;
  font-weight: 700; font-size: 13px;
  background: transparent; border: 1.5px solid var(--accent-ink); color: var(--text);
  transition: transform .15s var(--ease), background-color .2s, box-shadow .2s;
}
.seat:hover:not(:disabled) { transform: translateY(-2px); background: var(--accent-soft); }
.seat:disabled { cursor: not-allowed; border-color: transparent; background: var(--surface-3); color: var(--text-3); opacity: .8; }
.seat[aria-pressed="true"] { background: var(--accent); color: #0A0A0A; border-color: var(--accent); box-shadow: 0 0 18px rgba(153,255,0,.5); }
.legend { display: flex; flex-wrap: wrap; gap: 16px; margin: 14px 0; font-size: 13px; color: var(--text-2); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.lg { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.lg.free { border: 1.5px solid var(--accent-ink); }
.lg.taken { background: var(--surface-3); }
.lg.sel { background: var(--accent); }
.lg.pend { background: #3a3a3a; }
.lg.star { background: var(--purple); }
.map-note { min-height: 1.6em; margin-top: 10px; font-size: 14px; color: var(--text-2); text-align: center; }

/* ---------- Funnel ---------- */
.funnel-box { border: 1px solid var(--border); border-radius: var(--r-xl); background: var(--surface); padding: 44px 20px 28px; box-shadow: var(--shadow); }
@media (min-width: 900px) { .funnel-box { padding: 64px 48px 40px; } }
.funnel { position: relative; width: 100%; max-width: 820px; margin: 0 auto; aspect-ratio: 1000 / 400; display: none; }
@media (min-width: 760px) { .funnel { display: block; } .funnel-m { display: none !important; } }
.funnel-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.f-base path { fill: none; stroke: #525252; stroke-opacity: .55; stroke-width: 2; }
.f-beams path { fill: none; stroke-width: 2.5; stroke-linecap: round; }
.f-node { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; }
.f-dot {
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--node-bg); color: var(--node-ink);
  box-shadow: 0 0 0 5px var(--surface), 0 0 0 6px var(--border);
  transition: box-shadow .4s var(--ease), transform .4s var(--ease);
}
.f-dot svg { width: 24px; height: 24px; }
.f-dot svg.iso { color: #73C120; width: 36px; height: 36px; }
.f-label { position: absolute; top: calc(100% + 10px); white-space: nowrap; font-size: 13px; font-weight: 500; color: var(--text-2); transition: color .3s; }
.f-node.on .f-dot { box-shadow: 0 0 0 5px var(--surface), 0 0 0 7px var(--accent); }
.f-node.on .f-label { color: var(--text); }
.f-core .f-dot { width: 74px; height: 74px; background: #0A0A0A; }
:root[data-theme="dark"] .f-core .f-dot { background: #0A0A0A; box-shadow: 0 0 0 5px var(--surface), 0 0 0 6px var(--purple); }

.funnel-m { display: grid; gap: 0; position: relative; max-width: 420px; margin: 0 auto; }
.funnel-m::before { content: ""; position: absolute; left: 31px; top: 30px; bottom: 30px; width: 2px; background: var(--border-strong); }
.funnel-m li { position: relative; display: flex; gap: 16px; align-items: center; padding: 12px 0; }
.funnel-m .f-dot { width: 62px; height: 62px; flex: none; }
.funnel-m .f-dot svg { width: 26px; height: 26px; }
.funnel-m .f-core-dot { background: #0A0A0A; }
.funnel-m strong { display: block; line-height: 1.25; }
.funnel-m small { color: var(--text-2); font-size: 14px; }
.funnel-m li.on .f-dot { box-shadow: 0 0 0 5px var(--surface), 0 0 0 7px var(--accent); }

.funnel-caption { text-align: center; margin-top: 52px; font-size: 18px; font-weight: 600; min-height: 1.6em; transition: opacity .3s; }
@media (max-width: 759px) { .funnel-caption { display: none; } }
.pills4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 32px; }
@media (min-width: 900px) { .pills4 { grid-template-columns: repeat(4, 1fr); } }
.pill4 { display: flex; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 18px 12px; border-radius: var(--r-md); background: var(--surface-2); border: 1px solid var(--border); font-weight: 500; font-size: 15px; }
.pill4 .ic { color: var(--accent-ink); }

/* ---------- Tabs / paneles ---------- */
.tabs { position: relative; display: flex; width: max-content; max-width: 100%; margin: 0 auto 32px; padding: 5px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); }
.tabs button { position: relative; z-index: 1; border: 0; background: none; padding: 10px 22px; border-radius: 999px; font-weight: 600; color: var(--text-2); transition: color .3s; }
.tabs button[aria-selected="true"] { color: #0A0A0A; }
.tab-ind { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 5px; width: 0; border-radius: 999px; background: var(--accent); box-shadow: 0 0 20px rgba(153,255,0,.4); transition: transform .4s var(--ease), width .4s var(--ease); }
.panel { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .panel { grid-template-columns: .8fr 1.2fr; gap: 56px; } }
.panel-copy p { color: var(--text-2); margin-top: 10px; }

.mock { border-radius: var(--r-xl); padding: 14px; background: #0D0D0D; border: 1px solid rgba(255,255,255,.08); color: #fff; box-shadow: var(--shadow); }
:root[data-theme="light"] .mock { box-shadow: 0 30px 60px -30px rgba(0,0,0,.45); }
.dash-grid { display: grid; gap: 12px; }
.dash-grid.two { grid-template-columns: 1fr; }
.dash-grid.three { grid-template-columns: repeat(3, 1fr); }
@media (min-width: 600px) { .dash-grid.two { grid-template-columns: 1.3fr 1fr; } }
@media (max-width: 599px) { .dash-grid.three { grid-template-columns: 1fr 1fr; } .dash-grid.three .span2 { grid-column: span 2; } }
.d-card { background: #1A1A1A; border: 1px solid rgba(255,255,255,.06); border-radius: var(--r-lg); padding: 16px; min-width: 0; }
.d-card small { display: block; color: #9a9a9a; font-size: 13px; }
.d-card .muted { color: #777; margin-top: 6px; }
.span2 { grid-column: span 2; }
.d-big { font-size: 28px; font-weight: 800; line-height: 1.15; margin-top: 4px; }
.d-big span { font-size: 13px; font-weight: 500; color: #9a9a9a; }
.d-big.center { text-align: center; margin-top: -6px; }
.d-classes { display: grid; gap: 8px; margin-top: 10px; }
.d-class { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 8px; padding: 10px 12px; border-radius: var(--r-sm); background: #222; font-size: 14px; }
.d-class b { font-size: 14px; }
.d-class span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.d-class em { font-style: normal; font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.d-class em.ok { background: rgba(153,255,0,.15); color: #99FF00; }
.d-class em.warn { background: rgba(255,170,0,.15); color: #FFB547; }
.d-class em.full { background: rgba(168,85,247,.18); color: #C79BFF; }
.d-progress { height: 8px; border-radius: 99px; background: #2a2a2a; margin: 12px 0 6px; overflow: hidden; }
.d-progress i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--purple), #99FF00); }
.d-qr { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 12px; border-radius: var(--r-md); background: #99FF00; color: #0A0A0A; font-weight: 700; }
.d-qr svg { width: 22px; height: 22px; }
.d-chart { display: flex; align-items: flex-end; gap: 10px; height: 130px; margin-top: 14px; }
.d-chart i { flex: 1; height: var(--h); border-radius: var(--r-sm); background: #2c2c2c; }
.d-chart i.on { background: linear-gradient(180deg, #99FF00 0%, #99FF00 50%, rgba(153,255,0,.15) 100%); }
.d-days { display: flex; gap: 10px; margin-top: 8px; }
.d-days span { flex: 1; text-align: center; font-size: 12px; color: #777; }
.gauge-card { display: flex; flex-direction: column; }
.gauge { width: 100%; max-width: 160px; margin: 10px auto 0; }
.gauge path { fill: none; stroke-linecap: round; }
.g-bg { stroke: #2a2a2a; stroke-width: 10; }
.g-fg { stroke: #99FF00; stroke-width: 10; stroke-dasharray: var(--g) 1; filter: drop-shadow(0 0 6px rgba(153,255,0,.6)); }
.live-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.live-head strong { font-size: 17px; }
.live-dot { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: #99FF00; }
.live-dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #99FF00; animation: pulse 1.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(153,255,0,.6); } 100% { box-shadow: 0 0 0 10px rgba(153,255,0,0); } }
.live-seats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 16px; }
.live-seats span { aspect-ratio: 1; border-radius: var(--r-sm); display: grid; place-items: center; font-size: 12px; font-weight: 700; background: #222; color: #666; }
.live-seats .in { background: #99FF00; color: #0A0A0A; }
.live-seats .wait { background: #3a3a3a; color: #ddd; }
.live-seats .milestone { background: #A855F7; color: #fff; box-shadow: 0 0 16px rgba(168,85,247,.6); }
.live-foot { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 14px; font-size: 12px; color: #9a9a9a; }
.live-foot span { display: inline-flex; align-items: center; gap: 6px; }
.live-btn { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; padding: 12px; border-radius: var(--r-md); border: 1px solid rgba(255,255,255,.14); font-weight: 600; }
.live-btn .ic { width: 18px; height: 18px; }

/* ---------- Comunidad / racha ---------- */
.streak-stage { position: relative; display: grid; place-items: center; min-height: 640px; }
.phone-sm { width: 270px; }
.scr-title { font-size: 16px; font-weight: 700; text-align: center; }
.streak-hero { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: var(--r-lg); background: linear-gradient(135deg, rgba(153,255,0,.22), rgba(168,85,247,.18)); border: 1px solid rgba(153,255,0,.25); }
.streak-hero .flame { width: 34px; height: 34px; color: #99FF00; filter: drop-shadow(0 0 10px rgba(153,255,0,.8)); }
.streak-hero strong { display: block; font-size: 20px; line-height: 1.1; }
.streak-hero small { color: #cfcfcf; }
.cal-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.cal-head strong { font-size: 14px; }
.cal-dow, .cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.cal-dow span { text-align: center; font-size: 10px; color: #777; }
.cal { margin-top: 5px; }
.cal i { aspect-ratio: 1; border-radius: 6px; background: #262626; }
.cal i.e { background: transparent; }
.cal i.h1 { background: rgba(153,255,0,.35); }
.cal i.h2 { background: rgba(153,255,0,.65); }
.cal i.h3 { background: #99FF00; box-shadow: 0 0 8px rgba(153,255,0,.5); }
.cal i.today { outline: 2px solid #A855F7; outline-offset: 1px; }
.badges { display: flex; justify-content: center; gap: 10px; }
.badge { width: 42px; height: 42px; border-radius: var(--r-md); display: grid; place-items: center; background: #1f1f1f; color: #555; border: 1px dashed #333; }
.badge svg { width: 20px; height: 20px; }
.badge.on { background: rgba(153,255,0,.12); color: #99FF00; border: 1px solid rgba(153,255,0,.35); }

.fcard { position: absolute; z-index: 3; padding: 16px 18px; border-radius: var(--r-lg); }
.fcard small { display: block; color: var(--text-2); font-size: 13px; }
.fs-1 { left: 2%; top: 4%; transform: rotate(-6deg); width: 210px; }
.fs-2 { right: 4%; top: 8%; transform: rotate(5deg); text-align: center; width: 180px; }
.fs-2 .num { display: block; font-size: 54px; line-height: 1; font-weight: 900; }
.fs-2 > span { font-size: 20px; font-weight: 700; }
.flame.big { width: 46px; height: 46px; margin: 0 auto 4px; color: var(--accent-ink); filter: drop-shadow(0 0 12px rgba(153,255,0,.6)); }
.fs-3 { left: 0; bottom: 6%; transform: rotate(3deg); width: 250px; }
.fs-4 { right: 0; bottom: 10%; transform: rotate(-4deg); width: 240px; }
.fs-row { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.fs-big { font-size: 26px; font-weight: 800; margin-top: 4px; }
.fs-big span { font-size: 14px; font-weight: 500; color: var(--text-2); }
.fs-code { display: inline-block; margin-top: 10px; padding: 6px 12px; border-radius: var(--r-sm); font-family: ui-monospace, Menlo, monospace; font-weight: 700; letter-spacing: .1em; background: var(--accent-soft); color: var(--accent-ink); border: 1px dashed var(--accent-ink); }
.fcard .d-progress { background: var(--surface-3); }
.mini-heat { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; margin-top: 10px; }
.mini-heat i { aspect-ratio: 1; border-radius: 5px; background: var(--surface-3); }
.mini-heat i.h1 { background: rgba(153,255,0,.4); }
.mini-heat i.h2 { background: rgba(153,255,0,.7); }
.mini-heat i.h3 { background: var(--accent); }

@media (max-width: 899px) {
  .streak-stage { display: flex; flex-direction: column; gap: 16px; min-height: 0; }
  .streak-stage .phone-sm { order: -1; margin-bottom: 8px; }
  .fcard { position: relative; inset: auto; transform: none; width: 100%; max-width: 380px; }
}

/* ---------- Bento ---------- */
.bento { display: grid; gap: 16px; }
@media (min-width: 900px) { .bento { grid-template-columns: repeat(2, 1fr); } .b-wide { grid-column: span 2; } }
.b-card { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: 28px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); transition: border-color .3s, transform .3s var(--ease); }
.b-card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.b-card p { color: var(--text-2); margin-top: 10px; }
.b-wide { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .b-wide { grid-template-columns: 1fr 1fr; padding: 40px; } }
.b-ico { width: 46px; height: 46px; border-radius: var(--r-md); display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); margin-bottom: 18px; }
.b-ico svg { width: 22px; height: 22px; }

.workout { border-radius: var(--r-lg); overflow: hidden; background: #0D0D0D; color: #fff; border: 1px solid rgba(255,255,255,.08); }
.w-media { position: relative; height: 190px; background:
  radial-gradient(60% 80% at 70% 30%, rgba(153,255,0,.35), transparent 70%),
  radial-gradient(50% 70% at 20% 80%, rgba(168,85,247,.35), transparent 70%),
  linear-gradient(135deg, #1b1b1b, #0b0b0b); }
.w-badge { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; font-size: 12px; background: rgba(0,0,0,.5); border: 1px solid rgba(255,255,255,.15); }
.w-badge svg { width: 14px; height: 14px; color: #99FF00; }
.w-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #99FF00; color: #0A0A0A; box-shadow: 0 0 30px rgba(153,255,0,.6); }
.w-play svg { width: 24px; height: 24px; margin-left: 3px; }
.w-meta { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; justify-content: space-around; padding: 8px; border-radius: 999px; font-size: 12px; background: rgba(0,0,0,.55); border: 1px solid rgba(255,255,255,.12); }
.w-body { padding: 16px; }
.w-body strong { font-size: 18px; }
.w-tags { display: flex; gap: 8px; margin-top: 8px; }
.w-tags span { font-size: 12px; padding: 4px 10px; border-radius: 999px; background: #222; color: #99FF00; }
.w-btn { margin-top: 14px; text-align: center; padding: 12px; border-radius: 999px; background: #99FF00; color: #0A0A0A; font-weight: 700; }

.gauge-wrap { position: relative; margin-top: 18px; display: grid; place-items: center; }
.gauge.big { max-width: 260px; margin: 0; }
.g-ticks { stroke: var(--border-strong); stroke-width: 6; stroke-dasharray: 1 5; }
.gauge.big .g-bg { stroke: var(--surface-3); stroke-width: 12; }
.gauge.big .g-fg { stroke: var(--accent); stroke-width: 12; }
.g-needle { stroke: var(--accent-ink); stroke-width: 5; stroke-linecap: round; transform-origin: 100px 104px; transform: rotate(14deg); transition: transform 1.2s var(--ease); }
.g-hub { fill: var(--accent-ink); }
.gauge-label { text-align: center; margin-top: -4px; }
.gauge-label strong { font-size: 34px; font-weight: 800; line-height: 1; }
.gauge-label small { display: block; color: var(--text-2); }

.ad { margin-top: 20px; position: relative; padding: 22px; border-radius: var(--r-lg); color: #0A0A0A; overflow: hidden;
  background: linear-gradient(135deg, #C6FF6B, #99FF00 55%, #7AD600); }
.ad::after { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; background: rgba(168,85,247,.45); filter: blur(10px); }
.ad small { font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: 11px; position: relative; z-index: 1; }
.ad strong { display: block; font-size: 24px; line-height: 1.15; margin: 4px 0; position: relative; z-index: 1; font-weight: 800; }
.ad span { font-size: 13px; position: relative; z-index: 1; }
.ad-dots { display: flex; gap: 6px; margin-top: 14px; position: relative; z-index: 1; }
.ad-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(0,0,0,.25); }
.ad-dots i.on { width: 22px; border-radius: 99px; background: #0A0A0A; }

.swatches { display: flex; gap: 10px; margin-top: 18px; }
.swatches button { width: 38px; height: 38px; border-radius: 50%; border: 3px solid var(--surface); background: var(--c); box-shadow: 0 0 0 1px var(--border-strong); transition: transform .2s; }
.swatches button[aria-checked="true"] { transform: scale(1.12); box-shadow: 0 0 0 2px var(--text); }
.brand-prev { --b: #99FF00; border-radius: var(--r-lg); overflow: hidden; background: #0D0D0D; color: #fff; border: 1px solid rgba(255,255,255,.08); transition: box-shadow .4s; box-shadow: 0 0 40px -16px var(--b); }
.bp-bar { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 14px; }
.bp-logo { width: 26px; height: 26px; border-radius: 8px; background: var(--b); transition: background-color .4s; }
.bp-url { margin-left: auto; font-size: 11px; color: #888; font-family: ui-monospace, Menlo, monospace; }
.bp-body { padding: 18px; }
.bp-body strong { font-size: 18px; }
.bp-seats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 14px 0; }
.bp-seats i { aspect-ratio: 1.3; border-radius: var(--r-sm); border: 1.5px solid var(--b); transition: border-color .4s, background-color .4s; }
.bp-seats i.t { border-color: transparent; background: #262626; }
.bp-seats i.s { background: var(--b); }
.bp-btn { display: block; text-align: center; padding: 12px; border-radius: 999px; background: var(--b); color: #0A0A0A; font-weight: 700; transition: background-color .4s; }

/* ---------- Modos ---------- */
.modes { display: grid; gap: 16px; }
@media (min-width: 900px) { .modes { grid-template-columns: repeat(3, 1fr); } }
.mode { border-radius: var(--r-lg); padding: 26px; box-shadow: inset 0 1px 0 var(--glass-hi); }
.mode p { color: var(--text-2); margin-top: 8px; }
.mode code { display: inline-block; margin-top: 18px; padding: 8px 12px; border-radius: var(--r-sm); font-size: 13px; background: var(--surface-2); border: 1px solid var(--border); color: var(--accent-ink); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Precios ---------- */
.billing { display: inline-flex; margin-top: 28px; padding: 5px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); }
.billing button { border: 0; background: none; padding: 10px 18px; border-radius: 999px; font-weight: 600; color: var(--text-2); display: inline-flex; align-items: center; gap: 8px; transition: background-color .3s, color .3s; }
.billing button[aria-pressed="true"] { background: var(--text); color: var(--bg); }
.save { font-size: 12px; padding: 2px 8px; border-radius: 999px; background: var(--accent); color: #0A0A0A; }
.included { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 10px; padding: 16px 20px; border-radius: var(--r-lg); margin-bottom: 28px; font-size: 14px; }
.included span { padding: 4px 12px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); }
.plans { display: grid; gap: 18px; align-items: stretch; }
@media (min-width: 960px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan { position: relative; display: flex; flex-direction: column; padding: 30px 26px; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); }
.plan-neon { border-radius: var(--r-xl); }
.plan-neon .plan { border: 0; height: 100%; }
.plan.featured { background: linear-gradient(180deg, var(--surface) 0%, var(--surface) 60%, var(--accent-soft) 160%); }
.plan-flag { position: absolute; top: 18px; right: 18px; font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px; background: var(--purple); color: #fff; }
.plan-name { font-size: 24px; font-weight: 800; transition: color .3s var(--ease); }
.plans > .plan, .plans > .plan-neon { transition: transform .35s var(--ease), box-shadow .35s var(--ease), opacity .35s var(--ease), filter .35s var(--ease); }
@media (hover: hover) {
  .plans > .plan:hover, .plans > .plan-neon:hover { transform: translateY(-6px) scale(1.03); z-index: 2; }
  .plans > .plan:hover { box-shadow: 0 30px 60px -24px rgba(153,255,0,.35), var(--shadow); }
  .plans > .plan:hover .plan-name, .plan-neon:hover .plan-name { color: var(--accent-ink); }
}
.price { position: relative; }
.save-pop {
  position: absolute; right: 0; top: calc(100% + 5px);
  padding: 4px 12px; border-radius: 999px;
  font-size: 13px; font-weight: 800; letter-spacing: .02em; color: #0A0A0A;
  background: linear-gradient(90deg, var(--accent), #C6FF6B);
  box-shadow: 0 0 0 1px rgba(168,85,247,.6), 0 0 22px rgba(153,255,0,.55), 0 0 30px -6px rgba(168,85,247,.7);
  opacity: 0; transform: scale(.4); pointer-events: none; white-space: nowrap;
}
.save-pop.show { animation: pop .65s cubic-bezier(.2,1.6,.4,1) forwards, popglow 2.4s ease-in-out .65s infinite; }
@keyframes pop { 0% { opacity: 0; transform: scale(.4) translateY(8px) rotate(-6deg); } 70% { opacity: 1; transform: scale(1.12) translateY(0) rotate(2deg); } 100% { opacity: 1; transform: scale(1) rotate(0); } }
@keyframes popglow { 0%,100% { box-shadow: 0 0 0 1px rgba(168,85,247,.6), 0 0 16px rgba(153,255,0,.45); } 50% { box-shadow: 0 0 0 1px rgba(168,85,247,.9), 0 0 28px rgba(153,255,0,.75), 0 0 34px -4px rgba(168,85,247,.8); } }
.price { margin-top: 20px; }
.price + .price-note { padding-right: 100px; }
.plan-for { color: var(--text-2); font-size: 15px; margin-top: 6px; min-height: 48px; }
.price { display: flex; align-items: baseline; gap: 6px; margin-top: 20px; }
.amount { font-size: 46px; font-weight: 900; letter-spacing: -.02em; line-height: 1; }
.unit { color: var(--text-2); font-weight: 500; }
.price-note { font-size: 15px; font-weight: 500; color: var(--text-2); margin: 8px 0 22px; min-height: 1.4em; }
/* Plan no disponible en el periodo elegido: visible pero en gris */
.plan, .plan-neon { transition: opacity .35s var(--ease), filter .35s var(--ease); }
.is-unavailable { opacity: .45; filter: grayscale(1); }
.is-unavailable.plan-neon { animation-play-state: paused; }
.is-unavailable .amount { font-size: 26px; color: var(--text-3); }
.is-unavailable .plan-flag { display: none; }
.is-unavailable .btn { pointer-events: none; }
.plan-list { display: grid; gap: 12px; margin-top: 24px; }
.plan-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--text-2); }
.plan-list .ic { width: 18px; height: 18px; color: var(--accent-ink); margin-top: 3px; stroke-width: 3; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); transition: border-color .3s; }
.faq details[open] { border-color: var(--accent-ink); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font-weight: 600; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { transition: transform .3s var(--ease); color: var(--text-2); }
.faq details[open] summary .ic { transform: rotate(180deg); color: var(--accent-ink); }
.faq details p { padding: 0 22px 20px; color: var(--text-2); }

/* ---------- CTA final ---------- */
.cta-final { text-align: center; padding: 64px 22px; overflow: hidden; }
.cta-final .lead { margin-left: auto; margin-right: auto; }
.cta-iso { width: 64px; height: 64px; margin: 0 auto 22px; color: #73C120; filter: drop-shadow(0 0 24px rgba(153,255,0,.5)); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 56px 0 28px; margin-top: 40px; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-grid > div:first-child { grid-column: 1 / -1; }
@media (min-width: 900px) { .footer-grid > div:first-child { grid-column: auto; } }
.tagline { font-family: var(--font-brand); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); margin-top: 10px; }
.footer nav { display: grid; gap: 10px; align-content: start; }
.footer nav strong { font-size: 14px; margin-bottom: 4px; }
.footer nav a { color: var(--text-2); font-size: 15px; }
.footer nav a:hover { color: var(--accent-ink); }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border); color: var(--text-3); }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 80; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; max-width: calc(100% - 32px); padding: 12px 18px; border-radius: var(--r-md); background: var(--text); color: var(--bg); font-weight: 500; font-size: 15px; box-shadow: var(--shadow); transition: opacity .3s, transform .3s var(--ease); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Aparición al hacer scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
  .btn-glass::after { display: none; }
}

/* ---------- Zona por cuadrantes (mapa 2D) ---------- */
.zone-wrap { border-radius: var(--r-lg); padding: 12px; background: var(--surface); border: 1px solid var(--border); }
.zone { display: grid; grid-template-columns: 18px repeat(8, 1fr); grid-template-rows: 18px repeat(7, 1fr); gap: 3px; }
.zone .ax { display: grid; place-items: center; font-size: 10px; font-weight: 700; color: var(--text-3); }
.zone .q { aspect-ratio: 1; border-radius: 6px; border: 1px dashed var(--border-strong); opacity: .55; }
.z-el { display: flex; align-items: center; justify-content: center; gap: 6px; border-radius: 8px; font-size: 11px; font-weight: 700; color: var(--text-2); background: var(--surface-3); z-index: 1; margin: 2px; }
.z-el .ic { width: 16px; height: 16px; }
.z-el.mirror { background: linear-gradient(90deg, var(--purple-soft), var(--accent-soft), var(--purple-soft)); letter-spacing: .3em; text-transform: uppercase; }
.z-el.inst { background: var(--purple); color: #fff; box-shadow: 0 0 18px -4px var(--purple); }
.bike {
  z-index: 1; position: relative; margin: 1px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  border-radius: var(--r-sm); border: 1.5px solid var(--accent-ink); background: var(--surface);
  color: var(--accent-ink); font-size: 10px; font-weight: 800; line-height: 1; padding: 2px 0;
  transition: transform .18s var(--ease), background-color .2s, box-shadow .2s;
}
.bike .ic { width: 62%; height: auto; aspect-ratio: 1; stroke-width: 1.9; }
.bike span { color: var(--text); }
.bike:hover:not(:disabled) { transform: translateY(-2px) scale(1.06); background: var(--accent-soft); box-shadow: 0 6px 16px -6px rgba(153,255,0,.6); }
.bike:disabled { cursor: not-allowed; border-color: transparent; background: var(--surface-3); color: var(--text-3); }
.bike:disabled span { color: var(--text-3); }
.bike[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #0A0A0A; box-shadow: 0 0 0 3px rgba(153,255,0,.25), 0 0 22px rgba(153,255,0,.6); animation: bikepop .35s cubic-bezier(.2,1.6,.4,1); }
.bike[aria-pressed="true"] span { color: #0A0A0A; }
@keyframes bikepop { 0% { transform: scale(.85); } 100% { transform: scale(1); } }
.zone-pick { margin-top: 10px; text-align: center; font-size: 13px; color: var(--text-2); }
.zone-pick b { color: var(--accent-ink); }
.guest { border-radius: var(--r-lg); padding: 22px; background: #0D0D0D; color: #fff; border: 1px solid rgba(255,255,255,.08); position: relative; overflow: hidden; }
.guest::before { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(168,85,247,.55), transparent 70%); }
.guest > * { position: relative; }
.guest-tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: rgba(168,85,247,.25); color: #D3B4FF; }
.guest strong { display: block; font-size: 20px; margin-top: 10px; }
.guest-row { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.guest-row small { display: block; color: #9a9a9a; font-size: 12px; }
.guest-av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, #A855F7, #6D7CFF); }
.guest-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.guest-meta span { font-size: 12px; padding: 4px 10px; border-radius: 999px; background: #222; color: #99FF00; }

/* ---------- Menú contenedor "Funciones" ---------- */
.has-mm { position: static; }
.mm-toggle { display: inline-flex; align-items: center; gap: 4px; padding: 8px 12px; border: 0; border-radius: 999px; background: none; font-size: 15px; color: var(--text-2); transition: color .2s, background-color .2s; }
.mm-toggle .ic { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.mm-toggle:hover, .has-mm.open .mm-toggle { color: var(--text); background: var(--surface-2); }
.has-mm.open .mm-toggle .ic { transform: rotate(180deg); }
.megamenu { display: none; }
.mm-title { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); margin: 0 0 6px 12px; }
.mm-item { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: var(--r-md); transition: background-color .2s, transform .2s var(--ease); }
.mm-item b { display: block; font-size: 15px; font-weight: 600; color: var(--text); line-height: 1.3; }
.mm-item small { display: block; font-size: 13px; color: var(--text-2); line-height: 1.35; margin-top: 2px; }
.mm-ico { width: 40px; height: 40px; flex: none; border-radius: var(--r-sm); display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); transition: background-color .25s, color .25s, box-shadow .25s; }
.mm-ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mm-item:hover { background: var(--surface-2); transform: translateX(3px); }
.mm-item:hover .mm-ico { background: var(--accent); color: #0A0A0A; box-shadow: 0 0 0 4px var(--accent-soft); }
@media (min-width: 1080px) {
  .nav { position: relative; }
  .nav-links { margin-left: auto; margin-right: auto; }
  .megamenu {
    position: absolute; top: calc(100% + 12px); left: 50%; transform: translate(-50%, -8px);
    width: min(980px, calc(100vw - 48px));
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
    padding: 18px; border-radius: var(--r-xl);
    background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow), 0 30px 80px -30px rgba(0,0,0,.6);
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s;
  }
  .megamenu::before { /* línea superior morado→verde */
    content: ""; position: absolute; left: 24px; right: 24px; top: -1px; height: 2px; border-radius: 2px;
    background: linear-gradient(90deg, transparent, var(--purple), var(--accent), transparent);
  }
  .mm-col { padding: 6px 10px; }
  .mm-col + .mm-col { border-left: 1px solid var(--border); }
  .has-mm.open .megamenu { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); transition: opacity .25s var(--ease), transform .25s var(--ease); }
}
@media (max-width: 1079px) {
  .nav-links.open { max-height: calc(100vh - 110px); overflow-y: auto; }
  .nav-links.open .has-mm.open .megamenu { display: grid; gap: 4px; padding: 4px 0 8px; }
  .nav-links.open .mm-toggle { width: 100%; justify-content: space-between; padding: 12px 16px; font-size: 17px; color: var(--text); }
  .mm-title { margin-top: 10px; }
}
@media (max-width: 1079px) { .nav-links.open a.mm-item { display: flex; padding: 10px 12px; font-size: 15px; } }

/* ---------- Órbitas del hero ---------- */
.rings { z-index: 0; }
.orbit { position: absolute; width: var(--d); height: var(--d); border-radius: 50%; border: 1px dashed var(--border-strong); animation: orbit var(--t) linear infinite; }
.orbit .sat, .orbit .ghost { position: absolute; left: 50%; top: 50%; transform: rotate(var(--a)) translate(calc(var(--d) / 2)) rotate(calc(-1 * var(--a))); }
.sat { width: 36px; height: 36px; margin: -18px; border-radius: 50%; display: grid; place-items: center; }
.sat.lime { background: var(--accent); color: #0A0A0A; }
.sat.purple { background: var(--purple); color: #fff; }
.sat i { display: grid; place-items: center; animation: orbit var(--t) linear infinite reverse; } /* el ícono se mantiene derecho */
.sat svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ghost { width: 20px; height: 20px; margin: -10px; border-radius: 50%; border: 1.5px dashed var(--accent-ink); }
@keyframes orbit { to { transform: rotate(360deg); } }
@media (max-width: 600px) { .orbit.o3 { display: none; } .orbit { --d: 300px !important; } .orbit.o2 { --d: 400px !important; } }

.marca-solo { margin-top: 16px; }

/* ---------- Tiras diagonales de promo ---------- */
.ribbons { position: relative; height: 230px; margin: 40px 0 0; overflow: hidden; display: grid; place-items: center; }
.ribbon { position: absolute; left: -5%; right: -5%; padding: 16px 0; overflow: hidden; }
.ribbon.r1 { transform: rotate(-4deg); background: var(--accent); color: #0A0A0A; z-index: 2; box-shadow: 0 10px 30px -12px rgba(0,0,0,.6); }
.ribbon.r2 { transform: rotate(4deg); background: linear-gradient(90deg, #6D28D9, #A855F7, #6D28D9); color: #fff; }
.ribbon-track { display: flex; align-items: center; gap: 28px; width: max-content; animation: marquee 30s linear infinite; }
.ribbon-track.rev { animation-direction: reverse; animation-duration: 36s; }
.ribbon-track span { font-size: 22px; font-weight: 900; text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; }
.ribbon-track svg { width: 22px; height: 22px; fill: currentColor; stroke: none; flex: none; }
@media (max-width: 600px) { .ribbons { height: 170px; } .ribbon-track span { font-size: 16px; } .ribbon { padding: 11px 0; } }

/* ---------- Fondo de cuadrícula con brillo verde ---------- */
.grid-bg { position: relative; isolation: isolate; }
.grid-bg::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 55% at 50% 0%, rgba(153,255,0,.20), transparent 70%),
    linear-gradient(rgba(153,255,0,.09) 1px, transparent 1px) 0 0 / 46px 46px,
    linear-gradient(90deg, rgba(153,255,0,.09) 1px, transparent 1px) 0 0 / 46px 46px;
  -webkit-mask-image: radial-gradient(80% 75% at 50% 30%, #000 40%, transparent 100%);
          mask-image: radial-gradient(80% 75% at 50% 30%, #000 40%, transparent 100%);
}
:root[data-theme="light"] .grid-bg::before {
  background:
    radial-gradient(60% 55% at 50% 0%, rgba(153,255,0,.35), transparent 70%),
    linear-gradient(rgba(63,125,0,.10) 1px, transparent 1px) 0 0 / 46px 46px,
    linear-gradient(90deg, rgba(63,125,0,.10) 1px, transparent 1px) 0 0 / 46px 46px;
}

/* ---------- Push y niveles ---------- */
.push { margin-top: 18px; display: grid; gap: 12px; }
.push-note { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: var(--r-lg); background: var(--glass); border: 1px solid var(--glass-border); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: var(--shadow); animation: pushin 4s var(--ease) infinite; }
.push-note b { display: block; font-size: 12px; color: var(--text-2); font-weight: 600; }
.push-note span { font-size: 14px; }
.push-app { width: 34px; height: 34px; flex: none; border-radius: var(--r-sm); background: #0A0A0A; display: grid; place-items: center; color: #73C120; }
.push-app svg { width: 18px; height: 18px; }
@keyframes pushin { 0% { opacity: 0; transform: translateY(-14px) scale(.96); } 12%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-6px); } }
.push-list { display: grid; gap: 2px; }
.push-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 2px; font-size: 14px; color: var(--text-2); border-bottom: 1px solid var(--border); }
.sw { width: 38px; height: 22px; flex: none; border-radius: 99px; background: var(--surface-3); position: relative; transition: background-color .3s; }
.sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .3s var(--ease); box-shadow: 0 1px 3px rgba(0,0,0,.3); }
.sw.on { background: var(--accent); }
.sw.on::after { transform: translateX(16px); }
.levels { margin-top: 18px; padding: 16px; border-radius: var(--r-lg); background: var(--surface-2); border: 1px solid var(--border); }
.lvl-head { display: flex; align-items: center; gap: 12px; }
.lvl-head b { display: block; }
.lvl-head small { color: var(--text-2); font-size: 13px; }
.lvl-badge { width: 52px; height: 52px; flex: none; border-radius: var(--r-md); display: grid; place-items: center; font-weight: 900; font-size: 13px; color: #0A0A0A;
  background: linear-gradient(135deg, #FFE27A, #F2B705); box-shadow: 0 0 0 3px rgba(242,183,5,.25), 0 8px 20px -8px rgba(242,183,5,.7); }
.lvl-bar { background: var(--surface-3); }
.lvl-steps { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-3); }
.lvl-steps .done { color: var(--text-2); }
.lvl-steps .cur { color: var(--accent-ink); font-weight: 700; }
.lvl-badges { display: flex; gap: 10px; margin-top: 14px; }
.levels .badge { background: var(--surface-3); border-color: var(--border-strong); color: var(--text-3); }
.levels .badge.on { background: var(--accent-soft); color: var(--accent-ink); border: 1px solid var(--accent-ink); }

/* ---------- Push personalizada + insignias interactivas ---------- */
button.sw { border: 0; padding: 0; cursor: pointer; }
.push-custom { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: var(--r-md); border: 1.5px dashed var(--accent-ink); background: var(--accent-soft); }
.push-custom b { display: block; font-size: 14px; }
.push-custom small { display: block; font-size: 12px; color: var(--text-2); line-height: 1.35; }
.push-plus { width: 32px; height: 32px; flex: none; border-radius: var(--r-sm); display: grid; place-items: center; background: var(--accent); color: #0A0A0A; }
.push-plus svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.push-send { margin-left: auto; flex: none; font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: var(--text); color: var(--bg); }
.lvl-badges .badge { cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s; }
.lvl-badges .badge:hover { transform: translateY(-2px); }
.lvl-badges .badge[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--surface-2), 0 0 0 5px var(--accent); transform: scale(1.08); }
.lvl-detail { margin-top: 12px; min-height: 92px; padding: 14px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--border); }
.lvl-detail.pop { animation: ldpop .35s cubic-bezier(.2,1.5,.4,1); }
@keyframes ldpop { from { opacity: 0; transform: translateY(6px) scale(.97); } to { opacity: 1; transform: none; } }
.ld b { display: block; }
.ld small { display: block; color: var(--text-2); font-size: 13px; }
.ld .d-progress { background: var(--surface-3); }
.ld-level, .ld-fire { display: flex; align-items: center; gap: 12px; }
.lvl-badge.sm { width: 42px; height: 42px; border-radius: var(--r-sm); font-size: 11px; }
.fire { width: 52px; height: 52px; flex: none; display: grid; place-items: center; border-radius: var(--r-md); background: radial-gradient(circle at 50% 70%, rgba(255,140,0,.35), transparent 70%); }
.fire svg { width: 36px; height: 36px; fill: #FF8A00; stroke: #FFD24A; stroke-width: 1.5; transform-origin: 50% 90%; animation: flicker 1.1s ease-in-out infinite; filter: drop-shadow(0 0 8px rgba(255,138,0,.8)); }
@keyframes flicker { 0%,100% { transform: scale(1) rotate(-2deg); } 25% { transform: scale(1.08, .95) rotate(2deg); } 50% { transform: scale(.96, 1.08) rotate(-1deg); } 75% { transform: scale(1.05) rotate(3deg); } }
.go { display: inline-block; margin-top: 4px; font-size: 15px; color: var(--accent-ink); animation: gopulse 1.6s ease-in-out infinite; }
@keyframes gopulse { 50% { transform: scale(1.06); } }

/* ---------- Ajustes: bloque de nivel dinámico y push personalizada discreta ---------- */
.lvl-top { min-height: 118px; }
.lvl-top.pop { animation: ldpop .35s cubic-bezier(.2,1.5,.4,1); }
.lvl-ico { width: 52px; height: 52px; flex: none; border-radius: var(--r-md); display: grid; place-items: center; }
.lvl-ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lvl-ico.purple { background: var(--purple); color: #fff; }
.lvl-ico.locked { background: var(--surface-3); color: var(--text-3); border: 1px dashed var(--border-strong); }
.lvl-steps .go { margin-top: 0; font-size: 14px; }
.push-custom { display: block; border: 0; background: none; padding: 6px 2px 0; border-radius: 0; font-size: 13px; color: var(--text-3); line-height: 1.5; }
.push-custom em { font-style: italic; color: var(--text-2); }

/* ---------- Banner de cookies ---------- */
.cookies {
  position: fixed; left: 16px; bottom: 16px; z-index: 90;
  width: min(380px, calc(100vw - 32px));
  padding: 16px; border-radius: var(--r-lg);
  background: var(--glass); border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(20px) saturate(1.4); backdrop-filter: blur(20px) saturate(1.4);
  box-shadow: inset 0 1px 0 var(--glass-hi), 0 24px 60px -20px rgba(0,0,0,.6);
  opacity: 0; transform: translateY(24px) scale(.96);
  transition: opacity .4s var(--ease), transform .4s cubic-bezier(.2,1.4,.4,1);
}
.cookies.show { opacity: 1; transform: none; }
.ck-main { display: flex; gap: 12px; align-items: center; }
.cookie-face { width: 56px; height: 56px; flex: none; animation: cookiebob 2.8s ease-in-out infinite; transform-origin: 50% 80%; }
.cookie-face .cf-eyes { transform-origin: 30px 30px; animation: blink 4s infinite; }
@keyframes cookiebob { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg) translateY(-2px); } }
@keyframes blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.2); } }
.ck-title { font-size: 17px; font-weight: 800; line-height: 1.2; }
.ck-desc { font-size: 13px; color: var(--text-2); line-height: 1.45; margin-top: 3px; }
.ck-list { display: grid; gap: 2px; margin-top: 12px; }
.ck-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 2px; border-top: 1px solid var(--border); }
.ck-list b { display: block; font-size: 14px; }
.ck-list small { display: block; font-size: 12px; color: var(--text-2); line-height: 1.35; }
.ck-list .sw:disabled { opacity: .55; cursor: not-allowed; }
.ck-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; margin-top: 14px; }
.ck-link { margin-right: auto; border: 0; background: none; padding: 4px 2px; font-size: 13px; font-weight: 600; color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.ck-actions .btn-sm { height: 36px; padding: 0 14px; font-size: 13px; }
@media (max-width: 420px) { .cookies { left: 8px; bottom: 8px; width: calc(100vw - 16px); } .ck-link { width: 100%; margin-right: 0; text-align: left; } }

/* ---------- Logos oficiales ---------- */
.pay-logo.mp { width: 76px; padding: 0 6px; }
.pay-logo.mp img { width: 100%; height: auto; display: block; }
.store-official { display: inline-block; line-height: 0; }
.store-official img { height: 40px; width: auto; display: block; }
/* Los badges oficiales ya traen su borde gris; no se les agrega contorno (rompía las esquinas) */

/* ---------- Video en Rutinas ---------- */
.w-media.has-video { background: #0b0b0b; overflow: hidden; }
.w-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.w-media.has-video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35), transparent 35%, transparent 60%, rgba(0,0,0,.55)); pointer-events: none; }
.w-media.has-video > *:not(video) { z-index: 1; }
button.w-play { border: 0; cursor: pointer; transition: transform .2s var(--ease), opacity .3s; }
button.w-play:hover { transform: translate(-50%, -50%) scale(1.08); }
.w-play .i-pause { display: none; }
.w-play.is-playing .i-pause { display: block; }
.w-play.is-playing .i-play { display: none; }
.w-play.is-playing { opacity: 0; }
.w-media:hover .w-play.is-playing, .w-play.is-playing:focus-visible { opacity: 1; }
.w-play svg { width: 24px; height: 24px; }

/* ---------- Fotos integradas ---------- */
/* Masterclass: la foto llena la tarjeta a su tamaño original (la foto se adapta a la caja) */
.guest.has-photo { background: #0b0b0b; isolation: isolate; }
.guest > .guest-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.guest.has-photo::before {
  right: auto; top: auto; width: auto; height: auto; inset: 0; border-radius: 0;
  background: linear-gradient(180deg, rgba(10,10,10,.25) 0%, rgba(10,10,10,.55) 45%, rgba(10,10,10,.92) 100%),
              radial-gradient(70% 60% at 100% 0%, rgba(168,85,247,.35), transparent 70%);
}
/* Ajustes Masterclass: sin borde blanco y morado sólido */
.guest.has-photo { border: 0; background-clip: padding-box; box-shadow: inset 0 0 0 1px rgba(10,10,10,.9); }
.guest.has-photo::before {
  background: linear-gradient(180deg, rgba(10,10,10,.55) 0%, rgba(10,10,10,.7) 45%, rgba(10,10,10,.94) 100%),
              radial-gradient(70% 60% at 100% 0%, rgba(124,58,237,.35), transparent 70%);
}
.guest.has-photo .guest-tag { background: #7C3AED; color: #fff; }

/* ---------- Paneles: foto de cycling apenas visible que cambia con la pestaña ---------- */
.has-panel-bg { position: relative; isolation: isolate; overflow: hidden; }
.panel-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  -webkit-mask-image: radial-gradient(70% 70% at 50% 55%, #000 0%, rgba(0,0,0,.5) 50%, transparent 85%);
          mask-image: radial-gradient(70% 70% at 50% 55%, #000 0%, rgba(0,0,0,.5) 50%, transparent 85%); }
.pbg img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pbg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transform: scale(1.06);
  filter: grayscale(.4) brightness(.8); transition: opacity 1.1s var(--ease), transform 6s ease-out; }
.pbg.on { opacity: .1; transform: scale(1); }
:root[data-theme="light"] .pbg { filter: grayscale(1) brightness(1.1); }
:root[data-theme="light"] .pbg.on { opacity: .07; }

/* ---------- Scroll con teléfono fijo (estilo "scrollytelling") ---------- */
.scrolly { position: relative; height: 400vh; }
.sc-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; align-items: center; }
.sc-sticky::before { content: ""; position: absolute; inset: 0; z-index: -1; transition: background 1s var(--ease);
  background: radial-gradient(45% 50% at 50% 70%, rgba(153,255,0,.12), transparent 70%); }
.scrolly[data-step="1"] .sc-sticky::before { background: radial-gradient(45% 50% at 50% 70%, rgba(168,85,247,.16), transparent 70%); }
.scrolly[data-step="2"] .sc-sticky::before { background: radial-gradient(45% 50% at 50% 70%, rgba(41,151,255,.14), transparent 70%); }
.scrolly[data-step="3"] .sc-sticky::before { background: radial-gradient(45% 50% at 50% 70%, rgba(242,183,5,.13), transparent 70%); }
.sc-inner { position: relative; display: grid; justify-items: center; gap: 22px; padding-top: 70px; }
.sc-head { text-align: center; }
.sc-titles { display: grid; }
.sc-t { grid-area: 1 / 1; opacity: 0; transform: translateY(18px); transition: opacity .5s var(--ease), transform .5s var(--ease); pointer-events: none; }
.sc-t.on { opacity: 1; transform: none; pointer-events: auto; }
.sc-t .lead { margin-left: auto; margin-right: auto; }
.sc-stage { position: relative; width: min(860px, 100%); display: grid; place-items: center; }
.sc-phone { width: 250px; }
.sc-screens { position: relative; }
.sc-screen { position: absolute; inset: 42px 14px 14px; display: flex; flex-direction: column; gap: 10px;
  opacity: 0; transform: translateY(14px) scale(.98); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.sc-screen.on { opacity: 1; transform: none; }
.sc-big { font-size: 26px; font-weight: 800; line-height: 1.1; margin-top: 2px; }
.sc-big span { font-size: 13px; color: #9a9a9a; font-weight: 500; }
.sc-big em, .sc-f em { font-style: normal; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 99px; vertical-align: middle; }
em.down { background: rgba(153,255,0,.15); color: #99FF00; }
.sc-chart { width: 100%; height: 46px; margin-top: 6px; }
.scr-row .scr-card strong { display: block; font-size: 18px; }
.sc-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 6px; }
.sc-thumbs i { aspect-ratio: 3 / 4; border-radius: var(--r-sm); display: grid; place-items: end center; padding-bottom: 4px; font-style: normal; font-size: 10px; color: #cfcfcf;
  background: linear-gradient(160deg, #2a2a2a, #161616); }
.sc-thumbs i.on { outline: 2px solid #99FF00; }
.sc-rank { display: grid; gap: 6px; }
.sc-rank > div { display: grid; grid-template-columns: 18px 28px 1fr auto; align-items: center; gap: 8px; padding: 8px 10px; border-radius: var(--r-sm); background: #1A1A1A; font-size: 13px; }
.sc-rank b { color: #9a9a9a; }
.sc-rank em { font-style: normal; font-weight: 700; color: #cfcfcf; font-size: 12px; }
.sc-rank .av { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 10px; font-weight: 800; background: #2c2c2c; color: #fff; }
.sc-rank .me { background: rgba(153,255,0,.14); outline: 1px solid rgba(153,255,0,.5); }
.sc-rank .me .av { background: #99FF00; color: #0A0A0A; }
.sc-rank .me em, .sc-rank .me b { color: #99FF00; }
.sc-story { flex: 1; min-height: 0; border-radius: var(--r-lg); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; text-align: center;
  background: radial-gradient(80% 60% at 50% 30%, rgba(153,255,0,.35), transparent 70%), linear-gradient(165deg, #3b0f6b, #0D0D0D 70%); position: relative; }
.sc-story .flame { width: 48px; height: 48px; color: #99FF00; filter: drop-shadow(0 0 12px rgba(153,255,0,.8)); }
.sc-story strong { font-size: 30px; line-height: 1; }
.sc-story small { color: #cfcfcf; }
.st-brand { position: absolute; top: 12px; font-size: 10px; font-weight: 800; letter-spacing: .2em; color: #99FF00; }
.st-handle { position: absolute; bottom: 12px; font-size: 11px; color: #cfcfcf; }
.sc-share { text-align: center; padding: 11px; border-radius: 999px; background: #99FF00; color: #0A0A0A; font-weight: 800; font-size: 13px; }
.sc-amb { display: grid; justify-items: center; gap: 2px; padding: 12px; border-radius: var(--r-lg); background: linear-gradient(160deg, rgba(242,183,5,.18), #1A1A1A 70%); border: 1px solid rgba(242,183,5,.35); }
.amb-av { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; color: #0A0A0A;
  background: linear-gradient(135deg, #FFE27A, #F2B705); box-shadow: 0 0 0 3px #0D0D0D, 0 0 0 5px #F2B705; margin-bottom: 6px; }
.sc-amb small { color: #cfcfcf; font-size: 11px; }
.code { font-family: ui-monospace, Menlo, monospace; font-size: 14px !important; color: #99FF00; }
.sc-perks span { display: block; font-size: 12px; padding: 4px 0 4px 16px; position: relative; color: #e5e5e5; }
.sc-perks span::before { content: ""; position: absolute; left: 2px; top: 50%; width: 7px; height: 7px; margin-top: -3px; border-radius: 50%; background: #99FF00; }

.sc-f { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: var(--r-lg); font-size: 13px; min-width: 190px;
  opacity: 0; transition: opacity .45s var(--ease), transform .55s cubic-bezier(.2,1.4,.4,1); pointer-events: none; }
.sc-f small { display: block; color: var(--text-2); font-size: 12px; }
.sc-f b { display: block; }
.sc-f.l { left: 0; top: 18%; transform: translateX(-30px) rotate(-5deg); }
.sc-f.r { right: 0; bottom: 18%; transform: translateX(30px) rotate(5deg); }
.sc-f.on { opacity: 1; }
.sc-f.l.on { transform: rotate(-4deg); }
.sc-f.r.on { transform: rotate(4deg); }
.sc-f:not(:has(.fc-ico)) { display: block; }
.sc-f .d-progress { background: var(--surface-3); margin: 6px 0; }
.sc-dots { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); display: grid; gap: 10px; }
.sc-dot { display: flex; align-items: center; justify-content: flex-end; gap: 10px; border: 0; background: none; padding: 4px; color: var(--text-3); font-size: 13px; font-weight: 600; }
.sc-dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); transition: background-color .3s, transform .3s, box-shadow .3s; }
.sc-dot span { opacity: 0; transform: translateX(6px); transition: opacity .3s, transform .3s; }
.sc-dot:hover span, .sc-dot.on span { opacity: 1; transform: none; }
.sc-dot.on { color: var(--text); }
.sc-dot.on::after { background: var(--accent); transform: scale(1.3); box-shadow: 0 0 0 4px var(--accent-soft); }
@media (max-width: 899px) {
  .sc-f { display: none !important; }
  .sc-dots { right: 8px; }
  .sc-dot span { display: none; }
  .sc-phone { width: 220px; }
  .sc-inner { gap: 14px; padding-top: 80px; }
  .sc-t .lead { font-size: 15px; }
}
@media (max-height: 760px) and (min-width: 900px) { .sc-phone { width: 215px; } .sc-inner { gap: 12px; } }
@media (prefers-reduced-motion: reduce) { .scrolly { height: auto; } .sc-sticky { position: relative; height: auto; padding: 80px 0; } }

/* ---------- Comunidad: un solo teléfono, tarjetas animadas ---------- */
.scrolly.community { height: 500vh; }
.anchor { position: absolute; top: 25%; }
.cc-stage { width: min(1100px, 100%); min-height: 520px; }
.cc-card { position: absolute; z-index: 3; width: 230px; pointer-events: none;
  opacity: 0; filter: blur(8px);
  transform: translate(var(--ox, 0), var(--oy, 40px)) rotate(var(--r0, 0deg)) scale(.82);
  transition: opacity .5s var(--ease), filter .5s var(--ease), transform .8s cubic-bezier(.2,1.35,.3,1);
  transition-delay: 0s; }
.cc-card.on { opacity: 1; filter: none; pointer-events: auto; transition-delay: var(--d);
  transform: translateY(calc((.5 - var(--sp, .5)) * var(--k, 40px))) rotate(var(--r, 0deg)); }
.cc-in { padding: 16px 18px; border-radius: var(--r-lg); animation: float 6s ease-in-out infinite; transition: transform .35s var(--ease), box-shadow .35s; }
.cc-card.on:hover .cc-in { transform: rotate(calc(-1 * var(--r, 0deg))) scale(1.05); box-shadow: inset 0 1px 0 var(--glass-hi), 0 0 0 1px var(--accent-ink), 0 24px 50px -20px rgba(153,255,0,.35); }
.cc-card small { display: block; color: var(--text-2); font-size: 13px; }
.cc-card .fs-row strong { font-size: 15px; }
.cc-center { text-align: center; }
.cc-center .num { display: block; font-size: 52px; line-height: 1; font-weight: 900; }
.cc-center > span { font-size: 18px; font-weight: 700; }
.cc-card.p1 { left: 2%; top: 4%; --r: -6deg; --r0: -14deg; --ox: -70px; --oy: -20px; --k: 50px; }
.cc-card.p2 { right: 2%; top: 8%; --r: 5deg; --r0: 14deg; --ox: 70px; --oy: -20px; --k: 70px; width: 200px; }
.cc-card.p3 { left: 0; bottom: 4%; --r: 3deg; --r0: 10deg; --ox: -70px; --oy: 40px; --k: 35px; width: 250px; }
.cc-card.p4 { right: 0; bottom: 8%; --r: -4deg; --r0: -12deg; --ox: 70px; --oy: 40px; --k: 60px; width: 240px; }
.cc-card .cc-in { animation-delay: calc(var(--d) * -10); }
button.fs-code { cursor: pointer; font: inherit; font-family: ui-monospace, Menlo, monospace; font-weight: 700; letter-spacing: .1em; transition: background-color .2s, transform .2s; }
button.fs-code:hover { background: var(--accent); color: #0A0A0A; transform: scale(1.04); }
.podium { display: flex; align-items: flex-end; justify-content: center; gap: 8px; margin-top: 10px; height: 92px; }
.pd { display: grid; justify-items: center; gap: 4px; }
.pd span { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 800; background: var(--surface-3); }
.pd i { width: 44px; display: grid; place-items: center; font-style: normal; font-weight: 900; border-radius: 10px 10px 0 0; background: var(--surface-3); }
.pd.p1 i { height: 48px; background: linear-gradient(180deg, #FFE27A, #F2B705); color: #0A0A0A; }
.pd.p2 i { height: 34px; }
.pd.p3 i { height: 24px; }
.pd.me span { background: var(--accent); color: #0A0A0A; }
.vs { height: 10px; border-radius: 99px; background: var(--purple); overflow: hidden; margin: 10px 0 6px; }
.vs i { display: block; height: 100%; background: var(--accent); border-radius: inherit; }
.vs-l { display: flex; justify-content: space-between; font-size: 13px; }
.cc-card .sc-thumbs i { background: linear-gradient(160deg, var(--surface-3), var(--surface-2)); color: var(--text-2); }
.cc-card .sc-chart { height: 38px; }
.scrolly.community .sc-sticky::before { background: radial-gradient(45% 50% at 50% 70%, rgba(153,255,0,.12), transparent 70%); }
.scrolly.community[data-step="1"] .sc-sticky::before { background: radial-gradient(45% 50% at 50% 70%, rgba(41,151,255,.13), transparent 70%); }
.scrolly.community[data-step="2"] .sc-sticky::before { background: radial-gradient(45% 50% at 50% 70%, rgba(168,85,247,.16), transparent 70%); }
.scrolly.community[data-step="3"] .sc-sticky::before { background: radial-gradient(45% 50% at 50% 70%, rgba(255,79,163,.12), transparent 70%); }
.scrolly.community[data-step="4"] .sc-sticky::before { background: radial-gradient(45% 50% at 50% 70%, rgba(242,183,5,.13), transparent 70%); }
@media (max-width: 899px) { .cc-card { display: none; } .cc-stage { min-height: 0; } }
@media (max-height: 820px) and (min-width: 900px) { .cc-stage { min-height: 460px; } .cc-card { transform-origin: center; } }
/* Comunidad: pasos como barra de pestañas bajo el teléfono */
.scrolly.community .sc-dots { position: static; transform: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 5px; border-radius: 999px; background: var(--glass); border: 1px solid var(--glass-border); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.scrolly.community .sc-dot { padding: 7px 14px; border-radius: 999px; font-size: 13px; }
.scrolly.community .sc-dot::after { display: none; }
.scrolly.community .sc-dot span { opacity: 1; transform: none; display: inline !important; }
.scrolly.community .sc-dot.on { background: var(--accent); color: #0A0A0A; }
.scrolly.community .sc-inner { gap: 14px; padding-top: 64px; }
.scrolly.community .sc-phone { width: 232px; }
@media (max-height: 860px) and (min-width: 900px) { .scrolly.community .sc-phone { width: 205px; } .scrolly.community .cc-stage { min-height: 430px; } .scrolly.community .sc-t .lead { font-size: 15px; margin-top: 8px; } }

/* Niveles e insignias dentro de Racha y comunidad */
.lvl-mini { display: flex; align-items: center; gap: 10px; }
.lvl-mini b { display: block; font-size: 15px; }
.cc-card .d-progress { background: var(--surface-3); margin: 10px 0 6px; }
.cc-card .lvl-steps { font-size: 11px; }
.ins-row { display: flex; gap: 8px; margin-top: 8px; }
.ins-row .badge { cursor: pointer; background: var(--surface-3); color: var(--text-3); border: 1px dashed var(--border-strong); transition: transform .2s var(--ease), box-shadow .2s; }
.ins-row .badge.on { background: var(--accent-soft); color: var(--accent-ink); border: 1px solid var(--accent-ink); }
.ins-row .badge:hover { transform: translateY(-2px); }
.ins-row .badge[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px var(--accent); transform: scale(1.08); }
.ins-cap { margin-top: 8px; font-size: 13px; font-weight: 600; min-height: 2.6em; }
.ins-cap.pop { animation: ldpop .35s cubic-bezier(.2,1.5,.4,1); }
.cc-card.p3[data-i="0"] { width: 270px; }
/* La tarjeta de push queda sola: ocupa el ancho completo */
@media (min-width: 900px) {
  #motiva { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; align-items: start; }
  #motiva > .b-ico, #motiva > h3, #motiva > p { grid-column: 1; }
  #motiva > .push { grid-column: 2; grid-row: 1 / span 4; margin-top: 0; }
}

/* Push personalizadas: énfasis en la columna izquierda (informativo, no es un botón) */
.push-quote { margin-top: 22px; padding: 4px 0 4px 18px; border-left: 3px solid; border-image: linear-gradient(180deg in oklab, var(--accent), var(--purple) 58%) 1; }
.pq-label { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); }
.pq-label svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.push-quote p { margin-top: 6px !important; font-size: 15px; }
.push-quote blockquote { margin: 10px 0 0; font-size: clamp(18px, 2vw, 22px); font-weight: 700; line-height: 1.3; color: var(--text); }
@media (min-width: 900px) { #motiva > .push-quote { grid-column: 1; } }
.logros { display: grid; gap: 6px; margin-top: 10px; }
.logros li { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.logros li::before { content: ""; width: 16px; height: 16px; flex: none; border-radius: 50%; border: 1.5px solid var(--border-strong); }
.logros li.ok::before { border-color: var(--accent); background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A0A0A' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 10px no-repeat; }
.logros li.next { color: var(--text-2); }
.logros em { margin-left: auto; font-style: normal; font-size: 12px; font-weight: 700; color: var(--accent-ink); }

/* Push personalizadas: mención ligera de la función */
.push-feature { margin-top: 20px; display: flex; gap: 12px; align-items: flex-start; }
.pf-ico { width: 34px; height: 34px; flex: none; border-radius: var(--r-sm); display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); }
.pf-ico svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; }
.push-feature b { display: block; font-size: 15px; }
.push-feature small { display: block; font-size: 14px; color: var(--text-2); margin-top: 2px; }
.pf-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.pf-tags span { font-size: 12px; color: var(--text-2); padding: 3px 10px; border-radius: 999px; border: 1px solid var(--border); }
@media (min-width: 900px) { #motiva > .push-feature { grid-column: 1; } }

/* =========================================================
   Modo claro: paleta refinada
   - Textos en grafito suave (no negro puro) y grises neutros
   - Verde de texto más limpio y legible
   - Los títulos destacados usan el lima de marca como "marcatexto"
   ========================================================= */
:root[data-theme="light"] {
  --bg: #F6F7F5;
  --bg-2: #EEF0EC;
  --surface: #FFFFFF;
  --surface-2: #F4F5F2;
  --surface-3: #E9EBE6;
  --border: rgba(20, 24, 30, .08);
  --border-strong: rgba(20, 24, 30, .15);
  --text: #16191F;
  --text-2: #4E5561;
  --text-3: #8B919B;
  --accent-ink: #2C8500;
  --accent-soft: rgba(153, 255, 0, .22);
  --shadow: 0 18px 44px -24px rgba(20, 30, 40, .22);
  --glass: rgba(255, 255, 255, .72);
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme]) { --text: #16191F; --text-2: #4E5561; --text-3: #8B919B; --accent-ink: #2C8500; --bg: #F6F7F5; }
}

/* Títulos destacados: texto oscuro con subrayado tipo marcatexto lima */
:root[data-theme="light"] .hl-text,
:root[data-theme="light"] .hl {
  color: var(--text);
  background: linear-gradient(180deg, transparent 58%, rgba(153, 255, 0, .85) 58%, rgba(153, 255, 0, .85) 92%, transparent 92%);
  -webkit-background-clip: border-box; background-clip: border-box;
  -webkit-text-fill-color: currentColor;
  padding: 0 .08em; border-radius: 4px;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
:root[data-theme="light"] .hero-title { color: #111419; }

/* Detalles verdes pequeños: un poco más vivos */
:root[data-theme="light"] .eyebrow,
:root[data-theme="light"] .brand-dot,
:root[data-theme="light"] .lvl-steps .cur { color: #2C8500; }
:root[data-theme="light"] .checks .ic { background: rgba(153, 255, 0, .35); color: #1F6100; }
:root[data-theme="light"] .b-ico,
:root[data-theme="light"] .mm-ico,
:root[data-theme="light"] .pf-ico { background: rgba(153, 255, 0, .3); color: #1F6100; }

/* Tarjetas de vidrio en claro: borde y sombra más limpios */
:root[data-theme="light"] .glass { box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 16px 40px -24px rgba(20, 30, 40, .25); }
:root[data-theme="light"] .fs-code { color: #1F6100; border-color: #2C8500; }

/* ---------- Hero con foto de fondo (2026-10-10) ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; padding-bottom: 8px; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: var(--hero-img, url("../assets/fotos/panel-alumno.jpg")) 50% 20% / cover no-repeat;
  filter: saturate(1.15) brightness(1.15);
}
@media (min-width: 960px) {
  .hero::before { left: 28%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%); mask-image: linear-gradient(90deg, transparent, #000 30%); }
}
.hero::after { /* degradado: texto legible a la izquierda, foto visible a la derecha */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(10,10,10,.92) 0%, rgba(10,10,10,.6) 36%, rgba(10,10,10,.08) 62%, rgba(10,10,10,.3) 100%),
    linear-gradient(180deg, rgba(10,10,10,.15) 0%, transparent 55%, var(--bg) 100%),
    radial-gradient(50% 45% at 80% 30%, rgba(168,85,247,.22), transparent 70%);
}
.hero .hero-sub, .hero .hero-trust { color: #D6D6D6; }
.hero .hero-title { color: #fff; }
.hero .row-label { color: #A8A8A8; }
:root[data-theme="light"] .hero .hero-title { color: #fff; }
:root[data-theme="light"] .hero .hl { color: #fff; }
:root[data-theme="light"] .hero .pill { color: #333; }
:root[data-theme="light"] .hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,.4); }
@media (max-width: 959px) {
  .hero::before { background-position: 55% 12%; }
  .hero::after {
    background:
      linear-gradient(180deg, rgba(10,10,10,.35) 0%, rgba(10,10,10,.78) 48%, rgba(10,10,10,.45) 75%, var(--bg) 100%),
      radial-gradient(70% 40% at 70% 20%, rgba(168,85,247,.25), transparent 70%);
  }
}

/* ---------- Móvil: ajustes generales (2026-10-10) ---------- */
@media (max-width: 600px) {
  body { font-size: 16px; }
  .nav-wrap { padding-left: 10px; padding-right: 10px; }
  .nav { height: 56px; padding: 0 6px 0 14px; gap: 8px; }
  .brand-word { font-size: 12px; }
  .brand-iso { width: 24px; height: 24px; }
  .hero { padding-top: 28px; }
  .hero-title { font-size: clamp(34px, 10.5vw, 44px); margin-top: 16px; }
  .hero-sub { font-size: 15.5px; margin-top: 16px; }
  .hero-ctas { flex-direction: column; gap: 10px; margin-top: 24px; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .hero-trust { gap: 8px 16px; font-size: 13px; }
  .pill { font-size: 12.5px; padding: 7px 12px; }
  .hero-visual { min-height: 480px; }
  .phone { width: 232px; }
  .float-card small { display: none; }
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 30px; }
  .h2 { font-size: clamp(27px, 8vw, 34px); }
  .marquee { margin-top: 40px; }
  .marquee-track span { font-size: 16px; gap: 32px; }
  .btn-lg { min-height: 52px; }
  .store-official img { height: 36px; }
  .pay-logo { width: 48px; height: 30px; }
}
@media (max-width: 340px) { .brand-word { display: none; } }

/* =========================================================
   Ajustes 2026-10-10 · revisión móvil + escala de radios
   ========================================================= */

/* Logos de tiendas y nota del plan: un poco más visibles */
.store-row .row-label { color: var(--text-2); font-weight: 600; }
.store-note { font-size: 12.5px; font-weight: 700; padding: 4px 11px; background: rgba(168,85,247,.22); color: #D9BCFF; border: 1px solid rgba(168,85,247,.45); }
:root[data-theme="light"] .store-note { background: rgba(139,61,240,.12); color: #6A1FD0; border-color: rgba(139,61,240,.35); }

/* La foto del hero llega hasta arriba (detrás de la barra fija) */
.hero { margin-top: -76px; padding-top: 124px; }
@media (min-width: 960px) { .hero { padding-top: 148px; } }

/* Mapa 2D: la cuadrícula nunca se sale de su tarjeta */
.zone { grid-template-columns: 14px repeat(8, minmax(0, 1fr)); grid-template-rows: 14px repeat(7, auto); }
.zone .q, .bike, .z-el { min-width: 0; }
.map-grid > * { min-width: 0; }

/* Escala de radios y anillos en móvil */
@media (max-width: 600px) {
  :root { --r-xs: 4px; --r-sm: 8px; --r-md: 10px; --r-lg: 14px; --r-xl: 18px; --ring: 3px; }
  .btn-glass { box-shadow: inset 0 1px 0 rgba(255,255,255,.85), inset 0 -2px 6px rgba(40,80,0,.25), 0 0 0 var(--ring) rgba(153,255,0,.14), 0 10px 30px -8px rgba(153,255,0,.5); }

  /* Mapa: más compacto */
  .map-grid { padding: 22px 14px; gap: 26px; }
  .map-card { padding: 12px; }
  .map-head strong { font-size: 15px; }
  .zone-wrap { padding: 8px; }
  .zone { gap: 2px; }
  .zone .ax { font-size: 9px; }
  .zone .q { border-radius: 3px; }
  .bike { border-radius: 5px; border-width: 1px; font-size: 8.5px; margin: 0; padding: 1px 0; }
  .bike .ic { width: 55%; }
  .z-el { font-size: 9px; gap: 3px; margin: 1px; border-radius: 4px; }
  .z-el .ic { width: 11px; height: 11px; }
  .z-el.mirror { letter-spacing: .2em; }
  .legend { gap: 12px; font-size: 12px; margin: 10px 0; }
  .lg { width: 12px; height: 12px; border-radius: 3px; }

  /* Precios: selector y tarjetas proporcionados */
  .billing { display: flex; width: 100%; margin-top: 20px; padding: 4px; }
  .billing { margin-top: 26px; }
  .billing button { flex: 1; justify-content: center; padding: 9px 4px; font-size: 14px; position: relative; }
  .billing .save { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); font-size: 9.5px; padding: 2px 7px; white-space: nowrap; box-shadow: 0 0 0 2px var(--bg); }
  .included { padding: 12px; gap: 6px; font-size: 12.5px; margin-bottom: 20px; }
  .included strong { width: 100%; text-align: center; }
  .included span { padding: 3px 9px; }
  .plans { gap: 14px; }
  .plan { padding: 22px 18px; }
  .plan-name { font-size: 20px; }
  .plan-flag { top: 14px; right: 14px; font-size: 11px; padding: 4px 10px; }
  .price { margin-top: 14px; }
  .amount { font-size: 36px; }
  .price-note { font-size: 13.5px; margin: 6px 0 16px; }
  .price + .price-note { padding-right: 0; }
  .plan-list { gap: 9px; margin-top: 18px; }
  .plan-list li { font-size: 14px; }
}

/* Comunidad en móvil: teléfono más chico y tarjetas encima, como en el hero */
@media (max-width: 899px) {
  .scrolly.community .sc-inner { gap: 10px; padding-top: 72px; }
  .scrolly.community .sc-t .h2 { font-size: clamp(24px, 7vw, 30px); }
  .scrolly.community .sc-t .lead { font-size: 14px; margin-top: 6px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .scrolly.community .sc-phone { width: 178px; padding: 7px; border-radius: 30px; }
  .scrolly.community .sc-phone .screen { padding: 12px 9px; gap: 7px; border-radius: 24px; font-size: 10px; }
  .scrolly.community .sc-phone .phone-notch { width: 64px; height: 18px; top: 14px; }
  .scrolly.community .sc-phone .streak-hero { padding: 8px; gap: 6px; }
  .scrolly.community .sc-phone .streak-hero .flame { width: 22px; height: 22px; }
  .scrolly.community .sc-phone .streak-hero strong { font-size: 14px; }
  .scrolly.community .sc-phone .cal-head small { display: none; }
  .scrolly.community .cc-stage { min-height: 0; width: 100%; display: grid; place-items: center; padding: 6px 0; }
  .scrolly.community .cc-card { display: block; width: 46%; max-width: 170px; --k: 16px; }
  .scrolly.community .cc-card.p2 { width: 40%; }
  .cc-card.p1 { left: 0; top: 4%; }
  .cc-card.p2 { right: 0; top: 10%; }
  .cc-card.p3 { left: 0; bottom: 6%; }
  .cc-card.p4 { right: 0; bottom: 2%; }
  .cc-card.p3, .cc-card.p4 { width: 46%; }
  .cc-in { padding: 9px 10px; border-radius: var(--r-md); }
  .cc-card small { font-size: 11px; line-height: 1.3; }
  .cc-card .fs-row { gap: 6px; }
  .cc-card .fs-row strong { font-size: 12px; line-height: 1.2; }
  .cc-card .fc-ico { width: 24px; height: 24px; border-radius: 7px; }
  .cc-card .fc-ico svg { width: 13px; height: 13px; }
  .cc-center .num { font-size: 30px; }
  .cc-center > span { font-size: 13px; }
  .cc-card .fs-big { font-size: 18px; }
  .cc-card .ins-row { gap: 5px; }
  .cc-card .ins-row .badge { width: 26px; height: 26px; }
  .cc-card .ins-row .badge svg { width: 13px; height: 13px; }
  .cc-card .ins-cap, .cc-card .logros, .cc-card .sc-chart, .cc-card .lvl-steps, .cc-card .sc-thumbs { display: none; }
  .cc-card .mini-heat { gap: 2px; margin-top: 6px; }
  .cc-card .mini-heat i { border-radius: 2px; }
  .cc-card .mini-heat i:nth-child(n+22) { display: none; }
  .scrolly.community .cc-card.p1 { width: 38%; }
  .cc-card .podium { height: 64px; gap: 4px; }
  .cc-card .pd span { width: 22px; height: 22px; font-size: 9px; }
  .cc-card .pd i { width: 30px; font-size: 11px; }
  .cc-card .pd.p1 i { height: 32px; } .cc-card .pd.p2 i { height: 22px; } .cc-card .pd.p3 i { height: 16px; }
  .cc-card .lvl-badge.sm { transform: scale(.8); }
  .cc-card .lvl-mini b { font-size: 12px; }
  .cc-card button.fs-code { font-size: 11px; padding: 3px 8px; margin-top: 4px; }

  /* Pestañas de pasos: una sola fila deslizable, compacta */
  .scrolly.community .sc-dots { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; max-width: 100%; gap: 2px; padding: 3px; border-radius: var(--r-md); scroll-snap-type: x mandatory; }
  .scrolly.community .sc-dots::-webkit-scrollbar { display: none; }
  .scrolly.community .sc-dot { flex: none; padding: 6px 11px; font-size: 12.5px; border-radius: var(--r-sm); scroll-snap-align: center; white-space: nowrap; }
}
@media (max-width: 899px) and (max-height: 700px) { .scrolly.community .sc-phone { width: 150px; } .scrolly.community .sc-t .lead { -webkit-line-clamp: 2; } }

/* Iniciar sesión dentro del menú en celular/tablet (el botón de la barra se oculta ahí) */
.nav-login-m { display: none; }
@media (max-width: 1079px) {
  .nav-links.open .nav-login-m { display: block; margin-top: 6px; padding-top: 8px; border-top: 1px solid var(--border); }
  .nav-links.open .nav-login-m a { font-weight: 700; color: var(--accent-ink); }
}

/* =========================================================
   Hero sin foto (2026-10-12): fondo de luces de marca y cuadrícula.
   ========================================================= */
.hero::before {
  background:
    radial-gradient(42% 38% at 78% 30%, rgba(168,85,247,.42), transparent 70%),
    radial-gradient(36% 34% at 62% 62%, rgba(153,255,0,.20), transparent 70%),
    radial-gradient(30% 40% at 0% 0%, rgba(168,85,247,.22), transparent 70%),
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px) 0 0 / 44px 44px,
    #0A0A0A;
  filter: none; left: 0;
  -webkit-mask-image: none; mask-image: none;
}
.hero::after {
  background:
    radial-gradient(80% 60% at 50% 40%, transparent 40%, rgba(10,10,10,.55) 100%),
    linear-gradient(180deg, transparent 70%, var(--bg) 100%);
}
@media (max-width: 959px) {
  .hero::before {
    background:
      radial-gradient(90% 34% at 85% 6%, rgba(168,85,247,.45), transparent 70%),
      radial-gradient(80% 26% at 10% 70%, rgba(153,255,0,.16), transparent 70%),
      radial-gradient(90% 30% at 70% 88%, rgba(168,85,247,.28), transparent 70%),
      linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px) 0 0 / 36px 36px,
      linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px) 0 0 / 36px 36px,
      #0A0A0A;
  }
  .hero::after { background: linear-gradient(180deg, transparent 80%, var(--bg) 100%); }
}

/* =========================================================
   Celular, revisión 2026-10-12: hero más limpio, aparición sin huecos, cookies compactas
   ========================================================= */
@media (max-width: 759px) {
  .js .reveal { transform: translateY(14px); transition-duration: .5s; }
}
@media (max-width: 600px) {
  .hero { padding-top: 108px; }
  .hero-sub .hs-more { display: none; }
  .hero-title { font-size: clamp(40px, 12.4vw, 50px); line-height: .98; letter-spacing: -.04em; }
  .hero-sub { font-size: 16.5px; line-height: 1.55; color: #E2E2E2; }
  .hero-ctas { margin-top: 28px; gap: 12px; }
  .hero-ctas .btn-lg { min-height: 56px; }
  .hero-trust { margin-top: 24px; display: grid; gap: 8px; }
  .hero-badges { margin-top: 24px; gap: 16px; padding: 16px; border-radius: 20px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
  .pay-row, .store-row { flex-wrap: wrap; row-gap: 8px; }
  .hero-visual { margin-top: 8px; }

  .cookies { padding: 14px 16px; }
  .cookie-face { width: 40px; height: 40px; }
  .ck-title { font-size: 16px; }
  .ck-desc { font-size: 12.5px; }
  .ck-actions { margin-top: 12px; }
  .ck-actions .btn-sm { height: 44px; flex: 1; }
  .ck-link { order: 3; width: 100%; text-align: center; min-height: 40px; }
}
@media (max-width: 600px) {
  .hero-badges .row-label { width: 100%; font-size: 13px; }
  .pay-row { gap: 8px; }
  .pay-row .pay-logo { flex: 1 1 0; width: auto; min-width: 0; height: 36px; }
  .store-row { gap: 8px; }
  .store-row .store-official { flex: 1 1 0; min-width: 0; }
  .store-row .store-official img { width: 100%; height: auto; max-height: 44px; object-fit: contain; }
  .store-note { width: 100%; text-align: center; padding: 6px 12px; }
}

/* Comunidad: el parallax va en `translate` sin transición (antes reiniciaba la animación
   de entrada de .8 s en cada scroll y se sentía lento); sección más corta (2026-10-12) */
.scrolly.community { height: 400vh; }
.cc-card.on { transform: rotate(var(--r, 0deg)); translate: 0 calc((.5 - var(--sp, .5)) * var(--k, 40px)); }
/* Rendimiento (2026-10-12): el movimiento sigue al scroll con un suavizado corto (sin brincos),
   las tarjetas no usan desenfoque de vidrio (se recalculaba en cada cuadro al moverse)
   y las ocultas no animan ni se dibujan */
.cc-card { transition: opacity .5s var(--ease), filter .5s var(--ease), transform .8s cubic-bezier(.2,1.35,.3,1), translate .25s ease-out, visibility 0s linear .5s; visibility: hidden; }
.cc-card.on { visibility: visible; transition: opacity .5s var(--ease) var(--d), filter .5s var(--ease) var(--d), transform .8s cubic-bezier(.2,1.35,.3,1) var(--d), translate .25s ease-out, visibility 0s; }
.cc-card .cc-in.glass { -webkit-backdrop-filter: none; backdrop-filter: none; background: color-mix(in srgb, var(--surface-2) 92%, transparent); }
.cc-card:not(.on) .cc-in { animation-play-state: paused; }

/* Precio de lanzamiento (2026-10-14): etiqueta y precio anterior tachado */
.launch-tag { display: inline-flex; align-self: flex-start; margin: 12px 0 0; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .02em; color: #0A0A0A; background: linear-gradient(90deg, #99FF00, #C6FF6B); }
.plan .was { font-size: 18px; font-weight: 700; color: var(--text-3); text-decoration-thickness: 2px; }
.plan .was[hidden] { display: none; }

/* Hero en tema claro (2026-10-14): fondo claro con las luces de marca y texto oscuro */
:root[data-theme="light"] .hero::before {
  background:
    radial-gradient(42% 38% at 78% 30%, rgba(139,61,240,.18), transparent 70%),
    radial-gradient(36% 34% at 62% 62%, rgba(153,255,0,.28), transparent 70%),
    radial-gradient(30% 40% at 0% 0%, rgba(139,61,240,.10), transparent 70%),
    linear-gradient(rgba(10,10,10,.05) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, rgba(10,10,10,.05) 1px, transparent 1px) 0 0 / 44px 44px,
    var(--bg);
}
:root[data-theme="light"] .hero::after { background: linear-gradient(180deg, transparent 75%, var(--bg) 100%); }
@media (max-width: 959px) {
  :root[data-theme="light"] .hero::before {
    background:
      radial-gradient(90% 34% at 85% 6%, rgba(139,61,240,.16), transparent 70%),
      radial-gradient(80% 26% at 10% 70%, rgba(153,255,0,.24), transparent 70%),
      radial-gradient(90% 30% at 70% 88%, rgba(139,61,240,.12), transparent 70%),
      linear-gradient(rgba(10,10,10,.05) 1px, transparent 1px) 0 0 / 36px 36px,
      linear-gradient(90deg, rgba(10,10,10,.05) 1px, transparent 1px) 0 0 / 36px 36px,
      var(--bg);
  }
}
:root[data-theme="light"] .hero .hero-title { color: #111419; }
:root[data-theme="light"] .hero .hl { color: #0A0A0A; }
:root[data-theme="light"] .hero .hero-sub, :root[data-theme="light"] .hero .hero-trust { color: var(--text-2); }
:root[data-theme="light"] .hero .row-label { color: var(--text-2); }
:root[data-theme="light"] .hero .btn-ghost { color: var(--text); border-color: var(--border-strong); }
@media (max-width: 600px) {
  :root[data-theme="light"] .hero-badges { background: rgba(255,255,255,.6); border-color: var(--border); }
}

/* Potencia Total sin pago mensual (2026-10-14): en «Mensual» se oculta y las otras dos se centran */
.plans > [hidden] { display: none !important; }
@media (min-width: 960px) { .plans.plans-2 { grid-template-columns: repeat(2, minmax(0, 380px)); justify-content: center; } }

/* Cintas medidas por JS (main.js → MiMarquee): avanzan exactamente un juego, sin brincos */
.marquee-track.mq-on, .ribbon-track.mq-on { gap: 0; animation: mq var(--mq-t, 32s) linear infinite; }
.ribbon-track.rev.mq-on { animation-direction: reverse; }
.mq-set { display: flex; align-items: center; flex: none; }
.marquee-track .mq-set { gap: 48px; padding-right: 48px; }
.ribbon-track .mq-set { gap: 28px; padding-right: 28px; }
@media (max-width: 600px) { .marquee-track .mq-set { gap: 32px; padding-right: 32px; } }
@keyframes mq { to { transform: translate3d(calc(-1 * var(--mq-w)), 0, 0); } }
@media (prefers-reduced-motion: reduce) { .marquee-track.mq-on, .ribbon-track.mq-on { animation: none; } }

/* Portada con foto elegida en el editor de la landing (si no hay, quedan las luces de marca) */
.hero.has-img::before { background: var(--hero-img) 60% 25% / cover no-repeat; filter: saturate(1.05); left: 0; -webkit-mask-image: none; mask-image: none; }
.hero.has-img::after { background: linear-gradient(90deg, rgba(10,10,10,.94) 0%, rgba(10,10,10,.72) 45%, rgba(10,10,10,.35) 100%), linear-gradient(180deg, transparent 75%, var(--bg) 100%); }
@media (max-width: 959px) { .hero.has-img::after { background: linear-gradient(180deg, rgba(10,10,10,.6) 0%, rgba(10,10,10,.85) 60%, var(--bg) 100%); } }
:root[data-theme="light"] .hero.has-img::before { background: var(--hero-img) 60% 25% / cover no-repeat; }
:root[data-theme="light"] .hero.has-img::after { background: linear-gradient(90deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.75) 45%, rgba(255,255,255,.3) 100%), linear-gradient(180deg, transparent 75%, var(--bg) 100%); }

/* Business: borde completo dorado ↔ morado que fluye (colores del botón de referencia, dorado
   más profundo) y halo difuminado sin orillas. Capas: halo (z -2) · borde nítido + fondo (z -1) · contenido. */
.biz-edge { --gold: #FFC21A; --gold2: #F5A800; --pur: #BF00FF;
  position: relative; isolation: isolate; border: 1.5px solid transparent !important; background: none !important; box-shadow: none !important; transition: transform .3s ease; }
.biz-edge::before, .biz-edge::after { content: ""; position: absolute; inset: -1.5px; border-radius: inherit; pointer-events: none;
  background-size: 300% 100% !important; animation: bizFlow 4.5s linear infinite; }
.biz-edge::before { z-index: -1; border: 1.5px solid transparent;
  background: linear-gradient(var(--surface), var(--surface)) padding-box, linear-gradient(var(--bg), var(--bg)) padding-box,
    linear-gradient(90deg, var(--gold), var(--pur), var(--gold2), var(--pur), var(--gold)) border-box; }
.biz-edge::after { z-index: -2; inset: 2px; filter: blur(14px); opacity: .45; transition: opacity .35s ease, inset .35s ease;
  background: linear-gradient(90deg, var(--gold), var(--pur), var(--gold2), var(--pur), var(--gold)); }
.biz-edge:hover { transform: translateY(-2px); }
.biz-edge:hover::after { opacity: .85; inset: -2px; }
@keyframes bizFlow { to { background-position: 300% 50%; } }
@media (prefers-reduced-motion: reduce) { .biz-edge::before, .biz-edge::after { animation: none; } }

/* Etiqueta «Precio Fundador» en el menú (2026-10-16): morada con dorado, aparece al pasar el mouse */
.nav-precios { position: relative; display: inline-flex; align-items: center; gap: 8px; }
.nav-off { position: relative; overflow: hidden; display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 900; line-height: 1.2; letter-spacing: .04em; white-space: nowrap; color: #FFD23F; background: linear-gradient(135deg, #6D28D9, #A855F7); box-shadow: inset 0 0 0 1.5px #E8B923, 0 6px 18px -8px rgba(168, 85, 247, .9); text-shadow: 0 1px 0 rgba(0, 0, 0, .25); transform: rotate(-4deg); transition: opacity .2s, transform .25s cubic-bezier(.2, .9, .3, 1.4); }
.nav-off::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 226, 120, .55) 50%, transparent 70%); transform: translateX(-130%); }
.nav-precios:hover .nav-off::after, .nav-precios:focus-visible .nav-off::after { transition: transform .7s ease; transform: translateX(130%); }
/* Con mouse: escondida hasta pasar el cursor por «Precios». En celular (sin mouse) se ve siempre */
@media (hover: hover) {
  .nav-off { opacity: 0; transform: rotate(-4deg) translateY(4px) scale(.8); pointer-events: none; }
  .nav-precios:hover .nav-off, .nav-precios:focus-visible .nav-off { opacity: 1; transform: rotate(-4deg) translateY(0) scale(1); }
}
@media (prefers-reduced-motion: reduce) { .nav-off, .nav-off::after { transition: none; } }
.launch-tag[hidden] { display: none; }

/* Mientras se hace scroll (js/ui-controles.js) las animaciones decorativas se pausan: menos repintado */
.is-scrolling *, .is-scrolling *::before, .is-scrolling *::after { animation-play-state: paused !important; }
