/* Propuestas en video · JC2R. Marca «Antracita y acero» (jc2r.com, branding/LEEME.md): mate, sin neón, sin emojis. */
@font-face { font-family: "Figtree"; src: url("fonts/figtree.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }

:root {
  --negro: #050505;
  --antracita: #15181c;
  --grafito: #1f242a;
  --niebla: #e8ebee;
  --suave: #c3cad1;
  --ceniza: #98a2ad;
  --acero: #6b8ba4;
  --acero-claro: #b8c4ce;
  --borde: #2e353d;
  --line: rgba(232, 235, 238, 0.09);
  --e: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: clamp(20px, 4vw, 48px);
  --ancho: 1240px;
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
html.bloqueo { overflow: hidden; }
html.bloqueo .hdr { visibility: hidden; }   /* el visor del celular vive dentro de <main>: el encabezado no debe taparlo */
body {
  min-height: 100vh; min-height: 100svh;
  font-family: "Figtree", system-ui, sans-serif; line-height: 1.5;
  background: var(--negro); color: var(--niebla);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
img, video { display: block; }
:focus-visible { outline: 2px solid var(--acero-claro); outline-offset: 3px; border-radius: 6px; }

/* Grano fino, como el fondo de jc2r.com */
.grano {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
main, .foot { position: relative; z-index: 1; }

/* ===== Encabezado ===== */
.hdr { position: fixed; top: 0; left: 0; right: 0; z-index: 50; border-bottom: 1px solid transparent; transition: background-color 0.35s ease, border-color 0.35s ease; }
.hdr.solid { background: rgba(14, 16, 19, 0.74); backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2); border-bottom-color: var(--line); }
.hdr-in { max-width: var(--ancho); margin: 0 auto; height: 72px; padding: 0 var(--gutter); display: flex; align-items: center; gap: 28px; }
.hdr-logo img { height: 24px; width: auto; }
.hdr-nav { display: flex; align-items: center; gap: 4px; margin-right: auto; }
.hdr-link { display: inline-flex; align-items: center; height: 38px; padding: 0 14px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--ceniza); transition: color 0.2s, background-color 0.2s; }
.hdr-link:hover { color: var(--niebla); background: rgba(232, 235, 238, 0.06); }
.btn-pill { margin-left: auto; display: inline-flex; align-items: center; gap: 9px; height: 40px; padding: 0 20px; border-radius: 999px; background: var(--niebla); color: var(--antracita); font-size: 14px; font-weight: 600; white-space: nowrap; transition: background-color 0.2s, transform 0.2s; }
.btn-pill:hover { background: #fff; transform: translateY(-1px); }
.btn-pill svg { width: 17px; height: 17px; fill: currentColor; flex: none; }
.btn-pill .corto { display: none; }

/* ===== Entrada ===== */
.intro { padding-bottom: 44px; }
.intro h2 { font-size: clamp(34px, 4.4vw, 60px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; text-wrap: balance; }
.intro p { margin-top: 20px; max-width: 54ch; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.6; color: var(--suave); }
.indice { margin: 22px 0 0 -14px; display: flex; flex-wrap: wrap; gap: 2px; }

/* ===== Propuesta modular ===== */
.oferta { max-width: var(--ancho); margin: 0 auto; padding: 124px var(--gutter) 96px; }
.oferta-cab h1 { font-size: clamp(40px, 5.4vw, 78px); font-weight: 700; letter-spacing: -0.04em; line-height: 0.98; }
.oferta-cab p { margin-top: 20px; max-width: 56ch; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.6; color: var(--suave); }
.oferta-cuerpo { margin-top: 52px; display: grid; grid-template-columns: minmax(0, 1fr) 344px; gap: clamp(28px, 4.5vw, 72px); align-items: start; }

.empresa + .empresa { margin-top: 64px; }
.empresa-cab { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.empresa-cab h2 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.empresa-sub { font-size: 14px; color: var(--ceniza); }
.empresa-sub b { margin-left: 10px; font-size: 18px; font-weight: 600; color: var(--niebla); font-variant-numeric: tabular-nums; }
.bloque-t { margin: 28px 0 2px; font-size: 14px; font-weight: 600; color: var(--ceniza); }

.item { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 0 16px; align-items: start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.item-caja { position: relative; width: 24px; height: 24px; margin-top: 1px; }
.item-caja input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.item-caja span { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 7px; border: 1.5px solid #56606b; transition: background-color 0.15s, border-color 0.15s; pointer-events: none; }
.item-caja svg { width: 15px; height: 15px; fill: none; stroke: var(--antracita); stroke-width: 2.6; opacity: 0; }
.item-caja input:hover + span { border-color: var(--acero-claro); }
.item-caja input:checked + span { background: var(--niebla); border-color: var(--niebla); }
.item-caja input:checked + span svg { opacity: 1; }
.item-caja input:focus-visible + span { outline: 2px solid var(--acero-claro); outline-offset: 3px; }
.item-titulo { display: block; font-size: 18px; font-weight: 600; letter-spacing: -0.012em; line-height: 1.3; cursor: pointer; }
.item-detalle { margin-top: 5px; max-width: 60ch; font-size: 15px; line-height: 1.5; color: var(--ceniza); }
.item-notas { list-style: none; margin-top: 9px; display: grid; gap: 5px; }
.item-notas li { position: relative; max-width: 60ch; padding-left: 16px; font-size: 14px; line-height: 1.45; color: var(--suave); }
.item-notas li::before { content: ""; position: absolute; left: 2px; top: 0.6em; width: 5px; height: 5px; border-radius: 50%; background: var(--acero); }
.item-enlace { display: inline-block; margin: 10px 0 0 16px; font-size: 14px; font-weight: 600; color: var(--acero-claro); border-bottom: 1px solid rgba(184, 196, 206, 0.3); transition: color 0.2s, border-color 0.2s; }
.item-enlace:hover { color: var(--niebla); border-color: var(--niebla); }
.item-precio { text-align: right; white-space: nowrap; font-size: 18px; font-weight: 600; line-height: 1.3; font-variant-numeric: tabular-nums; }
.item-precio small { display: block; margin-top: 2px; font-size: 13px; font-weight: 500; color: var(--ceniza); }
.item.fuera .item-titulo { color: var(--ceniza); }
.item.fuera .item-detalle, .item.fuera .item-notas li { color: #6b7480; }
.item.fuera .item-notas li::before { background: #4a535d; }
.item.fuera .item-precio { font-size: 15px; font-weight: 500; color: #7d8792; }
.item.fuera .paso { display: none; }

.paso { margin-top: 12px; display: inline-flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid var(--borde); border-radius: 999px; vertical-align: middle; }
.paso button { width: 34px; height: 34px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--grafito); color: var(--niebla); cursor: pointer; transition: background-color 0.2s; }
.paso button:hover:not(:disabled) { background: #2f3740; }
.paso button:disabled { opacity: 0.35; cursor: default; }
.paso svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.paso output { min-width: 228px; padding: 0 10px; text-align: center; font-size: 14.5px; font-weight: 600; font-variant-numeric: tabular-nums; }

.resumen { position: sticky; top: 100px; padding: 24px; border-radius: 20px; background: var(--antracita); box-shadow: inset 0 0 0 1px var(--borde); }
.resumen h2 { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.resumen-lista { margin-top: 16px; display: grid; gap: 10px; }
.resumen-fila { display: flex; justify-content: space-between; gap: 16px; font-size: 15px; color: var(--suave); }
.resumen-fila b { font-weight: 600; color: var(--niebla); font-variant-numeric: tabular-nums; white-space: nowrap; }
.resumen-total { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.resumen-total span { display: block; font-size: 14px; color: var(--ceniza); }
.resumen-total > b { display: block; margin-top: 4px; font-size: clamp(30px, 3vw, 38px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.btn-solid { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 28px; border-radius: 999px; background: var(--niebla); color: var(--antracita); font-size: 16px; font-weight: 600; transition: background-color 0.2s, transform 0.2s; }
.btn-solid:hover { background: #fff; transform: translateY(-1px); }
.btn-solid svg { width: 19px; height: 19px; fill: currentColor; flex: none; }
.resumen .btn-solid { margin-top: 20px; width: 100%; }
.resumen-nota { margin-top: 12px; font-size: 13px; line-height: 1.5; color: #7d8792; }
.resumen-reinicio { margin-top: 14px; padding: 0 0 2px; border: 0; border-bottom: 1px solid rgba(184, 196, 206, 0.3); background: none; font-size: 13.5px; font-weight: 600; color: var(--acero-claro); cursor: pointer; }
.resumen-reinicio:hover { color: var(--niebla); border-color: var(--niebla); }
.barra-total { display: none; }
.empresa-acc { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.empresa-acc .btn-chico { height: 32px; padding: 0 14px; font-size: 13.5px; }
.totales { display: grid; gap: 10px; }
.totales div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.totales span { font-size: 14px; color: var(--ceniza); }
.totales b { font-size: 28px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums; white-space: nowrap; padding: 0 2px; }
.resumen-total > .totales + .resumen-ret { margin-top: 16px; }
@keyframes cambia { 0% { background: rgba(107, 139, 164, 0.55); box-shadow: 0 0 0 4px rgba(107, 139, 164, 0.55); } 100% { background: transparent; box-shadow: 0 0 0 4px transparent; } }
.cambia { animation: cambia 1.1s ease-out; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { .cambia { animation: none; } }
.masivo { margin-bottom: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.masivo span { font-size: 13px; color: #7d8792; }
.btn-chico { height: 36px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--borde); background: rgba(232, 235, 238, 0.03); color: var(--niebla); font-size: 14px; font-weight: 600; cursor: pointer; transition: border-color 0.2s; }
.btn-chico:hover { border-color: var(--acero-claro); }
.item-precio small.item-ret { margin-top: 4px; font-size: 12px; color: #7d8792; }
.resumen-ret { margin-top: 14px; display: grid; gap: 6px; }
.resumen-ret div { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.resumen-ret div[hidden] { display: none; }
.resumen-ret dt { color: var(--ceniza); }
.resumen-ret dd { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ret-nota { margin-top: 56px; padding: 24px; border-radius: 18px; box-shadow: inset 0 0 0 1px var(--borde); }
.ret-nota h2 { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.ret-nota p { margin-top: 10px; max-width: 70ch; font-size: 14.5px; line-height: 1.55; color: var(--suave); }
.ret-nota ul { margin-top: 12px; display: grid; gap: 8px; list-style: none; }
.ret-nota li { position: relative; max-width: 70ch; padding-left: 16px; font-size: 14px; line-height: 1.5; color: var(--suave); }
.ret-nota li::before { content: ""; position: absolute; left: 2px; top: 0.6em; width: 5px; height: 5px; border-radius: 50%; background: var(--acero); }
.ret-nota li b { color: var(--niebla); }
.ret-nota .ret-fuentes { font-size: 13px; color: #7d8792; }
.ret-nota a { color: var(--acero-claro); border-bottom: 1px solid rgba(184, 196, 206, 0.3); }
.item-aviso { margin-top: 12px; max-width: 62ch; display: flex; gap: 10px; align-items: flex-start; padding: 11px 14px; border-radius: 12px; background: rgba(210, 168, 95, 0.1); border: 1px solid rgba(210, 168, 95, 0.45); font-size: 14.5px; font-weight: 600; line-height: 1.45; color: #ecd6ae; }
.item-aviso svg { width: 18px; height: 18px; margin-top: 1px; flex: none; fill: none; stroke: #d2a85f; stroke-width: 2; }
.item.fuera .item-aviso { opacity: 0.6; }
.btn-reels { margin-top: 12px; display: flex; align-items: center; gap: 14px; width: 100%; max-width: 440px; padding: 10px 16px 10px 10px; border-radius: 16px; border: 1px solid var(--borde); background: var(--grafito); color: var(--niebla); text-align: left; cursor: pointer; transition: border-color 0.2s, background-color 0.2s; }
.btn-reels:hover { border-color: var(--acero-claro); background: #262c33; }
.reels-minis { display: flex; flex: none; }
.reels-minis img { width: 34px; height: 60px; object-fit: cover; border-radius: 7px; box-shadow: 0 0 0 2px var(--grafito); }
.reels-minis img + img { margin-left: -12px; }
.reels-ico { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--niebla); color: var(--antracita); }
.reels-ico svg { width: 18px; height: 18px; margin-left: 2px; }
svg.lleno { fill: currentColor; }
.btn-reels-txt b { display: block; font-size: 15px; font-weight: 600; line-height: 1.3; }
.btn-reels-txt small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--ceniza); }

/* ===== Visor de videos tipo TikTok ===== */
.reels { position: fixed; inset: 0; z-index: 100; display: none; background: rgba(5, 5, 5, 0.97); }
.reels.abierto { display: block; }
.reels-lista { height: 100%; overflow-y: auto; scroll-snap-type: y mandatory; overscroll-behavior: contain; scrollbar-width: none; }
.reels-lista::-webkit-scrollbar { display: none; }
.reel { height: 100vh; height: 100dvh; display: flex; align-items: center; justify-content: center; padding: 18px; scroll-snap-align: start; scroll-snap-stop: always; }
.reel-marco { position: relative; height: 100%; aspect-ratio: 9 / 16; max-width: 100%; border-radius: 20px; overflow: hidden; background: #000; cursor: pointer; }
.reel.horizontal .reel-marco { height: auto; width: min(100%, 1000px); aspect-ratio: 16 / 9; }
.reel-marco video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.reel-pausa { position: absolute; inset: 0; display: none; place-items: center; pointer-events: none; }
.reel-pausa svg { width: 72px; height: 72px; padding: 22px 20px 22px 24px; border-radius: 50%; background: rgba(5, 5, 5, 0.55); color: #fff; }
.reel.pausado .reel-pausa { display: grid; }
.reel-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 70px 18px 20px; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.82)); pointer-events: none; }
.reel-marca { font-size: 13px; font-weight: 600; color: var(--acero-claro); }
.reel-info h3 { margin-top: 2px; font-size: 18px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; }
.reel-resumen { margin-top: 6px; font-size: 14px; line-height: 1.45; color: #d4d9de; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.reels-top { position: absolute; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; pointer-events: none; }
.reels-cuenta { font-size: 14px; font-weight: 600; color: var(--ceniza); font-variant-numeric: tabular-nums; }
.reels-acciones { display: flex; gap: 8px; pointer-events: auto; }
.reels-btn { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--borde); background: rgba(21, 24, 28, 0.85); color: var(--niebla); cursor: pointer; transition: border-color 0.2s; }
.reels-btn:hover { border-color: var(--acero-claro); }
.reels-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; }
.reels-nav { position: absolute; right: 28px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 10px; }
@media (max-width: 899px) {
  .reel { padding: 0; }
  .reel-marco { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; }
  .reel.horizontal .reel-marco { height: 100%; aspect-ratio: auto; }
  .reel-info { padding-bottom: calc(22px + env(safe-area-inset-bottom)); }
  .reels-top { padding: 14px 14px; background: linear-gradient(rgba(0, 0, 0, 0.5), transparent); }
  .reels-nav { display: none; }
}
.empresa-sub .sep { margin-left: 18px; }
.resumen-fila b small { display: block; margin-top: 2px; text-align: right; font-size: 12.5px; font-weight: 500; color: var(--ceniza); }
.resumen-unico { margin-top: 6px; font-size: 15px; font-weight: 600; color: var(--niebla); }
.resumen-unico:empty { display: none; }
.item { position: relative; }
.item.si::before, .item.no::before { content: ""; position: absolute; left: -16px; top: 18px; bottom: 18px; width: 3px; border-radius: 3px; background: var(--ok, #7fae8f); }
.item.no::before { background: #c97a7a; }
.decision { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.dec { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 15px; border-radius: 999px; border: 1px solid var(--borde); background: rgba(232, 235, 238, 0.03); color: var(--suave); font-size: 14px; font-weight: 600; cursor: pointer; transition: background-color 0.2s, border-color 0.2s, color 0.2s; }
.dec svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; flex: none; }
.dec:hover { border-color: var(--acero-claro); color: var(--niebla); }
.dec-si[aria-pressed="true"] { background: #7fae8f; border-color: #7fae8f; color: #0e1a12; }
.dec-no[aria-pressed="true"] { background: rgba(201, 122, 122, 0.16); border-color: #c97a7a; color: #f0c4c4; }
.dec-nota.tiene { border-color: var(--acero); color: var(--niebla); }
.nota-caja { margin-top: 10px; }
.nota-caja[hidden] { display: none; }
.nota-caja textarea { display: block; width: 100%; max-width: 62ch; min-height: 92px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--borde); background: var(--negro); color: var(--niebla); font: inherit; font-size: 14.5px; line-height: 1.5; resize: vertical; }
.nota-caja textarea::placeholder { color: #6b7480; }
.nota-caja textarea:focus { outline: none; border-color: var(--acero-claro); }
.nota-estado { margin-top: 6px; font-size: 12.5px; color: #7d8792; }
.resumen-fila small { display: block; margin-top: 2px; font-size: 12.5px; color: #7d8792; }
.resumen-acuerdos { margin-top: 8px; font-size: 14px; color: var(--suave); }
.guardado { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.5; color: #9cc3a8; }
.guardado.malo { color: #d2a85f; }
.item.descartado .item-caja { border-radius: 7px; border: 1.5px dashed #3d454e; }
.item.descartado .item-titulo { cursor: default; color: #7d8792; text-decoration: line-through; text-decoration-thickness: 1.5px; }
.item.descartado .item-precio { font-size: 15px; font-weight: 500; color: #7d8792; }
.item-motivo { margin-top: 5px; max-width: 60ch; font-size: 14px; line-height: 1.5; color: var(--ceniza); }
.acuerdo { margin-top: 12px; }
.acuerdo summary { list-style: none; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--acero-claro); cursor: pointer; }
.acuerdo summary::-webkit-details-marker { display: none; }
.acuerdo summary:hover { color: var(--niebla); }
.acuerdo summary svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.acuerdo.tiene summary { color: var(--niebla); }
.acuerdo textarea { display: block; width: 100%; max-width: 62ch; min-height: 92px; margin-top: 10px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--borde); background: var(--negro); color: var(--niebla); font: inherit; font-size: 14.5px; line-height: 1.5; resize: vertical; }
.acuerdo textarea::placeholder { color: #6b7480; }
.acuerdo textarea:focus { outline: none; border-color: var(--acero-claro); }
.acuerdo-estado { margin-top: 6px; font-size: 12.5px; color: #7d8792; }
.btn-linea { margin-top: 10px; width: 100%; height: 44px; border-radius: 999px; border: 1px solid var(--borde); background: none; font-size: 14.5px; font-weight: 600; color: var(--niebla); cursor: pointer; transition: border-color 0.2s; }
.btn-linea:hover { border-color: var(--acero-claro); }

/* ===== Sala: pantalla fija + programa ===== */
.sala { max-width: var(--ancho); margin: 0 auto; padding: 80px var(--gutter) 96px; border-top: 1px solid var(--line); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(32px, 5vw, 84px); align-items: start; }

.visor { --alto: clamp(400px, calc(100svh - 216px), 664px); width: calc(var(--alto) * 9 / 16); position: sticky; top: 100px; }
.pantalla { position: relative; height: var(--alto); border-radius: 22px; overflow: hidden; background: #000; border: 1px solid var(--borde); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55); }
.pantalla video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.jugar { position: absolute; inset: 0; display: grid; place-items: center; border: 0; cursor: pointer; background: linear-gradient(180deg, rgba(5, 5, 5, 0) 50%, rgba(5, 5, 5, 0.45)); }
.jugar span { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: var(--niebla); color: var(--antracita); transition: transform 0.25s var(--e), background-color 0.2s; }
.jugar:hover span { transform: scale(1.06); background: #fff; }
.jugar svg { width: 28px; height: 28px; margin-left: 3px; fill: currentColor; }
.visor.empezado .jugar { display: none; }
.visor-pie { margin-top: 16px; }
.visor-marca { font-size: 13px; font-weight: 500; color: var(--ceniza); }
.visor-titulo { margin-top: 2px; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
.visor-nota { display: none; margin-top: 6px; font-size: 13px; line-height: 1.45; color: var(--ceniza); }
.visor.horizontal .pantalla { height: auto; aspect-ratio: 16 / 9; }
.visor.horizontal .visor-nota { display: block; }
.visor-cerrar { display: none; }

.grupo + .grupo { margin-top: 56px; }
.grupo-cab { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; padding-bottom: 14px; margin-bottom: 10px; border-bottom: 1px solid var(--line); }
.grupo-cab h2 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.grupo-nota { font-size: 14px; color: var(--ceniza); }

.piezas { list-style: none; display: grid; gap: 4px; }
.pieza { border-radius: 18px; }
.pieza.activa { background: var(--antracita); box-shadow: inset 0 0 0 1px var(--borde); }
.pieza-btn { width: 100%; display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 14px 16px; border: 0; border-radius: 18px; background: none; text-align: left; cursor: pointer; transition: background-color 0.2s; }
.pieza:not(.activa) .pieza-btn:hover { background: rgba(232, 235, 238, 0.045); }
.pieza-mini { position: relative; display: block; width: 54px; aspect-ratio: 9 / 16; border-radius: 9px; overflow: hidden; background: var(--grafito); box-shadow: 0 0 0 1px var(--borde); }
.pieza-mini img { width: 100%; height: 100%; object-fit: cover; }
.pieza-mini .tri { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(5, 5, 5, 0.3); }
.pieza-mini .tri svg { width: 18px; height: 18px; fill: var(--niebla); }
.pieza.activa .pieza-mini { box-shadow: 0 0 0 2px var(--acero); }
.pieza.activa .pieza-mini .tri { display: none; }
.pieza-titulo { display: block; font-size: 19px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; }
.pieza.activa .pieza-titulo::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 10px; border-radius: 50%; background: var(--acero); vertical-align: 0.12em; }
.pieza-resumen { display: block; margin-top: 6px; max-width: 62ch; font-size: 15px; line-height: 1.5; color: var(--ceniza); }
.pieza-dur { align-self: start; padding-top: 3px; font-size: 14px; font-weight: 500; color: var(--ceniza); font-variant-numeric: tabular-nums; }

.pieza-mas { padding: 2px 16px 18px 88px; }
.pieza-mas[hidden] { display: none; }
.versiones { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 14px; }
.version { height: 32px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--borde); background: none; color: var(--ceniza); font-size: 13.5px; font-weight: 600; cursor: pointer; transition: color 0.2s, border-color 0.2s, background-color 0.2s; }
.version:hover { color: var(--niebla); border-color: var(--acero-claro); }
.version[aria-pressed="true"] { background: var(--niebla); border-color: var(--niebla); color: var(--antracita); }
.pista { margin-bottom: 8px; font-size: 13px; color: var(--ceniza); }
.escenas { list-style: none; display: grid; gap: 2px; margin-left: -10px; }
.escena { width: 100%; display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 10px; align-items: baseline; padding: 7px 10px; border: 0; border-radius: 10px; background: none; text-align: left; cursor: pointer; font-size: 14.5px; line-height: 1.45; color: var(--suave); transition: background-color 0.2s, color 0.2s; }
.escena:hover { background: rgba(232, 235, 238, 0.05); color: var(--niebla); }
.escena .t { font-weight: 600; color: var(--acero-claro); font-variant-numeric: tabular-nums; }
.escena.ahora { background: rgba(107, 139, 164, 0.16); color: var(--niebla); }
.escena.ahora .t { color: var(--niebla); }
.escenas.sin-tiempo li { position: relative; padding: 5px 10px 5px 26px; font-size: 14.5px; line-height: 1.45; color: var(--suave); }
.escenas.sin-tiempo li::before { content: ""; position: absolute; left: 11px; top: 0.86em; width: 5px; height: 5px; border-radius: 50%; background: var(--acero); }
.pieza-fuente { margin-top: 14px; max-width: 62ch; font-size: 13px; line-height: 1.5; color: #7d8792; }
.aviso { font-size: 15px; color: var(--ceniza); }

/* ===== Nota y pie ===== */
.nota { border-top: 1px solid var(--line); }
.nota-in { max-width: var(--ancho); margin: 0 auto; padding: 64px var(--gutter) 72px; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.7fr); gap: clamp(28px, 5vw, 84px); }
.nota h2 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.nota-lista { display: grid; gap: 20px; }
.nota-lista p { max-width: 62ch; font-size: 16px; line-height: 1.6; color: var(--suave); }
.nota-lista b { font-weight: 600; color: var(--niebla); }

.foot { border-top: 1px solid var(--line); }
.foot-in { max-width: var(--ancho); margin: 0 auto; padding: 28px var(--gutter) 44px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; font-size: 14px; color: var(--ceniza); }
.foot-marca { margin-right: auto; }
.foot a { transition: color 0.2s; }
.foot a:hover { color: var(--niebla); }

/* ===== Celular: la pantalla pasa a ser un visor a pantalla completa ===== */
@media (max-width: 899px) {
  .hdr-nav { display: none; }
  .btn-pill .largo { display: none; }
  .btn-pill .corto { display: inline; }
  .intro { padding-bottom: 32px; }
  .sala { grid-template-columns: minmax(0, 1fr); padding-top: 56px; padding-bottom: 64px; }
  .oferta { padding: 108px var(--gutter) 64px; }
  .oferta-cuerpo { margin-top: 36px; grid-template-columns: minmax(0, 1fr); }
  .resumen { position: static; }
  .item { grid-template-columns: 24px minmax(0, 1fr); }
  .item.si::before, .item.no::before { left: -12px; }
  .item-precio { grid-column: 2; margin-top: 12px; text-align: left; }
  .item-precio small { display: inline; margin: 0 0 0 8px; }
  .item-precio { white-space: normal; }
  .item-precio small.item-ret { display: block; margin: 4px 0 0; }
  .paso output { min-width: 0; flex: 1; }
  .paso { display: flex; }
  .barra-total { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); background: rgba(14, 16, 19, 0.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform 0.3s var(--e); }
  .barra-total.ve { transform: none; }
  .barra-total span { display: block; font-size: 12.5px; color: var(--ceniza); }
  .barra-total b { display: block; font-size: 20px; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
  html.bloqueo .barra-total { display: none; }

  .visor { display: none; position: fixed; inset: 0; z-index: 80; width: auto; flex-direction: column; background: var(--negro); }
  .visor.abierto { display: flex; }
  .pantalla, .visor.horizontal .pantalla { order: 2; flex: 1; min-height: 0; height: auto; aspect-ratio: auto; border: 0; border-radius: 0; box-shadow: none; }
  .visor.horizontal .visor-nota { display: none; }
  .visor-pie { order: 1; margin: 0; padding: 14px 72px 14px var(--gutter); border-bottom: 1px solid var(--line); }
  .visor-cerrar { display: grid; place-items: center; position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--borde); background: var(--antracita); cursor: pointer; }
  .visor-cerrar svg { width: 20px; height: 20px; }

  .grupo + .grupo { margin-top: 44px; }
  .pieza-btn { grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; padding: 12px; align-items: start; }
  .pieza-mini { width: 64px; }
  .pieza-titulo { font-size: 17px; }
  .pieza-resumen { font-size: 14.5px; }
  .pieza-mas { padding: 0 12px 16px; }
  .escenas { margin-left: 0; }
  .nota-in { grid-template-columns: minmax(0, 1fr); padding: 48px var(--gutter) 56px; }
  .foot-marca { flex-basis: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
