/* /guias — guías de preparación a la venta (18-oct-2026). Mismo mundo que la portada:
   ghost de fondo, tarjetas blancas, páginas reales de la guía como imagen. */
.gu-hero { padding-top: 28px; padding-bottom: 8px; }
.gu-hero h1 { margin-top: 14px; max-width: 18ch; }
.gu-hero .sub { margin-top: 12px; max-width: 58ch; }
.gu-saltos { display: flex; gap: 8px; margin-top: 22px; flex-wrap: wrap; }
.gu-saltos a { padding: 9px 16px; border-radius: 999px; background: var(--white); box-shadow: var(--shadow); font-weight: 600; font-size: .95rem; }

.gu-listo { display: flex; align-items: center; gap: 14px; padding: 14px 16px; margin-bottom: 22px; }
.gu-listo[hidden] { display: none; }
.gu-listo p b { color: var(--midnight); }

.gu-lista { display: flex; flex-direction: column; gap: 20px; padding-top: 28px; padding-bottom: 64px; }
.gu { display: grid; gap: 22px; padding: 20px; scroll-margin-top: 16px; }
.gu-info { display: flex; flex-direction: column; min-width: 0; }
.gu-form { font-size: .85rem; font-weight: 600; color: var(--muted); }
.gu-cab { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 4px; }
.gu-cab h2 { font-size: 1.75rem; }
.gu-precio { font-size: 1.6rem; font-weight: 700; color: var(--royal); letter-spacing: -0.02em; }
.gu .incluye { margin: 16px 0 22px; }
.gu-comprar { width: 100%; }
.gu-comprar[aria-busy="true"] { opacity: .7; pointer-events: none; }

/* Las tres páginas en abanico: portada adelante, dos de adentro asomando. */
.gu-hojas { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3.3; padding: 0; border: 0; border-radius: 16px; background: var(--lavender-soft); cursor: zoom-in; overflow: hidden; }
.gu-hojas img { position: absolute; top: 9%; width: 46%; height: auto; border-radius: 6px; box-shadow: 0 10px 28px rgba(5, 27, 84, 0.16), 0 1px 3px rgba(5, 27, 84, 0.10); transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.gu-hojas img:nth-child(1) { left: 44%; transform: rotate(6deg); }
.gu-hojas img:nth-child(2) { left: 31%; transform: rotate(2deg); }
.gu-hojas img:nth-child(3) { left: 14%; transform: rotate(-4deg); }
.gu-ver { position: absolute; right: 12px; bottom: 12px; padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--royal); font-size: .85rem; font-weight: 600; box-shadow: var(--shadow); }
@media (hover: hover) {
  .gu-hojas:hover img:nth-child(1) { transform: rotate(9deg) translateX(6%); }
  .gu-hojas:hover img:nth-child(3) { transform: rotate(-6deg) translateX(-6%); }
}

.gu-reserva { text-align: center; }
.gu-reserva p { margin-top: 8px; }
.gu-reserva .btn { margin-top: 20px; }

/* Visor: las páginas a tamaño de lectura, se pasan deslizando. */
.gu-visor { width: 100%; max-width: 640px; max-height: 100dvh; margin: auto; padding: 0; border: 0; background: transparent; overflow: visible; }
.gu-visor::backdrop { background: rgba(5, 27, 84, .82); }
.gu-carril { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 56px 16px 12px; scrollbar-width: none; }
.gu-carril::-webkit-scrollbar { display: none; }
.gu-carril img { flex: 0 0 100%; width: 100%; max-height: calc(100dvh - 120px); object-fit: contain; scroll-snap-align: center; border-radius: 8px; background: #FFFFFF; }
.gu-cerrar { position: absolute; top: 8px; right: 12px; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .14); color: #FFFFFF; cursor: pointer; }
.gu-cerrar svg { width: 20px; height: 20px; }
.gu-puntos { display: flex; justify-content: center; gap: 8px; padding-bottom: 12px; }
.gu-puntos i { width: 7px; height: 7px; border-radius: 999px; background: rgba(255, 255, 255, .35); transition: background .2s; }
.gu-puntos i.on { background: #FFFFFF; }

@media (min-width: 900px) {
  .gu-hero { padding-top: 48px; }
  .gu-hero h1 { font-size: 3rem; }
  .gu-lista { gap: 28px; }
  .gu { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; padding: 28px; align-items: center; }
  .gu-comprar { width: auto; align-self: flex-start; }
  .gu-cab h2 { font-size: 2rem; }
}
@media (prefers-reduced-motion: reduce) {
  .gu-hojas img { transition: none; }
}
