/* ==========================================================================
   SISTEMA DE DISEÑO & VARIABLES CSS (Premium Baby Shower Theme)
   ========================================================================== */
:root {
  /* Paleta de colores requerida */
  --color-azul-pastel: #BFDFFF;
  --color-azul-grisaceo: #7F9DB9;
  --color-gris-claro: #E5E5E5;
  --color-blanco-marfil: #FAF9F6;
  --color-beige-claro: #F5E6D3;
  
  /* Colores de soporte y contraste */
  --color-texto-oscuro: #2C3E50;
  --color-texto-suave: #607D8B;
  --color-exito: #76A5AF;
  --color-exito-fondo: #E2F0F1;
  --color-error: #D9534F;
  --color-error-fondo: #FDF7F7;
  --color-overlay: rgba(44, 62, 80, 0.4);
  
  /* Colores premium adicionales */
  --color-azul-profundo: #6888A5;
  --color-rosa-suave: #F2D7D9;
  --gradient-premium: linear-gradient(135deg, #BFDFFF 0%, #F5E6D3 50%, #F2D7D9 100%);
  --gradient-card: linear-gradient(145deg, rgba(255,255,255,0.95), rgba(250,249,246,0.85));
  --gradient-hero-bg: radial-gradient(ellipse at 50% 0%, rgba(191,223,255,0.2) 0%, transparent 60%);
  
  /* Fuentes */
  --font-principal: 'Poppins', sans-serif;
  --font-secundaria: 'Nunito', sans-serif;
  --font-decorativa: 'Quicksand', sans-serif;
  
  /* Sombras y Elevaciones Premium */
  --shadow-premium: 0 20px 50px rgba(127, 157, 185, 0.18), 0 8px 16px rgba(127, 157, 185, 0.08);
  --shadow-suave: 0 4px 20px rgba(127, 157, 185, 0.08), 0 1px 4px rgba(0,0,0,0.04);
  --shadow-float: 0 14px 35px rgba(127, 157, 185, 0.28), 0 4px 8px rgba(0,0,0,0.06);
  --shadow-inset: inset 0 2px 4px rgba(0,0,0,0.04);
  --shadow-glow: 0 0 30px rgba(191, 223, 255, 0.4);

  /* Bordes Redondeados */
  --border-radius-xl: 32px;
  --border-radius-lg: 24px;
  --border-radius-md: 16px;
  --border-radius-sm: 12px;
  
  /* Transiciones */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   RESETS & ESTILOS GLOBALES
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-principal);
  background-color: var(--color-blanco-marfil);
  color: var(--color-texto-oscuro);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Contenedores */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-center { text-align: center; }
.hide { display: none !important; }
.mr-2 { margin-right: 8px; }

/* ==========================================================================
   ESTRELLAS DE FONDO Y ELEMENTOS DECORATIVOS
   ========================================================================== */
.stars-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
  pointer-events: none;
  background: 
    radial-gradient(ellipse at 20% 20%, rgba(191,223,255,0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(242,215,217,0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(245,230,211,0.1) 0%, transparent 60%),
    radial-gradient(circle at 50% 30%, #FAF9F6 0%, #F5F9FD 60%, #F9F1E8 100%);
}

.star {
  position: absolute;
  background-color: var(--color-azul-grisaceo);
  border-radius: 50%;
  opacity: 0;
  animation: twinkle 5s infinite ease-in-out;
}

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

/* Hojas de Eucalipto Decorativas */
.leaf-decor {
  position: fixed;
  pointer-events: none;
  z-index: -1;
  opacity: 0.35;
  transition: opacity var(--transition-normal);
}

.leaf-top-left {
  top: -20px;
  left: -20px;
  animation: swayLeft 8s infinite ease-in-out;
  transform-origin: top left;
}

.leaf-top-right {
  top: -20px;
  right: -20px;
  animation: swayRight 9s infinite ease-in-out;
  transform-origin: top right;
}

@keyframes swayLeft {
  0%, 100% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(5deg) scale(1.05); }
}

@keyframes swayRight {
  0%, 100% { transform: scaleX(-1) rotate(0deg) scale(1); }
  50% { transform: scaleX(-1) rotate(6deg) scale(1.03); }
}

/* ==========================================================================
   ANIMACIÓN "ABRIR SOBRE VIRTUAL"
   ========================================================================== */
.envelope-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background-color: var(--color-exito-fondo);
  z-index: 999999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.8s ease 1.2s, visibility 0.8s ease 1.2s;
  overflow: hidden;
}

.envelope-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.envelope-container {
  width: 90%;
  max-width: 450px;
  height: 280px;
  position: relative;
  perspective: 1500px;
}

.envelope {
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  transition: transform 1.5s cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-transition: -webkit-transform 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.envelope.open {
  transform: translateY(120px) scale(0.95);
  -webkit-transform: translateY(120px) scale(0.95);
}

.env-back, .env-front, .env-flap, .env-card {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0; left: 0;
}

.env-back {
  background: #C4D7ED;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(104, 136, 165, 0.3);
}

.env-card {
  background: var(--gradient-card);
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
  transition: transform 1.3s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s, box-shadow 1.3s ease 0.5s;
  z-index: 1;
  transform-origin: bottom center;
}

.envelope.open .env-card {
  /* Efecto 3D Pop-Out: Sube, viene hacia el frente, se inclina y crece un poco */
  transform: translateY(-190px) translateZ(50px) rotateX(8deg) scale(1.06);
  box-shadow: 0 25px 50px rgba(104, 136, 165, 0.4), 0 0 20px rgba(255,255,255,0.8);
}

.env-card-content {
  padding: 20px;
  /* Borde dorado/elegante doble */
  border: 4px double #D4AF37;
  margin: 12px;
  border-radius: 6px;
  width: calc(100% - 24px);
  height: calc(100% - 24px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(255,255,255,0.4); /* Leve toque glassmorphism */
}
.env-title { font-family: var(--font-decorativa); color: var(--color-azul-profundo); margin-bottom: 5px; font-size: 24px; }
.env-subtitle { font-family: var(--font-secundaria); color: var(--color-texto-suave); font-size: 15px;}

.env-front {
  background: var(--color-azul-pastel);
  border-radius: 0 0 8px 8px;
  -webkit-clip-path: polygon(0% 100%, 0% 0%, 50% 55%, 100% 0%, 100% 100%);
  clip-path: polygon(0% 100%, 0% 0%, 50% 55%, 100% 0%, 100% 100%);
  z-index: 2;
  box-shadow: inset 0 -5px 15px rgba(0,0,0,0.05);
}

.env-flap {
  background: #A6C8E6; 
  -webkit-clip-path: polygon(0% 0%, 100% 0%, 50% 60%);
  clip-path: polygon(0% 0%, 100% 0%, 50% 60%);
  transform-origin: top;
  -webkit-transform-origin: top;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-transition: -webkit-transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 3;
}

.envelope.open .env-flap {
  transform: rotateX(180deg);
  -webkit-transform: rotateX(180deg);
  z-index: 0;
}

.env-seal {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 65px;
  height: 65px;
  background: var(--color-azul-profundo); 
  border-radius: 50%;
  z-index: 4;
  color: white;
  font-family: var(--font-decorativa);
  font-weight: bold;
  font-size: 14px;
  border: 3px solid #E5E5E5;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: pulseSeal 2s infinite;
}

@keyframes pulseSeal {
  0%, 100% { transform: translate(-50%, -50%) scale(1); box-shadow: 0 4px 15px rgba(0,0,0,0.3); }
  50% { transform: translate(-50%, -50%) scale(1.05); box-shadow: 0 8px 20px rgba(104,136,165,0.6); }
}

.env-seal:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background: #54728f;
  animation: none;
}

.envelope.open .env-seal {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0);
}

/* ==========================================================================
   PANTALLA DE CARGA (LOADING SCREEN)
   ========================================================================== */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-blanco-marfil);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity var(--transition-slow), visibility var(--transition-slow);
}

.loading-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.loader-svg-wrapper {
  margin-bottom: 24px;
}

.loader-cloud {
  animation: floatLoaderCloud 3s infinite ease-in-out;
}

.loader-star {
  animation: blinkLoaderStar 1.6s infinite ease-in-out;
}

.loader-star.star-2 { animation-delay: 0.4s; }
.loader-star.star-3 { animation-delay: 0.8s; }

.loading-text {
  font-family: var(--font-decorativa);
  font-size: 1.15rem;
  color: var(--color-texto-suave);
  font-weight: 500;
  letter-spacing: 0.5px;
  animation: pulseText 1.6s infinite ease-in-out;
}

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

@keyframes blinkLoaderStar {
  0%, 100% { opacity: 0.1; }
  50% { opacity: 1; }
}

@keyframes pulseText {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* ==========================================================================
   SECCIONES GENERALES & TÍTULOS
   ========================================================================== */
.section {
  padding: 80px 0;
  position: relative;
}

.section-title {
  font-family: var(--font-decorativa);
  font-size: 2.2rem;
  color: var(--color-texto-oscuro);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: var(--gradient-premium);
  border-radius: 3px;
}

.section-subtitle {
  font-family: var(--font-secundaria);
  font-size: 1.1rem;
  color: var(--color-texto-suave);
  margin-bottom: 48px;
  font-weight: 400;
  margin-top: 16px;
}

/* ==========================================================================
   BOTONES E INPUTS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-principal);
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  font-size: 0.95rem;
  text-decoration: none;
  outline: none;
  box-shadow: var(--shadow-suave);
  letter-spacing: 0.3px;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-azul-grisaceo) 0%, var(--color-azul-profundo) 100%);
  color: white;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-azul-profundo) 0%, #5A7A96 100%);
  transform: translateY(-3px);
  box-shadow: var(--shadow-float), var(--shadow-glow);
}

.btn-primary:active {
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: rgba(255,255,255,0.9);
  color: var(--color-texto-oscuro);
  border: 1.5px solid rgba(191, 223, 255, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background-color: white;
  border-color: var(--color-azul-grisaceo);
  transform: translateY(-3px);
  box-shadow: var(--shadow-float);
}

.btn-outline {
  background-color: transparent;
  border: 1.5px solid var(--color-azul-grisaceo);
  color: var(--color-azul-grisaceo);
  box-shadow: none;
}

.btn-outline:hover {
  background: linear-gradient(135deg, var(--color-azul-grisaceo) 0%, var(--color-azul-profundo) 100%);
  color: white;
  transform: translateY(-3px);
  box-shadow: var(--shadow-float), var(--shadow-glow);
  border-color: transparent;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.85rem;
}

.btn-block {
  display: flex;
  width: 100%;
}

.btn-icon-only {
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: 50%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.btn-icon {
  margin-left: 8px;
  width: 18px;
  height: 18px;
}

/* ==========================================================================
   SECCIÓN 1: BIENVENIDA (HERO)
   ========================================================================== */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 0 120px;
  box-sizing: border-box;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-illustration {
  width: 100%;
  max-width: 280px;
  margin-bottom: 24px;
}

.animate-float {
  animation: floatKoala 6s infinite ease-in-out;
}

@keyframes floatKoala {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(1.5deg); }
}

.hero-tag {
  display: inline-block;
  font-family: var(--font-secundaria);
  font-weight: 600;
  font-size: 0.85rem;
  background: linear-gradient(135deg, var(--color-beige-claro) 0%, rgba(242,215,217,0.4) 100%);
  color: var(--color-texto-oscuro);
  padding: 8px 22px;
  border-radius: 50px;
  margin-bottom: 20px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 1px solid rgba(245, 230, 211, 0.5);
  animation: subtlePulse 3s infinite ease-in-out;
}

@keyframes subtlePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(191, 223, 255, 0.3); }
  50% { box-shadow: 0 0 0 8px rgba(191, 223, 255, 0); }
}

.hero-title {
  font-family: var(--font-decorativa);
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  font-weight: 700;
  color: var(--color-texto-oscuro);
  line-height: 1.15;
  margin-bottom: 16px;
}

.baby-name {
  color: transparent;
  background: linear-gradient(135deg, var(--color-azul-grisaceo) 0%, var(--color-azul-profundo) 50%, #8AB4D0 100%);
  background-clip: text;
  -webkit-background-clip: text;
  position: relative;
  display: inline-block;
}

.baby-name::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: -4px;
  right: -4px;
  height: 8px;
  background: linear-gradient(90deg, var(--color-azul-pastel), rgba(242,215,217,0.6));
  z-index: -1;
  border-radius: 10px;
  opacity: 0.7;
}

.hero-subtitle {
  font-family: var(--font-secundaria);
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  color: var(--color-texto-suave);
  max-width: 550px;
  margin: 0 auto 40px;
  font-style: italic;
  font-weight: 400;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.hero-extra-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

.btn-label-desktop {
  display: none;
}

/* Indicador de Scroll */
.scroll-indicator {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  opacity: 0.7;
  transition: opacity var(--transition-fast);
}

.scroll-indicator:hover {
  opacity: 1;
}

.mouse-icon {
  width: 24px;
  height: 40px;
  border: 2px solid var(--color-azul-grisaceo);
  border-radius: 20px;
  position: relative;
  display: block;
  margin-bottom: 6px;
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background-color: var(--color-azul-grisaceo);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheelAnim 1.6s infinite ease-in-out;
}

.scroll-arrow {
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--color-azul-grisaceo);
  border-bottom: 2px solid var(--color-azul-grisaceo);
  transform: rotate(45deg);
  animation: scrollArrowAnim 1.6s infinite ease-in-out;
}

@keyframes scrollWheelAnim {
  0% { top: 6px; opacity: 1; }
  100% { top: 16px; opacity: 0; }
}

@keyframes scrollArrowAnim {
  0% { transform: rotate(45deg) translateY(-2px); opacity: 0.3; }
  50% { opacity: 1; }
  100% { transform: rotate(45deg) translateY(4px); opacity: 0.3; }
}

/* ==========================================================================
   SECCIÓN 2: CUENTA REGRESIVA
   ========================================================================== */
.countdown-section {
  background: linear-gradient(180deg, transparent 0%, rgba(191, 223, 255, 0.1) 30%, rgba(245, 230, 211, 0.08) 70%, transparent 100%);
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  max-width: 620px;
  margin: 0 auto;
}

.countdown-item-wrapper {
  perspective: 1000px;
}

.countdown-card {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--border-radius-lg);
  padding: 28px 14px;
  box-shadow: var(--shadow-suave);
  text-align: center;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.countdown-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-premium);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.countdown-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-premium);
  background: rgba(255, 255, 255, 0.95);
}

.countdown-card:hover::before {
  opacity: 1;
}

.countdown-val {
  display: block;
  font-family: var(--font-decorativa);
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--color-azul-grisaceo), var(--color-azul-profundo));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
  margin-bottom: 6px;
}

.countdown-label {
  font-family: var(--font-principal);
  font-size: 0.8rem;
  color: var(--color-texto-suave);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
}

.countdown-finished-msg {
  margin-top: 30px;
  padding: 20px;
  background: white;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-premium);
  display: inline-block;
  animation: pulseMessage 2s infinite ease-in-out;
}

.countdown-finished-msg h3 {
  font-family: var(--font-decorativa);
  color: var(--color-azul-grisaceo);
  margin-bottom: 6px;
}

@keyframes pulseMessage {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

/* ==========================================================================
   SECCIÓN 3: INFORMACIÓN DEL EVENTO (CARDS)
   ========================================================================== */
.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.info-card {
  background: var(--gradient-card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--border-radius-lg);
  padding: 40px 28px;
  box-shadow: var(--shadow-suave);
  border: 1px solid rgba(191, 223, 255, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-premium);
  transform: scaleX(0);
  transition: transform var(--transition-normal);
  transform-origin: left;
}

.info-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-premium);
  border-color: rgba(191, 223, 255, 0.4);
}

.info-card:hover::before {
  transform: scaleX(1);
}

.card-icon-header {
  margin-bottom: 22px;
}

.icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(191,223,255,0.6), rgba(191,223,255,0.3));
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--color-azul-grisaceo);
  transition: all var(--transition-normal);
  border: 1px solid rgba(191, 223, 255, 0.3);
}

.info-card:hover .icon-circle {
  transform: scale(1.12) rotate(5deg);
  box-shadow: var(--shadow-glow);
}

.icon-circle svg {
  width: 28px;
  height: 28px;
}

.card-title {
  font-family: var(--font-decorativa);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-texto-oscuro);
  margin-bottom: 14px;
  letter-spacing: -0.3px;
}

.card-text {
  font-family: var(--font-secundaria);
  font-size: 0.95rem;
  color: var(--color-texto-suave);
  margin-bottom: 6px;
  line-height: 1.6;
}

.card-text.main-info {
  font-weight: 700;
  color: var(--color-texto-oscuro);
  font-size: 1.08rem;
  margin-bottom: 10px;
}

.card-text.sub-info {
  margin-bottom: 22px;
  flex-grow: 1;
}

.info-card .btn {
  margin-top: auto;
}

/* Dots de colores en código de vestimenta */
.color-palette-dots {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  justify-content: center;
}

.color-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: block;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: var(--shadow-inset);
  cursor: help;
  transition: transform var(--transition-fast);
}

.color-dot:hover {
  transform: scale(1.2);
}

/* ==========================================================================
   SECCIÓN 4: GALERÍA (CARRUSEL RESPONSIVE)
   ========================================================================== */
.carousel-container {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-premium);
  background: white;
  border: 3px solid rgba(191, 223, 255, 0.3);
  transition: box-shadow var(--transition-normal);
}

.carousel-container:hover {
  box-shadow: var(--shadow-float);
}

.carousel-track-wrapper {
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  transition: transform var(--transition-slow);
  width: 100%;
}

.carousel-slide {
  min-width: 100%;
  display: flex;
  flex-direction: column;
}

.slide-image-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--color-blanco-marfil);
}

.slide-svg {
  width: 100%;
  height: 100%;
}

.slide-real-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity var(--transition-normal);
}

/* Controles de Navegación del Carrusel */
.carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.85);
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--color-texto-oscuro);
  box-shadow: var(--shadow-suave);
  z-index: 10;
  transition: all var(--transition-fast);
}

.carousel-nav-btn:hover {
  background-color: white;
  color: var(--color-azul-grisaceo);
  transform: translateY(-50%) scale(1.08);
  box-shadow: var(--shadow-float);
}

.carousel-nav-btn.prev {
  left: 12px;
}

.carousel-nav-btn.next {
  right: 12px;
}

.carousel-nav-btn svg {
  width: 20px;
  height: 20px;
}

/* Indicadores de Posición (Dots) */
.carousel-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
  background-color: rgba(255, 255, 255, 0.6);
  padding: 6px 12px;
  border-radius: 20px;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-azul-grisaceo);
  opacity: 0.4;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all var(--transition-fast);
}

.carousel-dot.active {
  opacity: 1;
  width: 18px;
  border-radius: 4px;
  background-color: var(--color-azul-grisaceo);
}

/* ==========================================================================
   SECCIÓN 5: HISTORIA / LÍNEA DE TIEMPO
   ========================================================================== */
.timeline-container {
  position: relative;
  max-width: 800px;
  margin: 40px auto 0;
  padding-left: 30px;
}

.timeline-line {
  position: absolute;
  top: 0;
  left: 7px;
  width: 2px;
  height: 100%;
  background-color: var(--color-azul-pastel);
  z-index: 0;
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: -30px;
  top: 6px;
  z-index: 1;
}

.marker-circle {
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: white;
  border: 3px solid var(--color-azul-grisaceo);
  box-shadow: var(--shadow-suave);
  transition: all var(--transition-normal);
}

.timeline-item.active .marker-circle {
  background: linear-gradient(135deg, var(--color-azul-pastel), var(--color-azul-grisaceo));
  border-color: var(--color-azul-grisaceo);
  transform: scale(1.3);
  box-shadow: 0 0 0 4px rgba(191, 223, 255, 0.3);
}

.timeline-content {
  background: var(--gradient-card);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--border-radius-md);
  padding: 26px;
  box-shadow: var(--shadow-suave);
  border: 1px solid rgba(191, 223, 255, 0.15);
  transition: all var(--transition-normal);
}

.timeline-content:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-premium);
}

.timeline-item.active .timeline-content {
  border-left: 4px solid var(--color-azul-grisaceo);
  box-shadow: var(--shadow-premium);
}

.timeline-date {
  display: inline-block;
  font-family: var(--font-secundaria);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-azul-grisaceo);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.timeline-title {
  font-family: var(--font-decorativa);
  font-size: 1.25rem;
  color: var(--color-texto-oscuro);
  font-weight: 700;
  margin-bottom: 8px;
}

.timeline-text {
  font-family: var(--font-secundaria);
  font-size: 0.95rem;
  color: var(--color-texto-suave);
}

/* ==========================================================================
   SECCIÓN 6: FORMULARIO RSVP e INTEGRACIÓN SHEETS
   ========================================================================== */
.rsvp-card-wrapper {
  max-width: 650px;
  margin: 0 auto;
}

.rsvp-card {
  position: relative;
  background: linear-gradient(160deg, rgba(255,255,255,0.98), rgba(250,249,246,0.95));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--border-radius-xl);
  padding: 44px 28px;
  box-shadow: var(--shadow-premium);
  border: 1px solid rgba(191, 223, 255, 0.2);
  overflow: hidden;
}

.rsvp-icon-box {
  display: inline-flex;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: var(--color-beige-claro);
  color: var(--color-texto-oscuro);
  justify-content: center;
  align-items: center;
  margin-bottom: 18px;
}

.rsvp-icon-box svg {
  width: 30px;
  height: 30px;
}

.rsvp-form {
  margin-top: 30px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-label {
  font-family: var(--font-principal);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-texto-oscuro);
  margin-bottom: 8px;
}

.form-label .required {
  color: var(--color-error);
}

.input-wrapper {
  position: relative;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  font-family: var(--font-secundaria);
  font-size: 0.95rem;
  padding: 14px 18px;
  border-radius: var(--border-radius-sm);
  border: 1.5px solid rgba(229, 229, 229, 0.8);
  background-color: rgba(250, 249, 246, 0.7);
  color: var(--color-texto-oscuro);
  outline: none;
  transition: all var(--transition-normal);
  box-shadow: none;
}

.form-input::placeholder, .form-textarea::placeholder {
  color: #90A4AE;
  opacity: 0.7;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--color-azul-grisaceo);
  background-color: white;
  box-shadow: 0 0 0 4px rgba(191, 223, 255, 0.2), 0 2px 8px rgba(127, 157, 185, 0.1);
}

/* Validaciones y Mensajes de error */
.form-input.invalid, .form-select.invalid {
  border-color: var(--color-error);
  background-color: var(--color-error-fondo);
}

.error-msg {
  display: none;
  font-family: var(--font-secundaria);
  font-size: 0.8rem;
  color: var(--color-error);
  margin-top: 4px;
  font-weight: 500;
}

.form-input.invalid + .error-msg {
  display: block;
}

/* Radio button grupo */
.radio-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 4px;
}

.radio-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  position: relative;
}

.radio-input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.radio-custom {
  height: 22px;
  width: 22px;
  background-color: var(--color-blanco-marfil);
  border: 1.5px solid var(--color-azul-grisaceo);
  border-radius: 50%;
  margin-right: 12px;
  position: relative;
  display: inline-block;
  transition: all var(--transition-fast);
}

.radio-label:hover .radio-input ~ .radio-custom {
  background-color: var(--color-gris-claro);
}

.radio-input:checked ~ .radio-custom {
  background-color: var(--color-azul-grisaceo);
  border-color: var(--color-azul-grisaceo);
}

.radio-custom::after {
  content: "";
  position: absolute;
  display: none;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: white;
}

.radio-input:checked ~ .radio-custom::after {
  display: block;
}

.radio-text {
  font-family: var(--font-secundaria);
  font-size: 0.95rem;
  color: var(--color-texto-oscuro);
  font-weight: 400;
}

/* Select wrapper */
.select-wrapper {
  position: relative;
}

.select-wrapper::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--color-texto-suave);
  pointer-events: none;
}

.form-select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
}

/* Botón de RSVP con Loader */
.form-actions {
  margin-top: 30px;
}

.btn-loader {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 0.8s infinite linear;
  display: inline-block;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Alertas de RSVP */
.rsvp-alert {
  display: flex;
  align-items: center;
  padding: 16px;
  border-radius: var(--border-radius-sm);
  margin-top: 20px;
  font-family: var(--font-secundaria);
  font-size: 0.9rem;
}

.rsvp-alert-error {
  background-color: var(--color-error-fondo);
  border: 1px solid rgba(217, 83, 79, 0.2);
  color: var(--color-error);
}

/* Pantalla de éxito en RSVP */
.rsvp-success-screen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 24px;
}

.success-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 450px;
}

.success-icon-box {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background-color: var(--color-exito-fondo);
  color: var(--color-exito);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 24px;
  animation: scaleSuccessIcon 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

@keyframes scaleSuccessIcon {
  0% { transform: scale(0); }
  100% { transform: scale(1); }
}

.success-icon-box svg {
  width: 36px;
  height: 36px;
}

.success-title {
  font-family: var(--font-decorativa);
  font-size: 1.8rem;
  color: var(--color-texto-oscuro);
  font-weight: 700;
  margin-bottom: 12px;
}

.success-desc {
  font-family: var(--font-secundaria);
  font-size: 0.95rem;
  color: var(--color-texto-suave);
  margin-bottom: 24px;
}

.success-details {
  background-color: var(--color-blanco-marfil);
  border-radius: var(--border-radius-md);
  padding: 16px 24px;
  width: 100%;
  margin-bottom: 28px;
  border: 1px dashed var(--color-azul-grisaceo);
  text-align: left;
}

.success-details p {
  font-family: var(--font-secundaria);
  font-size: 0.9rem;
  color: var(--color-texto-oscuro);
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
}

.success-details p:last-child {
  margin-bottom: 0;
}

.success-details strong {
  font-weight: 600;
  color: var(--color-texto-suave);
}

.success-actions {
  display: flex;
  gap: 12px;
}

/* Canvas para Confeti */
.confetti-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 15;
}

/* ==========================================================================
   SECCIÓN 7: UBICACIÓN Y MAPA
   ========================================================================== */
.map-card {
  background: var(--gradient-card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--border-radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-premium);
  border: 1px solid rgba(191, 223, 255, 0.2);
  max-width: 800px;
  margin: 0 auto;
  transition: box-shadow var(--transition-normal);
}

.map-card:hover {
  box-shadow: var(--shadow-float);
}

.map-iframe-wrapper {
  position: relative;
  width: 100%;
  height: 300px;
  background-color: var(--color-gris-claro);
}

.map-iframe-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.map-footer {
  padding: 28px;
  background: transparent;
}

.map-venue-name {
  font-family: var(--font-decorativa);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-texto-oscuro);
  margin-bottom: 6px;
}

.map-address {
  font-family: var(--font-secundaria);
  font-size: 0.95rem;
  color: var(--color-texto-suave);
  margin-bottom: 22px;
}

/* ==========================================================================
   BOTONES FLOTANTES Y CONTROLES (Música y WhatsApp)
   ========================================================================== */
.floating-controls {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  pointer-events: none; /* Permite clickear detrás de la capa */
}

.control-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  cursor: pointer;
  box-shadow: var(--shadow-float);
  border: none;
  outline: none;
  pointer-events: auto; /* Habilita interacción */
  transition: all var(--transition-fast);
}

.control-btn:hover {
  transform: scale(1.1);
}

.control-btn:active {
  transform: scale(0.95);
}

/* Botón Música Premium */
.music-btn {
  background: var(--gradient-card);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--color-texto-oscuro);
  border: 1.5px solid rgba(191, 223, 255, 0.5);
  position: relative;
  width: 56px;
  height: 56px;
  overflow: visible;
}

.music-btn::before {
  content: '';
  position: absolute;
  top: -2px; left: -2px; right: -2px; bottom: -2px;
  background: var(--gradient-premium);
  border-radius: 50%;
  z-index: -1;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.music-btn:hover::before {
  opacity: 1;
}

.music-icon-wrapper {
  width: 24px;
  height: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
}

.music-icon-wrapper svg {
  width: 100%;
  height: 100%;
  transition: all var(--transition-normal);
  filter: drop-shadow(0 2px 3px rgba(127,157,185,0.3));
}

.music-btn .icon-music-mute {
  display: block;
  opacity: 0.7;
}

.music-btn .icon-music {
  display: none;
  color: var(--color-azul-profundo);
}

/* Estado Activo de Música */
.music-btn:not(.paused) {
  border-color: transparent;
  box-shadow: var(--shadow-glow);
  animation: musicBtnPulse 2s infinite ease-in-out;
}

@keyframes musicBtnPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 15px rgba(191,223,255,0.4); }
  50% { transform: scale(1.05); box-shadow: 0 0 25px rgba(191,223,255,0.8); }
}

.music-btn:not(.paused)::before {
  opacity: 1;
  animation: rotateGradient 4s linear infinite;
}

@keyframes rotateGradient {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.music-btn:not(.paused) .icon-music-mute {
  display: none;
}

.music-btn:not(.paused) .icon-music {
  display: block;
  animation: gentleBounce 2s infinite ease-in-out;
}

@keyframes gentleBounce {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-3px) scale(1.1); }
}

/* Animación de notas musicales flotantes */
.sound-waves {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}

.floating-word {
  position: absolute;
  color: var(--color-azul-grisaceo);
  font-family: var(--font-decorativa);
  font-weight: 700;
  font-style: italic;
  font-size: 14px;
  white-space: nowrap;
  opacity: 0;
  text-shadow: 0 2px 4px rgba(255,255,255,1), 0 0 8px rgba(191,223,255,0.6);
  pointer-events: none;
}

.music-btn:not(.paused) .floating-word {
  animation: floatWordAnim 5s ease-in-out infinite;
}

.music-btn:not(.paused) .floating-word:nth-child(1) { animation-delay: 0s; left: -15px; font-size: 15px; }
.music-btn:not(.paused) .floating-word:nth-child(2) { animation-delay: 1.2s; left: 35px; font-size: 12px; }
.music-btn:not(.paused) .floating-word:nth-child(3) { animation-delay: 2.5s; left: -5px; font-size: 16px; }
.music-btn:not(.paused) .floating-word:nth-child(4) { animation-delay: 3.8s; left: 25px; font-size: 13px; }

@keyframes floatWordAnim {
  0% { transform: translate(0, 0) scale(0.6) rotate(-8deg); opacity: 0; }
  20% { opacity: 1; transform: translate(-12px, -25px) scale(1) rotate(5deg); }
  50% { opacity: 0.8; transform: translate(12px, -60px) scale(1.1) rotate(-5deg); }
  80% { opacity: 0.4; transform: translate(-8px, -90px) scale(1.15) rotate(3deg); }
  100% { transform: translate(5px, -120px) scale(1.2) rotate(0deg); opacity: 0; }
}

/* Botón WhatsApp */
.whatsapp-btn {
  background-color: #25D366;
  text-decoration: none;
}

.whatsapp-btn svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* ==========================================================================
   MODAL DE OPCIONES DE CALENDARIO
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-overlay);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.modal-overlay:not(.hide) {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background-color: white;
  border-radius: var(--border-radius-lg);
  width: 90%;
  max-width: 400px;
  box-shadow: var(--shadow-premium);
  overflow: hidden;
  animation: modalScaleUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

@keyframes modalScaleUp {
  0% { transform: scale(0.8) translateY(30px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--color-gris-claro);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-title {
  font-family: var(--font-decorativa);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-texto-oscuro);
}

.modal-close-btn {
  background: none;
  border: none;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  color: var(--color-texto-suave);
  transition: color var(--transition-fast);
}

.modal-close-btn:hover {
  color: var(--color-texto-oscuro);
}

.modal-body {
  padding: 24px;
}

.modal-desc {
  font-family: var(--font-secundaria);
  font-size: 0.95rem;
  color: var(--color-texto-suave);
  margin-bottom: 20px;
}

.calendar-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.calendar-opt-btn {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border-radius: var(--border-radius-sm);
  background-color: var(--color-blanco-marfil);
  border: 1px solid var(--color-gris-claro);
  text-decoration: none;
  color: var(--color-texto-oscuro);
  font-family: var(--font-principal);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.calendar-opt-btn:hover {
  background-color: var(--color-azul-pastel);
  border-color: var(--color-azul-grisaceo);
  transform: translateY(-2px);
}

.cal-logo {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  margin-right: 12px;
  background-color: white;
  box-shadow: var(--shadow-suave);
}

.google-color {
  color: #4285F4;
}

.ical-color {
  color: var(--color-azul-grisaceo);
}

.calendar-opt-btn svg {
  width: 16px;
  height: 16px;
}

/* ==========================================================================
   TOAST NOTIFICACIONES
   ========================================================================== */
.toast-notification {
  position: fixed;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background-color: var(--color-texto-oscuro);
  color: var(--color-blanco-marfil);
  padding: 12px 24px;
  border-radius: 50px;
  font-family: var(--font-secundaria);
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: var(--shadow-float);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.toast-notification:not(.hide) {
  opacity: 0.95;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   FOOTER Y CIERRE
   ========================================================================== */
.footer {
  background: linear-gradient(180deg, rgba(191,223,255,0.3) 0%, rgba(191,223,255,0.6) 100%);
  padding: 70px 0 110px;
  border-top: none;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-premium);
}

.footer-decor {
  animation: floatFooterDecor 4s infinite ease-in-out;
}

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

.footer-msg {
  font-family: var(--font-decorativa);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-texto-oscuro);
  margin-bottom: 10px;
  font-style: italic;
}

.footer-parents {
  font-family: var(--font-principal);
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-texto-suave);
  margin-bottom: 24px;
}

.footer-parents span {
  font-weight: 700;
  color: var(--color-texto-oscuro);
}

.footer-copyright {
  font-family: var(--font-secundaria);
  font-size: 0.8rem;
  color: var(--color-texto-suave);
  opacity: 0.7;
}

/* ==========================================================================
   ANIMACIONES DE SCROLL (Intersection Observer)
   ========================================================================== */
.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   DISEÑO RESPONSIVO (MEDIA QUERIES)
   ========================================================================== */

/* Dispositivos Medianos (Tablets en adelante) */
@media (min-width: 600px) {
  .countdown-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
  
  .countdown-card {
    padding: 30px 10px;
  }
  
  .countdown-val {
    font-size: 3.5rem;
  }
}

@media (min-width: 768px) {
  .section {
    padding: 100px 0;
  }
  
  /* Hero */
  .hero-illustration {
    max-width: 320px;
  }
  
  .hero-actions {
    flex-direction: row;
    justify-content: center;
    gap: 20px;
  }
  
  .hero-extra-btns {
    gap: 16px;
  }
  
  .btn-icon-only {
    width: auto;
    height: auto;
    border-radius: 50px;
    padding: 12px 24px;
  }
  
  .btn-label-desktop {
    display: inline;
    margin-left: 8px;
    font-size: 0.95rem;
  }
  
  /* Grilla de info */
  .info-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  
  /* RSVP Form */
  .rsvp-card {
    padding: 50px;
  }
  
  .form-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .form-group.span-2 {
    grid-column: span 2;
  }
  
  /* Timeline */
  .timeline-container {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 20px;
    padding-left: 0;
    margin-top: 60px;
  }
  
  .timeline-line {
    top: 14px;
    left: 0;
    width: 100%;
    height: 2px;
  }
  
  .timeline-item {
    flex: 1;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .timeline-marker {
    position: relative;
    left: 0;
    top: 6px;
    margin-bottom: 24px;
  }
  
  .timeline-content {
    height: 100%;
    display: flex;
    flex-direction: column;
  }
  
  .timeline-item.active .timeline-content {
    border-left: none;
    border-top: 4px solid var(--color-azul-grisaceo);
  }
  
  /* Botones flotantes */
  .floating-controls {
    bottom: 30px;
    left: 30px;
    right: 30px;
  }
}

/* Escritorio Grande */
@media (min-width: 1024px) {
  .info-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .map-card {
    display: grid;
    grid-template-columns: 2fr 1.2fr;
    align-items: stretch;
  }
  
  .map-iframe-wrapper {
    height: 350px;
  }
  
  .map-footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    padding: 40px;
  }
  
  .map-footer .btn {
    align-self: stretch;
  }
}

/* ==========================================================================
   ESTILOS DE FONDO DINÁMICOS: COSITAS DE BEBÉ Y NUBES DE FONDO
   ========================================================================== */
.baby-bg-elements {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.floating-bg-item {
  position: absolute;
  opacity: 0.08; /* Muy sutil para no obstaculizar la lectura */
  animation: floatBgItem 15s infinite ease-in-out;
  transform-origin: center;
  pointer-events: none;
}

@keyframes floatBgItem {
  0%, 100% {
    transform: translateY(0) rotate(0deg) scale(1);
  }
  50% {
    transform: translateY(-25px) rotate(12deg) scale(1.08);
  }
}

/* Nubes de fondo que se desplazan lentamente */
.bg-clouds-decor {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
}

.bg-cloud {
  position: absolute;
  pointer-events: none;
  filter: blur(2px);
}

.bg-cloud-1 {
  top: 10%;
  left: -250px;
  animation: floatCloudLeftToRight 80s linear infinite;
}

.bg-cloud-2 {
  top: 45%;
  right: -200px;
  animation: floatCloudRightToLeft 95s linear infinite;
}

.bg-cloud-3 {
  top: 75%;
  left: -250px;
  animation: floatCloudLeftToRight 110s linear infinite;
  animation-delay: -20s;
}

@keyframes floatCloudLeftToRight {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(100vw + 300px));
  }
}

@keyframes floatCloudRightToLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-100vw - 300px));
  }
}
