/* Open KX Play — landing. Paleta tomada de la app (play.openkx.ai). */
:root {
  --bg: #0b101c;
  --surface: #151e30;
  --surface-2: #1d2940;
  --line: rgba(255, 255, 255, 0.1);
  --text: #ffffff;
  --text-2: #c9d0de;
  --muted: #8f9bb3;
  --brand: #916eff;
  --brand-light: #bda8ff;
  --ok: #22c55e;
  --bad: #f04438;
  /* Cambiá a "uppercase" para titulares en mayúsculas */
  --hcase: none;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--brand-light); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }

/* ---------- Tipografía ---------- */
.display, h1, h2, h3 {
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.045em;
  text-transform: var(--hcase);
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.9rem, 9.4vw, 8.5rem); letter-spacing: -0.06em; line-height: 0.96; }
h2 { font-size: clamp(2.3rem, 6.2vw, 5.4rem); letter-spacing: -0.055em; line-height: 0.98; }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); letter-spacing: -0.03em; line-height: 1.15; }
.violet { color: var(--brand-light); }
.dim { color: var(--muted); }
.lead { font-size: clamp(1.1rem, 1.7vw, 1.4rem); color: var(--text-2); max-width: 36ch; margin: 0; line-height: 1.45; }
p { margin: 0; color: var(--text-2); max-width: 52ch; text-wrap: pretty; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 52px; padding: 0 28px; border-radius: 999px;
  font: 500 1rem/1 "Poppins", sans-serif; letter-spacing: -0.01em;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s;
}
.btn:active { transform: scale(0.97); }
.btn-solid { background: var(--text); color: #0b101c; }
.btn-solid:hover { background: var(--brand-light); }
.btn-brand { background: var(--brand); color: #fff; box-shadow: 0 8px 32px -8px rgba(145, 110, 255, 0.7); }
.btn-brand:hover { background: #a285ff; }
.btn-ghost { border-color: var(--line); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.35); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 0.9rem; }
.btn-lg { height: 60px; padding: 0 36px; font-size: 1.1rem; }

/* ---------- Navegación ---------- */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(11, 16, 28, 0.78); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.nav img { height: 22px; width: auto; }
.nav-links { display: flex; gap: 28px; font-size: 0.95rem; }
.nav-links a { text-decoration: none; color: var(--muted); transition: color 0.2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }
.nav-cta { display: flex; gap: 8px; }
@media (max-width: 820px) { .nav-links { display: none; } }
@media (max-width: 420px) { .nav-cta .btn-ghost { display: none; } }

/* ---------- Secciones ---------- */
section { padding: clamp(72px, 12vw, 160px) 0; }
.hero { position: relative; padding: clamp(72px, 13vw, 170px) 0 clamp(80px, 12vw, 150px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; left: 50%; bottom: -60%; width: 1100px; height: 800px; translate: -50% 0;
  background: radial-gradient(closest-side, rgba(145, 110, 255, 0.32), transparent);
  pointer-events: none;
}
.hero .wrap { position: relative; display: grid; gap: clamp(28px, 4vw, 48px); }
.hero .brandline { color: var(--brand-light); font-weight: 500; font-size: 1.1rem; letter-spacing: -0.01em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-sub { display: grid; gap: 28px; }
.hero .line { display: block; }
.hero .line.two { color: var(--brand-light); }

.center { text-align: center; justify-items: center; }
.center p, .center .lead { margin-inline: auto; }
.stack { display: grid; gap: 28px; }
.stack-lg { display: grid; gap: clamp(36px, 5vw, 64px); }
.rule { border-top: 1px solid var(--line); }
.tinted { background: linear-gradient(180deg, var(--surface), var(--bg)); }

/* Dos columnas */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* ---------- Desafío de muestra ---------- */
.quiz { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: clamp(22px, 3vw, 36px); display: grid; gap: 22px; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.7); }
.quiz-top { display: flex; justify-content: space-between; align-items: center; font-size: 0.9rem; color: var(--muted); }
.quiz-pts { color: var(--text); font-weight: 500; font-variant-numeric: tabular-nums; }
.quiz-pts b { color: var(--brand-light); font-weight: 600; }
.quiz-q { font-size: clamp(1.3rem, 2.4vw, 1.7rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1.2; margin: 0; color: var(--text); max-width: none; }
.quiz-opts { display: grid; gap: 10px; }
.opt {
  text-align: left; font: 400 1rem/1.35 "Poppins", sans-serif; color: var(--text);
  background: var(--surface-2); border: 1px solid transparent; border-radius: 16px; padding: 15px 18px;
  cursor: pointer; transition: border-color 0.2s, background 0.2s, transform 0.2s var(--ease);
}
.opt:hover:not(:disabled) { border-color: var(--brand); }
.opt:disabled { cursor: default; }
.opt.right { background: rgba(34, 197, 94, 0.16); border-color: var(--ok); }
.opt.wrong { background: rgba(240, 68, 56, 0.14); border-color: var(--bad); }
.quiz-out { min-height: 3.2em; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 0.95rem; color: var(--text-2); }
.quiz-out a { color: var(--brand-light); font-weight: 500; }
.pop { animation: pop 0.5s var(--ease); }
@keyframes pop { 0% { transform: scale(0.8); opacity: 0; } 60% { transform: scale(1.06); } 100% { transform: scale(1); opacity: 1; } }

/* ---------- Pasos ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 1px solid var(--line); }
.steps li { padding: 28px 24px 8px 0; display: grid; gap: 12px; align-content: start; }
.steps li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.steps .n { color: var(--brand-light); font-weight: 500; font-variant-numeric: tabular-nums; }
.steps p { font-size: 0.98rem; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding: 20px 0; border-left: 0; border-bottom: 1px solid var(--line); grid-template-columns: 2.2rem 1fr; column-gap: 8px; }
  .steps li h3 { grid-column: 2; } .steps li p { grid-column: 2; } .steps .n { grid-row: 1; }
}

/* ---------- Temas ---------- */
.topics { font-size: clamp(1.5rem, 3.4vw, 2.8rem); font-weight: 500; letter-spacing: -0.04em; line-height: 1.25; color: var(--muted); max-width: 22ch; text-wrap: balance; }
.topics span { color: var(--text); }

/* ---------- Premios ---------- */
.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.perk { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 28px 24px; min-height: 180px; display: flex; flex-direction: column; justify-content: flex-end; }
.perk:nth-child(1) { background: linear-gradient(160deg, rgba(145, 110, 255, 0.35), var(--surface) 70%); }
@media (max-width: 900px) { .perks { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .perks { grid-template-columns: 1fr; } .perk { min-height: 110px; } }

/* ---------- Tres experiencias ---------- */
.paths { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.path { padding: 36px 28px 40px 0; display: grid; gap: 14px; align-content: start; text-decoration: none; }
.path + .path { padding-left: 28px; border-left: 1px solid var(--line); }
.path h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.path .go { margin-top: 10px; color: var(--brand-light); font-weight: 500; }
a.path:hover .go { text-decoration: underline; text-underline-offset: 5px; }
@media (max-width: 860px) {
  .paths { grid-template-columns: 1fr; }
  .path, .path + .path { padding: 28px 0; border-left: 0; }
  .path + .path { border-top: 1px solid var(--line); }
}

/* ---------- Cadena (organizaciones) ---------- */
.chain { display: flex; flex-wrap: wrap; gap: 10px 0; align-items: center; font-size: clamp(1rem, 1.8vw, 1.35rem); font-weight: 500; letter-spacing: -0.02em; }
.chain span { padding: 12px 22px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.chain span:last-child { background: var(--brand); border-color: var(--brand); }
.chain i { width: 28px; height: 1px; background: var(--brand-light); position: relative; }
.chain i::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid var(--brand-light); border-right: 1px solid var(--brand-light); rotate: 45deg; }
@media (max-width: 640px) { .chain { flex-direction: column; align-items: flex-start; gap: 0; } .chain i { width: 1px; height: 22px; margin-left: 28px; } .chain i::after { right: -3px; top: auto; bottom: 0; rotate: 135deg; } }

/* Listas de conceptos */
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.tags li { padding: 9px 18px; border: 1px solid var(--line); border-radius: 999px; color: var(--text-2); font-size: 0.95rem; }

/* Comparativa "de → a" */
.shift { display: grid; gap: 14px; }
.shift .from { color: var(--muted); font-size: clamp(1.4rem, 3vw, 2.2rem); letter-spacing: -0.03em; text-decoration: line-through; text-decoration-color: rgba(255, 255, 255, 0.25); }
.shift .to { font-size: clamp(1.7rem, 4vw, 3.2rem); font-weight: 500; letter-spacing: -0.045em; line-height: 1.05; }

/* Resultados */
.stats { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); }
.stat { padding: 28px 16px 8px 0; display: grid; gap: 4px; align-content: start; }
.stat + .stat { padding-left: 20px; border-left: 1px solid var(--line); }
.stat b { font-size: clamp(2.4rem, 4.6vw, 4rem); font-weight: 500; letter-spacing: -0.06em; line-height: 1; color: var(--brand-light); }
.stat span { color: var(--text-2); font-size: 0.95rem; }
@media (max-width: 900px) { .stats { grid-template-columns: 1fr 1fr; } .stat, .stat + .stat { padding: 24px 12px 12px 0; border-left: 0; border-bottom: 1px solid var(--line); } }

/* Pregunta -> respuesta */
.list-plain { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.list-plain li { padding: 18px 0; border-bottom: 1px solid var(--line); font-size: clamp(1.15rem, 2vw, 1.5rem); letter-spacing: -0.02em; color: var(--text); }
.list-plain li:first-child { border-top: 1px solid var(--line); }

/* ---------- Cierre y pie ---------- */
.final { text-align: center; position: relative; overflow: hidden; }
.final::before { content: ""; position: absolute; left: 50%; top: 50%; width: 900px; height: 600px; translate: -50% -50%; background: radial-gradient(closest-side, rgba(145, 110, 255, 0.26), transparent); pointer-events: none; }
.final .wrap { position: relative; }
.footer { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--muted); font-size: 0.9rem; }
.footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center; }
.footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--text); }
.footer img { height: 18px; width: auto; }

/* ---------- Movimiento: una sola entrada en el hero ---------- */
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise 0.9s var(--ease) both; }
  .rise.d1 { animation-delay: 0.12s; } .rise.d2 { animation-delay: 0.24s; } .rise.d3 { animation-delay: 0.4s; }
  @keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .pop { animation: none; } }

.steps-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .steps-4 { grid-template-columns: 1fr; } }

[id] { scroll-margin-top: 76px; }

/* ---------- Hero de la home: frase chica + remate enorme ---------- */
.punch-h1 { display: grid; gap: clamp(6px, 1.2vw, 14px); line-height: 1; text-transform: none; }
.punch-h1 .kicker { font-size: clamp(1.4rem, 3.4vw, 3rem); font-weight: 400; letter-spacing: -0.04em; color: var(--text-2); }
.punch-h1 .punch {
  font-weight: 600; letter-spacing: -0.065em; line-height: 0.95;
  font-size: min(calc((100vw - 40px) / 4.3), 7rem); color: #fff;
}
.punch-h1 .punch span { display: block; white-space: nowrap; }
.punch-h1 .punch span:last-child { color: var(--brand-light); }
@media (min-width: 760px) {
  .punch-h1 .punch { font-size: min(calc((100vw - 40px) / 6.5), 11.5rem); white-space: nowrap; }
  .punch-h1 .punch span { display: inline; }
}

/* Marca: logo + "+Play" */
.brandmark { display: flex; align-items: center; gap: 12px; }
.brandmark img { height: 26px; width: auto; }
.brandmark .plus { color: var(--brand-light); font-weight: 600; font-size: 1.35rem; letter-spacing: -0.03em; line-height: 1; }
.brandmark .sub { color: var(--muted); font-size: 1rem; padding-left: 12px; border-left: 1px solid var(--line); }

/* ---------- Ecosistema destacado (Empresas / Comercios) ---------- */
.eco-section { background: radial-gradient(900px 500px at 85% 0%, rgba(145, 110, 255, 0.22), transparent 70%), var(--bg); }
.eco-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2vw, 24px); }
.eco {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  min-height: clamp(320px, 38vw, 460px); padding: clamp(28px, 4vw, 52px); border-radius: 32px;
  text-decoration: none; color: #fff; overflow: hidden; isolation: isolate;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.eco::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 40%, rgba(11, 16, 28, 0.35)); }
.eco h3 { font-size: clamp(2.1rem, 4.6vw, 4rem); letter-spacing: -0.055em; line-height: 0.98; font-weight: 600; }
.eco p { color: rgba(255, 255, 255, 0.92); font-size: clamp(1.05rem, 1.7vw, 1.4rem); line-height: 1.35; max-width: 24ch; margin-top: 16px; }
.eco-cta { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 26px; border-radius: 999px; background: #fff; color: #0b101c; font-weight: 500; transition: gap 0.25s var(--ease), background 0.2s; }
.eco-cta::after { content: ""; width: 9px; height: 9px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; rotate: 45deg; }
.eco:hover { transform: translateY(-6px); box-shadow: 0 30px 70px -24px rgba(145, 110, 255, 0.65); }
.eco:hover .eco-cta { gap: 16px; }
.card-org { background: linear-gradient(145deg, #7a52ff 0%, #5a37d6 55%, #3a2494 100%); }
.card-merch { background: linear-gradient(145deg, #b79cff 0%, #916eff 45%, #6a45e6 100%); }
.card-people { background: linear-gradient(145deg, #1d2940, #151e30); }
@media (max-width: 860px) { .eco-grid { grid-template-columns: 1fr; } .eco { min-height: 300px; } }

/* ---------- Navegación: destacados e idioma ---------- */
.nav-links a.hot { color: var(--brand-light); }
.nav-links a.hot:hover, .nav-links a.hot[aria-current="page"] { color: #fff; }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang a { text-decoration: none; font-size: 0.8rem; font-weight: 500; padding: 5px 10px; border-radius: 999px; color: var(--muted); }
.lang a[aria-current="true"] { background: var(--surface-2); color: #fff; }
@media (max-width: 520px) { .nav-cta .btn-ghost { display: none; } .nav-cta { gap: 6px; } }

/* ---------- Varios ---------- */
.tags-lg li { font-size: clamp(1.05rem, 1.8vw, 1.4rem); padding: 12px 24px; color: #fff; border-color: rgba(189, 168, 255, 0.5); background: rgba(145, 110, 255, 0.12); }
.scope { background: radial-gradient(800px 400px at 0% 50%, rgba(145, 110, 255, 0.16), transparent 70%); }
.paths-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) and (min-width: 861px) { .paths-4 { grid-template-columns: repeat(2, 1fr); } .paths-4 .path:nth-child(3) { border-left: 0; padding-left: 0; } }
@media (max-width: 860px) { .paths-4 { grid-template-columns: 1fr; } }
/* Remate EN: "Knowledge." es más ancho que "El saber." */
.lang-en .punch-h1 .punch { font-size: min(calc((100vw - 40px) / 5.5), 7rem); }
@media (min-width: 760px) { .lang-en .punch-h1 .punch { font-size: min(calc((100vw - 40px) / 7.95), 10.5rem); } }

/* Beneficios con descripción (comercios) */
.perks-rich .perk { min-height: 250px; justify-content: flex-start; gap: 14px; }
.perks-rich .perk h3 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); }
.perks-rich .perk p { font-size: 0.98rem; line-height: 1.45; }
@media (max-width: 900px) { .perks-rich .perk { min-height: 0; } }
.h2-md { font-size: clamp(2.1rem, 4.6vw, 4rem); max-width: 18ch; }
.steps h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }

/* ---------- Tarjetas Empresas / Comercios: más diseño ---------- */
.eco h3 { font-size: clamp(2.4rem, 5.4vw, 4.6rem); }
.eco p { max-width: 20ch; font-size: clamp(1.1rem, 1.9vw, 1.55rem); }
.eco-art { position: absolute; top: clamp(22px, 3vw, 40px); right: clamp(22px, 3vw, 40px); width: clamp(96px, 14vw, 190px); height: auto; z-index: -1; transition: transform 0.5s var(--ease); }
.eco:hover .eco-art { transform: translateY(-6px) rotate(-3deg) scale(1.04); }
.eco-foot { display: grid; gap: 22px; justify-items: start; }
.eco-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.eco-chips li { padding: 7px 16px; border-radius: 999px; background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.3); font-size: 0.9rem; backdrop-filter: blur(4px); }
.card-org {
  background:
    radial-gradient(420px 300px at 100% 0%, rgba(255, 255, 255, 0.18), transparent 70%),
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px) 0 0 / 100% 36px,
    linear-gradient(145deg, #7a52ff 0%, #5a37d6 55%, #34208a 100%);
}
.card-merch {
  background:
    radial-gradient(420px 300px at 100% 0%, rgba(255, 214, 102, 0.35), transparent 70%),
    linear-gradient(145deg, #f0508f 0%, #b43ae8 50%, #6a45e6 100%);
}
.card-merch .eco-cta { color: #8a1f6d; }
.eco h3 { font-size: clamp(2.2rem, 4.3vw, 3.9rem); }
.eco-art { width: clamp(80px, 10.5vw, 150px); top: clamp(22px, 3vw, 40px); }
@media (max-width: 860px) { .eco h3 { font-size: clamp(2.4rem, 11vw, 3.6rem); padding-right: 36%; } }

/* ---------- Hero de la home con móvil (Rueda KX) ---------- */
.hero-copy { display: grid; gap: clamp(20px, 3vw, 36px); align-content: center; min-width: 0; }
.hero-visual { display: flex; justify-content: center; }
@media (min-width: 900px) {
  .hero .wrap.hero-grid { grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: clamp(24px, 4vw, 64px); }
  .hero-home { --pr: 3.7; padding-top: clamp(56px, 7vw, 100px); padding-bottom: clamp(64px, 8vw, 110px); }
  .lang-en .hero-home { --pr: 5.35; }
  .hero-home .punch-h1 .punch { font-size: calc(min(1180px, 100vw - 40px) * 0.465 / var(--pr)); white-space: normal; }
  .hero-home .punch-h1 .punch span { display: block; }
  .hero-home .punch-h1 .kicker { font-size: clamp(1.3rem, 2.4vw, 2.2rem); }
  .hero-home .lead { max-width: 30ch; }
}
@media (max-width: 899px) { .hero-visual { margin-top: 8px; } }

/* Móvil */
.phone-stage { position: relative; --w: clamp(230px, 24vw, 330px); width: var(--w); font-size: calc(var(--w) / 22); }
@media (max-width: 899px) { .phone-stage { --w: min(300px, 74vw); } }
.phone {
  position: relative; width: 100%; aspect-ratio: 9 / 18.6; border-radius: 3.1em; padding: 0.55em;
  background: linear-gradient(160deg, #2b3550, #121a2b); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 40px 90px -20px rgba(0, 0, 0, 0.8), 0 0 90px -10px rgba(145, 110, 255, 0.45);
  rotate: 4deg;
}
.phone-notch { position: absolute; z-index: 3; top: 0.95em; left: 50%; translate: -50% 0; width: 32%; height: 1.2em; border-radius: 999px; background: #05070d; }
.phone-screen { height: 100%; border-radius: 2.6em; background: #101828; overflow: hidden; display: flex; flex-direction: column; padding: 0.9em 1em 1em; gap: 0.7em; position: relative; }
.phone-screen::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 40% at 50% 38%, rgba(145, 110, 255, 0.28), transparent 70%); pointer-events: none; }
.ps-status { display: flex; justify-content: space-between; align-items: center; font-size: 0.78em; font-weight: 600; padding: 0 0.5em; }
.ps-dots { display: flex; gap: 0.25em; } .ps-dots i { width: 0.55em; height: 0.55em; border-radius: 50%; background: #fff; opacity: 0.85; }
.ps-head { display: flex; justify-content: space-between; align-items: center; margin-top: 0.7em; position: relative; }
.ps-head img { height: 1.2em; width: auto; }
.ps-chip { background: #1d2940; border: 1px solid #2a3547; border-radius: 999px; padding: 0.25em 0.8em; font-size: 0.8em; color: var(--text-2); }
.ps-chip b { color: var(--brand-light); font-weight: 600; }
.ps-title { display: grid; gap: 0.1em; text-align: center; margin-top: 0.4em; position: relative; }
.ps-title strong { font-size: 1.5em; letter-spacing: -0.04em; font-weight: 600; line-height: 1.1; }
.ps-title span { font-size: 0.78em; color: var(--muted); }
.ps-wheel { position: relative; margin: 0.2em 0.1em 0; }
.ps-wheel .wheel { width: 100%; height: auto; display: block; filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.5)); }
.ps-pointer { position: absolute; z-index: 2; top: -0.55em; left: 50%; translate: -50% 0; border-left: 0.7em solid transparent; border-right: 0.7em solid transparent; border-top: 1.2em solid #fff; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.5)); }
.ps-btn { position: relative; margin-top: auto; text-align: center; background: var(--brand); border-radius: 999px; padding: 0.75em; font-weight: 600; font-size: 1.05em; box-shadow: 0 8px 24px -6px rgba(145, 110, 255, 0.8); }
.ps-foot { text-align: center; font-size: 0.72em; color: var(--muted); position: relative; }

/* Giro lento: único movimiento continuo del hero */
@media (prefers-reduced-motion: no-preference) {
  .ps-wheel .wheel { animation: wheel-spin 40s linear infinite; }
  @keyframes wheel-spin { to { transform: rotate(360deg); } }
}

/* Stickers flotantes */
.sticker { position: absolute; z-index: 4; font-weight: 600; letter-spacing: -0.02em; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, 0.6); }
.st-pts { top: 14%; left: -16%; background: #ffd166; color: #3b2a00; font-size: 1.5em; width: 3.6em; height: 3.6em; display: grid; place-items: center; border-radius: 50%; rotate: -10deg; }
.st-mult { top: 46%; right: -14%; background: #ec4899; color: #fff; padding: 0.55em 1em; border-radius: 999px; font-size: 1.05em; rotate: 6deg; }
.st-card { bottom: 14%; left: -18%; background: #fff; color: #0b101c; border-radius: 1.1em; padding: 0.7em 1em; display: grid; gap: 0.1em; rotate: -4deg; }
.st-card small { font-size: 0.72em; font-weight: 500; color: #5b6578; }
.st-card b { font-size: 1.05em; }
@media (max-width: 420px) { .st-pts { left: -8%; } .st-card { left: -8%; } .st-mult { right: -6%; } }

/* ---------- Nav: CTAs según la página ---------- */
.cta-mob { display: inline-flex; }
.cta-desk { display: none; }
@media (min-width: 1060px) { .cta-desk { display: inline-flex; } .cta-mob { display: none; } }
@media (max-width: 1059px) and (min-width: 521px) { .nav-links { gap: 20px; } }
.nav-links { white-space: nowrap; }

/* Aviso de gratuidad bajo el CTA */
.free { display: flex; align-items: center; gap: 10px; font-size: 1rem; color: var(--text-2); max-width: none; }
.free::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }
.free b { color: #fff; font-weight: 600; }
.final .free { justify-content: center; }
@media (min-width: 900px) {
  .hero-home { padding-top: clamp(32px, 4vw, 56px); padding-bottom: clamp(48px, 6vw, 90px); }
  .hero-home .hero-copy { gap: clamp(14px, 1.8vw, 24px); }
  .hero-home .hero-sub { gap: 20px; }
}

/* ---------- Nav simplificado ---------- */
.nav-login { text-decoration: none; font-size: 0.95rem; color: var(--text-2); padding: 0 10px; transition: color 0.2s; }
.nav-login:hover { color: #fff; }
.nav .btn.cta-desk { display: none; }
@media (min-width: 1060px) { .nav .btn.cta-desk { display: inline-flex; } .nav .btn.cta-mob { display: none; } }
@media (max-width: 1059px) { .nav .btn.cta-mob { display: inline-flex; } }
.nav-cta { gap: 8px; align-items: center; }
.lang { border: 0; padding: 0; display: inline-flex; }
.lang a { font-size: 0.85rem; font-weight: 500; color: var(--muted); padding: 6px 8px; border-radius: 8px; text-decoration: none; }
.lang a:hover { color: #fff; }
@media (max-width: 1059px) { .nav .wrap { height: 64px; } }

/* Aviso de gratuidad: más sobrio */
.free { font-size: 0.98rem; gap: 9px; }
.free b { letter-spacing: 0.02em; }
.free::before { background: none; border: 1.5px solid rgba(134, 239, 172, 0.7); width: 20px; height: 20px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2386efac' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E"); background-position: center; background-size: 12px; background-repeat: no-repeat; }

/* Más aire encima de Empezar ahora */
.hero-sub { gap: clamp(28px, 3.2vw, 44px); }
@media (min-width: 900px) { .hero-home .hero-sub { gap: clamp(28px, 3vw, 40px); } }
.hero-actions { margin-top: 4px; }

/* ---------- Pantalla del móvil v3: la home real de la app, con la rueda girando ---------- */
.phone-stage { --w: clamp(250px, 26vw, 350px); }
@media (max-width: 899px) { .phone-stage { --w: min(310px, 78vw); } }
.phone-screen { padding: 0.8em 0.8em 0; gap: 0.5em; }
.phone-screen::before { background: radial-gradient(80% 35% at 50% 45%, rgba(145, 110, 255, 0.22), transparent 70%); }

.ps-top { display: flex; justify-content: space-between; align-items: center; position: relative; }
.ps-brand { display: flex; align-items: center; gap: 0.5em; }
.ps-brand img { height: 0.95em; width: auto; }
.ps-brand i { width: 1px; height: 1.1em; background: var(--line); }
.ps-brand b { font-size: 0.6em; font-weight: 700; letter-spacing: 0.08em; color: var(--brand-light); background: rgba(145, 110, 255, 0.18); border: 1px solid rgba(145, 110, 255, 0.55); border-radius: 999px; padding: 0.3em 0.8em; }
.ps-icons { display: flex; align-items: center; gap: 0.7em; }
.ps-icons svg { width: 1.25em; height: 1.25em; display: block; }
.ic-cap { color: #38bdf8; }
.ic-bell { position: relative; color: #e5e9f2; }
.ic-bell em { position: absolute; top: -0.45em; right: -0.5em; width: 1.05em; height: 1.05em; border-radius: 50%; background: #ef4444; color: #fff; font-style: normal; font-size: 0.55em; font-weight: 700; display: grid; place-items: center; }
.ps-avatar { width: 1.75em; height: 1.75em; border-radius: 50%; background: #3a2f78; color: var(--brand-light); font-weight: 700; font-size: 0.8em; display: grid; place-items: center; }

.ps-streak2 { position: relative; background: linear-gradient(180deg, #172238, #131c2f); border: 1px solid var(--line); border-radius: 1em; padding: 0.55em 0.65em 0.45em; display: grid; gap: 0.3em; }
.ps-streak2 .r1 { display: flex; align-items: center; gap: 0.4em; }
.ps-streak2 .flame { display: flex; align-items: center; gap: 0.2em; font-size: 0.85em; }
.ps-streak2 .flame svg { width: 1.2em; height: 1.2em; }
.ps-streak2 .flame b { color: var(--text-2); font-weight: 600; }
.pill { font-size: 0.55em; padding: 0.3em 0.7em; border-radius: 999px; border: 1px solid #34425c; background: #1b2740; color: var(--text-2); white-space: nowrap; }
.pill.pv { background: rgba(145, 110, 255, 0.2); border-color: rgba(145, 110, 255, 0.6); color: var(--brand-light); }
.ps-streak2 .days { display: flex; justify-content: center; align-items: center; gap: 0.5em; }
.ps-streak2 .days > span { width: 1.7em; height: 1.7em; display: grid; place-items: center; }
.ps-streak2 .days svg { width: 1.7em; height: 1.7em; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.45)); }
.ps-streak2 p { margin: 0; max-width: none; text-align: center; font-size: 0.58em; color: var(--brand-light); }

.ps-wcard { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; padding: 0.55em 0.6em 0.55em; border-radius: 1.3em; background: linear-gradient(180deg, #1a2542, #111a2d 70%); border: 1px solid rgba(145, 110, 255, 0.55); box-shadow: 0 0 1.6em -0.4em rgba(145, 110, 255, 0.55), inset 0 0 1.6em rgba(145, 110, 255, 0.08); overflow: hidden; }
.wc-head { display: flex; justify-content: space-between; align-items: center; font-size: 0.64em; color: var(--text-2); position: relative; z-index: 4; }
.wc-head b { font-weight: 700; color: #fff; }
.cnt-wrap { display: flex; align-items: center; gap: 0.6em; }
.cnt-wrap em { font-style: normal; font-weight: 700; color: #fff; font-size: 1.05em; }
.ps-wheel { position: relative; width: 96%; margin: 0.15em auto 0; }
.ps-wheel .wheel-svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 0 1em rgba(145, 110, 255, 0.55)); }
.ps-pointer { position: absolute; z-index: 3; top: -0.45em; left: 50%; translate: -50% 0; border-left: 0.6em solid transparent; border-right: 0.6em solid transparent; border-top: 1.1em solid #fff; filter: drop-shadow(0 0 5px rgba(145, 110, 255, 0.9)); }
.wheel-rot { transform-box: view-box; transform-origin: 50% 50%; transform: rotate(-15deg); }
.mascot { transform-box: fill-box; }

/* Carretes */
.reel { position: relative; overflow: hidden; }
.reel-strip { display: flex; flex-direction: column; }
.reel-strip span { display: flex; align-items: center; justify-content: center; text-align: center; flex: none; }
.reel.count { font-size: 1.4em; width: 2.2em; height: 1.45em; border-radius: 0.45em; background: #0b1220; border: 1.5px solid #f5c542; box-shadow: 0 0 1em rgba(245, 197, 66, 0.55); }
.reel.count .reel-strip span { height: 1.45em; font-weight: 800; color: #ffd60a; }
.topic-box { position: relative; z-index: 3; width: 82%; margin: -3.9em auto 0; }
.topic-box small { display: none; }
.reel.topic { font-size: 0.95em; height: 2.6em; border-radius: 0.9em; border: 2px solid rgba(56, 189, 248, 0.8); background: linear-gradient(180deg, #0b1220, #172238, #0b1220); box-shadow: 0 0 1.3em rgba(56, 189, 248, 0.55); }
.reel.topic .reel-strip span { height: 2.6em; font-weight: 700; color: #7dd3fc; padding: 0 0.5em; line-height: 1.1; }
.reel.topic::before, .reel.topic::after { content: ""; position: absolute; left: 0; right: 0; height: 0.5em; z-index: 2; pointer-events: none; }
.reel.topic::before { top: 0; background: linear-gradient(#0b1220, transparent); }
.reel.topic::after { bottom: 0; background: linear-gradient(transparent, #0b1220); }

.result { margin-top: 0.55em; text-align: center; display: grid; gap: 0.45em; position: relative; z-index: 2; }
.result p { margin: 0; max-width: none; font-size: 0.6em; color: var(--text-2); line-height: 1.3; }
.result p b { color: #fff; font-weight: 600; }
.res-btn { background: linear-gradient(135deg, var(--brand), #a88bff); border-radius: 0.85em; padding: 0.6em; font-size: 0.78em; font-weight: 700; color: #fff; box-shadow: 0 6px 18px -6px rgba(145, 110, 255, 0.9); }

/* Menú inferior */
.ps-nav { margin: auto -0.8em 0; padding: 0.5em 0.4em 0.8em; display: grid; grid-template-columns: 1fr 1fr 1.25fr 1fr 1fr; align-items: end; background: rgba(24, 34, 53, 0.95); border-top: 1px solid var(--line); position: relative; }
.ps-nav > span { display: grid; justify-items: center; gap: 0.2em; color: var(--muted); }
.ps-nav svg { width: 1.4em; height: 1.4em; }
.ps-nav small { font-size: 0.55em; }
.ps-nav .on { color: var(--brand-light); }
.ps-play { position: relative; top: -1.5em; width: 3.7em; height: 3.7em; margin: 0 auto -1em; border-radius: 50%; display: grid !important; place-items: center; background: rgba(145, 110, 255, 0.25); box-shadow: 0 8px 22px rgba(145, 110, 255, 0.6); }
.ps-play::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0deg, transparent 150deg, #b9a4ff 300deg, #fff 360deg); }
.ps-play b { position: relative; width: 3.2em; height: 3.2em; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--brand), var(--brand-light)); color: #fff; font-size: 0.85em; font-weight: 800; letter-spacing: 0.06em; }

/* Bucle de 10 s: gira la rueda, los carretes caen en la temática y el desafío aparece */
@media (prefers-reduced-motion: no-preference) {




  .reel.topic { animation: glow-sky 2.2s ease-in-out infinite; }
  .reel.count { animation: glow-amber 2.2s ease-in-out infinite; }
  .mascot { animation: mascot-bob 2.4s ease-in-out infinite; }
  .ps-play::before { animation: spin-edge 2.4s linear infinite; }
  .ps-play { animation: play-wiggle 4.5s ease-in-out infinite; }
  @keyframes glow-sky { 0%, 100% { box-shadow: 0 0 1em rgba(56, 189, 248, 0.4); } 50% { box-shadow: 0 0 1.7em rgba(56, 189, 248, 0.8); } }
  @keyframes glow-amber { 0%, 100% { box-shadow: 0 0 0.8em rgba(245, 197, 66, 0.4); } 50% { box-shadow: 0 0 1.4em rgba(245, 197, 66, 0.85); } }
  @keyframes mascot-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
  @keyframes spin-edge { to { transform: rotate(360deg); } }
  @keyframes play-wiggle { 0%, 80%, 100% { transform: scale(1); } 86% { transform: scale(1.1) rotate(-5deg); } 92% { transform: scale(1.04) rotate(4deg); } }
}

.skip { font-size: 0.6em; color: var(--muted); }
.ps-wcard { justify-content: space-between; }
.ps-wheel { width: 91%; }
.st-card { bottom: auto; top: 60%; left: -27%; }
@media (max-width: 420px) { .st-card { left: -10%; top: 63%; } }


/* ---------- Formulario de demo ---------- */
dialog.demo { border: 0; padding: 0; background: transparent; color: inherit; width: min(980px, calc(100% - 24px)); max-height: calc(100dvh - 24px); margin: auto; overflow: visible; }
dialog.demo::backdrop { background: rgba(5, 8, 16, 0.78); backdrop-filter: blur(6px); }
.demo-box { position: relative; display: grid; grid-template-columns: 0.85fr 1.15fr; background: var(--surface); border: 1px solid var(--line); border-radius: 28px; overflow: hidden; max-height: calc(100dvh - 24px); box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.9); }
.demo-x { position: absolute; top: 14px; right: 14px; z-index: 3; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: rgba(11, 16, 28, 0.6); color: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; }
.demo-x:hover { border-color: rgba(255, 255, 255, 0.4); }
.demo-side { padding: clamp(28px, 4vw, 48px); background: radial-gradient(500px 360px at 0% 0%, rgba(145, 110, 255, 0.45), transparent 70%), linear-gradient(160deg, #3a2494, #1b1450 70%); display: grid; gap: 20px; align-content: start; }
.demo-side h2 { font-size: clamp(2rem, 3.4vw, 3rem); letter-spacing: -0.05em; }
.demo-side p { color: rgba(255, 255, 255, 0.85); }
.demo-points { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 14px; }
.demo-points li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.demo-points li::before { content: "✓"; flex: none; width: 24px; height: 24px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); display: grid; place-items: center; font-size: 0.8rem; }
.demo-form { padding: clamp(24px, 3.4vw, 40px); display: grid; gap: 14px; overflow-y: auto; }
.demo-form label, .demo-form legend { display: grid; gap: 6px; font-size: 0.9rem; color: var(--text-2); font-weight: 500; }
.demo-form input:not([type=radio]):not([type=checkbox]), .demo-form textarea { width: 100%; font: 400 1rem "Poppins", sans-serif; color: #fff; background: #0f1627; border: 1px solid #2a3547; border-radius: 12px; padding: 12px 14px; transition: border-color 0.2s; }
.demo-form input::placeholder, .demo-form textarea::placeholder { color: #66728a; }
.demo-form input:focus, .demo-form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(145, 110, 255, 0.25); }
.demo-form textarea { resize: vertical; min-height: 84px; }
.demo-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.demo-form fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; min-width: 0; }
.demo-form legend { padding: 0; margin-bottom: 8px; }
.sizes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.size { position: relative; cursor: pointer; }
.size input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.size span { display: block; text-align: center; padding: 11px 8px; border-radius: 12px; border: 1px solid #2a3547; background: #0f1627; font-size: 0.85rem; transition: border-color 0.2s, background 0.2s; }
.size input:checked + span { border-color: var(--brand); background: rgba(145, 110, 255, 0.2); color: #fff; }
.size input:focus-visible + span { outline: 2px solid var(--brand-light); outline-offset: 2px; }
.count { justify-self: end; color: var(--muted); font-size: 0.78rem; font-weight: 400; }
.consent { display: flex !important; gap: 10px; align-items: flex-start; cursor: pointer; font-size: 0.88rem !important; }
.consent input { margin-top: 3px; accent-color: var(--brand); width: 18px; height: 18px; flex: none; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.demo-msg { margin: 0; max-width: none; color: #ff8a80; font-size: 0.92rem; }
.demo-form .btn { width: 100%; }
.demo-form .btn:disabled { opacity: 0.6; cursor: progress; }
.demo-ok { grid-column: 1 / -1; padding: clamp(40px, 8vw, 90px) 24px; text-align: center; display: grid; justify-items: center; gap: 16px; }
.demo-ok[hidden], .demo-form[hidden] { display: none; }
.demo-ok .ok-mark { width: 64px; height: 64px; border-radius: 50%; background: var(--ok); display: grid; place-items: center; font-size: 2rem; }
.demo-ok h3 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.demo-ok p { margin-inline: auto; }
.demo-box:has(.demo-ok:not([hidden])) .demo-side { display: none; }
.demo-box:has(.demo-ok:not([hidden])) { grid-template-columns: 1fr; }
@media (max-width: 820px) {
  .demo-box { grid-template-columns: 1fr; overflow-y: auto; }
  .demo-side { padding-bottom: 24px; gap: 12px; }
  .demo-side p, .demo-points { display: none; }
  .demo-form { overflow: visible; }
  .sizes { grid-template-columns: 1fr; }
  .demo-form .row2 { grid-template-columns: 1fr; }
}


/* ---------- Ajustes v6 ---------- */
.nav-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-plus { color: var(--brand-light); font-weight: 600; font-size: 1.15rem; letter-spacing: -0.03em; line-height: 1; }
@media (max-width: 1059px) { .nav-login.hide-mob { display: none; } }
.brandmark .sub { color: var(--text-2); font-size: 1.05rem; font-weight: 500; padding-left: 0; border-left: 0; }
.brandmark .plus + .sub { padding-left: 12px; border-left: 1px solid var(--line); }

/* "El saber. Paga." más contenido */
.punch-h1 .punch { font-size: min(calc((100vw - 40px) / 5.3), 5.2rem); }
.lang-en .punch-h1 .punch { font-size: min(calc((100vw - 40px) / 6.6), 5.2rem); }
@media (min-width: 760px) {
  .punch-h1 .punch { font-size: min(calc((100vw - 40px) / 8.6), 8rem); }
  .lang-en .punch-h1 .punch { font-size: min(calc((100vw - 40px) / 9.6), 8rem); }
}
@media (min-width: 900px) {
  .hero-home .punch-h1 .punch { font-size: calc(min(1180px, 100vw - 40px) * 0.36 / var(--pr)); }
}
.wheel-rot { will-change: transform; }
.reel-strip { will-change: transform; }
.result { transition: opacity 0.45s ease, transform 0.45s ease; }
.result.is-out { opacity: 0; transform: translateY(0.5em); }

/* Titular medio (hero de Empresas) */
h1.h1-md { font-size: clamp(2.2rem, 5.6vw, 4.8rem); letter-spacing: -0.05em; line-height: 1; }
.lead.lead-wide { max-width: 44ch; }


/* ---------- Ajustes v7: tipografía del hero -25 %, iconos en premios ---------- */
.punch-h1 .kicker { font-size: clamp(1.05rem, 2.55vw, 2.25rem); }
.punch-h1 .punch { font-size: min(calc((100vw - 40px) / 7), 3.9rem); }
.lang-en .punch-h1 .punch { font-size: min(calc((100vw - 40px) / 8.8), 3.9rem); }
@media (min-width: 760px) {
  .punch-h1 .punch { font-size: min(calc((100vw - 40px) / 11.5), 6rem); }
  .lang-en .punch-h1 .punch { font-size: min(calc((100vw - 40px) / 12.8), 6rem); }
}
@media (min-width: 900px) {
  .hero-home .punch-h1 .punch { font-size: calc(min(1180px, 100vw - 40px) * 0.27 / var(--pr)); }
  .hero-home .punch-h1 .kicker { font-size: clamp(1rem, 1.8vw, 1.65rem); }
}
.hero-home .lead { font-size: clamp(0.95rem, 1.3vw, 1.1rem); max-width: 38ch; }
.ps-brand b { margin-left: 0; }
.perk-ico { font-size: 2.2rem; line-height: 1; margin-bottom: auto; display: block; }
.footer .wrap { justify-content: space-between; }

/* ---------- Demo de escritorio (página Empresas) ---------- */
.dm-section { background: radial-gradient(900px 520px at 80% 40%, rgba(145, 110, 255, 0.18), transparent 70%); }
.dm-head { margin-bottom: clamp(28px, 4vw, 56px); }
.dm-grid { display: grid; grid-template-columns: minmax(260px, 0.8fr) 1.7fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
@media (max-width: 1000px) { .dm-grid { grid-template-columns: 1fr; } .dm-wrap { order: -1; } }

/* Pasos */
.dm-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.dm-step { all: unset; box-sizing: border-box; cursor: pointer; position: relative; display: grid; grid-template-columns: 2.2rem 1fr; gap: 6px 10px; width: 100%; padding: 16px 18px; border-radius: 18px; border: 1px solid transparent; transition: background 0.3s, border-color 0.3s; }
.dm-step:hover { background: rgba(255, 255, 255, 0.04); }
.dm-step:focus-visible { outline: 2px solid var(--brand-light); outline-offset: 2px; }
.dm-step .n { color: var(--muted); font-weight: 500; font-variant-numeric: tabular-nums; transition: color 0.3s; }
.dm-step .tx { display: grid; gap: 4px; }
.dm-step b { font-size: 1.2rem; font-weight: 500; letter-spacing: -0.03em; color: var(--text-2); transition: color 0.3s; }
.dm-step small { font-size: 0.92rem; color: var(--muted); line-height: 1.45; max-height: 0; opacity: 0; overflow: hidden; transition: max-height 0.4s var(--ease), opacity 0.4s; }
.dm-step .bar { grid-column: 1 / -1; display: block; height: 3px; border-radius: 3px; background: transparent; overflow: hidden; margin-top: 4px; }
.dm-step .bar u { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--brand), var(--brand-light)); }
.dm-step.is-active { background: var(--surface); border-color: rgba(189, 168, 255, 0.35); }
.dm-step.is-active .n { color: var(--brand-light); }
.dm-step.is-active b { color: #fff; }
.dm-step.is-active small { max-height: 6em; opacity: 1; }
.dm-step.is-active .bar { background: rgba(255, 255, 255, 0.08); }
.dm-steps.autoplay .dm-step.is-active .bar u { animation: dm-fill var(--dur, 8s) linear forwards; }
@keyframes dm-fill { from { width: 0; } to { width: 100%; } }

/* Portátil */
.dm-wrap { container-type: inline-size; width: 100%; max-width: 860px; margin-inline: auto; }
.dm-lid { background: linear-gradient(160deg, #2b3550, #11182a); border-radius: 2.2cqw 2.2cqw 0.6cqw 0.6cqw; padding: 1.5cqw 1.5cqw 1.8cqw; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 50px 100px -30px rgba(0, 0, 0, 0.85), 0 0 120px -20px rgba(145, 110, 255, 0.45); }
.dm-base { height: 2.2cqw; margin: 0 -3cqw; border-radius: 0 0 3cqw 3cqw; background: linear-gradient(#3b4560, #1a2236); box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.7); position: relative; }
.dm-base::after { content: ""; position: absolute; top: 0; left: 50%; translate: -50% 0; width: 14cqw; height: 0.7cqw; border-radius: 0 0 1cqw 1cqw; background: #0c1220; }
.dm-screen { position: relative; font-size: calc(94cqw / 75); aspect-ratio: 75 / 46; border-radius: 0.8em; background: #0f1627; overflow: hidden; color: #fff; line-height: 1.25; }
.dm-screen * { max-width: none; }

.dm-scene { position: absolute; inset: 0; display: grid; grid-template-columns: 5.4em 1fr; opacity: 0; visibility: hidden; transition: opacity 0.5s ease, visibility 0.5s; }
.dm-scene.is-active { opacity: 1; visibility: visible; }
.dm-scene aside { background: #0b101c; border-right: 1px solid rgba(255, 255, 255, 0.07); display: flex; flex-direction: column; align-items: center; gap: 1.1em; padding: 1.4em 0; }
.dm-scene aside span { width: 3em; height: 3em; border-radius: 0.9em; display: grid; place-items: center; font-size: 1.35em; opacity: 0.45; }
.dm-scene aside span.on { background: rgba(145, 110, 255, 0.28); opacity: 1; box-shadow: inset 0 0 0 1px rgba(189, 168, 255, 0.5); }
.dm-scene main { position: relative; padding: 1.5em 1.8em; display: flex; flex-direction: column; gap: 1.1em; min-width: 0; min-height: 0; }
.dm-top { display: flex; align-items: center; gap: 1em; }
.dm-top > b { font-size: 1.65em; font-weight: 600; letter-spacing: -0.03em; margin-right: auto; }
.dm-search { background: #1b2740; border: 1px solid #2a3547; border-radius: 999px; padding: 0.5em 1.3em; font-size: 0.95em; color: var(--muted); }
.dm-pill { background: rgba(145, 110, 255, 0.2); border: 1px solid rgba(145, 110, 255, 0.55); color: var(--brand-light); border-radius: 999px; padding: 0.45em 1.2em; font-size: 0.95em; }
.dm-pill.ok { background: rgba(34, 197, 94, 0.14); border-color: rgba(34, 197, 94, 0.5); color: #86efac; }
.dm-avatar { width: 2.6em; height: 2.6em; border-radius: 50%; background: #3a2f78; color: var(--brand-light); display: grid; place-items: center; font-weight: 600; font-size: 0.95em; }

/* Escena 1: catálogo */
.dm-chips { display: flex; gap: 0.6em; }
.dm-chip { padding: 0.4em 1.2em; border-radius: 999px; border: 1px solid #2a3547; font-size: 0.95em; color: var(--text-2); }
.dm-chip.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.dm-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1em; }
.dm-card { background: #151e30; border: 1px solid rgba(255, 255, 255, 0.07); border-radius: 1em; padding: 0.7em; display: grid; gap: 0.3em; align-content: start; position: relative; }
.dm-thumb { height: 7.6em; border-radius: 0.7em; display: grid; place-items: center; font-size: 1.2em; position: relative; overflow: hidden; }
.dm-thumb > span:first-child { font-size: 2.2em; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.35)); }
.dm-rec { position: absolute; left: 0.5em; top: 0.5em; font-size: 0.5em; background: #ffd166; color: #3b2a00; font-weight: 600; padding: 0.3em 0.8em; border-radius: 999px; }
.dm-card b { font-size: 1.02em; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; min-height: 2.4em; margin-top: 0.4em; }
.dm-card small { font-size: 0.8em; color: var(--muted); }
.dm-prog { display: block; height: 0.3em; border-radius: 99px; background: rgba(255, 255, 255, 0.08); overflow: hidden; margin-top: 0.3em; }
.dm-prog u { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), var(--brand-light)); border-radius: inherit; }
.dm-cursor { position: absolute; width: 2.4em; height: 2.4em; left: 62%; top: 82%; z-index: 5; filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.5)); }
.dm-click { position: absolute; width: 3em; height: 3em; border-radius: 50%; border: 2px solid var(--brand-light); left: 36%; top: 42%; opacity: 0; z-index: 4; }

/* Escena 2: curso */
.dm-course { flex: 1; display: grid; grid-template-columns: 1.7fr 1fr; gap: 1.2em; min-height: 0; }
.dm-left { display: grid; grid-template-rows: auto 1fr; gap: 1em; min-height: 0; }
.dm-video { height: 17em; border-radius: 1em; background: radial-gradient(60% 80% at 30% 20%, #6d4cff, transparent 70%), linear-gradient(135deg, #2b1f6e, #0b1220); display: grid; place-items: center; position: relative; overflow: hidden; }
.dm-play { width: 4.4em; height: 4.4em; border-radius: 50%; background: rgba(255, 255, 255, 0.92); color: #3a2494; display: grid; place-items: center; font-size: 1.1em; padding-left: 0.3em; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); }
.dm-vbar { position: absolute; left: 1.2em; right: 1.2em; bottom: 1em; height: 0.4em; border-radius: 99px; background: rgba(255, 255, 255, 0.2); overflow: hidden; }
.dm-vbar u { display: block; height: 100%; width: 22%; background: #fff; border-radius: inherit; }
.dm-quiz { background: #151e30; border: 1px solid rgba(255, 255, 255, 0.07); border-radius: 1em; padding: 1em 1.2em; display: grid; gap: 0.5em; align-content: start; position: relative; }
.dm-quiz small { color: var(--brand-light); font-size: 0.85em; }
.dm-quiz > b { font-size: 1.25em; font-weight: 600; }
.dm-opts { display: grid; gap: 0.45em; }
.dm-opts span { background: #1d2940; border: 1px solid transparent; border-radius: 0.7em; padding: 0.55em 0.9em; font-size: 0.95em; color: var(--text-2); display: flex; justify-content: space-between; }
.dm-opts em { font-style: normal; font-weight: 700; opacity: 0; color: #4ade80; }
.dm-gain { position: absolute; right: 1.2em; top: 1em; font-weight: 700; font-size: 1.3em; color: #ffd166; opacity: 0; }
.dm-right { background: #151e30; border: 1px solid rgba(255, 255, 255, 0.07); border-radius: 1em; padding: 1.1em; display: grid; justify-items: center; align-content: start; gap: 0.5em; }
.dm-right small { color: var(--muted); font-size: 0.85em; }
.dm-ring { position: relative; width: 7em; height: 7em; }
.dm-ring svg { width: 100%; height: 100%; }
.dm-ring .arc { stroke-dasharray: 100; stroke-dashoffset: 62; }
.dm-ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.5em; font-weight: 600; }
.dm-mods { list-style: none; margin: 0.5em 0 0; padding: 0; display: grid; gap: 0.55em; width: 100%; }
.dm-mods li { display: flex; align-items: center; gap: 0.6em; font-size: 0.9em; color: var(--text-2); }
.dm-mods em { flex: none; width: 1.7em; height: 1.7em; border-radius: 50%; border: 1px solid #3a475f; display: grid; place-items: center; font-style: normal; font-size: 0.8em; color: transparent; }

/* Escena 3: coach */
.dm-chat { flex: 1; display: grid; grid-template-columns: 1.7fr 1fr; gap: 1.2em; min-height: 0; }
.dm-msgs { background: #121a2c; border: 1px solid rgba(255, 255, 255, 0.07); border-radius: 1em; padding: 1.1em; display: flex; flex-direction: column; gap: 0.8em; overflow: hidden; }
.msg { display: flex; gap: 0.7em; align-items: flex-start; max-width: 88%; opacity: 0; }
.msg i { flex: none; width: 2.3em; height: 2.3em; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #bda8ff, #916eff); display: grid; place-items: center; font-style: normal; font-size: 0.95em; }
.msg p { margin: 0; padding: 0.7em 1em; border-radius: 0.3em 1em 1em 1em; background: #1d2940; font-size: 0.98em; line-height: 1.4; color: #fff; }
.msg.me { align-self: flex-end; }
.msg.me p { background: var(--brand); border-radius: 1em 0.3em 1em 1em; }
.typing p { display: flex; gap: 0.35em; padding: 1em 1.1em; }
.typing s { width: 0.6em; height: 0.6em; border-radius: 50%; background: var(--brand-light); text-decoration: none; }
.sugg { display: flex; gap: 0.6em; padding-left: 3em; opacity: 0; }
.sugg span { border: 1px solid var(--brand); color: var(--brand-light); border-radius: 999px; padding: 0.45em 1em; font-size: 0.9em; }
.sugg span:first-child { background: var(--brand); color: #fff; }
.dm-profile { background: #151e30; border: 1px solid rgba(255, 255, 255, 0.07); border-radius: 1em; padding: 1.1em; display: grid; gap: 0.7em; align-content: start; }
.dm-profile small { color: var(--muted); font-size: 0.85em; }
.dm-profile .row { display: flex; justify-content: space-between; font-size: 0.95em; color: var(--text-2); }
.dm-profile .row b { color: #fff; font-weight: 600; }
.meter { display: grid; gap: 0.3em; font-size: 0.85em; color: var(--text-2); }
.meter i { display: block; height: 0.5em; border-radius: 99px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.meter u { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--brand), var(--brand-light)); border-radius: inherit; }

/* Escena 4: dashboard */
.dm-dash { flex: 1; display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.2em; min-height: 0; }
.dm-box { background: #121a2c; border: 1px solid rgba(255, 255, 255, 0.07); border-radius: 1em; padding: 0.9em 1.1em; position: relative; min-height: 0; }
.dm-box small { color: var(--muted); font-size: 0.85em; }
.dm-box.radar { display: grid; align-content: center; justify-items: center; }
.dm-radar { width: 100%; height: auto; max-height: 100%; overflow: visible; }
.dm-radar-now { transform-box: view-box; transform-origin: 164px 130px; }
.legend { display: flex; gap: 1.2em; font-size: 0.85em; color: var(--text-2); position: absolute; left: 1.1em; bottom: 0.8em; }
.legend i { display: inline-block; width: 0.9em; height: 0.9em; border-radius: 50%; margin-right: 0.4em; vertical-align: -0.1em; }
.legend .a { background: #bda8ff; } .legend .b { background: rgba(255, 255, 255, 0.4); }
.dm-side { display: grid; grid-template-rows: auto 1fr; gap: 1.2em; min-height: 0; }
.dm-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.9em; }
.dm-kpi { background: linear-gradient(160deg, rgba(145, 110, 255, 0.25), #121a2c 70%); border: 1px solid rgba(189, 168, 255, 0.25); border-radius: 1em; padding: 0.8em 0.9em; display: grid; gap: 0.2em; opacity: 0; }
.dm-kpi b { font-size: 2em; font-weight: 600; letter-spacing: -0.05em; line-height: 1; color: #fff; }
.dm-kpi small { font-size: 0.78em; color: var(--text-2); line-height: 1.25; }
.dm-box.chart { display: grid; grid-template-rows: auto 1fr auto; gap: 0.5em; }
.dm-area { width: 100%; height: 100%; min-height: 0; overflow: visible; }
.dm-area-line { stroke-dasharray: 1; stroke-dashoffset: 1; }
.dm-area-fill, .dm-area-dot { opacity: 0; }
.months { display: flex; justify-content: space-between; font-size: 0.78em; color: var(--muted); padding: 0 0.4em; }

/* ---- Animaciones: solo cuando la escena está activa ---- */
@media (prefers-reduced-motion: no-preference) {
  /* 1 · catálogo */
  .is-active .dm-card { animation: dm-in 0.55s var(--ease) both; animation-delay: var(--d); }
  .is-active .dm-card.is-pick { animation: dm-in 0.55s var(--ease) both, dm-pick 0.6s ease 3.1s forwards; animation-delay: var(--d), 3.1s; }
  .is-active .dm-cursor { animation: dm-move 2s cubic-bezier(0.4, 0, 0.2, 1) 1s both; }
  .is-active .dm-click { animation: dm-ripple 0.7s ease-out 3s both; }
  @keyframes dm-in { from { opacity: 0; transform: translateY(1.2em) scale(0.97); } to { opacity: 1; transform: none; } }
  @keyframes dm-move { from { left: 78%; top: 88%; } to { left: 41%; top: 33%; } }
  @keyframes dm-ripple { 0% { opacity: 0.9; transform: scale(0.3); } 100% { opacity: 0; transform: scale(1.6); } }
  @keyframes dm-pick { to { border-color: var(--brand-light); box-shadow: 0 0 2em -0.4em rgba(145, 110, 255, 0.9); transform: translateY(-0.4em); } }
  /* 2 · curso */
  .is-active .dm-vbar u { animation: dm-grow 7s linear 0.3s both; --from: 22%; --to: 82%; }
  .is-active .dm-ring .arc { animation: dm-arc 3s ease-out 0.4s both; }
  .is-active .dm-mods li em { animation: dm-check 0.4s ease both; animation-delay: var(--d); }
  .is-active .dm-opts .right { animation: dm-right 0.6s ease 5s both; }
  .is-active .dm-opts .right em { animation: dm-fadein 0.4s ease 5.1s both; }
  .is-active .dm-gain { animation: dm-gain 2s ease-out 5.2s both; }
  @keyframes dm-grow { from { width: var(--from); } to { width: var(--to); } }
  @keyframes dm-arc { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 32; } }
  @keyframes dm-check { to { background: #22c55e; border-color: #22c55e; color: #fff; } }
  @keyframes dm-right { to { background: rgba(34, 197, 94, 0.18); border-color: #22c55e; color: #fff; } }
  @keyframes dm-fadein { to { opacity: 1; } }
  @keyframes dm-gain { 0% { opacity: 0; transform: translateY(0.8em) scale(0.8); } 25% { opacity: 1; transform: translateY(0) scale(1.15); } 80% { opacity: 1; } 100% { opacity: 0; transform: translateY(-1em); } }
  /* 3 · coach */
  .is-active .msg { animation: dm-in 0.5s var(--ease) both; animation-delay: var(--d); }
  .is-active .msg.typing { animation: dm-in 0.4s var(--ease) both, dm-out 0.3s ease 4.1s forwards; animation-delay: var(--d), 4.1s; }
  .is-active .typing s { animation: dm-dot 0.9s ease-in-out infinite; }
  .is-active .typing s:nth-child(2) { animation-delay: 0.15s; } .is-active .typing s:nth-child(3) { animation-delay: 0.3s; }
  .is-active .sugg { animation: dm-in 0.5s var(--ease) both; animation-delay: var(--d); }
  .is-active .meter u { animation: dm-bar 1.4s var(--ease) 0.6s both; }
  @keyframes dm-out { to { opacity: 0; max-height: 0; margin: 0; padding: 0; overflow: hidden; } }
  @keyframes dm-dot { 0%, 100% { transform: translateY(0); opacity: 0.5; } 50% { transform: translateY(-0.35em); opacity: 1; } }
  @keyframes dm-bar { from { width: 0; } to { width: var(--w); } }
  /* 4 · dashboard */
  .is-active .dm-radar-now { animation: dm-radar 1.6s var(--ease) 0.3s both; }
  .is-active .dm-kpi { animation: dm-in 0.5s var(--ease) both; animation-delay: var(--d); }
  .is-active .dm-area-line { animation: dm-draw 2s ease 0.9s both; }
  .is-active .dm-area-fill { animation: dm-fadein 1s ease 1.8s both; }
  .is-active .dm-area-dot { animation: dm-fadein 0.4s ease 2.8s both; }
  @keyframes dm-radar { from { opacity: 0; transform: scale(0.15); } to { opacity: 1; transform: scale(1); } }
  @keyframes dm-draw { to { stroke-dashoffset: 0; } }
}

/* Sin animaciones: mostrar el estado final de cada escena */
@media (prefers-reduced-motion: reduce) {
  .dm-msgs .msg, .sugg, .dm-kpi, .dm-area-fill, .dm-area-dot { opacity: 1; }
  .msg.typing { display: none; }
  .dm-area-line { stroke-dashoffset: 0; }
  .meter u { width: var(--w); }
  .dm-opts .right { background: rgba(34, 197, 94, 0.18); border-color: #22c55e; color: #fff; }
  .dm-opts .right em { opacity: 1; }
  .dm-mods li em { background: #22c55e; border-color: #22c55e; color: #fff; }
  .dm-cursor, .dm-click { display: none; }
  .dm-ring .arc { stroke-dashoffset: 32; }
}
@media (max-width: 700px) {
  .dm-step small { max-height: 6em; opacity: 1; }
}

/* ---------- Demo v2: miniaturas tipo video, curso explicado, benchmarks ---------- */
.dm-cards { gap: 1.2em 1.1em; }
.dm-card { background: transparent; border: 0; padding: 0; gap: 0.6em; }
.dm-card .dm-thumb { height: auto; aspect-ratio: 16 / 9; font-size: 1em; border-radius: 0.8em; display: block; position: relative; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
.dm-thumb::before { content: ""; position: absolute; width: 11em; height: 11em; border-radius: 50%; right: -4em; bottom: -5em; background: rgba(255, 255, 255, 0.16); }
.dm-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(255, 255, 255, 0.18), transparent 40%); }
.dm-card .th-big { position: absolute; left: 0.8em; top: 0.8em; max-width: 56%; z-index: 2; font-size: 1.05em; font-weight: 800; letter-spacing: -0.02em; line-height: 1.02; min-height: 0; margin: 0; text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4); }
.th-art { position: absolute; z-index: 2; right: 0.6em; bottom: 0.9em; font-size: 3.4em; line-height: 1; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.4)); rotate: 8deg; }
.th-dur { position: absolute; z-index: 3; right: 0.5em; bottom: 0.45em; background: rgba(0, 0, 0, 0.78); border-radius: 0.35em; padding: 0.1em 0.5em; font-size: 0.78em; font-weight: 600; }
.th-tag { position: absolute; z-index: 3; left: 0.7em; bottom: 0.55em; background: rgba(255, 255, 255, 0.92); color: #0b101c; border-radius: 0.35em; padding: 0.1em 0.55em; font-size: 0.7em; font-weight: 700; }
.th-tag.rec { background: #ffd166; color: #3b2a00; }
.th-prog { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: 0.3em; background: rgba(0, 0, 0, 0.35); }
.th-prog u { display: block; height: 100%; background: #ff4d6d; }
.dm-info { display: grid; grid-template-columns: 2.2em 1fr; gap: 0.6em; align-items: start; }
.dm-info .ch { width: 2.2em; height: 2.2em; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--brand-light)); display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: 0.9em; }
.dm-card .dm-info b { display: block; font-size: 0.98em; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; min-height: 0; margin: 0; }
.dm-card .dm-info small { display: block; font-size: 0.78em; color: var(--muted); margin-top: 0.15em; }
.dm-card.is-pick .dm-thumb { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2), 0 0 0 0.2em transparent; transition: box-shadow 0.3s; }

/* Escena 2: video explicativo por pasos */
.dm-left { grid-template-rows: auto 1fr; }
.dm-vid { height: 19em; border-radius: 1em; background: radial-gradient(70% 90% at 25% 15%, #4c35c9, transparent 70%), linear-gradient(135deg, #1c1456, #0b1220); position: relative; overflow: hidden; display: block; }
.fr { position: absolute; inset: 0; padding: 1.1em 1.4em 3em; display: grid; align-content: center; justify-items: center; gap: 1em; opacity: 0; }
.stp { position: absolute; left: 1.1em; top: 1em; background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 999px; padding: 0.35em 1em; font-size: 0.95em; font-weight: 600; }
.cap { position: absolute; left: 1.4em; right: 1.4em; bottom: 2.4em; margin: 0; text-align: center; font-size: 1.05em; color: #fff; text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6); }
.cap::before { content: ""; }
.flow { display: flex; align-items: center; gap: 0.8em; margin-top: 1.4em; }
.nd { width: 10em; text-align: center; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 1em; padding: 0.9em 0.6em; display: grid; gap: 0.2em; justify-items: center; }
.nd i { font-style: normal; font-size: 2.3em; line-height: 1; }
.nd b { font-size: 1em; font-weight: 600; }
.nd small { font-size: 0.78em; color: rgba(255, 255, 255, 0.7); line-height: 1.2; }
.arw { font-size: 1.8em; color: var(--brand-light); }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.8em; margin-top: 1em; }
.tiles div { background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 1em; padding: 1em 0.5em; text-align: center; font-size: 0.98em; font-weight: 500; display: grid; gap: 0.4em; justify-items: center; width: 9em; }
.tiles i { font-style: normal; font-size: 2.2em; line-height: 1; }
.formula { display: flex; align-items: center; gap: 0.6em; margin-top: 1em; }
.formula span { background: var(--brand); border-radius: 0.7em; padding: 0.55em 1.1em; font-weight: 600; font-size: 1.15em; }
.formula em { font-style: normal; font-size: 1.3em; color: var(--brand-light); }
.ex { background: rgba(0, 0, 0, 0.35); border: 1px dashed rgba(255, 255, 255, 0.3); border-radius: 0.8em; padding: 0.7em 1.2em; font-size: 1em; color: #e8e0ff; }
.dm-vbar { position: absolute; left: 1.2em; right: 1.2em; bottom: 0.9em; height: 0.45em; border-radius: 99px; background: rgba(255, 255, 255, 0.2); }
.dm-vbar u { display: block; height: 100%; width: 14%; background: #fff; border-radius: inherit; }
.dm-vbar s { position: absolute; top: 0; width: 2px; height: 100%; background: rgba(11, 16, 28, 0.9); }
.dm-evo { background: #151e30; border: 1px solid rgba(255, 255, 255, 0.07); border-radius: 1em; padding: 0.8em 1.1em; display: grid; gap: 0.6em; align-content: start; }
.evh { display: flex; justify-content: space-between; align-items: baseline; }
.evh b { font-size: 1.1em; font-weight: 600; }
.evh small { color: var(--muted); font-size: 0.8em; }
.evcols { display: grid; grid-template-columns: 1.15fr 1fr; gap: 1.6em; }
.evcol { display: grid; gap: 0.5em; align-content: start; }
.evt { font-size: 0.72em; color: var(--brand-light); font-weight: 600; letter-spacing: 0.02em; }
.ev { display: grid; grid-template-columns: 7.2em 1fr 3em; align-items: center; gap: 0.6em; font-size: 0.88em; color: var(--text-2); }
.ev i { position: relative; display: block; height: 0.55em; border-radius: 99px; background: rgba(255, 255, 255, 0.08); }
.ev u { position: absolute; left: 0; top: 0; bottom: 0; width: var(--n); border-radius: inherit; background: linear-gradient(90deg, var(--brand), var(--brand-light)); }
.ev s { position: absolute; top: -0.2em; bottom: -0.2em; left: var(--b); width: 2px; background: rgba(255, 255, 255, 0.55); }
.ev em { font-style: normal; font-weight: 700; color: #4ade80; text-align: right; }
.dm-chap { list-style: none; margin: 0.4em 0 0; padding: 0; display: grid; gap: 0.35em; width: 100%; }
.dm-chap li { display: grid; grid-template-columns: 1.9em 1fr auto; align-items: center; gap: 0.6em; padding: 0.45em 0.5em; border-radius: 0.7em; font-size: 0.86em; color: var(--text-2); border: 1px solid transparent; }
.dm-chap li small { color: var(--muted); font-size: 0.85em; }
.dm-chap em { position: relative; width: 1.9em; height: 1.9em; border-radius: 50%; border: 1px solid #3a475f; display: grid; place-items: center; font-style: normal; font-size: 0.85em; }
.dm-chap em i, .dm-chap em u { grid-area: 1 / 1; font-style: normal; text-decoration: none; }
.dm-chap em u { opacity: 0; }
.dm-chap li.done em { background: #22c55e; border-color: #22c55e; color: #fff; }
.dm-chap li.done em i { opacity: 0; } .dm-chap li.done em u { opacity: 1; }
.dm-right { align-content: start; }

/* Escena 4: benchmarks */
.dm-radar-avg, .dm-radar-target, .dm-ref { opacity: 0; }
.legend { flex-wrap: wrap; gap: 0.3em 1.1em; right: 1.1em; }
.legend .t { background: transparent; border: 2px dashed #4ade80; box-sizing: border-box; }
.legend .c { background: transparent; border: 2px dotted #fbbf24; box-sizing: border-box; }
.dm-box.radar { padding-bottom: 3.2em; }

@media (prefers-reduced-motion: no-preference) {
  /* 1 */
  .is-active .dm-card.is-pick .dm-thumb { animation: dm-pickth 0.6s ease 3.1s forwards; }
  @keyframes dm-pickth { to { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2), 0 0 0 0.22em var(--brand-light), 0 0 2em rgba(145, 110, 255, 0.9); } }
  /* 2 · fotogramas del video */
  .is-active .f1 { animation: dm-f1 8s linear both; }
  .is-active .f2 { animation: dm-f2 8s linear both; }
  .is-active .f3 { animation: dm-f3 8s linear both; }
  .is-active .nd, .is-active .arw, .is-active .tiles div, .is-active .formula span, .is-active .formula em, .is-active .ex { animation: dm-in 0.55s var(--ease) both; animation-delay: var(--a, 0s); }
  .is-active .formula em { --a: 5.5s; }
  .is-active .dm-vbar u { animation: dm-grow 8s linear 0s both; --from: 14%; --to: 62%; }
  .is-active .dm-ring .arc { animation: dm-arc 3s ease-out 0.4s both; }
  .is-active .ev u { animation: dm-ev 3.6s var(--ease) var(--d) both; }
  .is-active .ev em { animation: dm-fadein 0.5s ease calc(var(--d) + 3.4s) both; opacity: 0; }
  .is-active .dm-chap li.live { animation: dm-cur 2.7s linear var(--d) forwards, dm-done 0.01s linear var(--e) forwards; }
  .is-active .dm-chap li.live em { animation: dm-cur-em 2.7s linear var(--d) forwards, dm-done-em 0.01s linear var(--e) forwards; }
  .is-active .dm-chap li.live em i { animation: dm-hide 0.01s linear var(--e) forwards; }
  .is-active .dm-chap li.live em u { animation: dm-show 0.01s linear var(--e) forwards; }
  @keyframes dm-f1 { 0% { opacity: 0; } 4%, 30% { opacity: 1; } 34%, 100% { opacity: 0; } }
  @keyframes dm-f2 { 0%, 31% { opacity: 0; } 36%, 63% { opacity: 1; } 67%, 100% { opacity: 0; } }
  @keyframes dm-f3 { 0%, 64% { opacity: 0; } 69%, 100% { opacity: 1; } }
  @keyframes dm-ev { from { width: var(--b); } to { width: var(--n); } }
  @keyframes dm-cur { from, to { background: rgba(145, 110, 255, 0.2); border-color: rgba(189, 168, 255, 0.45); color: #fff; } }
  @keyframes dm-done { to { background: transparent; border-color: transparent; color: var(--text-2); } }
  @keyframes dm-cur-em { from, to { background: var(--brand); border-color: var(--brand); color: #fff; } }
  @keyframes dm-done-em { to { background: #22c55e; border-color: #22c55e; color: #fff; } }
  @keyframes dm-hide { to { opacity: 0; } }
  @keyframes dm-show { to { opacity: 1; } }
  /* 4 · benchmarks */
  .is-active .dm-radar-target { animation: dm-fadein 0.9s ease 1.7s both; }
  .is-active .dm-radar-avg { animation: dm-fadein 0.9s ease 2.3s both; }
  .is-active .dm-ref { animation: dm-fadein 0.9s ease 2.6s both; }
}
@media (prefers-reduced-motion: reduce) {
  .fr.f1, .fr.f2 { display: none; }
  .fr.f3 { opacity: 1; }
  .dm-vbar u { width: 62%; }
  .ev em { opacity: 1; }
  .dm-chap li.live em i { opacity: 0; } .dm-chap li.live em u { opacity: 1; }
  .dm-chap li.live em { background: #22c55e; border-color: #22c55e; color: #fff; }
  .dm-radar-avg, .dm-radar-target, .dm-ref { opacity: 1; }
}

.areawrap { position: relative; min-height: 0; }
.areawrap .dm-area { position: absolute; inset: 0; }
.rl { position: absolute; left: 0.4em; font-size: 0.78em; font-weight: 600; letter-spacing: -0.01em; transform: translateY(-100%); }
.rl.t { color: #4ade80; } .rl.c { color: #fbbf24; }
.ev { grid-template-columns: 9em 1fr 3em; }


/* ---------- Ajustes v8 ---------- */
/* Móvil de la home -25 % */
.phone-stage { --w: clamp(190px, 19.5vw, 262px); }
@media (max-width: 899px) { .phone-stage { --w: min(232px, 60vw); } }

/* CTA del desafío de muestra: texto claro y legible */
.quiz-out a.btn-brand { color: #fff; font-weight: 600; }

/* Comercios: titular en dos niveles que cabe en pantalla */
.hero-merch { padding-top: clamp(28px, 6vh, 72px); padding-bottom: clamp(48px, 8vh, 96px); }
.hero-merch .wrap { gap: clamp(14px, 2.4vh, 28px); }
.merch-h1 { display: grid; gap: clamp(8px, 1.6vh, 18px); letter-spacing: 0; line-height: 1; text-transform: none; }
.merch-h1 .kicker { font-size: clamp(1.15rem, 2.6vw, 2.1rem); font-weight: 400; letter-spacing: -0.035em; color: var(--text-2); }
.merch-h1 .m-lines { display: grid; font-weight: 600; letter-spacing: -0.06em; line-height: 0.98; font-size: min(12.5vw, 11vh, 5.4rem); }
.merch-h1 .m-lines .hl { color: var(--brand-light); }
.lang-en .merch-h1 .m-lines { font-size: min(11vw, 11vh, 5.4rem); }
.hero-merch .lead { font-size: clamp(1rem, 1.5vw, 1.2rem); max-width: 40ch; }

/* Nav en móvil: sin texto "Inicia sesión" (queda en el pie) y botones en una sola línea */
.nav .btn, .nav-brand, .lang a { white-space: nowrap; }
@media (max-width: 1059px) { .nav-login { display: none; } }


/* ---------- Ajustes v9: espacio superior unificado, móvil, ilustración de comercios ---------- */
:root { --hero-pt: clamp(28px, 6vh, 72px); --hero-pb: clamp(48px, 8vh, 96px); }
.hero, .hero.hero-home, .hero.hero-merch { padding-top: var(--hero-pt); padding-bottom: var(--hero-pb); }
.hero .wrap { gap: clamp(14px, 2.4vh, 28px); }
.hero .wrap.hero-grid { gap: clamp(24px, 4vw, 64px); }
.hero-home .hero-copy, .hero-merch .hero-copy { gap: clamp(14px, 2.4vh, 28px); }

/* "El saber. Paga." +25 % en móvil y más aire sobre el mockup */
.punch-h1 .punch { font-size: min(calc((100vw - 40px) / 5.6), 4.9rem); }
.lang-en .punch-h1 .punch { font-size: min(calc((100vw - 40px) / 7.05), 4.9rem); }
@media (min-width: 760px) and (max-width: 899px) {
  .punch-h1 .punch { font-size: min(calc((100vw - 40px) / 9.2), 7.5rem); }
  .lang-en .punch-h1 .punch { font-size: min(calc((100vw - 40px) / 10.3), 7.5rem); }
}
@media (max-width: 899px) { .hero-visual { margin-top: clamp(28px, 5vh, 48px); } }

/* Comercios: dos columnas en escritorio */
.hero-merch .hero-visual { display: none; }
@media (min-width: 900px) {
  .hero-merch .wrap.hero-grid { grid-template-columns: 1fr 1fr; }
  .hero-merch .hero-visual { display: flex; justify-content: center; align-items: center; }
}

/* Ilustración: un café que recibe un canje */
.shop { container-type: inline-size; position: relative; width: min(100%, 460px); aspect-ratio: 460 / 520; border-radius: 34px; overflow: hidden; background: linear-gradient(160deg, #f0508f 0%, #b43ae8 52%, #5b3bd8 100%); box-shadow: 0 40px 90px -30px rgba(180, 58, 232, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.18); font-size: 3.1cqw; }
.shop::before { content: ""; position: absolute; width: 90cqw; height: 90cqw; right: -30cqw; top: -34cqw; border-radius: 50%; background: radial-gradient(circle, rgba(255, 214, 102, 0.45), transparent 65%); }
.awning { position: absolute; left: 7cqw; right: 7cqw; top: 9cqw; height: 15cqw; border-radius: 3cqw 3cqw 0 0; background: repeating-linear-gradient(90deg, #fff 0 10cqw, #ffd166 10cqw 20cqw); -webkit-mask: radial-gradient(circle at 5cqw 100%, transparent 4.9cqw, #000 5cqw) 0 0 / 10cqw 100%; mask: radial-gradient(circle at 5cqw 100%, transparent 4.9cqw, #000 5cqw) 0 0 / 10cqw 100%; filter: drop-shadow(0 1cqw 0 rgba(0, 0, 0, 0.2)); }
.awning::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2.5cqw; height: 2.5cqw; background: rgba(0, 0, 0, 0.18); filter: blur(2px); }
.sign { position: absolute; left: 50%; top: 28cqw; translate: -50% 0; background: #2a1148; color: #ffd166; border: 0.5cqw solid #ffd166; border-radius: 2cqw; padding: 1.2cqw 5cqw; font-weight: 700; letter-spacing: 0.12em; font-size: 4.2cqw; white-space: nowrap; }
.win { position: absolute; left: 10cqw; right: 10cqw; top: 41cqw; height: 34cqw; border-radius: 2.5cqw; background: linear-gradient(180deg, #fff2d6, #ffc98a); box-shadow: inset 0 0 0 1cqw #2a1148; display: flex; align-items: flex-end; justify-content: space-around; padding: 0 5cqw 5cqw; font-size: 9cqw; }
.win span { filter: drop-shadow(0 1cqw 0 rgba(0, 0, 0, 0.18)); }
.win em { position: absolute; right: 4cqw; top: 3cqw; font-style: normal; font-size: 3.6cqw; font-weight: 800; letter-spacing: 0.1em; color: #ff3d6e; border: 0.4cqw solid #ff3d6e; border-radius: 1cqw; padding: 0 1.4cqw; text-shadow: 0 0 1.4cqw rgba(255, 61, 110, 0.7); }
.counter { position: absolute; left: 4cqw; right: 4cqw; bottom: 0; height: 34cqw; background: linear-gradient(180deg, #4a2370, #2a1148); border-radius: 4cqw 4cqw 0 0; border-top: 1.6cqw solid #6d3d9e; }
.pos { position: absolute; left: 6cqw; top: 6cqw; width: 30cqw; background: #0b101c; border-radius: 2cqw; padding: 2cqw 2.4cqw; display: grid; gap: 0.6cqw; box-shadow: 0 1.5cqw 3cqw rgba(0, 0, 0, 0.4); }
.pos b { color: #4ade80; font-size: 6cqw; line-height: 1; }
.pos small { font-size: 2.9cqw; color: #c9d0de; line-height: 1.2; }
.cup { position: absolute; left: 44cqw; top: -7cqw; font-size: 10cqw; }
.ticket { position: absolute; z-index: 4; right: 6cqw; bottom: 8cqw; width: 42cqw; background: #fff; color: #0b101c; border-radius: 4.5cqw; padding: 3.2cqw; display: grid; gap: 2.2cqw; justify-items: center; rotate: 5deg; box-shadow: 0 3cqw 8cqw rgba(0, 0, 0, 0.45); }
.tk-top { display: flex; justify-content: space-between; width: 100%; align-items: baseline; font-size: 2.7cqw; }
.tk-top i { font-style: normal; font-weight: 700; letter-spacing: 0.08em; }
.tk-top b { color: #7a52ff; }
.tk-prize { display: grid; justify-items: center; gap: 0.4cqw; text-align: center; }
.tk-prize span { font-size: 8cqw; line-height: 1; }
.tk-prize strong { font-size: 4.4cqw; letter-spacing: -0.03em; }
.tk-prize small { font-size: 2.6cqw; color: #5b6578; }
.qr { width: 24cqw; height: 24cqw; position: relative; }
.qr .scan { opacity: 0; }
.tk-btn { width: 100%; text-align: center; background: #916eff; color: #fff; border-radius: 99px; padding: 1.8cqw; font-size: 3cqw; font-weight: 600; }
.shop .sticker { z-index: 5; font-size: 3.6cqw; }
.shop .st-new { left: 6cqw; top: 66cqw; right: auto; bottom: auto; background: #ffd166; color: #3b2a00; padding: 1.6cqw 3.4cqw; border-radius: 99px; rotate: -6deg; width: auto; height: auto; display: block; }
.shop .st-visit { right: 5cqw; top: 31cqw; left: auto; bottom: auto; background: #fff; color: #7a1fa8; padding: 1.4cqw 3.2cqw; border-radius: 99px; rotate: 6deg; width: auto; height: auto; display: block; }
@media (prefers-reduced-motion: no-preference) {
  .ticket { animation: shop-float 5s ease-in-out infinite; }
  .qr .scan { animation: qr-scan 2.4s ease-in-out infinite; }
  .pos b { animation: pos-pop 6s ease-in-out infinite; }
  .st-new { animation: stk-pop 6s ease-in-out infinite; }
  @keyframes shop-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-1.6cqw); } }
  @keyframes qr-scan { 0% { opacity: 0.9; transform: translateY(0); } 100% { opacity: 0; transform: translateY(10.5px); } }
  @keyframes pos-pop { 0%, 55% { transform: scale(0.6); opacity: 0.2; } 62%, 92% { transform: scale(1.15); opacity: 1; } 100% { transform: scale(0.6); opacity: 0.2; } }
  @keyframes stk-pop { 0%, 58% { transform: scale(0.8); opacity: 0; } 66%, 92% { transform: scale(1); opacity: 1; } 100% { opacity: 0; } }
}
@media (min-width: 900px) { .hero-home .wrap.hero-grid { align-items: start; } .hero-home .hero-copy { padding-top: clamp(0px, 2vh, 20px); } }
.ticket { right: 3cqw; width: 40cqw; }

/* ---------- Ajustes v10: "El saber. Paga." +30 % ---------- */
.punch-h1 .punch { font-size: min(calc((100vw - 40px) / 4.31), 6.37rem); }
.lang-en .punch-h1 .punch { font-size: min(calc((100vw - 40px) / 5.6), 6.37rem); }
@media (min-width: 760px) and (max-width: 899px) {
  .punch-h1 .punch { font-size: min(calc((100vw - 40px) / 7.08), 9.75rem); }
  .lang-en .punch-h1 .punch { font-size: min(calc((100vw - 40px) / 7.92), 9.75rem); }
}
@media (min-width: 900px) {
  .hero-home .punch-h1 .punch { font-size: calc(min(1180px, 100vw - 40px) * 0.351 / var(--pr)); }
}

/* ---------- Videos explicativos (bucle de 10 s) ---------- */
@property --n { syntax: "<integer>"; initial-value: 0; inherits: false; }
.xp { position: relative; width: 100%; aspect-ratio: 16 / 10; border-radius: 28px; overflow: hidden; background: radial-gradient(90% 70% at 20% 0%, rgba(145, 110, 255, 0.45), transparent 70%), linear-gradient(160deg, #1d1458, #0d1226); border: 1px solid rgba(189, 168, 255, 0.25); box-shadow: 0 40px 90px -30px rgba(145, 110, 255, 0.5); font-size: 3.1cqw; color: #fff; }
.xp-merch { background: radial-gradient(90% 70% at 20% 0%, rgba(240, 80, 143, 0.4), transparent 70%), linear-gradient(160deg, #3a1360, #0d1226); }
.xp-top { position: absolute; z-index: 3; left: 1.2em; right: 1.2em; top: 1em; display: flex; gap: 0.5em; font-size: 0.78em; font-weight: 600; flex-wrap: wrap; }
.xp-top span { padding: 0.35em 0.9em; border-radius: 999px; background: rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.6); white-space: nowrap; }
.sc { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 0.45em; text-align: center; padding: 3.6em 1.2em 1.8em; opacity: 0; }
.sc .big { font-size: 4.6em; line-height: 1; filter: drop-shadow(0 0.15em 0.25em rgba(0, 0, 0, 0.35)); }
.sc > b { font-size: 2.1em; font-weight: 600; letter-spacing: -0.045em; line-height: 1.05; max-width: 14em; text-wrap: balance; }
.sc small { font-size: 0.95em; color: rgba(255, 255, 255, 0.75); }
.q-card { background: #fff; color: #0b101c; font-weight: 600; font-size: 1.15em; padding: 0.6em 1.4em; border-radius: 999px; box-shadow: 0 0.5em 1.4em rgba(0, 0, 0, 0.35); }
.q-card.ok-card { background: #22c55e; color: #fff; }
.mini-q { background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 1em; padding: 0.7em 0.9em; display: grid; gap: 0.5em; width: min(100%, 22em); text-align: left; }
.mini-q p { margin: 0; max-width: none; font-weight: 600; font-size: 1.05em; color: #fff; }
.mini-q .o { display: grid; gap: 0.35em; }
.mini-q .o span { background: rgba(255, 255, 255, 0.1); border: 1px solid transparent; border-radius: 0.6em; padding: 0.35em 0.7em; font-size: 0.95em; color: rgba(255, 255, 255, 0.85); }
.pts { font-size: 3.2em; font-weight: 700; letter-spacing: -0.05em; line-height: 1; color: #ffd166; counter-reset: n var(--n); }
.pts em { font-style: normal; }
.pts em::before { content: "+" counter(n); }
.rw { display: flex; gap: 0.7em; margin-top: 0.3em; }
.rw div { background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 1em; padding: 0.7em 0.9em; display: grid; justify-items: center; gap: 0.1em; min-width: 6.4em; }
.rw i { font-style: normal; font-size: 2.2em; line-height: 1; }
.rw span { font-weight: 600; font-size: 1em; }
.rw small { font-size: 0.8em; color: var(--brand-light); }
.enjoy { display: flex; gap: 0.3em; font-size: 2.4em; }
.bubbles { display: grid; gap: 0.5em; justify-items: center; }
.bubbles .kx { background: #ffd166; color: #3b2a00; font-weight: 700; font-size: 1.7em; padding: 0.15em 0.8em; border-radius: 999px; }
.bubbles .ask { background: #fff; color: #0b101c; font-weight: 600; padding: 0.5em 1.1em; border-radius: 1em 1em 1em 0.2em; font-size: 1.1em; }
.cmp { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 0.6em; margin-top: 0.4em; width: min(100%, 25em); }
.cmp > div { border-radius: 1em; padding: 0.8em 0.6em; display: grid; justify-items: center; gap: 0.15em; }
.cmp i { font-style: normal; font-size: 2.3em; line-height: 1; }
.cmp span { font-weight: 700; letter-spacing: 0.05em; font-size: 0.85em; }
.cmp small { font-size: 0.8em; }
.cmp .you { background: #22c55e; color: #fff; box-shadow: 0 0 1.6em rgba(34, 197, 94, 0.6); }
.cmp .you small { color: #fff; }
.cmp .them { background: rgba(255, 255, 255, 0.08); border: 1px dashed rgba(255, 255, 255, 0.3); opacity: 0.6; }
.walker { font-size: 2em; }
.xp-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 0.35em; background: rgba(255, 255, 255, 0.12); z-index: 3; }
.xp-bar u { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--brand), var(--brand-light)); }

/* Estado estático (sin animaciones): se muestra el último fotograma */
.xp .s5, .xp .m4 { opacity: 1; }
.xp .c3 { background: var(--brand); color: #fff; }
.xp .s2 .ok, .xp .s4 .pick { background: rgba(34, 197, 94, 0.25); border-color: #22c55e; }

@media (prefers-reduced-motion: no-preference) {
  .xp .s5, .xp .m4 { opacity: 0; }
  .xp .c3 { background: rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.6); }
  .xp .s2 .ok, .xp .s4 .pick { background: rgba(255, 255, 255, 0.1); border-color: transparent; }
  .xp .s4 .pick { border-color: rgba(255, 255, 255, 0.22); }
  /* Personas: 0–2 desafía · 3–4 responde · 5–6 gana puntos · 7–8 elige premio · 9–10 canjéalo */
  .xp .s1 { animation: xp-s1 10s linear infinite; }
  .xp .s2 { animation: xp-s2 10s linear infinite; }
  .xp .s3 { animation: xp-s3 10s linear infinite; }
  .xp .s4 { animation: xp-s4 10s linear infinite; }
  .xp .s5 { animation: xp-s5 10s linear infinite; }
  .xp .s1 .big { animation: xp-pulse 1.1s ease-in-out infinite; }
  .xp .s3 .big { animation: xp-pulse 0.9s ease-in-out infinite; }
  .xp .s2 .ok { animation: xp-ok 10s linear infinite; }
  .xp .s3 .pts { animation: xp-n 10s linear infinite; }
  .xp .s4 .pick { animation: xp-pick 10s linear infinite; }
  .xp .s5 .pin { animation: xp-pin 10s ease-out infinite; }
  .xp .s5 .enjoy span { animation: xp-hop 0.9s ease-in-out infinite; }
  .xp .s5 .enjoy span + span { animation-delay: 0.2s; }
  /* Comercios */
  .xp .m1 { animation: xp-m1 10s linear infinite; }
  .xp .m2 { animation: xp-m2 10s linear infinite; }
  .xp .m3 { animation: xp-m3 10s linear infinite; }
  .xp .m4 { animation: xp-m4 10s linear infinite; }
  .xp .m1 .big, .xp .m2 .big { animation: xp-pulse 1.1s ease-in-out infinite; }
  .xp .m3 .walker { animation: xp-walk 10s ease-in-out infinite; }
  .xp .m4 .big { animation: xp-hop 0.9s ease-in-out infinite; }
  /* Chips y barra */
  .xp .c1 { animation: xp-c1 10s linear infinite; }
  .xp .c2 { animation: xp-c2 10s linear infinite; }
  .xp .c3 { animation: xp-c3 10s linear infinite; }
  .xp-merch .c1 { animation: xp-k1 10s linear infinite; }
  .xp-merch .c2 { animation: xp-k2 10s linear infinite; }
  .xp-merch .c3 { animation: xp-k3 10s linear infinite; }
  .xp-bar u { animation: xp-bar 10s linear infinite; transform-origin: left; }

  @keyframes xp-s1 { 0%, 20% { opacity: 1; } 23%, 97% { opacity: 0; } 100% { opacity: 1; } }
  @keyframes xp-s2 { 0%, 23% { opacity: 0; } 26%, 43% { opacity: 1; } 46%, 100% { opacity: 0; } }
  @keyframes xp-s3 { 0%, 45% { opacity: 0; } 48%, 63% { opacity: 1; } 66%, 100% { opacity: 0; } }
  @keyframes xp-s4 { 0%, 65% { opacity: 0; } 68%, 82% { opacity: 1; } 85%, 100% { opacity: 0; } }
  @keyframes xp-s5 { 0%, 84% { opacity: 0; } 87%, 97% { opacity: 1; } 100% { opacity: 0; } }
  @keyframes xp-ok { 0%, 33% { background: rgba(255, 255, 255, 0.1); border-color: transparent; } 36%, 44% { background: rgba(34, 197, 94, 0.3); border-color: #22c55e; } 46%, 100% { background: rgba(255, 255, 255, 0.1); border-color: transparent; } }
  @keyframes xp-n { 0%, 49% { --n: 0; } 60%, 100% { --n: 120; } }
  @keyframes xp-pick { 0%, 74% { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.22); transform: none; } 77%, 83% { background: rgba(34, 197, 94, 0.3); border-color: #22c55e; transform: translateY(-0.3em) scale(1.06); } 85%, 100% { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.22); transform: none; } }
  @keyframes xp-pin { 0%, 86% { transform: translateY(-1.4em); opacity: 0; } 91%, 100% { transform: none; opacity: 1; } }
  @keyframes xp-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }
  @keyframes xp-hop { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-0.25em); } }
  @keyframes xp-m1 { 0%, 22% { opacity: 1; } 25%, 97% { opacity: 0; } 100% { opacity: 1; } }
  @keyframes xp-m2 { 0%, 25% { opacity: 0; } 28%, 47% { opacity: 1; } 50%, 100% { opacity: 0; } }
  @keyframes xp-m3 { 0%, 50% { opacity: 0; } 53%, 76% { opacity: 1; } 79%, 100% { opacity: 0; } }
  @keyframes xp-m4 { 0%, 78% { opacity: 0; } 81%, 97% { opacity: 1; } 100% { opacity: 0; } }
  @keyframes xp-walk { 0%, 54% { transform: translateX(1.2em); } 70%, 100% { transform: translateX(-1.2em); } }
  @keyframes xp-c1 { 0%, 44% { background: var(--brand); color: #fff; } 47%, 100% { background: rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.6); } }
  @keyframes xp-c2 { 0%, 45% { background: rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.6); } 48%, 64% { background: var(--brand); color: #fff; } 67%, 100% { background: rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.6); } }
  @keyframes xp-c3 { 0%, 65% { background: rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.6); } 68%, 97% { background: var(--brand); color: #fff; } 100% { background: rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.6); } }
  @keyframes xp-k1 { 0%, 24% { background: var(--brand); color: #fff; } 27%, 100% { background: rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.6); } }
  @keyframes xp-k2 { 0%, 26% { background: rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.6); } 29%, 77% { background: var(--brand); color: #fff; } 80%, 100% { background: rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.6); } }
  @keyframes xp-k3 { 0%, 79% { background: rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.6); } 82%, 97% { background: #22c55e; color: #fff; } 100% { background: rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.6); } }
  @keyframes xp-bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}

/* ---------- Sección "Así ganas tu primer premio" (Personas) ---------- */
.how-grid { display: grid; grid-template-columns: 1fr 1.1fr; grid-template-areas: "head video" "steps video"; gap: clamp(20px, 4vw, 56px) clamp(24px, 5vw, 72px); align-items: center; }
.how-head { grid-area: head; align-self: end; display: grid; gap: 20px; }
.how-video { grid-area: video; }
.how-grid .steps-v { grid-area: steps; align-self: start; }
.h-ico { display: inline-grid; place-items: center; width: 1.05em; height: 1.05em; margin-right: 0.22em; vertical-align: -0.12em; border-radius: 0.28em; background: rgba(145, 110, 255, 0.22); border: 1px solid rgba(189, 168, 255, 0.45); font-size: 0.8em; }
.steps.steps-v { grid-template-columns: 1fr; border-top: 1px solid var(--line); }
.steps.steps-v li, .steps.steps-v li + li { padding: 18px 0; border-left: 0; border-bottom: 1px solid var(--line); grid-template-columns: 2.2rem 1fr; column-gap: 8px; }
.steps.steps-v li h3 { grid-column: 2; } .steps.steps-v li p { grid-column: 2; } .steps.steps-v .n { grid-row: 1; }
.how-cta { margin-top: clamp(24px, 4vw, 40px); }
@media (max-width: 900px) { .how-grid { grid-template-columns: 1fr; grid-template-areas: "head" "video" "steps"; } .how-head { align-self: start; } }

/* ---------- Comercios: video + mensaje clave ---------- */
.mv-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 5vw, 72px); align-items: center; }
.mv-copy { display: grid; gap: 20px; }
.mv-callout { border-left: 3px solid var(--brand-light); background: rgba(145, 110, 255, 0.12); border-radius: 0 16px 16px 0; padding: 16px 20px; font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: #fff; line-height: 1.4; max-width: none; }
.mv-callout b { color: var(--brand-light); font-weight: 600; }
@media (max-width: 900px) { .mv-grid { grid-template-columns: 1fr; } }

/* Volver a Personas (barra superior en Empresas y Comercios) */
.nav-back { text-decoration: none; font-size: 0.95rem; color: var(--brand-light); padding: 0 10px; white-space: nowrap; display: none; }
.nav-back:hover { color: #fff; }
@media (min-width: 1060px) { .nav-back { display: inline-flex; } }


/* ---------- Ajustes v11: "Saber. Paga." +5 % ---------- */
.punch-h1 .punch { font-size: min(calc((100vw - 40px) / 4.1), 6.7rem); }
.lang-en .punch-h1 .punch { font-size: min(calc((100vw - 40px) / 5.55), 6.7rem); }
@media (min-width: 760px) and (max-width: 899px) {
  .punch-h1 .punch { font-size: min(calc((100vw - 40px) / 6.74), 10.2rem); }
  .lang-en .punch-h1 .punch { font-size: min(calc((100vw - 40px) / 7.54), 10.2rem); }
}
@media (min-width: 900px) {
  .hero-home .punch-h1 .punch { font-size: calc(min(1180px, 100vw - 40px) * 0.3686 / var(--pr)); }
}

.how-video, .mv-video { container-type: inline-size; }
.how-head h2 { font-size: clamp(2.1rem, 4.2vw, 3.8rem); letter-spacing: -0.05em; }
.xp .s2 .big { font-size: 2.8em; }
.xp .s2 { padding-top: 3.4em; gap: 0.3em; }


/* ---------- Volver a Personas (migas de pan sobre la etiqueta de la sublanding) ---------- */
.nav-back { display: none !important; }
.back-home { justify-self: start; display: inline-flex; align-items: center; gap: 0.4em; font-size: 0.95rem; font-weight: 500; color: var(--brand-light); text-decoration: none; padding: 4px 0; margin-bottom: -6px; transition: color 0.2s, gap 0.2s var(--ease); }
.back-home:hover { color: #fff; gap: 0.65em; }

/* =====================================================================
   "Así ganas tu primer premio": escena animada de 14 s (Personas)
   ===================================================================== */
@property --hn { syntax: "<integer>"; initial-value: 0; inherits: false; }
.how-wrap { display: grid; gap: clamp(28px, 4vw, 52px); }
.how-head { display: grid; gap: 18px; max-width: 760px; }
.how-head h2 { font-size: clamp(2.1rem, 4.6vw, 4rem); letter-spacing: -0.05em; }
.hw-wrap { container-type: inline-size; width: 100%; max-width: 1120px; margin-inline: auto; }
.hw { position: relative; font-size: calc(100cqw / 64); aspect-ratio: 1.85 / 1; border-radius: 2.2em; overflow: hidden; color: #fff; line-height: 1.25;
  background: radial-gradient(60em 30em at 15% -10%, rgba(145, 110, 255, 0.55), transparent 70%), radial-gradient(40em 24em at 100% 110%, rgba(240, 80, 143, 0.28), transparent 70%), linear-gradient(160deg, #1a1252, #0b101c 80%);
  border: 1px solid rgba(189, 168, 255, 0.28); box-shadow: 0 50px 100px -40px rgba(145, 110, 255, 0.55); }
.hw p, .hw b, .hw small, .hw span { max-width: none; }
.hw-top { position: absolute; z-index: 6; left: 2.4em; top: 1.6em; display: flex; gap: 0.6em; font-size: 0.95em; font-weight: 600; }
.hw-top span { padding: 0.45em 1.1em; border-radius: 999px; background: rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.55); white-space: nowrap; }
.hw-bar { position: absolute; z-index: 6; left: 0; right: 0; bottom: 0; height: 0.4em; background: rgba(255, 255, 255, 0.1); }
.hw-bar u { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), #ffd166); transform-origin: left; }

.act { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2.6em; padding: 5em 3.4em 2.6em; opacity: 0; }
.act .cap { display: grid; gap: 0.7em; justify-self: end; max-width: 15em; }
.act .cap b { font-size: 2.9em; font-weight: 600; letter-spacing: -0.05em; line-height: 1; }
.act .cap p { margin: 0; font-size: 1.2em; color: rgba(255, 255, 255, 0.78); line-height: 1.35; }
.act .side { display: grid; gap: 1em; align-content: center; justify-items: start; }

/* Teléfono */
.hw-phone { position: relative; width: 13.2em; height: 26.4em; border-radius: 2.1em; background: #101828; border: 0.42em solid #2b3550; box-shadow: 0 2em 4em -1em rgba(0, 0, 0, 0.7), 0 0 4em -1em rgba(145, 110, 255, 0.7); padding: 1.1em 0.9em; display: flex; flex-direction: column; gap: 0.6em; font-size: 0.9em; }
.hw-phone::before { content: ""; position: absolute; top: 0.45em; left: 50%; translate: -50% 0; width: 4em; height: 0.8em; border-radius: 99px; background: #05070d; }
.ph-top { display: flex; align-items: center; gap: 0.45em; font-size: 0.72em; margin-top: 0.6em; }
.ph-top .av { width: 2em; height: 2em; border-radius: 50%; background: #3a2f78; color: var(--brand-light); display: grid; place-items: center; font-style: normal; font-weight: 700; }
.ph-top span { font-weight: 600; margin-right: auto; }
.ph-top em { font-style: normal; background: #1d2940; border-radius: 99px; padding: 0.2em 0.6em; }
.ph-top .kx { color: var(--brand-light); }
.ph-topic { align-self: flex-start; font-size: 0.7em; font-weight: 600; color: #7dd3fc; background: rgba(56, 189, 248, 0.14); border: 1px solid rgba(56, 189, 248, 0.5); border-radius: 99px; padding: 0.3em 0.9em; }
.ph-prog { display: grid; gap: 0.3em; font-size: 0.66em; color: var(--muted); }
.ph-prog i { display: block; height: 0.5em; border-radius: 99px; background: #2a3547; overflow: hidden; }
.ph-prog u { display: block; height: 100%; width: 40%; border-radius: inherit; background: linear-gradient(90deg, var(--brand), var(--brand-light)); }
.ph-q { margin: 0.2em 0 0.1em; font-size: 1.12em; font-weight: 600; letter-spacing: -0.03em; line-height: 1.2; }
.ph-opts { display: grid; gap: 0.5em; }
.ph-opts span { display: flex; justify-content: space-between; gap: 0.4em; font-size: 0.74em; line-height: 1.25; padding: 0.8em 0.9em; border-radius: 0.9em; background: #1d2940; border: 1px solid transparent; color: var(--text-2); }
.ph-opts em { font-style: normal; font-weight: 700; color: #4ade80; opacity: 0; }
.hand { position: absolute; font-size: 2.4em; z-index: 5; filter: drop-shadow(0 0.15em 0.2em rgba(0, 0, 0, 0.5)); left: 70%; top: 112%; rotate: -20deg; }
.ripple { position: absolute; left: 58%; top: 74%; width: 3em; height: 3em; margin: -1.5em; border-radius: 50%; border: 0.18em solid var(--brand-light); opacity: 0; }
.gain { position: absolute; right: 0.6em; top: 3.2em; font-weight: 800; font-size: 1.7em; color: #ffd166; text-shadow: 0 0.1em 0.5em rgba(0, 0, 0, 0.6); opacity: 0; z-index: 5; }
.dots { display: flex; gap: 0.6em; list-style: none; margin: 0; padding: 0; }
.dots li { width: 1.5em; height: 1.5em; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.35); }
.dots li:nth-child(-n+2) { background: #22c55e; border-color: #22c55e; }
.side small { font-size: 1em; color: rgba(255, 255, 255, 0.7); }
.ph-res { flex: 1; display: grid; justify-items: center; align-content: center; gap: 0.35em; text-align: center; position: relative; }
.ph-res .star { font-size: 3.6em; line-height: 1; filter: drop-shadow(0 0 0.5em rgba(255, 209, 102, 0.8)); }
.ph-res b { font-size: 1.5em; letter-spacing: -0.04em; }
.ph-res small { font-size: 0.75em; color: var(--muted); }
.ph-res .pts { font-size: 2.6em; font-weight: 800; letter-spacing: -0.05em; color: #ffd166; line-height: 1; counter-reset: hn var(--hn); }
.ph-res .pts em { font-style: normal; } .ph-res .pts em::before { content: "+" counter(hn); }
.meter { width: 100%; display: grid; gap: 0.3em; margin-top: 0.4em; }
.meter i { display: block; height: 0.7em; border-radius: 99px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.meter u { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--brand), #ffd166); border-radius: inherit; }
.meter small { font-size: 0.72em; color: var(--text-2); }
.unlock { font-size: 0.78em; font-weight: 700; color: #4ade80; background: rgba(34, 197, 94, 0.16); border: 1px solid rgba(34, 197, 94, 0.5); border-radius: 99px; padding: 0.35em 1em; }
.coins { position: absolute; inset: 0; pointer-events: none; display: block; }
.coins span { position: absolute; left: 55%; top: 58%; font-size: 2em; opacity: 0; }

/* Escena 3: la tienda */
.cafe { position: absolute; inset: 0; opacity: 0.95; }
.cafe .aw { position: absolute; left: 3em; right: 3em; top: 4.4em; height: 3.6em; background: repeating-linear-gradient(90deg, #fff 0 4em, #ffd166 4em 8em); border-radius: 1em 1em 0 0; -webkit-mask: radial-gradient(circle at 2em 100%, transparent 1.95em, #000 2em) 0 0 / 4em 100%; mask: radial-gradient(circle at 2em 100%, transparent 1.95em, #000 2em) 0 0 / 4em 100%; opacity: 0.9; }
.cafe .sign { position: absolute; left: 50%; top: 8.6em; translate: -50% 0; background: #2a1148; color: #ffd166; border: 0.2em solid #ffd166; border-radius: 0.7em; padding: 0.3em 1.6em; font-weight: 700; letter-spacing: 0.14em; font-size: 1.05em; white-space: nowrap; }
.cafe .win { position: absolute; left: 5em; right: 5em; top: 11.8em; height: 8.4em; border-radius: 1em; background: linear-gradient(180deg, rgba(255, 242, 214, 0.9), rgba(255, 201, 138, 0.9)); box-shadow: inset 0 0 0 0.3em #2a1148; display: flex; justify-content: space-around; align-items: flex-end; padding: 0 2em 1em; font-size: 2.6em; }
.cafe .ctr { position: absolute; left: 1.2em; right: 1.2em; bottom: 0; height: 6.8em; background: linear-gradient(180deg, #4a2370, #2a1148); border-radius: 1.4em 1.4em 0 0; border-top: 0.5em solid #6d3d9e; }
.cafe .cup { position: absolute; left: 62%; top: -2.4em; font-size: 3em; }
.act.a3 .cap, .act.a3 .hw-phone, .act.a3 .ana { position: relative; z-index: 2; }
.act.a3 .cap b { text-shadow: 0 0.1em 0.4em rgba(0, 0, 0, 0.5); }
.hw-phone.hwt { align-items: center; justify-content: center; gap: 0.7em; background: #fff; color: #0b101c; border-color: #cfc3ff; height: 24em; }
.hw-phone.hwt::before { background: #cfc3ff; }
.tk-top { display: flex; justify-content: space-between; width: 100%; font-size: 0.7em; padding-top: 0.8em; }
.tk-top i { font-style: normal; font-weight: 700; letter-spacing: 0.08em; } .tk-top b { color: #7a52ff; }
.tk-prize { display: grid; justify-items: center; gap: 0.2em; text-align: center; }
.tk-prize span { font-size: 3em; line-height: 1; } .tk-prize strong { font-size: 1.5em; letter-spacing: -0.04em; } .tk-prize small { font-size: 0.7em; color: #5b6578; }
.hw-phone.hwt .qr { width: 8em; height: 8em; }
.hw-phone.hwt .qr .scan { opacity: 0.9; }
.tk-ok { font-size: 0.8em; font-weight: 700; color: #fff; background: #22c55e; border-radius: 99px; padding: 0.45em 1.2em; opacity: 0; }
.ana { justify-self: start; position: relative; width: 13.5em; height: 15.4em; }
.ana-svg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 1em 1.4em rgba(0, 0, 0, 0.4)); }
.enjoy { position: absolute; left: 50%; top: -1em; translate: -50% 0; white-space: nowrap; background: #ffd166; color: #3b2a00; font-weight: 700; font-size: 1.15em; border-radius: 99px; padding: 0.4em 1.1em; opacity: 0; box-shadow: 0 0.6em 1.4em rgba(0, 0, 0, 0.4); }
.confetti { position: absolute; inset: 0; pointer-events: none; z-index: 4; }
.confetti i { position: absolute; top: 40%; width: 0.7em; height: 1.1em; border-radius: 0.15em; opacity: 0; }
.confetti i:nth-child(1) { left: 56%; background: #ffd166; } .confetti i:nth-child(2) { left: 60%; background: #f0508f; } .confetti i:nth-child(3) { left: 64%; background: #22c55e; }
.confetti i:nth-child(4) { left: 68%; background: #0ea5e9; } .confetti i:nth-child(5) { left: 72%; background: #bda8ff; } .confetti i:nth-child(6) { left: 76%; background: #ffd166; }
.confetti i:nth-child(7) { left: 80%; background: #f0508f; } .confetti i:nth-child(8) { left: 84%; background: #22c55e; } .confetti i:nth-child(9) { left: 52%; background: #0ea5e9; } .confetti i:nth-child(10) { left: 88%; background: #bda8ff; }

/* Tarjetas de los 3 pasos */
.hw-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.6vw, 20px); }
.hc { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 28px 26px 26px; display: grid; gap: 8px; align-content: start; transition: border-color 0.3s; }
.hc i { font-style: normal; font-size: 2.4rem; line-height: 1; width: 3.6rem; height: 3.6rem; display: grid; place-items: center; border-radius: 18px; background: rgba(145, 110, 255, 0.18); margin-bottom: 8px; }
.hc .n { position: absolute; right: 24px; top: 22px; color: var(--muted); font-weight: 500; font-variant-numeric: tabular-nums; }
.hc h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
.hc p { font-size: 1rem; color: var(--text-2); }
.how-cta { display: grid; gap: 22px; justify-items: start; }

/* Móvil: escena vertical */
@container (max-width: 700px) {
  .hw { font-size: calc(100cqw / 26); aspect-ratio: 4 / 5.6; border-radius: 1.6em; }
  .hw-top { left: 1em; right: 1em; top: 1em; gap: 0.4em; font-size: 0.72em; flex-wrap: wrap; }
  .act { grid-template-columns: 1fr; grid-template-rows: auto auto; align-content: center; justify-items: center; gap: 1em; padding: 4.2em 1.2em 1.6em; }
  .act .cap { justify-self: center; text-align: center; max-width: 18em; gap: 0.3em; }
  .act .cap b { font-size: 1.9em; }
  .act .cap p { font-size: 0.95em; }
  .act .side { display: none; }
  .act .coins { display: block; }
  .hw-phone { font-size: 0.92em; width: 12.6em; height: 21em; }
  .hw-phone.hwt { height: 20.5em; }
  .act.a3 { padding-top: 3.8em; }
  .ana { position: absolute; right: 0.2em; bottom: 0; width: 8.4em; height: 9.6em; justify-self: auto; }
  .ana-svg { opacity: 0.98; }
  .enjoy { top: -2.2em; font-size: 0.95em; }
  .cafe .win { top: 14em; left: 2em; right: 2em; height: 5em; font-size: 1.6em; }
  .cafe .sign { top: 10em; font-size: 0.8em; }
  .cafe .aw { top: 5em; left: 1em; right: 1em; }
  .cafe .ctr { height: 4.6em; }
  .cafe .cup { font-size: 2em; top: -1.6em; }
  .hand { left: 66%; }
}
@media (max-width: 760px) { .hw-steps { grid-template-columns: 1fr; } .hc { padding: 22px 22px 20px; } }

/* Sin animaciones: se muestra el último fotograma (canje en la tienda) */
.act.a3 { opacity: 1; }
.tk-ok, .enjoy { opacity: 1; }
.hw-top .p3 { background: var(--brand); color: #fff; }
.hw-bar u { transform: scaleX(1); }

@media (prefers-reduced-motion: no-preference) {
  .act.a3 { opacity: 0; }
  .tk-ok, .enjoy { opacity: 0; }
  .hw-top .p3 { background: rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.55); }
  .hw-bar u { animation: hw-bar 14s linear infinite; }
  .a1 { animation: hw-a1 14s linear infinite; }
  .a2 { animation: hw-a2 14s linear infinite; }
  .a3 { animation: hw-a3 14s linear infinite; }
  .hw-top .p1 { animation: hw-p1 14s linear infinite; }
  .hw-top .p2 { animation: hw-p2 14s linear infinite; }
  .hw-top .p3 { animation: hw-p3 14s linear infinite; }
  .hc.c1 { animation: hw-c1 14s linear infinite; }
  .hc.c2 { animation: hw-c2 14s linear infinite; }
  .hc.c3 { animation: hw-c3 14s linear infinite; }

  /* Acto 1: responde */
  .a1 .hand { animation: hw-hand 14s ease-in-out infinite; }
  .a1 .ripple { animation: hw-ripple 14s ease-out infinite; }
  .a1 .ph-opts .right { animation: hw-right 14s linear infinite; }
  .a1 .ph-opts .right em { animation: hw-check 14s linear infinite; }
  .a1 .gain { animation: hw-gain 14s ease-out infinite; }
  .a1 .dots li:nth-child(3) { animation: hw-d3 14s linear infinite; }
  .a1 .dots li:nth-child(4) { animation: hw-d4 14s linear infinite; }
  .a1 .dots li:nth-child(5) { animation: hw-d5 14s linear infinite; }
  .a1 .ph-prog u { animation: hw-prog 14s linear infinite; }
  /* Acto 2: suma puntos */
  .a2 .pts { animation: hw-n 14s linear infinite; }
  .a2 .meter u { animation: hw-fill 14s ease-out infinite; }
  .a2 .star { animation: hw-pulse 1s ease-in-out infinite; }
  .a2 .unlock { animation: hw-unlock 14s linear infinite; }
  .a2 .coins span { animation: hw-coin 14s ease-in infinite; }
  .a2 .coins span:nth-child(2) { animation-delay: 0.12s; } .a2 .coins span:nth-child(3) { animation-delay: 0.24s; }
  .a2 .coins span:nth-child(4) { animation-delay: 0.36s; } .a2 .coins span:nth-child(5) { animation-delay: 0.48s; }
  /* Acto 3: canjea */
  .a3 .ana { animation: hw-ana 14s ease-out infinite; }
  .a3 .qr .scan { animation: hw-scan 14s linear infinite; }
  .a3 .tk-ok { animation: hw-ok 14s linear infinite; }
  .a3 .cafe .cup { animation: hw-cup 14s ease-in-out infinite; }
  .a3 .enjoy { animation: hw-enjoy 14s ease-out infinite; }
  .a3 .confetti i { animation: hw-conf 14s ease-out infinite; }
  .a3 .confetti i:nth-child(2n) { animation-delay: 0.1s; } .a3 .confetti i:nth-child(3n) { animation-delay: 0.2s; }
  .a3 .ana-cup .steam, .a3 .steam { animation: hw-steam 1.6s ease-in-out infinite; }

  @keyframes hw-bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  @keyframes hw-a1 { 0%, 29% { opacity: 1; } 32%, 97% { opacity: 0; } 100% { opacity: 1; } }
  @keyframes hw-a2 { 0%, 31% { opacity: 0; } 34%, 63% { opacity: 1; } 66%, 100% { opacity: 0; } }
  @keyframes hw-a3 { 0%, 65% { opacity: 0; } 68%, 97% { opacity: 1; } 100% { opacity: 0; } }
  @keyframes hw-p1 { 0%, 31% { background: var(--brand); color: #fff; } 34%, 97% { background: rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.55); } 100% { background: var(--brand); color: #fff; } }
  @keyframes hw-p2 { 0%, 31% { background: rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.55); } 34%, 64% { background: var(--brand); color: #fff; } 67%, 100% { background: rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.55); } }
  @keyframes hw-p3 { 0%, 65% { background: rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.55); } 68%, 97% { background: #22c55e; color: #fff; } 100% { background: rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.55); } }
  @keyframes hw-c1 { 0%, 31% { border-color: var(--brand-light); box-shadow: 0 0 2.2em -0.6em rgba(145, 110, 255, 0.9); } 34%, 97% { border-color: var(--line); box-shadow: none; } 100% { border-color: var(--brand-light); box-shadow: 0 0 2.2em -0.6em rgba(145, 110, 255, 0.9); } }
  @keyframes hw-c2 { 0%, 31% { border-color: var(--line); box-shadow: none; } 34%, 64% { border-color: var(--brand-light); box-shadow: 0 0 2.2em -0.6em rgba(145, 110, 255, 0.9); } 67%, 100% { border-color: var(--line); box-shadow: none; } }
  @keyframes hw-c3 { 0%, 65% { border-color: var(--line); box-shadow: none; } 68%, 97% { border-color: #22c55e; box-shadow: 0 0 2.2em -0.6em rgba(34, 197, 94, 0.8); } 100% { border-color: var(--line); box-shadow: none; } }

  @keyframes hw-hand { 0%, 4% { left: 74%; top: 118%; opacity: 0; } 8% { opacity: 1; } 13% { left: 58%; top: 76%; scale: 1; } 14.5% { left: 58%; top: 76%; scale: 0.86; } 16% { left: 58%; top: 76%; scale: 1; } 24% { left: 60%; top: 82%; opacity: 1; } 28%, 100% { left: 74%; top: 118%; opacity: 0; } }
  @keyframes hw-ripple { 0%, 14% { opacity: 0; transform: scale(0.3); } 15% { opacity: 0.95; transform: scale(0.4); } 21%, 100% { opacity: 0; transform: scale(2.2); } }
  @keyframes hw-right { 0%, 14% { background: #1d2940; border-color: transparent; color: var(--text-2); } 16%, 30% { background: rgba(34, 197, 94, 0.26); border-color: #22c55e; color: #fff; } 33%, 100% { background: #1d2940; border-color: transparent; color: var(--text-2); } }
  @keyframes hw-check { 0%, 15% { opacity: 0; transform: scale(0.3); } 18%, 30% { opacity: 1; transform: scale(1); } 33%, 100% { opacity: 0; } }
  @keyframes hw-gain { 0%, 15% { opacity: 0; transform: translateY(0.8em) scale(0.8); } 18% { opacity: 1; transform: scale(1.25); } 22%, 27% { opacity: 1; transform: translateY(-0.8em) scale(1); } 31%, 100% { opacity: 0; transform: translateY(-1.6em); } }
  @keyframes hw-d3 { 0%, 16% { background: transparent; border-color: rgba(255, 255, 255, 0.35); } 18%, 100% { background: #22c55e; border-color: #22c55e; } }
  @keyframes hw-d4 { 0%, 21% { background: transparent; border-color: rgba(255, 255, 255, 0.35); } 23%, 100% { background: #22c55e; border-color: #22c55e; } }
  @keyframes hw-d5 { 0%, 25% { background: transparent; border-color: rgba(255, 255, 255, 0.35); } 27%, 100% { background: #22c55e; border-color: #22c55e; } }
  @keyframes hw-prog { 0%, 15% { width: 40%; } 19%, 100% { width: 60%; } }
  @keyframes hw-n { 0%, 37% { --hn: 0; } 50%, 100% { --hn: 120; } }
  @keyframes hw-fill { 0%, 37% { width: 0; } 50%, 100% { width: 100%; } }
  @keyframes hw-pulse { 0%, 100% { transform: scale(1) rotate(0); } 50% { transform: scale(1.14) rotate(6deg); } }
  @keyframes hw-unlock { 0%, 50% { opacity: 0; transform: scale(0.6); } 54%, 63% { opacity: 1; transform: scale(1); } 66%, 100% { opacity: 0; } }
  @keyframes hw-coin { 0%, 36% { opacity: 0; transform: translate(0, 0) scale(0.6); } 40% { opacity: 1; } 49% { opacity: 1; transform: translate(-7em, -6em) scale(1); } 52%, 100% { opacity: 0; transform: translate(-7em, -6em) scale(0.4); } }
  @keyframes hw-ana { 0%, 67% { transform: translateX(3em); opacity: 0; } 72%, 97% { transform: none; opacity: 1; } 100% { opacity: 0; } }
  @keyframes hw-scan { 0%, 70% { transform: translateY(0); opacity: 0; } 71% { opacity: 0.95; } 76% { transform: translateY(10.4px); opacity: 0.95; } 77%, 100% { opacity: 0; } }
  @keyframes hw-ok { 0%, 77% { opacity: 0; transform: scale(0.6); } 80%, 97% { opacity: 1; transform: scale(1); } 100% { opacity: 0; } }
  @keyframes hw-cup { 0%, 80% { transform: translateX(0) scale(1); opacity: 1; } 87%, 97% { transform: translateX(-9em) translateY(1em) scale(1.25); opacity: 1; } 100% { opacity: 0; } }
  @keyframes hw-enjoy { 0%, 86% { opacity: 0; transform: translateY(0.6em) scale(0.8); } 90%, 97% { opacity: 1; transform: none; } 100% { opacity: 0; } }
  @keyframes hw-conf { 0%, 85% { opacity: 0; transform: translateY(0) rotate(0); } 87% { opacity: 1; } 99% { opacity: 0.9; transform: translateY(14em) rotate(540deg); } 100% { opacity: 0; } }
  @keyframes hw-steam { 0%, 100% { transform: translateY(0); opacity: 0.4; } 50% { transform: translateY(-3px); opacity: 0.9; } }
}
.how-wrap .how-head { grid-area: auto; align-self: start; }
.act .cap { position: static; left: auto; right: auto; bottom: auto; margin: 0; text-align: left; font-size: inherit; text-shadow: none; }
@container (max-width: 700px) { .act .cap { text-align: center; } }

.hw-phone.hwt { height: 25.4em; }
.gain { right: -2.6em; top: 6.4em; }

/* Ajustes de la tienda en la escena 3 */
.cafe .win { font-size: 1em; }
.cafe .win span { font-size: 2.8em; line-height: 1; filter: drop-shadow(0 0.15em 0 rgba(0, 0, 0, 0.18)); }
.cafe .sign { left: 27%; top: 8.4em; }
.cafe .cup { left: 74%; top: -2.8em; font-size: 3em; }
.enjoy { top: -2.6em; }
@container (max-width: 700px) { .cafe .sign { left: 50%; } .cafe .win span { font-size: 1.8em; } }
@media (prefers-reduced-motion: no-preference) {
  .a3 .cafe .cup { animation: hw-cup2 14s ease-in-out infinite; }
  @keyframes hw-cup2 { 0%, 78% { transform: none; opacity: 1; } 85%, 97% { transform: translate(5em, -3em) scale(0.5); opacity: 0; } 100% { opacity: 0; } }
}
.cafe .win { background: linear-gradient(180deg, rgba(255, 236, 200, 0.2), rgba(255, 170, 90, 0.3)); box-shadow: inset 0 0 0 0.3em rgba(42, 17, 72, 0.9), inset 0 0 3em rgba(255, 190, 120, 0.25); }
.cafe .win span { opacity: 0.55; }

/* Móvil: tamaños finales de la escena (van al final para no ser pisados) */
@container (max-width: 700px) {
  .hw-phone { height: 20.6em; width: 12.4em; }
  .hw-phone.hwt { height: 19em; }
  .gain { right: -0.6em; top: 6em; }
  .act.a3 { padding-top: 3.8em; gap: 0.6em; }
  .act.a3 .cap b { font-size: 1.6em; }
  .act.a3 .cap p { display: none; }
  .ana { right: 0.4em; bottom: 0; width: 7.4em; height: 8.4em; }
  .enjoy { top: -2.6em; left: auto; right: 0; translate: 0 0; font-size: 0.8em; }
  .cafe .aw { top: 4.2em; height: 2.6em; }
  .cafe .sign { top: 7.2em; font-size: 0.7em; }
  .cafe .win { top: 10.2em; height: 4em; }
  .cafe .cup { display: none; }
}
@container (max-width: 700px) { .cafe .aw, .cafe .sign, .cafe .win { display: none; } .act.a3 { padding-top: 4.2em; } }

/* =====================================================================
   Comercios: video de 14 s con FOMO (¿tu local o la competencia?)
   ===================================================================== */
.xp-merch .sc { opacity: 0; }
.xp-merch .mm5 { opacity: 1; }
.coupon { display: flex; align-items: stretch; margin-top: 0.4em; background: #fff; color: #0b101c; border-radius: 0.9em; overflow: hidden; box-shadow: 0 0.6em 1.6em rgba(0, 0, 0, 0.4); position: relative; }
.coupon i { font-style: normal; font-size: 2.6em; line-height: 1; display: grid; place-items: center; padding: 0.35em 0.6em; background: linear-gradient(135deg, #f0508f, #916eff); border-right: 0.16em dashed rgba(11, 16, 28, 0.35); }
.coupon div { display: grid; text-align: left; padding: 0.55em 1em 0.55em 0.8em; align-content: center; }
.coupon strong { font-size: 2.2em; letter-spacing: -0.05em; line-height: 1; color: #d6247a; }
.coupon small { font-size: 0.78em; color: #5b6578; font-weight: 600; }
.coupon::before, .coupon::after { content: ""; position: absolute; left: 3.6em; width: 1.1em; height: 1.1em; border-radius: 50%; background: #2a1558; }
.coupon::before { top: -0.55em; } .coupon::after { bottom: -0.55em; }
.mm4 { gap: 0.3em; }
.mm4 > b { font-size: 2.3em; }
.mm4 .sus { color: rgba(255, 255, 255, 0.8); max-width: 20em; font-size: 0.95em; }
.cmp2 { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 0.6em; margin-top: 0.5em; width: min(100%, 27em); }
.cmp2 > div { border-radius: 1em; padding: 0.7em 0.5em; display: grid; justify-items: center; gap: 0.12em; position: relative; }
.cmp2 i { font-style: normal; font-size: 2.2em; line-height: 1; }
.cmp2 span { font-weight: 800; letter-spacing: 0.05em; font-size: 0.82em; }
.cmp2 small { font-size: 0.78em; font-weight: 600; }
.cmp2 .you { background: rgba(255, 255, 255, 0.08); border: 1px dashed rgba(255, 255, 255, 0.4); }
.cmp2 .you .s-off, .cmp2 .you .s-on { grid-area: 4 / 1; }
.cmp2 .you .s-on { opacity: 0; }
.cmp2 .them { background: #22c55e; color: #fff; box-shadow: 0 0 1.8em rgba(34, 197, 94, 0.7); }
.cmp2 .them em { font-style: normal; font-size: 0.74em; font-weight: 700; background: rgba(0, 0, 0, 0.28); border-radius: 99px; padding: 0.15em 0.7em; margin-top: 0.2em; }
.walker2 { font-size: 2em; }
.mm4 .alert { position: absolute; top: 3.3em; left: 50%; translate: -50% 0; background: #ef4444; color: #fff; font-weight: 700; font-size: 0.9em; border-radius: 99px; padding: 0.35em 1.2em; box-shadow: 0 0 1.6em rgba(239, 68, 68, 0.8); white-space: nowrap; opacity: 0; z-index: 4; }
.mm4 .won { position: absolute; bottom: 1.5em; left: 50%; translate: -50% 0; background: #22c55e; color: #fff; font-weight: 700; font-size: 0.95em; border-radius: 99px; padding: 0.4em 1.3em; white-space: nowrap; opacity: 0; }
.mm4::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 70% at 50% 50%, transparent 40%, rgba(239, 68, 68, 0.5)); opacity: 0; pointer-events: none; }

@media (prefers-reduced-motion: no-preference) {
  .xp-merch .mm5 { opacity: 0; }
  .xp-merch .mm1 { animation: xm1 14s linear infinite; }
  .xp-merch .mm2 { animation: xm2 14s linear infinite; }
  .xp-merch .mm3 { animation: xm3 14s linear infinite; }
  .xp-merch .mm4 { animation: xm4 14s linear infinite; }
  .xp-merch .mm5 { animation: xm5 14s linear infinite; }
  .xp-merch .c1 { animation: xmc1 14s linear infinite; }
  .xp-merch .c2 { animation: xmc2 14s linear infinite; }
  .xp-merch .c3 { animation: xmc3 14s linear infinite; }
  .xp-merch .xp-bar u { animation: xp-bar 14s linear infinite; }
  .xp-merch .mm1 .big, .xp-merch .mm3 .big { animation: xp-pulse 1.1s ease-in-out infinite; }
  .xp-merch .mm2 .coupon { animation: xm-coupon 14s ease-out infinite; }
  .xp-merch .mm5 .big { animation: xp-hop 0.9s ease-in-out infinite; }
  /* FOMO */
  .xp-merch .mm4::before { animation: xm-vig 14s ease-in-out infinite; }
  .xp-merch .mm4 .alert { animation: xm-alert 14s linear infinite; }
  .xp-merch .mm4 > b { animation: xm-shake 14s linear infinite; }
  .xp-merch .mm4 .you { animation: xm-you 14s linear infinite; }
  .xp-merch .mm4 .you .s-off { animation: xm-soff 14s linear infinite; }
  .xp-merch .mm4 .you .s-on { animation: xm-son 14s linear infinite; }
  .xp-merch .mm4 .them { animation: xm-them 14s linear infinite; }
  .xp-merch .mm4 .walker2 { animation: xm-walk 14s ease-in-out infinite; }
  .xp-merch .mm4 .won { animation: xm-won 14s linear infinite; }

  @keyframes xm1 { 0%, 16% { opacity: 1; } 19%, 97% { opacity: 0; } 100% { opacity: 1; } }
  @keyframes xm2 { 0%, 18% { opacity: 0; } 21%, 34% { opacity: 1; } 37%, 100% { opacity: 0; } }
  @keyframes xm3 { 0%, 36% { opacity: 0; } 39%, 49% { opacity: 1; } 52%, 100% { opacity: 0; } }
  @keyframes xm4 { 0%, 51% { opacity: 0; } 54%, 77% { opacity: 1; } 80%, 100% { opacity: 0; } }
  @keyframes xm5 { 0%, 79% { opacity: 0; } 82%, 97% { opacity: 1; } 100% { opacity: 0; } }
  @keyframes xmc1 { 0%, 36% { background: var(--brand); color: #fff; } 39%, 97% { background: rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.6); } 100% { background: var(--brand); color: #fff; } }
  @keyframes xmc2 { 0%, 37% { background: rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.6); } 40%, 78% { background: var(--brand); color: #fff; } 81%, 100% { background: rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.6); } }
  @keyframes xmc3 { 0%, 79% { background: rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.6); } 82%, 97% { background: #22c55e; color: #fff; } 100% { background: rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.6); } }
  @keyframes xm-coupon { 0%, 20% { transform: translateY(1em) rotate(-4deg) scale(0.9); } 25%, 100% { transform: rotate(-2deg) scale(1); } }
  @keyframes xm-vig { 0%, 54% { opacity: 0; } 58%, 62% { opacity: 1; } 66% { opacity: 0.35; } 70%, 100% { opacity: 0; } }
  @keyframes xm-alert { 0%, 57% { opacity: 0; transform: scale(0.7); } 60%, 63% { opacity: 1; transform: scale(1.08); } 65% { opacity: 1; transform: scale(1); } 67%, 100% { opacity: 0; } }
  @keyframes xm-shake { 0%, 57% { transform: none; } 58% { transform: translateX(-0.12em); } 59% { transform: translateX(0.12em); } 60% { transform: translateX(-0.1em); } 61%, 100% { transform: none; } }
  @keyframes xm-you { 0%, 66% { background: rgba(255, 255, 255, 0.08); border: 1px dashed rgba(255, 255, 255, 0.4); box-shadow: none; color: #fff; } 69%, 100% { background: #22c55e; border: 1px solid #22c55e; box-shadow: 0 0 1.8em rgba(34, 197, 94, 0.75); color: #fff; } }
  @keyframes xm-soff { 0%, 66% { opacity: 1; } 68%, 100% { opacity: 0; } }
  @keyframes xm-son { 0%, 66% { opacity: 0; } 68%, 100% { opacity: 1; } }
  @keyframes xm-them { 0%, 66% { opacity: 1; transform: scale(1); } 71%, 100% { opacity: 0.45; transform: scale(0.95); box-shadow: none; } }
  @keyframes xm-walk { 0%, 54% { transform: translateX(0); } 62% { transform: translateX(2.3em); } 64% { transform: translateX(2.3em) rotate(8deg); } 68% { transform: translateX(2.3em); } 77%, 100% { transform: translateX(-2.3em) scaleX(-1); } }
  @keyframes xm-won { 0%, 70% { opacity: 0; transform: scale(0.6); } 73%, 77% { opacity: 1; transform: scale(1); } 79%, 100% { opacity: 0; } }
}
.xp-merch .mm4 .alert { top: auto; bottom: 1.5em; }


/* ---------- Páginas legales ---------- */
.legal { padding: clamp(32px, 6vh, 64px) 0 clamp(56px, 9vh, 110px); }
.legal-wrap { max-width: 780px; }
.legal article { scroll-margin-top: 90px; display: block; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: -0.05em; margin-bottom: 8px; }
.legal-date { color: var(--muted); font-size: 0.92rem; margin-bottom: 28px; }
.legal-lng { margin: 0 0 14px; font-size: 0.9rem; }
.legal-lng a { color: var(--brand-light); text-decoration: none; }
.legal-lng a:hover { color: #fff; }
.legal h2 { font-size: clamp(1.25rem, 2.2vw, 1.55rem); letter-spacing: -0.03em; line-height: 1.2; margin: 34px 0 10px; text-transform: none; }
.legal h3 { font-size: 1.1rem; margin: 20px 0 6px; letter-spacing: -0.02em; }
.legal p, .legal li { max-width: none; color: var(--text-2); font-size: 1rem; line-height: 1.65; }
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 14px; padding-left: 1.2em; display: grid; gap: 6px; }
.legal a { color: var(--brand-light); text-underline-offset: 3px; }
.legal a:hover { color: #fff; }
.legal strong { color: #fff; font-weight: 600; }
.legal code { background: rgba(255, 255, 255, 0.08); border-radius: 6px; padding: 0.1em 0.45em; font-size: 0.92em; }
.legal-sep { border: 0; border-top: 1px solid var(--line); margin: clamp(48px, 8vh, 96px) 0; }
.legal-lang { text-decoration: none; font-size: 0.9rem; color: var(--text-2); padding: 6px 10px; border-radius: 8px; }
.legal-lang:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
@media (max-width: 520px) { .legal-lang { display: none; } }
html:has(.legal-page) { scroll-behavior: smooth; }
.footer-legal { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.footer-legal nav { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 0.85rem; }
.footer .wrap { row-gap: 10px; }

.demo-legal { margin: 0; max-width: none; font-size: 0.8rem; color: var(--muted); }
.demo-legal a { color: var(--brand-light); }


/* ---------- Banner de cookies ---------- */
.ck { position: fixed; z-index: 60; left: 16px; bottom: 16px; width: min(560px, calc(100vw - 32px)); background: #151e30; color: #fff; border: 1px solid rgba(189, 168, 255, 0.35); border-radius: 22px; padding: 20px 22px 18px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.8); display: grid; gap: 12px; font-size: 0.92rem; line-height: 1.5; }
.ck-t { font-size: 1.1rem; font-weight: 600; letter-spacing: -0.02em; }
.ck-p { margin: 0; max-width: none; color: var(--text-2); font-size: 0.9rem; }
.ck-p a { color: var(--brand-light); }
.ck-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.ck-btns .btn { flex: 1 1 160px; height: 44px; font-size: 0.92rem; }
.ck-link { justify-self: start; background: none; border: 0; padding: 4px 0; color: var(--brand-light); font: 500 0.9rem "Poppins", sans-serif; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ck-link:hover { color: #fff; }
.ck-rows { display: grid; gap: 4px; max-height: min(46vh, 340px); overflow: auto; }
.ck-row { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); cursor: pointer; position: relative; }
.ck-row b { display: block; font-weight: 600; font-size: 0.95rem; }
.ck-row small { display: block; color: var(--muted); font-size: 0.8rem; line-height: 1.4; margin-top: 2px; }
.ck-row input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; margin: 0; }
.ck-sw { width: 44px; height: 26px; border-radius: 99px; background: #2a3547; position: relative; transition: background 0.2s; flex: none; }
.ck-sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform 0.2s var(--ease); }
.ck-row input:checked + .ck-sw { background: var(--brand); }
.ck-row input:checked + .ck-sw::after { transform: translateX(18px); }
.ck-row input:disabled + .ck-sw { opacity: 0.55; }
.ck-row input:focus-visible + .ck-sw { outline: 2px solid var(--brand-light); outline-offset: 2px; }
@media (max-width: 520px) { .ck { left: 8px; right: 8px; bottom: 8px; width: auto; padding: 16px; } .ck-btns .btn { flex: 1 1 100%; } }
.legal-table { width: 100%; border-collapse: collapse; margin: 6px 0 16px; font-size: 0.9rem; display: block; overflow-x: auto; }
.legal-table th, .legal-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--text-2); }
.legal-table th { color: #fff; font-weight: 600; white-space: nowrap; }
.legal-table code { white-space: nowrap; }


/* ---------- Móvil v4: pantalla actual de la app (rueda neón, racha con X, menú flotante) ---------- */
.ps-brand b { background: none; border: 0; padding: 0; font-size: 0.95em; letter-spacing: -0.02em; color: var(--brand-light); font-weight: 700; }
.ps-icons { gap: 0.8em; }
.d-x { width: 1.7em; height: 1.7em; display: grid; place-items: center; }
.d-x svg { width: 1.3em; height: 1.3em; }
.ps-streak2 .days { gap: 0.55em; }
.ps-streak2 .days .d-off { font-size: 0.7em; }
.ps-wcard { position: relative; background: radial-gradient(80% 50% at 15% 30%, rgba(34, 211, 238, 0.22), transparent 70%), radial-gradient(80% 55% at 90% 70%, rgba(236, 72, 153, 0.24), transparent 70%), linear-gradient(180deg, #121a3a, #0b1022 85%); border: 1px solid rgba(99, 102, 241, 0.6); box-shadow: 0 0 2em -0.5em rgba(99, 102, 241, 0.7), inset 0 0 2em rgba(56, 189, 248, 0.08); }
.cards-sw { font-size: 0.64em; color: var(--text-2); opacity: 0.85; }
.wc-head .cnt-wrap { display: none; }
.ps-wheel { width: 94%; }
.ps-wheel .wheel-svg { filter: drop-shadow(0 0 1.2em rgba(124, 92, 255, 0.7)) drop-shadow(0 0 0.6em rgba(56, 189, 248, 0.35)); }
.ps-pointer { top: -0.7em; width: 1.5em; height: 1.9em; border: 0; background: #fff; clip-path: polygon(8% 0, 92% 0, 50% 100%); translate: -50% 0; filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.7)); }
.ps-pointer::after { content: ""; position: absolute; left: 50%; top: 0.35em; width: 0.45em; height: 0.45em; border-radius: 50%; background: #22d3ee; translate: -50% 0; }
.cfx { position: absolute; inset: 0; pointer-events: none; }
.cfx i { position: absolute; width: 0.28em; height: 1.1em; border-radius: 99px; opacity: 0.85; }
.cfx i:nth-child(1) { left: 12%; top: 12%; background: #f472b6; rotate: 35deg; }
.cfx i:nth-child(2) { right: 8%; top: 22%; background: #22d3ee; rotate: -45deg; }
.cfx i:nth-child(3) { left: 6%; top: 52%; background: #a78bfa; rotate: -60deg; }
.cfx i:nth-child(4) { right: 6%; top: 60%; background: #34d399; rotate: 50deg; }
.cfx i:nth-child(5) { left: 22%; bottom: 8%; background: #fbbf24; rotate: 20deg; }
.cfx i:nth-child(6) { right: 20%; bottom: 10%; background: #38bdf8; rotate: -30deg; }
.ps-nav { margin: auto 0 0.5em; padding: 0.45em 0.4em 0.55em; border: 1px solid var(--line); border-radius: 1.5em; background: rgba(20, 28, 48, 0.92); }
.ps-nav .on { background: #1d2940; border-radius: 0.9em; padding: 0.3em 0.2em; color: #fff; }
.ps-nav small { font-size: 0.52em; }
.ps-play { top: -1.2em; width: 3.7em; height: 3.7em; box-shadow: 0 0.5em 1.4em rgba(145, 110, 255, 0.7); }
.ps-play b { background: linear-gradient(135deg, #8b6cff, #bda8ff); }
.ps-play::before { background: conic-gradient(from 0deg, transparent 0deg, transparent 170deg, #b9a4ff 320deg, #fff 360deg); }


/* ---------- Miniaturas tipo video de calidad (demo de Empresas, escena 1) ---------- */
.dm-cards { gap: 1em 1.1em; }
.dm-card .dm-thumb.yt { aspect-ratio: 16 / 9; border-radius: 0.9em; position: relative; overflow: hidden; display: block; font-size: 1em; box-shadow: 0 0.5em 1.2em -0.4em rgba(0, 0, 0, 0.6); }
.dm-thumb.yt::before { content: ""; position: absolute; width: 9em; height: 9em; border-radius: 50%; left: -3em; bottom: -5em; background: rgba(255, 255, 255, 0.1); right: auto; }
.dm-thumb.yt::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0.32), transparent 35%, transparent 62%, rgba(0, 0, 0, 0.38)); }
.yt-person { position: absolute; right: -0.2em; bottom: -0.1em; height: 88%; width: auto; z-index: 1; filter: drop-shadow(-0.3em 0.2em 0.5em rgba(0, 0, 0, 0.4)); }
.yt-ov { position: absolute; z-index: 2; left: 0.9em; top: 2.6em; max-width: 56%; font-weight: 800; letter-spacing: -0.03em; line-height: 1.02; font-size: 1.12em; color: #fff; text-shadow: 0 0.08em 0.4em rgba(0, 0, 0, 0.55); text-transform: none; }
.yt-ov em { font-style: normal; color: #d4ff3f; }
.yt-ov.ov-plain em { color: #ffe27a; }
.yt-ov.ov-lime { color: #fff; font-size: 1.2em; }
.yt-ov.ov-poster { left: 50%; top: 50%; translate: -50% -50%; max-width: 90%; text-align: center; text-transform: uppercase; font-weight: 900; font-size: 1.4em; line-height: 0.95; letter-spacing: -0.02em; }
.yt-ov.ov-poster small { display: block; font-size: 0.5em; font-weight: 700; font-style: italic; text-transform: none; letter-spacing: 0; color: #5cff7a; margin: 0.25em 0; text-shadow: none; }
.yt-cat, .yt-src { position: absolute; z-index: 3; top: 0.6em; background: rgba(15, 20, 36, 0.62); backdrop-filter: blur(4px); color: #fff; font-size: 0.66em; font-weight: 600; padding: 0.3em 0.75em; border-radius: 0.6em; border: 1px solid rgba(255, 255, 255, 0.12); white-space: nowrap; }
.yt-cat { left: 0.6em; } .yt-src { right: 0.6em; }
.yt-rec { position: absolute; z-index: 3; left: 0.6em; bottom: 0.7em; background: #ffd166; color: #3b2a00; font-size: 0.62em; font-weight: 700; padding: 0.25em 0.7em; border-radius: 99px; }
.dm-info2 { display: grid; gap: 0.25em; padding: 0 0.1em; }
.dm-card .dm-info2 b { font-size: 0.95em; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; min-height: 0; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dm-card .dm-info2 small { font-size: 0.78em; color: var(--muted); line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dm-card.is-pick .dm-thumb.yt { transition: box-shadow 0.3s; }

.cf-ts { position: absolute; width: 0; height: 0; overflow: hidden; }


/* ---------- Móvil v5: estilo "Seria" de la app (corporativo, sin neón) ---------- */
.phone { rotate: 0deg; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 40px 80px -24px rgba(0, 0, 0, 0.8); }
.phone-screen::before { display: none; }
.ps-streak2, .ps-wcard { background: #182235; border: 1px solid rgba(255, 255, 255, 0.07); box-shadow: none; }
.ps-wcard { overflow: visible; }
.ps-wheel { width: 92%; margin: 0.35em auto 0; }
.ps-wheel .wheel-svg { filter: none; }
.wheel-rot .seg { transition: opacity 0.4s; }
.wheel-rot.has-win .seg:not(.win) { opacity: 0.4; }
.wheel-rot.has-win .lbl { opacity: 0.55; }
.wheel-rot.has-win .lbl.win { opacity: 1; }
.ps-wheel .hub { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 33%; aspect-ratio: 1; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 0.95em; letter-spacing: 0.06em; box-shadow: 0 0 0 0.3em #0a0a10; }
.ps-ptr { position: absolute; top: -4%; left: 50%; translate: -50% 0; width: 1.5em; height: 1.7em; z-index: 3; filter: none; }
.ps-pointer { display: none; }
.cards-sw { opacity: 0.75; }
.reel.topic { border: 1px solid rgba(255, 255, 255, 0.18); background: #101828; box-shadow: none; animation: none; }
.reel.topic::before, .reel.topic::after { display: none; }
.reel.topic .reel-strip span { color: #fff; font-weight: 600; }
.res-btn { background: var(--brand); box-shadow: none; }
.ps-nav { grid-template-columns: repeat(4, 1fr); align-items: center; margin: auto 0 0.4em; padding: 0.35em; border-radius: 1.1em; background: #182235; border: 1px solid rgba(255, 255, 255, 0.1); }
.ps-nav .ps-play { display: none; }
.ps-nav .on { background: rgba(255, 255, 255, 0.08); border-radius: 0.8em; padding: 0.35em 0.2em; }
.ps-streak2 .days .d-star svg { filter: none; }

/* Etiquetas alrededor del móvil: sobrias */
.phone-stage .sticker { rotate: 0deg; background: #182235; color: #fff; border: 1px solid rgba(255, 255, 255, 0.14); box-shadow: 0 0.8em 1.8em rgba(0, 0, 0, 0.5); width: auto; height: auto; border-radius: 0.9em; padding: 0.6em 1em; font-size: 0.95em; font-weight: 600; display: block; }
.phone-stage .st-pts { top: 13%; left: -17%; color: var(--brand-light); font-size: 1.15em; }
.phone-stage .st-mult { top: 44%; right: -15%; }
.phone-stage .st-card { top: 62%; left: -24%; bottom: auto; display: grid; gap: 0.1em; }
.phone-stage .st-card small { color: var(--muted); font-size: 0.7em; font-weight: 500; }
.phone-stage .st-card b { color: #fff; }
@media (max-width: 420px) { .phone-stage .st-pts { left: -8%; } .phone-stage .st-card { left: -10%; } .phone-stage .st-mult { right: -6%; } }

/* Tarjeta Usuarios (Empresas): mismo estilo que Comercios, en tonos azul-turquesa */
.card-people {
  background:
    radial-gradient(420px 300px at 100% 0%, rgba(255, 214, 102, 0.3), transparent 70%),
    linear-gradient(145deg, #2f6bff 0%, #5a37d6 55%, #7a52ff 100%);
}
.card-people .eco-cta { color: #3a2494; }
