/* =========================
   ESTILOS GENERALES
========================= */

.app {
  max-width: 420px;
  margin: 0 auto;
  background-color: #f5e6cc;
  min-height: 100vh;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.15);
}

body {
  margin: 0;
  font-family: "Bodoni Moda", serif;
  background-color: #e9ddc8;
}

/* =========================
   HERO (Pantalla completa)
========================= */

.hero {
  position: relative;
  min-height: 100vh;
  background: url("assets/novios.JPG") center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  text-align: center;
  color: white;
}

.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  top: 0;
  left: 0;
}

.contenido {
  position: relative;
  z-index: 2;
  margin-top: 50px;
  padding: 20px;
}

/* =========================
   TEXTOS
========================= */

.nombres {
  font-family: "Bodoni Moda", serif;
  font-size: 42px;
  display: flex;
  flex-direction: column;
  align-items: center;
  letter-spacing: 3px;
  gap: 5px;
}

.nombre {
  line-height: 1.2;
}

.and {
  font-family: "Josefin Sans", sans-serif;
  font-size: 20px;
  opacity: 0.8;
}

.fecha {
  font-family: "Josefin Sans", sans-serif;
  letter-spacing: 4px;
  font-size: 14px;
}

.subtitulo {
  font-family: "Josefin Sans", sans-serif;
  letter-spacing: 6px;
  font-size: 12px;
  margin-top: 10px;
}

/* =========================
   ANIMACIONES HERO (al cargar)
========================= */

.hero-animate {
  animation: fadeUp 1.2s ease-out forwards;
}

.hero-animate .icono {
  animation: fadeUp 1s ease-out forwards;
}

.hero-animate .fecha {
  animation: fadeUp 1.2s ease-out forwards;
}

.hero-animate .nombres {
  animation: fadeUp 1.4s ease-out forwards;
}

.hero-animate .subtitulo {
  animation: fadeUp 1.6s ease-out forwards;
}

/* =========================
   ANIMACIONES SCROLL
========================= */

.anim-ready {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
}

.anim-ready.delay-1 {
  transition-delay: 0.15s;
}
.anim-ready.delay-2 {
  transition-delay: 0.3s;
}
.anim-ready.delay-3 {
  transition-delay: 0.45s;
}
.anim-ready.delay-4 {
  transition-delay: 0.6s;
}

.anim-ready.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   COUNTDOWN SECCIÓN
========================= */

.countdown-section {
  position: relative;
  background: url("assets/fondo_Cafe.png") center/cover no-repeat;
  color: #f5e6cc;
  padding: 60px 20px;
  text-align: center;
}

.countdown-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.countdown-section * {
  position: relative;
  z-index: 1;
}

.countdown-title {
  font-family: "Bodoni Moda", serif;
  letter-spacing: 6px;
  font-size: 14px;
  margin-bottom: 30px;
}

.countdown-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  padding: 0;
}

.tiempo {
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
}

.tiempo:hover {
  transform: translateY(-3px);
}

.tiempo span {
  font-family: "Bodoni Moda", serif;
  font-size: 32px;
}

.tiempo p {
  margin: 5px 0 0;
  font-size: 12px;
  letter-spacing: 2px;
}

.icono {
  margin-bottom: 15px;
}

.icono img {
  width: 120px;
  height: auto;
  opacity: 0.9;
  animation: floatIcon 3s ease-in-out infinite;
}

/* =========================
   FRASE
========================= */

.frase-box {
  max-width: 500px;
  margin: 120px auto 0;
  padding: 40px 25px;
  border-radius: 2px;
  background: url("assets/fondo-cactus.png") center/cover no-repeat;
  position: relative;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.frase-box::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
}

.frase-box p {
  position: relative;
  z-index: 1;
  font-family: "Bodoni Moda", serif;
  text-transform: uppercase;
  color: #2b2b2b;
  font-size: 13px;
  line-height: 1.8;
  letter-spacing: 2px;
}

/* =========================
   SECCIÓN NOSOTROS
========================= */

.nombres-section {
  background-color: #e8d5b7;
  padding: 100px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.nombres-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 20px;
  width: 100%;
  overflow: hidden;
}

.seccion-titulo {
  font-family: "Bodoni Moda", serif;
  font-size: 36px;
  letter-spacing: -2px;
  text-transform: uppercase;
  color: #847e33;
  margin: 0;
  transform: scaleY(1.25);
  transform-origin: center;
}

.nombres-container img {
  width: 300px;
  max-width: 85%;
  height: auto;
}

.foto-oval {
  width: 240px;
  height: 300px;
  object-fit: cover;
  border-radius: 55% / 45%;
  margin-top: 25px;
  box-shadow: none;
}

/* =========================
   SECCIÓN PADRES
========================= */

.padres-section {
  background-color: #6b7a4e;
  padding: 80px 30px 80px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

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

.padres-con {
  font-family: "Josefin Sans", sans-serif;
  font-size: 11px;
  letter-spacing: 7px;
  color: #e8dcc8;
  text-transform: uppercase;
  margin: 0;
}

.padres-y {
  font-family: "Bodoni Moda", serif;
  font-size: 36px;
  letter-spacing: -2px;
  color: #f0e6c8;
  text-transform: uppercase;
  margin: 0;
  line-height: 1.2;
}

.padres-grupo {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.padre-nombre {
  font-family: "Bodoni Moda", serif;
  font-size: 16px;
  color: #f5e6cc;
  letter-spacing: 1px;
  margin: 0;
  line-height: 1.8;
}

.padres-label {
  font-family: "Josefin Sans", sans-serif;
  font-size: 11px;
  letter-spacing: 6px;
  color: #f0e6c8;
  text-transform: uppercase;
  margin-top: 12px;
}

.padres-divisor {
  width: 100%;
  display: flex;
  justify-content: center;
}

.padres-divisor span {
  display: block;
  width: 60px;
  height: 1px;
  background-color: #f0e6c8;
  opacity: 0.6;
}

.padres-corazon {
  width: 180px;
  height: auto;
  opacity: 0.75;
  align-self: center;
  margin-top: -40px;
  margin-bottom: -5px;
}

.cactus-padres {
  width: 300px;
  height: auto;
  opacity: 0.85;
  transform-origin: center;
}

/* =========================
   SECCIÓN VESTIMENTA
========================= */

.vestimenta-section {
  background-color: #e8d5b7;
  padding: 10px 20px 80px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.vestimenta-titulo {
  font-family: "Bodoni Moda", serif;
  font-size: 28px;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: #847e33;
  margin: 0;
}

.vestimenta-img {
  width: 180px;
  height: auto;
  opacity: 0.9;
}

.vestimenta-estilo {
  font-family: "Bodoni Moda", serif;
  font-size: 22px;
  letter-spacing: 5px;
  color: #3a2e1e;
  text-transform: uppercase;
  margin: 0;
}

.vestimenta-sugerencia {
  font-family: "Josefin Sans", sans-serif;
  font-size: 11px;
  letter-spacing: 3px;
  color: #7a6a50;
  margin: -10px 0 0;
  font-style: italic;
}

.vestimenta-bloque {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.vestimenta-label {
  font-family: "Bodoni Moda", serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 2px;
  color: #3a2e1e;
  margin: 0 0 6px;
}

.vestimenta-texto {
  font-family: "Josefin Sans", sans-serif;
  font-size: 13px;
  letter-spacing: 1px;
  color: #5a4a35;
  margin: 0;
  line-height: 1.8;
}

.vestimenta-divisor {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 5px 0;
}

.vestimenta-divisor span {
  display: block;
  width: 60px;
  height: 1px;
  background-color: #c4a97a;
  opacity: 0.6;
}

/* =========================
   DIVISOR CACTUS ORGANO
========================= */

.cactus-divisor-wrapper {
  background-color: #6b7a4e;
  display: flex;
  justify-content: center;
  padding: 0;
}

.cactus-organo {
  width: 50%;
  max-width: 420px;
  height: auto;
  display: block;
}

/* =========================
   SECCIÓN ITINERARIO
========================= */

.itinerario-section {
  background-color: #6b7a4e;
  padding: 20px 30px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.itinerario-titulo {
  font-family: "Bodoni Moda", serif;
  font-size: 28px;
  letter-spacing: 6px;
  color: #f0e6c8;
  text-transform: uppercase;
  margin: 0 0 20px;
}

.itinerario-linea {
  position: relative;
  width: 100%;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.itinerario-linea::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 150px;
  bottom: 0;
  width: 1px;
  background-color: #f0e6c8;
  opacity: 1;
  transform: translateX(-50%);
  z-index: 0;
}

.itinerario-item {
  position: relative;
  width: 45%;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 1;
}

.itinerario-item.centrado {
  align-self: center;
  text-align: center;
  padding: 0;
  width: 100%;
  position: relative;
  z-index: 2;
  background-color: #6b7a4e;
}

.itinerario-item.final {
  margin-top: 20px;
}

.itinerario-item.izquierda {
  align-self: flex-start;
  text-align: center;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.itinerario-item.derecha {
  width: 45%;
  text-align: center;
  padding-left: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.itinerario-fila {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

.itinerario-fila.izquierda {
  justify-content: flex-start;
}

.itinerario-fila.derecha {
  justify-content: flex-end;
}

.itinerario-fila.izquierda .itinerario-conector {
  position: absolute;
  right: 50%;
  top: 50%;
  width: 30px;
  height: 1px;
  background-color: #f0e6c8;
  opacity: 1;
  transform: translateY(-50%);
}

.itinerario-fila.derecha .itinerario-conector {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 30px;
  height: 1px;
  background-color: #f0e6c8;
  opacity: 1;
  transform: translateY(-50%);
}

.itinerario-fila.izquierda .itinerario-conector::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #f0e6c8;
}

.itinerario-fila.derecha .itinerario-conector::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #f0e6c8;
}

.itinerario-icono {
  font-size: 24px;
  margin-bottom: 4px;
}

.itinerario-label {
  font-family: "Josefin Sans", sans-serif;
  font-size: 11px;
  letter-spacing: 3px;
  color: #f5e6cc;
  text-transform: uppercase;
  margin: 0;
  line-height: 1.6;
}

.itinerario-hora {
  font-family: "Bodoni Moda", serif;
  font-size: 16px;
  letter-spacing: 2px;
  color: #f0e6c8;
  margin: 0;
}

.itinerario-svg {
  width: 100px;
  height: auto;
  opacity: 0.85;
  display: block;
  margin: 0 auto;
}

/* =========================
   SECCIÓN LUGARES
========================= */

.lugares-section {
  background-color: #e8d5b7;
  padding: 80px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.lugares-titulo {
  font-family: "Bodoni Moda", serif;
  font-size: 28px;
  letter-spacing: 6px;
  color: #847e33;
  text-transform: uppercase;
  margin: 0 0 10px;
}

.lugares-subtitulo {
  font-family: "Bodoni Moda", serif;
  font-size: 20px;
  letter-spacing: 4px;
  color: #847e33;
  text-transform: uppercase;
  margin: 10px 0 0;
}

.lugares-subtitulo-sub {
  font-family: "Josefin Sans", sans-serif;
  font-size: 11px;
  letter-spacing: 3px;
  color: #7a6a50;
  font-style: italic;
  margin: -16px 0 0;
}

.lugar-card {
  width: 100%;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px 20px;
  border: 1px solid rgba(196, 169, 122, 0.4);
  border-radius: 2px;
}

.lugar-icono {
  font-size: 32px;
}

.lugar-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.lugar-nombre {
  font-family: "Bodoni Moda", serif;
  font-size: 15px;
  letter-spacing: 2px;
  color: #3a2e1e;
  text-transform: uppercase;
  margin: 0;
  text-align: center;
  line-height: 1.4;
}

.lugar-tipo {
  font-family: "Josefin Sans", sans-serif;
  font-size: 10px;
  letter-spacing: 4px;
  color: #847e33;
  text-transform: uppercase;
  margin: 0;
}

.lugar-btn {
  font-family: "Josefin Sans", sans-serif;
  font-size: 10px;
  letter-spacing: 4px;
  color: #f5e6cc;
  background-color: #847e33;
  text-transform: uppercase;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 1px;
  transition: background-color 0.3s ease;
}

.lugar-btn:hover {
  background-color: #6b6828;
}

.lugares-divisor {
  width: 100%;
  max-width: 340px;
  display: flex;
  justify-content: center;
}

.lugares-divisor span {
  display: block;
  width: 60px;
  height: 1px;
  background-color: #c4a97a;
  opacity: 0.6;
}

.estacionamiento-card {
  width: 100%;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px 20px;
  border: 1px solid rgba(196, 169, 122, 0.4);
  border-radius: 2px;
  text-align: center;
}

.estacionamiento-texto {
  font-family: "Josefin Sans", sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  color: #5a4a35;
  line-height: 2;
  margin: 0;
  text-align: center;
}

/* =========================
   SECCIÓN RSVP
========================= */

.rsvp-section {
  background-color: #6b7a4e;
  padding: 80px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.rsvp-titulo {
  font-family: "Bodoni Moda", serif;
  font-size: 28px;
  letter-spacing: 6px;
  color: #f0e6c8;
  text-transform: uppercase;
  margin: 0;
}

.rsvp-subtitulo {
  font-family: "Josefin Sans", sans-serif;
  font-size: 11px;
  letter-spacing: 5px;
  color: #e8dcc8;
  text-transform: uppercase;
  margin: 0 0 20px;
}

.rsvp-form {
  width: 100%;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.rsvp-campo {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rsvp-label {
  font-family: "Josefin Sans", sans-serif;
  font-size: 10px;
  letter-spacing: 4px;
  color: #e8dcc8;
  text-transform: uppercase;
}

.rsvp-input {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(240, 230, 200, 0.5);
  padding: 10px 0;
  font-family: "Bodoni Moda", serif;
  font-size: 15px;
  color: #f5e6cc;
  outline: none;
  width: 100%;
  transition: border-color 0.3s ease;
}

.rsvp-input::placeholder {
  color: rgba(245, 230, 204, 0.4);
}

.rsvp-input:focus {
  border-bottom-color: #f0e6c8;
}

.rsvp-btn {
  font-family: "Josefin Sans", sans-serif;
  font-size: 11px;
  letter-spacing: 4px;
  color: #7a8c6e;
  background-color: #f0e6c8;
  text-transform: uppercase;
  border: none;
  padding: 14px 20px;
  margin-top: 10px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.rsvp-btn:hover {
  background-color: #f5e6cc;
}

.rsvp-exito {
  display: none;
  text-align: center;
  margin-top: 10px;
}

.rsvp-exito-texto {
  font-family: "Bodoni Moda", serif;
  font-size: 15px;
  letter-spacing: 2px;
  color: #f0e6c8;
  line-height: 1.8;
}

.rsvp-mensaje {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-bottom: 20px;
  text-align: center;
}

.rsvp-mensaje-texto {
  font-family: "Josefin Sans", sans-serif;
  font-size: 11px;
  letter-spacing: 4px;
  color: #e8dcc8;
  text-transform: uppercase;
  margin: 0;
}

.rsvp-mensaje-numero {
  font-family: "Bodoni Moda", serif;
  font-size: 52px;
  color: #f0e6c8;
  margin: 4px 0;
  line-height: 1;
}

.rsvp-mensaje-nombre {
  font-family: "Bodoni Moda", serif;
  font-size: 13px;
  letter-spacing: 3px;
  color: #f0e6c8;
  font-style: italic;
  margin: 6px 0 0;
}

.rsvp-descripcion {
  font-family: "Josefin Sans", sans-serif;
  font-size: 12px;
  letter-spacing: 3px;
  color: #e8dcc8;
  line-height: 2;
  max-width: 320px;
  text-align: center;
  margin: 0 auto 20px;
}

.rsvp-fecha-limite {
  color: #f0e6c8;
  font-weight: 600;
}

.rsvp-error {
  display: none;
  font-family: "Josefin Sans", sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  color: #f0c4a0;
  text-align: center;
  line-height: 1.8;
  max-width: 280px;
  margin: 0 auto;
}

/* =========================
   SECCIÓN GALERÍA
========================= */

.galeria-section {
  background-color: #e8d5b7;
  padding: 80px 0 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.galeria-titulo {
  font-family: "Bodoni Moda", serif;
  font-size: 28px;
  letter-spacing: 6px;
  color: #847e33;
  text-transform: uppercase;
  margin: 0;
  text-align: center;
}

.carrusel-wrapper {
  width: 100%;
  max-width: 420px;
  overflow: hidden;
  position: relative;
  touch-action: pan-y;
}

.carrusel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.carrusel-slide {
  min-width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 30px;
  box-sizing: border-box;
}

.carrusel-img {
  width: 100%;
  max-width: 320px;
  height: auto;
  max-height: 420px;
  object-fit: contain;
  border-radius: 12px;
  display: block;
  pointer-events: none;
  user-select: none;
}

.carrusel-slide img {
  width: 100%;
}

.carrusel-dots {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #c4a97a;
  opacity: 0.4;
  cursor: pointer;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.dot.activo {
  opacity: 1;
  transform: scale(1.4);
  background-color: #847e33;
}

/* =========================
   BOTÓN AUDIO
========================= */

.audio-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  background-color: rgba(245, 230, 204, 0.92);
  border: 1px solid rgba(196, 169, 122, 0.5);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition:
    transform 0.2s ease,
    background-color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.audio-btn:hover {
  transform: scale(1.1);
  background-color: #f5e6cc;
}

/* =========================
   MESA DE REGALOS
========================= */

.regalos-section {
  background-color: #f5e6cc;
  padding: 80px 30px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}

.regalos-titulo {
  font-family: "Bodoni Moda", serif;
  font-size: 28px;
  letter-spacing: 6px;
  color: #847e33;
  text-transform: uppercase;
  margin: 0;
  text-align: center;
}

.regalos-descripcion {
  font-family: "Josefin Sans", sans-serif;
  font-size: 12px;
  letter-spacing: 3px;
  color: #3a2e1e;
  line-height: 2;
  max-width: 320px;
  margin: 0;
  text-align: center;
}

.regalos-contenido {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
}

.regalos-svg {
  width: 110px;
  height: auto;
  opacity: 0.85;
}

.regalos-link:hover {
  opacity: 0.7;
}

.regalos-divisor-mini {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  padding: 4px 0;
}

.regalos-divisor-mini span {
  display: block;
  width: 60px;
  height: 1px;
  background-color: #c4a97a;
  opacity: 0.5;
}

.regalos-opciones {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.regalos-link {
  font-family: "Josefin Sans", sans-serif;
  font-size: 13px;
  letter-spacing: 3px;
  color: #847e33;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.regalos-cuenta-label {
  font-family: "Josefin Sans", sans-serif;
  font-size: 13px;
  letter-spacing: 3px;
  color: #847e33;
  margin: 0;
}

.regalos-cuenta-nombre {
  font-family: "Josefin Sans", sans-serif;
  font-size: 14px;
  letter-spacing: 2px;
  color: #3a2e1e;
  margin: 0;
}

.regalos-cuenta-numero {
  font-family: "Josefin Sans", sans-serif;
  font-size: 15px;
  letter-spacing: 3px;
  color: #3a2e1e;
  margin: 0;
}

.foto-intermedia {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.foto-intermedia-wrapper {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  overflow: hidden;
  line-height: 0;
  position: relative;
}

.foto-intermedia-wrapper::before,
.foto-intermedia-wrapper::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 80px;
  z-index: 1;
  pointer-events: none;
}

.foto-intermedia-wrapper::before {
  top: 0;
  background: linear-gradient(to bottom, #e8d5b7, transparent);
}

.foto-intermedia-wrapper::after {
  bottom: 0;
  background: linear-gradient(to top, #6b7a4e, transparent);
}

.foto-intermedia-2::before {
  background: linear-gradient(to bottom, #6b7a4e, transparent);
}

.foto-intermedia-2::after {
  background: linear-gradient(to top, #e8d5b7, transparent);
}

/* =========================
   PIE DE PÁGINA
========================= */

.footer {
  background-color: #3a2e1e;
  padding: 50px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.footer-nombres {
  font-family: "Bodoni Moda", serif;
  font-size: 22px;
  letter-spacing: 6px;
  color: #f0e6c8;
  margin: 0;
}

.footer-fecha {
  font-family: "Josefin Sans", sans-serif;
  font-size: 11px;
  letter-spacing: 5px;
  color: #c4a97a;
  margin: 0;
}

.footer-icono {
  width: 60px;
  height: auto;
  opacity: 0.6;
  margin-top: 10px;
}

/* =========================
   KEYFRAMES
========================= */

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

@keyframes fadePage {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes heroZoom {
  from {
    transform: scale(1.05);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

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

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

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(120px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* =========================
   RESPONSIVE
========================= */

@media (min-width: 768px) {
  .nombres {
    font-size: 60px;
  }

  #countdown {
    font-size: 26px;
  }

  .countdown-container {
    gap: 10px;
  }

  .tiempo span {
    font-size: 24px;
  }

  .tiempo p {
    font-size: 10px;
  }
}
