@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400&family=Great+Vibes&display=swap');


:root {
    --burdeos: #7b202b;
    --burdeos-oscuro: #5e1720;
    --marfil: #fcfaf6;
    --beige: #ddd7c2;
    --beige-claro: #e9e4d2;
    --dorado: #b78c45;
    --texto: #61232b;
}


/* =========================================================
   GENERAL
========================================================= */

* {
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    margin: 0;
    overflow-x: hidden;

    background: var(--marfil);

    color: var(--texto);

    font-family:
        "Cormorant Garamond",
        Georgia,
        serif;

    text-align: center;
}


body.sin-scroll {
    overflow: hidden;
}


img {
    display: block;
    max-width: 100%;
}


/* =========================================================
   HEADER
========================================================= */

.menu-principal {
    position: sticky;

    top: 0;

    z-index: 1000;

    min-height: 80px;

    padding:
        12px
        20px;

    display: grid;

    grid-template-columns:
        1fr
        auto
        1fr;

    align-items: center;

    background: #fffdfa;
}


.monograma {
    justify-self: start;

    color: var(--burdeos);

    text-decoration: none;

    font-size: 30px;
}


.boton-menu-rsvp {
    padding:
        12px
        25px;

    border-radius: 50px;

    background: var(--burdeos);

    color: white;

    text-decoration: none;

    font-size: 18px;
}


.boton-menu {
    justify-self: end;

    border: none;

    background: transparent;

    color: var(--burdeos);

    font-size: 32px;

    cursor: pointer;
}


/* =========================================================
   MENÚ DESPLEGABLE
========================================================= */

.menu-desplegable {
    position: fixed;

    inset: 0;

    z-index: 5000;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    gap: 20px;

    background:
        rgba(
            94,
            23,
            32,
            0.98
        );

    transform:
        translateX(100%);

    transition:
        transform 0.4s ease;
}


.menu-desplegable.abierto {
    transform:
        translateX(0);
}


.menu-desplegable a {
    color: white;

    text-decoration: none;

    font-size: 27px;
}


.cerrar-menu {
    position: absolute;

    top: 20px;

    right: 25px;

    border: none;

    background: transparent;

    color: white;

    font-size: 45px;

    cursor: pointer;
}


/* =========================================================
   PANTALLA INICIAL
========================================================= */

.pantalla-inicial {
    position: fixed;

    inset: 0;

    z-index: 9999;

    display: flex;

    align-items: center;

    justify-content: center;

    background-color:
        var(--marfil);

    background-image:
        url("images/fondo-botanico.svg");

    background-size:
        450px;

    transition:
        opacity 0.8s,
        visibility 0.8s;
}


.pantalla-inicial.oculta {
    opacity: 0;

    visibility: hidden;

    pointer-events: none;
}


.sobre-apertura {
    position: relative;

    width: 390px;

    height: 500px;

    max-width: 90vw;
}


.carta-apertura {
    position: absolute;

    left: 8%;

    top: 0;

    width: 84%;

    height: 68%;

    padding:
        40px
        25px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    background:
        #fffdf8;
}


.texto-apertura {
    font-size: 21px;
}


.nombres-apertura {
    font-size: 38px;

    font-weight: 500;
}


.boton-abrir {
    padding:
        14px
        30px;

    border: none;

    border-radius: 50px;

    background:
        var(--burdeos);

    color: white;

    font-family: inherit;

    font-size: 20px;

    cursor: pointer;
}


.sobre-frente {
    position: absolute;

    left: 0;

    bottom: 0;

    z-index: 2;

    width: 100%;

    height: 55%;

    background:
        linear-gradient(
            145deg,
            #671621,
            #8e2130
        );

    clip-path:
        polygon(
            0 0,
            50% 48%,
            100% 0,
            100% 100%,
            0 100%
        );
}


.sello-apertura {
    position: absolute;

    z-index: 3;

    left: 50%;

    bottom: 20%;

    transform:
        translateX(-50%);

    width: 70px;

    height: 70px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background:
        radial-gradient(
            circle at 30% 30%,
            #efd58d,
            #b78c45
        );

    font-family:
        "Great Vibes",
        cursive;

    font-size: 22px;
}


/* =========================================================
   CARRUSEL PRINCIPAL
========================================================= */

.hero-carrusel {
    position: relative;

    width: 100%;

    height:
        calc(100svh - 80px);

    min-height: 560px;

    overflow: hidden;

    background: #111;
}


.hero-carrusel-track {
    position: absolute;

    inset: 0;

    display: flex;

    height: 100%;

    transition:
        transform 0.85s
        cubic-bezier(
            0.77,
            0,
            0.175,
            1
        );

    will-change: transform;

    touch-action: pan-y;
}


.hero-slide {
    position: relative;

    flex:
        0 0
        100%;

    width: 100%;

    height: 100%;

    overflow: hidden;
}


.hero-slide::after {
    content: "";

    position: absolute;

    inset: 0;

    z-index: 2;

    pointer-events: none;

    background:
        linear-gradient(
            rgba(0, 0, 0, 0.08),
            rgba(0, 0, 0, 0.28)
        );
}


/* =========================================================
   FOTOS DEL CARRUSEL
========================================================= */

.foto-carrusel {
    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;

    object-position:
        center 50%;
}


/* =========================================================
   AJUSTE INDIVIDUAL DE LAS 12 FOTOS
========================================================= */


/* FOTO 1
   Bajar respecto del ajuste anterior.
*/

.hero-slide img.foto1 {
    object-position:
        center 60%;
}


/* FOTO 2
   Subir un poco.
*/

.hero-slide img.foto2 {
    object-position:
        center 60%;
}


/* FOTO 3
   Subir bastante para que ambos se vean.
*/

.hero-slide img.foto3 {
    object-position:
        center 40%;
}


/* FOTO 4
   YA ESTABA BIEN.
   NO CAMBIAR.
*/

.hero-slide img.foto4 {
    object-position:
        center 58%;
}


/* FOTO 5
   YA ESTABA BIEN.
   NO CAMBIAR.
*/

.hero-slide img.foto5 {
    object-position:
        center 58%;
}


/* FOTO 6
   YA ESTABA BIEN.
   NO CAMBIAR.
*/

.hero-slide img.foto6 {
    object-position:
        center 50%;
}


/* FOTO 7
   Subir bastante para que ambos se vean.
*/

.hero-slide img.foto7 {
    object-position:
        center 35%;
}


/* FOTO 8
   YA ESTABA BIEN.
   NO CAMBIAR.
*/

.hero-slide img.foto8 {
    object-position:
        center 50%;
}


/* FOTO 9
   YA ESTABA BIEN.
   NO CAMBIAR.
*/

.hero-slide img.foto9 {
    object-position:
        center 28%;
}


/* FOTO 10
   Bajar respecto del ajuste anterior.
*/

.hero-slide img.foto10 {
    object-position:
        center 40%;
}


/* FOTO 11
   YA ESTABA PERFECTA.
   NO CAMBIAR.
*/

.hero-slide img.foto11 {
    object-position:
        center 28%;
}


/* FOTO 12
   YA ESTABA BIEN.
   NO CAMBIAR.
*/

.hero-slide img.foto12 {
    object-position:
        center 50%;
}


/* =========================================================
   MONOGRAMA DEL CARRUSEL
========================================================= */

.hero-overlay {
    position: absolute;

    inset: 0;

    z-index: 5;

    display: flex;

    align-items: center;

    justify-content: center;

    pointer-events: none;
}


.hero-fecha-contenedor {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 22px;

    color: white;

    text-shadow:
        0 2px 10px
        rgba(
            0,
            0,
            0,
            0.25
        );
}


.hero-fecha {
    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    font-size: 36px;

    line-height: 1;

    letter-spacing: 3px;
}


.hero-fecha span:last-child {
    margin-top: 8px;
}


.hero-monograma-circulo {
    position: relative;

    width: 180px;

    height: 180px;

    display: flex;

    align-items: center;

    justify-content: center;

    border:
        1.5px solid
        white;

    border-radius: 50%;
}


.hero-monograma-circulo::before {
    content: "";

    position: absolute;

    inset: 12px;

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            0.75
        );

    border-radius: 50%;
}


.hero-monograma-texto {
    position: relative;

    z-index: 2;

    font-family:
        "Great Vibes",
        cursive;

    font-size: 62px;
}


/* =========================================================
   INDICADORES DEL CARRUSEL
========================================================= */

.hero-indicadores {
    position: absolute;

    z-index: 6;

    bottom: 18px;

    left: 50%;

    transform:
        translateX(-50%);

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 7px;
}


.hero-indicador {
    width: 7px;

    height: 7px;

    padding: 0;

    border: none;

    border-radius: 50%;

    background:
        rgba(
            255,
            255,
            255,
            0.45
        );
}


.hero-indicador.activo {
    width: 24px;

    border-radius: 10px;

    background: white;
}


/* =========================================================
   FONDOS
========================================================= */

.portada-editorial,
.seccion-fecha,
.seccion-evento,
.seccion-editorial,
.galeria-final {
    background-color:
        var(--marfil);

    background-image:
        url("images/fondo-botanico.svg");

    background-repeat:
        repeat;

    background-size:
        450px;
}


/* =========================================================
   PORTADA
========================================================= */

.portada-editorial {
    padding:
        110px
        20px;
}


.frase-principal,
.titulo-caligrafico,
.titulo-caligrafico-claro {
    font-family:
        "Great Vibes",
        cursive;
}


.frase-principal {
    margin:
        0 0 55px;

    font-size:
        65px;
}


.nombre-junto {
    margin: 0;

    font-size:
        75px;
}


.ampersand-inline {
    font-family:
        "Great Vibes",
        cursive;
}


.mensaje-principal {
    margin-top:
        70px;

    font-size:
        22px;

    line-height:
        1.8;

    letter-spacing:
        4px;
}


.ornamento-editorial {
    margin-top:
        40px;

    font-family:
        "Great Vibes",
        cursive;

    font-size:
        38px;
}


/* =========================================================
   FECHA
========================================================= */

.seccion-fecha {
    padding:
        100px
        20px
        130px;
}


.composicion-fecha {
    position: relative;

    width: 520px;

    height: 520px;

    max-width:
        92vw;

    margin: auto;
}


.sobre-fecha {
    position: absolute;

    left: 0;

    bottom: 15px;

    width: 72%;

    height: 54%;

    background:
        var(--burdeos);
}


.solapa-sobre {
    position: absolute;

    inset: 0;

    background:
        #65151f;

    clip-path:
        polygon(
            0 0,
            50% 54%,
            100% 0,
            100% 100%,
            0 100%
        );
}


.sello-fecha {
    position: absolute;

    z-index: 3;

    left: 50%;

    bottom: 50px;

    transform:
        translateX(-50%);

    width: 68px;

    height: 68px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background:
        var(--dorado);

    font-family:
        "Great Vibes",
        cursive;
}


.tarjeta-fecha {
    position: absolute;

    z-index: 2;

    right: 0;

    top: 0;

    width: 64%;

    min-height: 400px;

    padding:
        55px
        25px;

    border-radius:
        155px
        155px
        0
        0;

    background:
        var(--beige);
}


.titulo-fecha {
    margin: 0;

    font-family:
        "Great Vibes",
        cursive;

    font-size:
        58px;
}


.numero-fecha {
    margin:
        10px 0;

    font-size:
        105px;

    line-height: 1;
}


.mes-fecha {
    letter-spacing:
        4px;
}


.hora-fecha {
    margin-top:
        25px;

    letter-spacing:
        2px;
}


/* =========================================================
   EVENTOS
========================================================= */

.seccion-evento {
    padding:
        90px
        20px
        110px;
}


.ilustracion-evento {
    margin:
        0 auto 35px;

    mix-blend-mode:
        multiply;
}


.ilustracion-iglesia {
    width:
        min(
            430px,
            88vw
        );
}


.ilustracion-centro {
    width:
        min(
            520px,
            90vw
        );
}


.titulo-evento {
    font-size: 31px;

    letter-spacing: 7px;
}


.nombre-evento {
    margin:
        20px auto 10px;

    font-size: 37px;

    font-style: italic;

    font-weight: 500;
}


.ubicacion-evento,
.hora-evento {
    font-size: 23px;
}


.boton-mapa,
.boton-beige {
    display: inline-block;

    padding:
        14px
        32px;

    border-radius: 50px;

    background:
        var(--beige);

    color:
        var(--burdeos);

    text-decoration: none;
}


/* =========================================================
   CONTADOR
========================================================= */

.seccion-contador {
    padding:
        100px
        15px;

    background:
        var(--beige-claro);
}


.subtitulo {
    letter-spacing:
        5px;
}


.titulo-seccion {
    font-size:
        43px;

    font-weight:
        500;
}


.contador {
    max-width:
        750px;

    margin:
        45px auto 0;

    display: grid;

    grid-template-columns:
        repeat(
            4,
            1fr
        );
}


.unidad-contador {
    border-right:
        1px solid
        rgba(
            123,
            32,
            43,
            0.2
        );
}


.unidad-contador:last-child {
    border-right: none;
}


.unidad-contador span {
    font-size: 50px;
}


.unidad-contador p {
    font-size: 12px;

    text-transform:
        uppercase;

    letter-spacing: 2px;
}


/* =========================================================
   SECCIONES GENERALES
========================================================= */

.seccion-burdeos {
    padding:
        100px
        20px;

    background:
        linear-gradient(
            145deg,
            #621823,
            #861f2e
        );

    color: white;
}


.seccion-editorial {
    padding:
        100px
        20px;
}


.titulo-caligrafico,
.titulo-caligrafico-claro {
    margin:
        0 0 45px;

    font-size: 62px;
}


.titulo-caligrafico-claro {
    color: white;
}


.titulo-mayusculas,
.titulo-mayusculas-claro {
    letter-spacing: 5px;

    font-weight: 500;
}


.titulo-mayusculas-claro {
    color: white;
}


/* =========================================================
   DRESS CODE
========================================================= */

.tarjeta-marco {
    width:
        min(
            600px,
            90vw
        );

    margin: auto;

    padding:
        80px
        35px;

    border:
        2px solid
        rgba(
            255,
            255,
            255,
            0.8
        );

    border-radius: 170px;
}


.texto-dresscode {
    font-size: 22px;

    line-height: 1.7;
}


.nota-dresscode {
    margin-top: 30px;

    font-style: italic;
}


/* =========================================================
   TARJETAS
========================================================= */

.tarjeta-papel {
    position: relative;

    max-width: 620px;

    margin: auto;

    padding:
        60px
        35px;

    background:
        rgba(
            255,
            253,
            248,
            0.95
        );
}


.texto-editorial {
    font-size: 20px;

    line-height: 1.65;
}


/* =========================================================
   PROGRAMACIÓN
========================================================= */

.tarjeta-programacion {
    width:
        min(
            590px,
            90vw
        );

    margin: auto;

    padding:
        55px
        35px;

    background:
        var(--marfil);

    color:
        var(--burdeos);

    border:
        7px double
        rgba(
            123,
            32,
            43,
            0.4
        );
}


.item-programacion {
    margin-bottom: 35px;
}


.item-programacion:last-child {
    margin-bottom: 0;
}


.hora-programacion {
    font-size: 27px;

    letter-spacing: 3px;
}


.actividad-programacion {
    font-size: 20px;

    letter-spacing: 4px;
}


/* =========================================================
   REGALOS
========================================================= */

.regalos-composicion {
    width:
        min(
            640px,
            92vw
        );

    margin: auto;
}


.tarjeta-regalos-burdeos {
    width: 92%;

    margin:
        0 auto -35px;

    padding:
        45px
        20px
        70px;

    background:
        var(--burdeos);

    transform:
        rotate(-3deg);
}


.titulo-regalos {
    margin: 0;
}


.tarjeta-lista-regalos {
    width: 88%;

    margin-left: auto;

    transform:
        rotate(2deg);
}


.sello-regalos {
    position: absolute;

    top: -40px;

    right: 15%;

    width: 80px;

    height: 80px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background:
        var(--dorado);

    font-family:
        "Great Vibes",
        cursive;
}


/* =========================================================
   RSVP
========================================================= */

.seccion-rsvp-editorial {
    padding-top: 130px;
}


.estampilla-rsvp {
    position: relative;

    z-index: 2;

    width: 100px;

    margin:
        0 auto -45px;

    padding:
        22px
        5px;

    background:
        var(--burdeos);

    color: white;

    font-family:
        "Great Vibes",
        cursive;

    font-size: 27px;

    transform:
        rotate(-4deg);
}


.tarjeta-rsvp {
    width:
        min(
            670px,
            94vw
        );

    margin: auto;

    padding:
        75px
        35px
        50px;

    border-radius: 40px;

    background:
        var(--beige);
}


.titulo-rsvp {
    margin-bottom: 0;
}


.subtitulo-rsvp {
    margin-bottom: 45px;

    letter-spacing: 4px;
}


.formulario-rsvp {
    text-align: left;
}


.grupo-formulario {
    margin-bottom: 22px;
}


.grupo-formulario label {
    display: block;

    margin-bottom: 8px;

    font-size: 19px;
}


.grupo-formulario input,
.grupo-formulario select,
.grupo-formulario textarea {
    width: 100%;

    padding:
        15px
        18px;

    border: none;

    border-radius: 28px;

    background:
        rgba(
            255,
            255,
            255,
            0.55
        );

    font-family: inherit;

    font-size: 18px;
}


.grupo-formulario textarea {
    border-radius: 22px;
}


.boton-enviar-rsvp {
    width: 100%;

    padding: 15px;

    border: none;

    border-radius: 50px;

    background:
        var(--burdeos);

    color: white;

    font-family: inherit;

    font-size: 21px;

    cursor: pointer;
}


.campo-trampa {
    display: none;
}


.mensaje-confirmacion {
    margin-top: 30px;

    padding: 30px;

    border-radius: 25px;

    background:
        rgba(
            255,
            255,
            255,
            0.55
        );

    text-align: center;
}


.titulo-mensaje-confirmacion,
.firma-confirmacion {
    font-family:
        "Great Vibes",
        cursive;
}


.titulo-mensaje-confirmacion {
    font-size: 40px;
}


.firma-confirmacion {
    font-size: 30px;
}


/* =========================================================
   IMPORTANTE
========================================================= */

.marco-importante {
    width:
        min(
            600px,
            90vw
        );

    margin: auto;

    padding:
        85px
        40px;

    border:
        2px solid
        rgba(
            255,
            255,
            255,
            0.8
        );

    border-radius:
        220px
        220px
        45px
        45px;
}


.icono-importante {
    width: 75px;

    height: 75px;

    margin:
        0 auto 40px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background:
        var(--beige);

    color:
        var(--burdeos);

    font-size: 38px;

    font-style: italic;
}


.titulo-importante {
    letter-spacing: 7px;

    font-size: 27px;
}


.texto-importante {
    max-width: 450px;

    margin:
        15px auto;

    font-size: 22px;

    line-height: 1.65;
}


.te-esperamos {
    margin-top: 60px;

    font-size: 28px;
}


.monograma-importante {
    font-family:
        "Great Vibes",
        cursive;

    font-size: 55px;
}


/* =========================================================
   GALERÍA FINAL
========================================================= */

.galeria-final {
    padding:
        100px
        12px;
}


.fotos-finales {
    max-width: 900px;

    margin:
        45px auto 0;

    display: grid;

    grid-template-columns:
        repeat(
            2,
            1fr
        );

    gap: 8px;
}


.fotos-finales img {
    width: 100%;

    height: 400px;

    object-fit: cover;
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    padding:
        70px
        20px;

    background:
        var(--burdeos-oscuro);

    color: white;
}


.footer-nombres {
    margin: 0;

    font-family:
        "Great Vibes",
        cursive;

    font-size: 45px;
}


.footer-fecha {
    letter-spacing: 4px;
}


/* =========================================================
   MÚSICA
========================================================= */

.boton-musica {
    position: fixed;

    right: 18px;

    bottom: 18px;

    z-index: 3000;

    width: 50px;

    height: 50px;

    border:
        1px solid white;

    border-radius: 50%;

    background:
        var(--burdeos);

    color: white;

    font-size: 23px;

    cursor: pointer;
}


.boton-musica.reproduciendo {
    animation:
        girarMusica
        6s
        linear
        infinite;
}


@keyframes girarMusica {

    from {
        transform:
            rotate(0deg);
    }

    to {
        transform:
            rotate(360deg);
    }

}


/* =========================================================
   CELULAR
========================================================= */

@media (max-width: 600px) {

    .menu-principal {
        min-height: 74px;

        padding:
            10px
            14px;
    }


    .monograma {
        font-size: 24px;
    }


    .boton-menu-rsvp {
        padding:
            9px
            15px;

        font-size: 15px;
    }


    .boton-menu {
        font-size: 27px;
    }


    /* Carrusel */

    .hero-carrusel {
        height:
            calc(100svh - 74px);

        min-height: 530px;
    }


    .hero-fecha-contenedor {
        gap: 13px;
    }


    .hero-fecha {
        font-size: 27px;

        letter-spacing: 1.5px;
    }


    .hero-monograma-circulo {
        width: 132px;

        height: 132px;
    }


    .hero-monograma-circulo::before {
        inset: 9px;
    }


    .hero-monograma-texto {
        font-size: 46px;
    }


    /* Portada */

    .portada-editorial {
        padding:
            90px
            15px;
    }


    .frase-principal {
        font-size: 49px;
    }


    .nombre-junto {
        font-size: 45px;
    }


    .mensaje-principal {
        font-size: 17px;

        letter-spacing: 2px;
    }


    /* Fecha */

    .seccion-fecha {
        padding:
            80px
            15px
            100px;
    }


    .composicion-fecha {
        width: 345px;

        height: 430px;
    }


    .tarjeta-fecha {
        min-height: 330px;

        padding:
            42px
            18px;
    }


    .titulo-fecha {
        font-size: 44px;
    }


    .numero-fecha {
        font-size: 78px;
    }


    .mes-fecha {
        font-size: 14px;

        letter-spacing: 2px;
    }


    /* Eventos */

    .seccion-evento {
        padding:
            75px
            15px
            90px;
    }


    .titulo-evento {
        font-size: 26px;

        letter-spacing: 5px;
    }


    .nombre-evento {
        font-size: 29px;
    }


    /* Contador */

    .unidad-contador span {
        font-size: 32px;
    }


    .unidad-contador p {
        font-size: 9px;

        letter-spacing: 1px;
    }


    /* Secciones */

    .seccion-burdeos,
    .seccion-editorial {
        padding:
            80px
            15px;
    }


    .titulo-caligrafico,
    .titulo-caligrafico-claro {
        font-size: 50px;
    }


    /* Dress Code */

    .tarjeta-marco {
        padding:
            65px
            23px;

        border-radius: 140px;
    }


    /* RSVP */

    .tarjeta-rsvp {
        padding:
            65px
            20px
            35px;
    }


    /* Galería */

    .fotos-finales img {
        height: 250px;
    }

}