@font-face { font-family: 'Baloo 2'; src: url('fuentes/baloo2-var.woff2') format('woff2'); font-weight: 400 800; font-display: swap; }
@font-face { font-family: 'Caveat Brush'; src: url('fuentes/caveat-brush.woff2') format('woff2'); font-display: swap; }

:root {
  --noche: #0f1b3d;
  --noche-2: #1c2c5e;
  --luz: #ffe3a0;
  --oro: #ffc94d;
  --mostaza: #f2c25a;
  --crema: #fbf3e0;
  --cafe: #4a2e1f;
  --terracota: #a4502c;
  --radio: 18px;
  --u: max(100vw / 1300, 100svh / 1600);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--noche); }
body { font: 400 18px/1.42 'Baloo 2', system-ui, sans-serif; color: var(--cafe); overflow-x: clip; }
/* Sin puntero, el clic derecho y el dedo sostenido nunca caen sobre la imagen: no sale "Guardar imagen" ni se puede arrastrar. */
img { display: block; max-width: 100%; height: auto; pointer-events: none; user-select: none; -webkit-user-select: none; -webkit-user-drag: none; -webkit-touch-callout: none; }
@media print { body { display: none; } }
a { color: inherit; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 3px solid var(--oro); outline-offset: 3px; border-radius: 8px; }
.crema :focus-visible, .oro :focus-visible { outline-color: var(--terracota); }

h2 { font-weight: 800; font-size: clamp(32px, 7.6vw, 54px); line-height: 1.02; letter-spacing: -.012em; }
.ancho { width: min(1120px, 100% - 40px); margin-inline: auto; }
.angosto { width: min(720px, 100% - 40px); }
.titulo-seccion { text-align: center; margin-bottom: 30px; }
.titulo-seccion p { font-size: 19px; margin-top: 8px; }

/* Papeles de cada sección, con su borde rasgado arriba */
.crema, .oro, .noche { position: relative; padding-block: 70px 76px; }
.crema { background: var(--crema) url('assets/papel-crema.webp'); }
.oro { background: var(--mostaza); }
.noche { background: var(--noche) url('assets/papel-noche.webp'); color: #fff6e4; }
.crema::before, .oro::before, .noche::before {
  content: ''; position: absolute; left: 0; right: 0; bottom: 100%; height: clamp(46px, 7vw, 92px); margin-bottom: -2px;
  background: bottom center / max(100%, 900px) 100% no-repeat; pointer-events: none; z-index: 2;
}
.crema::before { background-image: url('assets/rasgado-crema.webp'); }
.oro::before { background-image: url('assets/rasgado-oro.webp'); }
.noche::before { background-image: url('assets/rasgado-noche.webp'); }

/* Botón de compra: etiqueta de papel, el mismo en toda la página */
.comprar {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 58px; padding: 7px 26px 5px;
  background: var(--oro); color: var(--cafe); font-weight: 800; font-size: 21px; line-height: 1.05; text-decoration: none; text-align: center;
  border: 3px solid #fff6e4; border-radius: 16px; box-shadow: 0 5px 0 #b97c1c, 0 12px 22px rgba(10, 8, 20, .35);
  transition: transform .16s ease, box-shadow .16s ease;
}
.comprar:hover { transform: translateY(-2px) rotate(-.6deg); box-shadow: 0 7px 0 #b97c1c, 0 16px 26px rgba(10, 8, 20, .38); }
.comprar:active { transform: translateY(4px); box-shadow: 0 1px 0 #b97c1c, 0 4px 10px rgba(10, 8, 20, .35); }
.precio-boton { display: inline-grid; justify-items: center; padding: 3px 9px 2px; background: var(--cafe); color: var(--luz); border-radius: 10px; font-size: 16.5px; line-height: 1.02; white-space: nowrap; }
.precio-boton small { font-size: .78em; }
.comprar.grande { width: 100%; min-height: 68px; font-size: clamp(16.5px, 5.2vw, 24px); white-space: nowrap; padding-inline: 12px; }
.comprar.grande .precio-boton { font-size: .84em; }
.comprar.chico { min-height: 46px; padding-inline: 18px; font-size: 18px; border-width: 2px; box-shadow: 0 3px 0 #b97c1c; }

/* ============ Túnel de papel ============ */
.entrada { position: relative; height: 100svh; min-height: 640px; overflow: hidden; background: var(--noche) url('assets/papel-noche.webp'); color: #fff6e4; }
.tunel { position: absolute; inset: 0; --cx: 50vw; --cy: 59%; }
.capa { position: absolute; left: var(--cx); top: var(--cy); width: calc(1300 * var(--u)); max-width: none; height: calc(1600 * var(--u));
  margin-left: calc(-650 * var(--u)); margin-top: calc(-992 * var(--u)); will-change: transform; transform: translate3d(var(--tx, 0), var(--ty, 0), 0) scale(var(--e, 1)); }
.anillo { animation: abrir 1.3s cubic-bezier(.16, .84, .3, 1) both; }
.a3 { animation-delay: .05s; } .a2 { animation-delay: .13s; } .a1 { animation-delay: .21s; } .a0 { animation-delay: .29s; }
@keyframes abrir { from { opacity: 0; scale: 1.22; } to { opacity: 1; scale: 1; } }
.escena { overflow: hidden; }
.escena-fondo { position: absolute; left: calc(50% - 480 * var(--u)); top: calc(600 * var(--u)); width: calc(960 * var(--u)); max-width: none; }
.f { position: absolute; max-width: none; width: auto; filter: drop-shadow(0 calc(4 * var(--u)) calc(7 * var(--u)) rgba(30, 12, 0, .55)); transform-origin: 50% 100%; animation: pararse .65s cubic-bezier(.2, 1.35, .45, 1) both; }
@keyframes pararse { from { opacity: 0; transform: perspective(700px) rotateX(70deg); } to { opacity: 1; transform: none; } }
.escena-fondo { z-index: -1; }
.escena::before { content: ''; position: absolute; left: 0; right: 0; top: calc(1160 * var(--u)); height: calc(36 * var(--u)); z-index: 0; background: url('assets/rasgado-crema.webp') bottom center / 100% 100% no-repeat; filter: sepia(.32) brightness(.95); }
.escena::after { content: ''; position: absolute; left: 0; right: 0; top: calc(1195 * var(--u)); bottom: 0; z-index: 0; background: var(--crema) url('assets/papel-crema.webp'); filter: sepia(.32) brightness(.95); }
.f { z-index: 1; }
.f-buey { height: calc(225 * var(--u)); left: calc(50% - 262 * var(--u)); top: calc(1005 * var(--u)); animation-delay: .45s; }
.f-burro { height: calc(230 * var(--u)); left: calc(50% - 22 * var(--u)); top: calc(1000 * var(--u)); animation-delay: .52s; }
.f-maria { height: calc(255 * var(--u)); left: calc(50% - 205 * var(--u)); top: calc(1040 * var(--u)); animation-delay: .62s; }
.f-jose { height: calc(372 * var(--u)); left: calc(50% + 105 * var(--u)); top: calc(922 * var(--u)); animation-delay: .68s; }
.f-nino { height: calc(155 * var(--u)); left: calc(50% - 88 * var(--u)); top: calc(1145 * var(--u)); animation-delay: .85s; }
.a3 { -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }

.entrada-texto { position: relative; z-index: 3; height: 100%; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 14px 18px max(14px, env(safe-area-inset-bottom)); }
.logo { align-self: flex-start; position: absolute; left: 12px; top: 10px; }
.logo img { width: 88px; }
h1 { line-height: 0; margin-top: 44px; }
.titulo { width: min(66vw, 44svh, 400px); filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .45)); animation: caer .9s .25s cubic-bezier(.2, 1.3, .4, 1) both; }
@keyframes caer { from { opacity: 0; transform: translateY(-22px) rotate(-3deg) scale(.94); } to { opacity: 1; transform: none; } }
.promesa { max-width: 340px; padding: 7px 14px 4px; font-weight: 600; font-size: clamp(15px, 2.05svh, 18px); line-height: 1.16; margin-top: 8px; color: var(--cafe); background: var(--crema) url('assets/papel-crema.webp'); border-radius: 13px; rotate: -1deg; box-shadow: 0 5px 12px rgba(5, 10, 30, .5); animation: caer .8s .5s cubic-bezier(.2, 1.3, .4, 1) both; }
.datos-rapidos { display: none; }
.compra-entrada { margin-top: auto; display: flex; flex-direction: column; align-items: center; gap: 9px; width: 100%; padding-bottom: clamp(30px, 5vw, 54px); }
.compra-entrada .comprar { width: min(100%, 360px); font-size: clamp(17px, 5vw, 21px); padding-inline: 14px; gap: 9px; white-space: nowrap; }
.compra-entrada .precio-boton { font-size: .8em; }
.letra-compra { font-size: 14.5px; font-weight: 500; line-height: 1.16; padding: 5px 12px 3px; background: rgba(9, 16, 42, .86); border-radius: 10px; }
.letra-compra strong { display: block; font-weight: 700; }

@media (min-width: 900px) {
  :root { --u: max(62vw / 1300, 100svh / 1500); }
  .tunel { --cx: 65vw; --cy: 64%; }
  .logo img { width: 132px; }
  .logo { left: 30px; top: 22px; }
  .entrada-texto { width: 44vw; align-items: flex-start; text-align: left; justify-content: center; padding: 60px 0 40px clamp(36px, 6vw, 96px); }
  h1 { margin-top: 0; }
  .titulo { width: min(36vw, 54svh, 500px); }
  .promesa { font-size: clamp(20px, 1.7vw, 25px); max-width: 480px; margin-top: 14px; }
  .datos-rapidos { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
  .datos-rapidos li { padding: 4px 13px 2px; font-weight: 600; font-size: 17px; background: rgba(255, 246, 228, .12); border-radius: 999px; }
  .compra-entrada { margin-top: 24px; align-items: flex-start; }
  .letra-compra { background: none; padding: 0; }
}

/* ============ La idea ============ */
.idea { z-index: 3; padding-top: 44px; }
.idea-rejilla { display: grid; gap: 28px; align-items: center; }
.foto-rasgada { width: min(330px, 76vw); margin-inline: auto; rotate: -2deg; padding: 9px; background: #fffaf0; border-radius: 16px; box-shadow: 0 2px 0 #e8d6b6, 0 16px 30px rgba(74, 46, 31, .28); }
.foto-rasgada img { border-radius: 10px; }
.idea-texto p { margin-top: 13px; }
.idea-texto h2 { color: var(--cafe); }
.nota-mano { font: 400 27px/1.05 'Caveat Brush', cursive; color: var(--terracota); rotate: -1.4deg; }
@media (min-width: 900px) {
  .idea-rejilla { grid-template-columns: 420px 1fr; gap: 70px; }
  .foto-rasgada { width: 100%; }
  .idea-texto { font-size: 21px; }
}

/* ============ Noche a noche ============ */
.noche-a-noche { position: relative; z-index: 1; background: var(--noche) url('assets/papel-noche.webp'); color: #fff6e4; }
.noche-pista { height: 430vh; }
.noche-fija { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding: 62px 0 78px; }
.noche-cabeza { text-align: center; padding-inline: 14px; }
.noche-cabeza h2 { font-size: clamp(23px, 6.25vw, 46px); color: var(--luz); }
.pista-bajar { font: 400 21px/1 'Caveat Brush', cursive; margin-top: 3px; transition: opacity .3s; }
.ya-bajo .pista-bajar { opacity: 0; }

.escenario-vivo { --m: min(100vw / 338, (100svh - 370px) / 225); position: relative; flex: none; width: calc(338 * var(--m)); height: calc(225 * var(--m)); margin: 8px auto 0; perspective: calc(900 * var(--m)); perspective-origin: 50% 70%; overflow: hidden; border-radius: 14px; }
.vivo-fondo { position: absolute; left: calc(35.5 * var(--m)); bottom: calc(30 * var(--m)); width: calc(267 * var(--m)); max-width: none; border-radius: calc(3 * var(--m)); box-shadow: 0 4px 22px rgba(0, 0, 0, .55); }
.penumbra { position: absolute; left: calc(35.5 * var(--m)); bottom: calc(30 * var(--m)); width: calc(267 * var(--m)); height: calc(178 * var(--m)); background: #070d26; opacity: var(--pen, .52); transition: opacity 1s ease; border-radius: calc(3 * var(--m)); }
.mantel { position: absolute; left: -2%; right: -2%; bottom: 0; height: calc(52 * var(--m)); background: var(--crema) url('assets/papel-crema.webp'); filter: sepia(.32) brightness(.95); }
.mantel::before { content: ''; position: absolute; left: 0; right: 0; bottom: calc(100% - 2px); height: calc(16 * var(--m)); background: url('assets/rasgado-crema.webp') bottom center / max(100%, 700px) 100% no-repeat; }
.pieza { position: absolute; left: calc(50% + var(--x) * var(--m)); bottom: calc(var(--y) * var(--m)); height: calc(var(--alto) * var(--m) * var(--s, 1)); width: auto; max-width: none; z-index: var(--z);
  translate: calc(-50% + var(--dx, 0) * var(--m)) 0; transform-origin: 50% 100%; opacity: 0; transform: rotateX(78deg); filter: drop-shadow(0 calc(1.2 * var(--m)) calc(1.6 * var(--m)) rgba(35, 16, 4, .5));
  transition: transform .75s cubic-bezier(.2, 1.45, .45, 1), opacity .25s ease, translate 1.1s cubic-bezier(.3, .8, .3, 1); }
.pieza.puesta { opacity: 1; transform: none; }

.noche-tablero { width: min(560px, 100% - 24px); margin: 10px auto 0; }
.fechas { display: flex; gap: 4px; justify-content: space-between; }
.fechas button { width: 32px; height: 40px; padding-top: 3px; border-radius: 9px; background: rgba(255, 246, 228, .13); font-weight: 700; font-size: 16px; line-height: 1; color: #fff6e4; transition: background .25s, color .25s, transform .25s; }
.fechas li.pasada button { background: rgba(255, 201, 77, .34); }
.fechas li.activa button { background: var(--oro); color: var(--cafe); transform: translateY(-3px) scale(1.08); }
.fechas li.reyes button { width: 42px; font-size: 13.5px; line-height: .95; }
.tarjeta-noche { display: flex; gap: 12px; align-items: center; margin-top: 10px; padding: 10px 14px 8px 10px; min-height: 92px; background: var(--crema) url('assets/papel-crema.webp'); color: var(--cafe); border-radius: var(--radio); box-shadow: 0 8px 22px rgba(0, 0, 0, .35); }
.tarjeta-noche h3 { font-weight: 800; font-size: 21px; line-height: 1.05; }
.tarjeta-noche p { font-size: 16px; line-height: 1.18; margin-top: 2px; }
.tarjeta-fecha { flex: none; width: 58px; height: 66px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #b4532e; color: #fff6e4; border-radius: 12px; line-height: 1; }
.tarjeta-fecha span { font-weight: 800; font-size: 31px; }
.tarjeta-fecha small { font-weight: 600; font-size: 14px; }
@media (max-width: 959px) {
  /* Las diez fechas caben siempre en el ancho: "6 ene" ya no toca el borde. */
  .fechas li { flex: 1 1 0; min-width: 0; }
  .fechas li.reyes { flex-grow: 1.3; }
  .fechas button, .fechas li.reyes button { width: 100%; }
}
.cambia { animation: cambia .4s ease both; }
@keyframes cambia { from { opacity: 0; transform: translateY(8px); } }
.noche-cierre { position: relative; z-index: 2; padding: 0 0 62px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; font-size: 19px; line-height: 1.25; }
.noche-cierre .comprar { white-space: nowrap; }

@media (min-width: 960px) {
  .noche-fija { display: grid; grid-template-columns: 1fr 390px; grid-template-rows: auto auto; align-content: center; column-gap: 34px; padding: 30px max(30px, 100vw / 2 - 640px); }
  .noche-cabeza { grid-column: 1 / -1; margin-bottom: 8px; }
  .escenario-vivo { --m: min((100vw - 500px) / 338, (100svh - 150px) / 225, 3px); margin: 0 0 0 auto; }
  .noche-tablero { margin: 0; align-self: center; width: 100%; }
  .fechas { flex-wrap: wrap; justify-content: flex-start; }
  .fechas button { width: 34px; }
  .tarjeta-noche { margin-top: 16px; padding: 18px; flex-direction: column; align-items: flex-start; }
  .tarjeta-noche h3 { font-size: 30px; }
  .tarjeta-noche p { font-size: 20px; }
}

/* ============ Se para de verdad ============ */
.armado { z-index: 3; }
.giro { position: relative; border-radius: 22px; overflow: hidden; box-shadow: 0 18px 44px rgba(74, 46, 31, .32); touch-action: pan-y; cursor: grab; background: #1a120e; aspect-ratio: 3 / 2; user-select: none; }
.giro:active { cursor: grabbing; }
.giro img { width: 100%; height: 100%; object-fit: cover; }
.giro-mano { position: absolute; left: 50%; bottom: 14px; translate: -50% 0; padding: 4px 16px 2px; background: rgba(251, 243, 224, .93); color: var(--cafe); font-weight: 700; font-size: 16px; border-radius: 999px; pointer-events: none; animation: empuja 1.8s ease-in-out infinite; }
@keyframes empuja { 50% { translate: calc(-50% + 12px) 0; } }
.aclara { font-size: 14.5px; color: #80604c; text-align: center; margin-top: 10px; }
.medidas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 20px; text-align: center; }
.medidas dt { font-size: 15px; line-height: 1.1; color: #80604c; }
.medidas dd { font-weight: 800; font-size: clamp(18px, 4.8vw, 28px); line-height: 1.1; }

/* ============ Figuras ============ */
.figuras { z-index: 4; }
.figuras .titulo-seccion { margin-bottom: 14px; }
.estante { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-end; row-gap: 22px; column-gap: 2px; }
.estante button { position: relative; flex: none; height: calc(var(--alto) * var(--esc)); --esc: min(1.08vw + .55px, 1.65px); transform-origin: 50% 100%; transition: transform .3s cubic-bezier(.2, 1.5, .5, 1); border-radius: 8px; }
.estante img { height: 100%; width: auto; max-width: none; filter: drop-shadow(0 3px 3px rgba(74, 46, 31, .4)); }
.estante button:hover { transform: translateY(-5px) rotate(-1.5deg); }
.estante button[aria-pressed='true'] { transform: translateY(-9px) scale(1.07); }
.taza { position: relative; flex: none; height: calc(95 * var(--esc)); --esc: min(1.08vw + .55px, 1.65px); margin-left: 8px; }
.taza svg { display: block; height: 100%; width: auto; filter: drop-shadow(0 3px 3px rgba(74, 46, 31, .4)); }
.taza span { position: absolute; left: 0; right: 0; bottom: 100%; margin-bottom: 2px; text-align: center; font: 400 18px/1 'Caveat Brush', cursive; color: var(--cafe); white-space: nowrap; }
.tarjeta-figura { margin: 26px auto 0; max-width: 460px; padding: 12px 18px 10px; text-align: center; background: var(--crema) url('assets/papel-crema.webp'); border-radius: var(--radio); box-shadow: 0 8px 18px rgba(74, 46, 31, .25); min-height: 86px; }
.tarjeta-figura strong { display: block; font-weight: 800; font-size: 24px; line-height: 1.05; }
.tarjeta-figura span { display: block; line-height: 1.2; }

/* ============ Hojas ============ */
.hojas { z-index: 5; }
.carrusel { display: flex; align-items: flex-start; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px max(20px, 50vw - 560px) 20px; scrollbar-width: thin; scrollbar-color: #c9a24c transparent; }
.carrusel li { flex: none; width: min(68vw, 300px); scroll-snap-align: center; }
.carrusel li.acostada { width: min(84vw, 390px); }
.carrusel button { display: block; width: 100%; border-radius: 12px; overflow: hidden; box-shadow: 0 3px 0 #e8d6b6, 0 12px 24px rgba(74, 46, 31, .28); transition: transform .25s ease; }
.carrusel button:hover { transform: translateY(-5px); }
.carrusel span { display: block; margin-top: 12px; line-height: 1.15; font-weight: 600; font-size: 16.5px; text-align: center; }
dialog { margin: auto; max-width: min(94vw, 900px); max-height: 92svh; padding: 0; border: 0; border-radius: 16px; background: #fffaf0; overflow: auto; }
dialog::backdrop { background: rgba(9, 16, 42, .84); }
dialog img { width: 100%; }
.cerrar { position: sticky; float: right; top: 8px; margin: 8px 8px -52px; width: 44px; height: 44px; background: var(--cafe); color: var(--crema); font-size: 28px; line-height: 1; border-radius: 50%; z-index: 1; }

/* ============ Pasos ============ */
.armar { z-index: 6; }
.pasos { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(150px, 44vw), 1fr)); }
.paso { position: relative; padding: 12px 12px 12px; background: var(--crema) url('assets/papel-crema.webp'); color: var(--cafe); border-radius: var(--radio); box-shadow: 0 7px 16px rgba(0, 0, 0, .3); }
.paso i { position: absolute; left: -5px; top: -7px; z-index: 1; width: 34px; height: 34px; border-radius: 50%; background: #b4532e; color: #fff6e4; font: 800 20px/36px 'Baloo 2', sans-serif; text-align: center; }
.paso svg { display: block; width: 100%; aspect-ratio: 120 / 135; overflow: visible; }
.paso b { display: block; font-weight: 800; font-size: 20px; line-height: 1.05; margin-top: 6px; }
.paso p { font-size: 15.5px; line-height: 1.18; margin-top: 3px; }
@media (max-width: 699px) {
  /* En celular, un solo camino de arriba abajo: dibujo a un lado, texto al otro, y una costura que une cada paso con el siguiente. */
  .pasos { grid-template-columns: 1fr; gap: 20px; }
  .paso { display: grid; grid-template-columns: 104px 1fr; column-gap: 14px; align-items: center; padding: 12px 14px 10px 12px; }
  .paso svg { grid-row: 1 / 3; }
  .paso b { align-self: end; margin-top: 0; font-size: 22px; }
  .paso p { align-self: start; font-size: 16px; }
  .paso:not(:last-child)::after { content: ''; position: absolute; left: 12px; top: 100%; height: 20px; border-left: 3px dashed var(--oro); }
}
.corte { fill: none; stroke: #5b4636; stroke-width: .28; stroke-dasharray: 1.4 1; }
.necesitas { margin-top: 36px; }
.necesitas h3 { font-weight: 800; font-size: 28px; color: var(--luz); line-height: 1.1; }
.chulitos { margin-top: 10px; }
.chulitos li { position: relative; padding-left: 34px; margin-top: 8px; line-height: 1.2; }
.chulitos li::before { content: ''; position: absolute; left: 0; top: -1px; width: 25px; height: 25px; background: url('assets/acento-chulito.webp') center / contain no-repeat; }
.materiales { display: grid; gap: 12px; margin-top: 14px; }
.materiales li { display: grid; grid-template-columns: 62px 1fr; column-gap: 14px; align-items: center; line-height: 1.2; }
.materiales img { width: 62px; height: 62px; object-fit: contain; }
@media (min-width: 700px) { .materiales { grid-template-columns: 1fr 1fr; column-gap: 28px; } }
.sin-impresora { margin-top: 16px; padding: 12px 16px 10px; background: rgba(255, 246, 228, .1); border-radius: 14px; line-height: 1.25; }
.sin-impresora strong { display: block; margin-bottom: 2px; }

/* ============ Somos ============ */
.somos { z-index: 7; }
.somos-rejilla { display: grid; gap: 18px; justify-items: center; text-align: center; }
.somos-logo { width: 130px; }
.somos h2 { font-size: clamp(28px, 6.4vw, 42px); }
.somos p { margin-top: 10px; max-width: 620px; }
.redes-somos { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.redes-somos a { display: inline-flex; align-items: center; gap: 7px; padding: 6px 15px 3px 12px; background: var(--cafe); color: var(--crema); font-weight: 700; text-decoration: none; border-radius: 12px; }
.redes-somos svg { flex: none; width: 18px; height: 18px; margin-top: -3px; }
@media (min-width: 760px) { .somos-rejilla { grid-template-columns: 170px 1fr; text-align: left; justify-items: start; } .somos-logo { width: 170px; } .redes-somos { justify-content: flex-start; } }

/* ============ Precio ============ */
.precio { z-index: 8; padding-top: 94px; }
.precio-rejilla { max-width: 560px; }
.boleta { position: relative; padding: 26px 22px 22px; background: var(--crema) url('assets/papel-crema.webp'); color: var(--cafe); border-radius: 24px; box-shadow: 0 22px 50px rgba(0, 0, 0, .5); }
.boleta-fig { position: absolute; right: 8px; top: -62px; width: 88px; filter: drop-shadow(0 4px 5px rgba(0, 0, 0, .4)); }
.boleta h2 { font-size: clamp(28px, 7vw, 38px); padding-right: 54px; }
.precios { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 18px; }
.precios-donde { grid-column: 1 / -1; font-weight: 800; font-size: 16.5px; line-height: 1.1; }
.precio-pais { display: grid; justify-items: start; gap: 2px; min-width: 0; padding: 10px 8px 9px 11px; font: inherit; color: var(--cafe); text-align: left; background: transparent; border: 2px dashed rgba(74, 46, 31, .32); border-radius: 16px; cursor: pointer; transition: background-color .15s, border-color .15s; }
.precio-pais[aria-pressed="true"] { background: #ffe9b0; border: 2px solid #93421f; }
.precio-pais:focus-visible { outline: 3px solid #93421f; outline-offset: 2px; }
.precio-lugar { display: flex; align-items: center; gap: 6px; min-height: 22px; font-weight: 700; font-size: 14.5px; line-height: 1.05; }
.precio-lugar .bandera { flex: none; width: 21px; height: 15px; }
.precio-lugar .bandera.mundo { height: 19px; width: 19px; }
.precio-pais strong { font-weight: 800; font-size: clamp(28px, 9vw, 46px); line-height: 1.05; letter-spacing: -.02em; color: #93421f; }
.precio-pais[aria-pressed="false"] strong { color: #7a5a48; }
.precio-pais small { font-size: 13.5px; line-height: 1; }
.precios + .equivale { margin-top: 8px; }
@media (max-width: 359px) { .precio-lugar { min-height: 31px; } }
.equivale { font-size: 15.5px; line-height: 1.2; color: #6b4a35; margin-bottom: 16px; }
.garantia { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; line-height: 1.22; font-size: 17px; }
.garantia img { flex: none; width: 34px; }
.pagos { margin-top: 18px; font-size: 15px; line-height: 1.2; color: #5c3e2c; }
.pagos strong { display: block; color: var(--cafe); font-size: 16.5px; }
.pagos ul { margin-top: 6px; }
.pagos li { display: grid; grid-template-columns: 26px 76px 1fr; column-gap: 9px; align-items: center; padding: 8px 0 6px; border-top: 1.5px dashed rgba(74, 46, 31, .22); }
.pagos li:first-child { border-top: 0; }
.pagos b { color: var(--cafe); font-weight: 700; }
.pagos p { padding-top: 8px; border-top: 1.5px dashed rgba(74, 46, 31, .22); }
.bandera { width: 26px; height: 18px; border-radius: 4px; box-shadow: 0 0 0 1px rgba(74, 46, 31, .28); }
.bandera.mundo { height: 22px; border-radius: 50%; box-shadow: none; fill: #dcebd8; stroke: var(--cafe); stroke-width: 1.5; }
.seguro { margin-top: 8px; font-size: 14.5px; color: #6b4a35; }

/* ============ Preguntas ============ */
.preguntas { z-index: 9; }
.preguntas h2 { text-align: center; margin-bottom: 22px; font-size: clamp(30px, 7vw, 46px); }
details { border-bottom: 2px dashed #dfc9a4; }
summary { display: flex; justify-content: space-between; gap: 16px; align-items: center; min-height: 58px; padding: 10px 2px 7px; font-weight: 700; font-size: 19px; line-height: 1.15; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; flex: none; width: 30px; height: 30px; background: var(--terracota); color: #fff6e4; border-radius: 50%; text-align: center; font-size: 24px; line-height: 31px; transition: rotate .25s; }
details[open] summary::after { rotate: 45deg; }
details p { padding: 0 2px 16px; line-height: 1.32; }
.mas-dudas { text-align: center; margin-top: 24px; }

/* ============ Final ============ */
.final { position: relative; z-index: 10; background: #0a0806; color: #fff6e4; text-align: center; padding-bottom: 44px; }
.final::before { content: ''; position: absolute; left: 0; right: 0; bottom: 100%; height: clamp(46px, 7vw, 92px); margin-bottom: -2px; background: url('assets/rasgado-noche.webp') bottom center / max(100%, 900px) 100% no-repeat; filter: brightness(.3) saturate(.3); pointer-events: none; z-index: 2; }
.final-escena { position: relative; aspect-ratio: 5 / 3; overflow: hidden; }
.final-escena img { width: 100%; height: 100%; object-fit: cover; }
.final-escena::after { content: ''; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, #0a0806); }
.final-texto { position: relative; max-width: 560px; width: calc(100% - 40px); margin: -6px auto 0; }
.final-texto h2 { color: var(--luz); }
.final-texto p { margin: 8px 0 18px; font-size: 19px; }
@media (min-width: 900px) { .final-escena { width: min(1100px, 100%); margin-inline: auto; } }

.pie { background: #0a0806; color: #d8c8ae; padding: 24px 20px 34px; text-align: center; font-size: 15px; }
.pie img { margin: 0 auto 8px; width: 120px; }

/* Barra fija en celular */
.barra-compra { position: fixed; left: 8px; right: 8px; bottom: max(8px, env(safe-area-inset-bottom)); z-index: 40; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 8px 8px 16px; background: var(--crema) url('assets/papel-crema.webp'); color: var(--cafe); border-radius: 18px; box-shadow: 0 10px 28px rgba(0, 0, 0, .45); translate: 0 140%; transition: translate .35s cubic-bezier(.2, .9, .3, 1); }
.barra-compra.visible { translate: 0 0; }
.barra-compra strong { display: block; font-weight: 800; font-size: 17px; line-height: 1.05; }
.barra-precio { display: grid; margin-top: 1px; line-height: 1.05; }
.barra-precio b { font-weight: 800; font-size: 17px; color: #93421f; }
.barra-precio small { font-size: 13.5px; }
@media (min-width: 900px) { .barra-compra { left: auto; right: 22px; bottom: 22px; width: 370px; } .noche-cierre { padding-bottom: 60px; } }

/* Revelados: suaves, nada de aparecer de golpe */
.revela { opacity: 0; translate: 0 22px; transition: opacity .7s ease, translate .7s cubic-bezier(.2, .8, .3, 1); }
.revela.vista { opacity: 1; translate: 0 0; }
.sin-js .revela { opacity: 1; translate: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .revela { opacity: 1; translate: none; }
  .capa { transform: none; }
}
