/* Jorgito — propuesta de rediseño (concepto) */
:root {
  --azul: #004c99;
  --azul-oscuro: #00356b;
  --rojo: #c62828;          /* rojo de marca oscurecido: texto blanco ≥ 4.5:1 */
  --crema: #fffaf2;
  --crema-2: #f6eddf;
  --tinta: #22201d;
  --tinta-suave: #5a534b;
  --linea: #e4d8c6;
  --display: "Abril Fatface", Georgia, serif;
  --texto: "Montserrat", system-ui, sans-serif;
  --ancho: 1240px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; } /* el carrusel en arco no debe ensanchar la página en celular */
body { overflow-x: clip; }
body {
  font-family: var(--texto);
  color: var(--tinta);
  background: var(--crema);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.contenedor { width: min(100% - 48px, var(--ancho)); margin-inline: auto; }

h1, h2, h3 { font-family: var(--display); font-weight: 400; color: var(--azul); line-height: 1.05; letter-spacing: .005em; }
h2 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
.bajada { font-size: 1.12rem; color: var(--tinta-suave); max-width: 34em; }

.boton {
  display: inline-flex; align-items: center; gap: .5em;
  font-weight: 700; font-size: .95rem; text-decoration: none;
  padding: .95em 1.7em; border-radius: 999px;
  background: var(--rojo); color: #fff;
  transition: transform .2s, background .2s;
}
.boton:hover { background: #a61f1f; transform: translateY(-2px); }
.boton.secundario { background: transparent; color: var(--azul); box-shadow: inset 0 0 0 2px var(--azul); }
.boton.secundario:hover { background: var(--azul); color: #fff; }
:focus-visible { outline: 3px solid var(--azul); outline-offset: 3px; }

/* ---------- Encabezado ---------- */
.encabezado {
  position: absolute; inset: 0 0 auto; z-index: 50; /* no fijo, a pedido: se va con el scroll */
  background: rgba(255, 250, 242, .94); backdrop-filter: blur(8px); box-shadow: 0 1px 0 var(--linea);
  transition: background .3s, box-shadow .3s;
}
.encabezado.con-fondo { background: rgba(255, 250, 242, .94); backdrop-filter: blur(8px); box-shadow: 0 1px 0 var(--linea); }
.encabezado .contenedor { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.logo { align-self: flex-start; margin-top: 6px; }
.logo img { height: 118px; width: auto; display: block; } /* el círculo del isotipo cuelga por debajo de la barra, como en el sitio original */
.menu { display: flex; gap: 2.2rem; list-style: none; align-items: center; }
.menu a { text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--azul); }
.menu a:hover { color: var(--rojo); }
.menu .boton { color: #fff; padding: .7em 1.3em; }
.abrir-menu { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; color: var(--azul); }
.abrir-menu svg { width: 26px; height: 26px; }

/* ---------- Hero: video que avanza con el scroll (fondo crema, igual que la página) ---------- */
.escenario { position: relative; height: 820vh; }
.escenario-fijo { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; z-index: 5; } /* sin fondo: el paquete que viaja pasa por detrás de sus textos */
#lienzo { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-deco {
  position: absolute; inset: 0; pointer-events: none; mix-blend-mode: multiply;
  background: radial-gradient(circle, rgb(0 76 153 / .42) 1.6px, transparent 2.1px) 0 0 / 18px 18px;
  -webkit-mask: radial-gradient(ellipse 46% 56% at 100% 0%, #000 20%, transparent);
  mask: radial-gradient(ellipse 46% 56% at 100% 0%, #000 20%, transparent);
  z-index: 1;
}
.escenario.sin-video .escenario-fijo { background: var(--crema) var(--poster, none) center / cover no-repeat; }
.capitulo {
  position: absolute; z-index: 2; top: 50%; translate: 0 -50%;
  width: min(32vw, 460px); opacity: 0; visibility: hidden; will-change: opacity, transform;
}
.capitulo h1, .capitulo h2 { color: var(--azul); margin-bottom: 1rem; }
.capitulo h1 { font-size: clamp(3rem, 5.6vw, 5.4rem); }
.capitulo h2 { font-size: clamp(3rem, 5.2vw, 5.6rem); line-height: .98; } /* mismo tamaño que el título de portada */
.capitulo .bajada { font-size: clamp(1.2rem, 1.7vw, 1.6rem); margin-bottom: 1.8rem; }
.capitulo--izq { left: max(24px, calc((100vw - var(--ancho)) / 2)); }
.capitulo--der { right: max(24px, calc((100vw - var(--ancho)) / 2)); text-align: right; }
.hero-acciones { display: flex; gap: 1rem; flex-wrap: wrap; }
.boton.secundario.claro { color: #fff; box-shadow: inset 0 0 0 2px #fff; }
.boton.secundario.claro:hover { background: #fff; color: var(--azul); }
.carga { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--rojo); z-index: 3; transition: width .2s linear, opacity .6s; }
.indicador-scroll {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  font-size: .8rem; font-weight: 600; color: var(--tinta-suave); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: .4rem;
  transition: opacity .4s;
}
.indicador-scroll span { width: 2px; height: 36px; background: var(--linea); position: relative; overflow: hidden; }
.indicador-scroll span::after { content: ""; position: absolute; inset: 0; background: var(--azul); animation: bajar 1.8s infinite; }
@keyframes bajar { from { transform: translateY(-100%); } to { transform: translateY(100%); } }

/* ---------- Secciones generales ---------- */
section { scroll-margin-top: 84px; }
.seccion { padding: clamp(5rem, 11vw, 9rem) 0; }
.cabecera-seccion { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 3.5rem; flex-wrap: wrap; }
.cabecera-seccion h2 { max-width: 12em; }

/* ---------- Productos ---------- */
.pestanas { display: flex; gap: .4rem; flex-wrap: wrap; border-bottom: 1px solid var(--linea); margin-bottom: 3rem; }
.pestana {
  font: 600 .98rem var(--texto); color: var(--tinta-suave); background: none; border: 0;
  padding: .9rem 1.1rem; cursor: pointer; position: relative;
}
.pestana[aria-selected="true"] { color: var(--azul); }
.pestana[aria-selected="true"]::after { content: ""; position: absolute; left: 1.1rem; right: 1.1rem; bottom: -1px; height: 3px; background: var(--rojo); border-radius: 3px; }
.grilla { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 3.2rem 2.2rem; }
.grilla[hidden] { display: none; }
.producto { text-decoration: none; display: block; }
.producto-foto { position: relative; aspect-ratio: 1000 / 726; }
.producto-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: opacity .35s, transform .35s; }
.producto-foto .real { opacity: 0; }
.producto:hover .producto-foto .paquete, .producto:focus-visible .producto-foto .paquete { opacity: 0; transform: scale(.96); }
.producto:hover .producto-foto .real, .producto:focus-visible .producto-foto .real { opacity: 1; }
.producto h3 { font-size: 1.55rem; margin-top: 1rem; }
.producto p { font-size: .9rem; color: var(--tinta-suave); }
.etiqueta-nuevo { display: inline-block; margin-left: .5rem; font: 700 .7rem var(--texto); color: #fff; background: var(--rojo); padding: .25em .7em; border-radius: 999px; vertical-align: middle; letter-spacing: .03em; }

/* ---------- Nuevos ---------- */
.nuevos { background: var(--crema-2); }
.nuevos .contenedor { display: grid; grid-template-columns: 1.1fr 1fr; gap: 4rem; align-items: center; }
.nuevos-foto img { mix-blend-mode: multiply; width: 100%; }
.nuevos h2 { margin-bottom: 1.4rem; }
.nuevos ul { list-style: none; margin: 2rem 0 2.4rem; border-top: 1px solid var(--linea); }
.nuevos li { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--linea); font-weight: 600; }
.nuevos li span { font-weight: 400; color: var(--tinta-suave); }

/* ---------- Historia ---------- */
/* Línea de tiempo fija que avanza con el scroll: cada época cambia color, año, imagen y texto. */
.historia { position: relative; height: 720vh; }
.historia-escena {
  --fondo: #004c99; --tinta: #fff; --acento: #ffcf8a; --local: 0;
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  background: var(--fondo); color: var(--tinta);
  transition: background-color .8s ease, color .8s ease;
  display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr auto auto;
  column-gap: 4rem; padding: 116px max(24px, calc((100vw - var(--ancho)) / 2)) 40px;
}
.historia-titulo { grid-column: 1; grid-row: 1; color: inherit; font-size: clamp(1.6rem, 2.6vw, 2.4rem); max-width: 14em; }
.historia-anio {
  grid-column: 1; grid-row: 2; align-self: end;
  font-family: var(--display); color: var(--acento); line-height: .82;
  font-size: clamp(7rem, 17vw, 15.5rem); letter-spacing: -.01em;
  font-variant-numeric: tabular-nums; transition: color .8s ease;
  padding-bottom: .14em;
}
.hitos { grid-column: 1; grid-row: 3; list-style: none; position: relative; min-height: 9.5rem; margin-top: 1.4rem; }
.hito { position: absolute; inset: 0 0 auto; opacity: 0; transform: translateY(18px); transition: opacity .45s, transform .45s; }
.hito.activo { opacity: 1; transform: none; transition-delay: .12s; }
.hito h3 { color: inherit; font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: .6rem; }
.hito p { font-size: 1.08rem; max-width: 30em; }

.historia-visual { grid-column: 2; grid-row: 1 / 4; position: relative; align-self: stretch; color: var(--acento); }
.hito-img {
  --dy: 60%; --rot: 10deg; --s: .8;
  position: absolute; left: 50%; top: 50%; width: auto; max-width: 78%; max-height: 66%;
  transform: translate(-50%, -50%) translateY(var(--dy)) rotate(var(--rot)) scale(var(--s));
  opacity: 0; transition: transform .9s cubic-bezier(.2, .8, .2, 1), opacity .5s;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .22));
}
.hito-img.multiplicar { mix-blend-mode: multiply; filter: none; max-width: 92%; max-height: 76%; }
.hito-img--grande { max-width: 96%; max-height: 82%; }
.hito-img[data-estado="antes"] { --dy: -60%; --rot: -14deg; }
.hito-img[data-estado="activo"] {
  opacity: 1; --s: 1;
  --dy: calc(var(--local) * -40px + 20px);
  --rot: calc(var(--local) * 8deg - 4deg);
}
.garabato { position: absolute; inset: 6% 4%; width: 92%; height: 88%; pointer-events: none; transition: color .8s; }
.garabato .trazo { stroke-dasharray: 600; stroke-dashoffset: 600; }
.garabato.dibujar .trazo { animation: dibujar 1.2s ease forwards; }
.garabato.dibujar .trazo:nth-child(2) { animation-delay: .25s; }
.garabato.dibujar .trazo:nth-child(3) { animation-delay: .45s; }
.garabato .punteado { stroke-dasharray: 14 16; stroke-dashoffset: 0; opacity: 0; }
.garabato.dibujar .punteado { animation: aparecer .8s .5s forwards; }
@keyframes dibujar { to { stroke-dashoffset: 0; } }
@keyframes aparecer { to { opacity: 1; } }

.regla { grid-column: 1 / -1; grid-row: 4; position: relative; margin-top: 2.2rem; padding-top: 26px; }
.regla-linea { position: absolute; top: 26px; left: 22px; right: 22px; height: 3px; border-radius: 3px; background: color-mix(in srgb, var(--tinta) 25%, transparent); }
.regla-avance { height: 100%; width: 0; border-radius: 3px; background: var(--tinta); }
.regla-cara {
  position: absolute; top: 27px; left: 0; width: 52px; height: 52px;
  transform: translate(-50%, -50%); border-radius: 50%;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .25); animation: rebote 1.6s ease-in-out infinite;
}
@keyframes rebote { 50% { margin-top: -5px; } }
.regla ul { list-style: none; display: flex; justify-content: space-between; padding-top: 30px; }
.regla button {
  font: 600 1rem var(--texto); color: inherit; background: none; border: 0; cursor: pointer;
  padding: .4rem .2rem; opacity: .75; transition: opacity .3s, transform .3s;
}
.regla li:first-child button { margin-left: -.2rem; }
.regla li:last-child button { margin-right: -.2rem; }
.regla button:hover, .regla button[aria-current="step"] { opacity: 1; }
.regla button[aria-current="step"] { font-family: var(--display); font-weight: 400; font-size: 1.35rem; transform: translateY(-2px); }

/* ---------- Cita ---------- */
/* Mismo azul con el que termina la historia; las palabras se llenan con el scroll. */
.cita { position: relative; height: 320vh; background: #00356b; color: #fff; text-align: center; }
.cita-fija { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; place-items: center; }
.cita blockquote { font-family: var(--display); font-size: clamp(2rem, 4.4vw, 3.6rem); line-height: 1.15; max-width: 20em; margin: 0 auto 2rem; }
.cita-texto .palabra { color: rgb(255 255 255 / var(--llenado, 1)); }
.cita cite { font-style: normal; font-size: .95rem; color: rgb(255 255 255 / var(--llenado-cita, 1)); }

/* ---------- Productos: carrusel en arco ---------- */
/* Escena fija: el paquete llega al hueco del centro y el scroll hace girar el carrusel hasta mostrar todo. */
#productos { position: relative; overflow-x: clip; height: 340vh; }
.productos-fijo { background: var(--fondo-pagina, var(--crema)); /* sin fondo propio, el multiply de las fotos no llega al crema y aparecen recuadros blancos */ position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; }
.productos .cabecera-seccion { margin-bottom: clamp(1.5rem, 4vh, 3rem); }
.productos .cabecera-seccion { display: block; text-align: center; position: relative; z-index: 5; }
.productos .cabecera-seccion h2 { max-width: none; }
.productos .cabecera-seccion .bajada { margin-inline: auto; }
.solo-lectores { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.capitulo--portada { top: 54%; width: min(36vw, 520px); }
.capitulo--izq { width: min(30vw, 440px); } /* angosto para no pisar el alfajor */
@media (min-width: 768px) { .capitulo--izq.capitulo--portada { width: min(36vw, 520px); } } /* la portada conserva su ancho: el título va en dos líneas */
.capitulo--portada h1 { white-space: nowrap; }
/* el cierre se arrima al paquete: su borde derecho queda a 4vw del paquete (lo publica el motor del video) */
@media (min-width: 768px) { .capitulo--cierre { left: auto; right: calc(100% - var(--paq-izq, 40vw) + 7vw); width: max-content; top: var(--paq-cy, 50%); } } /* centrado a la altura del paquete, con más aire entre los dos */
.capitulo--cierre .hero-acciones { margin-top: 2.4rem; }
.capitulo--cierre > * { opacity: var(--cierre-salida, 1); transition: none; } /* se desvanece cuando el paquete baja hacia productos (lo publica sitio.js) */
.capitulo--cierre h2 { white-space: nowrap; } /* siempre en 4 líneas: Lo comieron / tus viejos. / Ahora lo / comés vos. */
.capitulo--portada h1 { font-size: clamp(3rem, 5.2vw, 5.6rem); line-height: .98; }
.grilla.arco { display: block; position: relative; width: 100vw; margin-left: calc(50% - 50vw); height: clamp(280px, 30vw, 440px); touch-action: pan-y; user-select: none; }
.grilla.arco[hidden] { display: none; }
.arco .producto { position: absolute; left: 50%; top: 0; width: clamp(200px, 25vw, 380px); will-change: transform, opacity; mix-blend-mode: multiply; }
.arco .producto h3, .arco .producto p { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; margin: 0; }
.arco .producto:not(.centro) { cursor: pointer; }
.arco-controles { display: flex; align-items: center; justify-content: center; gap: 2.4rem; margin-top: .5rem; }
.arco-rotulo { text-align: center; min-width: 15em; opacity: var(--abrir, 1); }
.arco-rotulo h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); color: var(--azul); }
.arco-rotulo p { color: var(--tinta-suave); font-size: .95rem; margin-top: .3rem; }
.arco-flecha { flex: none; width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--azul); background: none; color: var(--azul); font-size: 1.3rem; cursor: pointer; transition: background .2s, color .2s; }
.arco-flecha:hover, .arco-flecha:focus-visible { background: var(--azul); color: #fff; }
.arco-flecha[disabled] { visibility: hidden; }
@media (max-width: 767px) {
  .grilla.arco { height: 230px; }
  .arco-controles { gap: .8rem; }
  .arco-rotulo { min-width: 0; flex: 1; }
  .arco-flecha { width: 44px; height: 44px; }
}

/* ---------- Dónde comprar ---------- */
.comprar .contenedor { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; }
.comprar h2 { margin-bottom: 1.4rem; }
.dato { padding: 1.4rem 0; border-top: 1px solid var(--linea); }
.dato strong { display: block; color: var(--azul); font-size: 1.05rem; }
.dato a { color: var(--tinta); }
.formulario { display: grid; gap: 1.1rem; }
.formulario h3 { font-size: 2rem; margin-bottom: .4rem; }
.campo label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: .35rem; }
.campo input, .campo select, .campo textarea {
  width: 100%; font: inherit; color: var(--tinta); background: #fff;
  border: 1px solid #cbbda8; border-radius: 10px; padding: .85em 1em;
}
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: 2px solid var(--azul); border-color: var(--azul); }
.fila { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.formulario .boton { justify-self: start; border: 0; cursor: pointer; font-family: var(--texto); }
.nota { font-size: .85rem; color: var(--tinta-suave); }

/* ---------- Club Jorgito: escena fija con mosaico de fotos reales de la tienda ---------- */
.club { position: relative; }
.club-pista { height: 500vh; } /* recorrido de la escena fija; el cierre va después */
.club-fijo { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.club-titulo { font-size: clamp(3.6rem, 10vw, 9.5rem); line-height: .92; color: var(--rojo); letter-spacing: -.01em; margin-bottom: 1.3rem; }
.club-cierre .bajada { font-size: clamp(1.05rem, 1.4vw, 1.3rem); margin: 0 auto; max-width: 30em; }
.club-rejilla {
  --col: 21vw; --hueco: clamp(12px, 1.5vw, 24px);
  position: absolute; left: 0; top: 0; display: flex; gap: var(--hueco); will-change: transform;
}
.club-col { position: relative; width: var(--col); display: flex; flex-direction: column; gap: var(--hueco); will-change: transform; }
.club-foto {
  display: block; width: 100%; object-fit: cover; border-radius: 20px; max-width: none;
  clip-path: inset(50% 50% 50% 50% round 20px);
}
.club-foto--alta { aspect-ratio: 4 / 5; }
.club-foto--cuadrada { aspect-ratio: 1; }
.club-cierre { position: absolute; inset: 0; z-index: 2; display: grid; place-content: center; justify-items: center; text-align: center; padding: 60px 24px; opacity: 0; pointer-events: none; }
.club-cierre.visible { pointer-events: auto; }
.club-cierre .boton { margin-top: 2rem; }
@media (prefers-reduced-motion: reduce) { .club-foto { clip-path: none; } }

/* ---------- Isotipo que se arma antes de la frase ---------- */
/* Sticker: círculo troquelado con borde blanco y la punta de abajo a la derecha despegada.
   La solapa es el mismo círculo reflejado sobre la línea del pliegue (corte a 0.32 del diámetro). */
.sticker { position: relative; width: clamp(130px, 12vw, 180px); aspect-ratio: 1; margin: 0 auto 2.6rem;
  filter: drop-shadow(0 calc(var(--alto-sombra, 1) * 6px) calc(var(--alto-sombra, 1) * 9px) rgb(0 0 0 / .35)); will-change: transform; }
.sticker-cara { position: absolute; inset: 0; border-radius: 50%; background: #fff; padding: 6%;
  -webkit-mask-image: linear-gradient(135deg, #000 72.6%, transparent 72.6%); mask-image: linear-gradient(135deg, #000 72.6%, transparent 72.6%); }
.sticker-cara img { width: 100%; height: 100%; display: block; }
.sticker-solapa { position: absolute; inset: 0; translate: 45.25% 45.25%; filter: drop-shadow(-3px -3px 4px rgb(0 0 0 / .28)); }
.sticker-solapa span { position: absolute; inset: 0; border-radius: 50%;
  background: linear-gradient(315deg, #ffffff 58%, #e4ded3 72%, #f7f3ec 80%);
  -webkit-mask-image: linear-gradient(135deg, #000 27.4%, transparent 27.4%); mask-image: linear-gradient(135deg, #000 27.4%, transparent 27.4%); }
.cita blockquote { text-wrap: balance; }
/* Paquete que viaja del hero al carrusel */
.puente { position: fixed; left: 0; top: 0; max-width: none; z-index: 4; pointer-events: none; mix-blend-mode: multiply; opacity: 0; transform-origin: 0 0; will-change: transform, width; }

/* ---------- Pie ---------- */
.pie { background: var(--azul-oscuro); color: #fff; padding: 4.5rem 0 2.5rem; }
.pie-grilla { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3.5rem; }
.pie h4 { font-size: .95rem; margin-bottom: 1rem; }
.pie ul { list-style: none; display: grid; gap: .5rem; font-size: .92rem; }
.pie a { text-decoration: none; opacity: .92; }
.pie a:hover { opacity: 1; text-decoration: underline; }
.pie .logo-pie { height: 64px; width: auto; margin-bottom: 1.2rem; }
.pie p { font-size: .92rem; opacity: .92; max-width: 22em; }
.pie-legal { border-top: 1px solid rgba(255, 255, 255, .2); padding-top: 1.6rem; font-size: .82rem; opacity: .85; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* ---------- Aparición al hacer scroll ---------- */
.aparece { opacity: 0; transform: translateY(28px); transition: opacity .8s, transform .8s; }
.aparece.visible { opacity: 1; transform: none; }

/* ---------- Celular ---------- */
@media (max-width: 900px) {
  .menu { display: none; }
  .abrir-menu { display: block; }
  .menu.abierto {
    display: flex; flex-direction: column; align-items: flex-start; gap: 1.4rem;
    position: absolute; top: 84px; left: 0; right: 0; padding: 2rem 24px 2.5rem;
    background: var(--crema); box-shadow: 0 12px 24px rgba(0, 0, 0, .08);
  }
  .menu.abierto a { font-size: 1.2rem; }
  .logo img { height: 84px; }

  .capitulo, .capitulo--izq, .capitulo--der { left: 24px; right: 24px; width: auto; top: auto; bottom: 40px; translate: none; text-align: left; }
  .capitulo h1 { font-size: clamp(2.5rem, 10.5vw, 3.2rem); }
  .capitulo h2 { font-size: clamp(2.5rem, 10.5vw, 3.2rem); }
  .capitulo .bajada { font-size: 1rem; margin-bottom: 1.2rem; }
  .hero-acciones .boton { padding: .8em 1.3em; }
  .indicador-scroll { display: none; }

  .nuevos .contenedor, .comprar .contenedor { grid-template-columns: 1fr; gap: 2.5rem; }
  .historia-escena { grid-template-columns: 1fr; grid-template-rows: auto auto 1fr auto auto; padding: 100px 24px 24px; }
  .historia-titulo { font-size: 1.45rem; }
  .historia-anio { grid-row: 2; font-size: clamp(5rem, 27vw, 7.5rem); margin-top: .6rem; }
  .historia-visual { grid-column: 1; grid-row: 3; min-height: 0; }
  .hito-img { max-height: 84%; max-width: 70%; }
  .hito-img.multiplicar { max-width: 86%; }
  .hitos { grid-row: 4; min-height: 8.4rem; margin-top: .4rem; }
  .hito h3 { font-size: 1.6rem; margin-bottom: .3rem; }
  .hito p { font-size: .98rem; }
  .regla { grid-row: 5; margin-top: 1rem; }
  .regla button { font-size: .85rem; }
  .regla button[aria-current="step"] { font-size: 1.05rem; }
  .regla-cara { width: 40px; height: 40px; }
  .grilla { grid-template-columns: repeat(2, 1fr); gap: 2.2rem 1rem; }
  .producto h3 { font-size: 1.25rem; }
  .pestanas { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .pestana { white-space: nowrap; }
  .fila { grid-template-columns: 1fr; }
  .pie-grilla { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .aparece { opacity: 1; transform: none; transition: none; }
  .indicador-scroll span::after { animation: none; }
  .regla-cara { animation: none; }
  .hito-img { transition: opacity .3s; }
}

/* Club en celular (al final para que gane a las reglas generales) */
@media (max-width: 767px) {
  .club-rejilla { --col: 42vw; }
}

/* Hero en celular: video vertical propio, sin el puntillado decorativo */
@media (max-width: 767px) {
  .hero-deco { display: none; }
}

/* ---------- ¿Real o falso? (juego de tarjetas) ---------- */
.rof {
  position: relative; overflow: hidden; background: var(--rojo); color: #fff; text-align: center;
  height: 100vh; height: 100svh; padding: 3vh 24px 2vh; box-sizing: border-box;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.rof-lado {
  position: absolute; top: 55%; width: min(56vw, 820px); aspect-ratio: 1; border-radius: 50%;
  background: color-mix(in srgb, var(--fondo-rof, #c62828) 81%, #000); translate: 0 -50%; /* sigue al fondo durante la transición de color */ transition: scale .35s ease, background-color .35s ease;
}
.rof-lado--falso { left: calc(min(56vw, 820px) * -1 + min(25vw, 360px)); }
.rof-lado--real { right: calc(min(56vw, 820px) * -1 + min(25vw, 360px)); }
.rof.hacia-falso .rof-lado--falso, .rof.hacia-real .rof-lado--real { scale: 1.07; background: color-mix(in srgb, var(--fondo-rof, #c62828) 68%, #000); }
.rof-etiqueta {
  position: absolute; top: 50%; z-index: 1; width: min(19vw, 290px); margin: 0;
  font-family: var(--display); font-size: clamp(1.5rem, 2.7vw, 2.6rem); line-height: 1.02; color: #fff;
  transition: scale .35s ease, opacity .25s ease;
}
.rof-etiqueta.oculta { opacity: 0; }
.rof-etiqueta.mensaje { font-size: clamp(1.15rem, 1.75vw, 1.6rem); line-height: 1.12; }
.rof-etiqueta--falso { left: max(20px, 4vw); rotate: -9deg; }
.rof-etiqueta--real { right: max(20px, 4vw); rotate: 9deg; }
.rof.hacia-falso .rof-etiqueta--falso, .rof.hacia-real .rof-etiqueta--real { scale: 1.1; }
.rof h2 { position: relative; z-index: 1; color: #fff; font-size: clamp(3rem, 7vw, 6rem); line-height: 1; }
.rof-ayuda { position: relative; z-index: 1; margin-top: .6rem; font-size: 1.05rem; }
.rof-mazo { position: relative; z-index: 2; width: min(clamp(230px, 22vw, 310px), 33svh); aspect-ratio: 3 / 4; margin: clamp(1rem, 3.5vh, 2.6rem) auto 1rem; }
.rof-carta {
  position: absolute; inset: 0; background: #fff; border-radius: 22px; color: var(--azul);
  box-shadow: 0 7px 0 #e4ddd1, 0 26px 44px rgb(0 0 0 / .28);
  display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.2rem 1rem 1.4rem;
  touch-action: none; user-select: none; cursor: grab; transition: transform .35s cubic-bezier(.2, .9, .3, 1.2), opacity .35s;
}
.rof-carta.arrastrando { cursor: grabbing; transition: none; }
.rof-foto { width: 80%; aspect-ratio: 1; border-radius: 50%; background: var(--crema-2); display: grid; place-items: center; }
.rof-foto img { width: 122%; max-width: none; height: auto; mix-blend-mode: multiply; rotate: -8deg; pointer-events: none; }
.rof-carta h3 { font-size: clamp(1.4rem, 2vw, 1.9rem); line-height: 1.05; margin-top: 1.1rem; }
.rof-sello {
  position: absolute; top: 16px; right: 14px; padding: .25em .7em; border: 3px solid currentColor; border-radius: 10px;
  font-weight: 800; font-size: 1rem; letter-spacing: .06em; rotate: 10deg; opacity: 0; scale: 1.6; transition: opacity .25s, scale .3s cubic-bezier(.2, 1.4, .4, 1);
}
.rof-sello.real { color: #1f7a4d; } .rof-sello.falso { color: var(--rojo); }
.rof-carta.votada .rof-sello { opacity: 1; scale: 1; }
@media (min-width: 768px) { .rof-resultado.en-juego { visibility: hidden; } }
.rof-resultado { position: relative; z-index: 1; min-height: 2.8em; max-width: 30em; margin: 0 auto .6rem; font-family: var(--display); font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.2; }
.rof-botones { position: relative; z-index: 1; display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }
.rof-botones button {
  font: 700 1rem var(--texto); background: #fff; color: var(--rojo); border: 0; border-radius: 999px;
  padding: .85em 1.5em; cursor: pointer; transition: transform .2s, box-shadow .2s;
}
.rof-botones button:hover, .rof-botones button:focus-visible { transform: translateY(-2px); box-shadow: 0 6px 0 #861717; }
@media (max-width: 767px) {
  .rof-etiqueta { display: none; }
  .rof-lado { width: 90vw; top: 58%; }
  .rof-lado--falso { left: -78vw; }
  .rof-lado--real { right: -78vw; }
  .rof-mazo { width: min(64vw, 250px, 33svh); }
}
@media (prefers-reduced-motion: reduce) { .rof-carta, .rof-lado, .rof-etiqueta, .rof-sello { transition: none; } }
