﻿

@font-face {
    font-family: 'HighSpirited';
    src: url('fonts/High_Spirited.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

.reset, input, .box-unete input, .unete input, select, textarea, text-cantidad input, html, body, div, span, nav, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, hr {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
    list-style: none;
    font-weight: normal;
    font-style: normal;
    text-decoration: none;
}

    a:link img, a:hover img, a:visited img, a:active img {
        border: none;
    }

::selection {
    background: #111111;
    color: #ffffff;
}

::-moz-selection {
    background: #111111;
    color: #ffffff;
}

:focus {
    outline: none;
}


*,
*::before,
*::after {
    box-sizing: border-box;
}


/*html,
body {
    max-width: 100%;
    overflow-x: clip;
}*/

body {
    margin: 0;
    padding: 0;
    background-color: #F0EDE6;
    font-family: "Montserrat", sans-serif;
    font-size: 1em;
    overflow-x: hidden;
    width: 100%;
    color: #1d1d1d;
}

.c {
    clear: both;
}

* {
    margin: 0;
    padding: 0;
}


#footer {
    padding-top: 60px;
    padding-bottom: 50px;
    clear: both;
    background-color: #d8c8b9;
}

    #footer .centrar {
        width: 100%;
    }


.creditos {
    color: #292D1B;
    text-align: center;
    font-size: 0.8em;
    line-height: 1em;
    letter-spacing: 2px;
}

    .creditos a:link {
        color: #4B4B31;
    }



    .creditos .fas {
        margin-right: 5px;
    }


.fa {
    margin-right: 5px;
}

/*/*/

#right {
    width: 100%;
    overflow: hidden;
}




/* =========================================================
   SOBRE DE APERTURA - INVITAPP
========================================================= */

:root {
    /* =========================================
       COLORES DEL SOBRE
    ========================================= */
    --sobre-principal: #424228;
    /* Pliegue izquierdo */
    --sobre-claro: #424228;
    /* Solapa */
    --sobre-medio: #424228;
    /* Pliegue derecho */
    --sobre-oscuro: #3c3c24;
    /* Interior del sobre */
    --sobre-interior: #2e2e1d;
    /* Fondo de la pantalla */
    --sobre-fondo: #292D1B;
    /* Botón */
    --sobre-boton: #929F7B;
    --sobre-boton-texto: #ffffff;
}


/* =========================================================
   PANTALLA DE INTRO
========================================================= */

#intro-sobre {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100dvh;
    background: var(--sobre-fondo);
    background-image: url(Imagenes/bg-green-02.jpg);
    background-position: center;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    overflow: hidden;
}


/* =========================================================
   CONTENEDOR DEL SOBRE
========================================================= */

.sobre-wrapper {
    position: relative;
    width: min(84vw, 420px);
    display: flex;
    flex-direction: column;
    align-items: center;
}


/* =========================================================
   SOBRE
========================================================= */

.sobre {
    position: relative;
    width: 100%;
    aspect-ratio: 1.55 / 1;
    perspective: 1200px;
}


/* =========================================================
   PARTE TRASERA / INTERIOR
========================================================= */

.sobre-interior {
    position: absolute;
    inset: 0;
    background: var(--sobre-interior);
    border-radius: 4px;
    z-index: 1;
    box-shadow: 0px 0px 35px rgba(0, 0, 0, .45);
}


/* =========================================================
   FOTO DENTRO DEL SOBRE
========================================================= */

.foto-sobre {
    position: absolute;
    width: 50%;
    height: 94%;
    left: 25%;
    top: 0%;
    z-index: 2;
    background: #d8c8b9;
    padding: 10px;
    border-radius: 4px;
    box-sizing: border-box;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .18);
    transition: transform 1.2s cubic-bezier(.22, .61, .36, 1);
}


    .foto-sobre img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

/* =========================================================
   SOLAPA SUPERIOR
========================================================= */

.sobre-solapa {
    position: absolute;
    width: 100%;
    height: 58%;
    top: 0;
    left: 0;
    transform-origin: top center;
    transform: rotateX(0deg);
    transition: transform .9s cubic-bezier(.4, 0, .2, 1);
    z-index: 5;
    /* Importante para que el sello no se corte */
    overflow: visible;
}


/* Forma triangular de la solapa */

.sobre-solapa-forma {
    position: absolute;
    inset: 0;
    background: var(--sobre-medio);
    background-image: url('Imagenes/black-felt.png');
    clip-path: polygon( 0 0, 100% 0, 50% 100% );
}


/* =========================================================
   SELLO
========================================================= */

.sello-sobre {
    position: absolute;
    width: 82px;
    height: 82px;
    left: 50%;
    bottom: -32px;
    transform: translateX(-50%);
    object-fit: contain;
    z-index: 10;
    pointer-events: none;
    filter: drop-shadow(0 4px 5px rgba(0, 0, 0, .18));
}


/* =========================================================
   FRENTE DEL SOBRE
========================================================= */

.sobre-frente {
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
}


/* =========================================================
   PLIEGUE IZQUIERDO

   Ahora usamos --sobre-claro para que sí exista
   diferencia visual con la parte inferior.
========================================================= */

.sobre-frente-izq {
    position: absolute;
    inset: 0;
    background: var(--sobre-oscuro);
    background-image: url('Imagenes/black-felt.png');
    clip-path: polygon( 0 0, 52% 52%, 0 100% );
}


/* =========================================================
   PLIEGUE DERECHO
========================================================= */

.sobre-frente-der {
    position: absolute;
    inset: 0;
    background: var(--sobre-oscuro);
    background-image: url('Imagenes/black-felt.png');
    clip-path: polygon( 100% 0, 48% 52%, 100% 100% );
}


/* =========================================================
   PLIEGUE INFERIOR
========================================================= */

.sobre-frente-abajo {
    position: absolute;
    inset: 0;
    background: var(--sobre-principal);
    background-image: url('Imagenes/black-felt.png');
    clip-path: polygon( 0 100%, 50% 48%, 100% 100% );
}



.sobre-flores {
    position: absolute;
    width: 42%;
    height: auto;
    bottom: -25%;
    left: -18%;
    z-index: 15;
    pointer-events: none;
    user-select: none;
}

@media (max-width: 600px) {
    .sobre-flores {
        width: 40%;
        bottom: -25%;
        left: -8%;
    }
}


/* =========================================================
   BOTÓN VER INVITACIÓN
========================================================= */

#btnAbrirSobre {
    margin-top: 45px;
    padding: 14px 30px;
    border: 1px solid var(--sobre-boton);
    background: var(--sobre-boton);
    border-radius: 100px;
    color: var(--sobre-boton-texto);
    font-family: inherit;
    font-family: "Cormorant Garamond", serif;
    font-size: 1.1em;
    letter-spacing: 2px;
    cursor: pointer;
    transition: background .3s ease, color .3s ease, opacity .3s ease, transform .3s ease;
}


    /* Hover */

    #btnAbrirSobre:hover {
        background: var(--sobre-boton);
        color: var(--sobre-boton-texto);
    }


    /* Click */

    #btnAbrirSobre:active {
        transform: scale(.97);
    }


/* =========================================================
   ANIMACIÓN 1
   ABRIR SOLAPA
========================================================= */

.sobre.abrir-solapa .sobre-solapa {
    transform: rotateX(180deg);
}


/* =========================================================
   ANIMACIÓN 2
   MANDAR SOLAPA DETRÁS DEL SOBRE
========================================================= */

.sobre.solapa-atras .sobre-solapa {
    z-index: 1;
}


/* =========================================================
   ANIMACIÓN 3
   SACAR FOTO
========================================================= */

.sobre.sacar-foto .foto-sobre {
    transform: translateY(-62%);
}



/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .sobre-wrapper {
        width: 86vw;
    }


    #btnAbrirSobre {
        margin-top: 38px;
        padding: 13px 25px;
        font-size: 0.9em;
        letter-spacing: 2px;
    }
}




/* =========================================================
   TEXTO SUPERIOR DEL SOBRE
========================================================= */

.texto-sobre {
    margin-bottom: 38px;
    color: #302C29;
    font-family: "Cormorant Garamond", serif;
    font-size: 1.2em;
    font-weight: 400;
    letter-spacing: 4px;
    line-height: 1.7;
    text-align: center;
    transition: opacity .4s ease, transform .4s ease;
    opacity: 1;
    transform: translateY(0);
}


    /* Al comenzar la apertura */

    .texto-sobre.ocultar {
        opacity: 0;
        transform: translateY(-10px);
        pointer-events: none;
    }

@media (max-width: 600px) {

    .texto-sobre {
        margin-bottom: 30px;
        padding: 0 20px;
        font-size: 1em;
        letter-spacing: 2px;
    }
}




.home-viewport {
    width: 100%;
    overflow: hidden;
}


/* ==========================================
   CONTENIDO GENERAL
========================================== */

#contenido-invitacion {
    display: none;
    width: 100%;
}

    #contenido-invitacion.preparado {
        display: block;
    }

/* Páginas internas */

.pagina {
    display: none;
    width: 100%;
}

    .pagina.activa {
        display: block;
    }

/* =====================================
   IDIOMAS - INVITACIÓN ONE PAGE
===================================== */

html[data-idioma="es"] .contenido-es {
    display: block;
}

html[data-idioma="es"] .contenido-en {
    display: none;
}

html[data-idioma="en"] .contenido-es {
    display: none;
}

html[data-idioma="en"] .contenido-en {
    display: block;
}



/* ==========================================
   CABECERAS
========================================== */

.cabecera-seccion {
    width: 100%;
    height: 500px;
    background-image: url(Imagenes/BG-Section.jpg);
    background-size: cover;
    background-position: left 35%;
    background-repeat: no-repeat;
    position: relative;
}


.cabecera-home {
}

.cabecera-details {
}

.cabecera-story {
}

.cabecera-rsvp {
}


/* ==========================================
   MENÚ DE NAVEGACIÓN
========================================== */

.menu-invitacion {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 28px;
    width: 100%;
    padding: 22px 15px;
    background: #F0EDE6;
    box-sizing: border-box;
    font-family: 'Cormorant Garamond', serif;
    display: none !important;
}

    .menu-invitacion a {
        color: #4B4B42;
        text-decoration: none;
        font-size: 1.5em;
        font-weight: 400;
        cursor: pointer;
        transition: color 0.3s ease;
    }

        .menu-invitacion a:hover,
        .menu-invitacion a.activo {
            color: #76283E;
        }


/* ==========================================
   CONTENIDO DE CADA PÁGINA
========================================== */

.contenido-pagina {
    width: 100%;
    min-height: 0;
    background: #F0EDE6;
}


/* ==========================================
   BOTONES DE IDIOMA DEL SOBRE
========================================== */

.botones-idioma {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

.btn-abrir-idioma {
    padding: 13px 25px;
    border: 1px solid #4B4B42;
    border-radius: 4px;
    background: #d8c8b9;
    color: #292D1B;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1em;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .btn-abrir-idioma:hover {
        /*background: #292D1B;*/
        color: #4B4B31;
    }


/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width: 767px) {

    .cabecera-seccion {
        height: 440px;
    }

    .cabecera-details::before {
        background: rgba(0, 0, 0, 0.40);
    }

    .menu-invitacion {
        gap: 12px;
        padding: 18px 0px;
    }

        .menu-invitacion a {
            font-size: 1.4em;
        }

    .botones-idioma {
        gap: 20px;
    }

    .btn-abrir-idioma {
        padding: 12px 18px;
        font-size: 1.1em;
    }
}



.home-composicion {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.home-fondo {
    display: block;
    width: 100%;
    height: auto;
}

.home-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* ==========================================
   HOME - MÓVIL
========================================== */

@media (max-width: 767px) {

    .home-composicion {
        width: 150%;
        max-width: none;
        margin-left: -25%;
    }
}


/* ==========================================
   HOME - FOTOGRAFÍA
========================================== */

.home-foto {
    position: absolute;
    top: 6.5%;
    left: 50%;
    width: 10%;
    height: 10%;
    overflow: hidden;
    border-radius: 8px;
}

    .home-foto img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }


/* ==========================================
   HOME - TARJETA CENTRAL
========================================== */

.home-tarjeta-texto {
    position: absolute;
    top: 28%;
    left: 43.5%;
    width: 21%;
    height: 11.5%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #49372F;
}


/* TÍTULO */

.home-invitacion-titulo {
    margin: 0 0 10%;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(8px, 1.2vw, 2em);
    line-height: 1.2em;
}


/* NOMBRES */

.home-nombres {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: 'HighSpirited';
    font-size: clamp(17px, 4vw, 6em);
    line-height: 0.5;
}

.home-ampersand {
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.5em;
    margin-top: 5px;
    margin-bottom: 20px;
}

/*FECHA*/
.home-fecha {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(8px, 1.2vw, 2em);
    line-height: 1.2em;
    text-transform: uppercase;
    margin-top: 30px;
}

/* MENSAJE */

.home-invitacion-mensaje {
    margin: 68% 0 0;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(8px, 1.5vw, 1.5em);
    line-height: 1.4em;
    letter-spacing: 1px;
    color: #e0dad6;
    text-transform: uppercase;
    text-align: center;
    position: relative;
    left: 41.5%;
    width: 25%;
}


/* ==========================================
   HOME - MÓVIL
========================================== */

@media (max-width: 767px) {

    /* Ampliar toda la composición */

    .home-composicion {
        width: 150%;
        margin-left: -25%;
    }

    /* Fotografía */

    .home-foto {
        border-radius: 5px;
    }

    /* Tarjeta central */

    .home-invitacion-titulo {
        font-size: clamp(0.8em, 2em, 10px);
        letter-spacing: -1px;
        margin-top: 5px;
        margin-bottom: 10px;
    }

    .home-nombres {
        font-size: clamp(2.5em, 2.5em, 26px);
    }

    .home-ampersand {
        font-size: 0.5em;
        margin-top: 2px;
        margin-bottom: 10px;
    }

    .home-fecha {
        font-size: clamp(0.9em, 1em, 2em);
        line-height: 1.2em;
        margin-top: 10px;
    }

    .home-invitacion-mensaje {
        font-size: clamp(0.9em, 0.9em, 10px);
        line-height: 1.5em;
    }
}





/* ==========================================
   HOME - BOTÓN DE MÚSICA
========================================== */

/* =====================================
   BOTÓN FLOTANTE DE MÚSICA
===================================== */

.home-btn-musica {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 999;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: #292C1C;
    color: #F0EDE6;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

    .home-btn-musica:hover {
        background: #713B48;
        transform: scale(1.05);
    }

    .home-btn-musica i {
        font-size: 16px;
    }

@media (max-width: 767px) {
    .home-btn-musica {
        bottom: 20px;
        right: 20px;
        width: 42px;
        height: 42px;
    }
}

/* ==========================================
   HOME - BOTONES DE NAVEGACIÓN
========================================== */

.home-botones {
    position: absolute;
    top: 52%;
    left: 43%;
    width: 16%;
    height: 9%;
    pointer-events: none;
}

.home-btn-mapa,
.home-btn-detalles {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(9px, 1.2vw, 2em);
    font-weight: 600;
    letter-spacing: 0.08em;
    color: #49372F;
    background: transparent;
    pointer-events: auto;
    transition: color 0.3s ease;
}

    .home-btn-mapa:hover,
    .home-btn-detalles:hover {
        color: #8B655E;
    }


/* Tarjeta superior */

.home-btn-mapa {
    top: 0;
    left: 0;
    width: 100%;
    height: 45%;
}


/* Tarjeta inferior */

.home-btn-detalles {
    top: 50%;
    left: 8%;
    width: 100%;
    height: 45%;
}


/* ==========================================
   HOME - MÓVIL
========================================== */

@media (max-width: 767px) {



    .home-btn-mapa,
    .home-btn-detalles {
        font-size: clamp(0.9em, 1em, 12px);
        letter-spacing: 0.04em;
    }
}





/* ==========================================
   HOME - RESPOND
========================================== */

.home-btn-respond {
    position: absolute;
    top: 83.5%;
    left: 45.5%;
    width: 11%;
    height: 3%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(10px, 1.6vw, 25px);
    color: #49372F;
    text-decoration: none;
    text-align: center;
}


/* ==========================================
   HOME - FECHA RSVP
========================================== */

.home-rsvp-fecha {
    position: absolute;
    top: 88%;
    left: 38.5%;
    width: 25%;
    text-align: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(9px, 1.5vw, 1.2em);
    line-height: 1.4em;
    letter-spacing: 1px;
    color: #E0DAD6;
}


/* ==========================================
   HOME - OUR LOVE STORY
========================================== */

.home-btn-story {
    position: absolute;
    top: 93%;
    left: 45.7%;
    width: 11%;
    height: 3.5%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(8px, 1.1vw, 1.5em);
    line-height: 1.1;
    color: #49372F;
    text-decoration: none;
    text-align: center;
}

    .home-btn-story span {
        font-family: 'Ephesis', cursive;
        font-size: 1.5em;
    }


/* ==========================================
   MÓVIL
========================================== */

@media (max-width: 767px) {

    .home-btn-respond {
        font-size: clamp(0.8em, 0.9em, 15px);
    }


    .home-rsvp-fecha {
        top: 88.5%;
        left: 31%;
        width: 40%;
        line-height: 1.4em;
        letter-spacing: 1px;
    }

    .home-rsvp-fecha {
        font-size: clamp(0.9em, 2.3vw, 13px);
    }

    .home-btn-story {
        font-size: clamp(0.9em, 1em, 11px);
    }
}



/* ==========================================
   DETAILS - COUNTDOWN
========================================== */

.cabecera-details {
    position: relative;
    isolation: isolate;
}

    /* Overlay oscuro sobre la imagen */

    .cabecera-details::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.40);
        z-index: 1;
        pointer-events: none;
    }


/* Contenedor del título y contador */

.details-countdown {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #E0DAD6;
    z-index: 2;
}


/* ==========================================
   TÍTULO
========================================== */

.details-countdown-titulo {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* TIME LEFT UNTIL */

.details-countdown-linea1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(28px, 3.2vw, 52px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.025em;
    text-transform: uppercase;
}

/* the wedding */

.details-countdown-linea2 {
    font-family: 'HighSpirited', cursive;
    font-size: clamp(38px, 5vw, 78px);
    font-weight: normal;
    line-height: 1.1;
    margin-top: 2px;
    text-transform: none;
}


/* ==========================================
   CONTADOR
========================================== */

.details-countdown-reloj {
    margin-top: 12px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}


/* ==========================================
   MÓVIL
========================================== */

@media (max-width: 767px) {

    .details-countdown {
        width: 94%;
    }

    .details-countdown-linea1 {
        font-size: clamp(2em, 2em, 32px);
        letter-spacing: 1px;
    }

    .details-countdown-linea2 {
        font-size: clamp(4em, 4em, 54px);
        margin-top: 0;
    }

    .details-countdown-reloj {
        margin-top: 8px;
    }
}




/* CUENTA REGRESIVA */


.countdown {
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
}

.timer-box {
    padding: 20px;
    box-sizing: border-box;
    width: 22%;
    margin-left: 1%;
    margin-right: 1%;
    text-align: center;
}

    .timer-box .numero {
        font-family: "Cormorant Garamond", serif;
        font-weight: 400;
        font-size: 3em;
        letter-spacing: 1px;
        margin-bottom: 20px;
    }


    .timer-box .indicador {
        font-weight: 400;
        letter-spacing: 0px;
        font-size: 0.9em;
        margin-top: 0px;
        font-family: "Cormorant Garamond", serif;
    }


@media screen and (max-width: 880px) {

    .timer-box {
        padding: 10px 10px;
        box-sizing: border-box;
        width: 22%;
        margin-left: 1%;
        margin-right: 1%;
        text-align: center;
    }

        .timer-box .numero {
            font-size: 2.5em;
        }


        .timer-box .indicador {
            font-size: 0.8em;
            margin-top: 0px;
        }
}



/* ==========================================
   DETAILS - INFORMACIÓN
========================================== */

.details-informacion {
    background: #F0EDE6;
    padding: 90px 25px 100px;
    color: #292722;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 65px;
    row-gap: 70px;
    max-width: 650px;
    margin: 0 auto;
}


/* ==========================================
   ELEMENTOS
========================================== */

.details-item {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}


/* ILUSTRACIONES */

.details-icono {
    display: block;
    width: 110px;
    height: 110px;
    object-fit: contain;
    margin-bottom: 8px;
}


/* TÍTULOS CURSIVOS */

.details-titulo {
    font-family: 'HighSpirited', cursive;
    font-size: clamp(45px, 4.5vw, 66px);
    font-weight: normal;
    line-height: 1.1;
    margin: 0 0 12px;
    color: #292722;
}


/* DESCRIPCIONES */

.details-descripcion {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.25;
    max-width: 260px;
    margin: 0;
}


/* ==========================================
   BOTÓN BURGUNDY
========================================== */

.details-boton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    margin-top: 18px;
    padding: 10px 26px;
    border-radius: 30px;
    border: 1px solid #713B48;
    background: #713B48;
    color: #F7F1E9;
    font-family: 'Cormorant Garamond', serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease;
}

    .details-boton:hover {
        background: #572B36;
        color: #FFFFFF;
        text-decoration: none;
        transform: translateY(-2px);
    }


/* ==========================================
   TABLET
========================================== */

@media (max-width: 991px) {

    .details-informacion {
        padding: 75px 25px 85px;
    }

    .details-grid {
        column-gap: 35px;
        row-gap: 60px;
    }
}


/* ==========================================
   MÓVIL
========================================== */

@media (max-width: 767px) {

    .details-informacion {
        padding: 55px 15px 65px;
    }

    .details-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 18px;
        row-gap: 48px;
    }

    .details-icono {
        width: 75px;
        height: 75px;
        margin-bottom: 6px;
    }

    .details-titulo {
        font-size: clamp(2.5em, 3em, 48px);
        margin-bottom: 10px;
    }

    .details-descripcion {
        font-size: clamp(1.2em, 1.2em, 18px);
        line-height: 1.2;
    }

    .details-boton {
        min-height: 38px;
        padding: 9px 16px;
        margin-top: 15px;
        font-size: 12px;
        letter-spacing: 0.03em;
    }
}


/* ==========================================
   MÓVILES MUY PEQUEÑOS
========================================== */

@media (max-width: 359px) {

    .details-grid {
        column-gap: 12px;
    }

    .details-titulo {
        font-size: 32px;
    }

    .details-descripcion {
        font-size: 14px;
    }
}




/* ==========================================
   DETAILS - SCHEDULE OF EVENTS
========================================== */

.details-schedule {
    position: relative;
    width: 100%;
    background-color: #292C1C;
    background-image: url('Imagenes/bg-green-02.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 65px 25px 75px;
    color: #E0DAD6;
}


/* CONTENEDOR */

.schedule-contenido {
    position: relative;
    z-index: 1;
    max-width: 650px;
    margin: 0 auto;
    text-align: center;
}


/* TÍTULO */

.schedule-titulo {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(38px, 4vw, 58px);
    font-weight: 400;
    line-height: 0.95;
    margin: 0 0 32px;
    color: #E0DAD6;
}


/* LISTA DE EVENTOS */

.schedule-lista {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
}


/* CADA HORARIO */

.schedule-item {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    align-items: center;
    column-gap: 18px;
    padding: 13px 0;
    border-bottom: 1px solid rgba(224, 218, 214, 0.55);
}

    .schedule-item:last-child {
        border-bottom: none;
    }


/* HORA */

.schedule-hora {
    font-family: 'Cormorant Garamond', serif;
    font-size: 19px;
    font-weight: 500;
    text-align: left;
    white-space: nowrap;
}


/* EVENTO */

.schedule-evento {
    font-family: 'Cormorant Garamond', serif;
    font-size: 19px;
    font-weight: 500;
    text-align: center;
    line-height: 1.15;
}


/* ==========================================
   MÓVIL
========================================== */

@media (max-width: 767px) {

    .details-schedule {
        background-image: url('Imagenes/bg-green-01.jpg');
        background-position: center;
        background-size: cover;
        padding: 60px 20px 65px;
    }

    .schedule-titulo {
        font-size: clamp(36px, 10vw, 48px);
        margin-bottom: 30px;
    }

    .schedule-lista {
        max-width: 100%;
    }

    .schedule-item {
        grid-template-columns: 80px minmax(0, 1fr);
        column-gap: 12px;
        padding: 14px 0;
    }

    .schedule-hora {
        font-size: 17px;
    }

    .schedule-evento {
        font-size: 17px;
    }
}




/* ==========================================
   DETAILS - ACCOMMODATIONS
========================================== */

.details-accommodations {
    background: #F0EDE6;
    color: #292722;
    padding: 65px 25px 100px;
}

.accommodations-contenido {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}


/* TÍTULO */

.accommodations-titulo {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(38px, 4.5vw, 64px);
    font-weight: 400;
    line-height: 1;
    margin: 0 0 55px;
}


/* TEXTOS INTRODUCTORIOS */

.accommodations-intro {
    max-width: 1150px;
    margin: 0 auto;
}

    .accommodations-intro p {
        font-family: 'Cormorant Garamond', serif;
        font-size: 16px;
        font-weight: 500;
        line-height: 1.5;
        letter-spacing: 0.13em;
        text-transform: uppercase;
        margin: 0 0 26px;
    }


/* ILUSTRACIÓN DE EQUIPAJE */

.accommodations-icono {
    display: block;
    width: 115px;
    height: auto;
    margin: 35px auto 40px;
}


/* FECHA LÍMITE */

.accommodations-deadline {
    font-family: 'Cormorant Garamond', serif;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: 0.10em;
    max-width: 550px;
    margin: 0 auto;
}


/* ==========================================
   HOTELES
========================================== */

.accommodations-hoteles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 100px;
    max-width: 1100px;
    margin: 120px auto 0;
}

.accommodations-hotel {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}


/* NOMBRE DEL HOTEL */

.accommodations-hotel-nombre {
    font-family: 'HighSpirited', cursive;
    font-size: clamp(48px, 5vw, 76px);
    font-weight: normal;
    line-height: 1.1;
    margin: 0 0 25px;
}


/* BOTONES BURGUNDY */

.accommodations-boton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 145px;
    min-height: 43px;
    padding: 10px 25px;
    border-radius: 30px;
    background: #713B48;
    border: 1px solid #713B48;
    color: #F7F1E9;
    font-family: 'Cormorant Garamond', serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease;
}

    .accommodations-boton:hover {
        background: #572B36;
        color: #FFFFFF;
        text-decoration: none;
        transform: translateY(-2px);
    }


/* CÓDIGO DE RESERVACIÓN */

.accommodations-codigo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0.08em;
    margin: 12px 0 20px;
}


/* ==========================================
   TRANSPORTE
========================================== */

.accommodations-transporte {
    max-width: 520px;
    margin: 40px auto 0;
    position: relative;
    z-index: 1;
    text-align: center;
    pointer-events: none;
}

.accommodations-transporte-icono {
    display: block;
    width: 270px;
    max-width: 100%;
    height: auto;
    margin: 0 auto 25px;
}

.accommodations-transporte p {
    font-family: 'Cormorant Garamond', serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0;
}


/* ==========================================
   TABLET
========================================== */

@media (max-width: 991px) {

    .accommodations-hoteles {
        column-gap: 40px;
        margin-top: 90px;
    }

    .accommodations-transporte {
        margin-top: 45px;
    }
}


/* ==========================================
   MÓVIL
========================================== */

@media (max-width: 767px) {

    .details-accommodations {
        padding: 55px 20px 70px;
    }

    .accommodations-titulo {
        font-size: clamp(35px, 9vw, 48px);
        margin-bottom: 35px;
    }

    .accommodations-intro p {
        font-size: 14px;
        line-height: 1.5;
        letter-spacing: 0.06em;
        margin-bottom: 22px;
    }

    .accommodations-icono {
        width: 95px;
        margin: 30px auto;
    }

    .accommodations-deadline {
        font-size: 15px;
        letter-spacing: 0.05em;
        line-height: 1.4;
    }

    /* Hoteles uno debajo del otro */

    .accommodations-hoteles {
        grid-template-columns: 1fr;
        row-gap: 65px;
        margin-top: 75px;
    }

    .accommodations-hotel-nombre {
        font-size: clamp(46px, 12vw, 65px);
        margin-bottom: 20px;
    }

    .accommodations-codigo {
        font-size: 14px;
    }

    .accommodations-boton {
        min-width: 150px;
        font-size: 15px;
    }

    /* Transporte debajo de los hoteles */

    .accommodations-transporte {
        margin-top: 65px;
        max-width: 420px;
    }

    .accommodations-transporte-icono {
        width: 240px;
    }

    .accommodations-transporte p {
        font-size: 14px;
        line-height: 1.45;
        letter-spacing: 0.04em;
    }
}



/* ==========================================
   DETAILS - GIFT REGISTRY
========================================== */

.details-registry {
    position: relative;
    width: 100%;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 65px 25px;
    background-color: #252525;
    background-image: url(Imagenes/BG-Section.jpg);
    background-size: cover;
    background-position: left 35%;
    background-repeat: no-repeat;
    color: #F0EDE6;
    isolation: isolate;
}


    /* OVERLAY OSCURO */

    .details-registry::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.55);
        z-index: -1;
        pointer-events: none;
    }


/* CONTENIDO */

.registry-contenido {
    width: 100%;
    max-width: 520px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}


/* TÍTULO */

.registry-titulo {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(38px, 4vw, 58px);
    font-weight: 400;
    line-height: 1;
    color: #F0EDE6;
    margin: 0 0 35px;
}


/* TEXTO */

.registry-descripcion {
    font-family: 'Cormorant Garamond', serif;
    font-size: 23px;
    font-weight: 400;
    line-height: 1.22;
    color: #F0EDE6;
    margin: 0 0 40px;
}


/* ==========================================
   BOTÓN TRANSPARENTE
========================================== */

.registry-boton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 245px;
    min-height: 78px;
    padding: 12px 30px;
    border: 1px solid rgba(240, 237, 230, 0.85);
    border-radius: 45px;
    background: transparent;
    color: #F0EDE6;
    font-family: 'Cormorant Garamond', serif;
    font-size: 21px;
    font-weight: 400;
    line-height: 1.1;
    text-align: center;
    text-decoration: none;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

    .registry-boton:hover {
        background: rgba(240, 237, 230, 0.12);
        border-color: #FFFFFF;
        color: #FFFFFF;
        text-decoration: none;
        transform: translateY(-2px);
    }


/* ==========================================
   TABLET
========================================== */

@media (max-width: 991px) {

    .details-registry {
        min-height: 580px;
    }

    .registry-descripcion {
        font-size: 21px;
    }
}


/* ==========================================
   MÓVIL
========================================== */

@media (max-width: 767px) {

    .details-registry {
        min-height: 650px;
        padding: 65px 25px;
        background-position: center;
    }

        .details-registry::before {
            background: rgba(0, 0, 0, 0.45);
        }

    .registry-contenido {
        max-width: 400px;
    }

    .registry-titulo {
        font-size: clamp(36px, 9vw, 48px);
        margin-bottom: 30px;
    }

    .registry-descripcion {
        font-size: clamp(1.2em, 1.2em, 22px);
        line-height: 1.4em;
        letter-spacing: 1px;
        margin-bottom: 35px;
    }

    .registry-boton {
        min-width: 210px;
        min-height: 65px;
        padding: 12px 25px;
        font-size: 18px;
    }
}



/* ==========================================
   DETAILS - DRESS CODE
========================================== */

.details-dresscode {
    background: #F0EDE6;
    color: #292722;
    padding: 65px 25px;
}

.dresscode-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.95fr) minmax(0, 1fr);
    align-items: center;
    gap: 55px;
    max-width: 1250px;
    margin: 0 auto;
}


/* ==========================================
   GALERÍAS
========================================== */

.dresscode-galeria {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(3, 145px);
    gap: 12px;
}

    .dresscode-galeria img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
    }

        /* Imagen 5 más grande, abajo a la derecha */

        .dresscode-galeria img:nth-child(5) {
            grid-column: 2;
            grid-row: 2 / 4;
        }

        /* Orden especial para mantener la composición */

        .dresscode-galeria img:nth-child(1) {
            grid-column: 1;
            grid-row: 1;
        }

        .dresscode-galeria img:nth-child(2) {
            grid-column: 2;
            grid-row: 1;
        }

        .dresscode-galeria img:nth-child(3) {
            grid-column: 1;
            grid-row: 2;
        }

        .dresscode-galeria img:nth-child(4) {
            grid-column: 1;
            grid-row: 3;
        }


/* ==========================================
   TEXTO CENTRAL
========================================== */

.dresscode-contenido {
    text-align: center;
}

.dresscode-titulo {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(34px, 3.3vw, 52px);
    font-weight: 400;
    line-height: 1;
    margin: 0 0 15px;
}

.dresscode-subtitulo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 27px;
    line-height: 1.1;
    margin: 0 0 55px;
}

.dresscode-indicaciones h3 {
    font-family: 'HighSpirited', cursive;
    font-size: clamp(43px, 4vw, 62px);
    font-weight: normal;
    line-height: 1;
    margin: 0 0 8px;
}

.dresscode-indicaciones p {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    line-height: 1.15;
    margin: 0 0 35px;
}

    .dresscode-indicaciones p:last-child {
        margin-bottom: 0;
    }


/* ==========================================
   TABLET
========================================== */

@media (max-width: 1100px) {

    .dresscode-layout {
        gap: 25px;
        grid-template-columns: minmax(0, 1fr) minmax(250px, 0.95fr) minmax(0, 1fr);
    }

    .dresscode-galeria {
        grid-template-rows: repeat(3, 110px);
        gap: 8px;
    }

    .dresscode-indicaciones p {
        font-size: 21px;
    }
}


/* ==========================================
   MÓVIL
========================================== */

@media (max-width: 767px) {

    .details-dresscode {
        padding: 55px 18px 65px;
    }

    .dresscode-layout {
        display: flex;
        flex-direction: column;
        gap: 35px;
    }

    /* Texto primero */

    .dresscode-contenido {
        order: 1;
        width: 100%;
    }

    .dresscode-titulo {
        font-size: clamp(2em, 3em, 43px);
        margin-bottom: 12px;
    }

    .dresscode-subtitulo {
        font-size: 2em;
        margin-bottom: 35px;
    }

    .dresscode-indicaciones h3 {
        font-size: 3em;
    }

    .dresscode-indicaciones p {
        font-size: 21px;
        margin-bottom: 28px;
    }

    /* Galería de hombres */

    .dresscode-hombres {
        order: 2;
    }

    /* Galería de mujeres */

    .dresscode-mujeres {
        order: 3;
    }

    .dresscode-galeria {
        width: 100%;
        max-width: 430px;
        grid-template-rows: repeat(3, 115px);
        gap: 8px;
    }
}


/* ==========================================
   MÓVILES PEQUEÑOS
========================================== */

@media (max-width: 380px) {

    .dresscode-galeria {
        grid-template-rows: repeat(3, 95px);
    }

    .dresscode-indicaciones h3 {
        font-size: 3em;
    }
}




/* ==========================================
   DETAILS - OUR LOVE STORY
========================================== */

.details-story {
    position: relative;
    isolation: isolate;
    width: 100%;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 85px 30px;
    overflow: hidden;
    background-color: #292929;
    color: #F0EDE6;
}


    /* FONDO CON BLUR */

    .details-story::before {
        content: "";
        position: absolute;
        inset: -12px;
        background-image: url('Imagenes/BG-Details-Story.jpg');
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
        filter: blur(3px);
        z-index: -2;
    }


    /* OVERLAY NEGRO 30% */

    .details-story::after {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.30);
        z-index: -1;
        pointer-events: none;
    }


/* CONTENEDOR */

.details-story-contenido {
    width: 100%;
    max-width: 1050px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}


/* TÍTULO */

.details-story-titulo {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(38px, 4vw, 58px);
    font-weight: 400;
    line-height: 1;
    color: #F0EDE6;
    text-align: center;
    margin: 0 0 45px;
}


/* ==========================================
   DISTRIBUCIÓN TEXTO + FOTOS
========================================== */

.details-story-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    align-items: center;
    gap: 65px;
}


/* TEXTO */

.details-story-texto {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

    .details-story-texto p {
        font-family: 'Cormorant Garamond', serif;
        font-size: clamp(22px, 2.2vw, 30px);
        font-weight: 400;
        line-height: 1.15;
        color: #F0EDE6;
        margin: 0 0 35px;
    }


/* BOTÓN TRANSPARENTE */

.details-story-boton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 195px;
    min-height: 65px;
    padding: 12px 25px;
    border: 1px solid rgba(240, 237, 230, 0.85);
    border-radius: 40px;
    background: transparent;
    color: #F0EDE6;
    font-family: 'Cormorant Garamond', serif;
    font-size: 19px;
    line-height: 1.1;
    text-align: center;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease;
}

    .details-story-boton:hover {
        background: rgba(240, 237, 230, 0.15);
        color: #FFFFFF;
        text-decoration: none;
        transform: translateY(-2px);
    }


/* ==========================================
   FOTOGRAFÍAS POLAROID
========================================== */

.details-story-fotos {
    position: relative;
    width: 100%;
    max-width: 540px;
    height: 330px;
    margin: 0 auto;
}


/* MARCO POLAROID */

.details-story-polaroid {
    position: absolute;
    width: 48%;
    padding: 10px 10px 42px;
    background: #FFFFFF;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

    .details-story-polaroid img {
        display: block;
        width: 100%;
        aspect-ratio: 1 / 1;
        object-fit: cover;
    }


/* FOTO IZQUIERDA */

.polaroid-izquierda {
    left: 3%;
    top: 10%;
    transform: rotate(-4deg);
    z-index: 1;
}


/* FOTO DERECHA */

.polaroid-derecha {
    right: 3%;
    top: 13%;
    transform: rotate(7deg);
    z-index: 2;
}


/* FLORES CENTRALES */

.details-story-flores {
    position: absolute;
    width: 180px;
    height: auto;
    left: 50%;
    bottom: -35%;
    transform: translateX(-50%);
    z-index: 3;
    pointer-events: none;
}


/* ==========================================
   TABLET
========================================== */

@media (max-width: 991px) {

    .details-story {
        min-height: 60vh;
        padding: 75px 25px;
    }

    .details-story-layout {
        gap: 35px;
    }

    .details-story-fotos {
        height: 280px;
    }

    .details-story-flores {
        width: 145px;
    }
}


/* ==========================================
   MÓVIL
========================================== */

@media (max-width: 767px) {

    .details-story {
        min-height: 60vh;
        padding: 75px 20px 85px;
    }

        .details-story::before {
            background-position: center;
            filter: blur(2px);
        }

        .details-story::after {
            background: rgba(0, 0, 0, 0.35);
        }

    .details-story-titulo {
        font-size: clamp(2.5em, 3em, 48px);
        margin-bottom: 35px;
    }

    /* Texto arriba y fotografías debajo */

    .details-story-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .details-story-texto p {
        font-size: 1.4em;
        letter-spacing: 1px;
        margin-bottom: 28px;
    }

    .details-story-boton {
        min-width: 190px;
        min-height: 60px;
        font-size: 18px;
    }

    .details-story-fotos {
        max-width: 400px;
        height: 270px;
    }

    .details-story-polaroid {
        padding: 7px 7px 30px;
    }

    .details-story-flores {
        width: 130px;
        bottom: 0;
    }
}


/* ==========================================
   MÓVILES PEQUEÑOS
========================================== */

@media (max-width: 380px) {

    .details-story-fotos {
        height: 230px;
    }

    .details-story-flores {
        width: 110px;
    }
}




/* ==========================================
   DETAILS - FAQ
========================================== */

.details-faq {
    position: relative;
    width: 100%;
    background-color: #292C1C;
    background-image: url('Imagenes/bg-green-02.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 85px 25px 100px;
    color: #F0EDE6;
}


/* CONTENEDOR CENTRAL */

.faq-contenido {
    max-width: 650px;
    margin: 0 auto;
}


/* ==========================================
   TÍTULO
========================================== */

.faq-titulo {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(42px, 6vw, 65px);
    font-weight: 400;
    line-height: 1;
    color: #F0EDE6;
    text-align: center;
    margin: 0 0 55px;
}


/* ==========================================
   LISTA DE PREGUNTAS
========================================== */

.faq-lista {
    width: 100%;
}


/* CADA PREGUNTA */

.faq-item {
    padding: 0 0 30px;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(240, 237, 230, 0.55);
}

    .faq-item:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }


/* PREGUNTAS */

.faq-pregunta {
    font-family: 'Cormorant Garamond', serif;
    font-size: 23px;
    font-weight: 600;
    line-height: 1.2;
    color: #F0EDE6;
    margin: 0 0 12px;
}


/* RESPUESTAS */

.faq-respuesta {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.25;
    color: #F0EDE6;
    margin: 0;
}


/* ==========================================
   TABLET
========================================== */

@media (max-width: 991px) {

    .details-faq {
        padding: 75px 30px 85px;
    }

    .faq-contenido {
        max-width: 600px;
    }
}


/* ==========================================
   MÓVIL
========================================== */

@media (max-width: 767px) {

    .details-faq {
        background-image: url('Imagenes/bg-green-01.jpg');
        background-position: center;
        background-size: cover;
        padding: 65px 25px 80px;
    }

    .faq-titulo {
        font-size: clamp(3em, 3em, 58px);
        margin-bottom: 40px;
    }

    .faq-item {
        padding-bottom: 25px;
        margin-bottom: 25px;
    }

    .faq-pregunta {
        font-size: 1.5em;
        line-height: 1.4em;
        margin-bottom: 10px;
    }

    .faq-respuesta {
        font-size: 18px;
        line-height: 1.3;
    }
}





/* ==========================================
   OUR LOVE STORY
========================================== */

.story-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding: 75px 30px;
    background-color: #292C1C;
    background-image: url(Imagenes/bg-green-02.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: #F0EDE6;
}

.story-container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 44% 56%;
    align-items: center;
    gap: 20px;
}


/* ==========================================
   POLAROIDS
========================================== */

.story-fotos {
    position: relative;
    width: 100%;
    max-width: 420px;
    height: 680px;
    margin: 0 auto;
}

.story-polaroid {
    position: absolute;
    background: #F0EDE6;
    padding: 12px 12px 48px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

    .story-polaroid img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.story-polaroid-01 {
    width: 270px;
    height: 330px;
    top: 5px;
    left: 15px;
    transform: rotate(-3deg);
    z-index: 1;
}

.story-polaroid-02 {
    width: 290px;
    height: 350px;
    top: 320px;
    left: 50px;
    transform: rotate(7deg);
    z-index: 2;
}


/* ==========================================
   FLORES Y SELLO
========================================== */

.story-flores {
    position: absolute;
    width: 180px;
    height: auto;
    top: 250px;
    left: -20px;
    z-index: 3;
    pointer-events: none;
}

.story-sello {
    position: absolute;
    width: 105px;
    height: auto;
    bottom: -5px;
    right: 35px;
    z-index: 4;
    transform: rotate(-10deg);
    pointer-events: none;
}


/* ==========================================
   TEXTO
========================================== */

.story-texto {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
}

    .story-texto h2 {
        font-family: 'HighSpirited', cursive;
        font-size: clamp(46px, 5vw, 75px);
        font-weight: normal;
        line-height: 1.1;
        margin: 0 0 25px;
        color: #F0EDE6;
    }

    .story-texto p {
        font-family: 'Cormorant Garamond', serif;
        font-size: 19px;
        font-weight: 500;
        line-height: 1.12;
        margin: 0 0 22px;
        color: #F0EDE6;
    }

        .story-texto p:last-child {
            margin-bottom: 0;
        }


/* ==========================================
   TABLET
========================================== */

@media (max-width: 991px) {

    .story-section {
        padding: 65px 25px;
    }

    .story-container {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .story-fotos {
        max-width: 380px;
        height: 640px;
    }

    .story-texto {
        max-width: 650px;
    }

        .story-texto p {
            font-size: 20px;
            line-height: 1.2;
        }
}


/* ==========================================
   MÓVIL
========================================== */

@media (max-width: 600px) {

    .story-section {
        padding: 50px 20px 70px;
        background-image: url(Imagenes/bg-green-01.jpg);
    }

    .story-container {
        gap: 35px;
    }

    .story-fotos {
        max-width: 320px;
        height: 510px;
    }

    .story-polaroid {
        padding: 9px 9px 35px;
    }

    .story-polaroid-01 {
        width: 205px;
        height: 255px;
        top: 0;
        left: 10px;
    }

    .story-polaroid-02 {
        width: 220px;
        height: 270px;
        top: 225px;
        left: 65px;
    }

    .story-flores {
        width: 135px;
        top: 195px;
        left: -5px;
    }

    .story-sello {
        width: 78px;
        bottom: 0;
        right: 5px;
    }

    .story-texto h2 {
        font-size: 3.5em;
        margin-bottom: 25px;
    }

    .story-texto p {
        font-size: 1.2em;
        line-height: 1.4em;
        letter-spacing: 1px;
        margin-bottom: 22px;
    }
}

#page-story .cabecera-story {
    display: none;
}



/* ==========================================
   CABECERA RSVP
========================================== */

.cabecera-rsvp {
    position: relative;
    width: 100%;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 25px;
    isolation: isolate;
}

    /* Overlay oscuro */
    .cabecera-rsvp::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.30);
        z-index: -1;
    }

/* Contenido centrado */
.cabecera-rsvp-contenido {
    position: relative;
    width: 100%;
    text-align: center;
}

.cabecera-rsvp h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(65px, 9vw, 115px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: 5px;
    color: #F0EDE6;
    margin: 0;
}


/* ==========================================
   MÓVIL
========================================== */

@media (max-width: 767px) {

    .cabecera-rsvp {
        min-height: 250px;
        padding: 45px 20px;
    }

        .cabecera-rsvp h1 {
            font-size: 70px;
            letter-spacing: 3px;
        }
}


.rsvp-titulo {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(48px, 6vw, 76px);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: 3px;
    text-align: center;
    margin: 0 0 30px;
}

@media (max-width: 767px) {
    .rsvp-titulo {
        font-size: 52px;
        margin-bottom: 25px;
    }
}


/* ==========================================
   RSVP - SAMANTHA & DAVID
========================================== */

/* RSVP PERSONALIZADO */

.rsvp-asignacion {
    text-align: center;
    margin: 0 auto 35px;
}

    .rsvp-asignacion p {
        font-family: 'Cormorant Garamond', serif;
        font-size: clamp(22px, 2.5vw, 29px);
        line-height: 1.4;
        margin: 0 0 8px;
    }

    .rsvp-asignacion strong {
        font-weight: 700;
    }

.rsvp-error-codigo {
    text-align: center;
    color: #713B48;
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    padding: 20px;
}


.rsvp-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding: 60px 25px 100px;
    background: #292C1C url(Imagenes/bg-green-02.jpg) center / cover no-repeat;
    color: #F0EDE6;
}

.rsvp-container {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
}

.rsvp-intro {
    text-align: center;
    margin-bottom: 35px;
    font-family: 'Cormorant Garamond', serif;
}

    .rsvp-intro p {
        font-size: 1.2em;
        letter-spacing: 1px;
        line-height: 1.15;
        margin: 0 0 25px;
    }

    .rsvp-intro .rsvp-fecha {
        font-size: 23px;
        margin-bottom: 0;
    }

/* FORMULARIO */

.rsvp-formulario {
    width: 100%;
    padding: 30px;
    background: rgba(37, 39, 22, 0.94);
    border-radius: 4px;
}

.rsvp-campo {
    margin-bottom: 27px;
}

    .rsvp-campo > label {
        display: block;
        font-family: 'Cormorant Garamond', serif;
        font-size: 22px;
        line-height: 1.15;
        margin-bottom: 12px;
    }

.rsvp-ayuda {
    font-family: 'Cormorant Garamond', serif;
    font-size: 17px;
    line-height: 1.2;
    opacity: .8;
    margin: -3px 0 12px;
}

/* INPUTS Y SELECTS */

.rsvp-campo input,
.rsvp-campo select {
    display: block;
    width: 100%;
    min-height: 52px;
    padding: 12px 15px;
    /*background-color: #41432E;*/
    border: 1px solid rgba(240,237,230,.35);
    border-radius: 3px;
    outline: none;
    color: #F0EDE6;
    font-family: 'Cormorant Garamond', serif;
    font-size: 21px;
    transition: border-color .25s, background-color .25s;
}

    .rsvp-campo input:focus,
    .rsvp-campo select:focus {
        border-color: #C8C39C;
        background-color: #4A4C35;
    }

.rsvp-campo select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    padding-right: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='10' viewBox='0 0 16 10'%3E%3Cpath d='M1 1l7 7 7-7' fill='none' stroke='%23F0EDE6' stroke-width='1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
}

    .rsvp-campo select option {
        background: #41432E;
        color: #F0EDE6;
    }

/* INVITADOS DINÁMICOS */

.rsvp-invitado {
    padding: 22px 0 5px;
    border-top: 1px solid rgba(240,237,230,.25);
}

    .rsvp-invitado h4 {
        font-family: 'Cormorant Garamond', serif;
        font-size: 27px;
        font-weight: 500;
        margin: 0 0 20px;
        color: #D9D2B9;
    }

    .rsvp-invitado .rsvp-campo {
        margin-bottom: 23px;
    }

/* BOTONES YES / NO */

.rsvp-opciones {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.rsvp-opcion {
    min-height: 65px;
    padding: 15px;
    border: 1px solid transparent;
    border-radius: 3px;
    background: #41432E;
    color: #F0EDE6;
    font-family: 'Cormorant Garamond', serif;
    font-size: 23px;
    cursor: pointer;
    transition: background .25s, border-color .25s, transform .2s;
}

    .rsvp-opcion:hover {
        background: #55583C;
    }

    .rsvp-opcion.seleccionado {
        background: #807B50;
        border-color: #B7B18B;
    }

    .rsvp-opcion:focus-visible,
    .rsvp-enviar:focus-visible {
        outline: 2px solid #F0EDE6;
        outline-offset: 3px;
    }

/* ENVIAR */

.rsvp-enviar {
    display: block;
    width: 100%;
    min-height: 55px;
    margin-top: 35px;
    padding: 12px 20px;
    background: #713B48;
    border: 1px solid #713B48;
    border-radius: 3px;
    color: #F0EDE6;
    font-family: 'Cormorant Garamond', serif;
    font-size: 23px;
    cursor: pointer;
    transition: background .25s;
}

    .rsvp-enviar:hover {
        background: #572B36;
    }

    .rsvp-enviar:disabled {
        opacity: .6;
        cursor: wait;
    }

/* RESULTADO */

.rsvp-resultado {
    padding: 35px 5px;
    text-align: center;
    font-family: 'Cormorant Garamond', serif;
}

    .rsvp-resultado h3 {
        font-family: 'HighSpirited', cursive;
        font-size: 50px;
        font-weight: normal;
        margin: 0 0 20px;
    }

    .rsvp-resultado p {
        font-size: 23px;
        line-height: 1.3;
    }

/* MÓVIL */

@media (max-width: 767px) {

    .rsvp-section {
        padding: 45px 15px 75px;
        background-image: url(Imagenes/bg-green-01.jpg);
    }

    .rsvp-intro p {
        font-size: 21px;
    }

    .rsvp-formulario {
        padding: 22px 18px;
    }

    .rsvp-campo > label {
        font-size: 21px;
    }

    .rsvp-campo input,
    .rsvp-campo select {
        font-size: 19px;
    }

    .rsvp-opcion {
        font-size: 21px;
        min-height: 60px;
    }
}


/* Mostrar todas las secciones en una sola página */

#page-home,
#page-details,
#page-story,
#page-rsvp {
    display: block !important;
}


/* =====================================
   HERO - SAMANTHA & DAVID
===================================== */

.hero-boda {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100svh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url("Imagenes/Portada-Hero.jpg");
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero-boda-contenido {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 40px 20px;
    text-align: center;
    color: #F0EDE6;
}

.hero-boda-intro {
    font-family: 'Cormorant Garamond', serif;
    font-size: 15px;
    letter-spacing: 4px;
    margin-bottom: 18px;
}

.hero-boda-nombres {
    font-family: 'HighSpirited', cursive;
    font-size: clamp(65px, 9vw, 125px);
    font-weight: normal;
    line-height: 1.05;
    margin: 0;
}

    .hero-boda-nombres span {
        display: block;
        font-family: 'Cormorant Garamond', serif;
        font-size: 0.4em;
        margin: -20px 0 10px;
    }

.hero-boda-fecha {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    letter-spacing: 3px;
    margin-top: 25px;
}

.hero-boda-scroll {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    color: #F0EDE6;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

    .hero-boda-scroll span {
        font-size: 10px;
        letter-spacing: 2px;
    }

    .hero-boda-scroll i {
        font-size: 15px;
        animation: heroScroll 2s infinite;
    }

@keyframes heroScroll {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(7px);
    }
}

/* MÓVIL */

@media (max-width: 767px) {

    .hero-boda {
        background-image: linear-gradient( to bottom, rgba(0, 0, 0, 0.60) 0%, rgba(0, 0, 0, 0.35) 25%, rgba(0, 0, 0, 0.10) 55%, transparent 80% ), url("Imagenes/Portada-Hero.jpg");
        align-items: flex-start;
        justify-content: center;
    }

    .hero-boda-contenido {
        padding: 30px 10px 20px;
    }

    .hero-boda-nombres {
        font-size: clamp(4em, 5em, 5em);
    }

    .hero-boda-intro {
        font-size:1.2em;
        letter-spacing: 4px;
    }

    .hero-boda-fecha {
        font-size: 1.2em;
    }
}



/* =====================================
   PADRES DE LOS NOVIOS
===================================== */

.padres-section {
    background: #F0EDE6;
    color: #292C1C;
    text-align: center;
    padding: 110px 24px 120px;
}

.padres-intro {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4em;
    letter-spacing: 2px;
    margin: 0 0 60px;
}

.padres-titulo {
    font-family: 'HighSpirited', cursive;
    font-size: clamp(56px, 7vw, 90px);
    font-weight: normal;
    line-height: 1.2;
    margin: 0;
    display: none;
}

.padres-divisor {
    font-size: 25px;
    color: #8C9277;
    margin: 20px 0 45px;
    display: none;
}

.padres-grid {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 60px;
}

.padres-grupo h3 {
    font-family: 'HighSpirited', cursive;
    font-size: 3.5em;
    font-weight: 400;
    letter-spacing: 0px;
    margin: 0 0 25px;
}

.padres-grupo p {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.2em, 1.6em, 1.6em);
    line-height: 1.25;
    margin: 0;
}

.padres-grupo span {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    margin: 8px 0;
    color: #8C9277;
}

@media (max-width: 767px) {

    .padres-section {
        padding: 75px 20px 85px;
    }

    .padres-intro {
        font-size: 1.4em;
        letter-spacing: 1.5px;
        line-height: 1.5em;
    }

    .padres-titulo {
        font-size: clamp(48px, 12vw, 68px);
    }

    .padres-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .padres-grupo h3 {
        font-size: 3em;
        margin-bottom: 18px;
    }

    .padres-grupo p {
        font-size: 1.5em;
    }
}



/* =====================================
   COUNTDOWN - SECCIÓN INDEPENDIENTE
===================================== */

#page-countdown {
    display: block;
    width: 100%;
}

.seccion-countdown {
    width: 100%;
    background: #F0EDE6;
    padding: 80px 20px;
    text-align: center;
}


/* =====================================
   INVITACIÓN ONE PAGE
===================================== */

#page-home,
#page-parents,
#page-countdown,
#page-details,
#page-story,
#page-rsvp {
    display: block !important;
    position: relative;
    width: 100%;
    height: auto;
    min-height: 0;
}

/* Eliminar navegación anterior */

.menu-invitacion {
    display: none !important;
}

/* Permitir desplazamiento vertical */

html,
body {
    overflow-y: auto;
}

    /* Mantener el selector de idioma */

    html[data-idioma="es"] .contenido-en {
        display: none !important;
    }

    html[data-idioma="en"] .contenido-es {
        display: none !important;
    }








/* =====================================
   GALERÍA - SAMANTHA & DAVID
===================================== */

#page-gallery {
    display: block;
    width: 100%;
}

.galeria-boda {
    width: 100%;
    max-width: 1250px;
    margin-left: auto;
    margin-right: auto;
    background: #F0EDE6;
    padding: 20px;
    box-sizing: border-box;
}

.galeria-boda-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.galeria-boda-item {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
}

    .galeria-boda-item img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        transition: transform .6s ease;
    }

/* Efecto sutil al pasar el cursor */

@media (hover: hover) {
    .galeria-boda-item:hover img {
        transform: scale(1.04);
    }
}

/* =====================================
   MÓVIL
===================================== */

@media (max-width: 767px) {

    .galeria-boda {
        padding: 20px;
    }

    .galeria-boda-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .galeria-boda-item {
        aspect-ratio: 3 / 2;
    }
}


/* MOVIL */
@media screen and (max-width: 1280px) {
}

@media screen and (max-width: 1080px) {
}


@media screen and (max-width: 880px) {

    .qr {
        width: 110px;
        height: 105px;
        position: absolute;
        bottom: 20px;
        left: 50%;
        margin-left: -65px;
        background-color: #ffffff;
        padding: 10px;
    }

        .qr canvas {
            width: 110px;
            height: 105px;
        }

    .invitacion-descarga {
        width: 100%;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        margin-top: 40px;
    }
}


@media (max-width: 767px) {

    .home-viewport {
        width: 100%;
        overflow: hidden;
    }

    .home-composicion {
        width: 220%;
        max-width: none;
        margin-left: -70%;
    }

    .home-fondo {
        display: block;
        width: 100%;
        height: auto;
    }
}
