/* ══════════════════════════════════════════════
   MIS 15 LULU — Jardín Encantado
   ══════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --rosa:    #c9a0dc;
  --dorado:  #b48ee0;
  --texto:   #f0eaff;
  --acento:  #e8d5ff;
  --glass:   rgba(180,142,224,0.08);
  --glass-b: rgba(200,160,255,0.18);
  --sombra:  rgba(15,5,30,0.5);
}

html, body {
  height: 100%;
  overflow: hidden;
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  color: var(--texto);
  user-select: none;
}

/* ── FONDO JARDÍN ──────────────────────────── */
.bg-garden {
  position: fixed;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  transition: opacity .6s;
  /* Fallback si no hay imagen */
  background-color: #0d0520;
  background-image:
    radial-gradient(ellipse at 15% 80%, rgba(80,30,120,0.9) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 20%, rgba(50,20,90,0.9) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(20,5,45,1) 0%, transparent 80%);
}

.bg-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

/* ── CANVAS MARIPOSAS/PARTÍCULAS ───────────── */
#magic {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

/* ── BOTÓN MÚSICA ──────────────────────────── */
.btn-music {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 100;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(212,175,55,0.5);
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(8px);
  font-size: 1.1rem;
  cursor: pointer;
  transition: transform .3s, background .3s;
}
.btn-music:hover { transform: scale(1.1); background: rgba(212,175,55,0.2); }
.btn-music.muted { opacity: .45; }

/* ── PUNTOS INDICADORES ────────────────────── */
.scene-dots {
  position: fixed;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  gap: 8px;
}
.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  border: 1px solid rgba(212,175,55,0.4);
  transition: background .3s, transform .3s;
}
.dot.active {
  background: var(--dorado);
  transform: scale(1.3);
}

/* ── SLIDES CONTENEDOR ─────────────────────── */
.slides {
  position: fixed;
  inset: 0;
  z-index: 10;
}

.slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 16px 140px;
  opacity: 0;
  pointer-events: none;
  overflow-y: auto;
  will-change: transform, opacity;
}

/* Visible y en reposo */
.slide.active {
  opacity: 1;
  pointer-events: all;
  transform: scale(1);
  z-index: 2;
}

/* Sale — se achica y desvanece */
.slide.zoom-out {
  animation: zoomOut .95s cubic-bezier(.4,0,.2,1) forwards;
  z-index: 3;
  pointer-events: none;
}

/* Entra — crece desde el centro */
.slide.zoom-in {
  animation: zoomIn .95s cubic-bezier(.4,0,.2,1) forwards;
  z-index: 2;
  pointer-events: none;
}

@keyframes zoomOut {
  0%   { opacity: 1; transform: scale(1);    filter: blur(0px); }
  100% { opacity: 0; transform: scale(0.84); filter: blur(6px); }
}

@keyframes zoomIn {
  0%   { opacity: 0; transform: scale(1.16); filter: blur(6px); }
  100% { opacity: 1; transform: scale(1);    filter: blur(0px); }
}

.slide-inner {
  max-width: 480px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding-top: 20px;
  padding-bottom: 20px;
}

/* Escenas con títulos grandes — más espacio vertical */
#scene-1 .slide-inner,
#scene-fin .slide-inner {
  padding-top: 60px;
  padding-bottom: 60px;
  gap: 28px;
}

/* El nombre grande (Great Vibes) necesita line-height generoso */
.hero-apodo,
.fin-name {
  line-height: 1.25;
  overflow: visible;
}

/* Permitir scroll interno si el contenido no cabe en pantalla */
#scene-1,
#scene-fin {
  align-items: flex-start;
  overflow-y: auto;
}

/* ── NAV BOTONES ───────────────────────────── */
.nav-btns {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  gap: 12px;
  padding: 16px 24px 28px;
  background: linear-gradient(0deg, rgba(0,0,0,0.6) 0%, transparent 100%);
}

.nav-btn {
  flex: 1;
  padding: 14px 20px;
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .2s, background .2s, opacity .2s;
}

.btn-volver {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.7);
}
.btn-volver:hover { background: rgba(255,255,255,0.15); }
.btn-volver:disabled { opacity: 0; pointer-events: none; }

.btn-continuar {
  background: linear-gradient(135deg, var(--dorado), #b8960c);
  border: none;
  color: #1a0a00;
  font-weight: 500;
  box-shadow: 0 4px 20px rgba(212,175,55,0.4);
}
.btn-continuar:hover { transform: scale(1.03); }
.btn-continuar:disabled { opacity: 0; pointer-events: none; }

/* ══════════════════════════════════════════════
   ESCENA 1 — PORTADA / LIBRO
   ══════════════════════════════════════════════ */
.texto-portada {
  font-size: .85rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.85);
  text-shadow: 0 1px 8px rgba(0,0,0,0.8);
  font-style: italic;
  max-width: 300px;
}

.book-card {
  position: relative;
  width: 220px;
  padding: 32px 24px;
  background: linear-gradient(160deg, #1a3a0a, #0d2206);
  border: 2px solid var(--dorado);
  border-radius: 8px;
  box-shadow:
    0 0 0 4px rgba(212,175,55,0.15),
    0 20px 60px rgba(0,0,0,0.6),
    inset 0 0 40px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.book-key {
  position: absolute;
  top: -28px;
  left: -20px;
  font-size: 2.2rem;
  filter: drop-shadow(0 2px 8px rgba(212,175,55,0.6));
  animation: swingKey 3s ease-in-out infinite;
  transform-origin: top center;
}

@keyframes swingKey {
  0%, 100% { transform: rotate(-8deg); }
  50%       { transform: rotate(8deg); }
}

.book-ornament-top,
.book-ornament-bot {
  color: var(--dorado);
  font-size: 1.1rem;
  opacity: .7;
}

.book-frame {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  border: 1px solid rgba(212,175,55,0.35);
  padding: 16px 20px;
  border-radius: 4px;
  width: 100%;
}

.book-name {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(1.8rem, 6vw, 2.4rem);
  color: #ffe8a0;
  line-height: 1.3;
  text-shadow:
    0 0 12px rgba(0,0,0,0.9),
    0 2px 8px rgba(0,0,0,0.9),
    0 0 30px rgba(212,175,55,0.4);
}

.book-sub {
  display: none; /* El XV ya viene en la imagen del libro */
}

.btn-abrir {
  padding: 10px 26px;
  border-radius: 50px;
  border: 1px solid #ffe8a0;
  background: rgba(10, 30, 10, 0.55);
  backdrop-filter: blur(4px);
  color: #ffe8a0;
  font-family: 'Montserrat', sans-serif;
  font-size: .75rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .3s, transform .2s;
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
  box-shadow: 0 2px 12px rgba(0,0,0,0.5);
}
.btn-abrir:hover { background: rgba(212,175,55,0.3); transform: scale(1.05); }

/* ── LIBRO con imagen ──────────────────────── */
.book-wrap {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.book-img {
  width: min(260px, 70vw);
  display: block;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.7));
  border-radius: 6px;
}

.book-overlay-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Lulu arriba, botón abajo, espacio del XV en el centro libre */
  justify-content: space-between;
  padding: 22% 12% 20%;
}

.book-key {
  position: absolute;
  top: -24px;
  left: -28px;
  font-size: 2.4rem;
  filter: drop-shadow(0 2px 8px rgba(212,175,55,0.7));
  animation: swingKey 3s ease-in-out infinite;
  transform-origin: top center;
  pointer-events: none;
}

/* Etiqueta invitado */
.tag-invitado {
  background: rgba(255,228,236,0.92);
  color: #5a2a3a;
  border-radius: 12px 12px 12px 0;
  padding: 10px 20px;
  font-size: .82rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  position: relative;
  min-width: 160px;
}
.tag-invitado::before {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  border: 10px solid transparent;
  border-top-color: rgba(255,228,236,0.92);
  border-right: 0;
}
.tag-label {
  display: block;
  font-size: .65rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #a06070;
  margin-bottom: 2px;
}
.tag-name {
  font-family: 'Great Vibes', cursive;
  font-size: 1.4rem;
  color: #5a1a2a;
}

/* ══════════════════════════════════════════════
   ESCENA 2 — HERO FOTO
   ══════════════════════════════════════════════ */
.hero-photo-wrap { position: relative; }

.hero-arch {
  width: 220px;
  height: 300px;
  border-radius: 110px 110px 20px 20px;
  overflow: hidden;
  border: 3px solid var(--dorado);
  box-shadow:
    0 0 0 6px rgba(212,175,55,0.15),
    0 20px 60px rgba(0,0,0,0.5);
  background: rgba(0,0,0,0.3);
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: rgba(255,255,255,0.2);
}

.hero-apodo {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(3rem, 12vw, 4.5rem);
  background: linear-gradient(135deg, var(--dorado), #fff5d6, var(--dorado));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 12px rgba(212,175,55,0.4));
  line-height: 1.4;
  padding: 8px 0;
}

.hero-sub {
  font-size: .7rem;
  letter-spacing: .4em;
  color: var(--dorado);
  text-transform: uppercase;
}

.hero-texto {
  font-size: .88rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.8);
  font-style: italic;
  text-shadow: 0 1px 6px rgba(0,0,0,0.7);
  max-width: 320px;
}

/* ══════════════════════════════════════════════
   ESCENA 3 — CUENTA REGRESIVA
   ══════════════════════════════════════════════ */
.scroll-decor {
  background: rgba(10,30,10,0.55);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(212,175,55,0.3);
  border-radius: 20px;
  padding: 36px 28px;
  width: 100%;
  max-width: 360px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.scroll-top-text {
  font-size: .82rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.75);
  font-style: italic;
  margin-bottom: 20px;
}

.fecha-grande {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(2.2rem, 8vw, 3rem);
  color: var(--dorado);
  margin-bottom: 20px;
  text-shadow: 0 0 20px rgba(212,175,55,0.5);
}

.countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.cd-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(212,175,55,0.2);
  border-radius: 12px;
  padding: 14px 12px;
  min-width: 64px;
}

.cd-item span {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 7vw, 2.8rem);
  font-weight: 600;
  color: var(--dorado);
  line-height: 1;
}

.cd-item label {
  font-size: .58rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-top: 4px;
}

.cd-sep {
  font-size: 2rem;
  color: var(--dorado);
  opacity: .4;
  margin-bottom: 18px;
}

/* ══════════════════════════════════════════════
   ESCENA 4 — PERGAMINO
   ══════════════════════════════════════════════ */
/* ── PERGAMINO con imagen ───────────────────── */
.pergamino-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pergamino-img {
  height: min(78svh, 600px);
  width: auto;
  max-width: 88vw;   /* margen lateral */
  display: block;
  filter: drop-shadow(0 16px 40px rgba(0,0,0,0.7));
}

.pergamino-content {
  position: absolute;
  top: 12%;
  left: 8%;
  right: 8%;
  bottom: 12%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  overflow: hidden;
}

.perg-top, .perg-bot { display: none; }

.perg-intro {
  font-size: .8rem;
  line-height: 1.6;
  color: #1a0500;
  font-style: italic;
  font-weight: 600;
}

.perg-name {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(1.5rem, 5.5vw, 2rem);
  color: #5a0010;
  line-height: 1.2;
  font-weight: 400;
}

.perg-quince {
  font-size: .78rem;
  line-height: 1.5;
  color: #1a0500;
  font-weight: 600;
}

.perg-15 {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(1.4rem, 5vw, 1.8rem);
  color: #3d2000;
  font-weight: 400;
}

.perg-divider {
  width: 70%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #5a3000, transparent);
  margin: 4px 0;
}

.perg-info {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.perg-info p {
  font-size: .74rem;
  color: #1a0500;
  line-height: 1.4;
  font-weight: 600;
}

.btn-mapa {
  display: inline-block;
  padding: 9px 22px;
  border: 1.5px solid #3d1a00;
  border-radius: 50px;
  background: rgba(60, 25, 0, 0.12);
  color: #3d1a00;
  text-decoration: none;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  transition: background .3s, color .3s;
}
.btn-mapa:hover { background: #3d1a00; color: #fff8e8; }

/* ══════════════════════════════════════════════
   ESCENA 5 — ITINERARIO
   ══════════════════════════════════════════════ */
.scene-title {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(2.2rem, 7vw, 3rem);
  color: var(--dorado);
  text-shadow: 0 0 20px rgba(212,175,55,0.5);
  margin-bottom: 8px;
}

.timeline {
  width: 100%;
  max-width: 360px;
  position: relative;
  text-align: left;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--dorado), transparent);
}

.tl-item {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 20px;
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(212,175,55,0.15);
  border-radius: 14px;
  padding: 12px 16px 12px 12px;
}

.tl-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(212,175,55,0.1);
  border: 1px solid rgba(212,175,55,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  position: relative;
  z-index: 1;
}

.tl-body { flex: 1; }
.tl-body strong {
  display: block;
  font-size: .88rem;
  font-weight: 500;
  color: var(--acento);
  margin-bottom: 2px;
}
.tl-body span {
  font-size: .75rem;
  color: var(--dorado);
  letter-spacing: .08em;
}

/* ══════════════════════════════════════════════
   ESCENA 6 — CARRUSEL
   ══════════════════════════════════════════════ */
#scene-5 {
  padding: 0;
  overflow: hidden;
}

.carousel-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.car-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity .55s ease, transform .55s ease;
  pointer-events: none;
}

.car-slide.car-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: all;
}

/* Efecto flash dorado al entrar una foto */
.car-slide.car-active img {
  animation: photoEnter .7s ease forwards;
}

@keyframes photoEnter {
  0%   { filter: brightness(1.6) saturate(0.4); }
  100% { filter: brightness(1)   saturate(1);   }
}

.car-slide.car-exit-left {
  opacity: 0;
  transform: scale(0.94) translateX(-50px);
  transition: opacity .45s ease, transform .45s ease;
}

.car-slide.car-exit-right {
  opacity: 0;
  transform: scale(0.94) translateX(50px);
  transition: opacity .45s ease, transform .45s ease;
}

.car-slide img {
  max-width: 88vw;
  max-height: 74svh;
  object-fit: contain;
  border-radius: 16px;
  border: 2px solid rgba(212,175,55,0.35);
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  display: block;
}

.car-slide.car-placeholder {
  font-size: 4rem;
  opacity: .2;
}

/* Flechas */
.car-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 30;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(212,175,55,0.4);
  color: var(--dorado);
  font-size: 2.4rem;
  width: 46px;
  height: 64px;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, transform .2s;
  line-height: 1;
  padding: 0;
}
.car-arrow:hover  { background: rgba(212,175,55,0.25); transform: translateY(-50%) scale(1.08); }
.car-arrow:disabled { opacity: .15; pointer-events: none; }
.car-prev { left: 8px; }
.car-next { right: 8px; }

/* Contador */
.car-counter {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  font-size: .72rem;
  letter-spacing: .15em;
  color: rgba(255,255,255,0.75);
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(6px);
  padding: 4px 14px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.1);
  white-space: nowrap;
}

/* Puntos */
.car-dots {
  position: absolute;
  bottom: 96px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 20;
}
.car-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  border: 1px solid rgba(212,175,55,0.4);
  transition: background .3s, transform .3s;
  cursor: pointer;
}
.car-dot.active { background: var(--dorado); transform: scale(1.35); }
.car-dot.seen   { background: rgba(212,175,55,0.5); }

/* Aviso */
.car-hint {
  position: absolute;
  bottom: 136px;
  left: 50%;
  transform: translateX(-50%);
  font-size: .72rem;
  color: rgba(255,255,255,0.5);
  white-space: nowrap;
  pointer-events: none;
  transition: opacity .5s;
  font-style: italic;
}
.car-hint.hidden { opacity: 0; }

/* ══════════════════════════════════════════════
   ESCENA ÁLBUM QR
   ══════════════════════════════════════════════ */
.album-card {
  padding: 36px 28px;
  border-radius: 24px;
  width: 100%;
  max-width: 360px;
  border: 1px solid rgba(180,142,224,0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.album-icon { font-size: 2.4rem; }

.album-text {
  font-size: .85rem;
  line-height: 1.8;
  color: rgba(240,234,255,0.75);
  text-align: center;
}

.qr-wrap {
  background: #fff;
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}

.qr-wrap img {
  width: 180px;
  height: 180px;
  display: block;
  border-radius: 8px;
}

/* ══════════════════════════════════════════════
   ESCENA RSVP
   ══════════════════════════════════════════════ */
.rsvp-card {
  padding: 40px 28px;
  border-radius: 24px;
  width: 100%;
  max-width: 360px;
  border: 1px solid rgba(212,175,55,0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.glass {
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(16px);
}

.rsvp-icon { font-size: 2.5rem; }

.rsvp-text {
  font-size: .88rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.7);
  max-width: 280px;
}

.btn-gold {
  display: inline-block;
  padding: 14px 32px;
  border: 1px solid var(--dorado);
  border-radius: 50px;
  color: var(--dorado);
  text-decoration: none;
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: background .3s, color .3s, transform .2s;
}
.btn-gold:hover { background: var(--dorado); color: #1a0a00; transform: scale(1.04); }
.btn-lg { padding: 16px 40px; font-size: .9rem; }

/* ══════════════════════════════════════════════
   ESCENA FINAL
   ══════════════════════════════════════════════ */
.float-rose {
  font-size: 3.5rem;
  animation: float 3s ease-in-out infinite;
}

.fin-name {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(3rem, 11vw, 5rem);
  background: linear-gradient(135deg, var(--dorado), #fff5d6, var(--dorado));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.4;
  padding: 8px 0;
}

.fin-frase {
  font-size: .9rem;
  line-height: 1.9;
  color: rgba(255,255,255,0.75);
  font-style: italic;
  max-width: 300px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.7);
}

.fin-firma {
  font-family: 'Great Vibes', cursive;
  font-size: 1.8rem;
  color: var(--rosa);
  margin-top: 8px;
}

/* ══════════════════════════════════════════════
   CONFETTI
   ══════════════════════════════════════════════ */
.confetti-piece {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  border-radius: 2px;
  animation: confettiFall linear forwards;
}
@keyframes confettiFall {
  0%   { transform: translateY(-60px) rotate(0deg); opacity: 1; }
  100% { transform: translateY(110vh) rotate(720deg); opacity: 0; }
}

/* ══════════════════════════════════════════════
   ANIMACIONES GLOBALES
   ══════════════════════════════════════════════ */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

/* ══════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════ */
@media (max-width: 400px) {
  .cd-item { min-width: 54px; padding: 10px 8px; }
  .cd-item span { font-size: 1.8rem; }
  .hero-arch { width: 180px; height: 248px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 600px) {
  .slide { padding-bottom: 100px; }
  .hero-arch { width: 260px; height: 360px; }
}
