/* ==========================================================================
   PLANTILLA BABY SHOWER - DULCE AMELIA (BABYSHOWER_1)
   Inspirada fielmente en la imagen de osito con globos, lazo rosa y doble arco
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. VARIABLES DE COLOR Y FUENTES
   -------------------------------------------------------------------------- */
:root {
  /* Paleta cromática idéntica a la muestra adjunta */
  --bs-rosa-arco: #ffdce5;       /* Rosa rubor suave del arco exterior */
  --bs-rosa-arco-borde: #fbd3de; /* Borde sutil del arco exterior */
  --bs-rosa-fondo: #b96a79;      /* Terracota malva / rosa viejo del arco interior */
  --bs-rosa-fondo-dark: #a25665; /* Sombra o hover del rosa viejo */
  --bs-marron-texto: #73413f;    /* Marrón cálido para títulos BABY Shower */
  --bs-marron-oscuro: #542b2a;   /* Marrón chocolate para lectura */
  --bs-crema-papel: #fcf8f6;     /* Crema papel acuarela de fondo */
  --bs-crema-suave: #fff7f9;     /* Blanco cálido para tarjetas */
  --bs-dorado-suave: #dfb278;    /* Acento dorado cálido */
  --bs-dorado-luz: #fcebc7;      /* Destellos dorados */
  --bs-blanco: #ffffff;
  --bs-sombra-suave: rgba(115, 65, 63, 0.12);
  --bs-sombra-fuerte: rgba(115, 65, 63, 0.25);

  /* Tipografías */
  --font-serif: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --font-script: 'Great Vibes', 'Alex Brush', 'Sacramento', cursive;
  --font-body: 'Montserrat', sans-serif;
}

/* --------------------------------------------------------------------------
   2. REINICIO Y CONFIGURACIÓN GLOBAL
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100%;
  font-family: var(--font-body);
  background-color: var(--bs-crema-papel);
  color: var(--bs-marron-oscuro);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Fondo Ambiental en Pantalla Completa para PC y Móvil */
.bg-ambiental-wrap {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 20%, #fffdfb 0%, #fdf2f4 55%, #fce9ee 100%);
  overflow: hidden;
}

/* Decoraciones ambientales en los costados para PC y pantallas amplias */
.decoracion-lateral {
  position: absolute;
  pointer-events: none;
  opacity: 0.92;
  transition: transform 0.5s ease-out;
  z-index: 0;
}

/* Ositos tiernos en los costados de la pantalla */
.decoracion-lateral.oso-lateral-izq {
  top: 14%;
  left: 1.5%;
  width: 155px;
  animation: floatLateralBear 7s ease-in-out infinite alternate;
  filter: drop-shadow(0 10px 20px rgba(185, 106, 121, 0.22));
}

.decoracion-lateral.oso-lateral-der {
  bottom: 15%;
  right: 1.8%;
  width: 165px;
  animation: floatLateralBear 8s ease-in-out infinite alternate 1s;
  filter: drop-shadow(0 10px 20px rgba(185, 106, 121, 0.22));
}

/* Moños rosa acuarela en los costados */
.decoracion-lateral.lazo-lateral-izq {
  bottom: 24%;
  left: 2.5%;
  width: 105px;
  animation: floatGentle 5s ease-in-out infinite alternate 0.5s;
  filter: drop-shadow(0 6px 14px rgba(185, 106, 121, 0.2));
}

.decoracion-lateral.lazo-lateral-der {
  top: 16%;
  right: 2.5%;
  width: 110px;
  animation: floatGentle 5.5s ease-in-out infinite alternate 1.2s;
  filter: drop-shadow(0 6px 14px rgba(185, 106, 121, 0.2));
}

.decoracion-lateral.nube-izq {
  top: 35%;
  left: -40px;
  width: 240px;
  opacity: 0.75;
  animation: floatCloudLeft 16s ease-in-out infinite alternate;
}

.decoracion-lateral.nube-der {
  top: 48%;
  right: -50px;
  width: 260px;
  opacity: 0.75;
  animation: floatCloudRight 18s ease-in-out infinite alternate;
}

.decoracion-lateral.estrella-1 {
  top: 6%;
  right: 12%;
  width: 38px;
  animation: twinkleStar 4s ease-in-out infinite alternate;
}

.decoracion-lateral.estrella-2 {
  top: 28%;
  left: 6%;
  width: 34px;
  animation: twinkleStar 5s ease-in-out infinite alternate 1.5s;
}

.decoracion-lateral.estrella-3 {
  bottom: 10%;
  right: 8%;
  width: 44px;
  animation: twinkleStar 6s ease-in-out infinite alternate 0.8s;
}

@keyframes floatLateralBear {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-16px) rotate(2deg) scale(1.02); }
  100% { transform: translateY(-28px) rotate(-1.5deg) scale(0.98); }
}

@keyframes floatCloudLeft {
  0% { transform: translateY(0px) translateX(0px); }
  100% { transform: translateY(-22px) translateX(28px); }
}

@keyframes floatCloudRight {
  0% { transform: translateY(0px) translateX(0px); }
  100% { transform: translateY(24px) translateX(-24px); }
}

@keyframes twinkleStar {
  0% { transform: scale(0.9) rotate(0deg); opacity: 0.6; }
  50% { transform: scale(1.15) rotate(10deg); opacity: 1; filter: drop-shadow(0 0 8px rgba(223, 178, 120, 0.6)); }
  100% { transform: scale(0.95) rotate(-5deg); opacity: 0.7; }
}

/* En pantallas móviles ocultar osos/lazos de fixed background para no estorbar el texto */
@media (max-width: 900px) {
  .decoracion-lateral.oso-lateral-izq,
  .decoracion-lateral.oso-lateral-der,
  .decoracion-lateral.lazo-lateral-izq,
  .decoracion-lateral.lazo-lateral-der {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   3. CONTENEDOR PRINCIPAL RESPONSIVO (EXPANDIDO PARA ABARCAR PANTALLA)
   -------------------------------------------------------------------------- */
.invitacion-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 880px; /* Amplio en PC para lucir espectacular y no verse pequeño ni angosto */
  margin: 0 auto;
  min-height: 100vh;
  padding: 24px 16px 80px 16px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

@media (max-width: 576px) {
  .invitacion-container {
    padding: 10px 8px 45px 8px;
    gap: 22px;
  }
}

@media (min-width: 768px) {
  .invitacion-container {
    max-width: 780px;
    padding: 32px 20px 80px 20px;
    gap: 40px;
  }
}

@media (min-width: 1024px) {
  .invitacion-container {
    max-width: 900px;
    padding: 40px 24px 90px 24px;
    gap: 46px;
  }
}

/* --------------------------------------------------------------------------
   4. SOBRE INTERACTIVO DE ENTRADA (MODAL BIENVENIDA)
   -------------------------------------------------------------------------- */
#modalBienvenida {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 99999;
  background: rgba(253, 248, 246, 0.96);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s;
}

#modalBienvenida.abierto {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.sobre-baby-wrap {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: var(--bs-blanco);
  border-radius: 30px;
  padding: 38px 24px 32px 24px;
  text-align: center;
  box-shadow: 0 25px 50px -12px rgba(115, 65, 63, 0.28), 0 0 0 1px rgba(185, 106, 121, 0.15);
  overflow: hidden;
  border: 2px solid #fedee6;
}

.sobre-solapa-superior {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 90px;
  background: linear-gradient(180deg, #fcdde4 0%, #fbd5df 100%);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  transform-origin: top center;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 10px rgba(185, 106, 121, 0.15);
}

.sobre-baby-wrap.animar-apertura .sobre-solapa-superior {
  transform: rotateX(180deg);
}

.sobre-lazo-top {
  width: 95px;
  height: auto;
  margin-top: 10px;
  margin-bottom: 8px;
  filter: drop-shadow(0 4px 6px rgba(185, 106, 121, 0.2));
  animation: floatGentle 3.5s ease-in-out infinite alternate;
}

.sobre-script-intro {
  display: block;
  font-family: var(--font-script);
  font-size: 1.85rem;
  color: var(--bs-rosa-fondo);
  line-height: 1.1;
  margin-bottom: 2px;
}

.sobre-titulo-principal {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--bs-marron-texto);
  margin: 0 0 6px 0;
  text-transform: uppercase;
}

.sobre-nombre-bebe {
  display: block;
  font-family: var(--font-script);
  font-size: 3.4rem;
  color: var(--bs-rosa-fondo);
  line-height: 1;
  margin: 8px 0 16px 0;
  text-shadow: 0 2px 4px rgba(185, 106, 121, 0.15);
}

.sobre-sello-wrap {
  position: relative;
  width: 95px;
  height: 95px;
  margin: 0 auto 20px auto;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sobre-sello-wrap:hover {
  transform: scale(1.08) rotate(3deg);
}

.sobre-sello-img {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 8px 12px rgba(115, 65, 63, 0.3));
}

.btn-abrir-sobre {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #b96a79 0%, #a45867 100%);
  color: var(--bs-blanco);
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 13px 32px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 22px -4px rgba(185, 106, 121, 0.5);
  transition: all 0.3s ease;
  width: 100%;
  max-width: 290px;
}

.btn-abrir-sobre:hover {
  background: linear-gradient(135deg, #a45867 0%, #8f4654 100%);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -4px rgba(185, 106, 121, 0.65);
}

/* --------------------------------------------------------------------------
   5. BOTÓN FLOTANTE DE MÚSICA
   -------------------------------------------------------------------------- */
.btn-toggle-musica {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--bs-blanco);
  border: 2px solid var(--bs-rosa-fondo);
  color: var(--bs-rosa-fondo);
  box-shadow: 0 8px 20px rgba(185, 106, 121, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  z-index: 9999;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  outline: none;
}

.btn-toggle-musica:hover {
  transform: scale(1.12);
  background: #fff8fa;
}

.btn-toggle-musica.reproduciendo {
  background: var(--bs-rosa-fondo);
  color: var(--bs-blanco);
  animation: pulseMusic 2.5s infinite;
}

.btn-toggle-musica.reproduciendo i {
  animation: spinMusic 5s linear infinite;
}

@keyframes pulseMusic {
  0% { box-shadow: 0 0 0 0 rgba(185, 106, 121, 0.6); }
  70% { box-shadow: 0 0 0 14px rgba(185, 106, 121, 0); }
  100% { box-shadow: 0 0 0 0 rgba(185, 106, 121, 0); }
}

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

/* --------------------------------------------------------------------------
   6. SECCIÓN HERO / PORTADA: ARCOS DESPLAZADOS / SEPARADOS (IMAGEN 2)
   -------------------------------------------------------------------------- */
.seccion-portada-baby {
  position: relative;
  width: 100%;
}

.portada-canvas-wrap {
  position: relative;
  width: 100%;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  border: none;
  padding: 10px 0 20px 0;
  overflow: visible;
}

@media (min-width: 480px) {
  .portada-canvas-wrap {
    padding: 15px 0 30px 0;
  }
}

/* 1. ARCO DERECHO / SUPERIOR (ROSA PASTEL CLARO #ffdce5) */
.arco-fondo-derecho {
  position: absolute;
  top: 12px;
  right: 0;
  width: 76%;
  bottom: 25px;
  background-color: var(--bs-rosa-arco);
  border-top-left-radius: 220px;
  border-top-right-radius: 220px;
  border-bottom-right-radius: 34px;
  border-bottom-left-radius: 22px;
  z-index: 1;
  box-shadow: 0 12px 30px rgba(185, 106, 121, 0.16);
}

@media (min-width: 480px) {
  .arco-fondo-derecho {
    top: 15px;
    right: 0;
    bottom: 32px;
    border-top-left-radius: 260px;
    border-top-right-radius: 260px;
    border-bottom-right-radius: 38px;
  }
}

@media (min-width: 768px) {
  .arco-fondo-derecho {
    top: 18px;
    right: 0;
    width: 74%;
    bottom: 40px;
    border-top-left-radius: 340px;
    border-top-right-radius: 340px;
    border-bottom-right-radius: 44px;
    border-bottom-left-radius: 28px;
  }
}

/* Moño Rosa centrado en la cúspide del arco derecho */
.hero-lazo-top {
  position: absolute;
  top: -38px;
  left: 50%;
  transform: translateX(-50%);
  width: 145px;
  height: auto;
  z-index: 8;
  filter: drop-shadow(0 6px 10px rgba(185, 106, 121, 0.28));
  animation: floatGentle 4s ease-in-out infinite alternate;
}

@media (min-width: 480px) {
  .hero-lazo-top {
    top: -44px;
    width: 165px;
  }
}

@media (min-width: 768px) {
  .hero-lazo-top {
    top: -50px;
    width: 195px;
  }
}

/* Títulos "BABY Shower" en el arco derecho - Despegados y con respiro */
.hero-cabecera-titulos {
  text-align: center;
  padding: 78px 14px 22px 14px;
  position: relative;
  z-index: 2;
}

@media (min-width: 480px) {
  .hero-cabecera-titulos {
    padding: 85px 18px 24px 18px;
  }
}

@media (min-width: 768px) {
  .hero-cabecera-titulos {
    padding: 98px 24px 30px 24px;
  }
}

.hero-baby-tag {
  font-family: var(--font-serif);
  font-size: clamp(2.3rem, 7.5vw, 3.8rem);
  font-weight: 700;
  letter-spacing: clamp(4px, 1.2vw, 8px);
  color: var(--bs-marron-texto);
  line-height: 1.15;
  text-transform: uppercase;
  margin: 0 0 10px 0; /* Despegado completamente de Shower */
  display: block;
}

@media (min-width: 768px) {
  .hero-baby-tag {
    font-size: clamp(3.2rem, 5vw, 4.8rem);
    letter-spacing: clamp(5px, 0.8vw, 9px);
    margin-bottom: 12px;
  }
}

.hero-shower-tag {
  font-family: var(--font-script);
  font-size: clamp(3.4rem, 10vw, 5.4rem);
  color: var(--bs-marron-texto);
  line-height: 1.1;
  margin: 0; /* Sin margen negativo para evitar encimarse */
  display: block;
}

@media (min-width: 768px) {
  .hero-shower-tag {
    font-size: clamp(4.2rem, 7vw, 6.2rem);
  }
}

/* Osito tierno con globos de acuarela flotando (lado izquierdo arriba) */
.hero-oso-globos-wrap {
  position: absolute;
  top: 8px;
  left: -10px;
  width: 140px;
  z-index: 5;
  pointer-events: none;
  animation: floatGentle 5s ease-in-out infinite alternate;
}

@media (min-width: 480px) {
  .hero-oso-globos-wrap {
    top: 10px;
    left: -15px;
    width: 175px;
  }
}

@media (min-width: 768px) {
  .hero-oso-globos-wrap {
    top: 12px;
    left: -20px;
    width: 215px;
  }
}

.hero-oso-img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 16px rgba(115, 65, 63, 0.2));
}

@keyframes floatGentle {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(1.5deg); }
  100% { transform: translateY(-16px) rotate(-1.5deg); }
}

/* Estrellitas en la franja lateral derecha */
.hero-estrella-flotante {
  position: absolute;
  pointer-events: none;
  z-index: 6;
}

.hero-estrella-flotante.der-top {
  top: 48px;
  right: 18px;
  width: 26px;
  animation: twinkleStar 3.5s ease-in-out infinite alternate;
}

.hero-estrella-flotante.der-mid {
  top: 58%;
  right: 12px;
  width: 32px;
  animation: twinkleStar 4.2s ease-in-out infinite alternate 1s;
}

.hero-estrella-flotante.der-bot {
  bottom: 45px;
  right: 14px;
  width: 28px;
  animation: twinkleStar 4.8s ease-in-out infinite alternate 2s;
}

.hero-nube-lateral-der {
  position: absolute;
  top: 44%;
  right: -14px;
  width: 78px;
  z-index: 5;
  pointer-events: none;
  opacity: 0.92;
  filter: drop-shadow(0 4px 8px rgba(185, 106, 121, 0.15));
}

/* 2. ARCO IZQUIERDO / FRONTAL (ROSA VIEJO / MALVA #b96a79) */
.arco-fondo-izquierdo {
  position: relative;
  z-index: 3;
  margin-top: 255px; /* Despegado de los títulos en móvil para no tapar Shower */
  width: 84%;
  margin-left: 0;
  margin-right: auto;
  background-color: var(--bs-rosa-fondo);
  border-top-left-radius: 190px;
  border-top-right-radius: 190px;
  border-bottom-left-radius: 28px;
  border-bottom-right-radius: 22px;
  padding: 44px 16px 32px 16px;
  text-align: center;
  color: var(--bs-blanco);
  box-shadow: 0 16px 36px rgba(115, 65, 63, 0.26), inset 0 2px 8px rgba(255, 255, 255, 0.12);
}

@media (min-width: 480px) {
  .arco-fondo-izquierdo {
    margin-top: 285px;
    width: 83%;
    border-top-left-radius: 230px;
    border-top-right-radius: 230px;
    border-bottom-left-radius: 32px;
    border-bottom-right-radius: 26px;
    padding: 52px 24px 38px 24px;
  }
}

@media (min-width: 768px) {
  .arco-fondo-izquierdo {
    margin-top: 330px;
    width: 82%;
    border-top-left-radius: 320px;
    border-top-right-radius: 320px;
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 34px;
    padding: 68px 38px 46px 38px;
  }
}

/* Nube en la esquina inferior izquierda */
.hero-nube-esquina-izq {
  position: absolute;
  bottom: -10px;
  left: -14px;
  width: 95px;
  height: auto;
  z-index: 5;
  pointer-events: none;
  filter: drop-shadow(0 4px 8px rgba(115, 65, 63, 0.18));
}

@media (min-width: 480px) {
  .hero-nube-esquina-izq {
    bottom: -12px;
    left: -18px;
    width: 120px;
  }
}

.hero-subfrase {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  color: #fff4f6;
  max-width: 280px;
  margin: 0 auto 10px auto;
  line-height: 1.4;
}

.hero-nombre-bebe {
  font-family: var(--font-script);
  font-size: clamp(3.8rem, 12.5vw, 5.2rem);
  font-weight: normal;
  color: var(--bs-blanco);
  line-height: 1;
  margin: 0 0 16px 0;
  text-shadow: 0 3px 8px rgba(90, 35, 45, 0.35);
}

/* Bloque de Fecha Elegante con líneas divisorias (Idéntico a Imagen 2) */
.hero-fecha-grid {
  width: 100%;
  max-width: 320px;
  margin: 14px auto 16px auto;
  color: var(--bs-blanco);
}

.fecha-separador-sup {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 6px;
}

.fecha-separador-sup .fecha-linea {
  flex: 1;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.75);
}

.fecha-mes-central {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #fff;
}

.fecha-cuerpo-principal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 4px;
}

.fecha-dia-semana {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  flex: 1;
  text-align: left;
}

.fecha-numero-grande {
  font-family: var(--font-serif);
  font-size: 3.2rem;
  font-weight: 600;
  line-height: 1;
  margin: 0 8px;
  flex-shrink: 0;
  color: var(--bs-blanco);
}

.fecha-hora {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  flex: 1;
  text-align: right;
  white-space: nowrap;
}

.fecha-linea-inf {
  display: block;
  width: 100%;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.75);
  margin-top: 6px;
}

/* Lugar del evento en el arco */
.hero-lugar-evento {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 400;
  color: #fff0f3;
  margin: 14px auto 14px auto;
  line-height: 1.35;
  max-width: 290px;
}

/* "¡Te esperamos!" manuscrito */
.hero-te-esperamos {
  font-family: var(--font-script);
  font-size: 2.8rem;
  color: var(--bs-blanco);
  margin: 12px 0 10px 0;
  line-height: 1;
}

/* Confirmación de asistencia dentro del arco */
.hero-rsvp-bloque {
  font-size: 0.85rem;
  color: #ffe9ee;
  line-height: 1.45;
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px dashed rgba(255, 255, 255, 0.35);
}

.hero-rsvp-bloque strong {
  color: var(--bs-blanco);
}

/* --------------------------------------------------------------------------
   7. CONTADOR REGRESIVO
   -------------------------------------------------------------------------- */
.cuenta-regresiva-wrap {
  margin: 18px 0 6px 0;
  padding-top: 12px;
  border-top: 1px dashed rgba(255, 255, 255, 0.3);
}

.cuenta-regresiva-titulo {
  font-family: var(--font-serif);
  font-size: 0.92rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #ffe5ec;
  margin-bottom: 10px;
}

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

.countdown-item {
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 14px;
  padding: 8px 4px;
  text-align: center;
}

.countdown-numero {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--bs-blanco);
  line-height: 1;
}

.countdown-etiqueta {
  display: block;
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #ffe0e8;
  margin-top: 4px;
}

/* --------------------------------------------------------------------------
   8. TARJETAS DE SECCIONES INTERIORES (ESTILO ARCO Y ACUARELA)
   -------------------------------------------------------------------------- */
.tarjeta-baby-card {
  position: relative;
  background: var(--bs-blanco);
  border-radius: 28px;
  padding: 34px 22px;
  box-shadow: 0 14px 34px -8px var(--bs-sombra-suave), 0 0 0 1px rgba(185, 106, 121, 0.12);
  overflow: hidden;
  border-top: 5px solid var(--bs-rosa-fondo);
}

.tarjeta-baby-card.fondo-crema {
  background: linear-gradient(180deg, #fffdfc 0%, #fff7f9 100%);
}

.tarjeta-baby-header {
  text-align: center;
  margin-bottom: 22px;
  position: relative;
}

.tarjeta-baby-subtitulo {
  font-family: var(--font-script);
  font-size: 2.1rem;
  color: var(--bs-rosa-fondo);
  line-height: 1;
  display: block;
  margin-bottom: 2px;
}

.tarjeta-baby-titulo {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--bs-marron-texto);
  text-transform: uppercase;
  margin: 0;
}

.tarjeta-divisor {
  width: 140px;
  height: auto;
  margin: 10px auto 0 auto;
  display: block;
}

/* --------------------------------------------------------------------------
   9. SECCIÓN PADRES / FUTUROS PAPÁS (DINÁMICA: 1 FOTO CENTRADA O 2 FOTOS)
   -------------------------------------------------------------------------- */
.padres-contenedor-dinamico {
  width: 100%;
  margin-top: 10px;
}

/* Modo 1: Foto Única Centrada (o sin foto) */
.padres-layout-centrado {
  text-align: center;
  padding: 10px 0;
}

.padre-foto-centrada-wrap {
  position: relative;
  width: 135px;
  height: 135px;
  margin: 0 auto 20px auto;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, #ffdce5 0%, #b96a79 100%);
  box-shadow: 0 14px 28px -6px rgba(185, 106, 121, 0.35);
  animation: floatGentle 5s ease-in-out infinite alternate;
}

@media (min-width: 768px) {
  .padre-foto-centrada-wrap {
    width: 165px;
    height: 165px;
    margin-bottom: 24px;
  }
}

.padre-foto-centrada {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #fff;
  display: block;
}

.padres-nombres-centrados {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px 28px;
  margin-top: 6px;
}

.padre-nombre-bloque {
  text-align: center;
  min-width: 140px;
}

.padres-union-simbolo {
  font-family: var(--font-script);
  font-size: 2.8rem;
  color: var(--bs-rosa-fondo);
  line-height: 1;
  opacity: 0.85;
  user-select: none;
}

/* Modo 2: Dos Fotos en Grid (solo si suben ambas fotos) */
.padres-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  text-align: center;
  margin-top: 14px;
}

@media (min-width: 768px) {
  .padres-grid {
    gap: 32px;
  }
}

.padre-card {
  background: #fff8fa;
  border: 1px solid #fedfe5;
  border-radius: 24px;
  padding: 22px 14px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.padre-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(185, 106, 121, 0.18);
}

.padre-foto-wrap {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin: 0 auto 14px auto;
  padding: 3px;
  background: linear-gradient(135deg, #ffdce5 0%, #b96a79 100%);
  box-shadow: 0 8px 18px rgba(185, 106, 121, 0.22);
  overflow: hidden;
}

@media (min-width: 768px) {
  .padre-foto-wrap {
    width: 115px;
    height: 115px;
  }
}

.padre-foto {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  background: #fdecf0;
  border: 2px solid #fff;
  display: block;
}

.padre-rol {
  font-family: var(--font-script);
  font-size: 1.65rem;
  color: var(--bs-rosa-fondo);
  display: block;
  line-height: 1;
  margin-bottom: 3px;
}

.padre-nombre {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--bs-marron-texto);
  margin: 0;
}

/* --------------------------------------------------------------------------
   10. ITINERARIO DEL BABY SHOWER (TIMELINE)
   -------------------------------------------------------------------------- */
.timeline-baby-wrap {
  position: relative;
  padding: 10px 0;
}

.timeline-baby-wrap::before {
  content: '';
  position: absolute;
  top: 15px;
  bottom: 15px;
  left: 28px;
  width: 2px;
  background: repeating-linear-gradient(180deg, #b96a79, #b96a79 6px, transparent 6px, transparent 12px);
}

.timeline-item {
  position: relative;
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

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

.timeline-icono-wrap {
  position: relative;
  z-index: 2;
  width: 58px;
  height: 58px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffdce5 0%, #fcd4de 100%);
  border: 2px solid var(--bs-rosa-fondo);
  color: var(--bs-rosa-fondo);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  box-shadow: 0 6px 12px rgba(185, 106, 121, 0.2);
}

.timeline-contenido {
  flex-grow: 1;
  background: #fff8fa;
  border-radius: 18px;
  padding: 14px 18px;
  border: 1px solid #fee6ec;
}

.timeline-hora {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--bs-rosa-fondo);
  background: #ffe3eb;
  padding: 2px 10px;
  border-radius: 20px;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.timeline-titulo {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--bs-marron-texto);
  margin: 0 0 4px 0;
}

.timeline-desc {
  font-size: 0.85rem;
  color: #6d5452;
  margin: 0;
  line-height: 1.35;
}

/* --------------------------------------------------------------------------
   11. CÓDIGO DE VESTIMENTA
   -------------------------------------------------------------------------- */
.vestimenta-caja {
  background: #fff8fa;
  border-radius: 20px;
  border: 1px solid #fee1e7;
  padding: 20px;
  text-align: center;
}

.vestimenta-icono {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: #ffdce5;
  color: var(--bs-rosa-fondo);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 12px auto;
}

.vestimenta-tipo {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--bs-marron-texto);
  margin-bottom: 6px;
}

.vestimenta-desc {
  font-size: 0.88rem;
  color: #6d5452;
  line-height: 1.4;
  margin-bottom: 14px;
}

.swatches-paleta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.swatch-circulo {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--bs-blanco);
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

/* --------------------------------------------------------------------------
   12. MESA DE REGALOS / LLUVIA DE SOBRES
   -------------------------------------------------------------------------- */
.regalos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 600px) {
  .regalos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (min-width: 860px) {
  .regalos-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
}

.regalo-item-card {
  background: #fff8fa;
  border: 1px solid #fedfe5;
  border-radius: 20px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: transform 0.3s ease;
}

.regalo-item-card:hover {
  transform: translateY(-2px);
}

.regalo-icono-caja {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 16px;
  background: #ffdce5;
  color: var(--bs-rosa-fondo);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.regalo-info {
  flex-grow: 1;
}

.regalo-tienda-nombre {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--bs-marron-texto);
  margin: 0 0 2px 0;
}

.regalo-evento-txt {
  font-size: 0.82rem;
  color: #7b5f5d;
  margin: 0;
}

.btn-regalo-accion {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bs-rosa-fondo);
  color: var(--bs-blanco);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(185, 106, 121, 0.3);
  transition: all 0.25s ease;
}

.btn-regalo-accion:hover {
  background: var(--bs-rosa-fondo-dark);
  color: var(--bs-blanco);
  transform: scale(1.04);
}

/* --------------------------------------------------------------------------
   13. GALERÍA DE FOTOS (FANCYBOX INTEGRADO)
   -------------------------------------------------------------------------- */
.galeria-baby-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

@media (min-width: 768px) {
  .galeria-baby-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
}

.galeria-baby-grid > [data-seccion-repetible="Galería"],
.galeria-baby-grid > div {
  display: block;
  width: 100%;
}

.galeria-baby-item {
  display: block;
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(115, 65, 63, 0.12);
  aspect-ratio: 1 / 1;
  background: #fdecf0;
  border: 3px solid #fedfe5;
  cursor: pointer;
  text-decoration: none;
}

.galeria-baby-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.galeria-baby-item:hover img {
  transform: scale(1.08);
}

.galeria-baby-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(185, 106, 121, 0.72) 100%);
  opacity: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 14px;
  color: var(--bs-blanco);
  font-size: 1.3rem;
  transition: opacity 0.3s ease;
}

.galeria-baby-item:hover .galeria-baby-overlay {
  opacity: 1;
}

/* --------------------------------------------------------------------------
   14. UBICACIÓN DEL EVENTO
   -------------------------------------------------------------------------- */
.ubicacion-card {
  text-align: center;
}

.ubicacion-card + .ubicacion-card {
  margin-top: 36px;
  padding-top: 30px;
  border-top: 1px dashed #fedfe5;
}

.ubicacion-icono-pin {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: #ffdce5;
  color: var(--bs-rosa-fondo);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 14px auto;
  box-shadow: 0 6px 14px rgba(185, 106, 121, 0.2);
}

.ubicacion-nombre-lugar {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--bs-marron-texto);
  margin-bottom: 6px;
}

.ubicacion-direccion-txt {
  font-size: 0.92rem;
  color: #6d5452;
  margin-bottom: 18px;
  line-height: 1.4;
}

.btn-mapa-accion {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #b96a79 0%, #a45867 100%);
  color: var(--bs-blanco);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 12px 26px;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(185, 106, 121, 0.4);
  transition: all 0.3s ease;
}

.btn-mapa-accion:hover {
  background: linear-gradient(135deg, #a45867 0%, #8f4654 100%);
  color: var(--bs-blanco);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   15. BOTÓN CONFIRMAR ASISTENCIA WHATSAPP (RSVP)
   -------------------------------------------------------------------------- */
.rsvp-whatsapp-box {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  border-radius: 24px;
  padding: 24px 20px;
  text-align: center;
  color: var(--bs-blanco);
  box-shadow: 0 12px 28px rgba(18, 140, 126, 0.35);
}

.rsvp-whatsapp-titulo {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.rsvp-whatsapp-desc {
  font-size: 0.88rem;
  opacity: 0.95;
  margin-bottom: 16px;
}

.btn-whatsapp-confirmar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--bs-blanco);
  color: #128C7E;
  font-weight: 700;
  font-size: 1rem;
  padding: 12px 28px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.25s ease;
}

.btn-whatsapp-confirmar:hover {
  transform: translateY(-2px);
  background: #f7fffa;
  color: #0b695e;
}

/* --------------------------------------------------------------------------
   16. FOOTER TIERNO
   -------------------------------------------------------------------------- */
.footer-baby {
  text-align: center;
  padding: 20px 0 10px 0;
  color: #927574;
}

.footer-frase {
  font-family: var(--font-script);
  font-size: 2.3rem;
  color: var(--bs-rosa-fondo);
  margin-bottom: 4px;
}

.footer-copy {
  font-size: 0.78rem;
  letter-spacing: 1px;
}


/* Bloqueo de scroll antes de abrir la invitación */
html.invitia-bloqueo-scroll,
body.invitia-bloqueo-scroll,
body.invitia-sobre-cerrado {
  overflow: hidden !important;
  height: 100% !important;
  height: 100vh !important;
  height: 100dvh !important;
  touch-action: none;
}
