/* ═══════════════════════════════════════════════════════════
   XV AÑOS · MICHELLE  —  style.css
   Paleta: menta pastel · crema · dorado · champagne
   Tema: Ballet, Amor, Magia, Sueños
   ═══════════════════════════════════════════════════════════ */

/* ─── VARIABLES ─── */
:root {
  /* ── Paleta Verde Natural ── */
  --pink-50:  #F1F0D0;
  --pink-100: #DFE9C5;
  --pink-200: #E1E1A8;
  --pink-300: #B7D1A8;
  --pink-400: #99B47C;
  --pink-500: #70975E;
  --pink-600: #387040;

  /* Alias compatibles */
  --mint-50:  #F1F0D0;
  --mint-100: #DFE9C5;
  --mint-200: #E1E1A8;
  --mint-300: #B7D1A8;
  --mint-400: #99B47C;
  --mint-500: #70975E;
  --mint-600: #387040;

  --cream-50:  #F1F0D0;
  --cream-100: #DFE9C5;
  --cream-200: #E1E1A8;

  --gold-light: #C5C882;
  --gold:       #99B47C;
  --gold-dark:  #70975E;

  --text-dark:   #387040;
  --text-medium: #70975E;
  --text-light:  #99B47C;

  --glass-cream: rgba(241,240,208,0.80);
  --glass-mint:  rgba(183,209,168,0.62);
  --glass-white: rgba(255,255,255,0.78);

  --border-mint: 1px solid rgba(112,151,94,0.35);
  --border-gold: 1px solid rgba(153,180,124,0.35);

  --shadow-card: 0 6px 32px rgba(56,112,64,0.12);
  --shadow-soft: 0 4px 20px rgba(56,112,64,0.10);

  --ff-script: 'Great Vibes', cursive;
  --ff-serif:  'Cormorant Garamond', Georgia, serif;
  --ff-sans:   'Raleway', sans-serif;

  --radius-card: 22px;
  --max-w: 900px;
}

/* ─── RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--ff-sans);
  color: var(--text-dark);
  min-height: 100vh;
  overflow-x: hidden;
  background: #fce8f0;
}

img  { display: block; max-width: 100%; height: auto; }
button { cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; }
a { text-decoration: none; color: inherit; }
.hidden { display: none !important; }

/* ─── FONDO FIJO CON IMAGEN ─── */
.fixed-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

/* La imagen de fondo: cubre todo y no se mueve */
.fixed-bg__gradient {
  position: absolute;
  inset: 0;
  background-image: url('../../img/fondo.jpg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  filter: brightness(1.02) saturate(1.02);
}

/* Velo muy suave para dar profundidad sin tapar la imagen */
.fixed-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 240, 248, 0.18);
}

/* Las siluetas SVG antiguas ya no se muestran — la imagen las tiene */
.ballet-decor { display: none; }

/* ─── CONTENIDO PRINCIPAL ─── */
.main-content {
  position: relative;
  z-index: 1;
}

/* ─── REPRODUCTOR FLOTANTE ─── */
.music-player {
  position: fixed;
  bottom: 28px;
  right: 24px;
  z-index: 1000;
}

.music-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink-300), var(--pink-400));
  box-shadow: 0 4px 20px rgba(192, 48, 94, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  color: white;
}

.music-btn:hover {
  transform: scale(1.10);
  box-shadow: 0 6px 28px rgba(192, 48, 94, 0.50);
}
.music-btn:active { transform: scale(0.96); }

.music-icon {
  width: 26px;
  height: 26px;
  color: white;
  position: relative;
  z-index: 1;
}

.music-ripple {
  position: absolute;
  inset: -100%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.28) 0%, transparent 70%);
  animation: none;
}

.music-player.playing .music-ripple {
  animation: musicRipple 2s ease-out infinite;
}

@keyframes musicRipple {
  0%   { transform: scale(0); opacity: 1; }
  100% { transform: scale(2.5); opacity: 0; }
}

.music-player.playing .music-btn {
  animation: musicPulse 2s ease-in-out infinite;
}

@keyframes musicPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(192,48,94,0.35); }
  50%       { box-shadow: 0 4px 32px rgba(192,48,94,0.55), 0 0 0 8px rgba(192,48,94,0.12); }
}

/* ─── HERO / ENCABEZADO ─── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  /* El fondo fijo (fondo.jpg) se ve a través de esta sección */
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: clamp(40px, 8vh, 80px) 24px clamp(40px, 8vh, 80px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(6px, 1.2vh, 14px);
}

.hero__pre {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: clamp(1.3rem, 4vw, 2rem);
  color: var(--pink-500);
  letter-spacing: 0.08em;
  font-weight: 300;
  text-shadow: 0 1px 8px rgba(255,255,255,0.70);
}

.hero__divider-top,
.hero__divider-bot {
  width: clamp(140px, 45vw, 280px);
  color: var(--pink-300);
  opacity: 0.85;
}
.hero__divider-top svg,
.hero__divider-bot svg { width: 100%; }

/* ── Foto oval ── */
.hero__oval-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: clamp(4px, 1vh, 10px) 0;
  /* Espacio para los anillos externos */
  padding: 18px;
}

/* Anillos concéntricos decorativos */
.hero__oval-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid var(--pink-300);
  pointer-events: none;
}

.hero__oval-ring--1 {
  inset: 6px;
  opacity: 0.35;
  animation: ringPulse 3s ease-in-out infinite;
}

.hero__oval-ring--2 {
  inset: 0;
  opacity: 0.18;
  animation: ringPulse 3s ease-in-out infinite 0.5s;
}

@keyframes ringPulse {
  0%, 100% { transform: scale(1);    opacity: 0.35; }
  50%       { transform: scale(1.04); opacity: 0.20; }
}

/* Contenedor oval real */
.hero__oval {
  width:  clamp(150px, 30vw, 240px);
  height: clamp(190px, 38vw, 300px);
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid white;
  box-shadow:
    0 0 0 3px rgba(232,114,154,0.30),
    0 8px 40px rgba(192,48,94,0.22),
    0 2px 12px rgba(255,255,255,0.80) inset;
  background: var(--pink-100);
  flex-shrink: 0;
  animation: fadeInDown 1s ease 0.2s both;
  position: relative;
  z-index: 1;
}

.hero__oval-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Estrellas flotantes alrededor del oval */
.hero__star {
  position: absolute;
  color: var(--pink-400);
  font-size: 0.75rem;
  pointer-events: none;
  animation: starFloat 4s ease-in-out infinite;
  text-shadow: 0 1px 4px rgba(192,48,94,0.20);
}

.s1 { top: 10%;  left:  8%;  animation-delay: 0s;    font-size: 0.70rem; }
.s2 { top: 10%;  right: 8%;  animation-delay: 0.8s;  font-size: 0.70rem; }
.s3 { bottom: 14%; left: 14%; animation-delay: 1.4s;  font-size: 0.55rem; }
.s4 { bottom: 14%; right:14%; animation-delay: 2.0s;  font-size: 0.55rem; }

@keyframes starFloat {
  0%, 100% { transform: translateY(0)    opacity: 0.7; }
  50%       { transform: translateY(-8px); opacity: 1;   }
}

.hero__name {
  font-family: var(--ff-script);
  font-size: clamp(3.8rem, 15vw, 8rem);
  color: var(--text-dark);
  line-height: 1;
  letter-spacing: 0.02em;
  text-shadow:
    0 2px 16px rgba(255,255,255,0.70),
    0 1px 4px rgba(160,48,80,0.12);
  animation: fadeInUp 1s ease 0.4s both;
  margin-top: -4px;
}

.hero__xv {
  display: flex;
  align-items: baseline;
  gap: 8px;
  animation: fadeInUp 1.2s ease 0.5s both;
}

.hero__xv-text {
  font-family: var(--ff-serif);
  font-size: clamp(2rem, 7vw, 4rem);
  font-weight: 600;
  color: var(--pink-400);
  letter-spacing: 0.10em;
  text-shadow: 0 2px 12px rgba(255,255,255,0.60);
}

.hero__xv-años {
  font-family: var(--ff-serif);
  font-size: clamp(1rem, 3vw, 1.8rem);
  font-style: italic;
  font-weight: 400;
  color: var(--pink-500);
  letter-spacing: 0.10em;
  text-shadow: 0 2px 12px rgba(255,255,255,0.60);
}

.hero__date {
  font-family: var(--ff-sans);
  font-size: clamp(1.2rem, 4vw, 2rem);
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-medium);
  text-shadow: 0 1px 8px rgba(255,255,255,0.65);
  animation: fadeIn 1.5s ease 0.8s both;
}

/* ─── SECCIONES / CARDS ─── */
.card-section {
  padding: 60px 16px;
}

.card-section__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  background: var(--glass-cream);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-card);
  border: var(--border-mint);
  padding: clamp(28px, 6vw, 56px);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
  /* Empieza invisible; el JS añade .visible tras cerrar el splash */
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

/* Estado visible: el JS lo añade inmediatamente para las cards en viewport
   y con scroll para las que están debajo */
.card-section__inner.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Detalle decorativo en esquina */
.card-section__inner::before {
  content: '';
  position: absolute;
  top: -30px; right: -30px;
  width: 100px; height: 100px;
  background: radial-gradient(circle, rgba(232,114,154,0.14) 0%, transparent 70%);
  pointer-events: none;
}

/* Línea dorada superior en cada card */
.card-section__inner::after {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--pink-200), var(--pink-300), var(--pink-200), transparent);
  opacity: 0.55;
  border-radius: 2px;
}

.section-title {
  font-family: var(--ff-script);
  font-size: clamp(2rem, 6vw, 3.2rem);
  color: var(--pink-500);
  text-align: center;
  margin-bottom: 24px;
  line-height: 1.2;
}

/* ─── ORNAMENTOS ─── */
.ornament {
  text-align: center;
  color: var(--pink-300);
  font-size: 0.75rem;
  letter-spacing: 0.5em;
  opacity: 0.75;
}
.ornament--top { margin-bottom: 24px; }
.ornament--bot { margin-top: 24px; }

/* ─── MENSAJE ─── */
.message__text {
  font-family: var(--ff-serif);
  font-size: clamp(1.05rem, 2.8vw, 1.35rem);
  font-weight: 300;
  line-height: 1.9;
  text-align: center;
  color: #795a24;
  max-width: 680px;
  margin: 0 auto;
}
.message__text em {
  font-style: italic;
  color: var(--pink-500);
}

/* ─── CUENTA REGRESIVA ─── */
.countdown .card-section__inner {
  background: rgba(252, 216, 232, 0.72);
}

.countdown__grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(6px, 2vw, 18px);
  flex-wrap: wrap;
  margin: 10px 0 16px;
}

.countdown__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

/* ── Pétalo de rosa ── */
.countdown__num {
  font-family: var(--ff-serif);
  font-size: clamp(2.2rem, 7vw, 4.4rem);
  font-weight: 300;
  color: var(--pink-500);
  line-height: 1;
  letter-spacing: -0.01em;

  /* Tamaño del pétalo */
  width:  clamp(76px, 17vw, 112px);
  height: clamp(86px, 19vw, 126px);

  display: flex;
  align-items: center;
  justify-content: center;

  /* Forma de pétalo: asimétrica, orgánica */
  border-radius: 58% 42% 52% 48% / 62% 44% 56% 38%;

  background: linear-gradient(
    148deg,
    rgba(255, 248, 251, 0.96) 0%,
    rgba(255, 232, 242, 0.92) 55%,
    rgba(252, 215, 232, 0.88) 100%
  );

  border: 1.5px solid rgba(232, 140, 170, 0.35);

  box-shadow:
    /* Sombra suave exterior */
    0 6px 24px rgba(192, 48, 94, 0.14),
    /* Brillo interior superior izquierda */
    inset 2px 3px 10px rgba(255, 255, 255, 0.75),
    /* Tono suave inferior */
    inset -2px -3px 10px rgba(232, 114, 154, 0.12);

  text-align: center;
  position: relative;
  overflow: hidden;

  /* Pequeña animación de latido al cargar */
  animation: petalAppear 0.8s ease both;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Destello interior del pétalo */
.countdown__num::before {
  content: '';
  position: absolute;
  top: 8%;
  left: 12%;
  width: 40%;
  height: 35%;
  background: radial-gradient(
    ellipse at 40% 35%,
    rgba(255, 255, 255, 0.70) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
}

/* Hover: el pétalo se eleva ligeramente */
.countdown__num:hover {
  transform: translateY(-3px) rotate(1deg);
  box-shadow:
    0 10px 32px rgba(192, 48, 94, 0.20),
    inset 2px 3px 10px rgba(255, 255, 255, 0.80),
    inset -2px -3px 10px rgba(232, 114, 154, 0.15);
}

/* Animación de entrada escalonada por ítem */
.countdown__item:nth-child(1) .countdown__num { animation-delay: 0.0s; border-radius: 58% 42% 52% 48% / 62% 44% 56% 38%; }
.countdown__item:nth-child(3) .countdown__num { animation-delay: 0.1s; border-radius: 46% 54% 60% 40% / 52% 60% 40% 48%; }
.countdown__item:nth-child(5) .countdown__num { animation-delay: 0.2s; border-radius: 54% 46% 44% 56% / 58% 42% 62% 42%; }
.countdown__item:nth-child(7) .countdown__num { animation-delay: 0.3s; border-radius: 42% 58% 56% 44% / 46% 56% 44% 54%; }

@keyframes petalAppear {
  from { opacity: 0; transform: scale(0.80) rotate(-4deg); }
  to   { opacity: 1; transform: scale(1)    rotate(0deg);  }
}

/* Flash desactivado — solo actualiza el número sin animación */
.countdown__num.flash { /* sin parpadeo */ }

.countdown__label {
  font-family: var(--ff-sans);
  font-size: clamp(0.60rem, 1.4vw, 0.75rem);
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-top: 10px;
}

.countdown__sep {
  font-family: var(--ff-serif);
  font-size: clamp(1.6rem, 4.5vw, 3rem);
  color: var(--pink-200);
  line-height: 1;
  padding-top: 10px;
  font-weight: 300;
  align-self: flex-start;
  /* La separación también tiene forma suave */
  text-shadow: 0 2px 6px rgba(232,114,154,0.25);
}

.countdown__date-label {
  text-align: center;
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: clamp(0.9rem, 2.2vw, 1.1rem);
  color: var(--text-light);
  margin-top: 4px;
}

/* ─── CARRUSEL ─── */
.carousel {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  touch-action: pan-y;
}

/* Pista que contiene todos los slides en fila */
.carousel__track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.45, 0, 0.20, 1);
  will-change: transform;
}

/* Cada slide ocupa el 100% del contenedor y muestra 2 fotos */
.carousel__slide {
  display: flex;
  gap: 10px;
  min-width: 100%;
  padding: 2px;
}

.carousel__img-wrap {
  flex: 1;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--pink-100);
  position: relative;
  border: 1px solid rgba(232,140,170,0.25);
  box-shadow: 0 4px 18px rgba(192,48,94,0.10);
}

.carousel__img-wrap::before {
  content: '✿';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--pink-200);
  z-index: 0;
}

.carousel__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 1;
  transition: transform 0.4s ease;
}

.carousel__img-wrap:hover img { transform: scale(1.04); }

/* ── Botones prev / next ── */
.carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(232,140,170,0.50);
  background: rgba(255,240,248,0.88);
  backdrop-filter: blur(8px);
  color: var(--pink-500);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(192,48,94,0.15);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  line-height: 1;
}

.carousel__btn--prev { left: 8px; }
.carousel__btn--next { right: 8px; }

.carousel__btn:hover {
  background: rgba(252,220,235,0.96);
  transform: translateY(-50%) scale(1.10);
  box-shadow: 0 5px 18px rgba(192,48,94,0.22);
}

/* ── Puntos indicadores ── */
.carousel__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--pink-200);
  cursor: pointer;
  padding: 0;
  transition: background 0.25s, transform 0.25s, width 0.25s;
}

.carousel__dot.active {
  background: var(--pink-400);
  width: 22px;
  border-radius: 4px;
  transform: none;
}

/* ─── CÓDIGO DE VESTIR ─── */
.dresscode__inner { text-align: center; }

.dresscode__decor {
  position: absolute;
  top: -20px; left: -20px;
  width: 100px;
  pointer-events: none;
  color: var(--pink-300);
}

.dresscode__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(252,220,235,0.72), rgba(255,240,248,0.72));
  border: 1px solid rgba(212,142,168,0.40);
  border-radius: 40px;
  padding: 10px 28px;
  font-family: var(--ff-serif);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--text-dark);
  margin-bottom: 24px;
  letter-spacing: 0.04em;
}

/* ── Figuras de vestimenta ── */
.dresscode__figures {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(14px, 4vw, 36px);
  margin: 0 auto 28px;
  width: 100%;
}

.dresscode__figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex: 1;
  max-width: 180px;
}

/* Marco suave de la figura */
.dresscode__figure-img-wrap {
  position: relative;
  width: clamp(90px, 22vw, 150px);
  aspect-ratio: 1 / 2.2;
  border-radius: 60px 60px 40px 40px;
  overflow: hidden;
  background: linear-gradient(175deg, rgba(252,220,235,0.60), rgba(255,240,248,0.80));
  border: 2px solid rgba(232,140,170,0.30);
  box-shadow:
    0 6px 28px rgba(192,48,94,0.12),
    inset 0 2px 8px rgba(255,255,255,0.60);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dresscode__figure-img-wrap:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 36px rgba(192,48,94,0.18), inset 0 2px 8px rgba(255,255,255,0.70);
}

.dresscode__figure-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  mix-blend-mode: multiply;  /* funde el fondo blanco de las imágenes */
}

.dresscode__figure-label {
  font-family: var(--ff-script);
  font-size: clamp(1.3rem, 3.5vw, 1.8rem);
  color: var(--pink-500);
  line-height: 1;
}

.dresscode__figure-desc {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: clamp(0.78rem, 1.8vw, 0.90rem);
  color: var(--text-light);
  text-align: center;
  line-height: 1.4;
}

/* Separador decorativo entre figuras */
.dresscode__figures-sep {
  width: 20px;
  height: clamp(60px, 16vw, 100px);
  color: var(--pink-200);
  flex-shrink: 0;
  align-self: center;
  margin-bottom: 50px;
}
.dresscode__figures-sep svg { width: 100%; height: 100%; }

.dresscode__note {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: clamp(0.9rem, 2.2vw, 1.05rem);
  color: #795a24;
  line-height: 1.7;
  margin-bottom: 12px;
}
.dresscode__note--color { font-style: normal; font-size: 1rem; color: #795a24; }

.dresscode__swatches {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.dresscode__swatches span {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.85);
  box-shadow: 0 2px 8px rgba(160,48,80,0.14);
  transition: transform 0.2s;
}
.dresscode__swatches span:hover { transform: scale(1.18); }

/* ─── VENUES ─── */
.venue .card-section__inner {
  background: rgba(255, 240, 248, 0.76);
}

.venue__card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.venue__img-wrap {
  position: relative;
  flex: 0 0 clamp(120px, 35%, 200px);
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--pink-100);
  border: var(--border-mint);
}

.venue__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  position: relative;
  z-index: 1;
}
.venue__img-wrap:hover .venue__img { transform: scale(1.05); }

.venue__img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(180,48,90,0.38) 100%);
  display: flex;
  align-items: flex-end;
  padding: 10px;
  z-index: 2;
}

.venue__icon {
  width: 28px;
  height: 28px;
  color: white;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.venue__img-wrap::before {
  content: '⛪';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  z-index: 0;
}
#recepcion .venue__img-wrap::before { content: '🏛️'; }

.venue__info {
  flex: 1;
  padding-top: 4px;
}

.venue__name {
  font-family: var(--ff-script);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  color: var(--pink-500);
  margin-bottom: 8px;
}

.venue__address {
  font-family: var(--ff-serif);
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  color: var(--text-medium);
  line-height: 1.6;
  margin-bottom: 10px;
}

.venue__time {
  font-family: var(--ff-sans);
  font-size: clamp(0.85rem, 1.8vw, 0.95rem);
  color: var(--text-light);
}
.venue__time strong { color: var(--pink-500); }

.venue__map {
  border-radius: 16px;
  overflow: hidden;
  border: var(--border-mint);
  box-shadow: var(--shadow-soft);
  position: relative;
}

/* Iframe del mapa */
.venue__map iframe {
  display: block;
  width: 100%;
  height: 240px;
  border: none;
  border-radius: 16px;
}

/* Tarjeta de mapa personalizada (cuando no hay iframe) */
.venue__map-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 28px 20px 24px;
  background: linear-gradient(
    145deg,
    rgba(255,235,245,0.90) 0%,
    rgba(252,215,232,0.85) 50%,
    rgba(255,240,248,0.90) 100%
  );
  border-radius: 16px;
  text-align: center;
  min-height: 180px;
  position: relative;
  overflow: hidden;
}

/* Patrón de cuadrícula estilo mapa */
.venue__map-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(232,114,154,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232,114,154,0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  border-radius: inherit;
}

/* Círculos decorativos estilo mapa */
.venue__map-card::after {
  content: '';
  position: absolute;
  width: 80px; height: 80px;
  border-radius: 50%;
  border: 2px solid rgba(192,48,94,0.12);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  box-shadow:
    0 0 0 20px rgba(192,48,94,0.06),
    0 0 0 40px rgba(192,48,94,0.04);
}

.venue__map-pin {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.venue__map-pin svg {
  width: 48px;
  height: 48px;
  color: var(--pink-500);
  filter: drop-shadow(0 4px 10px rgba(192,48,94,0.30));
  animation: pinBounce 2.5s ease-in-out infinite;
}

@keyframes pinBounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}

.venue__map-address {
  position: relative;
  z-index: 1;
  font-family: var(--ff-serif);
  font-size: clamp(0.88rem, 2vw, 1rem);
  color: var(--text-medium);
  line-height: 1.5;
}

.venue__map-btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 22px;
  border-radius: 40px;
  border: 1.5px solid var(--pink-300);
  background: white;
  color: var(--pink-500);
  font-family: var(--ff-sans);
  font-size: 0.82rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 3px 12px rgba(192,48,94,0.14);
}

.venue__map-btn svg { width: 15px; height: 15px; flex-shrink: 0; }

.venue__map-btn:hover {
  background: var(--pink-100);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(192,48,94,0.22);
}

/* ─── MESA DE REGALOS ─── */
.gifts .card-section__inner { text-align: center; }

.gifts__subtitle {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: clamp(0.95rem, 2.2vw, 1.1rem);
  color: var(--text-light);
  margin-bottom: 16px;
}

.gifts__store {
  margin-bottom: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.gifts__store-logo {
  width: clamp(100px, 28%, 180px);
  height: auto;
  display: block;
  object-fit: contain;
  /* Elimina el fondo blanco si la imagen lo tiene */
  mix-blend-mode: multiply;
}

.gifts__event-box {
  background: rgba(252,218,232,0.65);
  border: var(--border-gold);
  border-radius: 18px;
  padding: 24px 20px;
  display: inline-block;
  min-width: 260px;
  margin-bottom: 16px;
}

.gifts__event-label {
  font-family: var(--ff-sans);
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 10px;
}

.gifts__event-num {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

#giftNumText {
  font-family: var(--ff-serif);
  font-size: clamp(2rem, 6vw, 3.2rem);
  font-weight: 300;
  color: var(--text-dark);
  letter-spacing: 0.12em;
}

.gifts__copy-btn {
  color: var(--pink-400);
  padding: 6px;
  border-radius: 8px;
  transition: background 0.2s, transform 0.2s;
  display: flex;
  align-items: center;
}
.gifts__copy-btn svg { width: 20px; height: 20px; }
.gifts__copy-btn:hover { background: var(--pink-100); transform: scale(1.1); }

.gifts__copied {
  color: var(--pink-500);
  font-size: 0.85rem;
  font-family: var(--ff-sans);
  font-weight: 300;
  letter-spacing: 0.08em;
  height: 20px;
  transition: opacity 0.3s;
  opacity: 0;
  margin-top: 6px;
}
.gifts__copied.visible { opacity: 1; }

.gifts__note {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: clamp(0.88rem, 2vw, 1rem);
  color: var(--text-light);
  line-height: 1.6;
  max-width: 460px;
  margin: 0 auto;
}

/* ─── RSVP ─── */
.rsvp .card-section__inner {
  background: rgba(255, 238, 246, 0.76);
}

.rsvp__subtitle {
  text-align: center;
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: clamp(0.9rem, 2.2vw, 1.05rem);
  color: var(--text-light);
  margin-bottom: 28px;
}
.rsvp__subtitle strong { color: var(--pink-500); font-style: normal; }

.rsvp__form {
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.rsvp__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rsvp__field label {
  font-family: var(--ff-sans);
  font-size: 0.8rem;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-medium);
}

.rsvp__field input,
.rsvp__field select,
.rsvp__field textarea {
  padding: 12px 16px;
  border: 1px solid rgba(232,140,170,0.45);
  border-radius: 12px;
  background: rgba(255,255,255,0.82);
  font-family: var(--ff-serif);
  font-size: 1rem;
  color: var(--text-dark);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  width: 100%;
}

.rsvp__field textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.7;
}

.rsvp__field input:focus,
.rsvp__field select:focus,
.rsvp__field textarea:focus {
  border-color: var(--pink-300);
  box-shadow: 0 0 0 3px rgba(232,140,170,0.22);
}

/* Hint pequeño junto al label */
.rsvp__field-hint {
  display: block;
  font-family: var(--ff-sans);
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--text-light);
  font-style: normal;
  margin-top: 2px;
}

/* Campo de nombres: animación de entrada */
.rsvp__guests-names {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.45s ease, opacity 0.35s ease, margin 0.35s ease;
  margin-top: 0;
}

.rsvp__guests-names.visible-field {
  max-height: 220px;
  opacity: 1;
  margin-top: 0;
}

.rsvp__radio-group {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.rsvp__radio {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-family: var(--ff-serif);
  font-size: 1rem;
  color: var(--text-medium);
  padding: 10px 18px;
  border-radius: 30px;
  border: 1px solid rgba(232,140,170,0.40);
  background: rgba(255,255,255,0.72);
  transition: background 0.2s, border-color 0.2s;
}
.rsvp__radio:has(input:checked) {
  background: var(--pink-100);
  border-color: var(--pink-300);
  color: var(--pink-500);
}

.rsvp__radio input[type="radio"] {
  accent-color: var(--pink-400);
  width: 16px;
  height: 16px;
  padding: 0;
  background: none;
  border: none;
}

.rsvp__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 36px;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--pink-300), var(--pink-400));
  color: white;
  font-family: var(--ff-sans);
  font-size: 0.95rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  box-shadow: 0 4px 18px rgba(192,48,94,0.30);
  transition: transform 0.2s, box-shadow 0.2s;
  align-self: center;
  margin-top: 6px;
  min-width: 180px;
}
.rsvp__submit svg { width: 20px; height: 20px; }
.rsvp__submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(192,48,94,0.45);
}
.rsvp__submit:active { transform: translateY(0); }

.rsvp__thanks {
  text-align: center;
  padding: 32px 16px;
  animation: fadeInUp 0.6s ease both;
}
.rsvp__thanks-icon { font-size: 3.5rem; margin-bottom: 16px; }
.rsvp__thanks h3 {
  font-family: var(--ff-script);
  font-size: clamp(2rem, 6vw, 3rem);
  color: var(--pink-500);
  margin-bottom: 10px;
}
.rsvp__thanks p {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: clamp(0.95rem, 2.2vw, 1.15rem);
  color: var(--text-medium);
  line-height: 1.7;
}

/* ─── FOOTER ─── */
.footer {
  position: relative;
  text-align: center;
  padding: 50px 20px 44px;
  overflow: hidden;
}

.footer__ballet {
  width: min(100%, 360px);
  margin: 0 auto 16px;
  color: var(--pink-300);
}

.footer__name {
  font-family: var(--ff-script);
  font-size: clamp(2.8rem, 8vw, 4.5rem);
  color: var(--pink-500);
  text-shadow: 0 2px 14px rgba(192,48,94,0.18);
}

.footer__xv {
  font-family: var(--ff-serif);
  font-size: clamp(0.85rem, 2vw, 1rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #7a7228;
  margin: 4px 0 10px;
}

.footer__heart {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--pink-300);
}

/* ─── ANIMACIONES ─── */
@keyframes fadeIn      { from { opacity: 0; }              to { opacity: 1; } }
@keyframes fadeInDown  { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInUp    { from { opacity: 0; transform: translateY(20px); }  to { opacity: 1; transform: translateY(0); } }

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */

@media (max-width: 768px) {
  .card-section { padding: 40px 12px; }
  .card-section__inner { padding: 28px 20px; }

  .gallery__grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .gallery__item--tall  { grid-row: span 1; aspect-ratio: 1; }
  .gallery__item--wide  { grid-column: span 1; aspect-ratio: 1; }

  .venue__card { flex-direction: column; gap: 14px; }
  .venue__img-wrap { flex: none; width: 100%; aspect-ratio: 16/9; }

  .countdown__sep { padding-top: 10px; font-size: clamp(1.4rem,4vw,2.5rem); }
  .music-player { bottom: 20px; right: 16px; }
}

@media (max-width: 480px) {
  .card-section { padding: 30px 10px; }
  .card-section__inner { padding: 24px 16px; border-radius: 16px; }

  .hero__pre { font-size: 1.2rem; }
  .hero__name { font-size: clamp(3.2rem, 18vw, 4.5rem); }
  .hero__xv-text { font-size: clamp(2rem, 10vw, 3rem); }

  .countdown__grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    grid-template-rows: auto auto;
    gap: 6px 4px;
    row-gap: 10px;
    align-items: center;
  }
  .countdown__sep { padding-top: 12px; }
  .countdown__grid .countdown__item:nth-child(1) { grid-column: 1; grid-row: 1; }
  .countdown__grid .countdown__sep:nth-child(2)  { grid-column: 2; grid-row: 1; }
  .countdown__grid .countdown__item:nth-child(3) { grid-column: 3; grid-row: 1; }
  .countdown__grid .countdown__sep:nth-child(4)  { display: none; }
  .countdown__grid .countdown__item:nth-child(5) { grid-column: 1; grid-row: 2; }
  .countdown__grid .countdown__sep:nth-child(6)  { grid-column: 2; grid-row: 2; }
  .countdown__grid .countdown__item:nth-child(7) { grid-column: 3; grid-row: 2; }

  .gallery__grid { grid-template-columns: 1fr; }
  .gallery__item--wide { aspect-ratio: 4/3; }

  .rsvp__radio-group { flex-direction: column; }
  .venue__map iframe { height: 200px; }
  .gifts__event-box { min-width: 0; width: 100%; }
  .music-btn { width: 50px; height: 50px; }
}

@media (min-width: 1100px) {
  .gallery__grid { gap: 16px; }
  .venue__map iframe { height: 320px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .card-section__inner { opacity: 1; transform: none; }
}

/* ═══════════════════════════════════════════════════════════
   SPLASH / PANTALLA DE INTRODUCCIÓN
   ═══════════════════════════════════════════════════════════ */

.splash {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  height: 100dvh;
  transition: opacity 0.65s ease;
}

/* Ocultar después de la transición */
.splash.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* ── Fondo degradado paleta verde/crema ── */
.splash__bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(56, 112, 64, 0.10) 1px, transparent 1px),
    radial-gradient(ellipse 90% 70% at 15% 10%, rgba(112, 151, 94, 0.50) 0%, transparent 55%),
    radial-gradient(ellipse 75% 60% at 88% 85%, rgba(153, 180, 124, 0.45) 0%, transparent 55%),
    linear-gradient(165deg, #DFE9C5 0%, #F1F0D0 35%, #E1E1A8 65%, #F1F0D0 100%);
  background-size: 22px 22px, 100% 100%, 100% 100%, 100% 100%;
}

/* ── Partículas flotantes ── */
.splash__particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.sp {
  position: absolute;
  color: #70975E; /* Verde oliva / Hojas medias */
  font-size: 0.7rem;
  animation: spFloat 6s ease-in-out infinite;
  opacity: 0;
}

.sp1  { top: 8%;  left: 12%;  animation-delay: 0.0s; animation-duration: 5.5s; }
.sp2  { top: 14%; right: 14%; animation-delay: 0.8s; animation-duration: 6.2s; }
.sp3  { top: 30%; left: 6%;   animation-delay: 1.5s; animation-duration: 7.0s; font-size: 0.5rem; }
.sp4  { top: 22%; right: 8%;  animation-delay: 2.0s; animation-duration: 5.8s; }
.sp5  { top: 70%; left: 10%;  animation-delay: 0.5s; animation-duration: 6.5s; font-size: 0.5rem; }
.sp6  { top: 78%; right: 12%; animation-delay: 1.2s; animation-duration: 5.3s; }
.sp7  { top: 60%; left: 4%;   animation-delay: 2.5s; animation-duration: 6.8s; font-size: 0.4rem; }
.sp8  { top: 88%; right: 18%; animation-delay: 0.3s; animation-duration: 7.2s; }

@keyframes spFloat {
  0%   { opacity: 0; transform: translateY(0)   scale(0.8); }
  20%  { opacity: 0.8; }
  50%  { opacity: 0.6; transform: translateY(-18px) scale(1.1); }
  80%  { opacity: 0.7; }
  100% { opacity: 0; transform: translateY(-36px) scale(0.9); }
}

/* ── Contenedor central ── */
.splash__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0 20px;
  width: min(100%, 440px);
  height: 100%;
  max-height: 100dvh;
  animation: splashContentIn 1s ease both;
}

@keyframes splashContentIn {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Texto superior ── */
.splash__pre {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: clamp(0.78rem, 2.5vw, 1rem);
  color: #387040; /* Verde oscuro / Follaje profundo */
  letter-spacing: 0.10em;
  text-align: center;
  margin-bottom: clamp(6px, 1.5vh, 14px);
  animation: fadeIn 1.4s ease 0.3s both;
}

/* ── Marco / imagen ── */
.splash__frame-wrap {
  position: relative;
  width: min(46vw, min(38vh, 210px));
  margin: 0 auto;
  flex-shrink: 0;
  animation: splashImgIn 1.2s cubic-bezier(0.23,1,0.32,1) 0.2s both;
}

@keyframes splashImgIn {
  from { opacity: 0; transform: scale(0.85) translateY(10px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.splash__img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
  filter:
    drop-shadow(0 0  18px rgba(56, 112, 64, 0.35))
    drop-shadow(0 16px 40px rgba(56, 112, 64, 0.20))
    drop-shadow(0  4px 12px rgba(112, 151, 94, 0.28));
  image-rendering: crisp-edges;
}

/* Halo de luz verde suave detrás de la imagen */
.splash__glow {
  position: absolute;
  inset: -8%;
  background:
    radial-gradient(ellipse 70% 75% at 50% 56%, rgba(153, 180, 124, 0.38) 0%, transparent 65%),
    radial-gradient(ellipse 90% 90% at 50% 56%, rgba(183, 209, 168, 0.30) 0%, transparent 80%);
  z-index: -1;
  animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.04); }
}

/* ── Nombre y XV ── */
.splash__name-wrap {
  text-align: center;
  margin-top: clamp(4px, 1vh, 10px);
  animation: fadeInUp 1s ease 0.6s both;
}

.splash__name {
  font-family: var(--ff-script);
  font-size: clamp(2.6rem, 9vw, 5rem);
  color: #387040; /* Verde oscuro / Follaje profundo */
  line-height: 1;
  text-shadow: 0 2px 16px rgba(56, 112, 64, 0.18);
}

.splash__xv {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin-top: -4px;
}

.splash__xv-roman {
  font-family: var(--ff-serif);
  font-size: clamp(1.3rem, 5vw, 2rem);
  font-weight: 300;
  color: #70975E; /* Verde oliva / Hojas medias */
  letter-spacing: 0.1em;
}

.splash__xv-text {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: clamp(0.80rem, 2.8vw, 1.1rem);
  font-weight: 300;
  color: #70975E; /* Verde oliva / Hojas medias */
  letter-spacing: 0.08em;
}

.splash__date {
  font-family: var(--ff-sans);
  font-size: clamp(0.62rem, 1.5vw, 0.78rem);
  font-weight: 300;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #99B47C; /* Verde agua suave / Sombra de acuarela */
  margin-top: clamp(2px, 0.6vh, 6px);
}

/* ── Botón "Ver Invitación" ── */
.splash__btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: clamp(10px, 2vh, 20px);
  padding: clamp(10px, 1.8vh, 15px) clamp(28px, 6vw, 42px);
  border-radius: 60px;
  border: 1.5px solid rgba(112, 151, 94, 0.55);
  background: linear-gradient(
    135deg,
    rgba(183, 209, 168, 0.88) 0%,
    rgba(153, 180, 124, 0.88) 100%
  );
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #387040; /* Verde oscuro / Follaje profundo */
  cursor: pointer;
  overflow: hidden;
  box-shadow:
    0 4px 22px rgba(56, 112, 64, 0.18),
    0 1px 0 rgba(241, 240, 208, 0.85) inset,
    0 0 0 3px rgba(153, 180, 124, 0.14);
  animation: fadeInUp 1s ease 0.9s both;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.splash__btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow:
    0 8px 32px rgba(56, 112, 64, 0.28),
    0 1px 0 rgba(241, 240, 208, 0.90) inset,
    0 0 0 4px rgba(153, 180, 124, 0.20);
  background: linear-gradient(
    135deg,
    rgba(153, 180, 124, 0.94) 0%,
    rgba(112, 151, 94, 0.94) 100%
  );
}

.splash__btn:active {
  transform: translateY(-1px) scale(0.99);
}

.splash__btn-text {
  font-family: var(--ff-serif);
  font-size: clamp(1rem, 3vw, 1.2rem);
  font-weight: 300;
  letter-spacing: 0.12em;
  position: relative;
  z-index: 1;
}

.splash__btn-icon {
  width: 20px;
  height: 20px;
  position: relative;
  z-index: 1;
  animation: btnArrowBounce 2s ease-in-out infinite;
}

@keyframes btnArrowBounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(4px); }
}

/* Onda al hacer click */
.splash__btn-ripple {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at center, rgba(112, 151, 94, 0.35) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.splash__btn:active .splash__btn-ripple {
  opacity: 1;
}

/* Línea decorativa en el botón */
.splash__btn::before {
  content: '';
  position: absolute;
  top: 0; left: 20%; right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(153, 180, 124, 0.55), transparent);
  border-radius: 1px;
}

/* ── Hint de deslizar ── */
.splash__hint {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: clamp(0.68rem, 1.6vw, 0.78rem);
  color: #99B47C; /* Verde agua suave */
  letter-spacing: 0.12em;
  margin-top: clamp(6px, 1.2vh, 12px);
  opacity: 0.65;
  animation: fadeIn 1.5s ease 1.4s both;
}

/* ── Responsive splash ── */
@media (max-width: 480px) {
  .splash__content  { padding: 0 12px; justify-content: center; }
  .splash__frame-wrap { width: min(58vw, min(36vh, 190px)); }
  .splash__btn      { padding: 10px 26px; }
  .splash__btn-text { font-size: 0.92rem; }
}

@media (max-height: 680px) {
  .splash__frame-wrap { width: min(30vw, min(32vh, 160px)); }
  .splash__name       { font-size: clamp(2rem, 7vw, 2.8rem); }
  .splash__pre        { margin-bottom: 4px; }
  .splash__name-wrap  { margin-top: 4px; }
  .splash__btn        { margin-top: 8px; }
  .splash__hint       { display: none; }
}

/* ═══════════════════════════════════════════════════════════
   SECCIÓN CLIMA — weather.css  (agregar a style.css)
   ═══════════════════════════════════════════════════════════ */

/* ── Subtítulo de ubicación ── */
.weather__subtitle {
  text-align: center;
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: clamp(0.88rem, 2vw, 1.05rem);
  color: var(--text-light);
  margin-top: -12px;
  margin-bottom: 24px;
  letter-spacing: 0.06em;
}

/* ── Spinner de carga ── */
.weather__loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 24px 0;
  color: var(--text-light);
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: 0.95rem;
}

.weather__spinner {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 3px solid var(--pink-100);
  border-top-color: var(--pink-400);
  animation: weatherSpin 0.9s linear infinite;
}

@keyframes weatherSpin {
  to { transform: rotate(360deg); }
}

/* ── Tarjeta principal ── */
.weather__card,
.weather__fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

/* ── Ícono central ── */
.weather__icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* SVG del sol */
.weather__svg {
  width: clamp(72px, 18vw, 100px);
  height: auto;
  filter: drop-shadow(0 6px 18px rgba(192,48,94,0.15));
}

/* Animación del sol */
.weather__svg--sun circle {
  animation: sunPulse 3s ease-in-out infinite;
  transform-origin: center;
}
@keyframes sunPulse {
  0%, 100% { r: 14; }
  50%       { r: 15.5; }
}

/* Animación de la nube */
.weather__svg--cloud,
.weather__svg--rain,
.weather__svg--partly {
  animation: cloudFloat 4s ease-in-out infinite;
}
@keyframes cloudFloat {
  0%, 100% { transform: translateX(0); }
  50%       { transform: translateX(4px); }
}

/* Animación de lluvia */
.weather__rain-drop {
  animation: rainFall 1.2s linear infinite;
  transform-origin: top center;
}
.weather__rain-drop:nth-child(2) { animation-delay: 0.4s; }
.weather__rain-drop:nth-child(3) { animation-delay: 0.8s; }
@keyframes rainFall {
  0%   { transform: translateY(-4px); opacity: 0; }
  30%  { opacity: 1; }
  100% { transform: translateY(10px); opacity: 0; }
}

/* ── Temperaturas ── */
.weather__main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.weather__temps {
  display: flex;
  align-items: baseline;
  gap: 4px;
  line-height: 1;
}

.weather__temp-max {
  font-family: var(--ff-serif);
  font-size: clamp(2.8rem, 10vw, 4.5rem);
  font-weight: 300;
  color: var(--pink-500);
}

.weather__temp-sep {
  font-family: var(--ff-serif);
  font-size: clamp(1.4rem, 4vw, 2rem);
  color: var(--pink-200);
  font-weight: 300;
  padding: 0 4px;
}

.weather__temp-min {
  font-family: var(--ff-serif);
  font-size: clamp(1.6rem, 6vw, 2.8rem);
  font-weight: 300;
  color: var(--pink-300);
}

.weather__temp-unit {
  font-family: var(--ff-sans);
  font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  font-weight: 300;
  color: var(--text-light);
  align-self: flex-start;
  padding-top: 6px;
}

.weather__desc {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: clamp(0.95rem, 2.5vw, 1.15rem);
  color: var(--text-medium);
  text-align: center;
}

/* ── Detalles: precipitación, UV, viento ── */
.weather__details {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 5vw, 40px);
  padding: 16px 20px;
  background: rgba(255, 240, 248, 0.60);
  border-radius: 16px;
  border: 1px solid rgba(232,140,170,0.20);
  width: 100%;
  max-width: 420px;
}

.weather__detail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.weather__detail svg {
  width: 22px;
  height: 22px;
  color: var(--pink-400);
}

.weather__detail-label {
  font-family: var(--ff-sans);
  font-size: 0.68rem;
  font-weight: 300;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-light);
}

.weather__detail-value {
  font-family: var(--ff-serif);
  font-size: clamp(0.95rem, 2.5vw, 1.15rem);
  color: var(--text-dark);
  font-weight: 400;
}

/* ── Nota final ── */
.weather__note {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: clamp(0.82rem, 2vw, 0.95rem);
  color: var(--text-light);
  text-align: center;
  line-height: 1.6;
  max-width: 420px;
  padding: 10px 16px;
  background: rgba(252, 216, 232, 0.35);
  border-radius: 12px;
  border-left: 3px solid var(--pink-200);
}

/* ═══════════════════════════════════════════════════════════
   SECCIÓN PADRES Y PADRINO — (agregar al final de style.css)
   ═══════════════════════════════════════════════════════════ */

/* ── Contenedor interno centrado ── */
.family__inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

/* ── Ornamentos SVG ── */
.family__ornament {
  width: clamp(160px, 55vw, 300px);
  color: var(--pink-300);
  opacity: 0.80;
}
.family__ornament svg { width: 100%; }

/* ── Bloque de cada grupo (padres / padrino) ── */
.family__block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 100%;
}

/* ── Badge del rol ── */
.family__role-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 22px;
  border-radius: 40px;
  background: linear-gradient(
    135deg,
    rgba(252, 220, 235, 0.75),
    rgba(255, 240, 250, 0.75)
  );
  border: 1.5px solid rgba(232, 140, 170, 0.40);
  box-shadow: 0 2px 12px rgba(192, 48, 94, 0.10);
  font-family: var(--ff-sans);
  font-size: clamp(0.72rem, 1.8vw, 0.82rem);
  font-weight: 300;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--pink-500);
}

.family__role-badge svg {
  width: 16px;
  height: 16px;
  color: var(--pink-400);
  flex-shrink: 0;
}

/* Badge padrino: tono ligeramente diferente */
.family__role-badge--padrino {
  background: linear-gradient(
    135deg,
    rgba(248, 210, 230, 0.72),
    rgba(252, 232, 244, 0.72)
  );
  border-color: rgba(212, 100, 150, 0.38);
}

.family__role-badge--padrino svg {
  color: var(--pink-500);
}

/* ── Lista de personas ── */
.family__names {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

/* ── Persona individual ── */
.family__person {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 7px;
  flex-wrap: wrap;
}

.family__person-title {
  font-family: var(--ff-serif);
  font-size: clamp(0.90rem, 2.2vw, 1.05rem);
  font-style: italic;
  font-weight: 300;
  color: var(--text-light);
  white-space: nowrap;
}

.family__person-name {
  font-family: var(--ff-script);
  font-size: clamp(1.55rem, 4.5vw, 2.4rem);
  color: var(--text-dark);
  line-height: 1.15;
  text-shadow: 0 1px 8px rgba(255, 255, 255, 0.65);
}

/* ── Separador & entre padres ── */
.family__person-sep {
  font-family: var(--ff-serif);
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  font-style: italic;
  font-weight: 300;
  color: var(--pink-300);
  letter-spacing: 0.10em;
}

/* ── Divisor decorativo entre padres y padrino ── */
.family__divider {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(100%, 320px);
  color: var(--pink-300);
  opacity: 0.65;
}

.family__divider span {
  flex: 1;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(232, 114, 154, 0.50),
    transparent
  );
}

.family__divider svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ── Responsive ── */
@media (max-width: 480px) {
  .family__person-name {
    font-size: clamp(1.30rem, 6.5vw, 1.8rem);
  }

  .family__role-badge {
    font-size: 0.68rem;
    padding: 5px 16px;
  }

  .family__inner { gap: 20px; }
}

/* ═══════════════════════════════════════════════════════════
   MESA DE REGALOS · Estilo consistente con el sitio
   ═══════════════════════════════════════════════════════════ */

/* Sobre decorativo */
.gifts__envelope {
  position: relative;
  width: 140px;
  height: 100px;
  margin: 16px auto 24px;
  perspective: 600px;
  transition: transform 0.3s ease;
}

.gifts__envelope:hover {
  transform: translateY(-5px);
}

/* Cuerpo del sobre */
.gifts__envelope-body {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, #F1F0D0 0%, #DFE9C5 100%);
  border-radius: 6px;
  border: 1.5px solid rgba(153, 180, 124, 0.55);
  box-shadow: 0 8px 20px rgba(56, 112, 64, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  backdrop-filter: blur(2px);
}

/* Solapa del sobre */
.gifts__envelope-flap {
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  height: 52%;
  background: linear-gradient(135deg, #B7D1A8 0%, #99B47C 100%);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  border-radius: 6px 6px 0 0;
  box-shadow: inset 0 -4px 10px rgba(56, 112, 64, 0.2);
  z-index: 2;
}

/* Icono dentro del sobre */
.gifts__envelope-icon {
  font-size: 1.8rem;
  color: #70975E;
  margin-top: 10px;
  z-index: 1;
}

.gifts__envelope-text {
  font-family: var(--ff-serif);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #387040;
  z-index: 1;
}

/* Mensaje principal */
.gifts__message {
  font-family: var(--ff-serif);
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  font-style: italic;
  text-align: center;
  color: #795a24;
  line-height: 1.7;
  max-width: 420px;
  margin: 8px auto 20px;
}

/* Divisor decorativo */
.gifts__divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: min(200px, 50%);
  margin: 20px auto 12px;
  color: #B7D1A8;
}

.gifts__divider span {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, #99B47C, transparent);
}

.gifts__divider svg {
  color: #99B47C;
  opacity: 0.7;
}

/* Texto de agradecimiento */
.gifts__thanks {
  font-family: var(--ff-script);
  font-size: clamp(1.1rem, 4vw, 1.4rem);
  text-align: center;
  color: #70975E;
  margin-top: 16px;
  letter-spacing: 0.02em;
}

/* Responsive */
@media (max-width: 480px) {
  .gifts__envelope {
    width: 110px;
    height: 80px;
  }
  .gifts__envelope-icon {
    font-size: 1.3rem;
    margin-top: 6px;
  }
  .gifts__message {
    font-size: 0.9rem;
  }
}