/* Landing de quantum-sims.com: el mismo lenguaje del launch film (claro, rojo de marca #e63946, sombras teñidas,
   píldoras y marcos de dispositivos con la UI real). Las rutas de url() son relativas a este archivo (landing/). */
@font-face { font-family: Inter; src: url(fonts/inter-var-latin.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'DM Sans'; src: url(fonts/dm-sans-latin.woff2) format('woff2'); font-weight: 100 1000; font-display: swap; }

:root {
  color-scheme: light;
  --red: #e63946; --red-2: #d62f3d; --ink: #15161b; --ink-2: #5d6070; --ink-3: #8d90a0; --line: #ebebf0;
  --bg: #fbfafb; --bg-2: #f4f2f4; --card: #fff; --dark: #121318;
  --shadow: 0 1px 2px rgba(21,22,27,.06), 0 12px 30px rgba(193,18,31,.08), 0 40px 80px rgba(21,22,27,.12);
  --shadow-s: 0 1px 2px rgba(21,22,27,.06), 0 8px 22px rgba(193,18,31,.08);
  --wrap: 1320px; --gut: clamp(16px, 4vw, 40px); --nav-h: 60px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 0; }
body {
  margin: 0; font-family: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--ink); line-height: 1.5;
  background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: clip;
}
body::before {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(1100px 700px at 8% 0%, rgba(230,57,70,.10), rgba(230,57,70,0) 70%),
    radial-gradient(1000px 760px at 96% 100%, rgba(230,57,70,.07), rgba(230,57,70,0) 70%),
    linear-gradient(180deg, #fbfafb 0%, #f4f2f4 100%);
}
img, svg { display: block; }
a { color: inherit; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.red { color: var(--red); font-style: normal; }
.w { display: inline-block; will-change: transform, opacity; }
:focus-visible { outline: 3px solid rgba(230,57,70,.45); outline-offset: 3px; border-radius: 8px; }

/* ---------------------------------------------------------------- tipografía */
.h1 { font-size: clamp(30px, 12cqi, 84px); font-weight: 640; letter-spacing: -.034em; line-height: 1.04; margin: 0; text-wrap: balance; }
.h1 .line { display: block; }
/* el titular del hero se calibra por idioma para que su línea más larga quepa sin partirse (medido en la página) */
.hero .h1 { font-size: clamp(30px, 11.5cqi, 84px); }
html[lang="en"] .hero .h1 { font-size: clamp(30px, 10.4cqi, 84px); }
html[lang="fr"] .hero .h1 { font-size: clamp(30px, 9.8cqi, 84px); }
html[lang="de"] .hero .h1 { font-size: clamp(30px, 9.2cqi, 84px); }
.h2 { font-size: clamp(28px, 10cqi, 56px); font-weight: 640; letter-spacing: -.032em; line-height: 1.06; margin: 0; }
.lead { font-size: clamp(17px, 1.45vw, 21px); color: var(--ink-2); line-height: 1.5; margin: 26px 0 0; max-width: 33em; }
.sub { font-size: clamp(16px, 1.3vw, 19px); color: var(--ink-2); line-height: 1.5; margin: 20px 0 0; max-width: 30em; }
.kicker { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; font-size: 13px; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.kicker span { color: var(--ink-3); font-variant-numeric: tabular-nums; }
.muted { color: var(--ink-3); }

/* ---------------------------------------------------------------- botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 999px;
  font: inherit; font-weight: 620; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.btn-red { background: var(--red); color: #fff; box-shadow: 0 10px 26px rgba(230,57,70,.30); }
.btn-red:hover { background: var(--red-2); transform: translateY(-1px); box-shadow: 0 14px 30px rgba(230,57,70,.36); }
.btn-ghost { background: #fff; color: var(--ink); box-shadow: var(--shadow-s); }
.btn-ghost:hover { transform: translateY(-1px); }
.btn-lg { height: 56px; padding: 0 28px; font-size: 17px; }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn:disabled { opacity: .6; cursor: progress; }

/* ---------------------------------------------------------------- barra de navegación (la píldora del film) */
.nav {
  position: fixed; z-index: 50; top: 12px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 6px; height: var(--nav-h); padding: 0 10px 0 12px; border-radius: 999px;
  width: max-content; max-width: calc(100% - 24px);
  background: rgba(255,255,255,.84); -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px);
  box-shadow: var(--shadow-s);
}
.nav-brand { display: flex; align-items: center; gap: 10px; margin-right: 6px; text-decoration: none; color: var(--ink); }
.nav-brand .logo-word { display: block; height: 22px; width: auto; }
.nav-chapters { position: relative; display: flex; gap: 2px; margin: 0 6px; }
.nav-chapters a { position: relative; padding: 10px 14px; border-radius: 999px; font-size: 15px; font-weight: 560; color: var(--ink-3); text-decoration: none; transition: color .2s; }
.nav-chapters a:hover, .nav-chapters a.on { color: var(--ink); }
.nav-bar { position: absolute; bottom: 5px; left: 0; width: 0; height: 3px; border-radius: 3px; background: var(--red); opacity: 0;
  transition: left .5s cubic-bezier(.2,.8,.2,1), width .5s cubic-bezier(.2,.8,.2,1), opacity .25s; }
.nav-bar.on { opacity: 1; }
/* selector de idioma */
.lang { position: relative; }
.lang summary { list-style: none; display: flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px; border-radius: 999px;
  font-size: 13px; font-weight: 650; letter-spacing: .06em; color: var(--ink-2); cursor: pointer; user-select: none; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover, .lang[open] summary { color: var(--ink); background: rgba(21,22,27,.06); }
.lang-menu { position: absolute; right: 0; top: calc(100% + 12px); display: grid; min-width: 168px; padding: 6px; border-radius: 16px;
  background: #fff; box-shadow: var(--shadow-s), 0 14px 34px rgba(21,22,27,.14); }
.lang-menu a { padding: 10px 12px; border-radius: 10px; font-size: 14px; font-weight: 560; color: var(--ink-2); text-decoration: none; }
.lang-menu a:hover { background: rgba(21,22,27,.05); color: var(--ink); }
.lang-menu a[aria-current="page"] { color: var(--red); }

/* ---------------------------------------------------------------- hero */
.hero { display: flex; align-items: center; padding: calc(var(--nav-h) + clamp(48px, 9vh, 120px)) 0 clamp(24px, 4vh, 56px); }
.hero-copy, .ch-copy, .pb-copy, .contact-copy { container-type: inline-size; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 4.5vw, 72px); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 26px; padding: 8px 16px 8px 12px; border-radius: 999px; background: #fff; box-shadow: var(--shadow-s); font-size: 14px; font-weight: 560; color: var(--ink-2); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(230,57,70,.15); }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.note { margin: 18px 0 0; font-size: 14px; color: var(--ink-3); }

/* ---------------------------------------------------------------- dispositivos con la UI real */
.device { position: relative; }
.bezel { position: relative; padding: 12px; border-radius: 20px; background: var(--dark); box-shadow: var(--shadow); }
.screen { position: relative; overflow: hidden; border-radius: 8px; background: #0f0f17; aspect-ratio: var(--ar, 1.6); }
.screen iframe { position: absolute; left: 0; top: 0; width: 1440px; height: 900px; border: 0; transform-origin: 0 0; background: #0f0f17; }
.screen .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 0 0; transition: opacity .5s; }
.device.ready .poster { opacity: 0; pointer-events: none; }
.device-card .bezel { padding: 10px; border-radius: 26px; }
.device-card .screen { border-radius: 18px; }
.monitor .stand { position: relative; height: 62px; }
.monitor .stand i { position: absolute; left: 50%; top: 0; width: 110px; height: 50px; margin-left: -55px; background: linear-gradient(180deg, #cfd0d7, #a9abb5); clip-path: polygon(28% 0, 72% 0, 100% 100%, 0 100%); }
.monitor .stand b { position: absolute; left: 50%; top: 48px; width: 250px; height: 13px; margin-left: -125px; border-radius: 8px; background: linear-gradient(180deg, #c3c5cd, #a7a9b3); }
.tv .bezel { padding: 9px; border-radius: 14px; }
.tv .screen { --ar: 1.78; border-radius: 4px; }
.laptop .bezel { padding: 14px 14px 16px; border-radius: 22px 22px 6px 6px; }
.laptop .base { height: 22px; margin: 0 -6%; border-radius: 0 0 22px 22px; background: linear-gradient(180deg, #d9dae0, #b9bbc4); box-shadow: 0 18px 30px rgba(21,22,27,.12); }
.cursor { position: absolute; left: 0; top: 0; z-index: 5; width: 28px; height: 36px; pointer-events: none; opacity: 0; }
.ripple { position: absolute; left: 0; top: 0; z-index: 4; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; border: 3px solid var(--red); pointer-events: none; opacity: 0; }
.toast {
  position: absolute; left: 50%; bottom: 22px; z-index: 6; max-width: 86%; padding: 10px 16px; border-radius: 14px;
  background: rgba(21,22,27,.92); color: #fff; font-size: 14px; font-weight: 520; line-height: 1.35; text-align: center;
  opacity: 0; transform: translate(-50%, 8px); transition: opacity .25s, transform .25s; pointer-events: none;
}
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ---------------------------------------------------------------- capitulos: cada escena se reproduce sola al llegar */
.chapter { padding: clamp(56px, 8vh, 104px) 0; scroll-margin-top: calc(var(--nav-h) + 24px); }
.ch-device { position: relative; }
.replay {
  position: absolute; right: 0; bottom: -46px; display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px;
  border: 0; border-radius: 999px; background: #fff; box-shadow: var(--shadow-s); font: inherit; font-size: 13px; font-weight: 600;
  color: var(--ink-2); cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .3s;
}
.venues-device .replay { right: auto; left: 0; }
.replay.on { opacity: 1; pointer-events: auto; }
.replay:hover { color: var(--ink); }
.ch-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 76px); align-items: center; }
.ch-copy { max-width: 560px; }
.try {
  visibility: hidden; transition: opacity .35s, transform .35s, visibility 0s linear .35s;
  display: inline-flex; align-items: center; gap: 12px; margin-top: 30px; padding: 12px 18px 12px 14px; border-radius: 999px;
  background: #fff; box-shadow: var(--shadow-s); font-size: 15px; font-weight: 540; color: var(--ink); opacity: 0;
  transition: opacity .35s, transform .35s; transform: translateY(8px);
}
.try.on { opacity: 1; transform: none; visibility: visible; transition: opacity .35s, transform .35s, visibility 0s; }
.try b { font-weight: 680; }
.pulse { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--red); animation: pulse 1.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(230,57,70,.55); } 100% { box-shadow: 0 0 0 12px rgba(230,57,70,0); } }
.try-input { display: grid; gap: 10px; padding: 16px 18px; border-radius: 22px; width: min(100%, 380px); }
.try-input label { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.money { display: flex; align-items: center; gap: 6px; height: 52px; padding: 0 16px; border-radius: 14px; background: var(--bg-2); border: 1.5px solid var(--line); }
.money:focus-within { border-color: var(--red); background: #fff; }
.money span { font-size: 22px; font-weight: 600; color: var(--ink-3); }
.money input { width: 100%; height: 100%; border: 0; outline: 0; background: transparent; font: inherit; font-size: 22px; font-weight: 640; letter-spacing: -.01em; color: var(--ink); font-variant-numeric: tabular-nums; }
.try-hint { margin: 0; font-size: 13px; color: var(--ink-3); }

/* problema y marca */
.pb-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: center; }
.pb-pre { margin: 0 0 14px; font-size: clamp(19px, 1.9vw, 28px); font-weight: 460; color: var(--ink-2); letter-spacing: -.012em; }
.pb-qs { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 16px; }
.pb-qs a { display: grid; grid-template-columns: 30px auto; column-gap: 18px; align-items: center; text-decoration: none; }
.pb-qs .mark { position: relative; width: 26px; height: 26px; border-radius: 50%; border: 2.5px solid var(--ink-3); transition: background .3s, border-color .3s; }
.pb-qs .mark::after { content: ''; position: absolute; left: 7px; top: 3px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); opacity: 0; transition: opacity .3s; }
.pb-qs .done .mark { background: var(--red); border-color: var(--red); }
.pb-qs .done .mark::after { opacity: 1; }
.pb-qs .q { font-size: clamp(24px, 2.6vw, 40px); font-weight: 600; letter-spacing: -.022em; line-height: 1.15; }
.pb-qs .a { grid-column: 2; font-size: clamp(15px, 1.2vw, 18px); color: var(--ink-2); margin-top: 4px; }
.pb-qs a:hover .q { color: var(--red); }
.pb-slot { position: relative; aspect-ratio: 1; width: min(100%, 260px); justify-self: center; }
.logo3d { position: absolute; inset: 0; perspective: 900px; pointer-events: none; }
.logo3d .icon { position: absolute; inset: 0; }
.logo3d .icon svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 26px 34px rgba(12,13,18,.28)) drop-shadow(0 6px 10px rgba(12,13,18,.2)); }
.logo3d .floor { position: absolute; left: 10%; top: 104%; width: 80%; height: 13%; border-radius: 50%; background: radial-gradient(closest-side, rgba(15,16,22,.22), rgba(15,16,22,0)); }

/* venues: laptop + celular con la alerta */
.venues-device { position: relative; padding-right: 7%; }
.phone { position: absolute; right: 0; bottom: -4%; width: clamp(120px, 15vw, 210px); aspect-ratio: 300 / 610; padding: 3.2%; border-radius: 15%/7.5%; background: #17181d; box-shadow: var(--shadow); }
.ph-in { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 12%/6%; background: linear-gradient(160deg, #2b2d3a, #121318); color: #fff; container-type: inline-size; }
.ph-time { margin-top: 18cqw; text-align: center; font-size: 22cqw; font-weight: 300; letter-spacing: -.02em; line-height: 1; }
.ph-date { margin-top: 3cqw; text-align: center; font-size: 5.4cqw; font-weight: 500; color: rgba(255,255,255,.7); }
.ph-note { position: absolute; left: 4.5cqw; right: 4.5cqw; top: 66cqw; padding: 4.6cqw 5cqw; border-radius: 7cqw; background: rgba(245,245,250,.93); color: var(--ink); box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.ph-app { display: flex; align-items: center; gap: 2.6cqw; font-size: 4.2cqw; font-weight: 600; color: #6b6e7b; }
.ph-app svg { width: 7.4cqw; height: 7.4cqw; }
.ph-title { margin-top: 2.6cqw; font-size: 5cqw; font-weight: 700; }
.ph-body { margin-top: 1cqw; font-size: 4.7cqw; font-weight: 500; line-height: 1.35; }

/* ---------------------------------------------------------------- bloques normales */
.block { padding: clamp(80px, 11vw, 150px) 0; }
/* antes y después: lo que hace hoy el venue contra lo que hace con RacePOS */
#antes { padding: clamp(24px, 5vw, 72px) 0 clamp(40px, 6vw, 88px); }
.ba-card { margin-top: 40px; padding: clamp(20px, 3.4vw, 44px) clamp(20px, 3.6vw, 48px); }
.ba { width: 100%; border-collapse: collapse; }
.ba th { padding: 0 0 14px; text-align: left; font-size: 13px; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.ba th + th { color: var(--red); }
.ba td { position: relative; width: 50%; padding: 18px 28px 18px 34px; border-top: 1px solid var(--line); vertical-align: top; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.45; }
.ba td::before { position: absolute; left: 0; top: 18px; width: 22px; font-weight: 700; }
.ba td:first-child { color: var(--ink-3); }
.ba td:first-child::before { content: '✕'; color: #b9bbc4; }
.ba td + td { color: var(--ink); font-weight: 560; }
.ba td + td::before { content: '✓'; color: var(--red); }
@media (max-width: 720px) {
  .ba thead { display: none; }
  .ba tr { display: block; padding: 14px 0; border-top: 1px solid var(--line); }
  .ba tbody tr:first-child { border-top: 0; padding-top: 0; }
  .ba td { display: block; width: auto; padding: 4px 0 4px 34px; border: 0; }
  .ba td::before { top: 4px; }
}
.card { background: var(--card); border-radius: 28px; box-shadow: var(--shadow); }
/* solución completa: simuladores, servidor y puesta en marcha */
.kit { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.kit li { padding: 30px; box-shadow: var(--shadow-s); }
.kit h3 { margin: 0 0 8px; font-size: 21px; letter-spacing: -.015em; }
.kit h3::before { content: ''; display: block; width: 28px; height: 4px; margin-bottom: 18px; border-radius: 4px; background: var(--red); }
.kit p { margin: 0; color: var(--ink-2); }
.kit-cta { margin-top: 32px; }
@media (max-width: 1023px) { .kit { grid-template-columns: minmax(0, 1fr); } }
.steps { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.steps li { padding: 30px; box-shadow: var(--shadow-s); }
.steps .num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(230,57,70,.1); color: var(--red); font-weight: 700; }
.steps h3 { margin: 20px 0 8px; font-size: 21px; letter-spacing: -.015em; }
.steps p { margin: 0; color: var(--ink-2); }
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; font-size: 18px; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; font-size: 24px; line-height: 1; color: var(--red); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 22px; color: var(--ink-2); max-width: 40em; }
.contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 64px); padding: clamp(28px, 4.5vw, 64px); }
.mail { display: inline-block; margin-top: 26px; font-weight: 600; color: var(--red); text-decoration: none; }
.contact-form { display: grid; gap: 16px; }
.form-group { display: grid; gap: 6px; }
.form-group label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 13px 15px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg-2);
  font: inherit; font-size: 16px; color: var(--ink); outline: 0; transition: border-color .15s, background .15s;
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--red); background: #fff; }
.form-group .input-error { border-color: #d92d3b; background: #fff5f5; }
.field-error { min-height: 0; font-size: 13px; color: #c81e2c; }
.field-error:empty { display: none; }
.form-status { min-height: 1.4em; font-size: 14px; font-weight: 550; }
.form-status.ok { color: #15803d; } .form-status.warn { color: #b45309; } .form-status.err { color: #c81e2c; }
.footer { padding: 48px 0 64px; }
.footer-in { display: grid; gap: 6px; justify-items: center; text-align: center; font-size: 14px; color: var(--ink-2); }
.footer .logo-word { display: block; height: 24px; width: auto; margin-bottom: 8px; }
.footer p { margin: 0; }

/* ---------------------------------------------------------------- reproductor del recorrido */
.player {
  position: fixed; z-index: 60; left: 50%; bottom: max(16px, env(safe-area-inset-bottom)); transform: translateX(-50%);
  display: flex; align-items: center; gap: 12px; height: 52px; padding: 0 18px 0 8px; border-radius: 999px;
  background: rgba(21,22,27,.92); color: #fff; box-shadow: 0 14px 34px rgba(21,22,27,.3);
}
.player[hidden] { display: none; }
.player-btn { display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--red); color: #fff; cursor: pointer; }
.player .i-play { display: none; } .player.paused .i-play { display: block; } .player.paused .i-pause { display: none; }
.player-label { font-size: 14px; font-weight: 560; }
.player-track { position: relative; width: 120px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.2); overflow: hidden; }
.player-fill { position: absolute; inset: 0; transform-origin: 0 0; transform: scaleX(0); background: #fff; }

/* ---------------------------------------------------------------- celular y tablet */
@media (max-width: 1023px) {
  .hero { min-height: 0; padding-top: calc(var(--nav-h) + 40px); }
  .hero-grid, .ch-grid, .pb-grid, .faq-grid, .contact { grid-template-columns: minmax(0, 1fr); }
  .hero-device { max-width: 640px; }
  /* en celular la pantalla va pegada al texto y el "Ahora tu" debajo de ella */
  .ch-grid { gap: 0; }
  .ch-copy { display: contents; }
  .ch-device { order: 1; margin-top: 20px; }
  .ch-copy > .try { order: 2; justify-self: start; }
  .kicker { margin-bottom: 10px; }
  .sub { margin-top: 12px; }
  .try { margin-top: 16px; }
  .ch-device { max-width: 640px; }
  .monitor .stand { display: none; }
  .screen { --ar: 1.25; }
  .tv .screen { --ar: 1.6; }
  .device-card .screen { --ar: 1.6; }
  .pb-qs { margin-top: 26px; gap: 12px; }
  .pb-slot { width: 140px; justify-self: start; margin-top: 32px; }
  .replay { position: static; margin-top: 14px; }
  .venues-device .replay { align-self: flex-start; }
  .ch-device { display: flex; flex-direction: column; align-items: flex-end; }
  .ch-device > .device { width: 100%; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .venues-device { padding-right: 16%; }
}
@media (max-width: 860px) {
  .nav-chapters { display: none; }
  .nav { gap: 4px; }
}
@media (max-width: 420px) {
  .nav-brand .logo-word { height: 19px; }
  .lang summary { padding: 0 8px; }
  .lang summary svg { display: none; }
  .btn-sm { padding: 0 14px; font-size: 13px; }
  .btn-lg { width: 100%; }
  .try { font-size: 14px; }
}

/* ---------------------------------------------------------------- sin animación: todo en su estado final, sin fijar */
.rm .try { opacity: 1; transform: none; visibility: visible; }
.rm .pulse { animation: none; }
.rm .player, .rm [data-play], .rm .replay { display: none; }

/* ---------------------------------------------------------------- piezas que llegan con JS */
.js [data-load] { opacity: 0; animation: ql-show 0s 2.6s forwards; }
@keyframes ql-show { to { opacity: 1; } }
.rm [data-load] { opacity: 1; animation: none; }
.try.has-chips { display: grid; gap: 12px; border-radius: 22px; padding: 14px 16px; }
.try.has-chips > span:not(.pulse) { display: inline; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px; border-radius: 999px; border: 1.5px solid var(--line);
  background: var(--bg-2); font: inherit; font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--ink); cursor: pointer;
}
.chip i { width: 4px; height: 16px; border-radius: 2px; }
.chip[aria-pressed="true"] { border-color: var(--ink); background: #fff; }
