/* General Styles */
body {
    font-family: 'Benne', serif;
    margin: 0;
    padding: 0;
    text-align: center;
    overflow-y: hidden; /* Evita el scroll extra */
    background-image: url("Elementos/Texturas.png");
    background-size: 1068px 801px;
    background-repeat: repeat; /* repite en X y Y */
    background-position: top left; /* opcional */
}

html, body {
    overflow-x: hidden; /* Impide el scroll horizontal */
    margin: 0; /* Asegura que no haya márgenes extra */
    padding: 0; /* Asegura que no haya padding extra */
    width: 100%; /* Asegura que todo encaje en la pantalla */
}

@font-face {
    font-family: 'BrittanySignature';
    src: url('Fuentes/BrittanySignature.woff2') format('woff2'),
         url('Fuentes/BrittanySignature.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0; 
    width: 100%;
    height: 50px;
    background: #333;
    color: white;
    display: flex;
    align-items: center;
    padding: 0 15px;
    z-index: 1000; /* Ensure header is above other elements */
}

header h1 {
    font-size: 20px;
    color: #ffffff; /* Cambia el color */
    font-weight: 400;
    margin: 0;
    margin-left: 10px;
    font-family: 'Benne', serif;
    margin-top: 8px;
}

/* Navigation Menu */
.menu-toggle {
    cursor: pointer;
    font-size: 24px;
    user-select: none;
    color: white;
    border: none;
    height: 50px; /* Match the height of the header */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 8px; /* Ajusta la distancia según lo necesites */
}

/* Hidden menu by default */
#nav-menu {
    position: fixed;
    top: 0;
    left: -300px;
    width: 250px;
    height: 100vh;
    background: white;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    z-index: 999;
    padding-top: 50px;
    overflow-y: auto;   /* 👈 agrega scroll vertical */
}

#nav-menu.active {
    left: 0;
}

#nav-menu ul {
    list-style: none;
    padding: 20px;
    padding-bottom: 50px !important; /* margen interno extra */
}

#nav-menu li {
    margin-bottom: 0px;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.4s ease;
}

#nav-menu i {
    position: relative;
    top: -3px; /* prueba 1px, 2px o 3px */
}

#nav-menu.active li {
    opacity: 1;
    transform: translateX(0);
}

#nav-menu li:nth-child(1) { transition-delay: 0.1s; }
#nav-menu li:nth-child(2) { transition-delay: 0.2s; }
#nav-menu li:nth-child(3) { transition-delay: 0.3s; }
#nav-menu li:nth-child(4) { transition-delay: 0.4s; }
#nav-menu li:nth-child(5) { transition-delay: 0.5s; }
#nav-menu li:nth-child(6) { transition-delay: 0.6s; }
#nav-menu li:nth-child(7) { transition-delay: 0.7s; }
#nav-menu li:nth-child(8) { transition-delay: 0.8s; }
#nav-menu li:nth-child(9) { transition-delay: 0.9s; }

#nav-menu li a {
    display: flex;                /* Activa flexbox */
    align-items: center;          /* Centra verticalmente icono y texto */
    gap: 10px;                    /* Espacio entre icono y texto */
    text-decoration: none;
    color: var(--dark-color);
    padding: 12px 15px;
    border-radius: 5px;
    font-size: 18px;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    justify-content: flex-start;  /* Asegura que todo quede alineado a la izquierda */
    font-family: 'Benne', serif;
    font-size: 20px;
}

#nav-menu li a i {
    width: 24px;                  /* Columna fija para los íconos */
    text-align: center;
    flex-shrink: 0;               /* Evita que se encoja el icono */
}

#nav-menu li a:hover {
    background-color: #dddddd80;
    color: #474948;
    border-left: 4px solid #37373780;
    padding-left: 20px;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 998;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Sections */
section {
    padding: 50px 20px;
}

h1, h2 {
    color: #d63384;
}

p {
    color: #444;
}

#pinicial{
    position: relative;
    overflow: hidden; /* opcional */
    padding-bottom: 0;
}

.floral-superior {
    position: absolute;
    top: clamp(-35px, -5vw, -15px);
    right: clamp(-65px, -15vw, -25px);
    width: 58%;
    max-width: 245px;
    height: auto;
    pointer-events: none;
    user-select: none;
    transform: rotate(9deg);
}

.floral-superior1 {
    position: absolute;
    top: clamp(-80px, -2.34px - 18.02vw, -60px);
    right: clamp(-65px, -15vw, -25px);
    width: 55%;
    max-width: 237px;
    height: auto;
    pointer-events: none;
    user-select: none;
    transform: rotate(14deg);
}

.floral-inferior {
    position: absolute;
    bottom: clamp(-90px, -20vw, -15px);
    left: clamp(-100px, -2.93px - 22.52vw, -75px);
    width: 55%;
    max-width: 237px;
    height: auto;
    pointer-events: none;
    user-select: none;
    transform: scaleX(-1) scaleY(-1) rotate(141deg);
}

#pinicial h2 {
    font-family: 'BrittanySignature', cursive;
    font-weight: 400;
    color: #b48d4f;
    line-height: 1.5;
    font-size: clamp(38px, calc(8.91px + 9.0909vw), 48px);
    margin-bottom: 0.2em;
    margin-top: 3em;
}

#pinicial p {
    font-family: 'Tai Heritage Pro', serif;
    font-style: normal;
    font-size: clamp(22px, 4.70px + 5.41vw, 28px);
    text-transform: uppercase;
    font-weight: 400;
    color: #b48d4f;
    margin-top: 0;
    line-height: 1.8;
}

#pinicial h3 {
    font-family: 'Tai Heritage Pro', serif;
    font-style: normal;
    font-size: clamp(17px, 2.59px + 4.50vw, 22px);
    text-transform: uppercase;
    font-weight: 400;
    color: #a13b3b;
    margin-top: 0.3em;
    margin-bottom: 0.1em;
    line-height: 1.2;
}

#pinicial h4 {
    font-family: 'Benne', serif;
    font-style: normal;
    font-size: clamp(19px, 10.35px + 2.70vw, 22px);
    color: #000000;
    line-height: 1.1;
    font-weight: 400;
    margin-top: 0.5em;
    margin-bottom: 2.5em;
}

.lineas {
    display: inline-block;
    padding: 0.1em 2.5em 0 2.5em;
    border-top: 2px solid #b48d4f;
    border-bottom: 2px solid #b48d4f;
}

#music {
    position: relative;
    height: 130px;
    margin-top: 10px;
    padding: 0px;
}

#music p {
    font-family: 'BrittanySignature', cursive;
    font-weight: 400;
    color: #000000;
    line-height: 1.2;
    font-size: clamp(25px, 7.70px + 5.41vw, 31px);
    margin-top: 0.2em;
    margin-bottom: 0.5em;
}

/* Botón corazón */
.heart-btn {
    display: block;
    margin: 0 auto;
    background: none;
    border: none;
    cursor: pointer;
    font-size: clamp(45px, calc(15.91px + 9.0909vw), 50px);
    color: #a13b3b;
    position: relative;
    outline: none;
    box-shadow: none;
    -webkit-tap-highlight-color: transparent;
}

.heart-btn:hover,
.heart-btn:focus,
.heart-btn:active{
    background: none !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Icono play/pause */
.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-size: 0.45em;
}

#countdown {
background-color: rgb(211 198 169 / 50%);
    text-align: center;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centra verticalmente */
    align-items: center; /* Centra horizontalmente */
    padding: 0px;
}

#countdown h2 {
    font-family: 'BrittanySignature', cursive;
    font-weight: 400;
    color: #a13b3b;
    line-height: 1.5;
    font-size: clamp(35px, 6.17px + 9.01vw, 45px);
    margin-bottom: 0.5em;
    margin-top: 1em;
}

#timer {
    font-family: "Tai Heritage Pro", serif;
    display: flex;
    justify-content: center; /* Centra las unidades de tiempo */
    align-items: center; /* Centra las unidades de tiempo verticalmente */
    gap: 0.1em;
    margin-bottom: 3.5em;
}

.time-unit {
    width: clamp(30px, 18vw, 90px);
    line-height: 1.3em;
    text-align: center;
}

.number {
    font-weight: bold;
    font-style: normal;
    font-size: clamp(18px, 0.70px + 5.41vw, 24px);
}

.label {
    display: block; /* Hace que el texto de la unidad esté en una nueva línea debajo del número */
    font-size: clamp(16px, 4.47px + 3.60vw, 20px);
    color: #000000; /* Color gris para las palabras */
    margin-top: 0.2em; /* Espacio entre el número y la palabra */
}

.heart {
    width: clamp(12px, 3vw, 16px);
    aspect-ratio: 1 / 1;
    display: inline-block;
    flex-shrink: 0;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    animation: heartbeat 1.5s ease-in-out infinite;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 29.6'%3E%3Cpath fill='%23a13b3b' d='M23.6,0c-3.4,0-6.3,2.1-7.6,5.1C14.7,2.1,11.8,0,8.4,0C3.8,0,0,3.8,0,8.4 c0,9,16,21.2,16,21.2s16-12.2,16-21.2C32,3.8,28.2,0,23.6,0z'/%3E%3C/svg%3E");
}

/* Definir la animación del corazón */
@keyframes heartbeat {
    0% {
        transform: scale(1); /* Tamaño original */
    }
    25% {
        transform: scale(1.2); /* Aumenta el tamaño un 20% */
    }
    50% {
        transform: scale(1); /* Vuelve al tamaño original */
    }
    75% {
        transform: scale(1.2); /* Aumenta el tamaño un 20% nuevamente */
    }
    100% {
        transform: scale(1); /* Vuelve al tamaño original */
    }
}

.map-buttons{
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: clamp(8px, -3.53px + 3.60vw, 12px);
    width: 88%;
    max-width: 295px;
    margin: 0.3em auto 0;
}

.map-buttons .btn{
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.4em 0.8em;
    background-color: #a13b3b;
    color: white;
    text-decoration: none;
    border-radius: 1000px;
    font-family: 'Tai Heritage Pro', serif;
    font-style: normal;
    font-size: clamp(20px, 14.23px + 1.80vw, 22px);
    line-height: 1;
    font-weight: 400;
    cursor: pointer;

    text-decoration: none;
    border: none;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.btn:focus,
.btn:focus-visible {
    outline: none;
    box-shadow: none;
}

/* Hover effect for .btn */
.btn:hover {
    background-color: #852b2b; /* Cambia el color de fondo al pasar el mouse */
}

hr {
    border: none;
    border-bottom: 1px solid #cacaca;
    margin: 10px 0;
}

#nav-menu ul {
    list-style: none; /* Elimina las viñetas */
    padding: 0;
    margin: 0;
}

.back-button {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 15px;
    background: #f570c3;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
}

.back-button:hover {
    background: #ffb5e3;
}

#frase {
background-color: rgb(211 198 169 / 50%);
    text-align: center;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centra verticalmente */
    align-items: center; /* Centra horizontalmente */
    padding: 0px;
}

#frase p {
    font-family: 'Benne', serif;
    font-style: italic;
    font-size: clamp(19px, 10.35px + 2.70vw, 22px);
    color: #000000;
    line-height: 1.1;
    font-weight: 400;
    margin-top: 0.5em;
}

#frase h1 {
    font-family: 'BrittanySignature', cursive;
    font-weight: 400;
    color: #a13b3b;
    line-height: 1.2;
    font-size: clamp(25px, 7.70px + 5.41vw, 31px);
    margin-top: 0.2em;
    margin-bottom: 1.5em;
}

.decoracion-ropa {
    display: block;
    margin: 0 auto;
    height: auto;
    width: 65%;
    max-width: 254px;
}

.decoracion-regalo {
    display: block;
    margin: 0 auto;
    height: auto;
    width: 55%;
    max-width: 215px;
}

.decoracion-kids {
    display: block;
    margin: 0 auto;
    height: auto;
    width: 60%;
    max-width: 215px;
}

.decoracion-anillos {
    display: block;
    margin: 0 auto;
    height: auto;
    width: 45%;
    max-width: 180px;
    margin-top: 2em;
}

#agendar  {
    position: relative;
    overflow: hidden;
    padding: 0;
    padding-bottom: 60px;
}

#agendar p {
    font-family: 'Benne', cursive;
    font-size: 21px;
    font-weight: 400;
    color: #000000;
    line-height: 20px;
    margin-top: 0px;
    font-style: italic; /* Asegura que sea cursiva */
}

#details h1 {
    font-family: 'BrittanySignature', cursive;
    font-weight: 400;
    color: #a13b3b;
    line-height: 1.5;
    font-size: clamp(40px, calc(11.1712px + 9.0090vw), 50px);
    margin-top: 0.5em;
    margin-bottom: 0.2em;
}

#details h2 {
    font-family: 'BrittanySignature', cursive;
    font-weight: 400;
    color: #b48d4f;
    line-height: 1.5;
    font-size: clamp(30px, 9.82px + 6.31vw, 37px);
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

.o-tilde {
    position: relative;
    display: inline-block;
}

.o-tilde .tilde {
    font-family: 'Tai Heritage Pro', serif;
    position: absolute;
    top: 0.8em;      /* Ajusta según la fuente */
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.55em; /* Ajusta el tamaño */
    line-height: 1;
    pointer-events: none;
    font-weight: bold;
}

.o-tilde .tilde1 {
    font-family: 'Tai Heritage Pro', serif;
    position: absolute;
    top: 0.6em;      /* Ajusta según la fuente */
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.55em; /* Ajusta el tamaño */
    line-height: 1;
    pointer-events: none;
    font-weight: bold;
}

.o-tilde .tilde2 {
    font-family: 'Tai Heritage Pro', serif;
    position: absolute;
    top: 0.7em;      /* Ajusta según la fuente */
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.55em; /* Ajusta el tamaño */
    line-height: 1;
    pointer-events: none;
    font-weight: bold;
}

.o-tilde .tilde3 {
    font-family: 'Tai Heritage Pro', serif;
    position: absolute;
    top: 0.3em;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.55em;
    line-height: 1;
    pointer-events: none;
    font-weight: bold;
}

.o-tilde .tilde4 {
    font-family: 'Tai Heritage Pro', serif;
    position: absolute;
    top: 0.6em;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.55em;
    line-height: 1;
    pointer-events: none;
    font-weight: bold;
}

.decoracion-iglesia {
    display: block;
    margin: 0 auto;
    height: auto;
    width: 45%;
    max-width: 176px;
}

.decoracion-brindis {
    display: block;
    margin: 0 auto;
    height: auto;
    width: 37%;
    max-width: 145px;
}

#details p {
    font-family: 'Tai Heritage Pro', serif;
    font-style: normal;
    font-size: clamp(20px, 14.23px + 1.80vw, 22px);
    color: #000000;
    line-height: 1.1;
    font-weight: 400;
    margin: 0;
}

#misa {
    position: relative;
    overflow: hidden; /* opcional */
}

#misa h1 {
    font-family: 'BrittanySignature', cursive;
    font-weight: 400;
    color: #a13b3b;
    line-height: 1.5;
    font-size: clamp(40px, calc(11.1712px + 9.0090vw), 50px);
    margin-top: 1em;
    margin-bottom: 0em;
}

#misa h2 {
    font-family: 'BrittanySignature', cursive;
    font-weight: 400;
    color: #b48d4f;
    line-height: 1.5;
    font-size: clamp(30px, 9.82px + 6.31vw, 37px);
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

#misa p {
    font-family: 'Tai Heritage Pro', serif;
    font-style: normal;
    font-size: clamp(20px, 14.23px + 1.80vw, 22px);
    color: #000000;
    line-height: 1.1;
    margin: 0;
}

.hora {
   margin-top: 0.8em !important;
   margin-bottom: 0.3em !important;
}

.m1 {
    margin-top: -20px !important; /* O el valor que prefieras */
}

.b1 {
    margin-top: 0px !important; /* O el valor que prefieras */
}

.b2 {
    margin-top: 0.4em !important; /* O el valor que prefieras */
}

.b3 {
    margin-top: 0.5em !important; /* O el valor que prefieras */
}

#clothes {
    position: relative;
    overflow: hidden;
    padding: 50px 20px;
}

#clothes h1 {
    font-family: 'BrittanySignature', cursive;
    font-weight: 400;
    color: #a13b3b;
    line-height: 1.5;
    font-size: clamp(35px, 6.17px + 9.01vw, 45px);
    margin-top: 1.5em;
    margin-bottom: 0;
}

#clothes p {
    font-family: 'Tai Heritage Pro', serif;
    font-style: normal;
    font-size: clamp(20px, 14.23px + 1.80vw, 22px);
    color: #b48d4f;
    line-height: 1.1;
    font-weight: 400;
    margin-top: 0.3em;
    margin-bottom: 2.5em;
}

/* 🔹 1. Fondo del modal */
.modal {
    display: none; /* Oculto por defecto */
    position: fixed;
    inset: 0; /* Alternativa moderna a left: 0; top: 0; width: 100%; height: 100%; */
    background: rgba(0, 0, 0, 0.5); /* Fondo semitransparente */
    
    /* Centrado total */
    justify-content: center;
    align-items: center;
    
    padding: 10px; /* Para evitar que toque los bordes en móviles */
    box-sizing: border-box; /* Asegura que padding no afecte dimensiones */
    z-index:5;
}

/* 🔹 2. Contenido del modal */
.modal-content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    position: relative; /* Para que los elementos absolutos (como la "X") se posicionen dentro del modal */
    
    /* Asegura que el modal tenga un ancho adaptable */
    width: 90%;  /* Ocupará el 90% del ancho en móviles */
    max-width: 400px;  /* No se expandirá más allá de 400px en pantallas grandes */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    
    /* Centrar correctamente */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* 🔹 3. Ajustar los campos dentro del modal */
.modal-content input,
.modal-content textarea {
    width: calc(100% - 20px); /* Se ajusta al ancho del modal */
    max-width: 350px;
    padding: 8px;
    margin: 5px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* 🔹 4. Corrección de la "X" (Botón de cierre) */
.close {
    position: absolute; /* Para que se fije dentro del modal */
    top: 10px; /* Margen superior */
    right: 15px; /* Margen derecho */
    cursor: pointer;
    font-size: 24px;
    font-weight: bold;
    color: #333;
    transition: color 0.3s ease;
}

.close:hover {
    color: #f570c3; /* Cambia de color al pasar el mouse */
}

input {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

#gift {
    background-color: rgb(211 198 169 / 50%);
    text-align: center;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0px;
}

#gift h1 {
    font-family: 'BrittanySignature', cursive;
    font-weight: 400;
    color: #a13b3b;
    line-height: 1.5;
    font-size: clamp(35px, 6.17px + 9.01vw, 45px);
    margin-bottom: 0em;
    margin-top: 1.5em;
}

#gift p {
    font-family: 'Tai Heritage Pro', serif;
    font-style: normal;
    font-size: clamp(20px, 14.23px + 1.80vw, 22px);
    color: #000000;
    line-height: 1.1;
    font-weight: 400;
    margin-top: 1em;
    margin-bottom: 2.5em;
}

.mensajea {
    margin-top: -20px;
}

.attendance-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    padding: 10px;
    z-index:4 !important;
}

.attendance-modal-content {
    position: fixed;
    background: white;
    padding: 20px;
    border-radius: 10px;

    width: 75%;
    max-width: 431px;

    text-align: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);

    left: 50%;
    top: calc(50% + 25px); /* compensa el header */
    transform: translate(-50%, -50%);

    /* Altura visible menos header y márgenes */
    max-height: calc(100dvh - 130px);

    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.attendance-modal-content::-webkit-scrollbar {
    display: none;
}

.attendance-modal-content input,
.attendance-modal-content textarea,
.attendance-modal-content select {
    width: calc(100% - 20px);
    max-width: 350px;
    padding: 8px;
    margin: 5px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Botón de cierre específico para este modal */
.attendance-close {
    position: absolute;
    top: 10px;
    right: 15px;
    cursor: pointer;
    font-size: 24px;
    font-weight: bold;
    color: #a13b3b;
}

.attendance-close:hover {
    color: #b48d4f;
}

.attendance-modal-content p {
    font-family: 'Benne', serif;
    font-weight: 400;
    font-size: clamp(19px, calc(13.23px + 1.8018vw), 20px);
    width: calc(100% - 10px);
    max-width: 390px;
    color: #000000;
    line-height: 1.1;
    text-align: justify;
    margin: 0.5em auto;
    font-style: normal;
}

#attendance-section{
    position: relative;
    overflow: hidden;
}

#attendance-section h1 {
    font-family: 'BrittanySignature', cursive;
    font-weight: 400;
    color: #a13b3b;
    line-height: 1.5;
    font-size: clamp(35px, 6.17px + 9.01vw, 45px);
    margin-bottom: 0.35em;
    margin-top: 1.5em;
}

#attendance-section h3 {
    font-family: 'BrittanySignature', cursive;
    font-weight: 400;
    color: #b48d4f;
    line-height: 1.5;
    font-size: clamp(30px, 9.82px + 6.31vw, 37px);
    margin-top: 1em;
    margin-bottom: 0.7em;
}

#attendance-section h4 {
    font-family: 'BrittanySignature', cursive;
    font-weight: 400;
    color: #a13b3b;
    line-height: 1.5;
    font-size: clamp(35px, 6.17px + 9.01vw, 45px);
    margin-top: 1em;
    margin-bottom: 1.5em;
}

#attendance-section h5 {
    font-family: 'Tai Heritage Pro', serif;
    font-style: normal;
    font-size: clamp(15px, 0.59px + 4.50vw, 20px);
    color: #858585;
    line-height: 1.1;
    font-weight: 400;
    margin: 0;
}

.organiza-link {
    font-family: 'Tai Heritage Pro', serif;
    font-style: normal;
    font-size: clamp(15px, 0.59px + 4.50vw, 20px);
    color: #858585;
    line-height: 1.1;
    display: block;
    text-align: center;
    text-decoration: none;
}

.num {
    font-family: "Tai Heritage Pro", serif !important;
}

.form-label {
    font-family: 'Benne', serif;
    font-size: clamp(19px, calc(13.23px + 1.8018vw), 20px);
    font-weight: 400;
    color: #a13b3b !important;
    display: block;
    line-height: 1.1;
    width: calc(100% - 10px);
    max-width: 390px;
    margin: 0 auto;
    text-align: center;
}

input, select, textarea {
    font-family: Arial, sans-serif; /* Fuente uniforme */
    font-size: 14px; /* Tamaño de fuente uniforme */
    color: #333; /* Color del texto */
}

#loadingMessage1 {
    text-align: center !important; /* centra el texto si hay varios elementos dentro */
}

.Paletac {
    width: 100%;
    max-width: 250px;
    margin-top: 10px;
}

/***************************EFECTOS PARA TÍTULOS*********************************/
@keyframes deslizarHaciaAbajo {
    /* El estado final de la animación */
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 👇 tu animación base sigue igual */
.linea-texto span {
    display: inline-block;
    opacity: 0; /* Inicia invisible */
    transform: translateY(-110%); /* Inicia arriba, fuera de la vista */

    /* La animación no se ejecuta por defecto */
    animation-name: none; 
    animation-duration: 3s;
    animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1); /* Suavizado */
    animation-fill-mode: forwards; /* Mantiene el estado final de la animación */
    animation-delay: var(--delay); /* Usamos la variable de JS para el retraso */

    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    will-change: transform;

    padding-left: 0.5em;
    padding-right: 0.5em;

    margin-left: -0.5em; 
    margin-right: -0.5em; 

    padding-top: 0.5em;
    padding-bottom: 0.5em;

    margin-top: -0.5em; 
    margin-bottom: -0.5em; 
}

/* Efecto deslizar hacia abajo */
@keyframes deslizarHaciaAbajo {
    to { opacity: 1; transform: translateY(0); }
  }
  .efecto-deslizar.visible .linea-texto span {
    animation-name: deslizarHaciaAbajo;
  }
  
  /* Efecto fade in */
  @keyframes fadeIn {
    to { opacity: 1; }
  }
  .efecto-fade.visible .linea-texto span {
    transform: none;
    animation-name: fadeIn;
  }
  
  /* Efecto zoom */
  @keyframes zoomIn {
    0%   { opacity: 0; transform: scale(0.3); }
    100% { opacity: 1; transform: scale(1); }
  }
  .efecto-zoom.visible .linea-texto span {
    animation-name: zoomIn;
  }
  
  /* Efecto rebote */
  @keyframes bounceIn {
    0%   { opacity: 0; transform: translateY(-200%); }
    60%  { opacity: 1; transform: translateY(20%); }
    80%  { transform: translateY(-10%); }
    100% { transform: translateY(0); }
  }
  .efecto-bounce.visible .linea-texto span {
    animation-name: bounceIn;
  }

/*********************************************************************************/
@keyframes fadeInSoft {
    from { opacity: 0; }
    to   { opacity: 1; }
  }
  
  .efecto-fadeSoft.visible .linea-texto span {
    animation-name: fadeInSoft;
    transform: none;
  }

  @keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  
  .efecto-slideUp.visible .linea-texto span {
    animation-name: slideUp;
  }

  @keyframes slideLeft {
    from { opacity: 0; transform: translateX(-20px); }
    to   { opacity: 1; transform: translateX(0); }
  }
  
  .efecto-slideLeft.visible .linea-texto span {
    animation-name: slideLeft;
  }

  @keyframes softZoom {
    from { opacity: 0; transform: scale(0.98); }
    to   { opacity: 1; transform: scale(1); }
  }
  
  .efecto-softZoom.visible .linea-texto span {
    animation-name: softZoom;
  }  

  @keyframes dissolve {
    from { opacity: 0; filter: blur(4px); }
    to   { opacity: 1; filter: blur(0); }
  }
  
  .efecto-dissolve.visible .linea-texto span {
    animation-name: dissolve;
    transform: none;
  }

/***************************EFECTOS PARA PÁRRAFOS*********************************/ 
/* Estado inicial */
.efecto-parrafo{
    opacity:0;
    transition: opacity 1s ease, translate 1s ease;
  
    --dx:0px;
    --dy:30px;
  
    translate: var(--dx) var(--dy);
  }
  
  /* Cuando aparece */
  .efecto-parrafo.visible{
    opacity:1;
  
    --dx:0px;
    --dy:0px;
  }
  
  /* Variantes */
  .slide-left  { --dx:-50px; --dy:0; }
  .slide-right { --dx:50px;  --dy:0; }
  
  .slide-up    { --dy:50px; }
  .slide-down  { --dy:-50px; }

/*********************************************************************************/
  
.reveal {
    opacity: 0;
    transform: translateY(-30px);
    transition: all 0.8s ease-out;
 }
      
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.btn-animado {
    opacity: 0;
    transform: scale(0.8);
}
  
.btn-animado.active1 {
    opacity: 1;
    animation: zoomInOut 0.8s ease forwards;
}
  
@keyframes zoomInOut {
    0% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.1);
    }
    100% {
      transform: scale(1);
    }
}

.video-section {
    width: 100%;
    display: flex;
    justify-content: center; /* centra cuando llega a 430px */
    padding: 0px 0px;
    margin-top: 20px;
    margin-bottom: 70px;
}
  
.video-responsive {
  width: 100%;
  max-width: 430px;
  height: auto;
  display: block;
}

/*************************** EFECTOS PARA IMÁGENES ***************************/

.efecto-img {
    opacity: 0;
    transition: all 1s ease;
  }
  
  /* Direcciones */
  .img-left   { transform: translateX(-60px); }
  .img-right  { transform: translateX(60px); }
  .img-up     { transform: translateY(60px); }
  .img-down   { transform: translateY(-60px); }
  
  /* Cuando entra en pantalla */
  .efecto-img.visible {
    opacity: 1;
    transform: translate(0, 0);
  }  

/* Itinerario */
#itinerary {
    position: relative;
    overflow: hidden;
    padding: 30px 0 60px 0; 
}

.timeline {
    position: relative;
    max-width: 350px;
    margin: auto;
    padding: 50px 0px;
}

/* Línea gris base */
.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    background: #eee6df;
    top: 68px;
    bottom: 250px;
    border-radius: 3px;
    z-index: 0;
}

.progress-line {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  background: #a13b3b;
  top: 68px;      /* mismo inicio que la gris */
  height: 0;
  border-radius: 3px;
  transition: height 0.3s ease-out;
  z-index: 1;
}

/* Ítems */
.timeline-item {
    position: relative;
    width: 50%;
    min-height: 200px;   /* ajusta este valor */
    padding: 20px 20px 0px;
 }

.timeline-item.left { left: 0; text-align: center; }
.timeline-item.right { left: 50%; text-align: center; }

/* Círculo */
.circle {
  position: absolute;
  top: 18px;
  width: 40px;
  height: 40px;
  background: #fff;
  border: 3px solid #eee6df;
  border-radius: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #eee6df;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.timeline-item.left  .circle { right: 18px; }
.timeline-item.right .circle { left:  -22px; }

/* Corazón */
.circle .heart {
  font-size: 22px;
  margin-top: 10px;
}

.circle i {
  font-size: 22px;
}

/* Estado relleno */
.filled {
  border-color: #a13b3b;
  color: #a13b3b;
  transition: border-color 0.4s ease, color 0.4s ease;
}

#itinerary h1 {
    font-family: 'BrittanySignature', cursive;
    font-weight: 400;
    color: #a13b3b;
    line-height: 1.5;
    font-size: clamp(40px, calc(11.1712px + 9.0090vw), 50px);
    margin-bottom: -0.5em;
}

#itinerary p {
    font-family: 'BrittanySignature', cursive;
    font-weight: 400;
    color: #000000;
    line-height: 1.2;
    font-size: clamp(27px, 9.70px + 5.41vw, 33px);
    margin-top: 0.2em;
    margin-bottom: 0.2em;
    white-space: nowrap;
}

#itinerary h3 {
  font-family: "Tai Heritage Pro", serif !important;
  font-style: normal !important; /* Forzar el estilo normal */
  font-size: clamp(20px, 8.47px + 3.60vw, 24px);
  font-weight: 400;
  color: #000000;
  line-height: 1;
  margin-top: 0em !important;
  white-space: nowrap;
}

.timeline-item.left .text {
  margin-right: 55px !important; /* mueve el texto hacia la derecha */
  margin-top:-20px; 
}

.timeline-item.right .text1 {
  margin-left: 15px !important; /* mueve el texto hacia la derecha */
  margin-top:-20px; 
}

.timeline-item.right .text1 p,
.timeline-item.right .text1 h3 {
    transform: translateX(-12%);
}

.circle i {
  font-size: 20px; /* tamaño del ícono */
  transition: color 0.3s ease;

  /* 👇 aquí la animación */
  animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
  0% {
    transform: scale(1);
  }
  25% {
    transform: scale(1.2);
  }
  50% {
    transform: scale(1);
  }
  75% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
} 

.timeline-icon {
    display: block;
    width: 100%;
    max-width: 135px;
    height: auto;
    object-fit: contain;
}

.timeline-icon1 {
    display: block;
    width: 74%;
    max-width: 119px;
    height: auto;
    object-fit: contain;
}

#nokids {
    position: relative;
    overflow: hidden;
    padding-bottom: 70px;
}

#nokids h1 {
    font-family: 'BrittanySignature', cursive;
    font-weight: 400;
    color: #bea890;
    line-height: 1.5;
    font-size: clamp(35px, 6.17px + 9.01vw, 45px);
    margin-top: 0;
    margin-bottom: 0.4em;
}
 
#nokids p {
    font-family: 'Tai Heritage Pro', serif;
    font-style: normal;
    font-size: clamp(20px, 14.23px + 1.80vw, 22px);
    color: #000000;
    line-height: 1.1;
    font-weight: 400;
}

.n-tilde {
    position: relative;
    display: inline-block;
}

.virgulilla {
    font-family: 'Tai Heritage Pro', serif;
    position: absolute;
    left: 50%;
    top: 0.4em;
    transform: translateX(-50%);
    font-size: 0.5em;
    line-height: 1;
    pointer-events: none;
    font-weight: 700;
}

#pases {
background-color: rgb(211 198 169 / 50%);
    text-align: center;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centra verticalmente */
    align-items: center; /* Centra horizontalmente */
    padding: 0px;
}

#guestInfo {
    white-space: pre-line;
    margin-bottom: 2em;
    font-style: normal;
    line-height: 2.5;
    margin-top: 2em;
}
  
  .numero-pases {
    font-family: "Tai Heritage Pro", serif;
    font-style: normal;
    font-size: clamp(20px, 5.59px + 4.50vw, 25px);
    font-weight: 400;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5em;
    height: 1.5em;
    border-radius: 50%;
    background-color: #b6a593;
    color: white;
    margin-top: 0.5em;
    margin-bottom: 0.9em;
  }

  .texto-invitacion{
    font-family: 'BrittanySignature', cursive;
    font-weight: 400;
    color: #a13b3b;
    line-height: 1.2;
    font-size: clamp(25px, 7.70px + 5.41vw, 31px);
}

.nombre-familia {
    font-family: 'Tai Heritage Pro', serif;
    font-style: normal;
    font-size: clamp(22px, 4.70px + 5.41vw, 28px);
    text-transform: uppercase;
    font-weight: 400;
    color: #a13b3b;
    display: block;
    line-height: 1.3 !important;
    margin-bottom: 0.5em;
}

.centered-gif {
    display: block;
    margin: 0 auto;
    width: 90% !important;
    height: auto;
    max-width: 388px;
}