@font-face {
  font-family: Principal;
  src: url(./fonts/Embassy\ BT.ttf);
}

@font-face {
  font-family: Secundaria;
  src: url(./fonts/Clarendon\ Lt\ BT\ Light.ttf);
}

@font-face {
  font-family: General;
  src: url(./fonts/NewslabBook.otf);
}

:root {
  /* Paleta General Blush & Gold */
  --fondo-pagina: #fcf9f8;
  --color-texto-principal: #7a565f;

  /* Encabezado */
  --color-titulo-principal: #ffffff;
  --color-subtitulo-principal: #faede9;
  --color-fecha-evento: #f4ded8;
  --color-decoracion-encabezado: #eed1b3;
  --degradado-encabezado-inicio: rgba(74, 43, 49, 0.45);
  --degradado-encabezado-final: rgba(43, 23, 27, 0.88);

  /* Mensajes y Tarjetas */
  --fondo-mensaje-confirmacion: #ffffff;
  --color-texto-mensaje-confirmacion: #6c4b53;
  --color-titulo-familiares: #6e434c;
  --color-texto-familiares: #3f2a2e;

  /* Ubicaciones */
  --color-titulo-ubicacion: #ffffff;
  --color-descripcion-ubicacion: #fdf6f4;
  --color-texto-boton-secundario: #fdf5f2;
  --degradado-ubicacion-inicio: rgba(84, 48, 55, 0.72);
  --degradado-ubicacion-final: rgba(48, 25, 29, 0.88);

  /* Código de vestimenta */
  --fondo-codigo-vestimenta: #2e1c20;
  --color-texto-codigo-vestimenta: #ffffff;

  /* Botones principales */
  --fondo-boton: #ffffff;
  --fondo-boton-hover: #cfa864;
  --color-texto-boton: #9b722d;
  --color-texto-boton-hover: #ffffff;
  --color-borde-boton: #e5cbbe;

  /* Contador */
  --fondo-contenedor-contador: transparent;
  --color-texto-contenedor-contador: #ffffff;
  --fondo-tarjeta-contador: rgba(255, 255, 255, 0.9);
  --fondo-tarjeta-contador-hover: #ffffff;
  --color-texto-tarjeta-contador: #6e434c;

  /* Iconos / Acentos */
  --icons: #d99a9b;
  --adorno-dorado: #cfa864;

  /* Temática: Oro & Rosa Blush */
  --oro-puro: #cfa864;
  --oro-brillante: #f4dca6;
  --oro-oscuro: #8f6a27;
  --rosa-princesa: #ebd0cb;
  --rosa-suave: #fcf4f2;
  --verde-bosque-noche: #1f1416;
  --verde-bosque-luz: rgba(41, 23, 27, 0.92);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: General, sans-serif;
  background-color: var(--fondo-pagina);
  color: var(--color-texto-principal);
}

.st0 {
  fill: var(--icons);
}

/* ==========================================
   PANTALLA INICIAL: PRINCESA DEL BOSQUE
========================================== */
#pantalla-inicial {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
  background: radial-gradient(circle at center, rgba(64, 38, 43, 0.45) 0%, rgba(26, 14, 16, 0.85) 100%),
              url(content/3.jpg) center/cover no-repeat;
  transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1), transform 0.9s ease;
  overflow: hidden;
}

#pantalla-inicial.ocultar {
  opacity: 0;
  visibility: hidden;
  transform: scale(1.08);
  pointer-events: none;
}

/* Destellos / luciérnagas mágicas */
.luciernagas .luz {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, #fffaf0 10%, rgba(207, 168, 100, 0.85) 60%, transparent 100%);
  filter: drop-shadow(0 0 8px rgba(244, 220, 166, 0.85));
  animation: flotarLuz 6s ease-in-out infinite alternate;
  pointer-events: none;
}
.l1 { width: 12px; height: 12px; top: 15%; left: 18%; animation-delay: 0s; }
.l2 { width: 8px; height: 8px; top: 72%; left: 12%; animation-delay: 1.5s; }
.l3 { width: 15px; height: 15px; top: 22%; right: 16%; animation-delay: 0.8s; }
.l4 { width: 9px; height: 9px; top: 80%; right: 20%; animation-delay: 2.2s; }
.l5 { width: 7px; height: 7px; top: 48%; left: 8%; animation-delay: 3s; }
.l6 { width: 11px; height: 11px; top: 86%; left: 50%; animation-delay: 1.8s; }

@keyframes flotarLuz {
  0% { transform: translateY(0px) scale(0.9); opacity: 0.3; }
  50% { transform: translateY(-25px) translateX(15px) scale(1.2); opacity: 0.95; }
  100% { transform: translateY(-45px) translateX(-10px) scale(0.8); opacity: 0.4; }
}

/* Marco real decorativo con bisel dorado y blush */
.marco-bosque {
  position: relative;
  max-width: 440px;
  width: 100%;
  padding: 3px;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--oro-brillante), var(--oro-oscuro), var(--rosa-princesa), var(--oro-puro));
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 35px rgba(207, 168, 100, 0.35);
}

.pantalla-contenido {
  position: relative;
  width: 100%;
  padding: 45px 28px;
  text-align: center;
  box-sizing: border-box;
  background: var(--verde-bosque-luz);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 26px;
  border: 1px solid rgba(244, 220, 166, 0.35);
}

.corona-dorada {
  font-size: 2.2rem;
  margin-bottom: 4px;
  filter: drop-shadow(0 2px 8px rgba(207, 168, 100, 0.6));
}

.badge-xv {
  display: inline-block;
  font-family: 'Great Vibes', cursive;
  font-size: 2.3rem;
  color: var(--rosa-princesa);
  line-height: 1.1;
  text-shadow: 0 2px 10px rgba(235, 208, 203, 0.4);
}

.nombre-quinceanera {
  font-family: 'Cinzel Decorative', 'Secundaria', serif;
  font-size: clamp(1.8rem, 5vw, 2.3rem);
  font-weight: 700;
  color: #fff8eb;
  letter-spacing: 2px;
  margin: 10px 0 6px 0;
  text-transform: uppercase;
  background: linear-gradient(180deg, #ffffff 15%, var(--oro-brillante) 85%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.divisor-oro {
  color: var(--oro-puro);
  letter-spacing: 6px;
  font-size: 1.1rem;
  margin: 4px 0 14px 0;
  text-shadow: 0 0 8px rgba(207, 168, 100, 0.5);
}

.mensaje-xv {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.6;
  color: #f1e4eb;
  margin: 0 0 28px 0;
}

/* Botón Real Oro y Blush */
#abrir {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  color: #2b1d0c;
  background: linear-gradient(135deg, var(--oro-brillante) 0%, var(--oro-puro) 50%, #b88f4b 100%);
  border-radius: 50px;
  border: 1px solid #fffaeb;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), 0 0 16px rgba(207, 168, 100, 0.35);
  overflow: hidden;
  transition: all 0.35s ease;
}

#abrir span {
  position: relative;
  z-index: 2;
}

#abrir::before {
  content: '';
  position: absolute;
  top: 0;
  left: -130%;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.8), transparent);
  transform: skewX(-25deg);
  transition: left 0.75s ease;
  z-index: 1;
}

#abrir:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45), 0 0 25px rgba(244, 220, 166, 0.65);
}

#abrir:hover::before {
  left: 140%;
}

#abrir:active {
  transform: translateY(0);
}

@media (max-width: 480px) {
  .pantalla-contenido {
    padding: 38px 20px;
  }
  #abrir {
    width: 100%;
  }
}

/* ==========================================
   FOTOS Y CABECERA / HERO
========================================== */
.foto__perfil {
  border-radius: 20px;
  margin: 10px 0;
  width: 250px;
  max-width: 85vw;
  box-shadow: 0 10px 25px rgba(74, 43, 49, 0.15);
  border: 3px solid #ffffff;
}

.cabeza__contenedor {
  overflow: hidden;
}

.cabeza {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  min-height: 100vh;
  padding: 40px 15px;
  background-image: linear-gradient(
      var(--degradado-encabezado-inicio),
      var(--degradado-encabezado-final)
    ),
    url(./content/bg_banner.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.titulo {
  font-size: 44px;
  font-family: Principal, cursive;
  color: var(--color-titulo-principal);
  text-align: center;
  margin: 15px 0 5px 0;
}

.subtitulo {
  font-size: 26px;
  font-family: Secundaria, serif;
  color: var(--color-subtitulo-principal);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 5px 0;
}

.fecha {
  font-size: 19px;
  font-family: Secundaria, serif;
  color: var(--color-fecha-evento);
  text-align: center;
  text-transform: uppercase;
  margin: 10px 0;
}

.dot__deco {
  font-size: 20px;
  color: var(--color-decoracion-encabezado);
  text-align: center;
  margin: 5px 0;
  letter-spacing: 4px;
}

.down {
  margin-top: 20px;
  opacity: 0.7;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-8px); }
  60% { transform: translateY(-4px); }
}

/* ==========================================
   SECCIONES DE CONFIRMACIÓN Y TEXTO
========================================== */
.confirmacion1 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 30px 15px;
}

.art__deco {
  margin: 25px 0 10px 0;
  width: 90px;
}

.texto {
  font-size: 16px;
  background-color: var(--fondo-mensaje-confirmacion);
  color: var(--color-texto-mensaje-confirmacion);
  text-align: center;
  padding: 25px 30px;
  margin: 20px auto 10px auto;
  max-width: 700px;
  border: 2px double var(--color-borde-boton);
  border-radius: 12px;
  line-height: 1.8;
  letter-spacing: 2px;
  box-shadow: 0 4px 15px rgba(108, 75, 83, 0.08);
}

.nota-puntualidad {
  font-family: Secundaria, serif;
  font-size: 15px;
  color: #91616c;
  letter-spacing: 1px;
  text-align: center;
  margin: 8px 0 18px 0;
  font-style: italic;
  max-width: 620px;
  line-height: 1.5;
}

.fecha-limite {
  font-size: 14px;
  color: #8f6870;
  text-align: center;
  margin-top: 15px;
  letter-spacing: 1px;
}

.fecha-limite strong {
  color: #5c353d;
  text-decoration: underline dotted var(--adorno-dorado);
}

/* ==========================================
   UBICACIÓN
========================================== */
.ubicacion {
  background-image: linear-gradient(
      var(--degradado-ubicacion-inicio),
      var(--degradado-ubicacion-final)
    ),
    url(./content/bg_ubicacion.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 50px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.titulo__ubicacion {
  font-size: 50px;
  font-family: Principal, cursive;
  color: var(--color-titulo-ubicacion);
  text-align: center;
  margin: 15px 0;
}

.descripcion {
  color: var(--color-descripcion-ubicacion);
  font-size: 16px;
  text-align: center;
  line-height: 1.6;
  margin: 15px 0 20px 0;
  max-width: 600px;
}

.botones__grupo {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 10px;
}

.map__container {
  display: flex;
  overflow: hidden;
  justify-content: center;
  margin: 20px 0;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.map1 {
  width: 90vw;
  max-width: 650px;
  height: 35vh;
  min-height: 250px;
  border: 0;
}

.spawn__display {
  display: none;
}

/* ==========================================
   ITINERARIO
========================================== */
.itinerario {
  padding: 50px 20px;
  background: #f7edeb;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.titulo__seccion {
  font-size: 46px;
  font-family: Principal, cursive;
  color: var(--color-titulo-familiares);
  margin: 0 0 30px 0;
}

.linea__tiempo {
  max-width: 550px;
  width: 100%;
  border-left: 2px dashed #d5b0a3;
  padding-left: 20px;
  margin-left: 10px;
}

.item__itinerario {
  margin-bottom: 22px;
  position: relative;
}

.item__itinerario::before {
  content: '🌸';
  position: absolute;
  left: -32px;
  top: 2px;
  font-size: 14px;
}

.item__itinerario .hora {
  font-family: Secundaria, serif;
  font-weight: bold;
  color: #8c5560;
  font-size: 16px;
  display: block;
}

.item__itinerario .evento {
  margin: 4px 0 0 0;
  font-size: 15px;
  color: var(--color-texto-principal);
}

/* ==========================================
   CÓDIGO DE VESTIMENTA
========================================== */
.codigo__vestimenta {
  background-color: var(--fondo-codigo-vestimenta);
  padding: 50px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.texto__codigo--principal {
  color: #f7ded8;
  font-family: Secundaria, serif;
  font-size: 26px;
  letter-spacing: 6px;
  margin: 10px 0 5px 0;
}

.texto__codigo--detalle {
  color: #e4cac3;
  font-size: 15px;
  max-width: 500px;
  line-height: 1.6;
}

/* ==========================================
   PADRES Y PADRINOS
========================================== */
.group__parents {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 50px 15px;
  background-image: url(content/bg_misc2.jpg);
  background-size: cover;
}

.parientes__titulo {
  font-size: 46px;
  font-family: Principal, cursive;
  color: var(--color-titulo-familiares);
  text-align: center;
  margin: 15px 0;
}

.parientes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  max-width: 600px;
  width: 100%;
  justify-items: center;
  margin-top: 15px;
}

.tarjeta__pariente {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tarjeta__pariente .foto__perfil {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 50%;
}

.parientes__texto {
  font-size: 16px;
  font-family: Secundaria, serif;
  color: var(--color-texto-familiares);
  text-align: center;
  margin: 12px 0;
  letter-spacing: 2px;
  line-height: 1.4;
}

@media (max-width: 600px) {
  .parientes {
    grid-template-columns: 1fr;
  }
}

/* ==========================================
   BOTONES
========================================== */
.button {
  background-color: var(--fondo-boton);
  color: var(--color-texto-boton);
  border: 1px solid var(--color-borde-boton);
  border-radius: 25px;
  padding: 14px 26px;
  text-decoration: none;
  font-family: Secundaria, serif;
  font-size: 14px;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  cursor: pointer;
  display: inline-block;
  box-shadow: 0 4px 12px rgba(110, 67, 76, 0.12);
  text-align: center;
}

.button:hover {
  background-color: var(--fondo-boton-hover);
  color: var(--color-texto-boton-hover);
  transform: translateY(-2px);
}

.button__nobg {
  background: transparent;
  color: var(--color-texto-boton-secundario);
  border: 1px solid var(--color-texto-boton-secundario);
  border-radius: 25px;
  padding: 14px 24px;
  text-decoration: none;
  font-family: Secundaria, serif;
  font-size: 14px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.button__nobg:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ==========================================
   CONTADOR
========================================== */
.contenedor__contador {
  display: flex;
  justify-content: center;
  margin: 10px 0;
}

#contador {
  display: flex;
  gap: 10px;
}

.simply-section {
  background-color: var(--fondo-tarjeta-contador);
  color: var(--color-texto-tarjeta-contador);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 75px;
  height: 70px;
  backdrop-filter: blur(5px);
  transition: 0.3s;
}

.simply-amount {
  font-size: 36px;
  font-weight: bold;
  display: flex;
  flex-direction: column;
  text-align: center;
  line-height: 0.7;
}

@media (max-width: 786px) {
  .simply-section {
    padding: 8px 10px;
    min-width: 50px;
  }
  .simply-amount {
    font-size: 26px;
  }
}

.banners {
  width: 100%;
  max-width: 500px;
  border-radius: 15px;
}

/* ==========================================
   SECCIÓN DE REGALOS / LLUVIA DE SOBRES
========================================== */
.regalos {
  padding: 50px 20px;
  background-image: url(content/bg_misc.jpg);
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.icono__regalo {
  width: 55px;
  height: 55px;
  margin-bottom: 10px;
}

.tarjeta__regalo {
  background-color: var(--fondo-mensaje-confirmacion);
  border: 2px double #e8d0c5;
  border-radius: 18px;
  padding: 35px 25px;
  max-width: 550px;
  width: 90%;
  margin: 10px auto;
  box-shadow: 0 8px 25px rgba(108, 75, 83, 0.08);
}

.subtitulo__regalo {
  font-family: Secundaria, serif;
  font-size: 24px;
  color: var(--color-titulo-familiares);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin: 0 0 5px 0;
}

.adorno__floral {
  display: block;
  font-size: 14px;
  color: var(--icons);
  margin-bottom: 15px;
}

.pregunta__regalo {
  font-family: Secundaria, serif;
  font-size: 17px;
  font-weight: bold;
  color: #8c5560;
  margin: 15px 0 8px 0;
}

.descripcion__regalo {
  font-size: 15px;
  color: var(--color-texto-principal);
  line-height: 1.7;
  margin: 0 0 15px 0;
}

/* ==========================================
   DECORACIÓN FLOTANTE INDEX
========================================== */
.bg_index {
  position: fixed;
  z-index: 1;
  bottom: 0;
  right: 0px;
  height: 150px;
  margin: 5px;
  animation: rotar 1s linear infinite;
}

.bg_index_mirror {
  position: fixed;
  z-index: 1;
  bottom: 0;
  left: 0px;
  height: 100px;
  animation: rotar 1s linear infinite;
  margin: 5px;
}

@keyframes rotar {
  0% { transform: rotate(0deg); }
  50% { transform: rotate(3deg); }
  100% { transform: rotate(0deg); }
}


















/* ==========================================
   FOOTER -- NO MODIFICAR NADA --
========================================== */
.firma {
  background-color: #1f1d24;
  text-align: center;
  padding: 80px 0;
  position: relative;
  z-index: 999;
}

.boton__seleccionar__container{
  display: flex;
  position: relative;
  z-index: 999;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin: 10px 0;
}

.boton__seleccionar__a,
.boton__seleccionar__b{
  text-align: center;
  padding: 20px 20px;
  border-radius: 20px;
  font-family:Georgia, 'Times New Roman', Times, serif;
  text-decoration: none;
  color: #ffffff;
  font-size: 16px;
  width: 300px;
}

.boton__seleccionar__a{
  background-color: #ab8557;
margin-bottom: 10px;
}

.boton__seleccionar__b{
  background-color: #1f1d24;
}

.logo__inviewbox{
  width: 200px;
}
