/* ==========================================================================
   PizarraTV · Página del producto
   Misma marca que el panel (marfil, tinta, ámbar; Fraunces + Inter) y, dentro de
   los TV de ejemplo, los mismos tres estilos del player.
   ========================================================================== */

:root {
  --bg: #F7F6F3; --paper: #FFFFFF; --sand: #EFEBE3; --sand-2: #E6E1D6;
  --ink: #16140F; --ink-2: #3A362F; --muted: #6F6A61; --faint: #A29D93; --line: #E7E3DB;
  --amber: #F2A541; --amber-2: #D9862A; --amber-ink: #1a1206; --amber-soft: rgba(242, 165, 65, .14);
  --night: #121110; --night-2: #1B1917; --night-3: #26231F;
  --cream: #F4EFE6; --cream-2: rgba(244, 239, 230, .66); --cream-3: rgba(244, 239, 230, .14);
  --ok: #1F9D55;
  --r: 18px; --r-l: 28px;
  --ease: cubic-bezier(.22, 1, .36, 1); --ease-io: cubic-bezier(.65, 0, .35, 1);
  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --shadow: 0 1px 2px rgba(22, 20, 15, .05), 0 18px 40px -22px rgba(22, 20, 15, .25);
  --shadow-lg: 0 40px 90px -40px rgba(22, 20, 15, .45);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
svg[role="img"] { stroke: none; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 8px; }
.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--ink); color: #fff; text-decoration: none; }
.skip:focus { top: 12px; }

h1, h2, h3 { margin: 0; font-weight: 600; }
h1 { font: 600 clamp(44px, 6.2vw, 86px)/.98 var(--display); letter-spacing: -.035em; }
h2 { font: 600 clamp(34px, 4.4vw, 58px)/1.03 var(--display); letter-spacing: -.03em; }
h3 { font-size: 20px; line-height: 1.3; letter-spacing: -.01em; }
h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--amber); white-space: nowrap; }
p { margin: 0; }
:lang(zh) h1, :lang(zh) h2 { letter-spacing: 0; line-height: 1.15; }
:lang(zh) h1 { font-size: clamp(38px, 5vw, 68px); }
/* Los caracteres chinos no tienen cursiva propia: se destacan solo con el color */
:lang(zh) h1 em, :lang(zh) h2 em { font-style: normal; font-weight: 600; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 44px; padding: 0 18px;
  border-radius: 999px; font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--ease), background .2s, box-shadow .25s, color .2s, border-color .2s;
}
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn.lg { height: 56px; padding: 0 28px; font-size: 16.5px; }
.btn.amber { background: var(--amber); color: var(--amber-ink); box-shadow: 0 10px 30px -10px rgba(242, 165, 65, .7), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn.amber:hover { background: #F6B35A; box-shadow: 0 16px 40px -12px rgba(242, 165, 65, .85), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn.dark { background: var(--ink); color: #fff; }
.btn.dark:hover { background: #2b2821; }
.btn.line { border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); }
.btn.line:hover { border-color: var(--ink); }
.btn.ghost { color: var(--ink-2); }
.btn.ghost:hover { background: rgba(22, 20, 15, .06); }
.hero .btn.line, .btn.line.on-dark { background: transparent; border-color: var(--cream-3); color: var(--cream); }
.hero .btn.line:hover, .btn.line.on-dark:hover { border-color: var(--cream); background: rgba(244, 239, 230, .06); }
.btn:active { transform: scale(.97); }

/* ---------- Barra superior ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 60; pointer-events: none; }
.progress i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--amber), #FFD08A); transform-origin: 0 50%; transform: scaleX(0); }
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s, color .3s; color: var(--ink); }
.nav.scrolled { background: rgba(247, 246, 243, .82); -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px); box-shadow: 0 1px 0 var(--line); }
.nav.over-dark { color: var(--cream); }
.nav.over-dark.scrolled { background: rgba(18, 17, 16, .72); box-shadow: 0 1px 0 rgba(244, 239, 230, .08); }
.nav-row { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 600 23px/1 var(--display); letter-spacing: -.02em; text-decoration: none; }
.brand-dot { width: 13px; height: 13px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(242, 165, 65, .2); animation: breathe 3s var(--ease-io) infinite; }
.brand-dot.sm { width: 10px; height: 10px; box-shadow: 0 0 0 3px rgba(242, 165, 65, .2); }
.nav-links { display: flex; gap: 4px; margin-right: auto; }
.nav-links a { position: relative; padding: 8px 12px; border-radius: 999px; font-size: 14.5px; font-weight: 500; text-decoration: none; opacity: .72; transition: opacity .2s, background .2s; }
.nav-links a:hover { opacity: 1; }
.nav-links a.on { opacity: 1; }
.nav-links a.on::after { content: ''; position: absolute; left: 50%; bottom: 1px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--amber); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav.over-dark .btn.ghost { color: var(--cream); }
.nav.over-dark .btn.ghost:hover { background: rgba(244, 239, 230, .08); }

.lang { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: .04em; opacity: .8; }
.lang:hover { opacity: 1; background: rgba(127, 120, 110, .12); }
.lang svg { width: 17px; height: 17px; }
.lang select { position: absolute; inset: 0; width: 100%; opacity: 0; cursor: pointer; font-size: 16px; }
.lang:focus-within { outline: 3px solid var(--amber); outline-offset: 2px; }

.burger { display: none; width: 44px; height: 44px; border-radius: 12px; position: relative; }
.burger i { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease); }
.burger i:first-child { top: 17px; } .burger i:last-child { top: 25px; }
.burger[aria-expanded="true"] i:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] i:last-child { top: 21px; transform: rotate(-45deg); }
.sheet { display: grid; gap: 2px; padding: 8px 24px 24px; background: rgba(247, 246, 243, .97); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); color: var(--ink); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .3); animation: drop .35s var(--ease); }
.sheet a { padding: 14px 4px; font: 600 22px/1.2 var(--display); text-decoration: none; border-bottom: 1px solid var(--line); }
.sheet .sheet-login { border: 0; color: var(--amber-2); }
.sheet .sheet-cta { display: none; margin-top: 8px; border: 0; font: 600 16.5px/1 var(--body); color: var(--amber-ink); }

/* ---------- Portada ---------- */
.hero { position: relative; overflow: hidden; background: var(--night); color: var(--cream); padding: 150px 0 56px; isolation: isolate; }
.hero::before, .final::before { content: ''; position: absolute; inset: 0; background: var(--grain); opacity: .08; mix-blend-mode: overlay; pointer-events: none; z-index: -1; }
.hero-glow { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.hero-glow i { position: absolute; width: 760px; height: 760px; border-radius: 50%; background: radial-gradient(circle, rgba(242, 165, 65, .26), transparent 64%); filter: blur(10px); }
.hero-glow i:nth-child(1) { left: -260px; top: -300px; animation: drift1 24s var(--ease-io) infinite alternate; }
.hero-glow i:nth-child(2) { right: -320px; top: 20%; background: radial-gradient(circle, rgba(242, 165, 65, .18), transparent 64%); animation: drift2 30s var(--ease-io) infinite alternate; }
.hero-glow i:nth-child(3) { left: 30%; bottom: -520px; width: 900px; height: 900px; background: radial-gradient(circle, rgba(255, 122, 89, .12), transparent 64%); animation: drift1 36s var(--ease-io) infinite alternate-reverse; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 64px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; border-radius: 999px; background: rgba(244, 239, 230, .07); box-shadow: inset 0 0 0 1px rgba(244, 239, 230, .1); font-size: 13.5px; font-weight: 500; color: var(--cream-2); margin-bottom: 28px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #4ADE80; box-shadow: 0 0 0 0 rgba(74, 222, 128, .6); animation: live 2s infinite; flex: none; }
.hero h1 { color: var(--cream); }
.lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; color: var(--cream-2); max-width: 34em; margin-top: 26px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.cta-row.center { justify-content: center; }
.hero-note { margin-top: 18px; font-size: 14px; color: rgba(244, 239, 230, .5); }

.hero-stage { position: relative; padding: 0 0 12% 10%; }
.hero-phone { position: absolute; left: 0; bottom: 0; width: 29%; animation: float 7s var(--ease-io) infinite; }
.sync { position: absolute; left: 24%; bottom: 20%; width: 18%; height: 22%; pointer-events: none; }
.sync i { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 16px 4px rgba(242, 165, 65, .7); offset-path: path('M0,100 C40,40 90,20 160,0'); offset-distance: 0%; opacity: 0; }
.sync.go i { animation: travel .7s var(--ease-io) forwards; }
.hero-toast {
  position: absolute; right: 4%; top: -18px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px 9px 10px;
  border-radius: 999px; background: var(--paper); color: var(--ink); font-size: 13.5px; font-weight: 600; box-shadow: var(--shadow-lg);
  opacity: 0; transform: translateY(8px) scale(.96); transition: opacity .35s var(--ease), transform .35s var(--ease); pointer-events: none;
}
.hero-toast.on { opacity: 1; transform: none; }
.hero-toast::before { content: '✓'; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--ok); color: #fff; font-size: 12px; }

.brands { display: flex; align-items: center; gap: 28px; margin-top: 88px; padding-top: 28px; border-top: 1px solid rgba(244, 239, 230, .08); }
.brands-label { font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: rgba(244, 239, 230, .45); white-space: nowrap; }
.brands ul { display: flex; flex-wrap: wrap; gap: 10px 34px; margin: 0; padding: 0; list-style: none; }
.brands li { font-weight: 700; font-size: 17px; letter-spacing: -.01em; color: rgba(244, 239, 230, .6); transition: color .2s; }
.brands li:hover { color: var(--cream); }

/* ---------- TV y celular de ejemplo ---------- */
.tv { position: relative; }
.tv-screen { position: relative; aspect-ratio: 16 / 9; border: 9px solid #0A0908; border-radius: 16px; background: #000; overflow: hidden; box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .07), inset 0 0 0 1px rgba(255, 255, 255, .04); }
.tv-screen::after { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(255, 255, 255, .07), transparent 40%); pointer-events: none; z-index: 5; }
.tv-canvas { position: absolute; left: 0; top: 0; width: 1280px; height: 720px; transform-origin: 0 0; transform: scale(var(--s, .4)); }
.tv-stand { width: 22%; height: 16px; margin: 0 auto; background: linear-gradient(#1c1a18, #0a0908); clip-path: polygon(12% 0, 88% 0, 100% 100%, 0 100%); border-radius: 0 0 6px 6px; }
/* Marco, esquinas e isla proporcionales al ancho, como en un iPhone real. Con medidas fijas, en un
   celular (maqueta de ~80 px) las esquinas ocupaban casi la mitad y parecía una cápsula. */
/* La pantalla va posicionada con porcentajes del propio celular (top/bottom sobre su alto, left/right
   sobre su ancho): un padding en % se calcularía sobre el ancho del contenedor y el marco saldría grueso. */
.phone { position: relative; aspect-ratio: 9 / 19.5; border-radius: 16% / 7.4%; background: #0A0908; box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .1), inset 0 0 0 2px #26231f; }
.phone-notch { position: absolute; left: 50%; top: 3.2%; z-index: 3; width: 28%; aspect-ratio: 3.4 / 1; transform: translateX(-50%); border-radius: 999px; background: #0A0908; }
.phone-screen { position: absolute; top: 1.6%; bottom: 1.6%; left: 3.5%; right: 3.5%; border-radius: 13% / 6%; overflow: hidden; background: var(--bg); }
.ph { position: absolute; left: 0; top: 0; width: 360px; height: var(--ph-h, 760px); transform-origin: 0 0; transform: scale(var(--s, .4)); font: 15px/1.45 var(--body); color: var(--ink); background: var(--bg); overflow: hidden; }

/* ---------- Secciones ---------- */
.section { padding: 128px 0; position: relative; }
.section.alt { background: var(--sand); }
.section.dark { background: var(--night); color: var(--cream); }
.head { max-width: 760px; margin: 0 auto 64px; text-align: center; }
.head.left { text-align: left; margin: 0; }
.kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--amber-2); }
.kicker::before { content: ''; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.dark .kicker { color: var(--amber); }
.sub { margin-top: 18px; font-size: 19px; color: var(--muted); }
.dark .sub { color: var(--cream-2); }
.sub a { color: var(--ink); font-weight: 600; text-decoration-color: var(--amber); text-underline-offset: 4px; }

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

/* ---------- Pasos ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; counter-reset: s; position: relative; }
.step { position: relative; padding: 26px; border-radius: var(--r-l); background: var(--paper); box-shadow: var(--shadow); border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.step-n { position: absolute; top: 38px; left: 38px; z-index: 1; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; font: 700 14px/1 var(--body); box-shadow: 0 4px 10px -4px rgba(0, 0, 0, .4); }
.step h3 { margin: 22px 0 8px; }
.step p { color: var(--muted); }
.step-art { height: 180px; border-radius: var(--r); background: var(--sand); display: grid; place-content: center; gap: 10px; padding: 22px; overflow: hidden; }
.mini-field { display: flex; align-items: center; gap: 10px; width: 230px; height: 40px; padding: 0 12px; border-radius: 10px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; }
.mini-field i { width: 14px; height: 14px; border-radius: 4px; background: var(--sand-2); }
.mini-field b { font-weight: 500; color: var(--ink-2); }
.mini-btn { height: 40px; display: grid; place-items: center; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 600; font-size: 13.5px; }
.pair-code { display: flex; gap: 7px; }
.pair-code span { display: grid; place-items: center; width: 34px; height: 46px; border-radius: 10px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line), 0 4px 10px -6px rgba(0, 0, 0, .2); font: 700 20px/1 var(--body); font-variant-numeric: tabular-nums; opacity: .15; transform: translateY(6px); transition: opacity .3s, transform .4s var(--ease), background .3s; }
.pair-code span.on { opacity: 1; transform: none; }
.pair-code.done span { background: var(--amber); box-shadow: none; }
.pair-ok { justify-self: center; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--ok); color: #fff; font-size: 13px; font-weight: 600; opacity: 0; transform: scale(.9); transition: opacity .3s, transform .4s var(--ease); }
.pair-ok.on { opacity: 1; transform: none; }
.mini-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 240px; height: 42px; padding: 0 14px; border-radius: 12px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; }
.mini-row b { font-weight: 600; }
.mini-price { font-weight: 700; font-variant-numeric: tabular-nums; transition: color .3s; }
.mini-price.bump { animation: bump .6s var(--ease); color: var(--amber-2); }
.mini-sw { position: relative; width: 38px; height: 22px; border-radius: 999px; background: var(--sand-2); transition: background .25s; }
.mini-sw::after { content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .3s var(--ease); }
.mini-sw.on { background: var(--ok); }
.mini-sw.on::after { transform: translateX(16px); }

/* ---------- Demo ---------- */
.demo-sec { background: linear-gradient(var(--bg), var(--sand) 60%, var(--bg)); }
.demo { display: grid; grid-template-columns: 390px minmax(0, 1fr); gap: 36px; align-items: start; }
.panel { position: sticky; top: 96px; padding: 22px; border-radius: var(--r-l); background: var(--paper); box-shadow: var(--shadow-lg); border: 1px solid var(--line); display: grid; gap: 22px; }
.panel-top { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.saved { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--muted); transition: color .3s; }
.saved::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.saved.flash { color: var(--ok); animation: pop .5s var(--ease); }
.panel-group { display: grid; gap: 10px; }
.panel-label { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.panel-label small { text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--faint); font-size: 12.5px; }
.seg { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; padding: 4px; border-radius: 14px; background: var(--sand); }
.seg button { height: 38px; padding: 0 10px; border-radius: 10px; font-size: 13.5px; font-weight: 600; color: var(--muted); transition: background .2s, color .2s, box-shadow .2s; }
.seg button:hover { color: var(--ink); }
.seg button[aria-checked="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .1); }
.themes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.themes button { display: grid; justify-items: center; gap: 8px; padding: 10px 6px; border-radius: 14px; font-size: 13px; font-weight: 600; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s, color .2s, transform .2s var(--ease); }
.themes button:hover { transform: translateY(-2px); color: var(--ink); }
.themes button[aria-checked="true"] { color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.themes i { width: 100%; height: 34px; border-radius: 9px; }
.sw-pizarra { background: linear-gradient(135deg, #141312 55%, #F2A541 55% 64%, #141312 64%); }
.sw-mercado { background: linear-gradient(135deg, #f3ecdf 55%, #F2A541 55% 64%, #fffaf1 64%); box-shadow: inset 0 0 0 1px var(--line); }
.sw-neon { background: linear-gradient(135deg, #07070a 55%, #7CFFB2 55% 60%, #FF5C8A 60% 65%, #07070a 65%); }
.items { display: grid; gap: 6px; max-height: 330px; overflow: auto; margin: 0 -4px; padding: 0 4px; }
.item { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 10px; padding: 8px 10px 8px 12px; border-radius: 12px; background: var(--bg); transition: background .2s, opacity .2s; }
.item.sold { opacity: .6; }
.item-name { font-size: 14px; font-weight: 600; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.item.sold .item-name { text-decoration: line-through; }
.stepper { display: inline-flex; align-items: center; border-radius: 9px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.stepper button { width: 28px; height: 30px; font-size: 16px; font-weight: 600; color: var(--muted); border-radius: 8px; }
.stepper button:hover { color: var(--ink); background: var(--sand); }
.stepper output { min-width: 62px; text-align: center; font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.toggle { position: relative; width: 42px; height: 26px; border-radius: 999px; background: var(--ok); transition: background .25s; flex: none; }
.toggle::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transform: translateX(16px); transition: transform .3s var(--ease); }
.toggle[aria-checked="false"] { background: var(--sand-2); }
.toggle[aria-checked="false"]::after { transform: none; }
.panel-actions .btn:hover svg { transform: none; }
#demo-call { height: 52px; font-size: 15px; border-radius: 16px; }
#demo-call svg { width: 19px; height: 19px; }
.mini-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.mini-actions .btn { flex-direction: column; gap: 5px; height: 64px; padding: 0 6px; border-radius: 16px; font-size: 12.5px; line-height: 1.15; white-space: normal; text-align: center; }
.mini-actions .btn svg { width: 19px; height: 19px; }
.mini-actions .btn[aria-pressed="true"] { background: var(--amber); border-color: var(--amber); color: var(--amber-ink); box-shadow: 0 8px 20px -10px rgba(217, 134, 42, .8); }
.mini-actions .btn[aria-pressed="true"] svg { animation: wiggle 2.4s var(--ease-io) infinite; }
.demo-screen { position: sticky; top: 110px; }
.demo-hint { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 18px; font-size: 14px; color: var(--muted); }

/* ---------- Turnero: historia con scroll ---------- */
.story { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; }
.story-steps { margin: 0; padding: 0; list-style: none; }
.story-step { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; padding: 24px 0; opacity: .28; transition: opacity .5s var(--ease); cursor: pointer; }
.story-step.on { opacity: 1; }
.story-step:first-child { min-height: 46vh; justify-content: flex-start; padding-top: 40px; }
.story-n { font: 600 15px/1 var(--display); color: var(--amber); letter-spacing: .06em; }
.story-step h3 { margin: 14px 0 12px; font: 600 clamp(28px, 3vw, 40px)/1.08 var(--display); letter-spacing: -.025em; }
.story-step p { font-size: 18px; color: var(--cream-2); max-width: 30em; }
.story-stage { position: relative; }
.story-sticky { position: sticky; top: calc(50vh - 200px); display: flex; align-items: center; gap: 4%; }
.story-sticky .tv { width: 72%; }
.story-phone { width: 24%; flex: none; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin: 96px 0 0; padding: 36px 0 0; list-style: none; border-top: 1px solid rgba(244, 239, 230, .1); }
.facts b { display: block; margin-bottom: 6px; font-size: 16px; color: var(--cream); }
.facts span { font-size: 15px; color: var(--cream-2); }

/* ---------- Funciones ---------- */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { position: relative; padding: 24px; border-radius: var(--r-l); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s; }
.card.c-wide { grid-column: span 2; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--sand-2); }
.spot::before { content: ''; position: absolute; inset: 0; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(242, 165, 65, .13), transparent 45%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.spot:hover::before { opacity: 1; }
.card h3 { margin: 22px 0 8px; }
.card p { color: var(--muted); font-size: 15.5px; }
.card-art { position: relative; height: 150px; border-radius: var(--r); background: var(--sand); display: grid; place-items: center; overflow: hidden; }
.slots { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; padding: 0 16px; }
.slots span { padding: 8px 14px; border-radius: 999px; background: var(--paper); font-size: 13.5px; font-weight: 600; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); transition: all .4s var(--ease); }
.slots span.on { background: var(--ink); color: #fff; box-shadow: none; transform: scale(1.06); }
.slot-bar { position: absolute; left: 24px; right: 24px; bottom: 22px; height: 4px; border-radius: 4px; background: var(--sand-2); overflow: hidden; }
.slot-bar i { position: absolute; inset: 0; background: var(--amber); transform-origin: 0 50%; animation: fill 6s linear infinite; }
.art-offline svg { width: 70px; height: 70px; stroke-width: 1.6; color: var(--ink-2); }
.art-offline .cut { stroke: var(--amber-2); stroke-width: 2.2; stroke-dasharray: 26; stroke-dashoffset: 26; animation: cut 3.2s var(--ease) infinite; }
.promo-chip { display: grid; place-items: center; width: 112px; height: 112px; border-radius: 50%; background: var(--amber); color: var(--amber-ink); transform: rotate(-8deg); box-shadow: 0 16px 30px -12px rgba(217, 134, 42, .8); animation: wobble 4s var(--ease-io) infinite; text-align: center; }
.promo-chip b { font: 700 34px/1 var(--display); }
.promo-chip span { font-size: 11.5px; font-weight: 700; margin-top: -18px; max-width: 90px; line-height: 1.15; }
.art-pages, .art-orient, .art-preview { display: flex; align-items: center; justify-content: center; }
.art-pages { gap: 10px; }
.art-pages i { width: 58px; height: 80px; border-radius: 10px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); position: relative; animation: page 4.5s var(--ease) infinite; }
.art-pages i::before { content: ''; position: absolute; inset: 14px 10px; background: repeating-linear-gradient(var(--sand-2) 0 4px, transparent 4px 11px); border-radius: 2px; }
.art-pages i:nth-child(2) { animation-delay: 1.5s; } .art-pages i:nth-child(3) { animation-delay: 3s; }
.art-langs span { font: 600 58px/1 var(--display); letter-spacing: -.03em; transition: opacity .35s, transform .45s var(--ease); }
.art-langs span.out { opacity: 0; transform: translateY(-14px); }
.art-announce { background: var(--night); }
.ribbon { position: absolute; left: 0; right: 0; top: 50%; margin-top: -24px; height: 48px; display: flex; align-items: center; background: var(--amber); color: var(--amber-ink); font-weight: 700; font-size: 17px; white-space: nowrap; overflow: hidden; }
.ribbon span { flex: none; padding-right: 32px; animation: marquee 16s linear infinite; }
.art-orient { gap: 18px; }
.art-preview { gap: 14px; }
.art-preview .pv { position: relative; width: 150px; height: 88px; border-radius: 10px; background: var(--night); box-shadow: 0 0 0 4px #000; overflow: hidden; }
.art-preview .pv::before { content: ''; position: absolute; left: 14px; top: 16px; width: 70px; height: 7px; border-radius: 4px; background: var(--amber); box-shadow: 0 16px 0 rgba(244, 239, 230, .45), 0 30px 0 rgba(244, 239, 230, .3), 0 44px 0 rgba(244, 239, 230, .2); }
.art-preview .pv::after { content: ''; position: absolute; right: 12px; top: 14px; width: 40px; height: 56px; border-radius: 6px; background: linear-gradient(135deg, rgba(242, 165, 65, .7), rgba(255, 122, 89, .5)); }
.art-preview .live { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 999px; background: var(--paper); font-size: 12.5px; font-weight: 700; box-shadow: var(--shadow); }
.art-preview .pv { margin-top: 8px; }
.art-preview .clockpill { z-index: 2; position: absolute; left: 50%; top: 12px; transform: translateX(-50%); padding: 4px 10px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.art-orient i { width: 96px; height: 56px; border-radius: 8px; background: var(--night); box-shadow: inset 0 0 0 4px #000; }
.art-orient i.v { width: 44px; height: 76px; animation: turn 5s var(--ease) infinite; }
.art-oled i { width: 150px; height: 90px; border-radius: 10px; background: var(--night); position: relative; }
.art-oled i::after { content: ''; position: absolute; left: 20px; top: 22px; width: 60px; height: 8px; border-radius: 4px; background: var(--amber); box-shadow: 0 18px 0 -1px rgba(244, 239, 230, .5), 0 36px 0 -1px rgba(244, 239, 230, .3); animation: shiftpx 6s steps(1) infinite; }

/* ---------- Rubros ---------- */
.tabs { max-width: 980px; margin: 0 auto; }
.tab-list { display: flex; gap: 6px; padding: 6px; border-radius: 999px; background: var(--paper); box-shadow: var(--shadow); width: max-content; max-width: 100%; margin: 0 auto 28px; overflow-x: auto; scrollbar-width: none; }
.tab-list::-webkit-scrollbar { display: none; }
.tab-list button { height: 44px; padding: 0 18px; border-radius: 999px; font-size: 14.5px; font-weight: 600; color: var(--muted); white-space: nowrap; transition: background .25s, color .25s; }
.tab-list button:hover { color: var(--ink); }
.tab-list button[aria-selected="true"] { background: var(--ink); color: #fff; }
.tab-panel { padding: 40px 44px; border-radius: var(--r-l); background: var(--paper); box-shadow: var(--shadow); animation: rise .5s var(--ease); }
.tab-panel h3 { font: 600 clamp(24px, 2.4vw, 32px)/1.15 var(--display); letter-spacing: -.02em; margin-bottom: 22px; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 32px; margin: 0; padding: 0; list-style: none; }
.checks li { position: relative; padding-left: 34px; color: var(--ink-2); }
.checks li::before { content: ''; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--amber-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D9862A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* ---------- Precios ---------- */
.period { display: flex; gap: 4px; width: max-content; margin: -24px auto 36px; padding: 5px; border-radius: 999px; background: var(--paper); box-shadow: var(--shadow); }
.period button { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 20px; border-radius: 999px; font-size: 14.5px; font-weight: 600; color: var(--muted); transition: background .25s, color .25s; }
.period button.on { background: var(--ink); color: #fff; }
.period em { font-style: normal; padding: 2px 8px; border-radius: 999px; background: var(--amber-soft); color: var(--amber-2); font-size: 12px; font-weight: 800; }
.period button.on em { background: var(--amber); color: var(--amber-ink); }
.prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.price-card { position: relative; display: flex; flex-direction: column; padding: 30px 26px 26px; border-radius: var(--r-l); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .4s var(--ease), box-shadow .4s var(--ease); animation: rise .6s var(--ease) both; }
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.price-card.featured { background: var(--night); color: var(--cream); border-color: transparent; box-shadow: 0 30px 70px -30px rgba(18, 17, 16, .7); }
.price-card.featured .price-blurb, .price-card.featured .price-sub, .price-card.featured .price-amount span { color: var(--cream-2); }
.price-card.featured .checks li { color: var(--cream); }
.price-tag { position: absolute; top: 22px; right: 22px; padding: 4px 11px; border-radius: 999px; background: var(--amber); color: var(--amber-ink); font-size: 12px; font-weight: 800; }
.price-card h3 { font: 600 28px/1.1 var(--display); letter-spacing: -.02em; }
.price-blurb { margin-top: 6px; color: var(--muted); font-size: 15px; }
.price-amount { display: flex; align-items: baseline; gap: 6px; margin-top: 22px; }
.price-amount b { font: 700 44px/1 var(--body); letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.price-amount span { color: var(--muted); font-weight: 600; }
.price-sub { margin-top: 6px; color: var(--muted); font-size: 13.5px; }
.price-card .checks { grid-template-columns: 1fr; gap: 10px; margin: 22px 0 26px; font-size: 15px; }
.price-card .btn { margin-top: auto; width: 100%; }
.prices-note { max-width: 720px; margin: 28px auto 0; text-align: center; color: var(--muted); font-size: 15px; }
.prices-note b { color: var(--ink); }

/* ---------- Confianza ---------- */
.trust { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
.trust-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 0; padding: 0; list-style: none; }
.trust-list li { display: flex; gap: 16px; padding: 22px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); }
.trust-list svg { width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: var(--amber-soft); color: var(--amber-2); stroke-width: 2; }
.trust-list b { display: block; margin-bottom: 4px; }
.trust-list span { font-size: 14.5px; color: var(--muted); }

/* ---------- Preguntas ---------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.faq { display: grid; gap: 10px; }
.faq details { border-radius: var(--r); background: var(--paper); box-shadow: var(--shadow); interpolate-size: allow-keywords; }
.faq summary { position: relative; list-style: none; cursor: pointer; padding: 22px 64px 22px 24px; font-weight: 600; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 22px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%; background: var(--sand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316140F' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .35s var(--ease), background-color .3s; }
.faq details[open] summary::after { transform: rotate(135deg); background-color: var(--amber); }
.faq details p { padding: 0 24px 24px; color: var(--muted); max-width: 40em; }
.faq details::details-content { height: 0; overflow: clip; transition: height .4s var(--ease), content-visibility .4s allow-discrete; }
.faq details[open]::details-content { height: auto; }

/* ---------- Cierre y pie ---------- */
.final { position: relative; overflow: hidden; isolation: isolate; padding: 140px 0; background: var(--night); color: var(--cream); text-align: center; }
.final .hero-glow i:nth-child(1) { left: 50%; top: -40%; margin-left: -380px; }
.final-inner { max-width: 860px; }
.final h2 { font-size: clamp(40px, 5.6vw, 76px); }
.final .lead { margin: 22px auto 0; }
.foot { padding: 72px 0 36px; background: var(--bg); border-top: 1px solid var(--line); font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.foot-grid > * { display: grid; gap: 10px; align-content: start; }
.foot-grid b { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--faint); margin-bottom: 4px; }
.foot-grid a { text-decoration: none; color: var(--ink-2); width: max-content; }
.foot-grid a:hover { color: var(--amber-2); }
.foot-brand p { color: var(--muted); max-width: 26em; }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.foot-legal a { color: var(--ink-2); font-weight: 600; }

/* ==========================================================================
   Tablero del TV de ejemplo (lienzo de 1280×720, igual que el player)
   ========================================================================== */
.b {
  --b-bg: #141312; --b-surface: #211f1c; --b-ink: #f4efe6; --b-muted: rgba(244, 239, 230, .56); --b-faint: rgba(244, 239, 230, .14);
  --b-accent: #F2A541; --b-accent-ink: #1a1206; --b-hot: #ff7a59; --b-veg: #8fd18a;
  --b-display: 'Fraunces', Georgia, serif; --b-body: 'Inter', Arial, sans-serif; --b-dw: 600; --b-track: -.02em;
  position: absolute; inset: 0; display: flex; flex-direction: column; padding: 40px 54px 44px; background: var(--b-bg); color: var(--b-ink); font-family: var(--b-body); line-height: 1.25; overflow: hidden;
  transition: background .6s var(--ease), color .6s var(--ease);
}
.b::before { content: ''; position: absolute; inset: 0; background: var(--grain); opacity: .07; pointer-events: none; }
.b.theme-mercado { --b-bg: #f3ecdf; --b-surface: #fffaf1; --b-ink: #1f1a14; --b-muted: rgba(31, 26, 20, .58); --b-faint: rgba(31, 26, 20, .14); --b-hot: #c2410c; --b-veg: #2f7d32; --b-display: 'DM Serif Display', Georgia, serif; --b-body: 'DM Sans', Arial, sans-serif; --b-dw: 400; --b-track: -.01em; }
.b.theme-mercado::before { filter: invert(1); opacity: .05; }
.b.theme-neon { --b-bg: #07070a; --b-surface: #12121a; --b-ink: #fff; --b-muted: rgba(255, 255, 255, .55); --b-faint: rgba(255, 255, 255, .12); --b-hot: #FF5C8A; --b-veg: #7CFFB2; --b-display: 'Space Grotesk', Arial, sans-serif; --b-body: 'Space Grotesk', Arial, sans-serif; --b-dw: 700; --b-track: -.035em; }
.b.theme-neon::before { opacity: .04; }
.b-head { position: relative; display: flex; align-items: center; gap: 16px; }
.b-dot { width: 18px; height: 18px; border-radius: 50%; background: var(--b-accent); }
.b-name { font: var(--b-dw) 38px/1 var(--b-display); letter-spacing: var(--b-track); }
.b-tag { font-size: 19px; color: var(--b-muted); margin-left: 6px; }
.b-clock { margin-left: auto; font-size: 26px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--b-muted); }
.b-body { position: relative; flex: 1; min-height: 0; margin-top: 32px; }
.b-body.split { display: grid; grid-template-columns: 1.5fr 1fr; gap: 44px; }
.b-body.menu { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.b-body.promos { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.b-cat + .b-cat { margin-top: 26px; }
.b-cat-title { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; font: var(--b-dw) 28px/1 var(--b-display); letter-spacing: var(--b-track); color: var(--b-accent); }
.b-cat-title::after { content: ''; flex: 1; height: 2px; background: var(--b-faint); }
.b-item { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 14px; padding: 9px 14px; margin: 0 -14px; border-radius: 14px; transition: opacity .5s, background .5s; }
.b-item b { font-size: 24px; font-weight: 600; letter-spacing: -.01em; }
.b-item small { display: block; font-size: 16px; color: var(--b-muted); margin-top: 1px; }
.b-lead { align-self: center; height: 2px; background: repeating-linear-gradient(90deg, var(--b-faint) 0 3px, transparent 3px 9px); margin-top: 10px; }
.b-price { font: var(--b-dw) 28px/1 var(--b-display); letter-spacing: var(--b-track); font-variant-numeric: tabular-nums; }
.b-veg { display: inline-block; margin-left: 10px; padding: 2px 9px; border-radius: 999px; background: color-mix(in srgb, var(--b-veg) 20%, transparent); color: var(--b-veg); font-size: 13px; font-weight: 700; vertical-align: 4px; }
.b-item.sold b, .b-item.sold small { opacity: .38; text-decoration: line-through; text-decoration-thickness: 2px; }
.b-item.sold .b-price, .b-item.sold .b-lead { opacity: 0; }
.b-out { position: absolute; right: 14px; top: 50%; transform: translateY(-50%) rotate(-3deg); padding: 6px 14px; border-radius: 10px; background: var(--b-hot); color: #fff; font-size: 17px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; animation: stamp .5s var(--ease) both; }
.b-item.bump { animation: rowflash 1.4s var(--ease); }
.b-item.bump .b-price { display: inline-block; animation: bump .8s var(--ease); color: var(--b-accent); }
.b-promo { display: flex; flex-direction: column; border-radius: 28px; background: var(--b-surface); overflow: hidden; box-shadow: 0 0 0 1px var(--b-faint); }
.b-art { position: relative; flex: 1; min-height: 150px; background: radial-gradient(120% 90% at 30% 20%, rgba(242, 165, 65, .55), transparent 55%), radial-gradient(90% 90% at 80% 90%, rgba(255, 122, 89, .45), transparent 60%), linear-gradient(135deg, #3a2a1a, #1a120b); }
.b-art.alt { background: radial-gradient(100% 90% at 70% 25%, rgba(143, 209, 138, .5), transparent 55%), radial-gradient(90% 80% at 20% 90%, rgba(242, 165, 65, .45), transparent 60%), linear-gradient(135deg, #1f2a1a, #0f150c); }
.b-art::before { content: ''; position: absolute; left: 50%; top: 52%; width: 132px; height: 132px; margin: -66px 0 0 -66px; border-radius: 50%; background: radial-gradient(circle at 50% 50%, #6b3f1d 0 42%, #f1e3cf 43% 49%, #fff 50% 60%, transparent 61%); box-shadow: 0 30px 40px -20px rgba(0, 0, 0, .6); }
.b-art.alt::before { border-radius: 40% 60% 55% 45%; background: radial-gradient(circle at 40% 40%, #c8e6a0 0 30%, #7aa84f 31% 58%, transparent 59%), radial-gradient(circle at 65% 62%, #f5d36b 0 20%, transparent 21%); }
.b-stamp { position: absolute; right: 22px; top: 22px; display: grid; place-items: center; width: 104px; height: 104px; border-radius: 50%; background: var(--b-accent); color: var(--b-accent-ink); font: 700 34px/1 var(--b-display); transform: rotate(-10deg); box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .5); }
.b-promo-body { padding: 22px 26px 26px; }
.b-kick { font-size: 14px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--b-accent); }
.b-promo h4 { margin: 8px 0 12px; font: var(--b-dw) 34px/1.05 var(--b-display); letter-spacing: var(--b-track); }
.b-prices { display: flex; align-items: baseline; gap: 14px; }
.b-prices s { font-size: 22px; color: var(--b-muted); }
.b-prices b { font: var(--b-dw) 48px/1 var(--b-display); letter-spacing: var(--b-track); color: var(--b-accent); }
.b-save { display: inline-block; margin-top: 12px; padding: 6px 12px; border-radius: 999px; background: color-mix(in srgb, var(--b-accent) 16%, transparent); color: var(--b-accent); font-size: 15px; font-weight: 700; }
.b-body.promos .b-promo h4 { font-size: 40px; }
.b-body.promos .b-art { min-height: 250px; }
/* Turnos */
.b-body.queue { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; }
.b-now { position: relative; display: grid; place-content: center; justify-items: center; text-align: center; border-radius: 32px; background: var(--b-surface); box-shadow: 0 0 0 1px var(--b-faint); overflow: hidden; }
.b-now small { font-size: 20px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--b-muted); }
.b-now .num { font: var(--b-dw) 190px/1 var(--b-display); letter-spacing: -.04em; margin-top: 12px; font-variant-numeric: tabular-nums; }
.b-now .ctr { margin-top: 10px; padding: 10px 26px; border-radius: 999px; background: var(--b-accent); color: var(--b-accent-ink); font-size: 34px; font-weight: 700; }
.b-now .who { margin-top: 16px; font-size: 26px; color: var(--b-muted); }
.b-now.ring::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 6px var(--b-accent); animation: ringout 1.6s var(--ease) 2; }
.b-now.ring .num { animation: callpop .9s var(--ease); }
.b-side { display: grid; grid-template-rows: 1fr auto; gap: 22px; min-height: 0; }
.b-next { padding: 24px 28px; border-radius: 28px; background: var(--b-surface); box-shadow: 0 0 0 1px var(--b-faint); }
.b-next h5 { margin: 0 0 12px; font-size: 16px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--b-muted); }
.b-next li { display: flex; align-items: baseline; gap: 16px; padding: 10px 0; border-top: 1px solid var(--b-faint); list-style: none; }
.b-next ul { margin: 0; padding: 0; }
.b-next li b { font: var(--b-dw) 34px/1 var(--b-display); font-variant-numeric: tabular-nums; }
.b-next li span { font-size: 19px; color: var(--b-muted); }
.b-qr { display: flex; align-items: center; gap: 20px; padding: 18px 22px; border-radius: 28px; background: var(--b-accent); color: var(--b-accent-ink); }
.b-qr .qr { width: 118px; height: 118px; padding: 8px; border-radius: 14px; background: #fff; flex: none; }
.b-qr .qr svg { width: 100%; height: 100%; }
.b-qr b { display: block; font: var(--b-dw) 34px/1.05 var(--b-display); letter-spacing: var(--b-track); }
.b-qr span { font-size: 17px; font-weight: 600; opacity: .75; }
.b-qr.pulse { animation: qrpulse 1.6s var(--ease-io) infinite; }
/* Llamado sobre la carta y cinta de anuncios */
.b-call { position: absolute; inset: 0; z-index: 4; display: grid; place-items: center; background: rgba(0, 0, 0, .58); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: fadein .35s var(--ease); }
.b-call-card { display: grid; justify-items: center; padding: 44px 90px 40px; border-radius: 40px; background: var(--b-accent); color: var(--b-accent-ink); text-align: center; animation: callin .7s var(--ease) both; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); }
.b-call-card small { font-size: 22px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; opacity: .7; }
.b-call-card b { font: var(--b-dw) 170px/1 var(--b-display); letter-spacing: -.04em; margin: 8px 0 6px; }
.b-call-card span { font-size: 38px; font-weight: 700; }
/* Anuncio instantáneo: igual que en el player (pastilla con megáfono, brillo y pantalla atenuada) */
.b-ann {
  position: absolute; left: 50%; bottom: 64px; z-index: 3; width: max-content; max-width: 1080px; overflow: hidden;
  display: flex; align-items: center; gap: 20px; padding: 18px 42px 18px 18px; border-radius: 999px;
  background: var(--b-accent); color: var(--b-accent-ink); transform: translateX(-50%);
  box-shadow: 0 30px 70px -10px rgba(0, 0, 0, .6), 0 0 60px 8px rgba(242, 165, 65, .4), 0 0 0 2000px rgba(0, 0, 0, .34);
  animation: annin .9s cubic-bezier(.34, 1.56, .64, 1) both;
}
.b-ann.still { animation: none; }
.b-ann::after { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 28%; background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .5), rgba(255, 255, 255, 0)); transform: translateX(-160%) skewX(-18deg); animation: shimmer 3.6s var(--ease-io) 1s infinite; pointer-events: none; }
.b-ann .ico { position: relative; flex: none; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--b-accent-ink); color: var(--b-accent); }
.b-ann .ico::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 3px solid var(--b-accent-ink); animation: annring 1.8s var(--ease) infinite; }
.b-ann .ico svg { width: 32px; height: 32px; stroke-width: 2.2; animation: wiggle 2.4s var(--ease-io) infinite; }
.b-ann p { margin: 0; font-size: 34px; font-weight: 800; letter-spacing: -.02em; line-height: 1.12; }
@keyframes annin { from { opacity: 0; transform: translate(-50%, 50px) scale(.9); } to { opacity: 1; transform: translate(-50%, 0) scale(1); } }
@keyframes shimmer { 0% { transform: translateX(-160%) skewX(-18deg); } 55%, 100% { transform: translateX(460%) skewX(-18deg); } }
@keyframes annring { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.3); opacity: 0; } }
@keyframes wiggle { 0%, 60%, 100% { transform: rotate(0); } 70% { transform: rotate(-12deg); } 80% { transform: rotate(10deg); } 90% { transform: rotate(-4deg); } }

/* ==========================================================================
   Pantallas del celular de ejemplo (lienzo de 360×760)
   ========================================================================== */
.ph-pad { padding: 52px 20px 20px; height: 100%; display: flex; flex-direction: column; }
.ph-top { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.ph-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--amber); }
.ph-av { margin-left: auto; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 13px; font-weight: 700; }
.ph h4 { margin: 22px 0 14px; font: 600 30px/1.05 var(--display); letter-spacing: -.02em; }
.ph-tabs { display: flex; gap: 6px; margin-bottom: 14px; }
.ph-tabs span { padding: 7px 13px; border-radius: 999px; background: var(--sand); font-size: 13px; font-weight: 600; color: var(--muted); transition: all .3s; }
.ph-tabs span.on { background: var(--ink); color: #fff; }
.ph-list { display: grid; gap: 8px; }
.ph-row { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: 16px; background: var(--paper); box-shadow: 0 1px 2px rgba(0, 0, 0, .05); transition: box-shadow .3s, transform .3s var(--ease); }
.ph-row.hl { box-shadow: 0 0 0 2px var(--amber), 0 10px 20px -10px rgba(217, 134, 42, .6); transform: scale(1.02); }
.ph-row div { flex: 1; min-width: 0; }
.ph-row b { display: block; font-size: 15.5px; }
.ph-row small { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.ph-row.sold b { text-decoration: line-through; color: var(--faint); }
.ph-row .toggle { transform: scale(.95); }
.ph-call { margin-top: auto; height: 54px; border-radius: 16px; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 700; font-size: 16px; transition: transform .2s, background .3s; }
.ph-call.press { transform: scale(.95); background: var(--amber); color: var(--amber-ink); }
.ph-cam { position: absolute; inset: 0; background: radial-gradient(120% 80% at 50% 40%, #3a332b, #0e0d0c); display: grid; place-items: center; }
.ph-cam .vf { position: relative; width: 210px; height: 210px; display: grid; place-items: center; }
.ph-cam .vf::before { content: ''; position: absolute; inset: 0; border-radius: 26px; background: linear-gradient(#fff, #fff) 0 0 / 34px 5px, linear-gradient(#fff, #fff) 0 0 / 5px 34px, linear-gradient(#fff, #fff) 100% 0 / 34px 5px, linear-gradient(#fff, #fff) 100% 0 / 5px 34px, linear-gradient(#fff, #fff) 0 100% / 34px 5px, linear-gradient(#fff, #fff) 0 100% / 5px 34px, linear-gradient(#fff, #fff) 100% 100% / 34px 5px, linear-gradient(#fff, #fff) 100% 100% / 5px 34px; background-repeat: no-repeat; animation: vf 2.2s var(--ease-io) infinite; }
.ph-cam .qr { width: 150px; height: 150px; padding: 10px; border-radius: 14px; background: #fff; }
.ph-cam .qr svg { width: 100%; height: 100%; }
.ph-cam .scan { position: absolute; left: 22px; right: 22px; height: 2px; top: 30px; background: var(--amber); box-shadow: 0 0 14px 2px var(--amber); animation: scan 2.2s var(--ease-io) infinite; }
.ph-link { position: absolute; left: 22px; right: 22px; bottom: 60px; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 18px; background: rgba(255, 255, 255, .94); animation: rise .6s var(--ease) .9s both; }
.ph-link b { display: block; font-size: 14px; } .ph-link small { font-size: 12.5px; color: var(--muted); }
.ph-link i { margin-left: auto; padding: 7px 12px; border-radius: 999px; background: var(--ink); color: #fff; font-style: normal; font-size: 13px; font-weight: 700; }
.ph-lead { font-size: 14.5px; color: var(--muted); margin: -6px 0 16px; }
.ph-svc { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: 16px; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line); margin-bottom: 8px; }
.ph-svc.on { box-shadow: inset 0 0 0 2px var(--ink); }
.ph-svc i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--sand); font-style: normal; font-weight: 800; }
.ph-svc.on i { background: var(--ink); color: #fff; }
.ph-svc b { display: block; font-size: 15px; } .ph-svc small { font-size: 12.5px; color: var(--muted); }
.ph-in { margin: 12px 0 8px; font-size: 13px; font-weight: 600; color: var(--muted); }
.ph-field { height: 48px; display: flex; align-items: center; padding: 0 14px; border-radius: 14px; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line); font-size: 15.5px; }
.ph-field .caret { width: 2px; height: 20px; margin-left: 1px; background: var(--amber-2); animation: blink 1s steps(1) infinite; }
.ph-btn { margin-top: auto; height: 54px; display: grid; place-items: center; border-radius: 16px; background: var(--ink); color: #fff; font-weight: 700; font-size: 16px; }
.ph-ticket { margin: auto 0; text-align: center; }
.ph-ticket small { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ph-ticket .num { font: 600 92px/1 var(--display); letter-spacing: -.04em; margin: 10px 0 6px; }
.ph-ticket .svc { font-size: 15px; color: var(--muted); }
.ph-ahead { margin: 26px auto 0; padding: 18px; border-radius: 20px; background: var(--paper); box-shadow: 0 1px 2px rgba(0, 0, 0, .05); }
.ph-ahead b { display: block; font-size: 22px; }
.ph-ahead span { font-size: 14px; color: var(--muted); }
.ph-bar { height: 8px; margin-top: 14px; border-radius: 8px; background: var(--sand); overflow: hidden; }
.ph-bar i { display: block; height: 100%; width: 60%; background: var(--amber); border-radius: 8px; transition: width 1s var(--ease); }
.ph-live { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 13px; color: var(--muted); }
.ph-turn { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 6px; text-align: center; background: var(--ok); color: #fff; animation: fadein .4s var(--ease); }
.ph-turn::before { content: ''; position: absolute; left: 50%; top: 50%; width: 240px; height: 240px; margin: -170px 0 0 -120px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .5); animation: ripple 1.8s var(--ease) infinite; }
.ph-turn small { font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.ph-turn h5 { margin: 4px 0; font: 600 42px/1 var(--display); }
.ph-turn .num { font: 600 96px/1 var(--display); letter-spacing: -.04em; }
.ph-turn .ctr { margin-top: 8px; padding: 10px 20px; border-radius: 999px; background: rgba(255, 255, 255, .2); font-size: 20px; font-weight: 700; }
.ph-thanks { margin: auto 0; text-align: center; }
.ph-thanks h5 { margin: 0 0 8px; font: 600 30px/1.1 var(--display); }
.ph-thanks p { color: var(--muted); font-size: 14.5px; }
.ph-review { margin-top: 26px; padding: 22px; border-radius: 22px; background: var(--paper); box-shadow: 0 16px 30px -18px rgba(0, 0, 0, .3); animation: rise .6s var(--ease) .2s both; }
.ph-stars { display: flex; justify-content: center; gap: 6px; font-size: 30px; color: var(--amber); }
.ph-stars span { animation: starpop .5s var(--ease) both; }
.ph-stars span:nth-child(2) { animation-delay: .1s; } .ph-stars span:nth-child(3) { animation-delay: .2s; } .ph-stars span:nth-child(4) { animation-delay: .3s; } .ph-stars span:nth-child(5) { animation-delay: .4s; }
.ph-review b { display: block; margin: 12px 0 14px; font-size: 16px; }
.ph-review i { display: grid; place-items: center; height: 48px; border-radius: 14px; background: var(--ink); color: #fff; font-style: normal; font-weight: 700; }
.ph-fade { animation: phin .5s var(--ease); height: 100%; }

/* ---------- Animaciones ---------- */
@keyframes breathe { 50% { transform: scale(.82); opacity: .75; } }
@keyframes live { 70% { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); } 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); } }
@keyframes drift1 { to { transform: translate(140px, 90px) scale(1.1); } }
@keyframes drift2 { to { transform: translate(-120px, 60px) scale(1.15); } }
@keyframes float { 50% { transform: translateY(-10px); } }
@keyframes travel { 0% { offset-distance: 0%; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }
@keyframes bump { 0% { transform: scale(1); } 35% { transform: scale(1.22); } 100% { transform: scale(1); } }
@keyframes rowflash { 0%, 100% { background: transparent; } 20% { background: color-mix(in srgb, var(--b-accent) 22%, transparent); } }
@keyframes stamp { from { opacity: 0; transform: translateY(-50%) rotate(-3deg) scale(1.6); } to { opacity: 1; transform: translateY(-50%) rotate(-3deg) scale(1); } }
@keyframes callin { 0% { opacity: 0; transform: scale(.7); } 60% { opacity: 1; transform: scale(1.04); } 100% { transform: scale(1); } }
@keyframes callpop { 0% { transform: scale(.6); opacity: 0; } 60% { transform: scale(1.06); opacity: 1; } 100% { transform: scale(1); } }
@keyframes ringout { 0% { opacity: 1; } 100% { opacity: 0; } }
@keyframes qrpulse { 50% { box-shadow: 0 0 0 10px color-mix(in srgb, var(--b-accent) 30%, transparent); } }
@keyframes fadein { from { opacity: 0; } }
@keyframes slideup { from { transform: translateY(100%); } }
@keyframes marquee { to { transform: translateX(-100%); } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes pop { 40% { transform: scale(1.12); } }
@keyframes drop { from { opacity: 0; transform: translateY(-10px); } }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes cut { 0%, 25% { stroke-dashoffset: 26; } 55%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 26; } }
@keyframes wobble { 50% { transform: rotate(-2deg) scale(1.04); } }
@keyframes page { 0%, 30% { transform: none; box-shadow: inset 0 0 0 1px var(--line); } 8%, 22% { transform: translateY(-8px); box-shadow: inset 0 0 0 2px var(--amber), 0 12px 20px -12px rgba(217, 134, 42, .7); } }
@keyframes turn { 0%, 35% { transform: rotate(-90deg); } 50%, 85% { transform: none; } 100% { transform: rotate(-90deg); } }
@keyframes shiftpx { 0% { transform: none; } 33% { transform: translate(3px, 2px); } 66% { transform: translate(-2px, 3px); } }
@keyframes vf { 50% { transform: scale(.94); } }
@keyframes scan { 50% { top: 176px; } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes ripple { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
@keyframes starpop { from { opacity: 0; transform: scale(.3) rotate(-30deg); } }
@keyframes phin { from { opacity: 0; transform: translateY(10px); } }

/* ---------- Pantallas medianas y celulares ---------- */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .burger { display: block; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-copy { text-align: center; max-width: 720px; margin: 0 auto; }
  .hero .lead { margin-inline: auto; }
  .hero .cta-row { justify-content: center; }
  .hero-stage { max-width: 720px; margin: 0 auto; width: 100%; }
  .brands { flex-direction: column; gap: 14px; text-align: center; }
  .brands ul { justify-content: center; }
  .demo { grid-template-columns: 1fr; }
  .demo-screen { position: sticky; top: 72px; z-index: 2; order: -1; padding: 12px 0 8px; background: linear-gradient(var(--sand) 85%, transparent); }
  .demo-hint { margin-top: 8px; }
  .panel { position: static; }
  .story { grid-template-columns: 1fr; gap: 0; }
  .story-stage { order: -1; position: sticky; top: 72px; z-index: 2; background: var(--night); padding: 12px 0; }
  .story-sticky { position: relative; top: 0; max-width: 560px; margin: 0 auto; }
  .story-step { min-height: 46vh; text-align: left; }
  .story-step:first-child { min-height: 40vh; padding-top: 32px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .bento { grid-template-columns: 1fr 1fr; }
  .prices { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .trust, .faq-wrap { grid-template-columns: 1fr; gap: 40px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .wrap { width: min(1200px, 100% - 36px); }
  .hide-sm { display: none; }
  .nav-row { gap: 12px; height: 64px; }
  .nav-actions .btn { height: 40px; padding: 0 14px; font-size: 14px; }
  .lang span { display: none; }
  .hero { padding: 116px 0 44px; }
  /* En el celular, el TV y el celular de ejemplo van lado a lado */
  .hero-stage { display: flex; align-items: center; gap: 4%; padding: 0; }
  .hero-stage .tv { width: 72%; }
  .hero-phone { position: relative; left: auto; bottom: auto; width: 24%; flex: none; }
  .sync { display: none; }
  .hero-toast { font-size: 12px; top: -40px; right: 0; }
  .brands { margin-top: 56px; }
  .demo-sec { background: var(--sand); }
  .demo-screen { background: var(--sand); padding-bottom: 12px; box-shadow: 0 12px 16px -14px rgba(22, 20, 15, .25); }
  .demo-hint { display: none; }
  .section { padding: 88px 0; }
  .head { margin-bottom: 44px; }
  .sub { font-size: 17px; }
  .steps { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .card.c-wide { grid-column: auto; }
  .checks { grid-template-columns: 1fr; }
  .tab-panel { padding: 28px 22px; }
  .tab-list { width: auto; justify-content: flex-start; border-radius: 18px; }
  .trust-list { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; gap: 20px; margin-top: 64px; }
  .story-step h3 { font-size: 28px; }
  .story-step p { font-size: 16.5px; }
  .foot-grid { grid-template-columns: 1fr; }
  .final { padding: 100px 0; }
  .cta-row .btn.lg { width: 100%; }
}

/* Celulares angostos: el botón de crear cuenta pasa al menú (y queda el grande de la portada) */
@media (max-width: 480px) {
  #nav-cta { display: none; }
  .sheet .sheet-cta { display: inline-flex; }
}

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