/* ============================================================
   SCANLY — sitio.css (v3.1)
   Capítulos de color: cada sección es un campo plano de pantalla
   completa (rojo, papel, noche, clínico, cian, marino). Una sola
   letra, un solo borde (recto), un solo botón. Los círculos son
   solo para el sticker, que es redondo.
   ============================================================ */

:root {
    --rojo: #d72638;   --rojo-oscuro: #b51d2d;
    --noche: #0d1b26;
    --hueso: #f4f6f8;  --hueso-2: #e5eaee;
    --clinico: #d5e5ee;
    --cian: #34bfdd;
    --marino: #12364d;
    --tinta: #0d1b26;
    --papel: #ffffff;

    --letra: 'Atkinson Hyperlegible Next', 'Atkinson Hyperlegible', 'Segoe UI', Roboto, Arial, sans-serif;
    --margen: clamp(16px, 4vw, 56px);
    --s-gigante: clamp(52px, 7.6vw, 128px);
    --s-titulo: clamp(36px, 4.4vw, 72px);
    --s-sub: clamp(26px, 2.6vw, 40px);
    --s-texto: clamp(18px, 1.3vw, 20px);
    --s-chico: 15px;
    --curva: cubic-bezier(.2, .75, .15, 1);
}

*, *::before, *::after { box-sizing: border-box; }
:where(.sitio) * { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html[data-letra="grande"] { zoom: 1.15; }
body.sitio { margin: 0; font-family: var(--letra); font-size: var(--s-texto); line-height: 1.5; color: var(--tinta); background: var(--hueso); overflow-x: hidden; }
:where(.sitio) img { display: block; max-width: 100%; height: auto; }
:where(.sitio) a { color: inherit; }
:where(.sitio) button, :where(.sitio) input, :where(.sitio) select, :where(.sitio) textarea { font: inherit; color: inherit; }
:where(.sitio) h1, :where(.sitio) h2, :where(.sitio) h3 { font-weight: 800; line-height: 1; letter-spacing: -0.03em; }
:where(.sitio) :focus-visible { outline: 3px solid var(--cian); outline-offset: 3px; }
.oculto { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.saltar { position: absolute; left: 16px; top: -80px; z-index: 300; padding: 14px 20px; background: var(--noche); color: var(--papel); font-weight: 700; }
.saltar:focus { top: 16px; }
.marco { width: min(100% - 2 * var(--margen), 1600px); margin-inline: auto; }

/* Campos de color */
.campo { position: relative; min-height: 90svh; padding-block: clamp(72px, 9vw, 140px); }
.campo-corto { min-height: 0; }
.c-rojo { background: var(--rojo); color: var(--papel); }
.c-noche { background: var(--noche); color: var(--papel); }
.c-hueso { background: var(--hueso); color: var(--tinta); }
.c-hueso2 { background: var(--hueso-2); color: var(--tinta); }
.c-clinico { background: var(--clinico); color: var(--tinta); }
.c-cian { background: var(--cian); color: var(--tinta); }
.c-marino { background: var(--marino); color: var(--papel); }
.campo h2 { font-size: var(--s-titulo); max-width: 14ch; }
.bajada { margin-top: 24px; max-width: 46ch; font-size: clamp(19px, 1.5vw, 23px); line-height: 1.45; }
.campo p a:not(.boton), .texto a:not(.boton) { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }

/* Botón: un solo tipo, rectángulo sólido */
.boton { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 28px; border: 0; font-size: 18px; font-weight: 800; text-decoration: none; text-align: center; cursor: pointer; transition: background .2s, color .2s, transform .15s; }
.boton:active { transform: translateY(1px); }
.b-tinta { background: var(--noche); color: var(--papel); }
.b-tinta:hover { background: #2a2e34; }
.b-papel { background: var(--papel); color: var(--tinta); }
.b-papel:hover { background: var(--hueso-2); }
.b-rojo { background: var(--rojo); color: var(--papel); }
.b-rojo:hover { background: var(--rojo-oscuro); }
.b-chico { min-height: 44px; padding: 0 18px; font-size: 16px; }
.enlace { font-weight: 800; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }

/* Barra de arriba */
.barra { position: absolute; top: 0; left: 0; right: 0; z-index: 50; }
.barra-fila { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 22px; }
.marca { display: inline-flex; align-items: center; font-size: 22px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; text-decoration: none; color: var(--tinta); }
.marca em { font-style: normal; color: var(--rojo); }
.marca img { width: 34px; height: 34px; margin: -6px 10px 0 0; }
.barra-der { display: flex; align-items: center; gap: 8px; }
.barra-menu { display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 20px; border: 0; background: transparent; font-size: 18px; font-weight: 800; color: var(--tinta); cursor: pointer; }
.barra-menu span { display: grid; gap: 5px; width: 22px; }
.barra-menu span::before, .barra-menu span::after { content: ''; height: 3px; background: currentColor; }

/* Menú a pantalla completa */
.menu { position: fixed; inset: 0; z-index: 200; display: grid; grid-template-rows: auto 1fr auto; background: var(--rojo); color: var(--papel); overflow-y: auto; }
.menu[hidden] { display: none; }
.menu .marca { color: var(--papel); }
.menu .marca em { color: var(--papel); }
.menu .barra-menu { color: var(--papel); }
.menu-links { display: flex; flex-direction: column; justify-content: center; gap: 4px; padding-block: 24px; }
.menu-links a { font-size: clamp(40px, 7vw, 96px); font-weight: 800; line-height: 1.02; letter-spacing: -0.035em; text-decoration: none; }
.menu-links a:hover, .menu-links a[aria-current="page"] { color: var(--noche); }
.menu-pie { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding-block: 24px 32px; font-size: 18px; }
.menu-pie a { font-weight: 700; }
.letra-btn { min-height: 48px; padding: 0 18px; border: 2px solid var(--papel); background: transparent; color: var(--papel); font-weight: 800; cursor: pointer; }
.letra-btn[aria-pressed="true"] { background: var(--papel); color: var(--rojo); }
html.menu-abierto { overflow: hidden; }

/* Portada: dos campos que se juntan a media altura; el titular cruza la línea */
.agua { --abajo: var(--rojo); --corte: 50%; position: relative; height: 100svh; min-height: 620px; background: var(--hueso); overflow: hidden; }
.agua::before { content: ''; position: absolute; left: 0; right: 0; bottom: 0; top: var(--corte); background: var(--abajo); }
.agua-titulo { position: absolute; z-index: 1; left: 50%; top: var(--corte); width: min(92vw, 1500px); transform: translate(-50%, -75%); font-size: var(--s-gigante); font-weight: 800; line-height: .9; letter-spacing: -0.04em; text-align: center; color: var(--tinta); }
.agua-titulo .l { display: block; overflow: hidden; padding-block: .03em; }
.agua-titulo .l > span { display: block; }
.agua-pie { position: absolute; z-index: 1; left: 0; right: 0; bottom: 40px; display: flex; flex-direction: column; align-items: center; gap: 20px; color: var(--papel); text-align: center; }
.agua-pie p { max-width: 52ch; font-size: clamp(18px, 1.4vw, 21px); }
.agua-pie .precio-linea { font-weight: 800; }
.agua-acciones { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 24px; align-items: center; }
.agua-acciones .enlace { color: inherit; }
/* Color de la mitad de abajo, uno por página */
.agua.a-cian { --abajo: var(--cian); }
.agua.a-clinico { --abajo: var(--clinico); }
.agua.a-cian .agua-pie, .agua.a-clinico .agua-pie { color: var(--tinta); }
.agua-corta { height: 78svh; min-height: 560px; }
html.anim .agua-titulo .l > span { animation: sube-linea .9s var(--curva) both; }
html.anim .agua-titulo .l + .l > span { animation-delay: .11s; }
html.anim .agua-pie { animation: aparece .7s .5s var(--curva) both; }
@keyframes sube-linea { from { transform: translateY(105%); } }
@keyframes aparece { from { opacity: 0; transform: translateY(14px); } }

/* Entrada de los elementos de cada sección */
html.anim [data-ver] { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--curva), transform .7s var(--curva); }
html.anim [data-ver].visto { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html.anim [data-ver] { opacity: 1; transform: none; transition: none; }
    html.anim .agua-titulo .l > span, html.anim .agua-pie { animation: none; }
}

/* Disco: el sticker es redondo, así que el objeto va sobre un disco */
.disco-fila { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.disco-lista { list-style: none; }
.disco-lista li + li { margin-top: 2px; }
.disco-lista button { padding: 4px 0; border: 0; background: none; font-size: clamp(30px, 3vw, 46px); font-weight: 800; line-height: 1.12; letter-spacing: -0.03em; text-align: left; color: #5d636b; cursor: pointer; }
.disco-lista button:hover { color: var(--tinta); }
.disco-lista button[aria-selected="true"] { color: var(--tinta); text-decoration: underline; text-decoration-color: var(--rojo); text-decoration-thickness: 6px; text-underline-offset: 8px; }
.disco-dato { margin-top: 32px; max-width: 34ch; font-size: 20px; min-height: 3em; }
.disco { position: relative; width: min(64vh, 100%); aspect-ratio: 1; margin-left: auto; border-radius: 50%; background: var(--rojo); transition: background .3s; }
.disco img { position: absolute; inset: 9%; width: 82%; height: 82%; border-radius: 50%; object-fit: cover; transition: opacity .3s; }
.disco .sticker { position: absolute; left: 50%; top: 46%; width: 24%; transform: translate(-50%, -50%); }

/* El sticker dibujado: círculo rojo con la cruz y SCANLY */
.sticker { display: grid; place-items: center; aspect-ratio: 1; border-radius: 50%; background: var(--rojo); color: var(--papel); border: 4px solid var(--papel); font-size: clamp(13px, 1vw, 16px); font-weight: 800; letter-spacing: .02em; }
.sticker span { display: inline-flex; flex-direction: column; align-items: center; gap: .3em; }
.sticker span::before { content: ''; width: 1.6em; height: 1.6em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Crect y='10.5' width='32' height='11' rx='2.5' fill='%23fff'/%3E%3Crect x='10.5' width='11' height='32' rx='2.5' fill='%23fff'/%3E%3C/svg%3E") center / contain no-repeat; }

/* Simulador: acercas el celular y se abre la ficha */
.sim { display: grid; grid-template-columns: 6fr 6fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.sim-texto .bajada { color: #d9dde2; }
.sim-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 32px; max-width: 520px; }
.sim-form label { display: flex; flex-direction: column; gap: 6px; font-size: var(--s-chico); font-weight: 700; }
.sim-form .ancho { grid-column: 1 / -1; }
.sim-form input, .sim-form select { min-width: 0; width: 100%; min-height: 52px; padding: 0 16px; border: 0; background: #22262c; color: var(--papel); font-size: 18px; }
.sim-form .boton { grid-column: 1 / -1; justify-self: start; margin-top: 8px; }
.sim-escena { position: relative; aspect-ratio: 1; width: min(100%, 640px); margin-left: auto; touch-action: none; }
.sim-casco { position: absolute; left: 0; top: 10%; width: 74%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--papel); }
.sim-casco img { width: 100%; height: 100%; object-fit: cover; }
.sim-casco .sticker { position: absolute; left: 22%; top: 36%; width: 24%; }
.sim-blanco { position: absolute; left: 16%; top: 31%; width: 26%; aspect-ratio: 1; border-radius: 50%; border: 3px dashed var(--cian); pointer-events: none; }
.sim.listo .sim-blanco { display: none; }
.telefono { position: absolute; right: 0; top: 0; width: 46%; aspect-ratio: 9 / 18.5; padding: 10px; border-radius: 34px; background: #050607; cursor: grab; transition: transform .6s var(--curva); z-index: 2; }
.telefono:active { cursor: grabbing; }
.telefono.arrastrando { transition: none; }
.telefono.vibra { animation: vibra .35s linear 2; }
@keyframes vibra { 25% { translate: -3px 0; } 75% { translate: 3px 0; } }
.pantalla { width: 100%; height: 100%; border-radius: 26px; overflow: hidden; background: #1c1f24; display: grid; grid-template-rows: minmax(0, 1fr); }
.pantalla-espera { display: grid; place-items: center; align-content: center; gap: 14px; padding: 18px; text-align: center; color: #c9ced5; font-size: 14px; }
.pantalla-espera svg { width: 46px; height: 46px; }
.pantalla-ficha { display: none; grid-template-rows: auto 1fr auto; font-size: 12px; color: var(--tinta); background: var(--hueso); }
.sim.listo .pantalla-espera { display: none; }
.sim.listo .pantalla-ficha { display: grid; animation: aparece .5s var(--curva) both; }
.pf-barra { padding: 8px 10px; background: var(--rojo); color: var(--papel); font-weight: 800; font-size: 11px; }
.pf-cuerpo { padding: 8px 10px; display: grid; align-content: start; gap: 5px; min-height: 0; overflow: hidden; }
.pf-nombre { font-size: 15px; font-weight: 800; line-height: 1.1; overflow-wrap: anywhere; }
.pf-sangre { display: flex; justify-content: space-between; align-items: baseline; padding: 6px 0; border-bottom: 1px solid #d3ccbd; /* taste-skill-ignore: fila de datos dentro del celular dibujado (interfaz) */ }
.pf-sangre b { font-size: 24px; color: var(--rojo); }
.pf-dato small { display: block; color: #5d574f; font-size: 10px; font-weight: 700; }
.pf-dato span { font-weight: 800; overflow-wrap: anywhere; }
.pf-tags { display: flex; flex-wrap: wrap; gap: 2px; margin: 0; padding: 0; list-style: none; }
.pf-tags li { padding: 1px 4px; border-radius: 5px; background: #e6dfd0; font-size: 8.5px; font-weight: 800; white-space: nowrap; }
.sim-ayuda a { color: var(--cian); }
.pf-botones { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 8px 8px 16px; }
.pf-botones span { display: grid; place-items: center; text-align: center; line-height: 1.1; min-height: 34px; font-weight: 800; font-size: 11px; color: var(--papel); background: var(--rojo); }
.pf-botones span + span { background: #15803d; }
.sim-ayuda { margin-top: 20px; font-size: var(--s-chico); color: #c9ced5; }

/* Pasos: baldosas que crecen */
.crecen { display: grid; grid-template-columns: repeat(12, 1fr); gap: 10px; align-items: end; }
.crecen h2 { grid-column: 1 / 8; grid-row: 1; align-self: start; }
.paso { display: flex; flex-direction: column; }
.paso-1 { grid-column: 1 / 4; grid-row: 2; }
.paso-2 { grid-column: 4 / 8; grid-row: 2; }
.paso-3 { grid-column: 8 / 13; grid-row: 1 / 3; }
.baldosa { position: relative; overflow: hidden; }
.paso-1 .baldosa { height: 30vh; }
.paso-2 .baldosa { height: 44vh; }
.paso-3 .baldosa { height: 60vh; }
.baldosa img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.paso h3 { margin-top: 18px; font-size: 24px; letter-spacing: -0.02em; }
.paso p { margin-top: 6px; max-width: 36ch; font-size: 17px; }
.crecen.cuatro .paso-1 { grid-column: 1 / 3; }
.crecen.cuatro .paso-2 { grid-column: 3 / 6; }
.crecen.cuatro .paso-3 { grid-column: 6 / 9; grid-row: 2; }
.crecen.cuatro .paso-4 { grid-column: 9 / 13; grid-row: 1 / 3; }
.crecen.cuatro .paso-3 .baldosa { height: 48vh; }
.crecen.cuatro .paso-4 .baldosa { height: 62vh; }
.crecen.cuatro h2 { grid-column: 1 / 9; }

/* Abanico de cartas (fijo mientras bajas en computador) */
.abanico { position: relative; height: 230svh; }
.abanico-escena { position: sticky; top: 0; height: 100svh; overflow: hidden; display: flex; flex-direction: column; padding-block: clamp(48px, 7vh, 88px) 40px; }
.abanico-escena h2 { font-size: var(--s-titulo); }
.abanico-escena .bajada { color: #d9dde2; }
.cartas { position: relative; flex: 1; margin-top: 24px; }
.carta { position: absolute; left: 50%; top: 50%; width: 340px; height: 420px; padding: 28px; margin: -210px 0 0 -170px; display: flex; flex-direction: column; justify-content: space-between; transition: transform .7s var(--curva), opacity .5s; }
.carta h3 { max-width: 205px; font-size: 30px; line-height: 1; }
.carta img { width: 58%; aspect-ratio: 1; border-radius: 50%; object-fit: cover; }
.carta p { max-width: 205px; font-size: 16px; line-height: 1.4; }
.k-rojo { background: var(--rojo); color: var(--papel); }
.k-clinico { background: var(--clinico); color: var(--tinta); }
.k-cian { background: var(--cian); color: var(--tinta); }
.k-hueso { background: var(--hueso); color: var(--tinta); }
.k-marino { background: var(--marino); color: var(--papel); }

/* ¿Mi celular lo lee? */
.lee { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.lee-panel { padding: clamp(24px, 3vw, 44px); background: var(--papel); color: var(--tinta); }
.lee-pregunta { font-size: 22px; font-weight: 800; }
.opciones { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.opciones button { min-height: 52px; padding: 0 22px; border: 2px solid var(--tinta); background: transparent; font-size: 18px; font-weight: 800; cursor: pointer; }
.opciones button[aria-pressed="true"] { background: var(--tinta); color: var(--papel); }
.lee-paso + .lee-paso { margin-top: 28px; }
.lee-paso select { width: 100%; min-height: 56px; margin-top: 14px; padding: 0 16px; border: 2px solid var(--tinta); background: var(--papel); font-size: 18px; }
.lee-resultado { margin-top: 28px; padding: 24px; font-size: 19px; }
.lee-resultado[hidden] { display: none; }
.lee-resultado strong { display: block; font-size: 30px; line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 8px; }
.r-si { background: #d9f3e2; }
.r-casi { background: #fff0c2; }
.r-no { background: #fbdadd; }

/* Precio: el tiquete */
.tiquete { position: relative; display: grid; grid-template-columns: 7fr 3fr; width: min(100%, 1180px); margin: 56px auto 0; background: var(--noche); color: var(--papel); }
.tiquete::before, .tiquete::after { content: ''; position: absolute; left: 70%; width: 28px; height: 28px; margin-left: -14px; border-radius: 50%; background: var(--clinico); }
.tiquete::before { top: -14px; }
.tiquete::after { bottom: -14px; }
.tiquete-main { padding: 40px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.tiquete-main h3 { font-size: clamp(36px, 4vw, 64px); }
.tiquete-lineas { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 32px; list-style: none; font-size: 17px; color: #d9dde2; }
.tiquete-stub { padding: 40px 28px; display: flex; flex-direction: column; justify-content: center; gap: 20px; border-left: 6px dotted var(--clinico); text-align: center; }
.tiquete-precio { font-size: clamp(44px, 5.4vw, 88px); font-weight: 800; line-height: 1; letter-spacing: -0.04em; }
.tiquete-precio small { display: block; margin-top: 8px; font-size: 16px; font-weight: 500; letter-spacing: 0; color: #d9dde2; }
.tiquete-stub .boton { width: 100%; }
.tiquete-pareja { margin-top: 8px; padding-top: 20px; border-top: 2px dashed #5d636b; font-size: 16px; color: #d9dde2; }
.tiquete-pareja strong { display: block; margin-bottom: 4px; font-size: 28px; color: var(--papel); }
.renueva { width: min(100%, 1180px); margin: 32px auto 0; font-size: 20px; text-align: center; }
.renueva strong { font-weight: 800; }

/* Preguntas: una banda por pregunta */
.bandas-titulo { min-height: 40svh; display: flex; align-items: flex-end; padding-block: 56px; }
.bandas-titulo h2 { font-size: clamp(56px, 7vw, 120px); max-width: none; }
.banda { padding-block: 56px; }
.banda:nth-child(odd) { background: var(--hueso); }
.banda:nth-child(even) { background: var(--hueso-2); }
.banda .marco { display: grid; grid-template-columns: 5fr 1fr 6fr; }
.banda h3 { grid-column: 1; font-size: clamp(24px, 2.2vw, 32px); line-height: 1.12; letter-spacing: -0.02em; }
.banda .respuesta { grid-column: 3; font-size: 19px; line-height: 1.55; }
.banda .respuesta p + p, .banda .respuesta ul { margin-top: 12px; }
.banda .respuesta ul { padding-left: 22px; }

/* Cierre: la baldosa de acción */
.accion { padding-block: clamp(72px, 9vw, 120px); overflow: hidden; }
.accion-fila { display: grid; grid-template-columns: 2fr 8fr 2fr; gap: 12px; margin-inline: calc(-1 * var(--margen) - 40px); }
.accion-lado { min-height: 420px; overflow: hidden; }
.accion-lado img { width: 100%; height: 100%; object-fit: cover; }
.accion-centro { padding: clamp(28px, 4vw, 56px); display: grid; grid-template-columns: 5fr 6fr; gap: 32px; align-items: center; }
.accion-centro h2 { font-size: clamp(36px, 3.6vw, 60px); }
.accion-centro p { margin-top: 16px; font-size: 18px; }
.cupon { display: grid; gap: 10px; }
.cupon input, .cupon select { width: 100%; min-width: 0; min-height: 56px; padding: 0 18px; border: 0; background: var(--papel); color: var(--tinta); font-size: 18px; }
.cupon .boton { width: 100%; }
.cupon-nota { margin: 0; font-size: 14px; line-height: 1.5; opacity: .85; }
.cupon-nota a { color: inherit; text-decoration: underline; }
#sim-pedir { margin-top: 12px; }
#sim-pedir[hidden] { display: none; }

/* Tabla de datos del sticker */
.datos { width: 100%; border-collapse: collapse; font-size: 20px; }
.datos th, .datos td { padding: 18px 0; border-bottom: 2px solid currentColor; text-align: left; vertical-align: top; }
.datos th { width: 34%; padding-right: 24px; font-weight: 800; }
.dos { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.texto > * + * { margin-top: 18px; }
.texto p { max-width: 60ch; }
.frase { font-size: clamp(21px, 1.9vw, 28px); font-weight: 800; line-height: 1.12; letter-spacing: -0.02em; max-width: 24ch; }

/* Cifras grandes */
.cifras { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 56px; }
.cifra-num { display: block; font-size: clamp(64px, 7vw, 124px); font-weight: 800; line-height: .9; letter-spacing: -0.05em; }
.cifra p { margin-top: 14px; max-width: 26ch; font-size: 19px; }
.fuente { margin-top: 40px; font-size: var(--s-chico); }

/* Foto grande con pie */
.foto-grande { margin-top: 56px; }
.foto-grande img { width: 100%; height: min(70vh, 760px); object-fit: cover; }
.foto-grande figcaption { margin-top: 12px; font-size: var(--s-chico); }

/* Formularios (contacto y cuenta) */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.form .ancho { grid-column: 1 / -1; }
.form label.campo-form, .form .campo-form { display: flex; flex-direction: column; gap: 8px; font-size: 16px; font-weight: 800; }
.form input, .form select, .form textarea { width: 100%; min-width: 0; min-height: 56px; padding: 0 18px; border: 2px solid var(--tinta); background: var(--papel); color: var(--tinta); font-size: 18px; font-weight: 500; }
.form textarea { min-height: 160px; padding: 16px 18px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid var(--cian); outline-offset: 0; }
.form [aria-invalid="true"], .form input.invalid { border-color: var(--rojo); background: #fff3f4; }
.form .error { min-height: 1.2em; font-size: var(--s-chico); font-weight: 700; color: var(--rojo-oscuro); }
.form .acepto { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; font-weight: 500; }
.form .acepto input { width: 26px; height: 26px; min-height: 26px; margin-top: 1px; flex-shrink: 0; accent-color: var(--rojo); }
.form .boton { justify-self: start; }
.form .listo { grid-column: 1 / -1; padding: 18px 22px; background: var(--noche); color: var(--papel); font-weight: 800; }

/* Canales de contacto */
.canales { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin-top: 48px; }
.canal { display: flex; flex-direction: column; gap: 6px; padding: 32px 0; border-top: 2px solid currentColor; text-decoration: none; }
.canal strong { font-size: var(--s-sub); line-height: 1.05; letter-spacing: -0.02em; }
.canal:hover strong { color: var(--cian); }

/* Documento legal */
.legal-fila { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.legal-indice { position: sticky; top: 32px; }
.legal-indice h2 { font-size: 26px; text-transform: none; }
.legal-indice ol { margin-top: 18px; list-style: none; }
.legal-indice li + li { margin-top: 8px; }
.legal-indice a { font-size: 17px; text-decoration: none; }
.legal-indice a:hover { text-decoration: underline; text-underline-offset: 4px; }
.legal { max-width: 70ch; }
.legal-seccion { scroll-margin-top: 32px; }
.legal-seccion + .legal-seccion { margin-top: 56px; }
.legal h2 { font-size: clamp(26px, 2.4vw, 34px); line-height: 1.12; text-transform: none; max-width: none; }
.legal p, .legal ul { margin-top: 16px; line-height: 1.65; }
.legal ul { padding-left: 24px; }
.legal li + li { margin-top: 8px; }
.legal a { text-decoration: underline; text-underline-offset: 4px; }
.legal-highlight, .legal-contact-box { margin-top: 24px; padding: 24px 28px; background: var(--clinico); }
.legal-contact-box p { margin: 0; }
.legal-contact-box p + p { margin-top: 6px; }
.legal-fecha { margin-top: 16px; font-size: 17px; }

/* Aviso 123 */
.aviso-123 { font-size: clamp(22px, 2vw, 28px); font-weight: 800; }
.aviso-123 a { text-decoration: underline; text-underline-offset: 5px; }

/* Mi cuenta */
.cuenta { display: grid; grid-template-columns: 1fr 1fr; min-height: 100svh; }
.cuenta-lado { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 24px; padding: 120px var(--margen) 56px; background: var(--rojo); color: var(--papel); overflow: hidden; }
.cuenta-lado .sticker { position: absolute; right: -8%; top: 14%; width: 62%; font-size: clamp(16px, 2.2vw, 34px); border-width: 10px; }
.cuenta-lado h2 { position: relative; font-size: clamp(44px, 5vw, 84px); }
.cuenta-lado p { position: relative; max-width: 34ch; font-size: 20px; }
.cuenta-panel { padding: 120px var(--margen) 56px; background: var(--hueso); }
.cuenta-panel > * { max-width: 560px; }
.cuenta-panel h1 { font-size: clamp(40px, 4.4vw, 72px); }
.cuenta-sub { margin-top: 16px; font-size: 20px; }
.cuenta-datos { margin-top: 28px; padding: 20px 22px; background: var(--papel); border: 3px solid transparent; }
.cuenta-datos.falta { border-color: var(--rojo); }
.cuenta-datos .acepto { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.cuenta-datos .acepto input, .cuenta-form .acepto input { width: 26px; height: 26px; flex-shrink: 0; accent-color: var(--rojo); }
.cuenta-datos a, .cuenta-nota a { text-decoration: underline; text-underline-offset: 3px; }
.cuenta .cf-error { display: none; margin-top: 8px; font-size: var(--s-chico); font-weight: 700; color: var(--rojo-oscuro); }
.cuenta .cf-error.visible { display: block; }
.cuenta-google { width: 100%; margin-top: 18px; border: 2px solid var(--tinta) !important; }
.cuenta-o { margin: 22px 0 14px; font-size: var(--s-chico); font-weight: 700; text-align: center; }
.cuenta-form .acepto { display: flex; gap: 12px; align-items: center; font-size: 17px; font-weight: 500; }
.cuenta-form .boton { justify-self: stretch; }
.cuenta-fila { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.cuenta-olvide { font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.cuenta-clave { position: relative; display: block; }
.cuenta-clave input { padding-right: 104px; }
.cuenta-ver { position: absolute; right: 6px; top: 6px; bottom: 6px; padding: 0 16px; border: 0; background: var(--hueso-2); font-weight: 800; cursor: pointer; }
.cuenta-msg { display: none; padding: 16px 20px; background: var(--noche); color: var(--papel); font-weight: 800; }
.cuenta-msg[data-tipo="error"] { background: var(--rojo); }
.cuenta-nuevo { margin-top: 28px; padding: 24px; background: var(--clinico); }
.cuenta-nuevo h2 { font-size: 26px; text-transform: none; }
.cuenta-nuevo p { margin: 10px 0 16px; font-size: 17px; }
.cuenta-nota { margin-top: 20px; font-size: 17px; }
.cuenta-legal { font-size: var(--s-chico); }

/* Pie: la marca construida en grande */
.pie { padding-block: 96px 40px; background: var(--noche); color: var(--papel); }
.pie-marca { display: flex; align-items: flex-end; gap: 4px; height: clamp(150px, 34svh, 330px); }
.pie-cruz { flex: 0 0 auto; height: 100%; aspect-ratio: 1; background: var(--hueso); display: grid; place-items: center; }
.pie-cruz img { width: 78%; height: 78%; }
.bloque-letra { flex: 1; display: grid; place-items: end center; padding-bottom: .02em; font-size: clamp(64px, 11vw, 220px); font-weight: 800; line-height: .78; color: var(--noche); overflow: hidden; }
.bl-1 { height: 72%; background: var(--papel); }
.bl-2 { height: 88%; background: var(--cian); }
.bl-3 { height: 64%; background: var(--clinico); }
.bl-4 { height: 96%; background: var(--papel); }
.bl-5 { height: 80%; background: var(--rojo); }
.bl-6 { height: 100%; background: var(--rojo); }
.pie-lema { margin-top: 18px; font-size: clamp(15px, 1.4vw, 20px); font-weight: 800; letter-spacing: .24em; text-transform: uppercase; color: var(--cian); }
.pie-grilla { display: grid; grid-template-columns: repeat(4, 1fr) 2fr; gap: 32px; margin-top: 56px; }
.pie-grilla h3 { font-size: 17px; letter-spacing: 0; margin-bottom: 12px; color: #aeb5bf; }
.pie-grilla ul { list-style: none; }
.pie-grilla li + li { margin-top: 8px; }
.pie-grilla a { font-size: 17px; text-decoration: none; }
.pie-grilla a:hover { text-decoration: underline; text-underline-offset: 4px; }
.pie-contacto a { display: block; font-size: clamp(20px, 1.8vw, 28px); font-weight: 800; }
.pie-contacto a + a { margin-top: 8px; }
.pie-final { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 32px; font-size: var(--s-chico); color: #d9dde2; }

/* Celular y tableta */
@media (max-width: 1100px) {
    .accion-centro { grid-template-columns: 1fr; }
    .pie-grilla { grid-template-columns: repeat(2, 1fr); }
    .pie-contacto { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
    .campo { min-height: 0; padding-block: 72px; }
    .marca { font-size: 19px; }
    .marca img { width: 30px; height: 30px; }
    .barra-menu .txt { display: none; }
    .barra-der .boton { min-height: 48px; padding: 0 16px; font-size: 16px; }
    .agua { min-height: 600px; --corte: 46%; }
    .agua-titulo { font-size: min(14vw, 92px); width: calc(100% - 32px); transform: translate(-50%, calc(-100% - 16px)); } /* en celular el título queda entero sobre el fondo claro */
    .agua-pie { bottom: 28px; align-items: flex-start; padding-inline: 16px; text-align: left; }
    .agua-pie p { font-size: 17px; }
    .agua-acciones { justify-content: flex-start; }
    .disco-fila, .sim, .lee, .dos, .legal-fila, .cuenta { grid-template-columns: 1fr; }
    .disco { order: -1; width: 86vw; margin: 0 auto; }
    .disco-lista { display: flex; gap: 24px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
    .disco-lista li { flex: 0 0 auto; scroll-snap-align: start; }
    .disco-lista li + li { margin-top: 0; }
    .disco-lista button { font-size: 26px; white-space: nowrap; }
    .disco-dato { font-size: 17px; margin-top: 16px; }
    .sim-escena { margin: 0 auto; aspect-ratio: 1 / 1.08; }
    .telefono { width: 52%; }
    .crecen { display: flex; flex-direction: column; gap: 28px; }
    .paso-1 .baldosa { height: 34vw; } .paso-2 .baldosa { height: 46vw; } .paso-3 .baldosa { height: 62vw; }
    .crecen.cuatro .paso-3 .baldosa { height: 54vw; } .crecen.cuatro .paso-4 .baldosa { height: 66vw; }
    .abanico { height: auto; }
    .abanico-escena { position: static; height: auto; padding-block: 72px; }
    .cartas { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
    .carta { position: static; flex: 0 0 82%; width: auto; height: 420px; margin: 0; transform: none !important; opacity: 1 !important; scroll-snap-align: start; }
    .tiquete { grid-template-columns: 1fr; width: calc(100% - 4px); }
    .tiquete::before, .tiquete::after { left: auto; top: auto; bottom: auto; margin: 0; }
    .tiquete::before { left: -14px; top: calc(100% - var(--stub, 300px) - 14px); }
    .tiquete::after { right: -14px; top: calc(100% - var(--stub, 300px) - 14px); }
    .tiquete-main { padding: 28px 22px; }
    .tiquete-main h3 { font-size: 9vw; }
    .tiquete-lineas { grid-template-columns: 1fr; }
    .tiquete-stub { border-left: 0; border-top: 6px dotted var(--clinico); padding: 28px 22px; }
    .tiquete-precio { font-size: 16vw; }
    .bandas-titulo { min-height: 30svh; }
    .bandas-titulo h2 { font-size: 13vw; }
    .banda { padding-block: 32px; }
    .banda .marco { grid-template-columns: 1fr; }
    .banda h3 { font-size: 22px; }
    .banda .respuesta { grid-column: 1; margin-top: 12px; font-size: 17px; }
    .accion-fila { grid-template-columns: 1fr 1fr; margin-inline: 0; }
    .accion-centro { grid-column: 1 / -1; grid-row: 1; }
    .accion-lado { min-height: 120px; height: 120px; }
    .cifras { grid-template-columns: 1fr; }
    .canales { grid-template-columns: 1fr; }
    .form { grid-template-columns: 1fr; }
    .form .boton { width: 100%; }
    .legal-indice { position: static; }
    .cuenta-lado { min-height: 46svh; padding-top: 110px; order: 2; }
    .cuenta-panel { padding-top: 110px; }
    .pie-marca { height: 22svh; min-height: 120px; }
    .bloque-letra { font-size: 14vw; }
    .pie-final { flex-wrap: wrap; }
}
.disco-titulo { font-size: clamp(30px, 3vw, 46px); line-height: 1.12; letter-spacing: -0.03em; color: #5d636b; margin-bottom: 2px; }
@media (max-width: 860px) { .disco-titulo { font-size: 26px; margin-bottom: 12px; } }
.disco-fila > *, .sim > *, .lee > *, .dos > *, .legal-fila > *, .accion-centro > *, .crecen > * { min-width: 0; }
.barra-der .boton { white-space: nowrap; }
@media (max-width: 860px) { .barra-der .txt { display: none; } }
@media (max-width: 860px) {
    .tiquete::before, .tiquete::after { display: none; }
    .tiquete-stub { position: relative; }
    .tiquete-stub::before, .tiquete-stub::after { content: ''; position: absolute; top: -17px; width: 28px; height: 28px; border-radius: 50%; background: var(--clinico); }
    .tiquete-stub::before { left: -14px; }
    .tiquete-stub::after { right: -14px; }
}
@media (max-width: 860px) {
    .pie-marca { height: 26vw; min-height: 0; gap: 3px; }
    .pie-cruz { aspect-ratio: auto; width: 24%; }
    .bloque-letra { font-size: 11vw; }
}

@media (max-width: 860px) {
    .tiquete-main { padding-bottom: 44px; }
    .tiquete-stub { padding-top: 48px; }
}
.galeria { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 56px; }
.galeria figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.galeria figcaption { margin-top: 12px; font-size: 17px; font-weight: 700; }
@media (max-width: 860px) { .galeria { grid-template-columns: 1fr 1fr; } .galeria figure:last-child { grid-column: 1 / -1; } .galeria figure:last-child img { aspect-ratio: 16 / 9; } }
@media (max-width: 860px) {
    .tiquete-stub { order: -1; border-top: 0; border-bottom: 6px dotted var(--clinico); padding: 36px 22px 44px; }
    .tiquete-stub::before, .tiquete-stub::after { top: auto; bottom: -17px; }
    .tiquete-main { padding-top: 40px; }
}
.lee-foto { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-top: 40px; }

.cuenta-foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 45% 50%; }
.cuenta-lado::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 48%; background: var(--rojo); }
.cuenta-lado .sticker { z-index: 1; right: auto; left: 30%; top: 26%; width: 22%; border-width: 5px; font-size: clamp(11px, 1vw, 15px); }
.cuenta-lado h2, .cuenta-lado p { z-index: 1; }
.quizas a { color: var(--tinta); font-size: clamp(32px, 4vw, 60px); }
.quizas a:hover { color: var(--rojo); }
@media (max-width: 860px) and (min-width: 601px) { .cifras { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) { .cuenta-lado .sticker { display: none; } }


figure, .accion-lado, .lee > div, .texto, .baldosa, .disco, .sim-casco, .cuenta-lado { position: relative; }
@media (max-width: 860px) { .carta { position: relative; } }

/* Dibujos: fondo propio, se recortan desde el centro */
img[src*="dibujos/"] { object-position: 50% 50%; }
.carta img[src*="dibujos/"] { border: 4px solid #1b1b1b; }

/* ===================== v3.3 ===================== */
:root { --panel: #ffffff; --suave: #5d636b; }

/* El sticker real (arte aprobado) en vez del dibujado con CSS */
.sticker { background: url("/imagenes/sticker-rojo.svg") center / contain no-repeat; border: 0; color: transparent; }
.sticker span { display: none; }
.sim-sticker { position: absolute; left: 22%; top: 36%; width: 24%; height: auto; }
.disco-lista button, .disco-titulo { color: var(--suave); }
.disco-lista button[aria-selected="true"], .disco-lista button:hover { color: var(--tinta); }

/* Portada dividida (El sticker, Contacto) */
.portada-dividida { display: grid; grid-template-columns: 6fr 5fr; min-height: 100svh; }
.pd-texto { display: flex; flex-direction: column; justify-content: center; gap: 28px; padding: 140px var(--margen) 72px; }
.pd-titulo { font-size: clamp(48px, 6.4vw, 112px); line-height: .95; letter-spacing: -0.04em; max-width: 10ch; }
.pd-acciones { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; }
.pd-lado { display: grid; place-items: center; padding: 120px clamp(24px, 4vw, 64px) 48px; }
.pd-lado img { width: 100%; max-width: 720px; height: auto; border: 6px solid #1b1b1b; }
.pd-canales { align-content: center; justify-items: stretch; }
.pd-canales .canal { padding: 22px 0; border-top-color: rgb(255 255 255 / .3); }
.pd-nota { margin-top: 24px; font-size: 16px; color: #c3ccd5; }

/* Portada afiche (Socorristas): el sticker enorme al centro */
.portada-afiche { min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; padding: 120px var(--margen) 72px; text-align: center; }
.afiche-sticker { width: min(42vh, 64vw); height: auto; }
.afiche-titulo { font-size: clamp(44px, 6vw, 100px); letter-spacing: -0.04em; }
.portada-afiche .bajada { margin: 0 auto; color: #d9dde2; }
.portada-afiche .pd-acciones { justify-content: center; }
.portada-afiche .enlace { color: #ffffff; }

/* Portada escena (Cómo funciona) y manifiesto (Quiénes somos): título y un dibujo ancho debajo */
.portada-escena, .portada-manifiesto { padding-top: 140px; }
.pe-fila { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 80px); align-items: end; padding-bottom: 56px; }
.pe-titulo { font-size: clamp(48px, 7vw, 120px); line-height: .95; letter-spacing: -0.04em; }
.pe-banda { border-block: 6px solid #1b1b1b; }
.pe-banda img { width: 100%; height: min(52vh, 560px); object-fit: cover; }
.pm-titulo { font-size: clamp(56px, 9vw, 160px); line-height: .9; letter-spacing: -0.045em; }
.pm-frase { margin-top: 32px; max-width: 30ch; font-size: clamp(22px, 2.4vw, 36px); font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
.portada-manifiesto .pd-acciones { margin: 40px 0 56px; }

/* Encabezado de documento (legales) */
.cabecera-doc { padding: 150px 0 72px; }
.cabecera-doc h1 { font-size: var(--s-titulo); }
.cabecera-doc .bajada { color: #d9dde2; }
.cabecera-doc .legal-fecha { color: #aeb5bf; }

/* Los dos diseños */
.disenos { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); margin-top: 48px; }
.diseno img { display: block; width: min(100%, 340px); height: auto; margin: 0 auto; }
.diseno figcaption { max-width: 34ch; margin: 20px auto 0; text-align: center; font-size: 18px; }
.diseno figcaption strong { display: block; margin-bottom: 6px; font-size: 28px; }
.claves { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 56px; }
.claves li { font-size: 17px; }
.claves strong { display: block; font-size: 20px; }
.dos-mini { display: flex; gap: 16px; justify-content: center; }
.dos-mini img { width: min(46%, 260px); height: auto; }

/* Galería de dibujos y lo que viene */
.galeria.cuatro { grid-template-columns: repeat(4, 1fr); }
.galeria img, .foto-grande img { border: 5px solid #1b1b1b; }
.pronto { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-top: 48px; }
.pronto-item { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 28px; background: var(--panel); }
.pronto-item img { width: 100%; height: auto; border: 5px solid #1b1b1b; }
.pronto-item h3 { font-size: 26px; }
.pronto-sello { position: absolute; z-index: 1; top: -14px; right: 20px; padding: 8px 14px; background: var(--rojo); color: #ffffff; font-size: 15px; font-weight: 800; transform: rotate(3deg); }

/* Cupón: elegir el diseño */
.cupon-diseno { display: flex; flex-wrap: wrap; gap: 8px; border: 0; }
.cupon-diseno legend { width: 100%; margin-bottom: 4px; font-size: 16px; font-weight: 800; }
.cupon-diseno label { cursor: pointer; }
.cupon-diseno input { position: absolute; opacity: 0; }
.cupon-diseno span { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 2px solid #ffffff; font-weight: 800; }
.cupon-diseno span::before { content: ''; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #ffffff; }
.cd-rojo::before { background: #d72638; }
.cd-negro::before { background: #141414; }
.cupon-diseno input:checked + span { background: #ffffff; color: #0d1b26; }
.cupon-diseno input:focus-visible + span { outline: 3px solid var(--cian); outline-offset: 2px; }

/* Botón de modo claro/oscuro */
.tema-btn { display: inline-grid; place-items: center; width: 48px; height: 48px; border: 2px solid currentColor; background: transparent; color: var(--tinta); cursor: pointer; }
.tema-icono { width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; background: linear-gradient(90deg, currentColor 50%, transparent 50%); /* taste-skill-ignore: medio círculo, ícono de modo */ }
.menu-botones { display: flex; flex-wrap: wrap; gap: 8px; }

/* Colores que no cambian con el modo: texto oscuro sobre cian y sobre fondos muy claros */
.c-cian, .k-cian, .b-papel, .cupon input, .cupon select, .r-si, .r-casi, .r-no { color: #0d1b26; }
.lee-panel, .lee-paso select, .form input, .form select, .form textarea, .cuenta-datos { background: var(--panel); color: var(--tinta); }

/* Modo oscuro */
html[data-tema="oscuro"] {
    --hueso: #0f1820; --hueso-2: #16222c; --clinico: #173246; --tinta: #e8eef2;
    --noche: #070c11; --marino: #0f2f44; --panel: #1a2733; --suave: #9fb0bd;
    color-scheme: dark;
}
html[data-tema="oscuro"] .b-tinta { background: #e8eef2; color: #0d1b26; }
html[data-tema="oscuro"] .b-tinta:hover { background: #ffffff; }
html[data-tema="oscuro"] .opciones button[aria-pressed="true"] { background: #e8eef2; color: #0d1b26; }
html[data-tema="oscuro"] .agua.a-cian { --abajo: var(--marino); }
html[data-tema="oscuro"] .agua.a-cian .agua-pie { color: var(--tinta); }
html[data-tema="oscuro"] .form [aria-invalid="true"], html[data-tema="oscuro"] .form input.invalid { background: #3a1c22; }
html[data-tema="oscuro"] .tema-icono { transform: scaleX(-1); }

@media (max-width: 860px) {
    .portada-dividida { grid-template-columns: 1fr; min-height: 0; }
    .pd-texto { padding: 110px var(--margen) 48px; }
    .pd-lado { padding: 40px var(--margen) 48px; }
    .pe-fila { grid-template-columns: 1fr; gap: 20px; padding-bottom: 40px; }
    .portada-escena, .portada-manifiesto { padding-top: 110px; }
    .pe-banda img { height: 40vh; }
    .disenos, .pronto { grid-template-columns: 1fr; }
    .claves, .galeria.cuatro { grid-template-columns: 1fr 1fr; }
    .tema-btn { width: 44px; height: 44px; }
}

/* La barra de arriba sobre portadas oscuras: letras claras */
body:has(.portada-afiche) .barra .marca, body:has(.portada-afiche) .barra-der, body:has(.pd-canales) .barra-der { color: #ffffff; }
body:has(.portada-afiche) .barra .barra-menu, body:has(.portada-afiche) .barra .tema-btn, body:has(.pd-canales) .barra .barra-menu, body:has(.pd-canales) .barra .tema-btn { color: #ffffff; }
body:has(.portada-afiche) .barra .b-tinta, body:has(.pd-canales) .barra .b-tinta { background: #ffffff; color: #0d1b26; }
@media (max-width: 860px) { body:has(.pd-canales) .barra-der, body:has(.pd-canales) .barra .barra-menu, body:has(.pd-canales) .barra .tema-btn { color: var(--tinta); } body:has(.pd-canales) .barra .b-tinta { background: var(--noche); color: #ffffff; } }
body:has(.cabecera-doc) .barra .marca, body:has(.cabecera-doc) .barra-der, body:has(.cabecera-doc) .barra .barra-menu, body:has(.cabecera-doc) .barra .tema-btn { color: #ffffff; }
body:has(.cabecera-doc) .barra .b-tinta { background: #ffffff; color: #0d1b26; }
.cupon-diseno label { position: relative; }
.cupon-diseno input { left: 0; top: 0; width: 1px; height: 1px; margin: 0; }

.completar { background: #ffe066; color: #000; padding: 0 4px; font-weight: 700; }

/* Videos verticales (9:16) */
.video-fila { display: grid; grid-template-columns: 1fr minmax(220px, 340px); gap: clamp(32px, 5vw, 80px); align-items: center; }
.video-vertical { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; border-radius: 24px; background: #000; }
@media (max-width: 760px) { .video-fila { grid-template-columns: 1fr; } .video-vertical { max-width: 340px; margin-inline: auto; } }
