html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow-x: hidden;
  background-color: var(--pastel-fondo);
}


/* Fuente elegante para párrafos y textos de contenido */
p,
.evento-texto,
.texto-mensaje,
.texto-regalo,
.texto-album,
.lista-itinerario li,
.timeline-content h3,
.timeline-content span,
.contenido-confirmacion p,
.contenido-confirmacion label,
.texto-cargando,
.nota-no-ninos {
  font-family: "Cormorant Garamond", serif;
}


.gwendolyn-regular {
  font-family: "Gwendolyn", cursive;
  font-weight: 700;
  font-style: normal;
}

.gwendolyn-bold {
  font-family: "Gwendolyn", cursive;
  font-weight: 700;
  font-style: normal;
}


.bienvenida {
  position: relative;
  width: 100vw;
  height: 100vh;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  z-index: 0;
}

.overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.4); /* Oscurecimiento leve */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.contenido-central {
  z-index: 2;
  color: white;
  margin-bottom: -320px;
}

.nombre {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.subtitulo-evento {
  font-size: 1.9rem;
  margin-bottom: 0.5rem;
}

.fecha {
  font-size: 1.5rem;
}

/* ==== RESPONSIVO PARA TABLET Y DESKTOP ==== */
@media (min-width: 768px) {
  .nombre {
    font-size: 4rem;
  }

  .subtitulo-evento {
    font-size: 2rem;
  }

  .fecha {
    font-size: 1.5rem;
  }
}

.bienvenida h3.gwendolyn-regular {
  font-size: 3.4rem;  /* Puedes ajustar este valor */
  margin: 0.5rem 0; /* Opcional: espacio vertical */
}

@media (min-width: 768px) {
  .bienvenida h3.gwendolyn-regular {
    font-size: 2.5rem;
  }
}

.gwendolyn-regular {
  font-family: "Gwendolyn", cursive;
  font-weight: 400;
  font-style: normal;
}


.sour-gummy {
  font-family: "Sour Gummy", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400; /* o 700 si quieres más grueso */
  font-style: normal;
  font-variation-settings: "wdth" 100;
}

.meow-script-regular {
  font-family: "Meow Script", cursive;
  font-weight: 400;
  font-style: normal;
}

/* ANIMACIONES */
@keyframes fadeZoomIn {
  0% {
    opacity: 0;
    transform: scale(1.1);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes zoomInInfinite {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.12);
  }
}

/* Fondo con zoom-in constante */
.bienvenida::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url('fotos/1.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  filter: brightness(0.5);
  animation: zoomInInfinite 15s ease-in-out infinite alternate;
  z-index: -1;
}


/* Ocultamos temporalmente la imagen en el div principal */

/* Animación del h3 */
.bienvenida h3 {
  opacity: 0;
  animation: fadeIn 1s ease-out 2.4s forwards;
}

/* Animación del resto del contenido */
.bienvenida .nombre,
.bienvenida .subtitulo-evento,
.bienvenida .fecha {
  opacity: 0;
  animation: fadeIn 1s ease-out 3.1s forwards;
}

.icono-festejo {
  width: 150px;
  height: 100px;
  display: block;
  margin: 0 auto;
  margin-bottom: -10px;
  transform: translateY(-6px);
  opacity: 0;
  animation: fadeIn 1s ease-out 1.5s forwards;
}

/* Colores base */
:root {
  --rosa-palo: #d8a7b1;
  --pastel-fondo: #fff7f9;
  --texto-suave: #4a4a4a;
}

/* Estilo para la sección mensaje */
.seccion.mensaje {
  padding: 2rem 1.2rem;
  background-color: var(--pastel-fondo);
  color: var(--texto-suave);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contenido-mensaje {
  max-width: 600px;
  margin: 0 auto;
  padding: 1rem;
  background-color: white;
  border: 2px solid var(--rosa-palo);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(216, 167, 177, 0.3);
}

.titulo-seccion {
  font-size: 2.3rem;
  color: var(--rosa-palo);
  margin-bottom: 1rem;
  font-family: "Gwendolyn", cursive;
}

.texto-mensaje {
  font-size: 1rem;
  line-height: 1.6;
}

.texto-mensaje strong {
  color: var(--rosa-palo);
}

/* Animación fade in por scroll */
.animada {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animada.en-foco {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */
@media (min-width: 768px) {
  .titulo-seccion {
    font-size: 2.4rem;
  }

  .texto-mensaje {
    font-size: 1.2rem;
  }
}

.seccion.mensaje .titulo-seccion,
.seccion.mensaje .texto-mensaje {
  opacity: 0;
  transform: scale(0.95) translateY(20px);
}

.seccion.mensaje.animada.en-foco .titulo-seccion {
  animation: fadeInScale 0.9s ease-out forwards;
  animation-delay: 0.3s;
}

.seccion.mensaje.animada.en-foco .texto-mensaje {
  animation: fadeInScale 1s ease-out forwards;
  animation-delay: 0.6s;
}



@keyframes fadeInScale {
  0% {
    opacity: 0;
    transform: scale(0.95) translateY(20px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}


/* EVENTO RELIGIOSO */
.seccion.evento-religioso {
  background-color: var(--pastel-fondo);
  color: #444;
  text-align: center;
  padding: 2rem 1rem;
}

.evento-contenido {
  max-width: 600px;
  margin: 0 auto;
}

.evento-imagen {
  width: 80%;
  border-radius: 12px;
  margin-bottom: 1rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.icono-iglesia-grande {
  width: 120px;
  height: 120px;
  display: block;
  margin: 0 auto 1rem; /* centrado + espacio debajo */
}

/* si quieres que en pantallas grandes se vea un poquito más grande */
@media (min-width: 768px) {
  .icono-iglesia-grande {
    width: 140px;
    height: 140px;
  }
}


.evento-texto {
  font-size: 1rem;
  margin: 0.5rem 0;
}

.boton-mapa {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.8rem 1.6rem;
  background-color: var(--rosa-palo);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.boton-mapa:hover {
  background-color: #c07d8b;
}



.icono-ubicacion {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 6px;
  vertical-align: middle;
}

.icono-ubicacion svg {
  width: 100%;
  height: 100%;
  fill: #d8a7b1; /* rosa palo */
}


/* Estado inicial de cada elemento animable */
.evento-religioso .fade-elemento {
  opacity: 0;
  transform: scale(0.95) translateY(20px);
}

/* Cuando entran en foco (activado por .en-foco) */
.evento-religioso.animada.en-foco .imagen {
  animation: fadeInScale 0.8s ease-out forwards;
  animation-delay: 0.2s;
}

.evento-religioso.animada.en-foco .texto1 {
  animation: fadeInScale 0.9s ease-out forwards;
  animation-delay: 0.4s;
}

.evento-religioso.animada.en-foco .texto2 {
  animation: fadeInScale 1s ease-out forwards;
  animation-delay: 0.6s;
}

.evento-religioso.animada.en-foco .texto3 {
  animation: fadeInScale 1.1s ease-out forwards;
  animation-delay: 0.8s;
}

.evento-religioso.animada.en-foco .boton {
  animation: fadeInScale 1.2s ease-out forwards;
  animation-delay: 1s;
}


/* SECCION CUENTA REGRESIVA */
.seccion.cuenta-regresiva {
  position: relative;
  height: 100vh;
  background-image: url('fotos/3.jpeg'); /* Reemplaza con tu imagen */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden;
}

.seccion.cuenta-regresiva h2.titulo-seccion {
  font-size: 2.6rem;
  color: #ffffff;
  margin-bottom: 1rem;
  font-family: "Gwendolyn", cursive;
}

@media (min-width: 768px) {
  .seccion.cuenta-regresiva h2.titulo-seccion {
    font-size: 3.2rem;
  }
}

.overlay-cuenta {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.contenido-cuenta {
  z-index: 2;
   margin-top: 235px;
}

.contador {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.contador div {
  background-color: rgba(255, 255, 255, 0.12);
  padding: 1.2rem;
  border-radius: 12px;
  min-width: 90px;
  color: var(--rosa-palo);
  font-weight: bold;
  box-shadow: 0 0 10px #d8a7b1a1;
}

.contador span {
  font-size: 2.5rem;
  display: block;
}

.contador small {
  font-size: 1rem;
  color: #ffe4ec;
}

/* Fecha debajo del contador */
.fecha-evento {
  margin-top: 1.5rem;
  font-size: 1.9rem;
  color: #fff;
  font-style: italic;
  opacity: 0.9;
}

@media (min-width: 768px) {
  .fecha-evento {
    font-size: 2.3rem;
  }
}


/* Fade-in por scroll */
.seccion.cuenta-regresiva {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.seccion.cuenta-regresiva.en-foco {
  opacity: 1;
  transform: translateY(0);
}


/* Estado inicial de cada elemento */
.seccion.cuenta-regresiva .fade-cuenta {
  opacity: 0;
  transform: scale(0.95) translateY(20px);
}

/* Al estar en foco, aplicamos animaciones secuenciales */
.seccion.cuenta-regresiva.animada.en-foco .t1 {
  animation: fadeInScale 0.9s ease-out forwards;
  animation-delay: 0.2s;
}

.seccion.cuenta-regresiva.animada.en-foco .t2 {
  animation: fadeInScale 0.9s ease-out forwards;
  animation-delay: 0.4s;
}
.seccion.cuenta-regresiva.animada.en-foco .t3 {
  animation: fadeInScale 0.9s ease-out forwards;
  animation-delay: 0.6s;
}
.seccion.cuenta-regresiva.animada.en-foco .t4 {
  animation: fadeInScale 0.9s ease-out forwards;
  animation-delay: 0.8s;
}
.seccion.cuenta-regresiva.animada.en-foco .t5 {
  animation: fadeInScale 0.9s ease-out forwards;
  animation-delay: 1s;
}
.seccion.cuenta-regresiva.animada.en-foco .t6 {
  animation: fadeInScale 1s ease-out forwards;
  animation-delay: 1.2s;
}

/* Reutilizamos animación existente */
@keyframes fadeInScale {
  0% {
    opacity: 0;
    transform: scale(0.95) translateY(20px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}




/* EVENTO SALON */
.seccion.evento-salon {
  background-color: var(--pastel-fondo);
  color: #444;
  text-align: center;
  padding: 2rem 1rem;
}

.evento-contenido {
  max-width: 600px;
  margin: 0 auto;
}

.evento-imagen {
  width: 80%;
  border-radius: 12px;
  margin-bottom: 1rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.evento-texto {
  font-size: 1rem;
  margin: 0.5rem 0;
}

.boton-mapa {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.8rem 1.6rem;
  background-color: var(--rosa-palo);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.boton-mapa:hover {
  background-color: #c07d8b;
}



.icono-ubicacion {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 6px;
  vertical-align: middle;
}

.icono-ubicacion svg {
  width: 100%;
  height: 100%;
  fill: #d8a7b1; /* rosa palo */
}


/* Estado inicial de cada elemento animable */
.evento-salon .fade-elemento {
  opacity: 0;
  transform: scale(0.95) translateY(20px);
}

/* Cuando entran en foco (activado por .en-foco) */
.evento-salon.animada.en-foco .imagen {
  animation: fadeInScale 0.8s ease-out forwards;
  animation-delay: 0.2s;
}

.evento-salon.animada.en-foco .texto1 {
  animation: fadeInScale 0.9s ease-out forwards;
  animation-delay: 0.4s;
}

.evento-salon.animada.en-foco .texto2 {
  animation: fadeInScale 1s ease-out forwards;
  animation-delay: 0.6s;
}

.evento-salon.animada.en-foco .texto3 {
  animation: fadeInScale 1.1s ease-out forwards;
  animation-delay: 0.8s;
}

.evento-salon.animada.en-foco .boton {
  animation: fadeInScale 1.2s ease-out forwards;
  animation-delay: 1s;
}






/* SECCIÓN ITINERARIO */
.seccion.itinerario {
  padding: 2rem 1.5rem;
  background-color: #fff7f9;
  text-align: center;
  color: var(--texto-suave);
}

.contenido-itinerario {
  max-width: 600px;
  margin: 0 auto;
}

.lista-itinerario {
  list-style: none;
  padding: 0;
  margin-top: 1.5rem;
}

.lista-itinerario li {
  font-size: 1.2rem;
  margin: 1rem 0;
  background-color: rgba(216, 167, 177, 0.15);
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.lista-itinerario li span {
  font-weight: bold;
  color: var(--rosa-palo);
  font-size: 1rem;
}

/* Estado inicial de los elementos animables */
.seccion.itinerario .fade-itin {
  opacity: 0;
  transform: translateY(30px);
}

/* Animación escalonada */
.seccion.itinerario.en-foco .i1 {
  animation: fadeInScale 0.9s ease-out forwards;
  animation-delay: 0.2s;
}
.seccion.itinerario.en-foco .i2 {
  animation: fadeInScale 0.9s ease-out forwards;
  animation-delay: 0.4s;
}
.seccion.itinerario.en-foco .i3 {
  animation: fadeInScale 0.9s ease-out forwards;
  animation-delay: 0.6s;
}
.seccion.itinerario.en-foco .i4 {
  animation: fadeInScale 0.9s ease-out forwards;
  animation-delay: 0.8s;
}
.seccion.itinerario.en-foco .i5 {
  animation: fadeInScale 0.9s ease-out forwards;
  animation-delay: 1s;
}





/* ITINERARIO - TIMELINE VERTICAL */
.seccion.itinerario {
  background-color: #fff7f9;
  color: var(--texto-suave);
  padding: 2rem 1.5rem;
  text-align: center;
}

.contenido-itinerario {
  max-width: 600px;
  margin: 0 auto;
}

.timeline {
  position: relative;
  margin-top: 2rem;
  padding-left: 2rem;
  border-left: 3px solid var(--rosa-palo);
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
  padding-left: 1.5rem;
  text-align: left;
}

.timeline-icon {
  position: absolute;
  left: -31px;
  top: 0;
  width: 24px;
  height: 24px;
  background-color: var(--rosa-palo);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 0 0 4px #fff7f9;
}

.timeline-content h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: bold;
}

.timeline-content span {
  font-size: 1rem;
  color: var(--rosa-palo);
  display: block;
  margin-top: 0.3rem;
}

/* ANIMACIONES SECUENCIALES */
.seccion.itinerario .fade-itin {
  opacity: 0;
  transform: translateY(30px);
}

.seccion.itinerario.en-foco .i1 {
  animation: fadeInScale 0.9s ease-out forwards;
  animation-delay: 0.2s;
}
.seccion.itinerario.en-foco .i2 {
  animation: fadeInScale 0.9s ease-out forwards;
  animation-delay: 0.4s;
}
.seccion.itinerario.en-foco .i3 {
  animation: fadeInScale 0.9s ease-out forwards;
  animation-delay: 0.6s;
}
.seccion.itinerario.en-foco .i4 {
  animation: fadeInScale 0.9s ease-out forwards;
  animation-delay: 0.8s;
}
.seccion.itinerario.en-foco .i5 {
  animation: fadeInScale 0.9s ease-out forwards;
  animation-delay: 1s;
}




/* SECCIÓN CONFIRMACIÓN ASISTENCIA */
.seccion.confirmacion-asistencia {
  position: relative;
  height: 100vh;
  background-image: url('fotos/6.jpeg'); /* Cambia por tu imagen */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden;
}

.overlay-confirmacion {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contenido-confirmacion {
  z-index: 2;
  max-width: 600px;
  padding: 0.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  margin-top:85px;
}

.confirmacion-asistencia .titulo-seccion {
  font-size: 2.4rem;
  font-family: "Gwendolyn", cursive;
  margin-bottom: 1rem;
  color: white;
}

.contenido-confirmacion p,
.contenido-confirmacion label {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 0.8rem;
}

.contenido-confirmacion select {
  padding: 0.6rem;
  font-size: 1rem;
  border-radius: 6px;
  border: none;
  margin-bottom: 1rem;
  width: 100%;
  max-width: 250px;
}

.contenido-confirmacion button {
  padding: 0.7rem 1.5rem;
  background-color: var(--rosa-palo);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contenido-confirmacion button:hover {
  background-color: #c07d8b;
}

.mensaje-confirmado {
  font-size: 1.2rem;
  font-weight: bold;
  color: #fff;
}

.error {
  color: #ffd2d2;
  font-weight: bold;
  margin-top: 1rem;
}

/* ANIMACIÓN ESCALONADA */
.confirmacion-asistencia .fade-confirm {
  opacity: 0;
  transform: scale(0.95) translateY(20px);
}

.confirmacion-asistencia.en-foco .i1 {
  animation: fadeInScale 0.9s ease-out forwards;
  animation-delay: 0.2s;
}
.confirmacion-asistencia.en-foco .i2 {
  animation: fadeInScale 0.9s ease-out forwards;
  animation-delay: 0.4s;
}
.confirmacion-asistencia.en-foco .i3 {
  animation: fadeInScale 0.9s ease-out forwards;
  animation-delay: 0.6s;
}
.confirmacion-asistencia.en-foco .i4 {
  animation: fadeInScale 0.9s ease-out forwards;
  animation-delay: 0.8s;
}

.contenido-confirmacion input,
.contenido-confirmacion select {
  padding: 0.6rem;
  font-size: 1rem;
  border-radius: 6px;
  border: none;
  margin-bottom: 1rem;
  width: 100%;
  max-width: 250px;
  text-align: center;
}



/* SECCIÓN REGALO */
.seccion.regalo {
  background-color: var(--pastel-fondo);
  padding: 2rem 1.5rem;
  text-align: center;
  color: var(--texto-suave);
}

.contenido-regalo {
  max-width: 600px;
  margin: 0 auto;
  background-color: white;
  padding: 2rem;
  border-radius: 12px;
  border: 2px solid var(--rosa-palo);
  box-shadow: 0 4px 12px rgba(216, 167, 177, 0.2);
}

.texto-regalo {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-top: 1rem;
}

@media (min-width: 768px) {
  .texto-regalo {
    font-size: 1.25rem;
  }
}

/* ANIMACIONES */
/* Asegúrate de tener algo así (o parecido) ya definido */
@keyframes fadeRegaloUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Ya debes tener algo así: */
.seccion.regalo.animada.en-foco .r1 {
  animation: fadeRegaloUp 0.6s ease-out forwards;
}

.seccion.regalo.animada.en-foco .r2 {
  animation: fadeRegaloUp 0.8s ease-out forwards;
}

/* ➕ AGREGA ESTO PARA LAS NUEVAS TARJETAS */
.seccion.regalo.animada.en-foco .r3 {
  animation: fadeRegaloUp 1s ease-out forwards;
}

.seccion.regalo.animada.en-foco .r4 {
  animation: fadeRegaloUp 1.2s ease-out forwards;
}




/* SECCIÓN ÁLBUM DIGITAL */
.seccion.album-digital {
  background-color: #fff7f9;
  padding: 2rem 1.5rem;
  text-align: center;
  color: var(--texto-suave);
}

.contenido-album {
  max-width: 600px;
  margin: 0 auto;
  background-color: white;
  padding: 2rem;
  border-radius: 12px;
  border: 2px solid var(--rosa-palo);
  box-shadow: 0 4px 12px rgba(216, 167, 177, 0.2);
}

.texto-album {
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 1rem 0;
}

.boton-album {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.8rem 1.8rem;
  background-color: var(--rosa-palo);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.boton-album:hover {
  background-color: #c07d8b;
}

@media (min-width: 768px) {
  .texto-album {
    font-size: 1.25rem;
  }
}

/* ANIMACIONES ESCALONADAS */
.seccion.album-digital .fade-album {
  opacity: 0;
  transform: scale(0.95) translateY(20px);
}

.seccion.album-digital.en-foco .a1 {
  animation: fadeInScale 0.9s ease-out forwards;
  animation-delay: 0.2s;
}
.seccion.album-digital.en-foco .a2 {
  animation: fadeInScale 0.9s ease-out forwards;
  animation-delay: 0.5s;
}
.seccion.album-digital.en-foco .a3 {
  animation: fadeInScale 0.9s ease-out forwards;
  animation-delay: 0.8s;
}


/* MINI GALERÍA */
.seccion.mini-galeria {
  background-color: var(--pastel-fondo);
  padding: 2rem 1.5rem;
  text-align: center;
  color: var(--texto-suave);
}

.contenido-galeria {
  max-width: 900px;
  margin: 0 auto;
}

.galeria-grid {
  column-count: 2;
  column-gap: 1rem;
  margin-top: 1.5rem;
}

.galeria-grid img {
  width: 100%;
  margin-bottom: 1rem;
  border-radius: 10px;
  display: block;
  break-inside: avoid;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.galeria-grid img:hover {
  transform: scale(1.02);
}

/* RESPONSIVE */
@media (max-width: 640px) {
  .galeria-grid {
    column-count: 1;
  }
}

/* ANIMACIONES */
.seccion.mini-galeria .fade-galeria {
  opacity: 0;
  transform: scale(0.95) translateY(20px);
}

.seccion.mini-galeria.en-foco .g1 {
  animation: fadeInScale 0.8s ease-out forwards;
  animation-delay: 0.2s;
}
.seccion.mini-galeria.en-foco .g2 {
  animation: fadeInScale 0.8s ease-out forwards;
  animation-delay: 0.4s;
}
.seccion.mini-galeria.en-foco .g3 {
  animation: fadeInScale 0.8s ease-out forwards;
  animation-delay: 0.6s;
}
.seccion.mini-galeria.en-foco .g4 {
  animation: fadeInScale 0.8s ease-out forwards;
  animation-delay: 0.8s;
}

/* Pantalla de carga */
#pantalla-carga {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.spinner {
  border: 6px solid #eee;
  border-top: 6px solid var(--rosa-palo);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
}

.texto-cargando {
  margin-top: 1rem;
  font-size: 1rem;
  color: var(--rosa-palo);
  font-weight: bold;
  font-family: sans-serif;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Pantalla de inicio */
#pantalla-inicio {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}

#btn-ver-invitacion {
  padding: 1rem 2rem;
  background-color: var(--rosa-palo);
  color: white;
  font-size: 1.8rem;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-family: 'Gwendolyn', cursive;
  transition: background 0.3s;
}

#btn-ver-invitacion:hover {
  background-color: #c07d8b;
}

/* Oculta contenido por defecto hasta hacer clic */
body:not(.mostrar-contenido) section > *:not(#pantalla-carga):not(#pantalla-inicio) {
  display: none !important;
}


/* Botón flotante */
#reproductor-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  font-size: 1.5rem;
  background-color: var(--rosa-palo);
  color: white;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000;
  box-shadow: 0 0 8px rgba(0,0,0,0.2);
  transition: transform 0.2s;
}

#reproductor-toggle:hover {
  transform: scale(1.1);
}

/* Panel oculto */
#reproductor-panel {
  position: fixed;
  bottom: 22px;
  right: 67px;
  padding: 0.6rem 1rem;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
  display: none;
  gap: 0.5rem;
  z-index: 1000;
}

#reproductor-panel button {
  background-color: var(--rosa-palo);
  border: none;
  border-radius: 8px;
  padding: 0.2rem 0.5rem;
  margin: 0 0.3rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

#reproductor-panel button:hover {
  background-color: #c07d8b;
}

#reproductor-panel button svg {
  fill: white;
  width: 20px;
  height: 20px;
}

.nota-no-ninos {
  font-size: 0.9rem;
  color: var(--rosa-palo);
  margin-top: 0.5rem;
  font-style: italic;
}

.icono-iglesia-grande,
.icono-salon-grande {
  width: 120px;
  height: 120px;
  display: block;
  margin: 0 auto 1rem; /* centrado + espacio abajo */
}

@media (min-width: 768px) {
  .icono-iglesia-grande,
  .icono-salon-grande {
    width: 140px;
    height: 140px;
  }
}

/* ===================== SECCIÓN FOTO FESTEJADA ===================== */

.seccion.foto-festejada {
  position: relative;
  padding: 0;
  background-color: #000; /* marco negro discreto detrás de la foto */
}

/* Contenedor centrado */
.foto-festejada-contenedor {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;   /* ocupa como mínimo el alto de la pantalla */
  padding: 0;
}

/* Wrapper de la imagen */
.foto-festejada-wrapper {
  position: relative;
  width: 100%;
  max-width: 900px;    /* para que en desktop no se vaya de ancho */
  margin: 0 auto;
  overflow: hidden;
}

/* La imagen se adapta al ancho y se contiene en el alto de la pantalla */
.foto-festejada-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 100vh;   /* no excede la altura visible */
  object-fit: contain; /* muestra toda la imagen sin recortarla */
  margin: 0 auto;
  animation: fadeZoomFoto 1.2s ease-out both;
}

/* Animación suave de entrada */
@keyframes fadeZoomFoto {
  from {
    opacity: 0;
    transform: scale(1.03);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ===================== SECCIÓN REGALO & DRESS CODE ===================== */

.seccion.regalo {
  position: relative;
  padding: 4rem 1.5rem;
}

.contenido-regalo {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.intro-regalo {
  margin-top: 1.25rem;
  margin-bottom: 2.5rem;
}

/* Grid para regalo + dress code */
.regalo-grid {
  display: grid;
  gap: 1.75rem;
  margin-top: 0.5rem;
}

@media (min-width: 768px) {
  .regalo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Tarjetas internas */
.regalo-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  padding: 1.75rem 1.8rem;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.7);
  text-align: left;
}

.subtitulo-regalo {
  font-family: "Gwendolyn", cursive; /* o la que estés usando */
  font-size: 1.7rem;
  margin-bottom: 0.75rem;
  text-align: center; /* <- centrado */
}

/* Texto de la tarjeta (ya usa la fuente elegante que definiste para p) */
.texto-regalo {
  font-size: 1rem;
  line-height: 1.6;
}

/* Los li usan la misma fuente y estilo que los párrafos */
.lista-regalo {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0.75rem;
}

.lista-regalo li {
  font-family: "Cormorant Garamond", serif; /* misma que tus párrafos elegantes */
  font-size: 1rem;                           /* igual que .texto-regalo */
  line-height: 1.6;
  margin-bottom: 0.35rem;
}

/* Notas suaves */
.nota-regalo,
.nota-dresscode {
  font-size: 0.95rem;
  opacity: 0.9;
}

/* Etiqueta de Dress Code */
.tag-dresscode {
  display: inline-block;
  margin-left: 0.4rem;
  padding: 0.15rem 0.65rem;
  border-radius: 999px;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: #000;
  color: #f9fafb;
}

/* ===================== CONFIRMACIÓN DE ASISTENCIA ===================== */

.seccion.confirmacion-asistencia {
  padding: 4rem 1.5rem;
}

.overlay-confirmacion {
  display: flex;
  justify-content: center;
  align-items: center;
}

.contenido-confirmacion {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  padding: 2rem 1.75rem;
  border-radius: 28px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.28);
}

.texto-confirmacion-intro {
  margin: 0.75rem 0 1.75rem;
  font-size: 0.98rem;
}

/* Formulario */
#form-confirmacion {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.grupo-doble {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.campo label {
  font-size: 0.85rem;
  opacity: 0.8;
  display: block;
  margin-bottom: 0.15rem;
}

.campo input {
  width: 100%;
}

/* En pantallas medianas, nombre y apellido en dos columnas */
@media (min-width: 640px) {
  .grupo-doble {
    flex-direction: row;
  }

  .grupo-doble .campo {
    flex: 1;
  }
}

/* Inputs, selects y textarea */
.contenido-confirmacion input[type="text"],
.contenido-confirmacion select,
.contenido-confirmacion textarea {
  width: 100%;
  padding: 0.55rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  font-size: 0.95rem;
  outline: none;
  background: rgba(255, 255, 255, 0.9);
  box-sizing: border-box;
}

.contenido-confirmacion textarea {
  border-radius: 18px;
  resize: vertical;
}

/* Grupo respuesta (asistir / no asistir) */
.grupo-respuesta {
  margin-top: 0.4rem;
}

.etiqueta-grupo {
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}

.opciones-respuesta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.opcion-respuesta {
  position: relative;
}

.opcion-respuesta input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.opcion-respuesta span {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

/* Estado seleccionado tipo “pill” */
.opcion-respuesta input[type="radio"]:checked + span {
  background: #020617;
  color: #f9fafb;
  border-color: #020617;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.35);
}

/* Grupo pases */
.grupo-pases label {
  font-size: 0.9rem;
  margin-bottom: 0.15rem;
  display: block;
}

/* Nota no niños ya la tienes, solo ajustamos margen si quieres */
.contenido-confirmacion .nota-no-ninos {
  font-size: 0.85rem;
  margin-top: 0.6rem;
}

/* Botón enviar confirmación */
.boton-confirmacion {
  margin-top: 0.6rem;
  width: 100%;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  border: none;
  background: #020617;
  color: #f9fafb;
  font-size: 0.98rem;
  cursor: pointer;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.boton-confirmacion:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.45);
}

.boton-confirmacion:active {
  transform: translateY(0);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.35);
}

/* Mensaje de éxito */
.mensaje-exito {
  margin-top: 1.6rem;
  font-size: 0.97rem;
  line-height: 1.6;
  text-align: center;
}

/* ===================== FOOTER INVITACIÓN ===================== */

.footer-invitacion {
  padding: 1.5rem 0 2.5rem;
  background: transparent;
}

.footer-contenido {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
  padding: 0 1.5rem;
}

/* Cajita sutil para que el texto no se pierda en el fondo rosa */
.footer-texto {
  display: inline-block;
  font-family: "Cormorant Garamond", serif;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #111111; /* 🔥 Negro suave, buen contraste sobre rosa */
  background: rgba(255, 255, 255, 0.7); /* fondo clarito translúcido */
  padding: 0.4rem 0.9rem;
  border-radius: 999px; /* pill sutil */
}

/* Links del footer */
.footer-texto a {
  text-decoration: none;
  color: #111111;              /* mismo tono que el texto */
  border-bottom: 1px solid rgba(0, 0, 0, 0.35);
  padding-bottom: 0.05rem;
}

.footer-texto a:hover {
  border-bottom-color: rgba(0, 0, 0, 0.7);
}

/* Sin animaciones raras: que siempre sea visible */
.footer-invitacion .fade-footer {
  opacity: 1 !important;
  transform: none !important;
  transition: none;
}

@media (max-width: 480px) {
  .footer-texto {
    font-size: 0.7rem;
    letter-spacing: 0.09em;
    padding: 0.35rem 0.8rem;
  }
}

.opciones-respuesta {
  display: flex;
  flex-direction: row;  /* horizontal */
  justify-content: center;
  gap: 1.5rem;
}



