/* estilos.css — diseño del menú de Rigo's Pizza Teyahualco (02/12/2026). Partió del de Zuleth.
   Sigue el volante RIGO'S SANTIAGO TEYAHUALCO_DICIEMBRE_2026.cdr: fondo negro rico 50/20/10/100, rojo 0/100/100/0,
   verde 100/0/100/0, amarillo 0/0/100/0, azul de paneles 100/20/0/0 y las tarjetas de colores de las especialidades.
   Medidas: px de CSS (1 px ≈ 0.026 cm); ancho de referencia 390 px (10.3 cm), funciona de 320 px (8.5 cm) a 480 px.
   Reglas: ninguna foto encima ni detrás de un texto (las fotos viven en .franja); solo se animan transform y opacity.
   Contraste medido con contraste.py: texto blanco sobre rojo #d71f26 (5.1:1) y verde #0a7a3d (5.4:1), no sobre el
   rojo y el verde exactos del volante (4.1 y 3.2:1); amarillo sobre azul #005e96 (5.9:1). */

/* ---------- Letras del volante (scripts/preparar_fuentes.py) ----------
   Montserrat es libre (OFL). Las demás son COMERCIALES: aquí se usan para diseñar; al publicar, armar_publicar.py
   (skill seguridad-menu-digital) las convierte a curvas. */
@font-face { font-family: "Futura XBlkCn"; src: url(fuentes_web/medidas-futura-xblkcn.woff) format("woff"); unicode-range: U+20, U+A0; font-display: block; } /* medidas sin letras: el texto va en curvas */
@font-face { font-family: "Huggable"; src: url(fuentes_web/medidas-huggable.woff) format("woff"); unicode-range: U+20, U+A0; font-display: block; } /* medidas sin letras: el texto va en curvas */
@font-face { font-family: "Swis BlkCn"; src: url(fuentes_web/medidas-swis-blkcn.woff) format("woff"); unicode-range: U+20, U+A0; font-display: block; } /* medidas sin letras: el texto va en curvas */
@font-face { font-family: "Banff"; src: url(fuentes_web/medidas-banff.woff) format("woff"); unicode-range: U+20, U+A0; font-display: block; } /* medidas sin letras: el texto va en curvas */
@font-face { font-family: "Montserrat";    src: url(fuentes_web/montserrat-xb.woff) format("woff"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Montserrat";    src: url(fuentes_web/montserrat-b.woff) format("woff"); font-weight: 700; font-display: swap; }

:root {
  color-scheme: dark;        /* la página ya es oscura: que el celular no la «oscurezca» por su cuenta */
  --fondo: #16191d;          /* negro rico del volante (50/20/10/100), un poco más hondo para pantalla */
  --fondo-2: #0f1114;
  --tarjeta: #22262b;
  --tarjeta-2: #1a1d21;
  --tinta: #141414;          /* 0/0/0/100 para letra y contorno (Corel lo pasa a #373435, que se ve gris) */
  --blanco: #fefefe;
  --crema: #ece6d6;
  --rojo: #ed3237;           /* 0/100/100/0: letra grande con filo blanco, como en el volante */
  --rojo-f: #d71f26;         /* fondo con letra blanca */
  --rojo-t: #ff4a50;         /* letra roja sobre el fondo oscuro */
  --verde: #00a651;          /* 100/0/100/0: letra grande con filo blanco */
  --verde-f: #0a7a3d;        /* fondo con letra blanca */
  --verde-t: #4cd07d;        /* letra verde sobre el fondo oscuro */
  --amarillo: #fff212;       /* 0/0/100/0 */
  --azul-f: #005e96;         /* paneles (el 100/20/0/0 del volante, más hondo para letra amarilla y blanca) */
  --marino: #2b2f86;         /* 100/100/0/0 de «CH MED GDE FAM» */
  --tricolor: linear-gradient(180deg, var(--rojo) 0 33.4%, var(--blanco) 33.4% 66.6%, var(--verde) 66.6%);
  --tricolor-h: linear-gradient(90deg, var(--rojo) 0 33.4%, var(--blanco) 33.4% 66.6%, var(--verde) 66.6%);

  --f-fut: "Futura XBlkCn", "Arial Narrow", sans-serif;
  --f-hug: "Huggable", "Arial Black", sans-serif;
  --f-swis: "Swis BlkCn", "Arial Narrow", sans-serif;
  --f-banff: "Banff", "Brush Script MT", cursive;
  --f-mont: "Montserrat", "Arial Black", sans-serif;

  --ease: cubic-bezier(.2, .8, .2, 1);
  --rebote: cubic-bezier(.3, 1.55, .5, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--fondo-2); -webkit-text-size-adjust: 100%; scroll-padding-top: calc(66px + env(safe-area-inset-top)); scroll-padding-bottom: calc(75px + env(safe-area-inset-bottom)); }
html:has(.hoja[open]) { overflow: hidden; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  max-width: 480px; margin: 0 auto; overflow-x: clip;
  background: var(--fondo); color: var(--blanco);
  font-family: var(--f-fut); font-size: 18px; line-height: 1.2;
  padding-bottom: calc(65px + max(8px, env(safe-area-inset-bottom)));   /* lo que mide la barra fija de abajo */
  /* luces muy suaves de la bandera sobre el fondo */
  background-image:
    radial-gradient(70% 40% at 0% 22%, rgba(237, 50, 55, .10), transparent 70%),
    radial-gradient(70% 40% at 100% 60%, rgba(0, 166, 81, .09), transparent 70%);
}
h1, h2, h3, h4 { font-weight: normal; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
b { font-weight: normal; }
.nw { white-space: nowrap; }
.seccion { position: relative; padding: 22px 14px 26px; }
/* cada bloque recorta lo que se le salga a los lados (estrellas a medio girar, pizzas que entran de lado, confeti):
   en celular, overflow-x del body no basta y la página se hacía 20 px más ancha a 320 px */
.portada, .seccion, .cinta, footer { overflow-x: clip; }

/* precio con el «$» chico, como en el volante */
.pr { display: inline-flex; align-items: baseline; white-space: nowrap; line-height: .95; }
.pr i { font-style: inherit; font-size: .6em; margin-right: .04em; }

/* ================================================================ PORTADA */
.portada { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px;
  overflow: hidden; padding: max(14px, env(safe-area-inset-top)) 12px 18px; }
/* franja del logotipo a todo lo ancho: roja arriba, curva blanca y verde abajo (img/ola.svg) */
.banda { position: absolute; left: 0; right: 0; top: 0; height: var(--banda, 300px); z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, #f0393e, var(--rojo) 60%); }
/* el verde termina en curva suave hacia el fondo oscuro (no en un corte recto) */
.banda { border-radius: 0 0 50% 50% / 0 0 26px 26px; box-shadow: 0 8px 22px rgba(0, 0, 0, .55); overflow: hidden; }
.ola { position: absolute; left: -4%; right: -4%; bottom: 0; height: 44%; transform-origin: 50% 100%;
  background: url(img/ola.svg) center / 100% 100% no-repeat; }
.logo { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; width: 100%; }
.pieza { position: relative; }
.chef { width: min(52%, 230px); transform-origin: 52% 96%; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .45)); }
.nombre { display: flex; justify-content: center; align-items: flex-end; gap: 2%; width: 100%; margin-top: -4%; }
.rigos { width: 49%; }
.pizza { width: 46%; }
.sabor { width: min(70%, 320px); margin-top: 6px; }
.queso { position: relative; z-index: 1; margin-top: 10px; font-family: var(--f-mont); font-weight: 800; text-transform: uppercase;
  font-size: clamp(.95rem, 4.3vw, 1.15rem); line-height: 1.2; letter-spacing: .02em; text-wrap: balance; }
.domicilio { font-family: var(--f-fut); text-transform: uppercase; color: var(--blanco); --filo: var(--rojo-f); --filo-w: 7px; --filo-sombra: 0 3px 5px rgba(0, 0, 0, .55); font-size: clamp(1.25rem, 6.2vw, 1.6rem); line-height: 1.08; text-wrap: balance; margin-top: 4px; }
.horario { display: flex; flex-direction: column; font-family: var(--f-mont); font-weight: 700; color: var(--amarillo); font-size: clamp(1rem, 4.4vw, 1.15rem); line-height: 1.3; }

/* teléfonos (llamar y WhatsApp), como en el volante: blancos con filo rojo o verde */
.tels { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; margin-top: 6px; }
.tel { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 2px 10px; border-radius: 14px; transition: scale .1s; }
.tel:active { scale: .97; }
.tel > svg { width: 36px; height: 36px; flex: none; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .5)); }
.tel-num { font-family: var(--f-fut); color: var(--blanco); font-size: clamp(1.8rem, 9.6vw, 2.5rem); line-height: 1.05; letter-spacing: .01em; white-space: nowrap; padding: 0 .06em; }

/* ---------- la portada entra (cuando proteger.js ya pintó las piezas) ---------- */
.anima .banda { transform-origin: 0 0; transform: scaleX(0); transition: transform .8s var(--ease); }
.anima .listo .banda { transform: none; }
.anima .chef { opacity: 0; transform: translateY(40px) rotate(-14deg) scale(.7); transition: opacity .3s .35s, transform .9s var(--rebote) .35s; }
.anima .listo .chef { opacity: 1; transform: none; }
.anima .rigos, .anima .pizza { transform: scale(.4); transition: transform .7s var(--rebote) .6s; }
.anima .pizza { transition-delay: .72s; }
.anima .listo .rigos, .anima .listo .pizza { transform: none; }
.anima .sabor { transform: translateY(14px) scale(.8); opacity: 0; transition: transform .6s var(--rebote) .95s, opacity .3s .95s; }
.anima .listo .sabor { transform: none; opacity: 1; }
/* ya adentro: el chef se mece con su pizza y la curva blanca respira como bandera */
.listo .chef .pf-lienzo, .listo .chef > canvas { animation: mece 3.8s ease-in-out 1.4s infinite; transform-origin: 52% 96%; }
.listo .ola { animation: ondea 5s ease-in-out infinite; }
@keyframes mece { 0%, 100% { transform: rotate(0deg); } 30% { transform: rotate(-3.2deg); } 70% { transform: rotate(2.6deg); } }
@keyframes ondea { 0%, 100% { transform: scaleY(1) skewX(0deg); } 50% { transform: scaleY(1.12) skewX(-3deg); } }

/* ================================================================ CINTA TRICOLOR (efecto firma)
   Tramo de una onda exacta (img/cinta.svg, 120 × 20 px en pantalla) repetido a lo ancho; se corre un tramo y vuelve a
   empezar sin brinco: parece una cinta que ondea. Solo transform. */
.cinta { position: relative; height: 20px; margin: 2px 0; overflow: hidden; }
.cinta > i { position: absolute; top: 0; bottom: 0; left: 0; width: calc(100% + 120px);
  background: url(img/cinta.svg) 0 0 / 120px 20px repeat-x; animation: cinta 9s linear infinite; }   /* despacio: se lee junto a ella sin marear */
.cinta-al-reves > i { animation-direction: reverse; }
@keyframes cinta { to { transform: translateX(-120px); } }

/* ================================================================ TÍTULOS DE SECCIÓN */
.sec-cab { display: flex; justify-content: center; margin: 4px 0 16px; }
.sec-tit { position: relative; display: inline-block; padding: 0 14px 10px; }
.sec-tit::after { content: ""; position: absolute; left: 18%; right: 18%; bottom: 0; height: 7px; border-radius: 4px; background: var(--tricolor-h); box-shadow: 0 3px 8px rgba(0, 0, 0, .5); }
.sec-tit-txt { display: block; font-family: var(--f-fut); color: var(--blanco); text-transform: uppercase;
  font-size: clamp(2.6rem, 13vw, 3.4rem); line-height: 1; letter-spacing: .01em; padding: .02em .08em; }
.sec-sub { text-align: center; margin: -6px 0 14px; font-family: var(--f-mont); font-weight: 700; font-size: clamp(1rem, 4.4vw, 1.12rem); line-height: 1.35; color: var(--crema); text-wrap: balance; }
.sec-sub b { color: var(--amarillo); font-weight: 800; }
.anima .sec-cab.rev { opacity: 1; translate: none; scale: .6; transition: scale .7s var(--rebote); }   /* nunca a medio aparecer */
.anima .sec-cab.rev.visto { scale: 1; }

/* ================================================================ PAQUETES */
.paq { position: relative; margin: 0 0 22px; padding: 10px 14px 14px; border-radius: 18px; overflow: clip;
  background: linear-gradient(180deg, var(--tarjeta), var(--tarjeta-2));
  box-shadow: 0 16px 30px -14px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .06); }
.paq { border-top: 2px solid rgba(255, 255, 255, .55); }   /* filo blanco arriba (la tricolor queda para la cinta y los títulos) */
.paq-cab { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 4px; }
.paq-num { display: flex; align-items: center; gap: 4px; font-family: var(--f-swis); color: var(--amarillo); line-height: .85; }
.paq-num small { font-size: clamp(1.6rem, 8vw, 2.1rem); align-self: flex-start; margin-top: .3em; }
.paq-num b { font-size: clamp(4.2rem, 22vw, 5.6rem); }
/* precio sobre una estrella roja que gira despacio (img/estrella.svg) */
.paq-precio { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: clamp(124px, 37vw, 150px); aspect-ratio: 1; margin: -2px -4px 0 0; }
.estrella { position: absolute; inset: 0; z-index: 0; background: url(img/estrella.svg) center / contain no-repeat;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .55)); animation: gira 16s linear infinite; }
.por-solo { position: relative; z-index: 1; font-family: var(--f-fut); text-transform: uppercase; font-size: clamp(.95rem, 4.4vw, 1.1rem); line-height: 1; letter-spacing: .03em; }
.pr-paq { position: relative; z-index: 1; font-family: var(--f-hug); color: var(--blanco); font-size: clamp(2.3rem, 12vw, 2.9rem); padding: 0 .08em; }
@keyframes gira { to { transform: rotate(360deg); } }
.paq-tit { display: flex; flex-direction: column; margin-top: 4px; font-family: var(--f-fut); text-transform: uppercase; line-height: 1.02; }
.pt { color: var(--rojo); font-size: clamp(1.7rem, 8.6vw, 2.2rem); padding: .02em .06em; text-wrap: balance; }
.pt-1 { color: var(--blanco); }
.paq-nota { margin-top: 4px; font-family: var(--f-mont); font-weight: 700; color: var(--crema); font-size: clamp(1rem, 4.4vw, 1.1rem); line-height: 1.3; }
.regalo { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.regalo span { font-family: var(--f-fut); color: var(--verde); text-transform: uppercase; font-size: clamp(1.45rem, 7.2vw, 1.85rem); line-height: 1.05; padding: 0 .06em; }
.ico-ref { width: 22px; height: 48px; flex: none; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .5)); }
.aviso { text-align: center; font-family: var(--f-mont); font-weight: 700; color: var(--amarillo); font-size: clamp(1.05rem, 4.6vw, 1.2rem); }
/* paquete 1: la rectangular 4 en 1, más grande (como en el frente del volante) */
.paq-heroe { padding-bottom: 16px; background: radial-gradient(120% 60% at 50% 0%, rgba(237, 50, 55, .22), transparent 70%), linear-gradient(180deg, var(--tarjeta), var(--tarjeta-2)); }
.paq-heroe .pt-0 { font-size: clamp(2rem, 10vw, 2.6rem); }
.paq-heroe .pt-1 { font-family: var(--f-mont); font-weight: 800; color: var(--rojo); font-size: clamp(1.8rem, 9.6vw, 2.6rem); letter-spacing: -.01em; }
.paq-heroe .pt-2 { color: var(--amarillo); font-size: clamp(2.4rem, 12.4vw, 3.2rem); }

/* ---------- franjas de foto: aquí viven las fotos, nunca con texto ---------- */
.franja { position: relative; margin: 8px -14px 0; overflow: clip visible; }
.franja > .luz { position: absolute; inset: 8% 6%; z-index: 0; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 236, 200, .2), rgba(255, 200, 120, .06) 60%, transparent 100%); }
.franja .foto { z-index: 1; filter: drop-shadow(0 12px 14px rgba(0, 0, 0, .6)); }
.franja-p1 { display: grid; place-items: center; padding: 4px 0 6px; }
.franja-p1 .pz-heroe { width: 96%; }
.franja-p2, .franja-p3 { aspect-ratio: 390 / 250; }
.franja-p2 .foto, .franja-p3 .foto, .franja-p4 .foto { position: absolute; }
.franja-p2 .pz-atras, .franja-p3 .pz-atras { left: 3%; top: 2%; width: 60%; }
.franja-p2 .pz-frente, .franja-p3 .pz-frente { right: 2%; bottom: 3%; width: 66%; z-index: 2; }
.franja-p4 { aspect-ratio: 390 / 250; }
.franja-p4 .pz-t1 { left: 1%; top: 4%; width: 52%; }
.franja-p4 .pz-t3 { right: 1%; top: 0; width: 52%; }
.franja-p4 .pz-t2 { left: 22%; bottom: 2%; width: 58%; z-index: 2; }
.franja-p5, .franja-p6 { display: grid; place-items: center; padding: 4px 0 6px; }
.pz-sola { width: 84%; }
.pz-corazon { width: 60%; }
/* paquete 3: la segunda hawaiana es img/hawaiana_espejo.webp (en espejo desde preparar_fotos.py, con la marca de agua
   derecha) para que no se vean dos fotos idénticas. NUNCA girar una foto de pizza: es en ángulo y girada queda de cabeza
   (03/12/2026, el usuario lo vio en el paquete 3). */

/* ================================================================ 2X1 TODAS LAS ESPECIALIDADES */
.dosx-caja { position: relative; padding: 18px 12px 22px; border-radius: 22px; text-align: center; overflow: visible;
  background: radial-gradient(90% 70% at 50% 20%, rgba(237, 50, 55, .35), transparent 70%), linear-gradient(180deg, #262a30, #1b1e22);
  border: 3px solid transparent; background-clip: padding-box; box-shadow: 0 0 0 3px var(--blanco), 0 0 0 7px var(--verde-f), 0 18px 34px rgba(0, 0, 0, .6); }
.dosx { position: relative; z-index: 1; font-family: var(--f-mont); font-weight: 800; color: var(--rojo); font-size: clamp(5.6rem, 32vw, 8rem); line-height: .95; letter-spacing: -.02em; padding: .02em .1em; }
.todas { position: relative; z-index: 1; font-family: var(--f-fut); color: var(--blanco); text-transform: uppercase; font-size: clamp(1.9rem, 9.8vw, 2.6rem); line-height: 1.02; text-wrap: balance; padding: 0 .06em; }
.tamanos { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 10px; margin-top: 16px; }
/* óvalos blancos con aro de color, como en el volante */
.tam { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 10px 4px 8px; border-radius: 50%;
  background: var(--blanco); border: 6px solid var(--c); box-shadow: 0 6px 12px rgba(0, 0, 0, .45); aspect-ratio: 1.55; }
.tam-cian { --c: #00aeef; } .tam-limon { --c: #8dc63f; } .tam-naranja { --c: #f7941d; } .tam-rojo { --c: var(--rojo); }
.tam dt { font-family: var(--f-hug); color: var(--marino); font-size: clamp(1.4rem, 7vw, 1.8rem); line-height: 1; }
.tam dd { font-family: var(--f-hug); color: var(--rojo-f); font-size: clamp(2rem, 10.4vw, 2.6rem); line-height: 1; }
/* confeti tricolor (efecto firma): sale una vez al llegar al 2X1 */
.confeti { position: absolute; left: 50%; top: 32%; z-index: 2; width: 0; height: 0; pointer-events: none; }
.cf { position: absolute; width: 9px; height: 14px; border-radius: 2px; opacity: 0; }
.cf-0 { background: var(--rojo); } .cf-1 { background: var(--blanco); } .cf-2 { background: var(--verde); }
.anima .dosx-caja.visto .cf { animation: confeti 1.5s cubic-bezier(.15, .7, .3, 1) var(--t) both; }
@keyframes confeti {
  0% { opacity: 1; transform: translate(0, 0) rotate(0deg) scale(.4); }
  70% { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--dx), calc(var(--dy) + 90px)) rotate(var(--g)) scale(1); }
}
.dosx-caja.visto .dosx { animation: late 2.4s ease-in-out 1.2s 3; }   /* late 3 veces, no siempre */
@keyframes late { 0%, 100% { transform: scale(1); } 12% { transform: scale(1.07); } 24% { transform: scale(1); } }

/* ================================================================ MENÚ: letreros de cabecera arqueada (como el volante) */
.esp-lista { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 10px; perspective: 900px; }
.esp { display: flex; flex-direction: column; --c: #888; }
.esp-nom { position: relative; display: flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 6px 4px;
  background: var(--c); border-radius: 50% 50% 0 0 / 22px 22px 0 0; text-align: center; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .18); }
.esp-nom span { font-family: var(--f-fut); color: var(--blanco); text-transform: uppercase; font-size: clamp(1.22rem, 6.1vw, 1.55rem); line-height: 1.12; padding: 0 .06em; text-wrap: balance; }
.esp-ing { flex: 1; padding: 8px 9px 10px; border: 3px solid var(--c); border-top: 0; border-radius: 0 0 12px 12px;
  background: linear-gradient(180deg, #23272c, #1b1e22); font-family: var(--f-fut); color: var(--crema); text-transform: uppercase;
  font-size: clamp(1rem, 4.6vw, 1.15rem); line-height: 1.16; letter-spacing: .01em; text-wrap: pretty; }
.esp-naranja { --c: #f7941d; } .esp-rojo { --c: var(--rojo); } .esp-amarillo { --c: #f2d600; } .esp-verde { --c: var(--verde); }
.esp-limon { --c: #8dc63f; } .esp-magenta { --c: #ec008c; } .esp-cian { --c: #00aeef; } .esp-lila { --c: #b88fc4; }
.esp-morado { --c: #92278f; } .esp-peperoni { --c: var(--rojo); grid-column: 1 / -1; }
.esp-peperoni .esp-nom { min-height: 58px; border-radius: 14px 14px 0 0; }
.esp-peperoni .esp-nom span { font-size: clamp(1.8rem, 9vw, 2.3rem); }
.esp-pep { margin: 0; padding: 8px 6px 10px; border: 3px solid var(--c); border-top: 0; border-radius: 0 0 14px 14px; background: linear-gradient(180deg, #23272c, #1b1e22); display: grid; place-items: center; }
.esp-pep .pz { width: 88%; }
/* los letreros caen del gancho y se balancean (rotateX ≤ 75°: nunca se ve el revés) */
.anima .esp.rev { opacity: 0; translate: none; transform-origin: 50% 0; transform: rotateX(-75deg); transition: none; }
.anima .esp.rev.visto { animation: cae .95s var(--ease) both; }   /* el retraso lo pone app.js (animationDelay) */
@keyframes cae { 0% { opacity: 0; transform: rotateX(-75deg); } 15% { opacity: 1; } 55% { transform: rotateX(16deg); } 78% { transform: rotateX(-6deg); } 100% { opacity: 1; transform: none; } }

/* ================================================================ PANELES (mariscos, complementos, visítanos) */
.panel { position: relative; margin: 0 0 20px; padding: 16px 14px 18px; border-radius: 18px; overflow: clip;
  box-shadow: 0 16px 30px -14px rgba(0, 0, 0, .8); }
.panel-azul { background: linear-gradient(180deg, #0a6aa6, var(--azul-f) 45%, #04476f); border: 3px solid rgba(255, 255, 255, .85); }
.panel-rojo { background: linear-gradient(180deg, #e0262d, var(--rojo-f) 50%, #a9161c); border: 3px solid rgba(255, 255, 255, .85); }
.panel-oscuro { background: linear-gradient(180deg, var(--tarjeta), var(--tarjeta-2)); border: 2px solid rgba(255, 255, 255, .1); text-align: center; }
.panel-tit { font-family: var(--f-fut); color: var(--blanco); text-transform: uppercase; font-size: clamp(1.6rem, 8vw, 2.1rem); line-height: 1.02; text-wrap: balance; }
.panel-tit.grande { font-size: clamp(2.2rem, 11vw, 2.8rem); padding: 0 .06em; }
.panel-sub { margin-top: 4px; font-family: var(--f-fut); color: var(--amarillo); text-transform: uppercase; font-size: clamp(1.1rem, 5.4vw, 1.35rem); line-height: 1.1; text-wrap: balance; }
#mariscos .panel-tit { color: var(--amarillo); text-align: center; }
.mar-fila { margin-top: 14px; padding-top: 12px; border-top: 2px dashed rgba(255, 255, 255, .35); }
.mar-nom { font-family: var(--f-fut); color: var(--blanco); font-size: clamp(1.5rem, 7.4vw, 1.9rem); line-height: 1.14; }
.mar-nom ~ .mar-nom { margin-top: 8px; }
.mar-ing { font-family: var(--f-mont); font-weight: 700; color: #e6f2fb; font-size: clamp(1rem, 4.4vw, 1.1rem); line-height: 1.3; }
.mar-precios { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 10px; text-align: center; }
.mar-precios div { padding: 6px 2px 4px; border-radius: 10px; background: rgba(0, 0, 0, .22); }
.mar-precios dt { font-family: var(--f-hug); color: var(--blanco); font-size: 1.1rem; line-height: 1; }
.pr-mar { font-family: var(--f-hug); color: var(--amarillo); font-size: clamp(1.45rem, 7.2vw, 1.8rem); }

/* listas con precio (spaguettis, bebidas) */
.lista { margin-top: 8px; }
.lista li { display: flex; align-items: last baseline; gap: 8px; padding: 6px 0; }
.lista li > span:not(.pr) { font-family: var(--f-fut); color: var(--blanco); text-transform: uppercase; font-size: clamp(1.2rem, 5.9vw, 1.5rem); line-height: 1.1; }
.puntos { flex: 1; min-width: 24px; border-bottom: 3px dotted rgba(255, 255, 255, .45); translate: 0 -.25em; }
.pr-lista { font-family: var(--f-hug); color: var(--amarillo); font-size: clamp(1.6rem, 8vw, 2rem); }
.pr-lista i { font-size: .72em; }   /* el «$» no baja de 12 px (0.32 cm) */
.lista-latas { margin-top: 10px; padding-top: 6px; border-top: 2px dashed rgba(255, 255, 255, .35); }
.franja-spag { display: grid; place-items: center; padding: 2px 0 4px; }
.franja-spag .pz { width: 70%; }
.papas-fila { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 6px; }
.pr-papas { display: inline-flex; margin-top: 6px; font-family: var(--f-hug); color: var(--blanco); font-size: clamp(3rem, 15vw, 3.8rem); }
.franja-papas { margin: 0; }
.franja-papas .pz { width: 100%; rotate: -6deg; }

/* visítanos */
.vis-tit { font-family: var(--f-fut); text-transform: uppercase; font-size: clamp(1.5rem, 7.4vw, 1.9rem); line-height: 1.14; text-wrap: balance; }
.direccion { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; margin-top: 10px; text-align: left;
  font-family: var(--f-mont); font-weight: 700; font-size: clamp(1rem, 4.5vw, 1.15rem); line-height: 1.3; }
.direccion b { font-weight: 800; color: var(--amarillo); font-size: 1.15em; }
.ico-pin { width: 1.6em; height: auto; flex: none; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .5)); }
.wifi { width: 34%; max-width: 140px; margin: 16px auto 8px; }
.vis-txt { font-family: var(--f-fut); text-transform: uppercase; font-size: clamp(1.15rem, 5.6vw, 1.4rem); line-height: 1.12; text-wrap: balance; }
.pagos { margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: var(--verde-f); font-family: var(--f-mont); font-weight: 800; text-transform: uppercase;
  font-size: clamp(1rem, 4.5vw, 1.12rem); line-height: 1.3; text-wrap: balance; }

/* ================================================================ CONTACTO Y PIE */
#contacto { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; padding-bottom: 22px; }
.contacto-logo { width: 90%; max-width: 380px; border-radius: 16px; overflow: hidden; box-shadow: 0 0 0 3px var(--blanco), 0 10px 20px rgba(0, 0, 0, .5); }
#contacto .domicilio { margin-top: 0; }
#contacto .tels { margin-top: 0; }
.btn-mapa { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 6px 22px 6px 14px; border-radius: 14px;
  background: linear-gradient(180deg, #fff65a, var(--amarillo) 55%, #e8d800); color: var(--tinta); font-family: var(--f-fut); text-transform: uppercase;
  font-size: clamp(1.4rem, 7vw, 1.75rem); box-shadow: 0 6px 14px rgba(0, 0, 0, .5); }
.btn-mapa > svg { width: 24px; height: auto; flex: none; }
.fb { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 6px 16px 6px 8px; border-radius: 999px;
  background: linear-gradient(180deg, #1a72c2, #0f62ac); box-shadow: 0 6px 14px rgba(0, 0, 0, .45);
  font-family: var(--f-fut); font-size: clamp(1.2rem, 5.8vw, 1.45rem); line-height: 1.1; }
.fb b { white-space: nowrap; }
.ico-fb { width: 34px; height: 34px; flex: none; }
.gracias { font-family: var(--f-banff); color: var(--amarillo); font-size: clamp(1.7rem, 8.4vw, 2.1rem); line-height: 1.2; rotate: -3deg; margin-top: 6px; text-wrap: balance; }
footer { padding: 16px 16px max(26px, env(safe-area-inset-bottom)); text-align: center; font-family: var(--f-mont); font-weight: 700; border-top: 2px solid rgba(255, 255, 255, .12); }
/* pie chico y tenue, como el de Rolandi's y Zuleth (13 y 12.5 px, a propósito bajo el mínimo) */
footer .pie-aviso { display: block; font-size: 13px; line-height: 1.35; color: rgba(254, 254, 254, .62); text-wrap: balance; }
footer .credito { display: block; margin-top: 3px; font-size: 12.5px; line-height: 1.3; color: rgba(254, 254, 254, .62); letter-spacing: .02em; }
footer .credito a { display: inline-block; min-height: 44px; line-height: 44px; color: rgba(254, 254, 254, .82); padding: 0 4px; margin: -14px -4px; }

/* ---------- Contornos de letra como en CorelDRAW: «contorno detrás del relleno» ----------
   app.js copia el texto en data-t; ::before lo dibuja detrás con un trazo real. Lo que se ve por fuera es la mitad de --filo-w. */
.filo { position: relative; z-index: 0; text-shadow: none !important; }
.filo::before {
  content: attr(data-t); position: absolute; inset: 0; z-index: -1; padding: inherit; pointer-events: none;
  white-space: inherit; color: var(--filo); -webkit-text-stroke: var(--filo-w) var(--filo); text-shadow: var(--filo-sombra, none);
}
.filo.filo-br::before { white-space: pre-line; }
.sec-tit-txt { --filo: var(--tinta); --filo-w: 8px; --filo-sombra: -.04em .05em 0 var(--rojo-f), -.04em .05em 10px rgba(0, 0, 0, .55); }
.paq-num b, .paq-num small { --filo: var(--tinta); --filo-w: 7px; --filo-sombra: 0 4px 6px rgba(0, 0, 0, .5); }
.pt { --filo: var(--blanco); --filo-w: 6px; --filo-sombra: 0 4px 6px rgba(0, 0, 0, .55); }
.pt-1 { --filo: var(--tinta); }
.paq-heroe .pt-1 { --filo: var(--blanco); --filo-w: 8px; }
.paq-heroe .pt-2 { --filo: var(--tinta); --filo-w: 7px; }
.pr-paq { --filo: var(--tinta); --filo-w: 6px; }
.por-solo { --filo: var(--tinta); --filo-w: 4px; }
.regalo span { --filo: var(--blanco); --filo-w: 6px; --filo-sombra: 0 3px 5px rgba(0, 0, 0, .55); }
.dosx { --filo: var(--blanco); --filo-w: 12px; --filo-sombra: -.03em .04em 0 var(--tinta), 0 8px 16px rgba(0, 0, 0, .6); }
.todas { --filo: var(--tinta); --filo-w: 7px; }
.esp-nom span { --filo: var(--tinta); --filo-w: 5px; }
.tel-num.tn-rojo { --filo: var(--rojo-f); --filo-w: 9px; --filo-sombra: 0 4px 6px rgba(0, 0, 0, .6); }
.tel-num.tn-verde { --filo: var(--verde-f); --filo-w: 9px; --filo-sombra: 0 4px 6px rgba(0, 0, 0, .6); }
.panel-tit.grande { --filo: var(--tinta); --filo-w: 6px; }
.pr-papas { --filo: var(--tinta); --filo-w: 6px; }

/* ================================================================ ATAJOS (barra fija arriba) */
.atajos { position: sticky; top: 0; z-index: 40; padding-top: env(safe-area-inset-top); background: linear-gradient(180deg, #1d2025, var(--fondo-2));
  box-shadow: 0 10px 18px rgba(0, 0, 0, .45); }
.atajos::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 4px; background: var(--tricolor-h); }
.atajos-riel { position: relative; display: flex; gap: 8px; overflow-x: auto; padding: 9px 26px 9px 14px; scrollbar-width: none; overscroll-behavior-x: contain;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12px, #000 calc(100% - 24px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12px, #000 calc(100% - 24px), transparent); }
.atajos-riel::-webkit-scrollbar { display: none; }
.atajo { position: relative; flex: none; display: flex; align-items: center; min-height: 44px; padding: 4px 16px; border-radius: 999px;
  background: linear-gradient(180deg, #e0262d, var(--rojo-f) 60%, #b5161c); border: 2px solid rgba(255, 255, 255, .85);
  box-shadow: 0 3px 6px rgba(0, 0, 0, .45); transition: scale .1s; -webkit-tap-highlight-color: transparent; }
.atajo:active { scale: .95; }
.atajo span { display: block; font-family: var(--f-fut); color: var(--blanco); text-transform: uppercase; font-size: clamp(1.1rem, 5vw, 1.3rem); line-height: 1.05; white-space: nowrap; }
.atajo[aria-current] { background: linear-gradient(180deg, #fff65a, var(--amarillo) 55%, #e8d800); border-color: var(--verde-f); box-shadow: 0 0 12px rgba(255, 242, 18, .5), 0 3px 6px rgba(0, 0, 0, .45); }
.atajo[aria-current] span { color: var(--tinta); }

/* ================================================================ ANIMACIONES AL APARECER (solo con JS: html.anima) */
.anima .rev { opacity: 0; translate: 0 24px; transition: opacity .7s var(--ease), translate .7s var(--ease); }
.anima .rev.visto { opacity: 1; translate: 0 0; }
.anima .sello { opacity: 0; scale: 1.4; rotate: -10deg; transition: scale .6s var(--rebote) .15s, opacity .3s ease .15s, rotate .6s var(--ease) .15s; }
.anima .sello.visto { opacity: 1; scale: 1; rotate: 0deg; }
.anima .tam.sello:nth-child(2) { transition-delay: .3s; } .anima .tam.sello:nth-child(3) { transition-delay: .42s; } .anima .tam.sello:nth-child(4) { transition-delay: .54s; }
/* el número del paquete llega rebotando; las pizzas entran girando poquito */
.anima .paq-num.rev { opacity: 1; translate: none; scale: .3; transition: scale .7s var(--rebote); }
.anima .paq-num.rev.visto { scale: 1; }
.anima .franja.rev .pz { transition: rotate 1s var(--ease) .1s, scale 1s var(--ease) .1s, translate 1s var(--ease) .1s; rotate: -10deg; scale: .85; }
.anima .franja.rev.visto .pz { rotate: 0deg; scale: 1; }
.anima .franja-p2.rev .pz-atras, .anima .franja-p3.rev .pz-atras, .anima .franja-p4.rev .pz-t1 { translate: -30% 0; }
.anima .franja-p2.rev .pz-frente, .anima .franja-p3.rev .pz-frente, .anima .franja-p4.rev .pz-t3 { translate: 30% 0; }
.anima .franja.rev.visto .pz { translate: 0 0; }

/* ---------- barra fija de abajo: «Llamar o mensaje» · «Cómo llegar» ---------- */
.acciones { position: fixed; z-index: 45; left: 50%; bottom: 0; translate: -50% 0; width: 100%; max-width: 480px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px 10px max(8px, env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(15, 17, 20, .94), var(--fondo-2)); box-shadow: 0 -8px 18px rgba(0, 0, 0, .5); }
.acciones::before { content: ""; position: absolute; left: 0; right: 0; top: -2px; height: 2px; background: rgba(255, 255, 255, .5); }
.accion { position: relative; appearance: none; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; padding: 4px 10px;
  border-radius: 12px; border: 2px solid rgba(255, 255, 255, .85); font-family: var(--f-fut); text-transform: uppercase; text-align: left;
  font-size: clamp(1.15rem, 5.2vw, 1.35rem); line-height: 1; cursor: pointer; -webkit-tap-highlight-color: transparent;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .5); transition: scale .1s; }
.accion:active { scale: .97; }
.accion > svg { width: 30px; height: 30px; flex: none; }
.acc-tel { background: linear-gradient(180deg, #e0262d, var(--rojo-f) 60%, #b5161c); color: var(--blanco); }
.acc-mapa { background: linear-gradient(180deg, #0e8546, var(--verde-f) 60%, #06602f); color: var(--blanco); }
.acc-mapa > svg { width: 22px; }
/* hoja que sube desde abajo (letra libre Montserrat: está escondida al abrir la página y no podría ir en curvas) */
.hoja { position: fixed; top: auto; bottom: 0; left: 0; right: 0; width: 100%; max-width: 480px; max-height: none; margin: 0 auto;
  padding: 0; border: 0; background: transparent; color: var(--blanco); overflow: visible; overscroll-behavior: contain; }
.hoja::backdrop { background: rgba(0, 0, 0, .65); }
.hoja-caja { max-height: 100dvh; overflow-y: auto; overscroll-behavior: contain; display: grid; gap: 10px; padding: 18px 16px max(18px, env(safe-area-inset-bottom)); border-radius: 22px 22px 0 0;
  background: linear-gradient(180deg, #23272c, var(--fondo-2)); box-shadow: 0 -10px 30px rgba(0, 0, 0, .6); border-top: 4px solid var(--blanco); }
.hoja[open] .hoja-caja { animation: hoja-sube .3s var(--ease); }
@keyframes hoja-sube { from { translate: 0 100%; } }
.hoja-titulo { font-family: var(--f-mont); font-weight: 800; color: var(--amarillo); font-size: clamp(1.2rem, 5.6vw, 1.4rem); line-height: 1.1; text-align: center; margin-bottom: 2px; text-wrap: balance; }
.hoja-op { display: flex; align-items: center; gap: 14px; min-height: 68px; padding: 8px 16px; border-radius: 14px; border: 2px solid rgba(255, 255, 255, .85);
  font-family: var(--f-mont); font-weight: 800; color: var(--blanco); font-size: 1.65rem; line-height: 1; box-shadow: 0 6px 14px rgba(0, 0, 0, .5); }
.hoja-op small { display: block; font-size: .5em; font-weight: 700; letter-spacing: .03em; margin-bottom: 3px; }
.hoja-op > svg { width: 44px; height: 44px; flex: none; }
.op-tel { background: linear-gradient(180deg, #e0262d, var(--rojo-f) 60%, #b5161c); }
.op-wa { background: linear-gradient(180deg, #129250, var(--verde-f) 60%, #06602f); }
.hoja-cerrar { appearance: none; min-height: 50px; border-radius: 12px; border: 2px solid rgba(254, 254, 254, .4); background: transparent;
  color: var(--blanco); font-family: var(--f-mont); font-weight: 800; font-size: 1.1rem; letter-spacing: .04em; cursor: pointer; }

@media (max-height: 480px) {
  .acciones { padding-top: 5px; }
  .accion { min-height: 44px; }
  body { padding-bottom: calc(52px + max(8px, env(safe-area-inset-bottom))); }
}
.accion:focus-visible, .hoja-op:focus-visible, .hoja-cerrar:focus-visible, .tel:focus-visible, .fb:focus-visible, .btn-mapa:focus-visible, .atajo:focus-visible { outline: 3px solid var(--amarillo); outline-offset: 3px; }

/* lo que nunca para se pausa fuera de pantalla (app.js pone .pausa) */
.pausa, .pausa::before, .pausa::after, .pausa *, .pausa *::before, .pausa *::after { animation-play-state: paused !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rev, .sello, .esp { opacity: 1 !important; translate: none !important; scale: 1 !important; rotate: 0deg !important; transform: none !important; }
  .cf { display: none; }
}

/* ---------- correcciones de la revisión del 02/12/2026 ---------- */
/* cabeceras claras (amarilla, limón, naranja, cian, lila): letra negra con filo blanco; blanco ahí da 1.5-2.7:1 */
.esp-amarillo .esp-nom span, .esp-limon .esp-nom span, .esp-naranja .esp-nom span, .esp-cian .esp-nom span, .esp-lila .esp-nom span {
  color: var(--tinta); --filo: var(--blanco); --filo-w: 5px; }
/* precios del 2X1 que valen para todo el menú: que resalten */
.sec-sub .nw { color: var(--amarillo); font-weight: 800; }
/* mariscos: rótulo que dice que la fila de precios es de las dos */
.mar-ambas { margin-top: 8px; font-family: var(--f-mont); font-weight: 700; color: var(--amarillo); font-size: 1rem; line-height: 1.3; }

/* paquetes: acomodo alternado (número a la derecha en los pares) y paquete 1 más grande */
.paq-heroe { border: 3px solid var(--amarillo); box-shadow: 0 0 22px rgba(255, 242, 18, .25), 0 16px 30px -14px rgba(0, 0, 0, .8); }
/* «GRATIS 1 refresco» como sello centrado */
.regalo { justify-content: center; margin-top: 6px; padding: 4px 10px; border: 2px dashed var(--verde-t); border-radius: 12px; background: rgba(0, 166, 81, .14); }

/* especialidades: el cuerpo lleva un tinte de su color (como el volante, todo pintado) y el texto centrado en alto */
.esp-ing { display: flex; align-items: center; background: linear-gradient(180deg, color-mix(in srgb, var(--c) 26%, #1b1e22), color-mix(in srgb, var(--c) 14%, #16191d)); }
/* nombre de la foto del menú, debajo de ella (nunca encima) */

/* bebidas en verde (rompe los dos paneles azules seguidos) */
.panel-verde { background: linear-gradient(180deg, #129250, var(--verde-f) 45%, #065a2c); border: 3px solid rgba(255, 255, 255, .85); }

/* ================================================================ MÁS MOVIMIENTO (03/12/2026)
   Todo con transform u opacity, se pausa fuera de pantalla (.pausa) y se apaga con «reducir movimiento». */
/* las pizzas flotan despacio, cada una a su tiempo */
.franja.visto .pz, .franja-papas .pz { animation: flota 5.5s ease-in-out 1s infinite; }
.franja .pz:nth-of-type(2) { animation-delay: -1.8s; }
.franja .pz:nth-of-type(3) { animation-delay: -3.6s; }
@keyframes flota { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-7px) rotate(1.4deg); } }
/* un brillo recorre la tarjeta de cada paquete y la caja del 2X1 (cada 6 s; es luz, no tapa la letra) */
.paq::after, .dosx-caja::after { content: ""; position: absolute; top: -20%; bottom: -20%; left: 0; width: 38%; z-index: 4; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .13) 45%, rgba(255, 255, 255, .2) 50%, rgba(255, 255, 255, .13) 55%, transparent);
  transform: translateX(-140%) skewX(-12deg); animation: brillo 6s ease-in-out infinite; }
.paq:nth-of-type(even)::after { animation-delay: 3s; }
.dosx-caja { overflow: clip; }
@keyframes brillo { 0%, 55% { transform: translateX(-140%) skewX(-12deg); } 85%, 100% { transform: translateX(340%) skewX(-12deg); } }
/* el precio de la estrella late */
.paq-precio.visto .pr-paq { animation: latido 3.2s ease-in-out 1s infinite; }
@keyframes latido { 0%, 100% { transform: scale(1); } 8% { transform: scale(1.12); } 16% { transform: scale(1); } 24% { transform: scale(1.06); } 32% { transform: scale(1); } }
/* el refresco de regalo se menea */
.regalo.visto .ico-ref { transform-origin: 50% 100%; animation: menea 3s ease-in-out infinite; }
@keyframes menea { 0%, 60%, 100% { transform: rotate(0deg); } 68% { transform: rotate(-12deg); } 76% { transform: rotate(10deg); } 84% { transform: rotate(-6deg); } 92% { transform: rotate(3deg); } }
/* los teléfonos timbran (portada y contacto), uno tras otro */
.listo .tels .tel > svg, #contacto .tels.visto .tel > svg { animation: timbre 4s ease-in-out 2s infinite; }
.tels .tel:nth-child(2) > svg { animation-delay: 2.5s; }
.tels .tel:nth-child(3) > svg { animation-delay: 3s; }
@keyframes timbre { 0%, 14%, 100% { transform: rotate(0deg); } 2% { transform: rotate(-14deg); } 4% { transform: rotate(12deg); } 6% { transform: rotate(-10deg); } 8% { transform: rotate(8deg); } 10% { transform: rotate(-4deg); } }
/* el botón «Llamar o mensaje» de la barra de abajo lleva un aro que pulsa */
.acc-tel::after { content: ""; position: absolute; inset: -2px; border-radius: 14px; border: 3px solid var(--amarillo); pointer-events: none;
  opacity: 0; animation: aro 2.8s ease-out 2s infinite; }
@keyframes aro { 0% { opacity: .9; transform: scale(1); } 60%, 100% { opacity: 0; transform: scale(1.12, 1.35); } }
/* la raya tricolor de cada título se dibuja de lado a lado al aparecer */
.anima .sec-cab .sec-tit::after { transform: scaleX(0); transition: transform .8s var(--ease) .3s; }
.anima .sec-cab.visto .sec-tit::after { transform: none; }
/* las listas (spaguettis, bebidas) entran renglón por renglón */
.anima .rev .lista li { opacity: 0; transform: translateX(-22px); transition: opacity .45s, transform .55s var(--ease); }
.anima .rev.visto .lista li { opacity: 1; transform: none; }
.anima .rev.visto .lista li:nth-child(2) { transition-delay: .07s; } .anima .rev.visto .lista li:nth-child(3) { transition-delay: .14s; }
.anima .rev.visto .lista li:nth-child(4) { transition-delay: .21s; } .anima .rev.visto .lista li:nth-child(5) { transition-delay: .28s; }
.anima .rev.visto .lista li:nth-child(6) { transition-delay: .35s; }
/* los precios de mariscos saltan uno tras otro */
.anima .mar-fila .mar-precios div { transform: scale(.4); opacity: 0; transition: transform .5s var(--rebote), opacity .3s; }
.anima .mar-fila.visto .mar-precios div { transform: none; opacity: 1; }
.anima .mar-fila.visto .mar-precios div:nth-child(2) { transition-delay: .1s; } .anima .mar-fila.visto .mar-precios div:nth-child(3) { transition-delay: .2s; }
.anima .mar-fila.visto .mar-precios div:nth-child(4) { transition-delay: .3s; }
/* el atajo de la sección en la que vas pulsa suave */
.atajo[aria-current]::after { content: ""; position: absolute; inset: -2px; border-radius: 999px; border: 2px solid var(--amarillo); pointer-events: none;
  animation: aro-atajo 2.2s ease-out infinite; }
@keyframes aro-atajo { 0% { opacity: .8; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(1.08, 1.18); } }
/* el «¡Gracias por su preferencia!» se mece como letrero */
#contacto.visto .gracias, #contacto .gracias.visto { animation: letrero 4s ease-in-out infinite; }
@keyframes letrero { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(2.5deg); } }


/* ================================================================ TARJETA DE PAQUETE (03/12/2026, rediseño con jerarquía)
   Tres niveles y saltos de tamaño claros (Smashing Magazine «Typographic Hierarchies»; LibreTexts, principios
   compositivos): 1) número del paquete y precio, 2) qué trae (cantidad y variedad), 3) nota y regalo.
   Proximidad: lo que va junto se pega (título y nota, gratis y refresco) y entre grupos hay más aire.
   Un eje: el número y el título comparten una raya amarilla vertical; todo el texto se alinea a la izquierda.
   Tres bloques siempre en el mismo orden: [número | título] · foto · [regalo | precio]. */
.paq { margin-bottom: 18px; padding: 14px 14px 12px; }
.paq-cab { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 12px; margin: 0; }
.paq-num { flex-direction: column; align-items: center; justify-content: center; gap: 0; align-self: stretch;
  padding-right: 12px; border-right: 3px solid var(--amarillo); line-height: .8; }
.paq-num small { align-self: center; margin: 0 0 2px; font-size: clamp(1rem, 4.8vw, 1.2rem); letter-spacing: .04em; }
.paq-num b { font-size: clamp(3.5rem, 17.5vw, 4.4rem); }
.paq-txt { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.paq-tit { margin: 0; line-height: .98; }
.pt { padding: 0 .06em; }
.pt-0 { font-size: clamp(1.3rem, 6.4vw, 1.6rem); }                     /* nivel 2: cantidad y tamaño, rojo */
.pt-1 { font-size: clamp(1.6rem, 8vw, 2rem); color: var(--blanco); }   /* nivel 1 del texto: la variedad */
.paq-nota { margin: 0; font-size: clamp(.88rem, 3.9vw, .98rem); line-height: 1.25; color: var(--crema); }   /* nivel 3 */
/* foto: a todo lo ancho, pegada a su título y a su oferta */
.franja-paq { margin-top: 10px; }
/* pie: la oferta junta (regalo + precio), como cierre de la tarjeta */
.paq-pie { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 10px; margin-top: 8px; }
.regalo { justify-content: flex-start; gap: 10px; margin: 0; min-height: 66px; padding: 8px 12px; border: 2px dashed var(--verde-t);
  border-radius: 14px; background: rgba(0, 166, 81, .16); }
.regalo .rg { display: flex; flex-direction: column; padding: 0; font-size: inherit; line-height: 1; }
.regalo .rg-1 { font-family: var(--f-fut); color: var(--verde); text-transform: uppercase; font-size: clamp(1.55rem, 7.6vw, 1.9rem); line-height: 1;
  padding: 0 .06em; --filo: var(--blanco); --filo-w: 6px; --filo-sombra: 0 3px 5px rgba(0, 0, 0, .55); }
.regalo .rg-2 { margin-top: 3px; font-family: var(--f-mont); font-weight: 800; color: var(--blanco); text-transform: uppercase;
  font-size: clamp(.8rem, 3.7vw, .92rem); line-height: 1.2; letter-spacing: .02em; text-wrap: balance; }
.ico-ref { width: 20px; height: 44px; }
.paq-precio { width: clamp(100px, 28vw, 116px); margin: 0; }
.pr-paq { font-size: clamp(1.8rem, 9vw, 2.25rem); }
.por-solo { font-size: clamp(.78rem, 3.6vw, .9rem); }
/* paquete 1 (el héroe): el mismo sistema, más grande */
.paq-heroe { padding: 16px 16px 14px; }
.paq-heroe .paq-num b { font-size: clamp(4.4rem, 22vw, 5.5rem); }
.paq-heroe .paq-num small { font-size: clamp(1.15rem, 5.6vw, 1.4rem); }
.paq-heroe .pt-0 { font-size: clamp(1.45rem, 7.2vw, 1.8rem); }
.paq-heroe .pt-1 { font-family: var(--f-fut); font-weight: normal; color: var(--rojo); font-size: clamp(2.1rem, 10.6vw, 2.65rem); letter-spacing: 0; }
.paq-heroe .pt-2 { font-size: clamp(1.9rem, 9.6vw, 2.4rem); }
.paq-heroe .paq-precio { width: clamp(124px, 34vw, 144px); }
.paq-heroe .pr-paq { font-size: clamp(2.3rem, 11.5vw, 2.8rem); }
.paq-heroe .por-solo { font-size: clamp(.9rem, 4.2vw, 1.02rem); }
.paq-heroe .franja-p1 .pz-heroe { width: 92%; }
/* «2 lts.» dentro del renglón chico del regalo: misma letra que su renglón */
.regalo .rg-2 .nw { font: inherit; color: inherit; padding: 0; }
/* el precio es nivel 1, como el número: estrella un poco más grande */
.paq-precio { width: clamp(108px, 31vw, 128px); }
.pr-paq { font-size: clamp(1.95rem, 9.8vw, 2.45rem); }
.paq-heroe .paq-precio { width: clamp(128px, 36vw, 150px); }
.paq-num small { margin-bottom: 5px; }   /* «PAQ.» no toca el número a 320 px */

/* revisión de fotos (03/12/2026) */
/* papas: giradas −6° salían cortadas a lo ancho por la franja (sombra en caja) */
.franja-papas { overflow: visible; }
.franja-papas .pz { width: 90%; }
/* fotos del volante con 600 px reales: el corazón no más ancho de ≈ 200 px de CSS (5.3 cm); las hawaianas de los
   paquetes 2 y 3 van más grandes por decisión del usuario («júntalas más, agrándalas»), algo suaves en pantallas densas */
.pz-corazon { width: min(46%, 200px); }

/* ================================================================ AJUSTES DEL USUARIO (03/12/2026, tarde)
   Paquetes 2 y 3: las dos pizzas grandes y encimadas (antes quedaban chicas y con un hueco en medio). */
.franja-p2, .franja-p3 { aspect-ratio: 390 / 236; }
.franja-p2 .pz-atras, .franja-p3 .pz-atras { left: -1%; top: 0; width: 72%; }
.franja-p2 .pz-frente, .franja-p3 .pz-frente { right: -1%; bottom: 0; width: 76%; }
/* 2X1: tamaños y precios más grandes, óvalos un poco más altos para que quepan */
.tamanos { gap: 12px 10px; margin-top: 18px; }
.tam { aspect-ratio: 1.32; padding: 8px 4px 6px; gap: 2px; }
.tam dt { font-size: clamp(1.9rem, 9.6vw, 2.4rem); }
.tam dd { font-size: clamp(2.7rem, 13.8vw, 3.4rem); }
/* menú: pizzas de adorno al fondo, oscurecidas, asomándose por los lados detrás de los letreros */
#menu { overflow: clip; }
#menu > :not(.menu-fondo) { position: relative; z-index: 1; }
.menu-fondo { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.mf { position: absolute; width: 78%; translate: 0 -50%; opacity: .5; filter: brightness(.6) saturate(.9); }
.mf-izq { left: -34%; }
.mf-der { right: -34%; }
.mf .mf-pz { width: 100%; }
/* los cuerpos de los letreros dejan ver un poco el fondo, sin perder la lectura */
.esp-ing { background: linear-gradient(180deg, color-mix(in srgb, var(--c) 26%, rgba(27, 30, 34, .82)), color-mix(in srgb, var(--c) 14%, rgba(22, 25, 29, .86))); }
/* fondo del menú: que sí se note, sin estorbar la lectura */
.mf { opacity: .62; filter: brightness(.72) saturate(.95); width: 86%; }
.mf-izq { left: -30%; } .mf-der { right: -30%; }
.esp-ing { background: linear-gradient(180deg, color-mix(in srgb, var(--c) 24%, rgba(20, 22, 26, .74)), color-mix(in srgb, var(--c) 12%, rgba(16, 18, 21, .8))); }
/* revisor de fotos, segunda vuelta: */
/* 3. paquetes 2 y 3: 8 px de aire con el borde de la tarjeta (se rozaban) y un poco más encimadas */
.franja-p2 .pz-atras, .franja-p3 .pz-atras { left: 2%; }
.franja-p2 .pz-frente, .franja-p3 .pz-frente { right: 2%; }
/* 2. el adorno del fondo competía con los letreros: más apagado y un poco desenfocado */
.mf { opacity: .5; filter: brightness(.58) saturate(.8) blur(1px); }
.esp-ing { background: linear-gradient(180deg, color-mix(in srgb, var(--c) 24%, rgba(20, 22, 26, .84)), color-mix(in srgb, var(--c) 12%, rgba(16, 18, 21, .88))); }

/* ================================================================ 2X1 «CON ATREVIMIENTO» (03/12/2026, noche)
   El usuario: «lo siento muy soso, le falta atrevimiento; los círculos más chicos quizá».
   Rayos de feria que giran detrás, 2X1 amarillo inclinado con relieve, banda negra cruzada y los 4 precios en tiras
   tipo calcomanía con un círculo chico de color para el tamaño. */
.dosx-caja { padding: 14px 12px 22px; background: var(--rojo-f); }
.rayos { position: absolute; left: 50%; top: 24%; z-index: 0; width: 260%; aspect-ratio: 1; translate: -50% -50%; pointer-events: none;
  background: radial-gradient(circle, rgba(255, 210, 60, .28) 0 9%, transparent 26%, rgba(0, 0, 0, .42) 58%),
              repeating-conic-gradient(#e3262c 0 7.5deg, #b8141a 7.5deg 15deg);
  animation: gira 48s linear infinite; }
@keyframes gira { to { transform: rotate(360deg); } }
.dosx { color: var(--amarillo); rotate: -6deg; font-size: clamp(6rem, 35vw, 8.6rem); margin: 0 0 6px; font-family: var(--f-mont); font-weight: 800;
  --filo: var(--tinta); --filo-w: 14px; --filo-sombra: .035em .05em 0 var(--tinta), .07em .1em 0 #6d0a0e, 0 14px 22px rgba(0, 0, 0, .5); }
/* banda negra cruzada de lado a lado, con orillas amarillas */
.todas { display: block; margin: 0 -12px; padding: 8px 10px 9px; rotate: -3deg; background: var(--tinta);
  border-top: 4px solid var(--amarillo); border-bottom: 4px solid var(--amarillo); box-shadow: 0 8px 14px rgba(0, 0, 0, .45);
  font-size: clamp(1.75rem, 8.8vw, 2.35rem); line-height: 1; letter-spacing: .01em; --filo-w: 0px; }
/* tiras de precio */
.tiras { position: relative; z-index: 1; display: grid; gap: 12px; margin: 22px 4px 0 14px; }
.tira { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 58px; padding: 4px 16px 4px 0;
  background: var(--blanco); border-radius: 999px; box-shadow: 5px 5px 0 var(--tinta); --c: #888; }
.tira:nth-child(odd) { rotate: -2deg; } .tira:nth-child(even) { rotate: 1.6deg; }
.tira-cian { --c: #00aeef; } .tira-limon { --c: #6fae1f; } .tira-naranja { --c: #f7941d; } .tira-rojo { --c: var(--rojo); }
.tira dt { display: flex; align-items: center; gap: 9px; min-width: 0; }
.tira-ab { display: grid; place-items: center; flex: none; width: clamp(54px, 16vw, 64px); aspect-ratio: 1; margin-left: -14px; border-radius: 50%;
  background: var(--c); border: 4px solid var(--blanco); box-shadow: 0 0 0 3px var(--tinta), 3px 4px 0 3px var(--tinta);
  font-family: var(--f-hug); font-weight: normal; color: var(--blanco); font-size: clamp(1.05rem, 5vw, 1.3rem); line-height: 1; }
.tira-nom { font-family: var(--f-mont); font-weight: 800; color: var(--tinta); text-transform: uppercase; font-size: clamp(.9rem, 4.3vw, 1.05rem); letter-spacing: .02em; }
.tira dd { margin: 0; }
.pr-tira { font-family: var(--f-hug); color: var(--rojo-f); font-size: clamp(2.3rem, 12vw, 3rem); line-height: 1; }
/* entran deslizándose, una de cada lado, con rebote */
.anima .tira { opacity: 0; translate: -115% 0; transition: translate .7s var(--rebote), opacity .3s; }
.anima .tira:nth-child(even) { translate: 115% 0; }
.anima .dosx-caja.visto .tira { opacity: 1; translate: 0 0; }
.anima .dosx-caja.visto .tira:nth-child(1) { transition-delay: .55s; } .anima .dosx-caja.visto .tira:nth-child(2) { transition-delay: .7s; }
.anima .dosx-caja.visto .tira:nth-child(3) { transition-delay: .85s; } .anima .dosx-caja.visto .tira:nth-child(4) { transition-delay: 1s; }
/* el círculo del tamaño da un brinco cuando llega su tira */
.dosx-caja.visto .tira-ab { animation: brinco .5s var(--rebote) both; }
.dosx-caja.visto .tira:nth-child(1) .tira-ab { animation-delay: 1.1s; } .dosx-caja.visto .tira:nth-child(2) .tira-ab { animation-delay: 1.25s; }
.dosx-caja.visto .tira:nth-child(3) .tira-ab { animation-delay: 1.4s; } .dosx-caja.visto .tira:nth-child(4) .tira-ab { animation-delay: 1.55s; }
@keyframes brinco { 0% { transform: scale(1); } 45% { transform: scale(1.25) rotate(-8deg); } 100% { transform: scale(1); } }

/* Peperoni: solo texto, como las demás (el usuario: «la de peperoni también que sea solo texto») */
.esp-peperoni .esp-ing { justify-content: center; text-align: center; font-size: clamp(1.15rem, 5.4vw, 1.35rem); padding: 10px 12px 12px; }
