/* Página de inicio de JandaTap (variante Galería). Fuentes servidas desde este sitio (OFL, ver /fuentes/LICENCIAS.txt). */
@font-face { font-family: "Geist"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fuentes/geist-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fuentes/geist-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fuentes/geist-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fuentes/poppins-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fuentes/poppins-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fuentes/poppins-latin-700-normal.woff2") format("woff2"); }
/* Layout: estilo galería limpia. Menú flotante, hero con el cartel y tarjetas que flotan, un panel azul
   que muestra el producto, secciones de una sola idea centradas, reseñas de ejemplo en carrusel.
   Variante Galería: grotesca suiza (Geist) en peso regular, títulos grandes que crecen con la pantalla,
   interletra negativa y etiquetas en Geist Mono. Colores Jandatix y logo vectorial. Tema claro y oscuro. */
:root {
  --bg: #F6F8FC;
  --surface: #FFFFFF;
  --surface-2: #EEF3FB;
  --ink: #0A0E23;
  --ink-muted: #4A4F61;
  --ink-soft: #5F6475;
  --line: #DDE4F0;
  --brand: #1765C2;
  --brand-hover: #125AB0;
  --on-brand: #FFFFFF;
  --hl: #1765C2;
  --hl-soft: #E3EDFA;
  --star: #F5B301;
  --danger: #BA1A1A;
  --success: #0F7A3D;
  --blob-a: rgba(23, 101, 194, .20);
  --blob-b: rgba(92, 179, 241, .26);
  --nav-bg: rgba(255, 255, 255, .78);
  --nav-line: rgba(10, 14, 35, .08);
  --shadow: 0 18px 40px -18px rgba(10, 14, 35, .28);
  --panel: #1765C2;
  --panel-ink: #FFFFFF;
  --panel-muted: #DCE8F8;
  --panel-card: #FFFFFF;
  --panel-card-ink: #0A0E23;
  --panel-card-muted: #4A4F61;
  --panel-card-line: #E3E8F2;
  --s-card: #FFFFFF;
  --s-card-line: #1765C2;
  --s-text: #0A0E23;
  --s-muted: #4A4F61;
  --s-qr-bg: #FFFFFF;
  --s-qr: #0A0E23;
  --s-phone: #0A0E23;
  --s-screen: #FFFFFF;
  --s-ground: #DDE4F0;
  --foot-bg: #0A0E23;
  --foot-ink: #F8FAFC;
  --foot-muted: #C1C6D4;
  --foot-line: #2A3050;
  --foot-hl: #5CB3F1;

  --font-display: Geist, "Helvetica Neue", Arial, sans-serif;
  --font-heading: Geist, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --font-body: Geist, "Helvetica Neue", Arial, system-ui, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --radius-md: 4px; --radius-lg: 8px; --radius-xl: 12px;
  --max: 1180px;
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #03050F; --surface: #0A0E23; --surface-2: #121834; --ink: #F8FAFC; --ink-muted: #C1C6D4; --ink-soft: #9AA0B4;
  --line: #1E2340; --brand: #1765C2; --brand-hover: #1D74DB; --hl: #5CB3F1; --hl-soft: #10254A; --star: #FBBF24;
  --danger: #FFB4AB; --success: #6FD39A; --blob-a: rgba(23, 101, 194, .34); --blob-b: rgba(92, 179, 241, .12);
  --nav-bg: rgba(10, 14, 35, .72); --nav-line: rgba(255, 255, 255, .08); --shadow: 0 18px 40px -18px rgba(0, 0, 0, .7);
  --panel: #1765C2; --panel-ink: #FFFFFF; --panel-muted: #DCE8F8; --panel-card: #0A0E23; --panel-card-ink: #F8FAFC;
  --panel-card-muted: #C1C6D4; --panel-card-line: #2A3050;
  --s-card: #0A0E23; --s-card-line: #5CB3F1; --s-text: #F8FAFC; --s-muted: #C1C6D4; --s-qr-bg: #F8FAFC; --s-qr: #0A0E23;
  --s-phone: #000000; --s-screen: #F8FAFC; --s-ground: #1E2340;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; scrollbar-color: var(--line) var(--bg); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.65 var(--font-body); -webkit-font-smoothing: antialiased; overflow-x: hidden;
  /* clip no crea contenedor de desplazamiento: ni un ancla ni el dedo pueden mover la página de lado */
  overflow-x: clip;
  transition: background-color .5s var(--ease), color .5s var(--ease);
}
img { max-width: 100%; }
a { color: var(--hl); text-underline-offset: 3px; }
::selection { background: var(--brand); color: var(--on-brand); }
:focus-visible { outline: 2px solid var(--hl); outline-offset: 3px; border-radius: var(--radius-md); }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: 20px; }
@media (min-width: 640px) { .wrap { padding-inline: 32px; } }
.icon {
  font-size: 22px; width: 1em; height: 1em; fill: currentColor;
  display: inline-block; vertical-align: middle; flex-shrink: 0; overflow: visible;
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.wa { width: 20px; height: 20px; fill: currentColor; flex-shrink: 0; }
.mark { width: 34px; height: 34px; display: block; flex-shrink: 0; }
.st { width: 16px; height: 16px; fill: var(--star); }
.stars { display: inline-flex; gap: 2px; }
.sample { font-size: 12px; color: var(--ink-soft); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Fondo: manchas de luz azul, como el estilo de referencia */
.glow { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.glow::before, .glow::after { content: ""; position: absolute; border-radius: 50%; filter: blur(60px); }
.glow::before { width: 620px; height: 620px; left: -220px; top: -160px; background: var(--blob-a); }
.glow::after { width: 520px; height: 520px; right: -200px; top: 30%; background: var(--blob-b); }

/* Títulos */
.display {
  font: 400 clamp(42px, 11vw, 92px)/.98 var(--font-display);
  letter-spacing: -0.025em; margin: 0; text-wrap: balance;
}
.display em { font-style: normal; color: var(--hl); }
.h2 {
  font: 400 clamp(32px, 7.5vw, 60px)/1.02 var(--font-display);
  letter-spacing: -0.02em; margin: 0; text-wrap: balance;
}
.lead { margin: 0; font-size: 19px; color: var(--ink-muted); max-width: 52ch; }

/* Botones con flecha */
.btn {
  --arrow: 0;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 24px; border-radius: var(--radius-lg); border: 1px solid transparent;
  background: var(--brand); color: var(--on-brand); font: 500 17px/1.1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: scale .35s var(--ease), background-color .3s var(--ease), border-color .3s var(--ease);
}
.btn .arrow { font-size: 20px; transition: translate .35s var(--ease); }
.btn:hover { scale: 1.035; background: var(--brand-hover); }
.btn:hover .arrow { translate: 3px -3px; }
.btn:active { scale: .98; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: var(--surface); border-color: var(--hl); }
.btn--sm { min-height: 42px; padding: 0 16px; font-size: 15px; }
.link {
  display: inline-flex; align-items: center; gap: 4px; color: var(--hl); text-decoration: none; font-weight: 500;
  background: linear-gradient(currentColor 0 0) left bottom / 0 1px no-repeat; transition: background-size .4s var(--ease);
}
.link:hover { background-size: 100% 1px; }
.link .icon { font-size: 18px; transition: translate .35s var(--ease); }
.link:hover .icon { translate: 2px -2px; }

/* Aparición al bajar: parte de un estado visible y solo se oculta lo que está fuera de pantalla */
[data-reveal] { transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal].pre { opacity: 0; transform: translateY(32px); filter: blur(10px); }

/* ---------- Menú flotante ---------- */
.nav-shell { position: fixed; z-index: 30; left: 0; right: 0; top: calc(env(safe-area-inset-top, 0px) + 12px); padding-inline: 12px; pointer-events: none; }
/* La caja fija incluye el menú cerrado: solo la barra y el menú abierto reciben toques; el resto deja pasar a la página */
.nav, .menu-panel.is-open { pointer-events: auto; }
.nav {
  max-width: 1120px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 8px 8px 8px 14px; border-radius: var(--radius-xl); background: var(--nav-bg); border: 1px solid var(--nav-line);
  -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px);
  box-shadow: var(--shadow); transition: background-color .5s var(--ease);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand b { font: 700 20px/1 var(--font-display); }
.brand b span { color: var(--hl); }
.nav-links { display: none; gap: 26px; }
.nav-links a { position: relative; color: var(--ink-muted); text-decoration: none; font-size: 15px; font-weight: 500; transition: color .3s; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1.5px; background: var(--hl); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-actions { display: flex; align-items: center; gap: 6px; }
.icon-btn {
  display: inline-grid; place-items: center; width: 42px; height: 42px; padding: 0; cursor: pointer;
  background: transparent; color: var(--ink); border: 1px solid transparent; border-radius: var(--radius-lg);
  transition: background-color .3s, border-color .3s;
}
.icon-btn:hover { background: var(--hl-soft); }
.icon-btn .icon { transition: rotate .6s var(--ease), scale .6s var(--ease); }
.theme-btn:active .icon { rotate: 180deg; scale: .7; }
.nav .btn--sm .label { display: none; }
.menu-panel {
  max-width: 1120px; margin: 8px auto 0; border-radius: var(--radius-xl); background: var(--nav-bg); border: 1px solid var(--nav-line);
  -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px); box-shadow: var(--shadow);
  padding: 8px 20px 20px; display: grid;
  transform-origin: top; transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s;
}
.menu-panel:not(.is-open) { opacity: 0; transform: translateY(-8px) scale(.98); visibility: hidden; }
.menu-panel a:not(.btn) {
  font: 400 26px/1 var(--font-display); color: var(--ink); text-decoration: none;
  padding-block: 18px; border-bottom: 1px solid var(--line);
}
.menu-panel .btn { margin-top: 18px; }
@media (min-width: 420px) { .nav .btn--sm .label { display: inline; } }
@media (min-width: 960px) {
  .nav { padding-left: 18px; }
  .nav-links { display: flex; }
  .menu-btn, .menu-panel { display: none; }
}

/* ---------- Hero ---------- */
.hero { padding-block: 120px 72px; }
.hero .wrap { display: grid; gap: 40px; align-items: center; }
.hero-copy { display: grid; gap: 28px; justify-items: start; }
.hero-visual { position: relative; width: 100%; max-width: 480px; justify-self: center; }
.hero-visual svg { display: block; width: 100%; height: auto; }
.chip-card {
  position: absolute; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius-xl);
  box-shadow: var(--shadow); padding: 12px 14px; display: grid; gap: 2px; font-size: 13px; line-height: 1.3; min-width: 136px;
  transition: background-color .5s var(--ease);
}
.chip-card b { font: 400 28px/1 var(--font-display); color: var(--hl); }
.chip-card .k { color: var(--ink-muted); }
.chip-card--blue { background: var(--brand); color: var(--on-brand); border-color: transparent; }
.chip-card--blue b, .chip-card--blue .k { color: var(--on-brand); }
.hero-visual .c1 { left: -6px; bottom: 18%; }
.hero-visual .c2 { right: -6px; top: 4%; }
.hero-visual .sample { position: absolute; right: 8px; bottom: -6px; }
.hero-note { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 0; color: var(--ink-soft); font-size: 14px; }
.hero-note span { display: inline-flex; align-items: center; gap: 6px; }
.hero-note .icon { font-size: 18px; color: var(--success); }
@media (max-width: 899px) { .hero-visual { order: -1; } }
@media (min-width: 900px) {
  .hero { padding-block: 168px 120px; }
  .hero .wrap { grid-template-columns: 1.15fr .85fr; gap: 56px; }
}

/* Ilustración del cartel */
.s-card { fill: var(--s-card); stroke: var(--s-card-line); }
.s-text { fill: var(--s-text); }
.s-muted { fill: var(--s-muted); }
.s-act { fill: var(--brand); }
.s-star { fill: var(--star); }
.s-qr-bg { fill: var(--s-qr-bg); stroke: var(--line); }
.s-qr { fill: var(--s-qr); }
.s-nfc { fill: none; stroke: var(--hl); }
.s-phone { fill: var(--s-phone); }
.s-screen { fill: var(--s-screen); }
.s-ground { stroke: var(--s-ground); }
.s-base { fill: var(--s-card); stroke: var(--s-ground); }
.s-btn { fill: var(--brand); }
.wave { fill: none; stroke: var(--hl); stroke-width: 3; stroke-linecap: round; opacity: .25; }
@media (prefers-reduced-motion: no-preference) {
  .wave { animation: pulse 2.4s var(--ease) infinite; }
  .wave:nth-of-type(2) { animation-delay: .25s; }
  .wave:nth-of-type(3) { animation-delay: .5s; }
}
@keyframes pulse { 0%, 100% { opacity: .2; } 40% { opacity: 1; } }

/* ---------- Panel azul: problema + producto ---------- */
.statement { padding-block: 24px 96px; }
.panel {
  background: var(--panel); color: var(--panel-ink); border-radius: var(--radius-xl);
  padding: 36px 20px 20px; display: grid; gap: 36px; overflow: hidden;
}
.panel-text { display: grid; gap: 18px; max-width: 760px; }
.panel-text p { margin: 0; font: 500 clamp(21px, 4.6vw, 30px)/1.35 var(--font-heading); text-wrap: pretty; }
.panel-text p span { color: var(--panel-muted); }
.dash { display: grid; gap: 12px; }
.dcard { background: var(--panel-card); color: var(--panel-card-ink); border-radius: var(--radius-lg); padding: 16px; display: grid; gap: 12px; min-width: 0; transition: background-color .5s var(--ease); }
.dcard .dh { margin: 0; font: 400 15px/1.2 var(--font-heading); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 8px; }
.dcard .dh small { font: 400 12px/1.2 var(--font-body); color: var(--panel-card-muted); }
.big { font: 400 44px/1 var(--font-display); color: var(--hl); font-variant-numeric: tabular-nums; }
.big { white-space: nowrap; }
.big small { display: block; margin-top: 6px; font: 400 13px/1.2 var(--font-body); color: var(--panel-card-muted); white-space: normal; }
.bars { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; align-items: end; height: 150px; padding-top: 18px; border-bottom: 1px solid var(--panel-card-line); }
.bars div { position: relative; background: var(--brand); border-radius: 4px 4px 0 0; opacity: .85; height: var(--h); }
.bars div.max { opacity: 1; }
.bars div.max::before { content: attr(data-v); position: absolute; top: -18px; left: 50%; translate: -50% 0; font: 500 12px/1 var(--font-body); color: var(--panel-card-ink); }
.days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; text-align: center; font-size: 11px; color: var(--panel-card-muted); }
.minis { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.minis .big { font-size: 36px; }
.tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: var(--radius-xl); background: rgba(255, 255, 255, .14); justify-self: start; }
.tab {
  border: 0; cursor: pointer; padding: 10px 16px; border-radius: var(--radius-lg); background: transparent;
  color: var(--panel-ink); font: 500 15px/1 var(--font-body); transition: background-color .35s var(--ease), color .35s var(--ease);
}
.tab[aria-selected="true"] { background: var(--panel-ink); color: #1765C2; }
.tab:focus-visible { outline-color: var(--panel-ink); }
.dash:not([hidden]) { animation: rise .7s var(--ease); }
@keyframes rise { from { opacity: 0; translate: 0 12px; } }
.hbars { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.hbars li { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; font-size: 13px; align-items: center; }
.hbars b { font-variant-numeric: tabular-nums; }
.hbars i { grid-column: 1 / -1; height: 8px; border-radius: 4px; background: var(--panel-card-line); position: relative; overflow: hidden; }
.hbars i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); min-width: 4px; background: var(--brand); border-radius: 4px; }
.hbars--stars span { display: inline-flex; align-items: center; gap: 4px; }
.hbars--stars .st { width: 12px; height: 12px; }
.hint { margin: 0; font-size: 13px; color: var(--panel-card-muted); }
.quote { margin: 0; font-size: 15px; }
.suggest { background: var(--hl-soft); border-radius: var(--radius-lg); padding: 12px; display: grid; gap: 8px; font-size: 13px; }
.suggest .t { display: flex; align-items: center; gap: 6px; font-weight: 500; color: var(--hl); }
.suggest .t .icon { font-size: 18px; }
.suggest p { margin: 0; }
.acts { display: flex; gap: 8px; }
.pillb--ghost { background: transparent !important; color: var(--hl) !important; border: 1px solid var(--hl); }
.panel .sample { color: var(--panel-muted); }
@media (min-width: 900px) {
  .panel { padding: 56px 48px 48px; gap: 32px; }
  .dash { grid-template-columns: 1.3fr 1fr 1.1fr; align-items: start; }
  .minis { grid-template-columns: 1fr; }
}

/* ---------- Secciones de una idea ---------- */
.feature { position: relative; padding-block: 96px; text-align: center; }
.feature .wrap { position: relative; display: grid; gap: 22px; justify-items: center; }
.feature .lead { margin-inline: auto; }
.floaters { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 18px; }
.fcard {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-xl); box-shadow: var(--shadow);
  padding: 14px 16px; text-align: left; font-size: 14px; line-height: 1.4; width: min(280px, 100%); display: grid; gap: 8px;
  transition: background-color .5s var(--ease);
}
.fcard .t { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.fcard .t .icon { color: var(--hl); font-size: 20px; }
.fcard p { margin: 0; color: var(--ink-muted); }
.fcard .row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.fcard .num { font: 400 26px/1 var(--font-display); color: var(--hl); font-variant-numeric: tabular-nums; }
.pillb { font-size: 12px; font-weight: 500; padding: 4px 10px; border-radius: var(--radius-xl); background: var(--brand); color: var(--on-brand); }
.fcard .warn { color: var(--danger); }
.tagp { display: inline-block; padding: 3px 10px; border-radius: var(--radius-xl); background: var(--hl-soft); color: var(--hl); font: 500 12px/1.3 var(--font-body); }
@media (min-width: 1040px) {
  .feature { padding-block: 150px; }
  .floaters { position: absolute; inset: 0; margin: 0; pointer-events: none; display: block; }
  .floaters .fcard { position: absolute; pointer-events: auto; width: 260px; }
  .floaters .fcard:nth-child(1) { left: 0; top: -30px; }
  .floaters .fcard:nth-child(2) { right: 0; bottom: -40px; }
  .feature .copy { max-width: 620px; display: grid; gap: 22px; justify-items: center; }
}

/* ---------- Reseñas de ejemplo ---------- */
.reviews { padding-block: 96px; overflow: hidden; }
.reviews-head { display: grid; gap: 18px; justify-items: center; text-align: center; margin-bottom: 44px; }
.marquee { overflow-x: auto; scroll-snap-type: x mandatory; padding-block: 8px 20px; scrollbar-width: none; }
.marquee::-webkit-scrollbar { display: none; }
.track { display: flex; gap: 16px; width: max-content; padding-inline: 20px; }
.marquee + .marquee { margin-top: 4px; }
.is-looping { overflow: hidden; scroll-snap-type: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.is-looping .track { animation: loop var(--dur, 70s) linear infinite; padding-inline: 0; }
.is-looping.rev .track { animation-direction: reverse; }
.is-looping:hover .track { animation-play-state: paused; }
@keyframes loop { to { transform: translateX(calc(-50% - 8px)); } }
.review {
  scroll-snap-align: center; width: 320px; flex-shrink: 0; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-xl); padding: 20px; display: grid; gap: 12px; align-content: start;
  transition: background-color .5s var(--ease), border-color .3s;
}
.review:hover { border-color: var(--hl); }
.review .top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.biz { display: flex; align-items: center; gap: 10px; }
.biz .ico { width: 36px; height: 36px; border-radius: var(--radius-lg); display: grid; place-items: center; background: var(--hl-soft); color: var(--hl); }
.biz b { display: block; font: 400 15px/1.2 var(--font-heading); }
.biz small { color: var(--ink-soft); font-size: 12px; }
.review .g { width: 18px; height: 18px; flex-shrink: 0; }
.review p { margin: 0; font-size: 15px; line-height: 1.55; }
.review .by { font-size: 13px; color: var(--ink-soft); }
.reply { border-left: 2px solid var(--hl); padding-left: 12px; font-size: 13px; color: var(--ink-muted); }
.reply b { color: var(--ink); font-weight: 500; }
.reviews .note { text-align: center; margin: 24px 0 0; }

/* ---------- Confianza ---------- */
.trust { padding-block: 96px; }
.trust-grid { display: grid; gap: 0; margin-top: 44px; border-top: 1px solid var(--line); }
.trust-grid div { padding-block: 28px; border-bottom: 1px solid var(--line); display: grid; gap: 8px; }
.trust-grid h3 { margin: 0; font: 400 22px/1.3 var(--font-heading); }
.trust-grid p { margin: 0; color: var(--ink-muted); max-width: 52ch; }
@media (min-width: 900px) { .trust-grid { grid-template-columns: repeat(3, 1fr); gap: 40px; border: 0; } .trust-grid div { border-bottom: 0; border-top: 1px solid var(--line); } }

/* ---------- Piloto y planes ---------- */
.pricing { padding-block: 96px; }
.pilot {
  background: var(--panel); color: var(--panel-ink); border-radius: var(--radius-xl); padding: 32px 20px;
  display: grid; gap: 24px; margin-top: 44px;
}
.pilot h3 { margin: 0; font: 400 clamp(26px, 6vw, 40px)/1.05 var(--font-display); text-wrap: balance; }
.pilot p { margin: 0; color: var(--panel-muted); max-width: 52ch; }
.pilot .btn { background: var(--panel-ink); color: var(--brand); justify-self: start; }
.pilot .btn:hover { background: var(--panel-ink); }
.plans { display: grid; gap: 16px; margin-top: 16px; }
.plan {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-xl); padding: 28px 22px;
  display: grid; gap: 18px; align-content: start; transition: background-color .5s var(--ease), border-color .3s, translate .4s var(--ease);
}
.plan:hover { translate: 0 -4px; border-color: var(--hl); }
.plan--plus { border: 2px solid var(--brand); }
.plan-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.plan h3 { margin: 0; font: 400 30px/1 var(--font-display); }
.badge { font: 500 12px/1 var(--font-body); padding: 7px 10px; border-radius: var(--radius-xl); background: var(--brand); color: var(--on-brand); white-space: nowrap; }
.plan .for { margin: 0; color: var(--ink-muted); font-size: 16px; min-height: 3.3em; }
.plan .for strong { color: var(--ink); font-weight: 500; }
.price { display: grid; gap: 4px; padding-block: 18px; border-block: 1px solid var(--line); }
.price b { font: 400 clamp(34px, 7vw, 44px)/1 var(--font-display); color: var(--hl); }
.price span { color: var(--ink-soft); font-size: 14px; }
.incl { margin: 6px 0 0; font: 500 13px/1 var(--font-body); color: var(--ink-soft); }
.feat { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 15px; }
.feat li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); }
.feat li .icon { color: var(--hl); font-size: 20px; margin-top: 1px; }
.feat li.off { color: var(--ink-soft); }
.feat li.off .icon { color: var(--ink-soft); }
.feat li.off span:last-child { text-decoration: line-through; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); }
.plan .btn { width: 100%; }
@media (min-width: 900px) {
  .pilot { grid-template-columns: 1fr auto; align-items: center; padding: 44px 48px; }
  .plans { grid-template-columns: 1fr 1fr; gap: 16px; }
  .plan { padding: 36px 32px; }
}

/* ---------- Google y simulador ---------- */
.rank { padding-block: 96px; }
.rank-head { display: grid; gap: 22px; max-width: 760px; }
.factors { list-style: none; margin: 48px 0 0; padding: 0; display: grid; gap: 16px; counter-reset: f; }
.factors li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-xl); padding: 24px; display: grid; gap: 10px; align-content: start; transition: background-color .5s var(--ease); }
.factors li > .icon { color: var(--hl); font-size: 28px; }
.factors h3 { margin: 0; font: 400 24px/1.1 var(--font-display); }
.factors p { margin: 0; color: var(--ink-muted); font-size: 16px; }
.factors .is-key { border: 2px solid var(--brand); }
.factors .tagp { justify-self: start; }
.source { margin: 20px 0 0; font-size: 14px; color: var(--ink-soft); max-width: 70ch; }
.sim { margin-top: 56px; display: grid; gap: 16px; }
.sim-controls, .maps { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-xl); padding: 24px 20px; display: grid; gap: 16px; align-content: start; min-width: 0; transition: background-color .5s var(--ease); }
.sim-controls h3 { margin: 0; font: 400 22px/1.2 var(--font-heading); }
.sim-controls label { font-size: 15px; color: var(--ink-muted); }
.sim-controls output { font: 400 18px/1 var(--font-display); color: var(--hl); }
input[type="range"] { width: 100%; accent-color: var(--brand); height: 28px; cursor: pointer; }
#sim-play { justify-self: start; }
.sim-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sim-stats div { display: grid; gap: 4px; padding: 12px; border-radius: var(--radius-lg); background: var(--surface-2); }
.sim-stats span { font-size: 12px; color: var(--ink-soft); line-height: 1.2; }
.sim-stats b { font: 400 28px/1 var(--font-display); color: var(--hl); font-variant-numeric: tabular-nums; }
.sim-chart { width: 100%; height: auto; display: block; overflow: visible; }
.sim-chart .grid line { stroke: var(--line); stroke-width: 1; }
.sim-chart text { fill: var(--ink-soft); font: 10px var(--font-body); }
.sim-chart .ylab text { text-anchor: end; }
.sim-chart .xlab text { text-anchor: middle; }
.sim-chart .xlab text:first-child { text-anchor: start; }
.sim-chart .xlab text:last-child { text-anchor: end; }
.sim-chart .proj { fill: none; stroke: var(--ink-soft); stroke-width: 1.5; stroke-dasharray: 4 4; opacity: .5; }
.sim-chart .area { fill: var(--brand); opacity: .14; }
.sim-chart .line { fill: none; stroke: var(--brand); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.sim-chart .dot { fill: var(--brand); stroke: var(--surface); stroke-width: 2; }
.maps-bar { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 24px; background: var(--surface-2); color: var(--ink-muted); font-size: 15px; }
.maps-bar .icon { color: var(--ink-soft); }
.maps-list { list-style: none; margin: 0; padding: 0; position: relative; height: calc(5 * 72px); }
.maps-list li {
  position: absolute; left: 0; right: 0; height: 64px; display: grid; grid-template-columns: 30px 1fr auto; gap: 12px; align-items: center;
  padding: 0 12px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface);
  transform: translateY(calc(var(--i) * 72px)); transition: transform .9s var(--ease), background-color .5s var(--ease), border-color .5s var(--ease);
}
.maps-list .pos { font: 400 20px/1 var(--font-display); color: var(--ink-soft); text-align: center; }
.maps-list .nm { font: 400 15px/1.2 var(--font-heading); min-width: 0; }
.maps-list .nm small { display: flex; align-items: center; gap: 4px; margin-top: 4px; font: 400 13px/1 var(--font-body); color: var(--ink-muted); }
.maps-list .nm .st { width: 13px; height: 13px; }
.maps-list .km { font-size: 12px; color: var(--ink-soft); }
.maps-list li.you { border: 2px solid var(--brand); background: var(--hl-soft); }
.maps-list li.you .pos { color: var(--hl); }
.sim-note { margin: 16px 0 0; max-width: 80ch; }
@media (min-width: 900px) {
  .factors { grid-template-columns: repeat(3, 1fr); }
  .sim { grid-template-columns: 1fr 1fr; gap: 16px; }
  .sim-controls, .maps { padding: 32px; }
}
@media (prefers-reduced-motion: reduce) { .maps-list li { transition: none; } }

/* ---------- Preguntas ---------- */
.faq-sec { padding-block: 96px; }
.faq-sec .wrap { display: grid; gap: 40px; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding-block: 24px; font: 400 19px/1.35 var(--font-heading); transition: color .3s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--hl); }
.faq summary .icon { transition: rotate .5s var(--ease); color: var(--hl); }
.faq details[open] summary .icon { rotate: 45deg; }
.faq .answer { padding-bottom: 24px; color: var(--ink-muted); max-width: 62ch; }
.faq details[open] .answer { animation: drop .6s var(--ease); }
@keyframes drop { from { opacity: 0; translate: 0 -8px; } }
.faq .answer p { margin: 0; }
@media (min-width: 900px) { .faq-sec .wrap { grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; } }

/* ---------- Cierre ---------- */
.final { padding-block: 120px; text-align: center; }
.final .wrap { display: grid; gap: 28px; justify-items: center; }
.final .display { font-size: clamp(38px, 9vw, 80px); max-width: 15ch; }

/* ---------- Pie ---------- */
footer { background: var(--foot-bg); color: var(--foot-ink); padding-block: 56px 112px; font-size: 15px; }
.foot { display: grid; gap: 32px; }
.foot .brand { color: var(--foot-ink); }
.foot .brand b span { color: var(--foot-hl); }
.foot p { margin: 12px 0 0; color: var(--foot-muted); max-width: 34ch; }
.foot h4 { margin: 0 0 12px; font: 500 13px/1 var(--font-body); color: var(--foot-muted); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot li { color: var(--foot-muted); display: flex; align-items: center; gap: 8px; }
.foot li .wa { width: 18px; height: 18px; color: var(--foot-hl); }
.foot a { color: var(--foot-ink); text-decoration: none; }
.foot a:hover { color: var(--foot-hl); text-decoration: underline; }
.sel { user-select: all; }
.foot-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--foot-line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--foot-muted); }
.by { display: flex; align-items: center; gap: 10px; }
.by img { height: 40px; width: auto; display: block; }
@media (min-width: 900px) { .foot { grid-template-columns: 1.5fr repeat(3, 1fr); } footer { padding-bottom: 96px; } }

/* ---------- Barra inferior con la oferta ---------- */
.offer-bar {
  position: fixed; z-index: 25; left: 50%; bottom: calc(env(safe-area-inset-bottom, 0px) + 14px);
  translate: -50% 0; width: min(560px, calc(100% - 24px));
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 8px 8px 8px 18px; border-radius: var(--radius-xl);
  background: #0A0E23; color: #F8FAFC; box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .45);
  font-size: 14px; line-height: 1.3; transition: translate .6s var(--ease), opacity .6s var(--ease);
}
.offer-bar.is-away { translate: -50% 140%; opacity: 0; }
.offer-bar .btn { min-height: 44px; padding: 0 16px; font-size: 15px; flex-shrink: 0; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal], .offer-bar, .menu-panel, .btn, .btn .arrow, .link .icon, .plan { transition: none; }
  .faq details[open] .answer { animation: none; }
}

/* ================= Variante Galería: escala tipográfica y logo ================= */
.logo-oscuro { display: none; }

:root[data-theme="dark"] .logo-claro { display: none; }
:root[data-theme="dark"] .logo-oscuro { display: revert; }
.brand { gap: 0; }
.logo-h { display: block; height: 30px; width: auto; }
.foot .logo-h { height: 36px; }
.brand .logo-oscuro { display: none; }

:root[data-theme="dark"] .brand .logo-oscuro { display: block; }
.foot .brand .logo-h { display: block; }

body { font-size: 17px; letter-spacing: -0.005em; }
h1, h2, h3, .display, .h2 { font-kerning: normal; }
.display, .h2 { font-weight: 400; letter-spacing: -0.035em; }
.display { font-size: min(11.4vw, 60px); line-height: 1; }
.h2 { font-size: min(8.2vw, 44px); line-height: 1.04; }
.lead { font-size: clamp(17px, 1.25vw + 1px, 24px); line-height: 1.4; letter-spacing: -0.01em; }
.eyebrow {
  margin: 0; font: 400 12.5px/1.3 var(--font-mono); letter-spacing: -0.01em; color: var(--ink-soft);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--hl); flex-shrink: 0; }
.panel-text .eyebrow--panel { font: 400 12.5px/1.3 var(--font-mono); color: var(--panel-muted); }
.eyebrow--panel::before { background: var(--panel-ink); }
.rank-head > .eyebrow, .panel-text > .eyebrow { justify-self: start; }
.copy > .eyebrow, .reviews-head > .eyebrow { justify-self: center; }

/* Botones como la referencia: peso regular, texto algo más grande, interletra negativa */
.btn { font: 400 17px/1 var(--font-body); letter-spacing: -0.02em; min-height: 56px; padding: 0 26px; }
.btn--sm { font-size: 15px; min-height: 42px; padding: 0 16px; }
.nav-links a { font-weight: 400; letter-spacing: -0.01em; }
.menu-panel a:not(.btn) { font: 400 30px/1 var(--font-display); letter-spacing: -0.03em; }

/* Números y datos: regular con cifras tabulares; metadatos en monoespaciada */
.big, .chip-card b, .fcard .num, .sim-stats b, .price b, .maps-list .pos, .sim-controls output { font-weight: 400; letter-spacing: -0.03em; }
.price b { letter-spacing: -0.035em; }
.plan h3 { font-size: clamp(30px, 3vw, 40px); letter-spacing: -0.03em; }
.pilot h3, .factors h3, .trust-grid h3 { letter-spacing: -0.025em; }
.factors h3 { font-size: 26px; }
.trust-grid h3 { font-size: 24px; }
.panel-text p { font-weight: 400; letter-spacing: -0.02em; }
.sample, .badge, .tagp, .review .by, .incl, .maps-list .km, .days, .foot h4, .hero-visual .sample, .dcard .dh small, .big small, .foot-bottom {
  font-family: var(--font-mono); letter-spacing: -0.01em;
}
.badge, .tagp { font-weight: 400; }
.faq summary { font-weight: 400; letter-spacing: -0.015em; }
.faq-head { display: grid; gap: 18px; justify-items: start; }
.feature .copy { display: grid; gap: 20px; justify-items: center; }

/* Hero: título a lo ancho, debajo el texto a la izquierda y el cartel a la derecha */
.hero .wrap { gap: 32px; }
.hero-head { display: grid; gap: 22px; justify-items: start; }
.hero-head .display { max-width: 15ch; }
.hero-visual { order: 0; }
@media (max-width: 899px) { .hero-visual { order: 0; } }

/* Cierre con el ícono */
.final-icon { width: clamp(112px, 16vw, 168px); aspect-ratio: 1; }
.final-icon img { width: 100%; height: 100%; display: block; }
.final-icon .logo-oscuro { display: none; }

:root[data-theme="dark"] .final-icon .logo-oscuro { display: block; }
@media (prefers-reduced-motion: no-preference) {
  .final-icon img { animation: flota 6s ease-in-out infinite; }
}
@keyframes flota { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.final .display { max-width: 16ch; }

@media (min-width: 651px) {
  .display { font-size: 8.2vw; }
  .h2 { font-size: 5.6vw; }
  .final .display { font-size: 7.4vw; }
}
@media (min-width: 900px) {
  .hero { padding-block: 148px 112px; }
  .hero .wrap { grid-template-columns: .95fr 1.05fr; column-gap: 56px; row-gap: 48px; align-items: end; }
  .hero-head { grid-column: 1 / -1; }
  .hero-copy { align-self: center; }
  .hero-visual { justify-self: end; }
}
@media (min-width: 1025px) {
  .display { font-size: min(6.4vw, 124px); }
  .h2 { font-size: min(4.3vw, 84px); line-height: 1.02; }
  .final .display { font-size: min(6vw, 116px); }
  .eyebrow, .panel-text .eyebrow--panel { font-size: 13.5px; }
}

/* ================= Movimiento ================= */
:root { --sg-bg: #FFFFFF; --sg-ink: #111111; --sg-muted: #6B6B6B; --sg-line: #DCDFE6; }

:root[data-theme="dark"] { --sg-bg: #0D0D0D; --sg-ink: #FFFFFF; --sg-muted: #A3A3A3; --sg-line: #2B2F3D; }
.sg-bg { fill: var(--sg-bg); stroke: var(--sg-line); stroke-width: 1.2; }
.sign { filter: drop-shadow(0 14px 22px rgba(10, 14, 35, .22)); }
.sg-ink { fill: var(--sg-ink); }
.sg-muted { fill: var(--sg-muted); }
.sg-brk, .sg-nfc, .sg-qr-ico { stroke: var(--sg-ink); }
.sg-fill { fill: var(--sg-ink); stroke: none; }
.sg-tag { fill: var(--sg-muted); }

/* Escena del toque: el estado quieto es la reseña lista para publicar; el ciclo solo corre con .is-on */
.scr-a, .scr-c { opacity: 0; }
.pst polygon { fill: #FBBF24; }
.ph-move, .tl, .pbtn, .pst { transform-box: fill-box; }
.tl { transform-origin: left center; }
.pbtn { transform-origin: center; }
.pst { transform-origin: center; }
.hero-visual.is-on .ph-move { animation: ph-move 9s var(--ease) infinite; }
.hero-visual.is-on .wave { animation: w-on 9s linear infinite; }
.hero-visual.is-on .wave:nth-of-type(2) { animation-delay: .12s; }
.hero-visual.is-on .wave:nth-of-type(3) { animation-delay: .24s; }
.hero-visual.is-on .sg-w1, .hero-visual.is-on .sg-w2 { animation: w-on 9s linear infinite; }
.hero-visual.is-on .sg-w2 { animation-delay: .12s; }
.hero-visual.is-on .scr-a { animation: scr-a 9s linear infinite; }
.hero-visual.is-on .scr-b { animation: scr-b 9s linear infinite; }
.hero-visual.is-on .scr-c { animation: scr-c 9s var(--ease) infinite; }
.hero-visual.is-on .pst polygon { animation: st-on 9s linear infinite; }
.hero-visual.is-on .pst { animation: st-pop 9s var(--ease) infinite; }
.hero-visual.is-on .pst:nth-of-type(2), .hero-visual.is-on .pst:nth-of-type(2) polygon { animation-delay: 0.22s; }
.hero-visual.is-on .pst:nth-of-type(3), .hero-visual.is-on .pst:nth-of-type(3) polygon { animation-delay: 0.44s; }
.hero-visual.is-on .pst:nth-of-type(4), .hero-visual.is-on .pst:nth-of-type(4) polygon { animation-delay: 0.66s; }
.hero-visual.is-on .pst:nth-of-type(5), .hero-visual.is-on .pst:nth-of-type(5) polygon { animation-delay: 0.88s; }
.hero-visual.is-on .tl { animation: tl 9s var(--ease) infinite; }
.hero-visual.is-on .tl:nth-of-type(3) { animation-delay: .15s; }
.hero-visual.is-on .tl:nth-of-type(4) { animation-delay: .3s; }
.hero-visual.is-on .pbtn { animation: pbtn 9s var(--ease) infinite; }
@keyframes ph-move {
  0% { transform: translate(70px, 12px); opacity: 0; } 7% { opacity: 1; } 17%, 82% { transform: translate(-6px, 0); opacity: 1; }
  93% { transform: translate(70px, 12px); opacity: 0; } 100% { transform: translate(70px, 12px); opacity: 0; }
}
@keyframes w-on { 0%, 16% { opacity: .15; } 19%, 24%, 29% { opacity: 1; } 21.5%, 26.5% { opacity: .3; } 34%, 100% { opacity: .15; } }
@keyframes scr-a { 0%, 30% { opacity: 1; } 33%, 97% { opacity: 0; } 100% { opacity: 1; } }
@keyframes scr-b { 0%, 30% { opacity: 0; } 33%, 62% { opacity: 1; } 65%, 100% { opacity: 0; } }
@keyframes scr-c { 0%, 63% { opacity: 0; } 65.5%, 84% { opacity: 1; } 89%, 100% { opacity: 0; } }
@keyframes st-on { 0%, 38% { fill: #D5DBEA; } 39.5%, 64% { fill: #FBBF24; } 66%, 100% { fill: #D5DBEA; } }
@keyframes st-pop { 0%, 38% { transform: scale(1); } 39.5% { transform: scale(1.35); } 42%, 100% { transform: scale(1); } }
@keyframes tl { 0%, 46% { transform: scaleX(0); } 52%, 63% { transform: scaleX(1); } 66%, 100% { transform: scaleX(0); } }
@keyframes pbtn { 0%, 57% { transform: scale(1); } 59% { transform: scale(.88); } 61.5%, 100% { transform: scale(1); } }
.chip-card b.pop { animation: pop .6s var(--ease); }
@keyframes pop { 0% { scale: 1; } 35% { scale: 1.22; } 100% { scale: 1; } }

.hero-visual .c1 { left: auto; right: -6px; top: auto; bottom: 3%; }

/* Panel: barras que crecen y números que cuentan */
.bars div { transform-origin: bottom; transition: transform 1s var(--ease); }
.bars div:nth-child(2) { transition-delay: 0.07s; }
.bars div:nth-child(3) { transition-delay: 0.14s; }
.bars div:nth-child(4) { transition-delay: 0.21s; }
.bars div:nth-child(5) { transition-delay: 0.28s; }
.bars div:nth-child(6) { transition-delay: 0.35s; }
.bars div:nth-child(7) { transition-delay: 0.42s; }
.dash.pre-anim .bars div { transform: scaleY(0); }
.hbars i::after { transform-origin: left; transition: transform 1.1s var(--ease) .25s; }
.dash.pre-anim .hbars i::after { transform: scaleX(0); }

/* Tarjetas de las funciones */
.fcard .stars .st { transition: fill .35s var(--ease), transform .45s var(--ease); transform-box: fill-box; transform-origin: center; }
.fcard .stars .st:nth-child(2) { transition-delay: 0.14s; }
.fcard .stars .st:nth-child(3) { transition-delay: 0.28s; }
.fcard .stars .st:nth-child(4) { transition-delay: 0.42s; }
.fcard .stars .st:nth-child(5) { transition-delay: 0.56s; }
.fcard.pre-st .stars .st { fill: var(--line); transform: scale(.6); }
.fcard.ring .warn { animation: timbre .9s var(--ease) 2; transform-origin: 50% 20%; }
@keyframes timbre { 0%, 100% { rotate: 0deg; } 20% { rotate: -16deg; } 40% { rotate: 13deg; } 60% { rotate: -9deg; } 80% { rotate: 5deg; } }
.typed::after { content: ""; display: inline-block; width: 1.5px; height: 1em; margin-left: 2px; vertical-align: -2px; background: var(--hl); animation: cursor 1s steps(1) infinite; }
.typed.done::after { display: none; }
@keyframes cursor { 50% { opacity: 0; } }
.pillb { transition: background-color .4s var(--ease), scale .4s var(--ease); }
.pillb.ok { background: var(--success); scale: 1.06; }
@media (prefers-reduced-motion: no-preference) {
  .fcard .icon[aria-hidden]:not(.warn) { animation: late 2.4s ease-in-out infinite; }
}
@keyframes late { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }

/* Robot del cierre: parpadea y sus ondas laten */
.final-icon svg { width: 100%; height: 100%; display: block; }
.final-icon .logo-oscuro { display: none; }

:root[data-theme="dark"] .final-icon .logo-claro { display: none; }
:root[data-theme="dark"] .final-icon .logo-oscuro { display: block; }
.robot .r-eyes, .robot .r-glow { transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: no-preference) {
  .final-icon svg { animation: flota 6s ease-in-out infinite; }
  .robot .r-eyes, .robot .r-glow { animation: parpadeo 4.6s ease-in-out infinite; }
  .robot .r-waves path { animation: onda 2.2s var(--ease) infinite; }
  .robot .r-waves path:nth-child(2) { animation-delay: .22s; }
  .robot .r-waves path:nth-child(3) { animation-delay: .44s; }
}
@keyframes parpadeo { 0%, 88%, 100% { transform: scaleY(1); } 91% { transform: scaleY(.08); } 94% { transform: scaleY(1); } }
@keyframes onda { 0%, 100% { opacity: .3; } 40% { opacity: 1; } }

/* Cómo funciona: video */
.howto { padding-block: 24px 64px; }
.howto .wrap { display: grid; gap: 36px; }
.howto-head { display: grid; gap: 18px; justify-items: center; text-align: center; max-width: 760px; margin-inline: auto; }
.player {
  position: relative; border-radius: var(--radius-xl); overflow: hidden; background: #03050F;
  aspect-ratio: 16 / 9; box-shadow: var(--shadow); border: 1px solid var(--line);
}
.player video { display: block; width: 100%; height: 100%; object-fit: cover; }
.player-btn {
  position: absolute; right: 14px; bottom: 14px; width: 48px; height: 48px; padding: 0; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .18); background: rgba(3, 5, 15, .66); color: #FFFFFF; display: grid; place-items: center;
  cursor: pointer; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background-color .3s var(--ease), scale .3s var(--ease);
}
.player-btn:hover { background: var(--brand); scale: 1.06; }
@media (max-width: 640px) {
  .player { aspect-ratio: 9 / 16; width: min(100%, calc(78vh * 9 / 16)); margin-inline: auto; }
}
@media (min-width: 900px) { .howto { padding-block: 40px 96px; } }

@media (prefers-reduced-motion: reduce) {
  .bars div, .hbars i::after, .fcard .stars .st, .pillb { transition: none; }
}

/* ================= Tienda (v3) ================= */
.hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.btn .icon { font-size: 20px; }
.btn--ghost { color: var(--ink); }
.offer-bar span { display: inline-flex; align-items: center; gap: 8px; }
.offer-bar span .icon { color: var(--hl); font-size: 20px; }

/* Panel Plus llamativo */
.tab[aria-controls="dash-plus"][aria-selected="true"] { background: linear-gradient(120deg, #FFFFFF, #E9E1FB); color: #5B2FB0; }
.dash--plus { position: relative; padding: 12px; border-radius: 16px; gap: 12px;
  background: linear-gradient(135deg, rgba(92, 179, 241, .55), rgba(106, 60, 164, .85));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .28), 0 30px 70px -24px rgba(106, 60, 164, .85); }
.plus-ribbon { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 12px; padding: 4px 6px; color: #FFFFFF; }
.plus-ribbon span { font: 400 20px/1 var(--font-display); letter-spacing: -0.02em; }
.plus-ribbon small { font: 400 12.5px/1.2 var(--font-mono); opacity: .9; }
.pgrid { display: grid; gap: 12px; }
.minis--4 { grid-template-columns: 1fr 1fr; }
.inbox { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14px; }
.inbox li { display: flex; gap: 10px; align-items: flex-start; }
.inbox .icon { color: var(--hl); font-size: 20px; }
.inbox small { display: block; color: var(--panel-card-muted); font: 400 12px/1.4 var(--font-mono); margin-top: 2px; }
.dash.dash--plus { grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 640px) { .pgrid { grid-template-columns: 1fr 1fr; } .minis--4 { grid-column: 1 / -1; grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1100px) { .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .minis--4 { grid-column: span 2; grid-template-columns: repeat(2, 1fr); } }

/* Catálogo: acordeón horizontal */
.shop { padding-block: 72px 96px; }
.shop-head { display: grid; gap: 18px; justify-items: center; text-align: center; max-width: 780px; margin: 0 auto 40px; }
.acc { list-style: none; margin: 0; padding: 0 0 8px; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.acc::-webkit-scrollbar { display: none; }
.acc-item { flex: 0 0 86%; scroll-snap-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; display: grid; min-width: 0;
  transition: flex-grow .7s var(--ease), border-color .4s var(--ease), background-color .5s var(--ease); }
.acc-tab { display: none; }
.acc-body { display: grid; gap: 18px; padding: 20px; }
.acc-visual { display: grid; place-items: center; min-height: 280px; border-radius: 12px; padding: 22px 12px 26px;
  background: radial-gradient(120% 90% at 50% 100%, var(--hl-soft), transparent 70%); }
.acc-info { display: grid; gap: 12px; align-content: start; }
.acc-info h3 { margin: 0; font: 400 32px/1 var(--font-display); letter-spacing: -0.03em; }
.acc-desc { margin: 0; color: var(--ink-muted); font-size: 16px; }
.acc-size { margin: 0; display: inline-flex; align-items: center; gap: 6px; font: 400 14px/1 var(--font-mono); color: var(--ink-soft); }
.acc-size .icon { font-size: 18px; color: var(--hl); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: 400 14px/1 var(--font-body); padding: 10px 14px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: background-color .3s, border-color .3s, color .3s; }
.chip:hover { border-color: var(--hl); }
.chip[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: var(--on-brand, #FFFFFF); }
.dot { width: 12px; height: 12px; border-radius: 50%; border: 1px solid var(--line); }
.dot-negro { background: #0D0D0D; } .dot-blanco { background: #FFFFFF; }
.switch-row { position: relative; display: flex; align-items: center; gap: 12px; cursor: pointer; font-size: 15px; color: var(--ink-muted); }
.switch-row b { color: var(--ink); font-weight: 500; }
.switch-row input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sw { position: relative; flex-shrink: 0; width: 40px; height: 24px; border-radius: 12px; background: var(--line); transition: background-color .3s var(--ease); }
.sw::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #FFFFFF; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: transform .3s var(--ease); }
.switch-row input:checked + .sw { background: var(--brand); }
.switch-row input:checked + .sw::after { transform: translateX(16px); }
.switch-row input:focus-visible + .sw { outline: 2px solid var(--hl); outline-offset: 2px; }
.acc-price { display: grid; gap: 2px; padding-top: 12px; border-top: 1px solid var(--line); }
.acc-price b { font: 400 40px/1 var(--font-display); letter-spacing: -0.03em; color: var(--hl); font-variant-numeric: tabular-nums; }
.acc-price span { font: 400 12.5px/1.3 var(--font-mono); color: var(--ink-soft); }
.acc-price b.bump { animation: pop .5s var(--ease); }
.acc-cta .btn { width: 100%; }
.shop-foot { margin: 28px 0 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 12px; color: var(--ink-muted); font-size: 15px; text-align: center; }
.shop-foot .icon { color: var(--hl); margin-right: 4px; }
@media (min-width: 960px) {
  .acc { overflow: visible; height: 560px; gap: 10px; }
  .acc-item { flex: 1 1 0; grid-template-columns: 76px minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); cursor: default; }
  .acc-item.is-open { flex-grow: 7.5; border-color: var(--hl); }
  .acc-tab { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; justify-items: center; gap: 14px; padding: 22px 0; width: 76px; height: 100%; border: 0; background: transparent; color: var(--ink); cursor: pointer; font: inherit; }
  .acc-item:not(.is-open) .acc-tab:hover { background: var(--hl-soft); }
  .acc-name { writing-mode: vertical-rl; transform: rotate(180deg); align-self: end; display: block; max-height: 100%; overflow: hidden; font: 400 21px/1 var(--font-display); letter-spacing: -0.02em; white-space: nowrap; }
  .acc-name small { font: 400 12px/1 var(--font-mono); color: var(--ink-soft); margin-block-start: 0; margin-inline-start: 10px; }
  .acc-from { order: -1; font: 400 13px/1 var(--font-mono); color: var(--hl); writing-mode: vertical-rl; transform: rotate(180deg); }
  .acc-plus { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); transition: rotate .5s var(--ease), background-color .3s; }
  .acc-item.is-open .acc-plus { rotate: 45deg; background: var(--brand); color: #FFFFFF; border-color: var(--brand); }
  .acc-body { grid-template-columns: 1.05fr 1fr; align-items: center; padding: 24px 28px 24px 0; min-width: 0; height: 100%; overflow: hidden; opacity: 0; transition: opacity .35s var(--ease); }
  .acc-item.is-open .acc-body { opacity: 1; transition-delay: .25s; }
  .acc-item:not(.is-open) .acc-body { visibility: hidden; }
  .acc-item:not(.is-open) .acc-body > * { min-width: 560px; }
  .acc-visual { height: 100%; min-height: 0; }
}

/* Maquetas de producto */
.mk { position: relative; display: grid; justify-items: center; }
.mk img { display: block; width: 100%; height: auto; }
.mk::after { content: ""; position: absolute; left: 6%; right: 6%; bottom: -14px; height: 22px; border-radius: 50%; background: radial-gradient(closest-side, rgba(3, 5, 15, .38), transparent); z-index: -1; }
.acc-visual .mk, .stage .mk, .act-placa .mk, .det-visual .mk { isolation: isolate; }
.mk-pvc { width: calc(190px * var(--esc, 1)); }
.mk-pvc img { border-radius: 4px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06), 0 18px 34px -16px rgba(3, 5, 15, .55); }
.mk-pvc .foot { display: block; width: 100%; height: 22px; margin-top: -1px; border-radius: 0 0 6px 6px; transform: perspective(160px) rotateX(58deg); transform-origin: top;
  background: linear-gradient(#1A1A1A, #050505); }
.mk-pvc.mk-blanco .foot { background: linear-gradient(#F3F4F6, #CDD2DA); }
.mk-acr { width: calc(200px * var(--esc, 1)); }
.mk-acr .glass { display: block; padding: 7%; border-radius: 8px; position: relative;
  background: linear-gradient(135deg, rgba(255, 255, 255, .7), rgba(255, 255, 255, .12) 45%, rgba(255, 255, 255, .35));
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .85), inset 0 0 18px rgba(255, 255, 255, .25), 0 22px 40px -18px rgba(3, 5, 15, .55); }
.mk-acr .glass::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, .45) 48%, transparent 56%); pointer-events: none; }
.mk-acr img { border-radius: 2px; }
.mk-acr .base { display: block; width: 116%; height: 26px; margin-top: -8px; border-radius: 6px; position: relative; z-index: -1;
  background: repeating-linear-gradient(90deg, rgba(60, 30, 5, .10) 0 2px, transparent 2px 11px), linear-gradient(180deg, #D7A46A, #A8713E 60%, #8A5A2E);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .25), 0 10px 18px -8px rgba(3, 5, 15, .5); }
.mk-round { width: calc(220px * var(--esc, 1)); }
.mk-round img { border-radius: 50%; box-shadow: 0 16px 30px -12px rgba(3, 5, 15, .55); rotate: -8deg; }
.mk-square { width: calc(230px * var(--esc, 1)); }
.mk-square img { border-radius: 8%; box-shadow: 0 16px 30px -12px rgba(3, 5, 15, .55); rotate: 5deg; }
/* Llavero: marco de acrílico transparente con pestaña, argolla y aro (como la referencia de Joan) */
.mk-key { width: calc(150px * var(--esc, 1)); display: flex; flex-direction: column; align-items: center; rotate: -6deg; }
.mk-key .ring { position: relative; display: block; width: 52%; aspect-ratio: 1; border-radius: 50%;
  border: 4px solid #BFC6D1; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7), 0 2px 4px rgba(3, 5, 15, .25); }
.mk-key .jump { position: relative; display: block; width: 8%; aspect-ratio: .6; margin: -5% 0 -6%; border-radius: 45%; border: 3px solid #AEB6C2; z-index: 2; }
.mk-key .frame { position: relative; display: block; width: 100%; margin-top: 9%; padding: 8%; border-radius: 10%;
  background: linear-gradient(135deg, rgba(255, 255, 255, .62), rgba(255, 255, 255, .14) 45%, rgba(255, 255, 255, .34));
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .95), inset 0 0 0 5px rgba(205, 214, 228, .35), 0 16px 28px -12px rgba(3, 5, 15, .55); }
.mk-key .frame::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, .5) 46%, transparent 54%); pointer-events: none; }
.mk-key .tab { position: absolute; left: 50%; top: -9%; translate: -50% 0; width: 30%; height: 10%; clip-path: polygon(22% 0, 78% 0, 100% 100%, 0 100%);
  background: linear-gradient(180deg, rgba(255, 255, 255, .85), rgba(220, 228, 240, .55)); }
.mk-key .tab::after { content: ""; position: absolute; left: 50%; top: 22%; translate: -50% 0; width: 22%; aspect-ratio: 1; border-radius: 50%; background: rgba(3, 5, 15, .25); }
.mk-key img { border-radius: 5%; box-shadow: 0 0 0 1px rgba(3, 5, 15, .08); }
@media (min-width: 960px) { .acc-visual .mk-pvc { width: calc(250px * var(--esc, 1)); } .acc-visual .mk-acr { width: calc(250px * var(--esc, 1)); } .acc-visual .mk-round { width: 260px; } .acc-visual .mk-square { width: 270px; } .acc-visual .mk-key { width: 180px; } }

/* Detalle */
.detalle { width: min(960px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); color: var(--ink); box-shadow: var(--shadow); overflow: auto; }
.detalle::backdrop { background: rgba(3, 5, 15, .62); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.detalle[open] { animation: rise .5s var(--ease); }
.det-close-f { position: sticky; top: 0; display: flex; justify-content: flex-end; height: 0; z-index: 2; }
.det-close { margin: 10px; background: var(--surface); border: 1px solid var(--line); }
.det-grid { display: grid; }
.det-visual { display: grid; place-items: center; padding: 48px 20px 36px; background: radial-gradient(120% 90% at 50% 100%, var(--hl-soft), transparent 70%); }
.det-info { display: grid; gap: 14px; padding: 8px 20px 24px; align-content: start; }
.det-info h2 { margin: 0; font: 400 clamp(30px, 4vw, 40px)/1 var(--font-display); letter-spacing: -0.03em; }
.det-desc { margin: 0; color: var(--ink-muted); }
.det-incl { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 15px; }
.det-incl li { display: flex; gap: 8px; align-items: center; }
.det-incl .icon { color: var(--success); font-size: 20px; }
.opt { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.opt legend { padding: 0; margin-bottom: 8px; font: 400 12.5px/1 var(--font-mono); color: var(--ink-soft); }
.opt[hidden] { display: none; }
.det-perso { margin: 0; display: flex; gap: 8px; align-items: flex-start; font-size: 14px; color: var(--ink-muted); background: var(--hl-soft); border-radius: 10px; padding: 10px 12px; }
.det-perso .icon { color: var(--hl); }
.det-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.qty { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--line); border-radius: 999px; padding: 2px; }
.qty output { min-width: 32px; text-align: center; font: 400 18px/1 var(--font-display); font-variant-numeric: tabular-nums; }
.det-total { display: grid; justify-items: end; }
.det-total span { font: 400 12.5px/1 var(--font-mono); color: var(--ink-soft); }
.det-total b { font: 400 34px/1.1 var(--font-display); letter-spacing: -0.03em; color: var(--hl); font-variant-numeric: tabular-nums; }
.det-buy { width: 100%; }
.det-note { margin: 0; display: flex; gap: 8px; font-size: 13px; color: var(--ink-soft); }
.det-note .icon { font-size: 18px; color: var(--hl); }
@media (min-width: 820px) { .det-grid { grid-template-columns: 1fr 1fr; } .det-visual { padding: 40px; min-height: 100%; } .det-info { padding: 40px 32px 32px 8px; } }
@media (max-width: 819px) { .detalle { margin: auto 0 0; width: 100%; max-width: 100%; border-radius: 18px 18px 0 0; max-height: 92dvh; } }

/* Editor de personalización */
.perso { width: 100%; max-width: 100%; height: 100dvh; max-height: 100dvh; margin: 0; padding: 0; border: 0; background: var(--bg); color: var(--ink); }
.perso[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); }
.perso::backdrop { background: rgba(3, 5, 15, .6); }
.perso-bar { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-bottom: 1px solid var(--line); background: var(--surface); }
.perso-t { margin: 0 auto 0 4px; display: grid; font: 400 18px/1.15 var(--font-display); letter-spacing: -0.02em; }
.perso-t small { font: 400 12px/1.3 var(--font-mono); color: var(--ink-soft); }
#perso-frame { width: 100%; height: 100%; border: 0; background: #FFFFFF; }
.perso-fin { position: absolute; inset: 0; display: grid; place-items: center; padding: 16px; background: rgba(3, 5, 15, .55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.perso-fin[hidden] { display: none; }
.perso-card { width: min(460px, 100%); display: grid; gap: 14px; justify-items: center; text-align: center; padding: 28px 22px 20px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); animation: rise .5s var(--ease); }
.perso-card h3 { margin: 0; font: 400 28px/1.1 var(--font-display); letter-spacing: -0.03em; }
.perso-card p { margin: 0; color: var(--ink-muted); }
.fin-ok { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--success); color: #FFFFFF; }
.fin-ok .icon { font-size: 32px; }
.perso-card > .btn { width: 100%; }
.fin-steps { list-style: none; counter-reset: paso; margin: 0; padding: 0; width: 100%; display: grid; gap: 12px; text-align: left; }
.fin-steps li { counter-increment: paso; display: grid; gap: 8px; padding: 12px; border-radius: 12px; background: var(--hl-soft); }
.fin-steps li > span { font-size: 14px; color: var(--ink); }
.fin-steps li > span::before { content: counter(paso) ". "; color: var(--hl); }
.fin-steps .btn { width: 100%; }
.fin-row { display: flex; flex-wrap: wrap; gap: 8px; }
.fin-row .btn { flex: 1 1 auto; width: auto; min-height: 44px; padding: 0 14px; font-size: 15px; }
.fin-msg { font-size: 13px; color: var(--danger) !important; }
.link-btn { border: 0; background: transparent; color: var(--hl); font: inherit; font-size: 15px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; padding: 6px; }

/* 02 · Activación */
.demo { padding-block: 96px; }
.demo .wrap, .plusx .wrap { display: grid; gap: 40px; align-items: center; }
.demo .copy, .plusx .copy { display: grid; gap: 20px; justify-items: start; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.steps li { display: flex; align-items: center; gap: 12px; font-size: 16px; color: var(--ink-muted); }
.steps b { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font: 400 13px/1 var(--font-mono); background: var(--hl-soft); color: var(--hl); }
.act { position: relative; height: 440px; display: grid; place-items: center; border-radius: 20px; border: 1px solid var(--line); overflow: hidden;
  background: radial-gradient(90% 80% at 30% 80%, var(--hl-soft), transparent 70%), var(--surface); }
.act-placa { position: absolute; left: 12%; bottom: 13%; }
.act-placa .mk-pvc { width: 150px; }
.act-phone { position: absolute; right: 12%; top: 50%; translate: 0 -50%; width: 200px; height: 380px; border-radius: 30px; background: #05070F; padding: 9px; box-shadow: 0 30px 60px -24px rgba(3, 5, 15, .7); }
.scr { position: absolute; inset: 9px; border-radius: 22px; background: #FFFFFF; color: #0A0E23; padding: 34px 16px 16px; display: grid; align-content: start; gap: 8px; font-size: 12px; opacity: 0; }
.scr .t { margin: 0 0 4px; font: 500 16px/1.2 var(--font-display); }
.scr p { margin: 0; }
.scr label { font: 400 10.5px/1 var(--font-mono); color: #5F6475; }
.field { display: flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 10px; border: 1px solid #D5DBEA; border-radius: 8px; font: 400 12px/1 var(--font-mono); overflow: hidden; white-space: nowrap; }
.field .g { width: 14px; height: 14px; flex-shrink: 0; }
.typed-css { display: inline-block; overflow: hidden; white-space: nowrap; }
.pbtn { margin-top: 6px; display: grid; place-items: center; height: 34px; border-radius: 17px; background: #1765C2; color: #FFFFFF; font: 500 12px/1 var(--font-body); }
.s1 { background: #0B0F1E; color: #FFFFFF; justify-items: center; align-content: center; gap: 18px; }
.vf { position: relative; width: 132px; height: 132px; display: grid; place-items: center; }
.vf > i { position: absolute; width: 26px; height: 26px; border: 3px solid #5CB3F1; }
.vf > i:nth-child(1) { left: 0; top: 0; border-right: 0; border-bottom: 0; border-radius: 8px 0 0 0; }
.vf > i:nth-child(2) { right: 0; top: 0; border-left: 0; border-bottom: 0; border-radius: 0 8px 0 0; }
.vf > i:nth-child(3) { right: 0; bottom: 0; border-left: 0; border-top: 0; border-radius: 0 0 8px 0; }
.vf > i:nth-child(4) { left: 0; bottom: 0; border-right: 0; border-top: 0; border-radius: 0 0 0 8px; }
.vf .qr { font-size: 92px; color: #FFFFFF; }
.vf .scan { position: absolute; left: 10px; right: 10px; top: 50%; height: 2px; background: #5CF5FA; box-shadow: 0 0 12px #5CF5FA; }
.s1 p { font-size: 12.5px; color: #C1C6D4; }
.s4 { justify-items: center; align-content: center; text-align: center; }
.s4 .ok { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: #0F7A3D; color: #FFFFFF; }
.s4 .ok .icon { font-size: 38px; }
.kpi { display: grid; gap: 2px; padding: 10px; border-radius: 10px; background: #F5F8FD; }
.kpi span { font: 400 10.5px/1 var(--font-mono); color: #5F6475; }
.kpi b { position: relative; height: 34px; font: 400 32px/34px var(--font-display); color: #1765C2; }
.kpi i { position: absolute; left: 0; top: 0; font-style: normal; }
.kpi .n0 { opacity: 0; }
.mbars { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; align-items: end; height: 70px; }
.mbars i { background: #C9D8EE; border-radius: 3px 3px 0 0; height: 30%; }
.mbars i:nth-child(2) { height: 55%; } .mbars i:nth-child(3) { height: 40%; } .mbars i:nth-child(4) { height: 70%; } .mbars i:nth-child(5) { height: 50%; } .mbars i:nth-child(6) { height: 85%; }
.mbars .hoy { background: #1765C2; height: 22%; transform-origin: bottom; }
.toast { display: flex; align-items: center; gap: 6px; padding: 8px 10px; border-radius: 10px; background: #0A0E23; color: #FFFFFF; font-size: 11px; }
.toast .icon { font-size: 16px; color: #5CB3F1; }
/* Estado quieto: el panel con el primer toque */
.s5 { opacity: 1; }
.act.is-on .s1 { animation: a-s1 10s linear infinite; }
.act.is-on .s2 { animation: a-s2 10s linear infinite; }
.act.is-on .s3 { animation: a-s3 10s linear infinite; }
.act.is-on .s4 { animation: a-s4 10s var(--ease) infinite; }
.act.is-on .s5 { animation: a-s5 10s linear infinite; }
.act.is-on .scan { animation: a-scan 10s ease-in-out infinite; }
.act.is-on .vf > i { animation: a-vf 10s var(--ease) infinite; }
.act.is-on .typed-css.k { animation: a-k 10s steps(7) infinite; }
.act.is-on .typed-css.u { animation: a-u 10s steps(19) infinite; }
.act.is-on .b2 { animation: a-b2 10s var(--ease) infinite; }
.act.is-on .b3 { animation: a-b3 10s var(--ease) infinite; }
.act.is-on .n0 { animation: a-n0 10s linear infinite; }
.act.is-on .n1 { animation: a-n1 10s linear infinite; }
.act.is-on .hoy { animation: a-hoy 10s var(--ease) infinite; }
.act.is-on .toast { animation: a-toast 10s var(--ease) infinite; }
.act.is-on .act-phone { animation: a-phone 10s var(--ease) infinite; }
@keyframes a-s1 { 0%, 17% { opacity: 1; } 19%, 100% { opacity: 0; } }
@keyframes a-s2 { 0%, 18% { opacity: 0; } 20%, 39% { opacity: 1; } 41%, 100% { opacity: 0; } }
@keyframes a-s3 { 0%, 40% { opacity: 0; } 42%, 61% { opacity: 1; } 63%, 100% { opacity: 0; } }
@keyframes a-s4 { 0%, 62% { opacity: 0; transform: scale(.96); } 64%, 73% { opacity: 1; transform: scale(1); } 75%, 100% { opacity: 0; } }
@keyframes a-s5 { 0%, 74% { opacity: 0; } 76%, 98% { opacity: 1; } 100% { opacity: 0; } }
@keyframes a-scan { 0%, 2% { top: 18%; } 9% { top: 82%; } 16%, 100% { top: 18%; } }
@keyframes a-vf { 0%, 3% { transform: scale(1.25); opacity: .4; } 8%, 17% { transform: scale(1); opacity: 1; } 100% { transform: scale(1); } }
@keyframes a-k { 0%, 22% { width: 0; } 30%, 100% { width: 7ch; } }
@keyframes a-u { 0%, 46% { width: 0; } 56%, 100% { width: 19ch; } }
@keyframes a-b2 { 0%, 33% { transform: scale(1); } 35% { transform: scale(.92); } 37%, 100% { transform: scale(1); } }
@keyframes a-b3 { 0%, 57% { transform: scale(1); } 59% { transform: scale(.92); } 61%, 100% { transform: scale(1); } }
@keyframes a-n0 { 0%, 83% { opacity: 1; } 84%, 100% { opacity: 0; } }
@keyframes a-n1 { 0%, 83% { opacity: 0; transform: translateY(8px); } 85%, 100% { opacity: 1; transform: none; } }
@keyframes a-hoy { 0%, 83% { transform: scaleY(0); } 88%, 100% { transform: scaleY(1); } }
@keyframes a-toast { 0%, 82% { opacity: 0; transform: translateY(10px); } 85%, 97% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes a-phone { 0% { translate: 40px -50%; } 4%, 18% { translate: -118px -50%; } 24%, 100% { translate: 0 -50%; } }
@media (min-width: 900px) { .demo .wrap, .plusx .wrap { grid-template-columns: .9fr 1.1fr; gap: 64px; } .act { height: 500px; } }

/* 03 · Plan Plus: pasarela */
.plusx { padding-block: 96px; }
.plusx .tagp { background: linear-gradient(120deg, rgba(92, 179, 241, .2), rgba(138, 76, 216, .25)); }
.plus-price { display: grid; gap: 4px; }
.plus-price .launch { justify-self: start; font: 400 12px/1 var(--font-mono); padding: 6px 10px; border-radius: 999px; background: linear-gradient(120deg, #1765C2, #6A3CA4); color: #FFFFFF; }
.plus-price p { margin: 4px 0 0; display: flex; align-items: baseline; gap: 8px; }
.plus-price p b { font: 400 44px/1 var(--font-display); letter-spacing: -0.03em; color: var(--hl); }
.plus-price p span { color: var(--ink-soft); }
.plus-price s { color: var(--ink-soft); font-size: 18px; }
.plus-price small { font: 400 12.5px/1.3 var(--font-mono); color: var(--ink-soft); }
.pdemo { position: relative; display: grid; gap: 16px; padding: 16px; border-radius: 20px; border: 1px solid var(--line);
  background: radial-gradient(90% 80% at 80% 20%, rgba(106, 60, 164, .16), transparent 70%), radial-gradient(90% 80% at 10% 90%, var(--hl-soft), transparent 70%), var(--surface); }
.settings { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 14px; display: grid; gap: 4px; align-content: start; }
.set-t { margin: 0 0 6px; display: flex; align-items: center; gap: 8px; font: 400 13px/1 var(--font-mono); color: var(--ink-soft); }
.set-t .icon { font-size: 18px; color: var(--hl); }
.set-row { position: relative; display: flex; align-items: center; gap: 12px; padding: 10px 4px; border-top: 1px solid var(--line); font-size: 14.5px; }
.set-l { display: grid; gap: 2px; min-width: 0; }
.set-l small { font-size: 12px; color: var(--ink-soft); }
.set-row > .icon { margin-left: auto; font-size: 18px; color: var(--ink-soft); }
.subs { display: grid; margin-left: 18px; border-left: 2px solid var(--hl-soft); padding-left: 10px; }
.settings .sw { background: var(--brand); }
.settings .sw::after { transform: translateX(16px); }
.sw-lock { opacity: .7; }
.toast-ia, .chip-ok { position: absolute; right: 4px; top: 50%; translate: 0 -50%; z-index: 2; font: 400 11.5px/1 var(--font-mono); padding: 6px 8px; border-radius: 8px; white-space: nowrap; }
.toast-ia { top: 2px; translate: 0 -60%; box-shadow: 0 8px 18px -8px rgba(3, 5, 15, .6); display: inline-flex; gap: 4px; align-items: center; background: #0A0E23; color: #FFFFFF; opacity: 0; }
.toast-ia .icon { font-size: 14px; color: #5CB3F1; }
.chip-ok { background: rgba(15, 122, 61, .12); color: var(--success); }
.pphone { position: relative; justify-self: center; width: 220px; height: 400px; border-radius: 32px; background: #05070F; padding: 9px; box-shadow: 0 30px 60px -24px rgba(3, 5, 15, .7); }
.pscr { position: absolute; inset: 9px; border-radius: 24px; background: #FFFFFF; color: #0A0E23; padding: 30px 16px 16px; display: grid; align-content: start; gap: 10px; font-size: 12.5px; }
.pscr.direct { opacity: 0; justify-items: center; }
.pscr .t { margin: 0; font: 500 15px/1.2 var(--font-display); }
.pst5 { color: #D5DBEA; font-size: 22px; letter-spacing: 3px; }
.pscr .ln { width: 100%; height: 40px; border: 1px solid #D5DBEA; border-radius: 8px; }
.pscr .ln.s { height: 12px; width: 60%; border: 0; background: #E3E8F2; }
.biz { display: grid; justify-items: center; gap: 4px; text-align: center; margin-bottom: 6px; }
.biz .logo { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #1765C2, #6A3CA4); color: #FFFFFF; font: 500 16px/1 var(--font-display); }
.biz p { margin: 0; font: 500 16px/1.2 var(--font-display); }
.biz small { color: #5F6475; }
.gbtn { display: flex; align-items: center; justify-content: center; gap: 8px; height: 50px; border-radius: 25px; background: #1765C2; color: #FFFFFF; font: 500 14px/1 var(--font-body); box-shadow: 0 10px 20px -10px rgba(23, 101, 194, .8); }
.gbtn .g { background: #FFFFFF; border-radius: 50%; padding: 2px; width: 22px; height: 22px; }
.obtn { display: grid; place-items: center; height: 40px; border-radius: 20px; border: 1px solid #D5DBEA; color: #0A0E23; font-size: 12.5px; }
.club { display: flex; gap: 10px; align-items: center; padding: 10px; border-radius: 12px; background: #F5F8FD; font-size: 12.5px; }
.club .icon { color: #6A3CA4; font-size: 22px; }
.club small { display: block; color: #5F6475; font-size: 11px; }
.pdemo.is-on .sw-master { animation: sw-master 12s linear infinite; } .pdemo.is-on .sw-master::after { animation: kn-master 12s var(--ease) infinite; }
.pdemo.is-on .sw-buzon { animation: sw-buzon 12s linear infinite; } .pdemo.is-on .sw-buzon::after { animation: kn-buzon 12s var(--ease) infinite; }
.pdemo.is-on .sw-club { animation: sw-club 12s linear infinite; } .pdemo.is-on .sw-club::after { animation: kn-club 12s var(--ease) infinite; }
.pdemo.is-on .sw-ia { animation: sw-ia 12s linear infinite; } .pdemo.is-on .sw-ia::after { animation: kn-ia 12s var(--ease) infinite; }
.pdemo.is-on .sw-gbp { animation: sw-gbp 12s linear infinite; } .pdemo.is-on .sw-gbp::after { animation: kn-gbp 12s var(--ease) infinite; }
.pdemo.is-on .subs { animation: p-subs 12s var(--ease) infinite; }
.pdemo.is-on .direct { animation: p-direct 12s linear infinite; }
.pdemo.is-on .gate { animation: p-gate 12s linear infinite; }
.pdemo.is-on .gbtn { animation: p-gbtn 12s var(--ease) infinite; }
.pdemo.is-on .obtn { animation: p-obtn 12s var(--ease) infinite; }
.pdemo.is-on .club { animation: p-club 12s var(--ease) infinite; }
.pdemo.is-on .toast-ia { animation: p-tia 12s var(--ease) infinite; }
.pdemo.is-on .chip-ok { animation: p-gbp 12s var(--ease) infinite; }
@keyframes sw-master { 0%, 8.5% { background: var(--line); } 10%, 92% { background: var(--brand); } 95%, 100% { background: var(--line); } }
@keyframes kn-master { 0%, 8.5% { transform: translateX(0); } 10%, 92% { transform: translateX(16px); } 95%, 100% { transform: translateX(0); } }
@keyframes sw-buzon { 0%, 24.5% { background: var(--line); } 26%, 92% { background: var(--brand); } 95%, 100% { background: var(--line); } }
@keyframes kn-buzon { 0%, 24.5% { transform: translateX(0); } 26%, 92% { transform: translateX(16px); } 95%, 100% { transform: translateX(0); } }
@keyframes sw-club { 0%, 38.5% { background: var(--line); } 40%, 92% { background: var(--brand); } 95%, 100% { background: var(--line); } }
@keyframes kn-club { 0%, 38.5% { transform: translateX(0); } 40%, 92% { transform: translateX(16px); } 95%, 100% { transform: translateX(0); } }
@keyframes sw-ia { 0%, 54.5% { background: var(--line); } 56%, 92% { background: var(--brand); } 95%, 100% { background: var(--line); } }
@keyframes kn-ia { 0%, 54.5% { transform: translateX(0); } 56%, 92% { transform: translateX(16px); } 95%, 100% { transform: translateX(0); } }
@keyframes sw-gbp { 0%, 68.5% { background: var(--line); } 70%, 92% { background: var(--brand); } 95%, 100% { background: var(--line); } }
@keyframes kn-gbp { 0%, 68.5% { transform: translateX(0); } 70%, 92% { transform: translateX(16px); } 95%, 100% { transform: translateX(0); } }
@keyframes p-subs { 0%, 8% { opacity: .35; } 11%, 92% { opacity: 1; } 95%, 100% { opacity: .35; } }
@keyframes p-direct { 0%, 9% { opacity: 1; } 11%, 96% { opacity: 0; } 99%, 100% { opacity: 1; } }
@keyframes p-gate { 0%, 9% { opacity: 0; } 11%, 94% { opacity: 1; } 97%, 100% { opacity: 0; } }
@keyframes p-gbtn { 0%, 10% { transform: scale(.9); opacity: 0; } 14%, 100% { transform: none; opacity: 1; } }
@keyframes p-obtn { 0%, 26% { opacity: 0; transform: translateY(8px); } 29%, 100% { opacity: 1; transform: none; } }
@keyframes p-club { 0%, 40% { opacity: 0; transform: translateY(8px); } 43%, 100% { opacity: 1; transform: none; } }
@keyframes p-tia { 0%, 57% { opacity: 0; } 60%, 74% { opacity: 1; } 77%, 100% { opacity: 0; } }
@keyframes p-gbp { 0%, 70% { opacity: 0; } 73%, 92% { opacity: 1; } 95%, 100% { opacity: 0; } }
@media (min-width: 640px) { .pdemo { grid-template-columns: 1.15fr .85fr; align-items: center; padding: 22px; } }

/* Google: prominencia en movimiento y simulador automático */
.prom { display: grid; gap: 8px; margin-top: 4px; }
.pr { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px; border-radius: 10px; background: var(--surface-2, var(--hl-soft)); font-size: 13px; }
.pr .s { color: var(--star); letter-spacing: 1px; }
.pr .rp { display: inline-flex; align-items: center; gap: 4px; font: 400 11.5px/1 var(--font-mono); color: var(--success); }
.pr .rp .icon { font-size: 15px; }
.meter { display: grid; gap: 6px; font: 400 12px/1 var(--font-mono); color: var(--ink-soft); }
.meter i { display: block; height: 8px; border-radius: 4px; background: var(--line); overflow: hidden; }
.meter b { display: block; height: 100%; width: 86%; border-radius: inherit; background: linear-gradient(90deg, #1765C2, #5CB3F1); }
.prom.is-on .pr { animation: pr-in 9s var(--ease) infinite; }
.prom.is-on .pr2 { animation-delay: .9s; } .prom.is-on .pr3 { animation-delay: 1.8s; }
.prom.is-on .rp { animation: rp-in 9s var(--ease) infinite; }
.prom.is-on .pr1 .rp { animation-delay: .6s; } .prom.is-on .pr2 .rp { animation-delay: 1.5s; } .prom.is-on .pr3 .rp { animation-delay: 2.4s; }
.prom.is-on .meter b { animation: meter 9s var(--ease) infinite; }
@keyframes pr-in { 0% { opacity: 0; transform: translateY(8px); } 6%, 88% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; } }
@keyframes rp-in { 0%, 4% { opacity: 0; } 8%, 88% { opacity: 1; } 95%, 100% { opacity: 0; } }
@keyframes meter { 0%, 6% { width: 34%; } 18% { width: 52%; } 30% { width: 68%; } 42%, 88% { width: 86%; } 97%, 100% { width: 34%; } }
.sim-week { margin: 0; font-size: 15px; color: var(--ink-muted); }
.sim-week output { font: 400 18px/1 var(--font-display); color: var(--hl); }
.sim-prog { height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.sim-prog i { display: block; height: 100%; width: 0; background: var(--brand); border-radius: inherit; transition: width .6s var(--ease); }

/* Planes */
.badge--soft { background: var(--hl-soft); color: var(--hl); }
.plan--plus { position: relative; border: 0; background: linear-gradient(var(--surface), var(--surface)) padding-box, linear-gradient(135deg, #5CB3F1, #1765C2 45%, #8A4CD8) border-box; border: 2px solid transparent;
  box-shadow: 0 30px 70px -30px rgba(106, 60, 164, .55); }
.plan--plus .badge { background: linear-gradient(120deg, #1765C2, #6A3CA4); }
.bill { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--hl-soft); justify-self: start; }
.bill-b { border: 0; background: transparent; color: var(--ink-muted); font: 400 14px/1 var(--font-body); padding: 9px 14px; border-radius: 999px; cursor: pointer; display: inline-flex; gap: 6px; align-items: baseline; }
.bill-b small { font: 400 11px/1 var(--font-mono); color: var(--success); }
.bill-b[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 2px 8px -2px rgba(3, 5, 15, .25); }
.pp { margin: 0; display: flex; align-items: baseline; gap: 8px; }
.pp b { font: 400 clamp(36px, 7vw, 48px)/1 var(--font-display); letter-spacing: -0.035em; color: var(--hl); }
.pp span { color: var(--ink-soft); }
.pp s { color: var(--ink-soft); font-size: 18px; }
#plus-note { font: 400 12.5px/1.4 var(--font-mono); color: var(--ink-soft); }
.pp-consulta { margin: 0; font: 400 clamp(24px, 5vw, 30px)/1.15 var(--font-display); letter-spacing: -0.02em; color: var(--ink); }

/* Cierre con los productos */
.final .wrap { display: grid; gap: 24px; justify-items: center; }
.stage { position: relative; width: min(100%, 820px); height: 330px; margin-bottom: 12px; }
.st-i { position: absolute; }
.st-i .mk::after { bottom: -10px; }
.st-pvc { left: 4%; bottom: 6%; } .st-pvc .mk-pvc { width: 132px; }
.st-acr { left: 50%; translate: -50% 0; bottom: 2%; z-index: 2; } .st-acr .mk-acr { width: 168px; }
.st-round { right: 8%; top: 4%; } .st-round .mk-round { width: 120px; }
.st-square { right: 2%; bottom: 8%; } .st-square .mk-square { width: 128px; }
.st-key { left: 27%; bottom: 0; z-index: 3; } .st-key .mk-key { width: 70px; }
@media (min-width: 760px) { .stage { height: 440px; } .st-pvc .mk-pvc { width: 190px; } .st-acr .mk-acr { width: 230px; } .st-round .mk-round { width: 170px; right: 12%; } .st-square .mk-square { width: 180px; } .st-key .mk-key { width: 96px; } .st-key { left: 29%; } }
@media (max-width: 480px) { .st-pvc { left: -2%; } .st-key { left: 24%; } .st-round { right: 0; } .st-square { right: -4%; } }
@media (prefers-reduced-motion: no-preference) {
  .stage .st-i > .mk { animation: flota 6s ease-in-out infinite; }
  .st-acr > .mk { animation-delay: -1.5s !important; } .st-round > .mk { animation-delay: -3s !important; } .st-square > .mk { animation-delay: -4.5s !important; } .st-key > .mk { animation-delay: -2.2s !important; }
}
.final-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.final .lead { text-align: center; }
@media (prefers-reduced-motion: reduce) { .acc-item, .acc-body, .sim-prog i { transition: none; } }

/* Título principal en un solo tono (azul de la marca), sin segundo color */
.hero-title { color: var(--brand); }
.hero .lead strong { color: var(--ink); font-weight: 500; }

/* Por qué reseñas: cifras con fuente */
.stats-sec { padding-block: 72px 96px; }
.stats-sec .wrap { display: grid; gap: 40px; }
.stats-top { display: grid; gap: 16px; }
.stat { display: grid; gap: 8px; align-content: start; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-xl); background: var(--surface); }
.stat b { font: 400 clamp(34px, 5vw, 48px)/1 var(--font-display); letter-spacing: -0.035em; color: var(--brand); }
.stat p { margin: 0; color: var(--ink); text-wrap: pretty; }
.stat small { font-size: 12.5px; color: var(--ink-soft); }
.stat small a { color: inherit; }
.stats-note { text-align: center; max-width: 70ch; margin: 0 auto; }
@media (min-width: 760px) {
  .stats-top { grid-template-columns: repeat(3, 1fr); }
}

.gtxt { font: 500 12px/1 var(--font-body); color: var(--ink-soft); padding: 5px 8px; border: 1px solid var(--line); border-radius: 999px; white-space: nowrap; }

.demo .wrap.demo-panel { display: block; margin-top: 56px; }

.foot-legal { margin: 24px 0 0; font-size: 12.5px; color: var(--foot-muted); max-width: 70ch; }
.shop-note { margin-top: 6px; }

/* Portada honesta (F1.29): aclaración bajo el precio, un solo factor y subtítulo del posicionamiento */
.acc-como { margin: 0; font-size: 13px; color: var(--ink-muted); }
.factors.factors--uno { grid-template-columns: 1fr; margin-top: 24px; }
.rank-h3 { margin: 0; font: 400 clamp(22px, 3vw, 28px)/1.2 var(--font-display); letter-spacing: -0.025em; }
.stats-sec .rank-head { max-width: 760px; gap: 10px; }
.stats-sec .rank-head p { margin: 0; }
