@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* overflow-x: hidden; */
}

body {
    overflow-x: hidden;
    font-family: Arial, sans-serif;
    background: #f6f2ef;
}

body.intro-locked {
    overflow: hidden;
}

body.rsvp-modal-open {
    overflow: hidden;
}

.intro-cover {
    position: fixed;
    inset: 0;
    z-index: 10000;
    overflow: hidden;
    background: #1f0b31;
}

.intro-cover img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

/* .intro-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at center, rgba(255, 255, 255, 0.08), transparent 36%),
        linear-gradient(180deg, rgba(40, 12, 61, 0.12), rgba(72, 20, 110, 0.48));
} */

.intro-enter {
    position: absolute;
    left: 50%;
    top: 90%;
    z-index: 3;
    transform: translate(-50%, -50%);
    min-width: 315px;
    min-height: 52px;
    padding: 0 36px;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 999px;
    /* backdrop-filter: blur(0px); */
    font-family: "Playfair Display", serif;
    font-size: 21px;
    cursor: pointer;
    background: #f0e2f8e3;
    color: #000000;
    box-shadow: 0 18px 45px rgba(64, 18, 96, .34);
    transition: transform .25s ease, background .25s ease;
}




.intro-enter:hover {
    background: rgba(125, 73, 166, .58);
    transform: translate(-50%, -50%) scale(1.04);
}

.intro-enter:disabled {
    cursor: wait;
    opacity: .72;
}

.intro-light {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    transform: scale(.24);
    background:
        radial-gradient(circle at center,
            rgba(255, 255, 255, .82) 0%,
            rgba(214, 182, 241, .72) 20%,
            rgba(157, 91, 205, .48) 42%,
            rgba(91, 25, 136, .16) 64%,
            transparent 78%);
}

.intro-light.is-active {
    animation: introHalo 2.5s ease forwards;
}

.intro-cover.is-fading {
    animation: introFadeOut 1.8s ease forwards;
}

body.intro-started .hero-video {
    opacity: 1;
}

body.intro-started .hero-image {
    opacity: 0;
}

@keyframes introHalo {
    0% {
        opacity: 0;
        transform: scale(.24);
    }

    42% {
        opacity: .95;
    }

    100% {
        opacity: 1;
        transform: scale(3.2);
    }
}

@keyframes introFadeOut {
    to {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
}

.scroll-hint {
    position: fixed;
    left: 50%;
    bottom: 34px;
    z-index: 8;
    display: grid;
    justify-items: center;
    gap: 4px;
    transform: translateX(-50%);
    color: #fff;
    font-family: "Playfair Display", serif;
    font-size: 18px;
    text-shadow: 0 4px 16px rgba(0, 0, 0, .7);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .5s ease, visibility .5s ease;
}

.scroll-hint.is-visible {
    opacity: 1;
    visibility: visible;
}

/* .scroll-hint__arrow {
    font-size: 31px;
    line-height: 1;
    animation: scrollHintBounce 1.05s ease-in-out infinite;
}

@keyframes scrollHintBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(9px);
    }
} */

/* =========================================================
       SECCIÓN PASAPORTE
    ========================================================= */
/* =========================================================
   HERO SCROLL / VIDEO CON SPARKLES
========================================================= */

.passport-scroll.hero-scroll {
    position: relative;
    height: 200vh;
    background: #000;
    overflow: hidden;
}

.hero-image,
.hero-video,
.hero-overlay,
#sparkles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
}

.hero-image {
    object-fit: cover;
    object-position: center;
    z-index: 3;
    will-change: transform, opacity;
}

.hero-video {
    object-fit: cover;
    object-position: center;
    z-index: 1;
    opacity: 0;
    will-change: opacity;
}

.hero-overlay {
    z-index: 2;
    pointer-events: none;
    background:
        radial-gradient(circle at center,
            transparent 35%,
            rgba(0, 0, 0, 0.45)),
        linear-gradient(to bottom,
            rgba(0, 0, 0, 0.15),
            rgba(0, 0, 0, 0.6));
}

#sparkles {
    z-index: 4;
    pointer-events: none;
}

.hero-content {
    position: fixed;
    z-index: 5;
    left: 50%;
    bottom: 12%;
    transform: translateX(-50%);
    width: min(90%, 760px);
    text-align: center;
    color: #fff;
    pointer-events: none;
    will-change: transform, opacity;
}

.hero-content h2 {
    font-family: "Playfair Display", serif;
    font-size: clamp(42px, 8vw, 88px);
    line-height: 0.95;
    margin-bottom: 18px;
    text-shadow: 0 8px 28px rgba(0, 0, 0, 0.65);
}

.hero-content p {
    font-family: "Dancing Script", cursive;
    font-size: clamp(26px, 4vw, 42px);
    line-height: 1.1;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 6px 22px rgba(0, 0, 0, 0.65);
}

.next-content {
    position: relative;
    z-index: 10;
    background: #FFFBF9;
}

.section-reveal {
    opacity: 0;
    transform: translateY(42px) scale(0.985);
    transform-origin: center top;
    transition:
        opacity 0.85s ease,
        transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

.section-reveal.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
    .section-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Cuando termina el hero, los elementos fixed dejan de estorbar visualmente */
.passport-scroll.hero-scroll.is-finished .hero-image,
.passport-scroll.hero-scroll.is-finished .hero-video,
.passport-scroll.hero-scroll.is-finished .hero-overlay,
.passport-scroll.hero-scroll.is-finished #sparkles,
.passport-scroll.hero-scroll.is-finished .hero-content {
    pointer-events: none;
}

/* =========================================================
   RESPONSIVE HERO SCROLL
========================================================= */

@media (max-width: 998px) {
    .passport-scroll.hero-scroll {
        height: 185vh;
    }

    .hero-image,
    .hero-video,
    .hero-overlay,
    #sparkles {
        height: 100svh;
    }

    .hero-content {
        bottom: 10%;
        width: min(88%, 560px);
    }

    .hero-content h2 {
        font-size: clamp(40px, 12vw, 70px);
    }

    .hero-content p {
        font-size: clamp(24px, 7vw, 36px);
    }

    .fecha {
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .passport-scroll.hero-scroll {
        height: 175vh;
    }

    .hero-image,
    .hero-video {
        object-position: center;
    }

    .hero-overlay {
        background:
            radial-gradient(circle at center,
                transparent 28%,
                rgba(0, 0, 0, 0.58)),
            linear-gradient(to bottom,
                rgba(0, 0, 0, 0.15),
                rgba(0, 0, 0, 0.72));
    }

    .hero-content {
        bottom: 9%;
    }
}

@media (max-width: 480px) {
    .passport-scroll.hero-scroll {
        height: 165vh;
    }

    .hero-content {
        bottom: 8%;
    }

    .hero-content h2 {
        font-size: clamp(36px, 14vw, 56px);
    }

    .hero-content p {
        font-size: clamp(23px, 8vw, 32px);
    }
}

/* =========================================================
       SIGUIENTE CONTENIDO
    ========================================================= */

.next-content {
    /* background: linear-gradient(180deg, rgba(255, 251, 249, 1) 0%, rgba(205, 169, 205, 1) 100%); */
    position: relative;
    z-index: 10;
    overflow-x: hidden;
    width: 100%;
}


.photos {
    background: #faf4f7;
}

.gallery {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
}

.gallery div {
    height: 300px;
    border-radius: 28px;
    background: #d8b4df;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c2179;
    font-weight: bold;
    font-size: 22px;
}

h3 {
    font-size: clamp(42px, 6vw, 80px);
    margin-bottom: 20px;
    color: #571F82;
}

section p {
    /* max-width: 700px;
    line-height: 1.7;
    color: #555;
    font-size: 18px; */
}

.music {
    width: 100%;
    padding: 2rem 0rem 28px 0px;
}

.music-player {
    width: 100%;
    min-width: 0;
    border: 1.5px solid #9b4fd3;
    border-radius: 28px;
    display: flex;
    align-items: center;
    gap: clamp(12px, 3vw, 22px);
    padding: clamp(16px, 3.5vw, 22px);
    background: #fffaf8;
}

.play-btn {
    flex: 0 0 auto;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
}

.play-btn img,
.volume-btn img,
.music-float-btn img {
    display: block;
    max-width: 100%;
}

.music-info {
    flex: 1;
    min-width: 0;
}

/* #playIcon {
    margin-left: 6px;
} */

/* .music-info {
    flex: 1;
} */

.music-info h2 {
    margin: 0;
    color: #5d1395;
    font-size: clamp(19px, 4vw, 25px);
    font-weight: 400;
    font-family: "Playfair Display", serif;
}

.music-info p {
    margin: 4px 0 14px;
    color: #5d1395;
    font-size: clamp(14px, 3.3vw, 20px);
    font-family: "Dancing Script", cursive;
}

.music-controls {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #5d1395;
    font-size: 15px;
    min-width: 0;
}

#progress {
    flex: 1;
    min-width: 60px;
    accent-color: #5d1395;
    cursor: pointer;
    margin-left: 5px;
    margin-right: 5px;
}

.volume-btn {
    /* margin-left: auto; */
    background: none;
    border: none;
    /* color: #9b4fd3; */
    /* font-size: 26px; */
    cursor: pointer;
}

.volume-btn.is-muted {
    opacity: .45;
}



/* =========================================================
    Fecha
    ========================================================= */
.fecha {
    width: 100%;
    padding: 0 10px;
}

.fecha-card {
    width: 100%;
    max-width: 705px;
    min-height: clamp(500px, 84vw, 640px);
    margin: 0 auto;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url("../img/nube.png");
    background-repeat: no-repeat;
    background-position: center 18px;
    background-size: cover;
}

.carousel-captionN {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* background: red; */
    width: 100%;
    height: 100%;
    display: flex !important;
    justify-content: center;
    align-items: center;
}



.position_relative {
    position: relative;
}

.fecha_sello_row {
    position: absolute;
    width: 100px;
    right: 0;
    top: 0;
}

.fecha-contenido {
    text-align: center;
    color: #6b1fa2;
    /* background-color: red; */
}

.fecha-texto {
    font-family: "Playfair Display", serif;
    font-size: clamp(18px, 4.2vw, 24px);
    line-height: 1.18;
    margin: 0 0 10px;
    color: #7D49A6;
}

.fecha-contenido h3 {
    font-family: "Playfair Display", serif;
    font-size: clamp(30px, 5.8vw, 36px);
    font-style: italic;
    font-weight: 400;
    margin: 0 0 4px;
    letter-spacing: 1px;
}

.fecha-dia {
    gap: clamp(5px, 2vw, 14px);
    margin: 0 auto 10px;
    color: #5f1592;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* .fecha-dia::before,
.fecha-dia::after {
    content: "";
    height: 2px;
    background: white;
    width: 100%;
} */

.fecha-dia span {
    font-family: "Dancing Script", cursive;
    font-size: clamp(27px, 6vw, 42px);
    white-space: nowrap;
}

.fecha-dia span::before,
.fecha-dia span::after {
    content: '';
    border-bottom: 3px solid white;
    border-top: 0px solid white;
    padding: 0px 0px;
    height: 3px;
    background: white;
    display: block;
    margin-top: 11px;
    margin-bottom: 13px;
    width: 128%;
    left: -20%;
    position: relative;
}

.fecha-dia strong {
    font-family: "Playfair Display", serif;
    font-size: clamp(66px, 15vw, 102px);
    line-height: 0.8;
    font-weight: 400;
}

.fecha-dia small {
    color: white;
    font-size: 21px;
}

.fecha-contenido h4 {
    font-family: "Playfair Display", serif;
    font-style: italic;
    font-size: 25px;
    margin: 0 0 18px;
}

.btn-confirmar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 265px;
    height: 46px;
    padding: 0 28px;
    border-radius: 30px;
    background: #6bb4e4;
    border: none;
    color: white;
    font-family: "Playfair Display", serif;
    font-size: 20px;
    text-decoration: none;
    box-shadow: none;
}

.fecha-confirmacion {
    font-family: "Playfair Display", serif;
    font-size: clamp(15px, 3.4vw, 20px);
    margin: 10px 0 0;
    color: #7D49A6;
    white-space: nowrap;
}

.fecha-confirmacion b {
    font-weight: 700;
}



/* =========================================================
    TEMPORIZADOR
    ========================================================= */
.contador {
    width: 100%;
    border-radius: 12px;
    padding: 0 10px;
    text-align: center;
    font-family: "Playfair Display", serif;
    max-width: 560px;
    margin: .75rem auto 3rem;
}

.contador__titulo {
    font-family: "Playfair Display", serif;
    font-weight: 700;
    font-size: clamp(32px, 8vw, 45px);
    color: #7D49A6;
    margin: 0 0 0.5rem;
}

.contador__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    justify-content: center;
    gap: clamp(.55rem, 3vw, 2rem);
}

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

.contador__numero {
    font-family: "Playfair Display", serif;
    font-size: clamp(38px, 9vw, 65px);
    font-weight: 400;
    color: #7D49A6;
    line-height: 1;
    min-width: 0;
}

.contador__label {
    font-family: "Playfair Display", serif;
    font-size: clamp(14px, 3.7vw, 20px);
    font-weight: 400;
    color: #7D49A6;
    letter-spacing: 0.02em;
}

.music-float-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: none;
    background: #6B21A8;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(107, 33, 168, 0.4);
    transition: transform 0.2s, background 0.2s;
}

.music-float-btn:hover {
    background: #7C3AED;
    transform: scale(1.08);
}

.music-float-btn:active {
    transform: scale(0.95);
}

.welcome-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #1a0a2e;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease;
}

.welcome-content {
    text-align: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.welcome-content p {
    font-family: "Playfair Display", serif;
    font-size: 16px;
    letter-spacing: 0.2em;
    color: #c4b5fd;
    text-transform: uppercase;
}

.welcome-content h2 {
    font-family: "Playfair Display", serif;
    font-size: 36px;
    font-weight: 400;
    color: #fff;
    margin: 0;
}

.welcome-content button {
    margin-top: 1rem;
    padding: 0.8rem 2rem;
    border-radius: 999px;
    border: 1px solid #7C3AED;
    background: #6B21A8;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.welcome-content button:hover {
    background: #7C3AED;
    transform: scale(1.05);
}



/* =========================================================
       CEREMONIA
    ========================================================= */
.ceremonia {
    width: 100%;
    /* padding: 34px 10px; */
    font-family: "Playfair Display", serif;
}

.contenido-ceremonia {
    width: 100%;
    /* min-height: 625px; */
    margin: 16px auto 0;
    padding: 3rem 18px;
    position: relative;
    overflow: hidden;
    /* background-color: #9fc5df; */
    background-image: url(../img/fondo.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 105% 100%;
    color: #fff;
    font-family: "Playfair Display", serif;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-flow: column;
    gap: 1.5rem;
}

.arco {
    width: clamp(92px, 20vw, 140px);
    margin-bottom: 0;
}

.contenido-ceremonia h2 {
    color: #ffffff;
    font-size: clamp(28px, 5.3vw, 35px);
    font-weight: 600;
    margin-bottom: 0;
    text-align: center;
    white-space: nowrap;
}

.contenido-ceremonia p {
    color: #ffffff;
    font-size: clamp(17px, 3.8vw, 24px);
    line-height: 1.18;
    font-weight: 400;
    margin-bottom: 0;
    text-align: center;
}

.contenido-ceremonia .jardin-span {
    color: #A170C6;
    font-size: 32px;
    line-height: 1.18;
    font-weight: 400;
    margin-bottom: 0;
    font-family: "Playfair Display", serif;
    text-align: center;
    font-style: italic;
    margin-bottom: -1.5rem;
}

.btn-maps {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 265px;
    height: 46px;
    padding: 0 28px;
    border-radius: 60px;
    text-decoration: none;
    color: #fff;
    font-size: 20px;
    font-weight: 500;
    background: linear-gradient(135deg, #a86bd8, #b86ce2);
    border: 1px solid rgba(255, 255, 255, .8);
    transition: .3s ease;
}

.btn-maps:hover {
    transform: scale(1.05);
    color: #fff;
}

/* =========================================================
       ITINERARIO
    ========================================================= */
.itinerario {
    padding: 30px 0 20px;
    font-family: "Playfair Display", serif;
}

.itinerario-postal {
    width: min(100%, 610px);
    min-height: 650px;
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.itinerario-marco {
    width: min(76vw, 435px);
    aspect-ratio: 1 / 1.4;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url("../img/marco-postal.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
}

.itinerario-contenido {
    width: 78%;
    height: 80%;
    margin-top: 13%;
    padding: 0 0 0;
    background: transparent;
    color: #7D49A6;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.itinerario-icono {
    width: 58px;
    height: 54px;
    position: relative;
    margin: 0 0 8px;
}

.itinerario-icono span {
    width: 20px;
    height: 42px;
    position: absolute;
    top: 0;
    border: 2px solid rgba(255, 255, 255, .9);
    border-top-width: 8px;
    border-radius: 10px 10px 4px 4px;
    transform-origin: bottom center;
}

.itinerario-icono span::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 36px;
    width: 2px;
    height: 18px;
    background: rgba(255, 255, 255, .9);
    transform: translateX(-50%);
}

.itinerario-icono span::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 52px;
    width: 22px;
    height: 2px;
    background: rgba(255, 255, 255, .9);
    transform: translateX(-50%);
}

.itinerario-icono span:first-child {
    left: 12px;
    transform: rotate(14deg);
}

.itinerario-icono span:last-child {
    right: 12px;
    transform: rotate(-14deg);
}

.itinerario-contenido h2 {
    margin: 0 0 18px;
    font-family: "Playfair Display", serif;
    font-size: clamp(28px, 5.3vw, 35px);
    font-weight: 700;
    color: #7D49A6;
}

.itinerario-lista {
    width: 100%;
    display: grid;
    gap: 27px;
}

.itinerario-item time {
    display: block;
    font-family: "Playfair Display", serif;
    font-size: 28px;
    line-height: 1;
    color: #5d1395;
}

.itinerario-item p {
    margin: 3px 0 0;
    font-family: "Dancing Script", cursive;
    font-size: 24px;
    line-height: 1.05;
    color: #5d1395;
}

.itinerario-sello {
    width: 174px;
    position: absolute;
    top: 56px;
    right: 0;
    z-index: 3;
    opacity: .92;
}

.itinerario-ondas {
    width: 170px;
    position: absolute;
    left: 0;
    bottom: 78px;
    z-index: 3;
}

/* =========================================================
       VESTIMENTA
    ========================================================= */
.vestimenta {
    padding: 18px 0 46px;
    font-family: "Playfair Display", serif;
}

.vestimenta-contenido {
    width: min(100%, 610px);
    margin: 0 auto;
    text-align: center;
    color: #5d1395;
}

.vestimenta-icono {
    display: block;
    width: 92px;
    margin: 0 auto 8px;
}

.vestimenta-contenido h2 {
    margin: 0 0 12px;
    font-family: "Playfair Display", serif;
    font-size: clamp(28px, 5.3vw, 35px);
    line-height: 1.05;
    font-weight: 700;
    color: #6b21a8;
}

.vestimenta-estilo {
    margin: 0 0 22px;
    font-family: "Dancing Script", cursive;
    font-size: 30px;
    line-height: 1;
    color: #6b21a8;
}

.vestimenta-aviso {
    margin: 0 0 16px;
    font-family: "Playfair Display", serif;
    font-size: 18px;
    line-height: 1.25;
    color: #6b21a8;
}

.vestimenta-colores {
    display: grid;
    grid-template-columns: repeat(5, minmax(62px, 1fr));
    gap: 20px;
    align-items: start;
    width: min(100%, 470px);
    margin: 0 auto;
}

.vestimenta-color {
    min-width: 0;
    display: grid;
    justify-items: center;
    gap: 9px;
}

.vestimenta-color p {
    margin: 0;
    font-family: "Playfair Display", serif;
    font-size: 18px;
    line-height: 1;
    color: #6b21a8;
}

.color-muestra {
    width: 56px;
    aspect-ratio: 1;
    position: relative;
    display: block;
    border-radius: 50%;
    border: 1px solid rgba(30, 20, 20, .45);
}

.color-muestra::before,
.color-muestra::after {
    content: "";
    position: absolute;
    top: 50%;
    left: -7px;
    width: calc(100% + 14px);
    height: 1px;
    background: #7B7B7B;
    transform-origin: center;
}

.color-muestra::before {
    transform: rotate(45deg);
}

.color-muestra::after {
    transform: rotate(-45deg);
}

.color-blanco {
    background: #fff;
}

.color-negro {
    background: #000;
}

.color-rojo {
    background: #ff0900;
}

.color-lila {
    background: #eadcf4;
}

.color-menta {
    background: #B5DEBC;
}

/* =========================================================
       MESA DE REGALOS
    ========================================================= */
.mes-regalos {
    width: 100%;
    /* min-height: 625px; */
    /* margin: 16px auto 0; */
    padding: 34px 18px 42px;
    position: relative;
    overflow: hidden;
    /* background-color: #9fc5df; */
    background-image: url(../img/fondo.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 102% 100%;
    color: #fff;
    font-family: "Playfair Display", serif;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mes-regalos-contenido {
    width: min(100%, 590px);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.mes-regalos-icono {
    display: block;
    width: 118px;
    margin: 0 auto 12px;
}

.mes-regalos h2 {
    margin: 0 0 24px;
    font-family: "Playfair Display", serif;
    font-size: clamp(28px, 5.3vw, 35px);
    line-height: 1;
    font-weight: 700;
    color: #fff;
}

.mes-regalos-texto {
    margin: 0 auto 26px;
    max-width: 430px;
    font-family: "Playfair Display", serif;
    font-size: 24px;
    line-height: 1.26;
    color: #fff;
}

.mes-regalos-texto em {
    font-style: italic;
}

.btn-mesa-regalos {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 262px;
    min-height: 46px;
    margin-bottom: 28px;
    padding: 7px 28px 9px;
    border: 1px solid #fff;
    border-radius: 999px;
    background: #aa6bcc;
    color: #fff;
    font-family: "Playfair Display", serif;
    font-size: 20px;
    line-height: 1;
    text-decoration: none;
    transition: transform .2s ease, background .2s ease;
}

.btn-mesa-regalos:hover {
    background: #9b55c2;
    color: #fff;
    transform: translateY(-1px);
}

.transferencias {
    width: min(100%, 472px);
    min-height: 156px;
    margin: 0 auto;
    padding: 24px 42px;
    border: 1.5px dotted #6b21a8;
    border-radius: 22px;
    display: grid;
    grid-template-columns: 120px 1fr;
    align-items: center;
    gap: 24px;
    text-align: left;
}

.transferencias-icono {
    width: 86px;
    justify-self: center;
}

.transferencias-datos h3 {
    margin: 0 0 3px;
    font-family: "Playfair Display", serif;
    font-size: 22px;
    line-height: 1;
    font-weight: 700;
    color: #7f23b8;
}

.transferencias-datos p {
    margin: 0;
    font-family: "Playfair Display", serif;
    font-size: 19px;
    line-height: 1.45;
    color: #fff;
}

.transferencias-datos em {
    font-style: italic;
}

/* =========================================================
       IMAGEN NOVIOS
    ========================================================= */

.imgNov-foto {
    width: 100%;
    height: 735px;
    display: block;
    object-fit: cover;
    object-position: center;
    mask-image: linear-gradient(black 80%, transparent);
    margin-top: -2rem;
    position: relative;
    z-index: -1;
}

/* =========================================================
       RECOMENDACIONES
    ========================================================= */
.recomendacion {
    width: 100%;
    /* min-height: 263px; */
    position: relative;
    /* overflow: hidden; */
    padding: 48px 24px 76px;
    background: #FFFBF9;
    color: #6b21a8;
    /* font-family: "Playfair Display", serif; */
    text-align: center;
}



/* .recomendacion-contenido {
    position: relative;
    z-index: 1;
    width: min(100%, 510px);
    margin: 0 auto;
} */

.recomendacion h2 {
    margin: 0 0 24px;
    font-family: "Playfair Display", serif;
    font-size: clamp(28px, 5.3vw, 35px);
    line-height: 1;
    font-weight: 700;
    color: #6b21a8;
}

.recomendacion p {
    margin: 0;
    font-family: "Playfair Display", serif;
    font-size: 20px;
    line-height: 26px;
    color: #6b21a8;
}

.recomendacion-ondas {
    width: 135px;
    position: absolute;
    left: 0;
    bottom: 0px;
}

/* =========================================================
       FORMULARIO INVITACION
    ========================================================= */
.formInvi {
    position: fixed;
    inset: 0;
    z-index: 1000;
    width: 100%;
    padding: 28px 14px;
    background: rgba(63, 37, 78, .46);
    font-family: "Playfair Display", serif;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .22s ease, visibility .22s ease;
}

.formInvi.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.rsvp {
    width: min(100%, 560px);
    max-height: calc(100dvh - 56px);
    margin: 0 auto;
    padding: clamp(24px, 6vw, 38px);
    position: relative;
    border: 1.5px solid rgba(125, 73, 166, .28);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(245, 233, 251, .92), rgba(255, 250, 248, .98));
    box-shadow: 0 18px 48px rgba(93, 19, 149, .12);
    color: #5d1395;
    overflow-y: auto;
    transform: translateY(10px);
    transition: transform .22s ease;
}

.formInvi.is-open .rsvp {
    transform: translateY(0);
}

.rsvp__close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #7d49a6;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}

.rsvp__header {
    text-align: center;
    margin-bottom: 24px;
}

.rsvp__header p {
    margin: 0 0 6px;
    font-family: "Dancing Script", cursive;
    font-size: 24px;
    line-height: 1;
    color: #8b5db1;
}

.rsvp__header h2 {
    margin: 0 0 8px;
    font-family: "Playfair Display", serif;
    font-size: clamp(28px, 5.3vw, 35px);
    line-height: 1.05;
    font-weight: 700;
    color: #6b21a8;
}

.rsvp__header small {
    display: block;
    color: #8a68a6;
    font-size: 15px;
    line-height: 1.28;
}

.rsvp__form {
    display: grid;
    gap: 18px;
}

.rsvp__field {
    display: grid;
    gap: 7px;
}

.rsvp__field label,
.rsvp__attendance legend {
    margin: 0;
    font-size: 18px;
    color: #6b21a8;
    font-weight: 700;
}

.rsvp__field input,
.rsvp__field textarea,
.rsvp__chips {
    width: 100%;
    min-height: 50px;
    border: 1.5px solid rgba(107, 33, 168, .25);
    border-radius: 18px;
    background: rgba(255, 255, 255, .82);
    color: #4a126f;
    font: 18px Arial, sans-serif;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.rsvp__field input::placeholder,
.rsvp__field textarea::placeholder {
    color: #a99ab3;
    font-weight: 400;
}

.rsvp__field input,
.rsvp__field textarea {
    padding: 12px 15px;
}

.rsvp__field textarea {
    resize: vertical;
    min-height: 112px;
}

.rsvp__field input:focus,
.rsvp__field textarea:focus,
.rsvp__chips:focus-within {
    border-color: #9b4fd3;
    box-shadow: 0 0 0 4px rgba(155, 79, 211, .12);
    background: #fff;
}

.rsvp__field small {
    color: #8a68a6;
    font-size: 13px;
    line-height: 1.25;
}

.rsvp__error {
    min-height: 18px;
    margin: 0;
    font-family: Arial, sans-serif;
    font-size: 13px;
    color: #b42352;
}

.rsvp__tickets {
    padding: 13px 15px;
    border: 1.5px solid rgba(77, 154, 203, .34);
    border-radius: 8px;
    background: rgba(235, 247, 255, .78);
    color: #4a126f;
    font-family: Arial, sans-serif;
    font-size: 15px;
    line-height: 1.35;
}

.rsvp__tickets strong,
.rsvp__tickets span {
    display: block;
}

.rsvp__tickets strong {
    margin-bottom: 4px;
    color: #5d1395;
}

.rsvp__attendance {
    margin: 0;
    padding: 0;
    border: 0;
    display: grid;
    gap: 10px;
}

.rsvp__option {
    position: relative;
    display: grid;
    cursor: pointer;
}

.rsvp__option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.rsvp__option span {
    min-height: 74px;
    padding: 14px 18px 14px 58px;
    border: 1.5px solid rgba(107, 33, 168, .22);
    border-radius: 22px;
    background: rgba(255, 255, 255, .76);
    display: grid;
    align-content: center;
    gap: 2px;
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.rsvp__option span::before {
    content: "";
    position: absolute;
    left: 18px;
    top: 50%;
    width: 24px;
    aspect-ratio: 1;
    border: 2px solid #b98add;
    border-radius: 50%;
    transform: translateY(-50%);
    background: #fff;
}

.rsvp__option span::after {
    content: "";
    position: absolute;
    left: 25px;
    top: 50%;
    width: 10px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: #7d49a6;
    transform: translateY(-50%) scale(0);
    transition: transform .2s ease;
}

.rsvp__option strong {
    font-size: 19px;
    color: #5d1395;
}

.rsvp__option small {
    font-family: "Dancing Script", cursive;
    font-size: 22px;
    color: #8b5db1;
}

.rsvp__option input:checked+span {
    border-color: #9b4fd3;
    background: #f7effd;
    transform: translateY(-1px);
}

.rsvp__option input:checked+span::after {
    transform: translateY(-50%) scale(1);
}

.rsvp__chips {
    min-height: 56px;
    padding: 7px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
}

.rsvp__chips input {
    width: auto;
    min-width: 190px;
    flex: 1;
    min-height: 36px;
    padding: 6px 7px;
    border: 0;
    box-shadow: none;
    background: transparent;
    font-size: 16px;
}

.rsvp__chips input:focus {
    box-shadow: none;
}

.rsvp__chip {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0 10px 0 0;
    border: 1px solid #b9a9c7;
    border-radius: 4px;
    background: #f7f4fa;
    color: #4a126f;
    font: 17px Arial, sans-serif;
}

.rsvp__chip button {
    width: 28px;
    align-self: stretch;
    border: 0;
    border-right: 1px solid #b9a9c7;
    background: #eee;
    color: #777;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.rsvp__field.is-disabled {
    opacity: .52;
}

.rsvp__field.is-disabled .rsvp__chips {
    background: #f1edf3;
}

.rsvp__submit {
    min-height: 50px;
    border: 1px solid #4d9acb;
    border-radius: 999px;
    background: #6bb4e4;
    color: #fff;
    font-family: "Playfair Display", serif;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(107, 180, 228, .18);
    transition: transform .2s ease, background .2s ease;
}

.rsvp__submit:hover {
    background: #5aa6d8;
    transform: translateY(-1px);
}

.rsvp__submit:disabled {
    cursor: wait;
    opacity: .68;
}

.swal2-popup.rsvp-swal {
    border-radius: 26px;
    color: #5d1395;
    font-family: "Playfair Display", serif;
}

.swal2-popup.rsvp-swal .swal2-title {
    color: #6b21a8;
}

/* =========================================================
       FINAL
    ========================================================= */
.final {
    width: 100%;
    padding: 38px 0 62px;
    background: linear-gradient(180deg, rgba(255, 251, 249, 1) 0%, rgba(240, 226, 248, 1) 100%);
    font-family: "Dancing Script", cursive;
}

.final-galeria {
    width: 100%;
    padding: 0 18px;
    overflow: hidden;
}

.final-carousel {
    width: min(100%, 980px);
    margin: 0 auto;
}

.final-carousel .splide__track {
    overflow: visible;
}

.final-carousel .splide__slide {
    width: min(74vw, 310px);
    height: 390px;
}

.final-gallery-button {
    width: 100%;
    height: 100%;
    display: block;
    padding: 0;
    border: 0;
    border-radius: 8px;
    overflow: hidden;
    background: transparent;
    cursor: zoom-in;
    box-shadow: 0 16px 34px rgba(87, 39, 118, .18);
}

.final-gallery-button img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .45s ease;
}

.final-gallery-button:hover img,
.final-gallery-button:focus-visible img {
    transform: scale(1.045);
}

.final-carousel .splide__pagination {
    bottom: -28px;
}

.final-carousel .splide__pagination__page {
    background: rgba(107, 33, 168, .32);
}

.final-carousel .splide__pagination__page.is-active {
    background: #6b21a8;
    transform: scale(1.12);
}

.gallery-lightbox {
    position: fixed;
    inset: 50% auto auto 50%;
    z-index: 10001;
    width: min(92vw, 980px);
    max-height: 88vh;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 8px;
    overflow: visible;
    transform: translate(-50%, -50%);
    background: transparent;
}

.gallery-lightbox[open],
.gallery-lightbox.is-open {
    display: grid;
    place-items: center;
}

.gallery-lightbox.is-open:not([open]) {
    position: fixed;
    inset: 0;
    width: 100vw;
    max-width: none;
    height: 100vh;
    max-height: none;
    transform: none;
    background: rgba(22, 7, 35, .84);
    backdrop-filter: blur(6px);
}

.gallery-lightbox::backdrop {
    background: rgba(22, 7, 35, .84);
    backdrop-filter: blur(6px);
}

.gallery-lightbox.is-open:not([open]) img {
    width: min(92vw, 980px);
}

.gallery-lightbox img {
    width: 100%;
    max-height: 88vh;
    display: block;
    object-fit: contain;
    border-radius: 8px;
    background: #13091d;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .42);
}

.gallery-lightbox__close {
    position: absolute;
    top: -44px;
    right: 0;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, .6);
    border-radius: 50%;
    background: rgba(255, 255, 255, .14);
    color: #fff;
    font-size: 30px;
    line-height: 32px;
    cursor: pointer;
}

.final-mensaje {
    padding: 40px 24px 0;
    text-align: center;
    color: #6b21a8;
}

.final-avion {
    grid-area: avion;
    align-self: center;
    justify-self: center;
    display: block;
    width: 150px;
    margin: 0;
}

.final-mensaje p {
    margin: 0 auto;
    max-width: 430px;
    font-family: "Dancing Script", cursive;
    font-size: 26px;
    line-height: 1.05;
    color: #6b21a8;
}



/* =========================================================
       RESPONSIVE
    ========================================================= */
/* =========================================================
   TABLET Y MOBILE
========================================================= */

@media (max-width: 998px) {
    section.section_margin_1 {
        margin-top: 2rem;
    }

    .section_margin_1_dos {

        margin-top: 2rem;
    }

    .section_margin_1_men {
        margin-top: -1rem;
    }

    .passport-scroll {
        height: 240vh;
        /* background: #87359b; */
        /* background: #FFFBF9; */
        /* background: linear-gradient(180deg, rgba(255, 251, 249, 1) 4%, rgba(205, 169, 205, 1) 100%); */
        background: linear-gradient(180deg, rgba(205, 169, 205, 1) 0%, rgba(255, 251, 249, 1) 50%, rgba(205, 169, 205, 1) 100%);
    }

    .passport-sticky {
        padding: 0;
        align-items: center;
        justify-content: center;
    }

    .passport {
        width: min(92vw, 620px);
        height: min(92vh, 860px);
        aspect-ratio: 9 / 13;
    }

    .passport-left,
    .passport-right {
        width: 100%;
        height: 100%;
        border-radius: 26px;
    }

    .passport-left {
        left: 0;
        z-index: 10;
        transform-origin: left center;
        border: 0;
        background: none;
    }

    .passport-left::before {
        inset: 0;
        border: none;
        border-radius: 26px;
        background-image: url('../img/portada.jpeg');
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
        /* background-color: #87359b; */
        /* transform: rotateY(180deg); */
    }

    .passport-left::before {
        transform: none;
    }

    .passport-right {
        right: auto;
        left: 0;
        z-index: 1;
        border-radius: 26px;
    }

    .passport-video video {
        object-fit: cover;
    }

    .video-text {
        left: 28px;
        right: 28px;
        bottom: 35px;
        max-width: none;
    }

    .video-text h2 {
        font-size: clamp(34px, 8vw, 58px);
    }

    .video-text p {
        font-size: 15px;
        line-height: 1.5;
    }
}


@media screen and (max-width:768px) {
    .fecha-card {
        max-width: 100%;
        min-height: 560px;
        background-position: center 24px;
    }

    .fecha-sello {
        width: 120px;
        top: 8px;
        right: 10px;
    }

    .fecha-contenido {
        max-width: 430px;
        padding-top: 70px;
    }

    .fecha-texto {
        font-size: 21px;
    }

    .fecha-dia {
        gap: 8px;
    }

    .fecha-dia span {
        font-size: 32px;
    }

    .fecha-dia strong {
        font-size: 78px;
    }

    .fecha-contenido h3 {
        font-size: 33px;
    }

    .ceremonia {
        padding: 24px 12px;
    }

    .arco {
        width: 146px;
        margin-bottom: 0.5rem;
    }

    .contenido-ceremonia h2 {
        font-size: 1.9rem;
        margin-bottom: 0;
    }

    .contenido-ceremonia p {
        font-size: 1.18rem;
        margin-bottom: 0;
    }

    .btn-maps {
        min-width: 265px;
        height: 46px;
        font-size: 20px;
        padding: 0 28px;
    }

    .itinerario-postal {
        min-height: 610px;
    }

    .itinerario-marco {
        width: min(86vw, 400px);
    }

    .itinerario-sello {
        width: 135px;
        top: 70px;
        right: 0;
    }

    .itinerario-ondas {
        width: 140px;
        left: 0;
        bottom: 92px;
    }

    .vestimenta {
        padding: 8px 14px 42px;
    }

    .vestimenta-colores {
        gap: 15px;
    }

    .mes-regalos {
        padding-left: 18px;
        padding-right: 18px;
    }
}

@media (max-width: 712px) {


    .passport-scroll {
        height: 230vh;
    }

    .imgVid {
        content: url(../img/tona-y-jessy-movil.jpeg);
    }

    .intro-enter {
        min-width: 300px;
        min-height: 40px;
        font-size: 18px;
    }

    .section_margin_1_dos {
        margin-top: 0;
    }

    .recomendacion {
        padding: 15px 24px 17px;
    }

    .recomendacion-ondas {
        width: 112px;
        left: -14px;
        bottom: 0px;
        top: 12rem;
    }

    .passport {
        width: min(94vw, 430px);
        height: min(88vh, 760px);
        aspect-ratio: 9 / 14;
    }

    .passport-left,
    .passport-right,
    .passport-left::before {
        border-radius: 22px;
    }

    .passport-left::before {
        background-size: cover;
        background-position: center;
    }

    .video-text {
        left: 22px;
        right: 22px;
        bottom: 28px;
    }

    .video-text h2 {
        font-size: 34px;
    }

    .video-text p {
        font-size: 13px;
    }
}

@media (max-width: 650px) {
    .music-player {
        border-radius: 22px;
    }

    .music-controls {
        justify-content: center;
        font-size: 13px;
    }

    .volume-btn {
        flex: 0 0 auto;
    }

    #playIcon {
        font-size: 0;
    }

    .play-btn {
        width: 42px;
    }

    .music-info h2 {
        font-size: 21px;
    }

    .music-info p {
        font-size: 16px;
        font-weight: 100;
        margin: 4px 0 4px;
    }

    /* .music {
        padding: 54px 13px 10px;
    } */
}

@media (max-width: 480px) {

    .passport {
        width: 96vw;
        height: 86vh;
        aspect-ratio: 9 / 15;
    }

    .passport-left,
    .passport-right,
    .passport-left::before {
        border-radius: 18px;
    }

    .video-text {
        left: 18px;
        right: 18px;
        bottom: 24px;
    }

    .video-text h2 {
        font-size: 28px;
    }

    .video-text p {
        font-size: 12px;
    }

    .fecha {
        padding: 0;
        margin-top: -1rem;
    }

    .fecha-card {
        min-height: 500px;
        background-size: 145%;
        background-position: center 28px;
    }

    .fecha-sello {
        width: 90px;
        top: 18px;
        right: 0;
    }

    .fecha-contenido {
        max-width: 330px;
        padding-top: 60px;
    }

    .fecha-texto {
        font-size: 18px;
        margin-bottom: 18px;
    }

    .fecha-dia span {
        font-size: 27px;
    }

    .fecha-dia strong {
        font-size: 68px;
    }

    .fecha-dia {
        gap: 5px;
        margin-bottom: 20px;
    }

    .fecha-contenido h4 {
        font-size: 21px;
    }

    .btn-confirmar {
        min-width: 265px;
        height: 46px;
        font-size: 18px;
    }

    .fecha-confirmacion {
        font-size: 14px;
    }

    .contador__grid {
        gap: .55rem;
    }

    /* .music {
        padding: 56px 13px 0px;
    } */

    .itinerario {
        padding-top: 10px;
    }

    .itinerario-postal {
        min-height: 540px;
        overflow: hidden;
    }

    .itinerario-marco {
        width: min(92vw, 350px);
    }

    .itinerario-contenido {
        padding: 20px 18px 12px;
    }

    .itinerario-contenido h2 {
        font-size: 30px;
        margin-bottom: 16px;
    }

    .itinerario-lista {
        gap: 22px;
    }

    .itinerario-item time {
        font-size: 25px;
    }

    .itinerario-item p {
        font-size: 22px;
    }

    .itinerario-sello {
        width: 106px;
        top: 72px;
        right: -11px;
    }

    .itinerario-ondas {
        width: 112px;
        left: -16px;
        bottom: 92px;
    }

    .vestimenta-icono {
        width: 78px;
        margin-bottom: 8px;
    }

    .vestimenta-contenido h2 {
        font-size: 30px;
    }

    .vestimenta-estilo {
        font-size: 27px;
        margin-bottom: 19px;
    }

    .vestimenta-aviso {
        font-size: 17px;
        max-width: 310px;
        margin-left: auto;
        margin-right: auto;
    }

    .vestimenta-colores {
        grid-template-columns: repeat(5, minmax(48px, 1fr));
        gap: 9px;
    }

    .color-muestra {
        width: 46px;
    }

    .vestimenta-color p {
        font-size: 15px;
    }

    .mes-regalos {
        padding-top: 30px;
        padding-bottom: 36px;
    }

    .mes-regalos-icono {
        width: 98px;
    }

    .mes-regalos h2 {
        font-size: 30px;
        margin-bottom: 20px;
    }

    .mes-regalos-texto {
        font-size: 20px;
        max-width: 330px;
    }

    .btn-mesa-regalos {
        min-width: 230px;
        font-size: 18px;
    }

    .transferencias {
        width: min(100%, 350px);
        min-height: 0;
        padding: 22px 20px;
        grid-template-columns: 76px 1fr;
        gap: 14px;
        border-radius: 18px;
    }

    .transferencias-icono {
        width: 66px;
    }

    .transferencias-datos h3 {
        font-size: 19px;
    }

    .transferencias-datos p {
        font-size: 16px;
        line-height: 1.42;
        overflow-wrap: anywhere;
    }



    .imgNov-foto {
        height: 560px;
    }

    /* 
    .recomendacion {
        min-height: 250px;
        padding: 52px 18px 38px;
    } */

    .recomendacion h2 {
        font-size: 30px;
        margin-bottom: 20px;
    }

    .recomendacion p {
        font-size: 19px;
        line-height: 1.3;
    }

    .recomendacion p br {
        display: none;
    }



    .final {
        padding-top: 15px;
        padding-bottom: 0;
    }

    .wid33 {
        width: 33%;
    }

    .final-galeria {
        padding: 0 12px;
    }

    .final-carousel .splide__slide {
        width: min(78vw, 260px);
        height: 310px;
    }

    .final-mensaje {
        padding: 30px 18px 0;
    }

    .final-avion {
        width: 118px;
    }

    .final-mensaje p {
        font-size: 23px;
        max-width: 330px;
    }

    .final-mensaje p br {
        display: none;
    }
}

/* =========================================================
   AJUSTES POR TAMAÑO SOLICITADO
========================================================= */

@media (max-width: 1440px) {
    .next-content>.row {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        justify-content: center;
    }

    .next-content>.row>div:first-child,
    .next-content>.row>div:last-child {
        display: none;
    }

    .next-content>.row>div:nth-child(2) {
        flex: 0 0 520px;
        width: 520px;
        max-width: 520px;
        padding-left: 0;
        padding-right: 0;
    }

    .fecha-card {
        min-height: 610px;
    }

    /* .contenido-ceremonia,
    .itinerario-postal,
    .vestimenta-contenido,
    .mes-regalos-contenido,
    .recomendacion-contenido {
        max-width: 520px;
    } */
}

@media (max-width: 1280px) {
    .next-content>.row>div:nth-child(2) {
        flex-basis: 500px;
        width: 500px;
        max-width: 500px;
    }

    /* .music {
        padding-top: 64px;
    } */

    .fecha-card {
        min-height: 585px;
        background-size: 128%;
    }

    .fecha-contenido {
        max-width: 390px;
        padding-top: 62px;
    }

    .fecha-texto {
        font-size: 22px;
        margin-bottom: 22px;
    }

    .fecha-dia strong {
        font-size: 82px;
    }

    /* .contenido-ceremonia {
        min-height: 545px;
    } */

    .itinerario-postal {
        min-height: 610px;
    }

    .imgNov-foto {
        min-height: 680px;
        height: 680px;
    }
}

@media (max-width: 998px) {

    .intro-enter {
        top: 91%;
        background: #f0e2f8e3;
        color: #000000;
    }

    .next-content>.row>div:nth-child(2) {
        flex-basis: min(100%, 560px);
        width: min(100%, 560px);
        max-width: 560px;
    }

    .contenido-ceremonia .jardin-span {
        font-size: 25px;
    }

    .itinerario-contenido {
        margin-top: 11%;
    }

    .btn-mesa-regalos {
        min-height: 42px;
        font-size: 18px;
    }

    .itinerario-lista {
        width: 100%;
        display: grid;
        gap: 15px;
    }

    /* .music {
        padding: 58px 16px 12px;
    } */

    .music-player {
        padding: 18px;
    }

    .fecha-card {
        max-width: 560px;
        min-height: 515px;
        background-size: 104% auto;
        background-position: center 18px;
    }

    .fecha-sello {
        width: 108px;
        top: 18px;
        right: -18px;
        opacity: .78;
    }

    .fecha-contenido {
        max-width: 410px;
        padding-top: 86px;
    }

    .fecha-texto {
        font-size: 20px;
        line-height: 1.18;
        margin-bottom: 20px;
    }

    .fecha-contenido h3 {
        font-size: 34px;
        margin-bottom: 2px;
    }

    .fecha-dia {
        gap: 8px;
        margin-bottom: 5px;
    }

    .fecha-dia span {
        font-size: 31px;
    }

    .fecha-dia strong {
        font-size: 72px;
    }

    .fecha-dia small {
        font-size: 16px;
    }

    .fecha-contenido h4 {
        font-size: 23px;
        margin-bottom: 14px;
    }

    .btn-confirmar {
        height: 42px;
        min-width: 252px;
        font-size: 18px;
    }

    .btn-maps {
        min-width: 265px;
        height: 42px;
        font-size: 18px;
        padding: 0 28px;
    }

    .fecha-confirmacion {
        max-width: 100%;
        margin-top: 16px;
        font-size: 16px;
    }

    .contador {
        max-width: 520px;
        margin-bottom: 2.5rem;
    }

    /* .contenido-ceremonia {
        min-height: 530px;
        padding-left: 24px;
        padding-right: 24px;
    } */

    .itinerario-postal {
        min-height: 590px;
    }

    .itinerario-marco {
        width: min(78vw, 390px);
    }

    .mes-regalos {
        min-height: 590px;
    }

    .imgNov-foto {
        min-height: 640px;
        height: 640px;
    }
}

@media screen and (max-width:884px) {
    .fecha-contenido {
        max-width: 410px;
        padding-top: 42px;
    }
}

@media (max-width: 768px) {
    .next-content>.row>div:nth-child(2) {
        flex-basis: min(100%, 540px);
        width: min(100%, 540px);
        max-width: 540px;
    }

    /* .music {
        padding: 54px 14px 10px;
    } */

    .music-player {
        gap: 14px;
        border-radius: 22px;
    }

    .fecha-card {
        min-height: 560px;
        background-size: 132%;
        overflow: hidden;
    }

    .fecha-contenido {
        max-width: 370px;
        padding-top: 64px;
        padding: 10px 0px 0px 0px;
    }

    .fecha-texto {
        font-size: 17px;
        margin-bottom: 10px;
    }

    .fecha-contenido h3 {
        font-size: 30px;
        margin-bottom: 2px;
    }

    .contador__numero {
        font-size: clamp(34px, 8vw, 54px);
    }

    /* .contenido-ceremonia {
        min-height: 500px;
    } */

    .contenido-ceremonia h2,
    .itinerario-contenido h2,
    .vestimenta-contenido h2,
    .mes-regalos h2,
    .recomendacion h2,
    .rsvp__header h2 {
        font-size: 31px;
    }

    .imgNov-foto {
        min-height: 600px;
        height: 600px;
    }

    .rsvp {
        width: min(100%, 520px);
    }
}

@media screen and (max-width:712px) {
    .intro-enter {
        top: 90%;
    }

    .mimgCaruoys {
        content: url(../img/nube-movil.png);
        width: 110% !important;
    }

    .vestimenta-contenido {
        padding: 0rem 1rem;
    }

    .next-content>.row>div:nth-child(2) {
        flex-basis: min(100%, 100%);
        width: min(100%, 100%);
        max-width: 100%;
    }

    .fecha {
        width: 100%;
        padding: 0 0px;
    }

    .fecha-card {
        overflow: hidden;
        min-height: 500px;
        background-size: 100%;
        background-position: center -68px;
        max-width: 100%;
        /* background-color: red; */
        background-size: 110%;
    }

    .ceremonia {
        padding: 0px 0px;
    }

    /* .contenido-ceremonia {
        min-height: 100%;
        max-width: 100%;
        margin-top: 0px;
    } */

    .mes-regalos {
        min-height: 590px;
        padding-left: 0;
        padding-right: 0;
    }

    /* .contenido-ceremonia,
    .itinerario-postal,
    .vestimenta-contenido,
    .mes-regalos-contenido,
    .recomendacion-contenido {
        max-width: 100%;
        width: min(100%, 100%);
        margin: 0;
    } */
}

@media (max-width: 540px) {
    .next-content>.row>div:nth-child(2) {
        flex-basis: 100%;
        width: 100%;
        max-width: 100%;
    }

    /* .music {
        padding: 48px 12px 8px;
    } */

    .music-player {
        gap: 12px;
        padding: 15px;
    }

    .play-btn {
        width: 40px;
    }

    .music-info h2 {
        font-size: 20px;
    }

    .music-info p {
        font-size: 15px;
    }

    .music-controls {
        gap: 4px;
        font-size: 12px;
    }

    .fecha-card {
        overflow: hidden;
        min-height: 544px;
        background-size: 146%;
        background-position: center 0px;
    }

    .fecha-sello {
        width: 92px;
        top: 18px;
        right: 8px;
    }

    .fecha-contenido {
        max-width: 335px;
        padding-top: 58px;
    }

    .fecha-texto {
        font-size: 18px;
        margin-bottom: 18px;
    }

    .fecha-contenido h3 {
        font-size: 25px;
    }


    .fecha-dia {
        gap: 5px;
        margin-bottom: 0px;
    }

    .fecha-dia span {
        font-size: 26px;
    }

    .fecha-dia strong {
        font-size: 66px;
        margin-top: -20px;
    }

    .fecha-confirmacion {
        font-size: 13px;
    }

    .contador {
        padding: 0 12px;
        margin-bottom: 0rem;
        margin-top: 0.5rem;
    }

    .ceremonia {
        padding: 24px 0px 0px;
    }

    .itinerario {
        padding: 0px 0 20px 0px;
    }

    .contador__titulo {
        font-size: 31px;
    }

    .contador__grid {
        gap: .45rem;
    }

    .contador__numero {
        font-size: 34px;
    }

    .contador__label {
        font-size: 13px;
    }

    /* .contenido-ceremonia {
        min-height: 400px;
        padding: 38px 16px;
        gap: 16px;
    } */

    .fecha {
        margin-top: 0rem;
    }

    .arco {
        width: 130px;
        margin-bottom: 0px;
    }

    .contenido-ceremonia h2,
    .itinerario-contenido h2,
    .vestimenta-contenido h2,
    .mes-regalos h2,
    .recomendacion h2,
    .rsvp__header h2 {
        font-size: 29px;
    }

    .contenido-ceremonia p {
        font-size: 18px;
    }

    .btn-confirmar,
    .btn-maps,
    .btn-mesa-regalos {
        min-width: 250px;
        height: 44px;
        font-size: 18px;
    }

    .itinerario-postal {
        min-height: 520px;
    }

    .itinerario-marco {
        width: min(90vw, 340px);
    }

    .itinerario-sello {
        width: 102px;
        top: 72px;
        right: -8px;
    }

    .itinerario-ondas {
        width: 108px;
        left: -14px;
        bottom: 88px;
    }

    .vestimenta {
        padding: 8px 12px 38px;
    }

    .vestimenta-colores {
        grid-template-columns: repeat(5, minmax(42px, 1fr));
        gap: 7px;
    }

    .color-muestra {
        width: 44px;
    }

    .vestimenta-color p {
        font-size: 14px;
    }

    .mes-regalos {
        min-height: 560px;
        padding: 28px 16px 34px;
    }

    .mes-regalos-texto {
        font-size: 19px;
        padding: 0px;
        margin: 26px 0px 24px 0px;
        max-width: 100%;
    }

    .transferencias {
        width: min(100%, 340px);
        grid-template-columns: 70px 1fr;
        padding: 20px 18px;
    }

    .imgNov-foto {
        min-height: 540px;
        height: 540px;
    }

    /* .recomendacion {
        padding: 50px 18px 36px;
    } */

    .recomendacion p {
        font-size: 18px;
    }

    .formInvi {
        padding: 18px 10px;
    }

    .rsvp {
        max-height: calc(100dvh - 36px);
        padding: 24px 18px;
    }

    .rsvp__option span {
        padding-right: 14px;
    }
}

@media (max-width: 468px) {

    /* .music {
        padding: 44px 44px 0px 35px;
    } */
    .fecha_sello_row {
        position: absolute;
        width: 85px;
        right: 0;
        top: 12px;
    }

    .music-player {
        padding: 14px 12px;
    }

    .fecha-card {
        min-height: 510px;
        background-size: 100%;
        background-size: cover;
        margin-bottom: -1rem;
    }

    .fecha-sello {
        width: 84px;
        top: 20px;
        right: -22px;
    }

    .fecha-contenido {
        max-width: 312px;
        padding-top: 56px;
    }

    .fecha-texto {
        font-size: 16px;
        margin-bottom: 5px;
    }

    .fecha-dia span {
        font-size: 24px;
    }

    .fecha-dia strong {
        font-size: 60px;
    }

    .fecha-contenido h4 {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .btn-confirmar,
    .btn-maps,
    .btn-mesa-regalos {
        min-width: 232px;
        height: 42px;
        font-size: 17px;
    }

    .fecha-confirmacion {
        font-size: 12px;
        margin-top: 5px;
    }

    .contador {
        margin-top: 0rem;
    }

    .contador__numero {
        font-size: 31px;
    }

    /* .contenido-ceremonia {
        min-height: 440px;
    } */

    .contenido-ceremonia h2,
    .itinerario-contenido h2,
    .vestimenta-contenido h2,
    .mes-regalos h2,
    .recomendacion h2,
    .rsvp__header h2 {
        font-size: 27px;
    }

    .contenido-ceremonia p {
        font-size: 17px;
    }

    .itinerario-postal {
        min-height: 500px;
    }

    .itinerario-marco {
        width: min(92vw, 318px);
    }

    .itinerario-contenido {
        padding: 0;
        margin-top: 6%;
    }

    .itinerario-lista {
        gap: 10px;
    }

    .itinerario-item time {
        font-size: 24px;
    }

    .itinerario-item p {
        font-size: 21px;
    }

    .vestimenta-colores {
        gap: 5px;
    }

    .color-muestra {
        width: 40px;
    }

    .vestimenta-color p {
        font-size: 13px;
    }

    .transferencias {
        grid-template-columns: 62px 1fr;
        gap: 12px;
    }

    .transferencias-icono {
        width: 58px;
    }

    .transferencias-datos p {
        font-size: 15px;
    }

    .imgNov-foto {
        min-height: 510px;
        height: 510px;
    }

    .recomendacion p {
        font-size: 17px;
    }

    .final-galeria {
        padding: 0 10px;
    }

    .final-carousel .splide__slide {
        width: 78vw;
        height: 285px;
    }

    .final-mensaje p {
        font-size: 22px;
    }

    .rsvp__header p {
        font-size: 22px;
    }

    .rsvp__field label,
    .rsvp__attendance legend {
        font-size: 16px;
    }

    .rsvp__option strong {
        font-size: 17px;
    }

    .rsvp__option small {
        font-size: 20px;
    }
}