/* ============================================
   BODA â€” VINO & VERDE BOTELLA
   Alejandro & SofÃ­a â€” 12 Diciembre 2026
   ============================================ */

@font-face {
    font-family: 'Dulcinea';
    src: local('Dulcinea'), local('Dulcinea Regular'), local('Dulcinea Script');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    /* Paleta Nupcial Oficial (Hansel & Stephanie) */
    --crema-suave: #f9f8f3;
    --marfil: #f9f8f3;
    --beige-calido: #ead2b8;
    --dorado: #d2a878;
    /* Dorado Cálido Elegante */
    --dorado-claro: #ead2b8;
    /* Dorado Claro */
    --dorado-oscuro: #9e7543;
    /* Dorado Oscuro para contraste sobre fondos claros */
    --azul-profundo: #2b3524;
    /* Tono oscuro elegante para textos de lectura */
    --azul-oscuro: #1f271a;
    /* Tono oscuro principal para textos sobre fondos claros */
    --azul-grisaceo: #3f4a38;
    /* Tono medio oscuro */

    /* Sincronización perfecta con las ondas SVG (wave-dividers) */
    --negro: #9ca087;
    /* Verde Salvia Oficial Photoshop #9ca087 (reemplazando verde noche) */
    --verde-deep: #9ca087;
    /* Slot 2: Verde Salvia Oficial Photoshop #9ca087 (Padres, Recepción, Dress Code, Regalo, RSVP) */
    --corte-bg: #e9c7bb;
    /* Fondo Rosa Pálido para Corte de Honor */
    --ceremonia-bg: #f9f8f3;
    /* Fondo Blanco Cálido para Ceremonia Religiosa */
    --vino-deep: #9ca087;
    /* Verde Salvia Oficial */
    --verde-suave: #ead2b8;
    /* Slot 4: Beige Dorado Cálido (Cronograma) */
    --negro-suave: #8f937a;

    /* Acentos y variables de compatibilidad */
    --vino: #9ca087;
    --vino-light: #b4b8a2;
    --verde-botella: #9ca087;
    --verde-claro: #c5c9b6;
    --crema: #f9f8f3;
    --rosa-antiguo: #e9c7bb;

    /* Tipografía */
    --font-display: 'Great Vibes', cursive;
    --font-heading: 'Cinzel', serif;
    --font-body: 'Cormorant Garamond', serif;

    --ease-elegant: cubic-bezier(0.23, 1, 0.32, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--negro);
    color: var(--marfil);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

/* â•â•â• SCROLL REVEAL (CON DESPLAZAMIENTO SUAVE PARA EL CONTENIDO INTERNO) â•â•â• */
.scroll-reveal {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 1.2s var(--ease-elegant), transform 1.2s var(--ease-elegant);
    transition-delay: var(--delay, 0s);
    will-change: opacity, transform;
}

.scroll-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* EFECTO CAPAS: Las secciones completas (junto con sus ondas SVG que ahora estÃ¡n dentro) se deslizan hacia arriba como capas */
section:not(#portada):not(#detalles-portada) {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 1.2s var(--ease-elegant), transform 1.2s var(--ease-elegant);
    will-change: opacity, transform;
}

section:not(#portada):not(#detalles-portada).is-visible {
    opacity: 1;
    transform: translateY(0);
}



/* â•â•â• LEAF PARTICLES â•â•â• */
.leaf-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
    overflow: hidden;
}

.leaf {
    position: absolute;
    top: -20px;
    width: 10px;
    height: 10px;
    background: var(--verde-botella);
    border-radius: 0 50% 50% 50%;
    opacity: 0.3;
    animation: leafFall linear infinite;
    pointer-events: none;
    transform: rotate(45deg);
}

.leaf:nth-child(odd) {
    background: var(--vino);
    opacity: 0.2;
    width: 7px;
    height: 7px;
}

.leaf:nth-child(3n) {
    background: var(--verde-claro);
    opacity: 0.15;
}

@keyframes leafFall {
    0% {
        transform: translateY(0) rotate(45deg) scale(1);
        opacity: 0.3;
    }

    50% {
        transform: translateY(50vh) rotate(225deg) translateX(30px) scale(0.8);
    }

    100% {
        transform: translateY(105vh) rotate(405deg) translateX(-20px) scale(0.5);
        opacity: 0;
    }
}

/* â•â•â• MUSIC BUTTON â•â•â• */
.music-control-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--azul-oscuro);
    border: 2px solid var(--dorado);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

.music-control-btn.fade-in {
    opacity: 1;
    visibility: visible;
}

.music-control-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(210, 168, 120, 0.4);
}

.music-control-btn svg {
    width: 20px;
    height: 20px;
    fill: var(--dorado);
    position: absolute;
    transition: opacity 0.3s;
}

.music-control-btn .icon-pause {
    opacity: 0;
}

.music-control-btn.playing .icon-play {
    opacity: 0;
}

.music-control-btn.playing .icon-pause {
    opacity: 1;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   OVERLAY â€” LUXURIOUS GLASSMORPHIC CARD (NUEVA LANDING)
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.glass-overlay {
    position: fixed;
    inset: 0;
    z-index: 20000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 1s var(--ease-elegant), visibility 1s var(--ease-elegant);
}

.glass-bg-blurred {
    position: absolute;
    inset: 0;
    background: url('assets/img/boda-desktop.webp') no-repeat center center;
    background-size: cover;
    filter: blur(20px) brightness(0.25);
    transform: scale(1.1);
    z-index: 1;
}

.glass-card {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 450px;
    background: rgba(156, 160, 135, 0.88);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(210, 168, 120, 0.3);
    border-radius: 16px;
    padding: 50px 40px;
    text-align: center;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7), inset 0 1px 1px rgba(255, 255, 255, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.glass-crown {
    font-size: 1.8rem;
    color: var(--dorado);
    margin-bottom: 12px;
    animation: goldShimmer 4s ease-in-out infinite alternate;
}

@keyframes goldShimmer {
    0% {
        filter: drop-shadow(0 0 2px rgba(210, 168, 120, 0.4));
    }

    100% {
        filter: drop-shadow(0 0 15px rgba(210, 168, 120, 0.8));
    }
}

.glass-tag {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: var(--dorado-claro);
    margin-bottom: 20px;
}

.glass-ornament-line {
    width: 140px;
    height: 10px;
    margin-bottom: 30px;
}

.glass-guest-label {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-style: normal;
    font-weight: 500;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 14px;
}

.nombre-invitado {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(2.2rem, 7vw, 3.5rem);
    font-weight: 400;
    color: #1a1a1a;
    /* Negro elegante */
    margin-bottom: 10px;
    text-transform: none;
    /* Sin mayúsculas forazadas, más natural */
    letter-spacing: 0.03em;
    line-height: 1.25;
    /* Sin text-shadow — limpio y minimalista */
}

.glass-passes-box {
    margin-top: 20px;
    padding: 12px 25px;
    background: rgba(210, 168, 120, 0.08);
    border: 1px solid rgba(210, 168, 120, 0.18);
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.passes-label {
    font-family: var(--font-body);
    font-size: 0.65rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

.passes-number {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dorado);
}

.btn-glass-enter {
    margin-top: 20px;
    padding: 11px 36px;
    background: linear-gradient(135deg, rgba(206, 168, 118, 0.94) 0%, rgba(162, 122, 70, 0.94) 100%) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.55) !important;
    font-family: var(--font-heading);
    font-size: 0.74rem;
    letter-spacing: 4px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 40px;
    transition: all 0.35s var(--ease-elegant);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25), 0 2px 8px rgba(210, 168, 120, 0.3) !important;
    outline: none;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-glass-enter span {
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    letter-spacing: 4px;
}

.btn-glass-enter:hover {
    background: linear-gradient(135deg, rgba(220, 184, 136, 0.96) 0%, rgba(178, 136, 82, 0.96) 100%) !important;
    border-color: rgba(255, 255, 255, 0.85) !important;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.32), 0 0 14px rgba(234, 210, 184, 0.5) !important;
    transform: translateY(-2px) scale(1.02);
}

.glass-overlay.is-open {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.glass-overlay.is-closing {
    display: none !important;
}

/* â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• 
   SHARED STYLES
   â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â•  */
.sec-title {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 4.5vw, 2.2rem);
    font-weight: 500;
    color: var(--marfil);
    margin-bottom: 40px;
    letter-spacing: 5px;
    text-transform: uppercase;
    text-align: center;
    position: relative;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.sec-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 1.5px;
    background: var(--dorado-claro);
    margin: 12px auto 0;
}

.sec-title--light {
    color: var(--marfil);
}

.sec-title--light::after {
    background: var(--dorado-claro);
    opacity: 0.8;
}

.sec-title--cream {
    color: #3d2a23;
}

.sec-title--cream::after {
    background: var(--dorado-oscuro);
}

.sec-title--dark {
    color: #242f21;
}

.sec-title--dark::after {
    background: #242f21;
}

.btn-elegant {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--dorado);
    text-decoration: none;
    border: 1px solid rgba(210, 168, 120, 0.4);
    border-radius: 40px;
    padding: 12px 28px;
    transition: all 0.4s ease;
    background: transparent;
    cursor: pointer;
    z-index: 2;
}

.btn-elegant:hover {
    border-color: var(--dorado);
    background: rgba(210, 168, 120, 0.12);
    transform: translateY(-2px);
}

.btn-elegant--sm {
    font-size: 0.75rem;
    padding: 8px 20px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--negro);
    text-decoration: none;
    background: var(--dorado);
    border: 1px solid var(--dorado-oscuro);
    border-radius: 40px;
    padding: 16px 40px;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(210, 168, 120, 0.3);
}

.btn-primary:hover {
    background: var(--dorado-oscuro);
    color: var(--marfil);
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(158, 117, 67, 0.4);
}

/* â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• 
   WAVE DIVIDERS
    â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â•  */
.wave-divider {
    position: absolute;
    top: 1px;
    left: 0;
    width: 100%;
    transform: translateY(-100%);
    line-height: 0;
    z-index: 5;
    background: transparent;
    pointer-events: none;
}

.wave-divider svg {
    display: block;
    width: 100%;
    height: clamp(65px, 7vw, 100px);
}

@media (max-width: 600px) {
    .wave-divider svg {
        height: 55px;
    }
}

.hero.hero--luxury {
    position: relative;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #182215;
    overflow: hidden;
    z-index: 10;
}

.hero__photo-frame {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 1;
}

.hero__picture {
    width: 100%;
    height: 100%;
    display: block;
}

.hero__bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    filter: none !important;
    transition: transform 0.2s ease-out;
}

.hero__overlay {
    display: none !important;
}

.hero__content-wrap {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: clamp(60px, 8vh, 90px) 20px clamp(70px, 10vh, 100px);
    max-width: 880px;
    margin: 0 auto;
    box-sizing: border-box;
}

.hero__eyebrow {
    font-family: var(--font-heading);
    font-size: clamp(0.72rem, 1.8vw, 0.85rem);
    font-weight: 600;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: var(--dorado-claro);
    margin-bottom: 15px;
    opacity: 0.95;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.hero__names {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-bottom: 18px;
}

.hero__person {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero__firstname {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 8.5vw, 5.5rem);
    font-weight: 400;
    color: #ffffff;
    line-height: 1.15;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8), 0 1px 3px rgba(0, 0, 0, 0.9);
}

.hero__surname {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(0.72rem, 2vw, 0.95rem);
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #ead2b8;
    margin-top: 3px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

.hero__ampersand {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.2rem);
    color: #ead2b8;
    margin: -6px 0;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}

.hero__meta-badge {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 40px;
    padding: 10px 28px;
    margin: 15px 0 18px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.hero__meta-date {
    font-family: var(--font-heading);
    font-size: clamp(0.75rem, 2vw, 0.9rem);
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #ffffff;
    font-weight: 600;
    margin: 0;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.hero__meta-place {
    font-family: var(--font-body);
    font-size: clamp(0.85rem, 2vw, 0.95rem);
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #ead2b8;
    margin-top: 3px;
    font-weight: 600;
}

.hero__quote {
    font-family: var(--font-body);
    font-size: clamp(0.95rem, 2.2vw, 1.1rem);
    color: rgba(255, 255, 255, 0.92);
    font-style: italic;
    line-height: 1.7;
    max-width: 520px;
    margin: 0 auto 24px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.hero__scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 5px;
}

.scroll-mouse {
    width: 20px;
    height: 32px;
    border: 2px solid rgba(255, 255, 255, 0.65);
    border-radius: 12px;
    position: relative;
}

.scroll-dot {
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 7px;
    background: #ead2b8;
    border-radius: 2px;
    animation: scrollDotAnim 2s ease-in-out infinite;
}

@keyframes scrollDotAnim {
    0% { transform: translate(-50%, 0); opacity: 1; }
    80% { transform: translate(-50%, 12px); opacity: 0; }
    100% { transform: translate(-50%, 0); opacity: 0; }
}

.scroll-text {
    font-family: var(--font-heading);
    font-size: 0.65rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
}

/* ONDA DE TRANSICIÓN INFERIOR */
.hero__curve {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 4;
}

.hero__curve svg {
    display: block;
    width: 100%;
    height: clamp(45px, 6vw, 75px);
}

/* ANIMACIONES ACTIVADAS AL INGRESAR */
.hero.hero-active .hero__eyebrow {
    animation: fadeUp 1s ease-out 0.2s forwards;
}

.hero.hero-active .hero__person--groom {
    animation: nameLeft 1.2s ease-out 0.4s forwards;
}

.hero.hero-active .hero__ampersand {
    animation: fadeScale 0.8s ease-out 0.8s forwards;
}

.hero.hero-active .hero__person--bride {
    animation: nameRight 1.2s ease-out 0.6s forwards;
}

.hero.hero-active .hero__meta-badge {
    animation: fadeUp 1.2s ease-out 1s forwards;
}

.hero.hero-active .hero__quote {
    animation: fadeUp 1.2s ease-out 1.3s forwards;
}

.hero.hero-active .hero__scroll-indicator {
    animation: fadeUp 1.2s ease-out 1.6s forwards;
}

@media (max-width: 768px) {
    .hero__content-wrap {
        padding: clamp(50px, 8vh, 80px) 16px clamp(60px, 10vh, 90px);
    }

    .glass-card {
        padding: 35px 24px;
        width: 88%;
        max-width: 320px;
    }

    .nombre-invitado {
        font-size: clamp(1.3rem, 5.5vw, 2rem) !important;
    }

    .btn-glass-enter {
        margin-top: 30px;
        padding: 14px 35px;
        font-size: 0.75rem;
    }
}

.countdown-section {
    background: var(--negro);
    padding: 80px 20px 140px;
    text-align: center;
    position: relative;
}

.countdown-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(210, 168, 120, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.contador-label-top {
    font-family: var(--font-heading);
    font-size: clamp(0.75rem, 1.8vw, 0.95rem);
    letter-spacing: 8px;
    text-transform: uppercase;
    color: var(--dorado-claro);
    opacity: 0.9;
    margin-bottom: 30px;
    text-align: center;
}

.contador-numbers {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(8px, 3.5vw, 40px);
    flex-wrap: nowrap;
    width: 100%;
    max-width: 650px;
    margin: 0 auto;
    padding: 0 10px;
    box-sizing: border-box;
    position: relative;
    z-index: 6;
}

.cnt-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
}

.cnt-num {
    font-family: var(--font-body);
    font-size: clamp(2.4rem, 8.5vw, 5rem);
    font-weight: 300;
    line-height: 1;
    color: var(--marfil);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.cnt-unit {
    font-family: var(--font-heading);
    font-size: clamp(0.55rem, 1.3vw, 0.72rem);
    letter-spacing: clamp(1.5px, 0.5vw, 4px);
    text-transform: uppercase;
    color: var(--dorado-claro);
    opacity: 0.85;
    margin-top: 10px;
    white-space: nowrap;
}

.cnt-sep {
    font-family: var(--font-body);
    font-size: clamp(1.6rem, 5vw, 3.5rem);
    font-weight: 300;
    color: var(--dorado-claro);
    opacity: 0.55;
    margin-top: -18px;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   3. PADRES â€” FONDO VERDE BOTELLA
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.padres-sec {
    background: var(--verde-deep);
    padding: 70px 20px 150px;
    text-align: center;
    position: relative;
    overflow: visible;
}

.padres-sec::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(156, 160, 135, 0.18) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 60%, rgba(234, 210, 184, 0.12) 0%, transparent 50%);
    pointer-events: none;
}

.padres-sec .sec-title--light {
    color: var(--marfil);
}

.padres-sec .sec-title--light::after {
    background: var(--dorado);
    opacity: 0.8;
}

.padres-intro {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 400;
    font-style: normal;
    letter-spacing: 2px;
    color: var(--marfil);
    margin-top: -25px;
    margin-bottom: 45px;
    line-height: 1.8;
}

.padres-grid {
    display: flex;
    justify-content: center;
    gap: 35px;
    max-width: 750px;
    margin: 0 auto;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.padre-card {
    flex: 1;
    min-width: 260px;
    max-width: 340px;
    background: rgba(255, 253, 248, 0.94);
    border: 1px solid rgba(210, 168, 120, 0.4);
    border-radius: 90px 25px 90px 25px;
    padding: 40px 25px;
    text-align: center;
    transition: all 0.5s var(--ease-elegant);
    backdrop-filter: blur(6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.padre-card:hover {
    border-color: var(--dorado);
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
}

.padre-card__icon {
    width: 65px;
    height: 65px;
    margin: 0 auto 15px;
}

.padre-card__role {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #8f6a3d;
    margin-bottom: 15px;
}

.padre-card__divider {
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #d2a878, transparent);
    margin: 0 auto 15px;
}

.padre-card__name {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    color: #2b3524;
    line-height: 1.5;
}

.padre-card__amp {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: #8f6a3d;
    display: block;
    margin: 4px 0;
}

@media (max-width: 600px) {
    .padres-grid {
        flex-direction: column;
        align-items: center;
    }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   4. CORTE DE HONOR â€” FONDO VINO
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.corte-sec {
    background: var(--corte-bg);
    padding: 70px 20px 150px;
    text-align: center;
    position: relative;
    overflow: visible;
}

.corte-sec::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(156, 160, 135, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.corte-sub {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--rosa-antiguo);
    margin-top: -25px;
    margin-bottom: 45px;
}

.corte-cards {
    display: flex;
    justify-content: center;
    gap: 25px;
    max-width: 850px;
    margin: 0 auto;
    flex-wrap: wrap;
    align-items: stretch;
    position: relative;
    z-index: 2;
}

.corte-card {
    position: relative;
    width: 260px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 90px 25px 90px 25px;
    padding: 50px 20px 30px;
    text-align: center;
    transition: all 0.5s var(--ease-elegant);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: none !important;
}

.corte-card:hover {
    border-color: rgba(210, 168, 120, 0.4);
    transform: translateY(-5px);
    box-shadow: none !important;
}

.corte-card--featured {
    transform: none !important;
    border-color: inherit;
    z-index: 1;
}

.corte-card--featured:hover {
    transform: translateY(-5px) !important;
}

.corte-card__badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--dorado), var(--dorado-claro));
    color: var(--negro);
    font-family: var(--font-heading);
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 5px 18px;
    border-radius: 20px;
    box-shadow: none;
}

.corte-card__lottie {
    width: 55px;
    height: 55px;
    margin: 0 auto 10px;
}

.corte-card__tipo {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.55rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--dorado-claro);
    margin-bottom: 10px;
}

.corte-card__nombre {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 1.5px;
    color: var(--crema);
    line-height: 1.4;
}

.corte-card__y {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--rosa-antiguo);
    display: block;
    margin: 2px 0;
}

.thanks-note {
    font-family: var(--font-heading);
    font-weight: 400;
    font-style: normal;
    font-size: 0.72rem;
    letter-spacing: 1.5px;
    color: rgba(210, 168, 120, 0.7);
    margin-top: 10px;
    line-height: 1.6;
}

@media (max-width: 780px) {
    .corte-cards {
        flex-direction: column;
        align-items: center;
    }

    .corte-card {
        width: 85%;
        max-width: 300px;
    }

    .corte-card--featured {
        transform: none;
    }

    .corte-card--featured:hover {
        transform: translateY(-8px);
    }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   5. CEREMONIA & RECEPCION (SECCIONES INDEPENDIENTES)
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.ceremony-sec {
    background: var(--ceremonia-bg);
    padding: 90px 20px 150px;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.recepcion-sec {
    background: var(--verde-deep);
    padding: 90px 20px 150px;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.recepcion-sec {
    background: var(--verde-deep);
}

.ceremony-sec::before,
.recepcion-sec::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(156, 160, 135, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.ceremony-card__lottie {
    width: 140px;
    height: 140px;
    margin: 0 auto 20px;
}

#lottie-recepcion svg path,
#lottie-recepcion svg g,
#lottie-recepcion svg polygon {
    fill: #ffffff !important;
    stroke: #ffffff !important;
}

.ceremony-card__tag {
    display: block;
    font-family: var(--font-body);
    font-size: 0.8rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--dorado);
    margin-bottom: 12px;
}

.ceremony-card__venue {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 5vw, 2.5rem);
    font-weight: 400;
    color: var(--marfil);
    margin-bottom: 15px;
}

.ceremony-card__time {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--dorado-claro);
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.ceremony-card__addr {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--rosa-antiguo);
    margin-bottom: 30px;
}

.recepcion-time-luxe {
    font-family: var(--font-heading);
    font-size: clamp(1.1rem, 3.5vw, 1.4rem);
    color: var(--dorado-claro);
    letter-spacing: 3px;
    margin-bottom: 12px;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   6. CRONOGRAMA â€” FONDO VERDE SUAVE
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.cronograma-sec {
    background: var(--verde-suave);
    padding: 80px 20px 140px;
    position: relative;
}

.cronograma-sec .sec-title--dark {
    color: var(--dorado-oscuro);
}

.cronograma-sec .sec-title--dark::after {
    background: var(--dorado);
}

.vine-timeline-wrapper {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    min-height: 1400px;
}

.vine-svg {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

#vine-progress {
    stroke-dasharray: 3000;
    stroke-dashoffset: 3000;
    transition: stroke-dashoffset 0.3s ease;
}

.vine-event {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 100px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s var(--ease-elegant);
}

.vine-event.active {
    opacity: 1;
    transform: translateY(0);
}

.event-right {
    flex-direction: row;
    padding-left: 55%;
}

.event-left {
    flex-direction: row-reverse;
    padding-right: 55%;
}

.grape-marker {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.grape {
    width: 18px;
    height: 18px;
    background: var(--dorado);
    border-radius: 50%;
    border: 2px solid var(--dorado-claro);
    transition: all 0.5s ease;
}

.vine-event.active .grape {
    background: var(--dorado-claro);
    box-shadow: 0 0 15px rgba(210, 168, 120, 0.6);
}

.event-card {
    text-align: left;
}

.event-left .event-card {
    text-align: right;
}

.event-lottie {
    width: 90px;
    height: 90px;
    margin-bottom: 10px;
}

.event-left .event-lottie {
    margin-left: auto;
}

.event-time {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #7a5426;
    text-transform: uppercase;
}

.event-name {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: #232c1e;
    margin-top: 4px;
    letter-spacing: 1px;
}

@media (max-width: 720px) {
    .vine-timeline-wrapper {
        min-height: 1200px;
        max-width: 100%;
        width: 100%;
        padding: 0;
        margin: 0 auto;
    }

    .vine-svg {
        left: 20%;
    }

    .event-right,
    .event-left {
        padding-left: calc(20% - 15px);
        padding-right: 20px;
        flex-direction: row;
        width: 100%;
        box-sizing: border-box;
        gap: 16px;
    }

    .event-left .event-card,
    .event-right .event-card {
        text-align: left;
    }

    .event-left .event-lottie,
    .event-right .event-lottie {
        margin-left: 0;
        margin-right: auto;
    }

    .event-lottie {
        width: 85px;
        height: 85px;
    }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   7. GALERÃA â€” COVERFLOW
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.gallery-sec {
    background: var(--negro);
    padding: 80px 20px;
    text-align: center;
    overflow: hidden;
}

.coverflow-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
}

.coverflow-arrow {
    background: rgba(0, 0, 0, 0.2);
    border: 1.5px solid var(--marfil);
    color: var(--marfil);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.8rem;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
}

.coverflow-arrow:hover {
    background: var(--dorado-claro);
    color: #2b3524;
    border-color: var(--dorado-claro);
    transform: scale(1.08);
}

.coverflow-track {
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 800px;
    min-height: 400px;
    flex: 1;
    position: relative;
}

.coverflow-item {
    position: absolute;
    width: 250px;
    transition: all 0.7s var(--ease-elegant);
    cursor: pointer;
}

.cf-frame {
    border: 2px solid var(--verde-botella);
    padding: 6px;
    background: var(--negro-suave);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
    border-radius: 110px 110px 5px 5px;
}

.cf-frame::before {
    content: '';
    position: absolute;
    inset: 3px;
    border: 1px solid rgba(13, 27, 53, 0.5);
    pointer-events: none;
    z-index: 2;
    border-radius: 107px 107px 3px 3px;
}

.cf-frame img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
}

.cf-caption {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--dorado);
    margin-top: 12px;
}

@media (max-width: 600px) {
    .coverflow-item {
        width: 200px;
    }

    .coverflow-track {
        min-height: 330px;
    }
}

/* ═══════════════════════════════════════
   LIGHTBOX MODAL GALERÍA
   ═══════════════════════════════════════ */
.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.gallery-lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

.gallery-lightbox__overlay {
    position: absolute;
    inset: 0;
    background: rgba(22, 24, 19, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    cursor: pointer;
}

.gallery-lightbox__content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 90vw;
    max-height: 88vh;
}

.gallery-lightbox__img {
    max-width: 90vw;
    max-height: 85vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    border: 1.5px solid rgba(210, 168, 120, 0.45);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 25px rgba(210, 168, 120, 0.15);
    transform: scale(0.94);
    transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.3, 1);
}

.gallery-lightbox.is-open .gallery-lightbox__img {
    transform: scale(1);
}

.gallery-lightbox__close {
    position: fixed;
    top: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #9ca087;
    border: 1.5px solid var(--dorado);
    color: var(--dorado);
    font-size: 2.2rem;
    font-weight: 300;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7), 0 0 15px rgba(210, 168, 120, 0.2);
    transition: all 0.3s var(--ease-elegant);
    outline: none;
    z-index: 100000;
}

.gallery-lightbox__close:hover {
    background: var(--dorado);
    color: var(--negro);
    transform: scale(1.1) rotate(90deg);
}

@media (max-width: 600px) {
    .gallery-lightbox__close {
        top: 16px;
        right: 16px;
        width: 42px;
        height: 42px;
        font-size: 1.8rem;
    }

    .gallery-lightbox__img {
        max-width: 94vw;
        max-height: 80vh;
    }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   8. DRESS CODE
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.dress-sec {
    background: var(--verde-deep);
    padding: 70px 20px 25px;
    text-align: center;
    position: relative;
    overflow: visible;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

.dress-sec::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(156, 160, 135, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.editorial-frame {
    max-width: 600px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid rgba(210, 168, 120, 0.25);
    padding: 60px 40px;
    background: rgba(10, 8, 5, 0.4);
    backdrop-filter: blur(8px);
    position: relative;
    border-radius: 16px;
    box-sizing: border-box;
}

.label-sutil {
    display: block;
    font-family: var(--font-body);
    font-size: 0.65rem;
    letter-spacing: 5px;
    color: var(--dorado);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.dress-icon-sello {
    width: 100px;
    height: auto;
    margin: 20px auto;
    filter: drop-shadow(0 2px 10px rgba(210, 168, 120, 0.3));
}

.dress-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    max-width: 480px;
    width: 100%;
    margin: 26px auto;
    position: relative;
    z-index: 2;
}

.dress-col {
    width: 100%;
    max-width: 400px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-sizing: border-box;
}

.dress-col__title {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--dorado-claro);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin: 0 0 8px 0;
    text-align: center;
    width: 100%;
}

.dress-col__text {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 1px;
    color: rgba(255, 248, 240, 0.7);
    line-height: 1.6;
    text-align: center;
    margin: 0;
    width: 100%;
}

.dress-divider {
    width: 70px;
    height: 1.5px;
    margin: 4px auto;
    align-self: center;
    flex-shrink: 0;
    background: linear-gradient(90deg, transparent, var(--dorado), transparent) !important;
    border: none;
}

.dress-quote {
    font-family: var(--font-display);
    font-size: 1.35rem;
    color: rgba(255, 248, 240, 0.4);
    text-align: center;
    position: relative;
    z-index: 2;
    margin: 22px auto 0;
    max-width: 440px;
    width: 100%;
    line-height: 1.4;
}

.dress-adults {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(158, 117, 67, 0.25);
    position: relative;
    z-index: 2;
}

.dress-adults__tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #8f622e !important;
    margin-bottom: 12px;
    padding: 5px 18px;
    border: 1.5px solid rgba(184, 134, 75, 0.5) !important;
    border-radius: 20px;
    background: rgba(210, 168, 120, 0.22) !important;
    font-weight: 700 !important;
}

.dress-adults__text {
    font-family: var(--font-body) !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px;
    color: #2b3524 !important;
    line-height: 1.6;
    font-style: italic;
    max-width: 480px;
    margin: 0 auto;
    opacity: 0.95;
}

@media (max-width: 500px) {
    .editorial-frame {
        width: 100%;
        max-width: 360px;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .dress-content {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .dress-divider {
        width: 60px;
        height: 1.5px;
        align-self: center;
        background: linear-gradient(90deg, transparent, var(--dorado), transparent) !important;
    }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   9. REGALO — SUGERENCIA DE REGALOS
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.regalo-sec {
    background: var(--verde-deep);
    padding: 25px 20px 150px;
    text-align: center;
    position: relative;
    overflow: visible;
}

.regalo-sec::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 450px;
    height: 450px;
    background: radial-gradient(ellipse, rgba(210, 168, 120, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.gift-section-inner {
    max-width: 760px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 15px;
    box-sizing: border-box;
}

.gift-headline--single {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-bottom: 25px;
    text-align: center;
    font-weight: 400 !important;
}

.gift-headline--single .gift-headline__serif {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 3.5vw, 1.8rem);
    letter-spacing: 6px;
    text-transform: uppercase;
    color: #ffffff;
    font-weight: 500;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.gift-headline--single .gift-headline__script {
    font-family: 'Dulcinea', 'Pinyon Script', 'Alex Brush', 'Great Vibes', cursive !important;
    font-size: clamp(3rem, 9vw, 4.8rem);
    color: #f7e1d8;
    font-style: normal;
    font-weight: 400 !important; /* QUITAR NEGRITA */
    line-height: 1;
    margin-top: -2px;
    text-shadow: none !important;
    display: inline-block;
    -webkit-font-smoothing: antialiased;
}

.gift-intro-box {
    max-width: 620px;
    margin: 0 auto 45px;
    text-align: center;
}

.gift-intro-p {
    font-family: var(--font-body);
    font-size: clamp(0.98rem, 2.2vw, 1.12rem);
    color: rgba(255, 255, 255, 0.95);
    font-style: italic;
    line-height: 1.8;
    margin: 0;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

/* Opciones de regalo (2 tarjetas Modelo 3) */
.gift-options {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    width: 100%;
    max-width: 740px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.gift-opt {
    flex: 1 1 260px;
    max-width: 330px;
    padding: 38px 26px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 24px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.4s var(--ease-elegant);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.08);
}

.gift-opt:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.15);
}

.gift-opt-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: all 0.35s var(--ease-elegant);
    flex-shrink: 0;
}

.gift-opt-icon svg {
    width: 28px;
    height: 28px;
    stroke: currentColor;
}

.gift-opt:hover .gift-opt-icon {
    background: rgba(247, 225, 216, 0.3);
    transform: scale(1.08);
}

.gift-opt-title {
    font-family: var(--font-body);
    font-size: 1.55rem;
    font-style: italic;
    font-weight: 500;
    color: #ffffff;
    margin: 4px 0 0;
}

.gift-opt-desc {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin: 0;
}

/* Divisor central "o" */
.gift-or-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 20px;
    flex-shrink: 0;
}

.gift-or-line {
    display: block;
    width: 1px;
    flex: 1;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.35), transparent);
    min-height: 45px;
}

.gift-or-text {
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.65);
}

@media (max-width: 680px) {
    .gift-options {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .gift-opt {
        width: 100%;
        max-width: 320px;
    }

    .gift-or-divider {
        flex-direction: row;
        padding: 5px 0;
    }

    .gift-or-line {
        width: 50px;
        height: 1px;
        min-height: auto;
        background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.35), transparent);
    }
}

/* Panel QR reveal */
.gift-qr-reveal {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-top: 6px;
}

.gift-qr-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 26px;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.gift-qr-btn svg {
    width: 16px;
    height: 16px;
}

.gift-qr-btn:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: #ffffff;
    transform: scale(1.03);
}

.gift-qr-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s ease, opacity 0.4s ease;
    width: 100%;
}

.gift-qr-panel.is-open {
    max-height: 480px;
    opacity: 1;
    margin-top: 10px;
}

.qr-frame {
    width: 160px;
    height: 160px;
    background: #ffffff;
    border-radius: 16px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.regalo-qr-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.qr-bank-details {
    margin-top: 4px;
    text-align: center;
}

.regalo-bank-name {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 3px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.regalo-acc-num {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: #f7e1d8;
    margin: 0;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.btn-qr-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #2b3524;
    background: #ffffff;
    border-radius: 30px;
    padding: 10px 22px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
    cursor: pointer;
    margin-top: 5px;
}

.btn-qr-download:hover {
    background: #f7e1d8;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.gift-closing-quote {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4.5vw, 2.6rem);
    color: #f7e1d8;
    margin-top: 45px;
    text-align: center;
    font-weight: 400;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}


/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   10. UPLOAD
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.upload-sec {
    background: #ffffff;
    padding: 85px 20px 150px;
    text-align: center;
    position: relative;
    overflow: visible;
}

.upload-sec .sec-title {
    color: #242f21 !important;
    text-shadow: none !important;
}

.upload-sec .sec-title::after {
    background: #8f6a3d !important;
}

.upload-sec .btn-elegant {
    color: #242f21;
    border-color: #8f6a3d;
    background: rgba(210, 168, 120, 0.12);
    font-weight: 600;
}

.upload-sec .btn-elegant:hover {
    background: #8f6a3d;
    color: #ffffff;
}

.upload-sec::before {
    display: none;
}

.upload-inner {
    max-width: 500px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.upload-lottie {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

.upload-text {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: #555555;
    margin-bottom: 30px;
    font-style: italic;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   11. RSVP (ESTILO MODELO 1)
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.rsvp-wrap {
    background: var(--corte-bg);
    padding: 90px 24px 140px;
    color: #222222;
    position: relative;
    overflow: visible;
    z-index: 3;
}

.rsvp-wrap::before {
    display: none;
}

.rsvp-wrap::after {
    display: none;
}

.form-container-luxe {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    padding: clamp(32px, 6vw, 44px) clamp(22px, 5vw, 36px);
    box-sizing: border-box;
    background: #ffffff;
    border: 1px solid rgba(143, 106, 61, 0.25);
    border-radius: 24px;
    box-shadow: 0 16px 45px rgba(50, 30, 20, 0.1), 0 3px 12px rgba(0, 0, 0, 0.04);
}

.rsvp-head {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 8vw, 3.6rem);
    margin-bottom: 12px;
    text-align: center;
    color: #2b3524;
    font-weight: 400;
}

.rsvp-head::after {
    content: "Confirma tu asistencia";
    display: block;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: #8f6a3d;
    font-weight: 600;
    opacity: 0.95;
    margin-top: 8px;
    font-style: normal;
}

.field {
    margin-bottom: 20px;
    text-align: left;
}

.field label {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 7px;
    padding-left: 2px;
    color: #2b3524;
    font-family: var(--font-heading);
    font-weight: 700;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    background: #fbf9f6;
    border: 1.5px solid #ded5c9;
    border-radius: 10px;
    padding: 12px 14px;
    color: #1f271a;
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 500;
    outline: none;
    box-sizing: border-box;
    transition: all 0.25s ease;
}

.field textarea {
    min-height: 80px;
    resize: vertical;
    line-height: 1.5;
}

.field input::placeholder,
.field textarea::placeholder {
    color: #948c80;
    font-style: italic;
    font-size: 0.95rem;
}

.field select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23554433' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 10px 7px;
    padding-right: 32px;
    appearance: none;
    -webkit-appearance: none;
}

.field select option {
    background: #ffffff;
    color: #1f271a;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    background: #ffffff;
    border-color: #9e7543;
    box-shadow: 0 0 0 3px rgba(158, 117, 67, 0.15);
}

.submit-luxe {
    width: 100%;
    padding: 16px 20px;
    background: linear-gradient(135deg, #d2a878 0%, #9e7543 100%);
    color: #FFFFFF;
    border: 1px solid #9e7543;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.35s var(--ease-elegant);
    font-weight: 600;
    margin-top: 15px;
    border-radius: 40px;
    box-shadow: 0 6px 20px rgba(158, 117, 67, 0.35);
}

.submit-luxe:hover {
    background: linear-gradient(135deg, #9e7543 0%, #7d5a2f 100%);
    border-color: #7d5a2f;
    color: #FFFFFF;
    box-shadow: 0 8px 25px rgba(158, 117, 67, 0.45);
    transform: translateY(-2px);
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   FOOTER
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.footer {
    background: var(--negro);
    padding: 60px 20px 80px;
    text-align: center;
    position: relative;
    overflow: visible;
}

.footer::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: radial-gradient(ellipse at 30% 100%, rgba(156, 160, 135, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 100%, rgba(156, 160, 135, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.footer__portrait-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px auto 30px;
    position: relative;
    z-index: 2;
}

.footer__portrait-frame {
    width: 150px;
    height: 200px;
    border-radius: 90px 90px 8px 8px;
    padding: 5px;
    border: 1.5px solid var(--dorado);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 25px rgba(210, 168, 120, 0.2);
    background: linear-gradient(145deg, rgba(210, 168, 120, 0.15), rgba(156, 160, 135, 0.5));
    position: relative;
    overflow: hidden;
    cursor: zoom-in;
    transition: transform 0.5s var(--ease-elegant), box-shadow 0.5s var(--ease-elegant);
}

.footer__portrait-frame::before {
    content: '';
    position: absolute;
    inset: 4px;
    border: 1px solid rgba(210, 168, 120, 0.5);
    border-radius: 86px 86px 6px 6px;
    pointer-events: none;
    z-index: 2;
}

.footer__portrait-frame:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7), 0 0 30px rgba(210, 168, 120, 0.3);
}

.footer__portrait-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 85px 85px 5px 5px;
    display: block;
    filter: brightness(0.95) contrast(1.03);
    transition: transform 0.6s var(--ease-elegant);
}

.footer__portrait-frame:hover .footer__portrait-img {
    transform: scale(1.05);
}

@media (max-width: 600px) {
    .footer__portrait-frame {
        width: 130px;
        height: 175px;
        border-radius: 80px 80px 6px 6px;
    }

    .footer__portrait-frame::before {
        border-radius: 76px 76px 4px 4px;
    }

    .footer__portrait-img {
        border-radius: 75px 75px 4px 4px;
    }
}

.footer__names {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 400;
    color: var(--marfil);
    line-height: 1.2;
    margin-top: 25px;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.footer__date {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--dorado-claro);
    margin-bottom: 8px;
}

.footer__place {
    font-family: var(--font-body);
    font-size: 0.85rem;
    letter-spacing: 3px;
    color: var(--marfil);
    opacity: 0.9;
    text-transform: uppercase;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   HERO KEYFRAMES ANIMATIONS
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes nameLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes nameRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes scrollDown {
    0% {
        top: 0;
        height: 0;
        opacity: 0;
    }

    30% {
        top: 0;
        height: 50%;
        opacity: 1;
    }

    100% {
        top: 100%;
        height: 0;
        opacity: 0;
    }
}


/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   CORRECCIONES MOVIL â€” 720px y menores
   Soluciona: layout descentrado, overflow horizontal
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

section {
    max-width: 100vw;
    box-sizing: border-box;
}

@media (max-width: 720px) {

    .countdown-section {
        padding: 50px 12px 100px;
    }

    .contador-numbers {
        gap: clamp(6px, 2.5vw, 18px);
    }

    .cnt-num {
        font-size: clamp(2rem, 9vw, 3.2rem);
    }

    .cnt-sep {
        font-size: clamp(1.4rem, 6vw, 2.2rem);
        margin-top: -10px;
    }

    .glass-card {
        width: 92%;
        max-width: 340px;
        padding: 35px 20px;
    }

    .hero__name {
        font-size: clamp(2.2rem, 9vw, 3.5rem);
    }

    .vine-timeline-wrapper {
        max-width: 100%;
        width: 100%;
        padding: 0;
    }

    .event-lottie {
        width: 85px;
        height: 85px;
    }

    .gallery-sec {
        overflow: hidden;
    }

    .coverflow-container {
        width: 100%;
        max-width: 100%;
        gap: 5px;
    }

    .coverflow-item {
        width: 170px;
    }

    .coverflow-track {
        min-height: 280px;
    }

    .padres-grid {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .padre-card {
        width: 90%;
        max-width: 300px;
        min-width: unset;
    }

    .padres-sec {
        padding: 55px 16px 85px;
    }

    .corte-sec {
        padding: 55px 16px 85px;
    }

    .ceremony-sec,
    .recepcion-sec {
        padding: 60px 16px 95px;
    }

    .cronograma-sec {
        padding: 60px 16px 85px;
    }

    .upload-sec {
        padding: 60px 16px 90px;
    }

    .corte-cards {
        flex-direction: column;
        align-items: center;
    }

    .corte-card {
        width: 88%;
        max-width: 280px;
    }

    .dress-sec {
        padding: 55px 16px 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        box-sizing: border-box;
    }

    .regalo-sec {
        padding: 20px 16px 75px !important;
    }

    .editorial-frame {
        padding: 40px 20px;
        width: 100%;
        max-width: 400px;
        margin: 0 auto !important;
        align-self: center;
        box-sizing: border-box;
    }

    .dress-content {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        gap: 15px;
    }

    .dress-col {
        width: 100%;
        text-align: center;
    }

    .dress-divider {
        width: 60px;
        height: 1.5px;
        align-self: center;
        background: linear-gradient(90deg, transparent, var(--dorado), transparent) !important;
    }

    .envelope-scene {
        height: 200px;
    }

    .envelope-container {
        width: 250px;
        height: 160px;
    }

    .env-flap {
        height: 80px;
    }

    .envelope-container.is-open .env-letter {
        transform: translateY(-110px);
    }

    .rsvp-wrap {
        padding: 80px 16px 70px;
    }

    .rsvp-wrap::after {
        top: 20px;
        left: 14px;
        right: 14px;
        bottom: 20px;
    }

    .rsvp-wrap {
        padding: 60px 20px 145px !important;
    }

    .form-container-luxe {
        width: 100% !important;
        max-width: 400px !important;
        margin: 0 auto !important;
        padding: 32px 20px 34px !important;
        box-sizing: border-box;
        border-radius: 22px !important;
    }

    .footer__names {
        font-size: clamp(2rem, 7vw, 3rem);
    }
}













/* =====================================================================
   NUEVA LANDING SOBRE FULLSCREEN (CORREGIDA - ORIENTACIÓN)
   ===================================================================== */
.envelope-landing {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--vino-deep, #9ca087);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    overflow: hidden;
}

.envelope-landing.is-open {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.envelope-landing-inner {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.envelope-images {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.env-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    object-fit: fill;
    pointer-events: none;
}

/* Visibility Control */
.env-img.active {
    display: block;
}

/* Hide all by default */
.env-mobile {
    display: none !important;
}

.env-pc {
    display: none !important;
}

/* ===== PORTRAIT (MÓVIL / VERTICAL) ===== */
@media (orientation: portrait) {
    .envelope-images {
        aspect-ratio: 9 / 16;
        width: max(100vw, calc(100vh * 9 / 16));
        height: max(100vh, calc(100vw * 16 / 9));
    }

    .env-mobile.active {
        display: block !important;
    }

    .env-pc.active {
        display: none !important;
    }

    .env-guest-zone {
        left: 16.39%;
        top: 23.6%;
        width: 69.54%;
        height: 23.8%;
    }
}

/* ===== LANDSCAPE (PC / HORIZONTAL) ===== */
@media (orientation: landscape) {
    .envelope-images {
        aspect-ratio: 16 / 9;
        width: max(100vw, calc(100vh * 16 / 9));
        height: max(100vh, calc(100vw * 9 / 16));
    }

    .env-pc.active {
        display: block !important;
    }

    .env-mobile.active {
        display: none !important;
    }

    .env-guest-zone {
        left: 35.10%;
        top: 14.2%;
        width: 30.05%;
        height: 33%;
    }
}

/* Guest Zone */
.env-guest-zone {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    opacity: 0;
    transition: opacity 0.5s ease 0.3s;
    pointer-events: none;
    overflow: hidden;
}

.env-guest-zone.visible {
    opacity: 1;
}

.env-guest-zone .env-dedicatoria {
    margin: 0 0 3px 0;
    font-family: var(--font-heading);
    font-size: clamp(0.7rem, 2.2vw, 0.85rem);
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #9e7543;
    font-weight: 600;
}

.env-guest-zone .nombre-invitado {
    margin: 0 0 4px 0;
    color: #1a1a1a;
    font-family: 'Dulcinea', 'Pinyon Script', 'Alex Brush', 'Great Vibes', cursive !important;
    font-size: clamp(2.2rem, 6.8vw, 3.2rem);
    font-weight: 400 !important;
    line-height: 1.2;
    text-shadow: none;
    white-space: nowrap !important;
    overflow: visible !important;
    display: inline-block;
    max-width: 100%;
}

/* Nombre mientras carga: fuente neutra con parpadeo suave */
.nombre-invitado.nombre-cargando {
    font-family: 'Cinzel', 'Montserrat', sans-serif !important;
    font-size: 0.95rem !important;
    letter-spacing: 3px !important;
    opacity: 0.5;
    animation: pulse-cargando 1.2s ease-in-out infinite;
}

@keyframes pulse-cargando {

    0%,
    100% {
        opacity: 0.35;
    }

    50% {
        opacity: 0.70;
    }
}

/* Botón de apertura de sobre con estados loading/ready: arranca invisible */
#btn-abrir-sobre {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s ease, transform 0.3s ease;
}

#btn-abrir-sobre.loading {
    opacity: 0;
    pointer-events: none;
}

#btn-abrir-sobre.ready {
    opacity: 1;
    pointer-events: auto;
}

/* Tipografías script: evitar faux-bold */
.script-title,
.script-accent,
.crono-subtitle {
    font-family: 'Great Vibes', cursive;
    font-weight: 400 !important;
}

/* Fondos pergamino */
.pergamino-bg {
    object-fit: fill;
}

.env-passes-clean {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 8px 0 16px;
    width: 100%;
    max-width: 250px;
}

.passes-clean-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(158, 117, 67, 0.35), transparent);
}

.env-guest-zone .pases-texto {
    margin: 0;
    color: #6a4a25 !important;
    font-family: var(--font-heading) !important;
    font-size: clamp(0.72rem, 2.2vw, 0.85rem) !important;
    font-weight: 600 !important;
    letter-spacing: 2.5px !important;
    text-transform: uppercase;
    white-space: nowrap;
}

.env-guest-zone .pases-texto #display-passes {
    color: #8c5b23;
    font-weight: 700;
}

/* Botón refinado estilo papelería de bodas */
.btn-card-enter {
    margin-top: 2px;
    padding: 10px 32px;
    background: rgba(255, 255, 255, 0.7) !important;
    color: #5a3e1b !important;
    border: 1px solid rgba(158, 117, 67, 0.45) !important;
    font-family: var(--font-heading) !important;
    font-size: 0.72rem !important;
    letter-spacing: 3px !important;
    font-weight: 600 !important;
    cursor: pointer;
    border-radius: 30px;
    transition: all 0.35s var(--ease-elegant);
    outline: none;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(143, 106, 61, 0.12);
}

.btn-card-enter span {
    color: #5a3e1b !important;
    letter-spacing: 3px;
}

.btn-card-enter:hover {
    background: rgba(210, 168, 120, 0.3) !important;
    border-color: rgba(158, 117, 67, 0.7) !important;
    color: #2b1f11 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(143, 106, 61, 0.2);
}

.env-controls {
    position: absolute;
    bottom: 16%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    pointer-events: none;
}

@media (orientation: landscape) {
    .env-controls {
        bottom: 13.5%;
    }

    .env-controls .btn-glass-enter {
        margin-top: 0;
    }
}

#btn-abrir-sobre.ready {
    opacity: 1;
    pointer-events: auto !important;
    animation: btn-abrir-pulse 2.4s infinite ease-in-out;
}

@keyframes btn-abrir-pulse {
    0%, 100% {
        box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25), 0 0 0 rgba(210, 168, 120, 0);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 10px 26px rgba(0, 0, 0, 0.32), 0 0 12px rgba(234, 210, 184, 0.45);
        transform: scale(1.02);
    }
}

/* Ajustes de contraste para Recepción (fondo verde salvia) */
.recepcion-sec .ceremony-card__tag {
    color: var(--dorado-claro) !important;
    font-weight: 700;
}

.recepcion-sec .ceremony-card__venue {
    color: var(--marfil) !important;
}

.recepcion-sec .recepcion-time-luxe {
    color: #fff2db !important;
    font-weight: 700;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.recepcion-sec .ceremony-card__addr {
    color: var(--marfil) !important;
    font-weight: 400;
    opacity: 0.95;
}

.recepcion-sec .btn-elegant {
    color: #263223 !important;
    border-color: var(--dorado) !important;
    background: var(--marfil) !important;
    font-weight: 600;
}

.recepcion-sec .btn-elegant:hover {
    background: var(--dorado) !important;
    color: #FFFFFF !important;
}

/* Dress Code Editorial Frame */
.dress-sec .editorial-frame {
    background: rgba(255, 253, 248, 0.95);
    border: 1.5px solid rgba(210, 168, 120, 0.45);
    border-radius: 20px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1) !important;
    text-align: center;
}

.dress-col__title {
    color: #38291a !important;
    font-weight: 700 !important;
    text-align: center !important;
}

.dress-col__text {
    font-family: var(--font-heading) !important;
    font-weight: 500 !important;
    color: #2b3524 !important;
    text-align: center !important;
}

.dress-col__text span {
    display: block;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.dress-quote {
    color: #6b553d !important;
    font-style: italic !important;
    opacity: 0.95;
    text-align: center !important;
}

/* Estilos y contraste de Corte de Honor sobre fondo rosa pálido */
.corte-sec .sec-title--cream {
    color: #3d2a23 !important;
}

.corte-sec .sec-title--cream::after {
    background: #8f6a3d !important;
}

.corte-sub {
    color: #4a3830 !important;
    font-style: italic;
}

.corte-card {
    background: rgba(255, 253, 248, 0.94) !important;
    border: 1px solid rgba(210, 168, 120, 0.4) !important;
    box-shadow: none !important;
}

.corte-card:hover {
    border-color: var(--dorado) !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08) !important;
}

.corte-card__tipo {
    color: #8f6a3d !important;
    font-weight: 700 !important;
}

.corte-card__nombre {
    font-family: var(--font-heading) !important;
    color: #2b3524 !important;
    font-weight: 500 !important;
}

.corte-card__y {
    color: #8f6a3d !important;
}

.thanks-note {
    font-family: var(--font-heading) !important;
    font-weight: 400 !important;
    font-style: italic !important;
    color: #6b553d !important;
}

.corte-sec::before {
    background: radial-gradient(ellipse at center, rgba(156, 160, 135, 0.15) 0%, transparent 60%) !important;
}

/* Estilos y contraste de Ceremonia Religiosa sobre fondo marfil/crema */
.ceremony-sec .ceremony-card__tag {
    color: #8f6a3d !important;
    font-weight: 700 !important;
}

.ceremony-sec .ceremony-card__venue {
    color: #242f21 !important;
    font-weight: 500 !important;
}

.ceremony-sec .ceremony-card__time {
    color: #8f6a3d !important;
    font-weight: 700 !important;
}

.ceremony-sec .ceremony-card__addr {
    color: #445041 !important;
    font-weight: 500 !important;
}

.ceremony-sec .btn-elegant {
    color: #242f21 !important;
    border-color: #8f6a3d !important;
    background: rgba(210, 168, 120, 0.15) !important;
    font-weight: 600 !important;
}

.ceremony-sec .btn-elegant:hover {
    background: #8f6a3d !important;
    color: #FFFFFF !important;
}