/* ============================================
   BODA â€” VINO & VERDE BOTELLA
   Alejandro & SofÃ­a â€” 12 Diciembre 2026
   ============================================ */

:root {
    /* Paleta principal */
    --vino: #6B0F1A;
    --vino-deep: #3D0912;
    --vino-light: #8B1A2B;
    --verde-botella: #1B4332;
    --verde-deep: #0B1F18;
    --verde-suave: #14312A;
    --verde-claro: #2D6A4F;
    --dorado: #C9A96E;
    --dorado-claro: #E2C992;
    --negro: #0A0A0A;
    --negro-suave: #141414;
    --marfil: #FFFFF0;
    --crema: #FFF8F0;
    --rosa-antiguo: #C08081;

    /* 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(--verde-botella);
    border: 2px solid var(--dorado);
    box-shadow: 0 4px 15px rgba(27, 67, 50, 0.5);
    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(201, 169, 110, 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(10, 20, 15, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(201, 169, 110, 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(201, 169, 110, 0.4));
    }

    100% {
        filter: drop-shadow(0 0 15px rgba(201, 169, 110, 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(201, 169, 110, 0.06);
    border: 1px solid rgba(201, 169, 110, 0.15);
    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: 40px;
    padding: 16px 50px;
    background: linear-gradient(135deg, var(--verde-botella) 0%, var(--verde-deep) 100%);
    border: 1px solid var(--dorado);
    color: var(--dorado);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    letter-spacing: 4px;
    font-weight: 700;
    cursor: pointer;
    border-radius: 40px;
    transition: all 0.4s var(--ease-elegant);
    box-shadow: 0 4px 15px rgba(27, 67, 50, 0.4);
    outline: none;
}

.btn-glass-enter:hover {
    background: var(--dorado);
    color: var(--negro);
    box-shadow: 0 10px 30px rgba(201, 169, 110, 0.4);
    transform: translateY(-2px);
}

.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: 400;
    color: var(--dorado);
    margin-bottom: 40px;
    letter-spacing: 5px;
    text-transform: uppercase;
    text-align: center;
    position: relative;
}

.sec-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 1px;
    background: var(--dorado);
    margin: 12px auto 0;
}

.sec-title--light {
    color: var(--crema);
}

.sec-title--light::after {
    background: var(--crema);
    opacity: 0.5;
}

.sec-title--cream {
    color: var(--dorado-claro);
}

.sec-title--dark {
    color: var(--verde-botella);
}

.sec-title--dark::after {
    background: var(--verde-botella);
}

.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(201, 169, 110, 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(201, 169, 110, 0.1);
    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: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--negro);
    text-decoration: none;
    background: linear-gradient(135deg, var(--dorado), var(--dorado-claro));
    border: none;
    border-radius: 40px;
    padding: 16px 40px;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(201, 169, 110, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(201, 169, 110, 0.4);
}

/* â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• 
   WAVE DIVIDERS
    â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â•  */
.wave-divider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transform: translateY(-99%);
    line-height: 0;
    z-index: 5;
    background: transparent;
    pointer-events: none;
}

.wave-divider svg {
    display: block;
    width: 100%;
    height: 80px;
}

@media (max-width: 600px) {
    .wave-divider svg {
        height: 50px;
    }
}

/* Permitir que las ondas que sobresalen por arriba de las secciones sean visibles (evita que se corten en lÃ­nea recta) */
.countdown-section,
.padres-sec,
.corte-sec,
.ceremony-sec,
.recepcion-sec,
.cronograma-sec,
.gallery-sec,
.dress-sec,
.regalo-sec,
.upload-sec,
.rsvp-wrap {
    overflow: visible !important;
}

/* â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• 
   1. HERO (PORTADA EDITORIAL: FOTO ARRIBA + ONDA + DETALLES ABAJO)
   â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â• â•  */
.hero {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: visible;
    background: var(--negro);
    z-index: 10;
}

/* --- FOTO SUPERIOR --- */
.hero__photo {
    position: relative;
    width: 100%;
    height: 65vh;
    overflow: visible;
}

/* Inner frame clips only the image, not the floating names */
.hero__photo-frame {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero__bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    filter: brightness(0.8) contrast(1.05);
    transform-origin: center center;
    transition: transform 0.1s ease-out;
}

.hero__photo-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(10, 10, 10, 0.1) 0%,
            rgba(10, 10, 10, 0) 30%,
            rgba(10, 10, 10, 0) 55%,
            rgba(10, 10, 10, 0.6) 85%,
            rgba(10, 10, 10, 0.95) 100%);
    pointer-events: none;
}

/* --- NOMBRES FLOTANTES SOBRE LA FOTO (PARTE INFERIOR) --- */
.hero__names-float {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    z-index: 10;
    text-align: center;
    pointer-events: none;
    padding: 0 20px;
    box-sizing: border-box;
}

.hero__label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 300;
    letter-spacing: 0.5em;
    text-transform: uppercase;
    color: var(--dorado-claro);
    margin-bottom: 10px;
    opacity: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.hero__names {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.hero__name {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 10vw, 6.5rem);
    font-weight: 400;
    line-height: 1.3;
    padding: 0.1em 0.2em;
    margin: -0.15em 0;
    background: linear-gradient(135deg, #c5a059 0%, #fef1c9 50%, #c5a059 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.7));
    opacity: 0;
}

.hero__ampersand {
    font-family: var(--font-display);
    font-size: clamp(2rem, 6vw, 3.5rem);
    color: var(--dorado-claro);
    opacity: 0;
    margin: -5px 0;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.6);
}

/* --- ONDA CURVA DE TRANSICIÃ“N --- */
.hero__curve {
    position: relative;
    width: 100%;
    margin-top: -120px;
    line-height: 0;
    z-index: 5;
}

.hero__curve svg {
    display: block;
    width: 100%;
    height: 120px;
}

/* --- DETALLES DE PORTADA (SECCIÃ“N APARTE) --- */
.hero-details-section {
    background: var(--negro);
    width: 100%;
    text-align: center;
    padding: 120px 30px 60px;
    position: relative;
    z-index: 6;
    opacity: 0;
    transition: opacity 1s var(--ease-elegant);
}

.hero-details-section.details-active {
    opacity: 1;
}

.hero-details__badge {
    display: inline-block;
    padding: 25px 35px;
    border: 1px solid rgba(201, 169, 110, 0.25);
    background: rgba(27, 67, 50, 0.15);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    margin-bottom: 25px;
    border-radius: 8px;
    opacity: 0;
}

.hero-details__date {
    font-family: var(--font-heading);
    font-size: clamp(0.95rem, 3vw, 1.25rem);
    font-weight: 400;
    letter-spacing: 4px;
    color: var(--dorado);
}

.hero-details__time {
    font-family: var(--font-heading);
    font-size: clamp(0.8rem, 2vw, 0.95rem);
    color: var(--dorado-claro);
    letter-spacing: 3px;
    margin-top: 8px;
}

.hero-details__place {
    font-family: var(--font-body);
    font-size: 0.9rem;
    letter-spacing: 2px;
    color: var(--rosa-antiguo);
    text-transform: uppercase;
    margin-top: 10px;
}

.hero-details__quote {
    font-family: var(--font-body);
    font-style: italic;
    font-size: clamp(0.95rem, 2.5vw, 1.1rem);
    color: rgba(255, 248, 240, 0.6);
    margin-top: 15px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    opacity: 0;
}

/* Scroll Line Indicator */
.hero-details__scroll-indicator {
    margin-top: 35px;
    display: inline-block;
    width: 1px;
    height: 45px;
    background: rgba(201, 169, 110, 0.2);
    position: relative;
    overflow: hidden;
    opacity: 0;
}

.scroll-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 15px;
    background: var(--dorado);
}

/* ANIMACIONES ACTIVADAS ÃšNICAMENTE AL ENTRAR */
.hero.hero-active .hero__label {
    animation: fadeUp 1s ease-out 0.2s forwards;
}

.hero.hero-active .hero__name--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__name--bride {
    animation: nameRight 1.2s ease-out 0.6s forwards;
}

.hero-details-section.details-active .hero-details__badge {
    animation: fadeUp 1.2s ease-out 1s forwards;
}

.hero-details-section.details-active .hero-details__quote {
    animation: fadeUp 1.2s ease-out 1.4s forwards;
}

.hero-details-section.details-active .hero-details__scroll-indicator {
    animation: fadeUp 1.2s ease-out 1.8s forwards;
}

.hero-details__scroll-indicator .scroll-line {
    animation: scrollDown 2.2s ease-in-out infinite;
}

/* RESPONSIVE HERO */
@media (max-width: 768px) {
    .hero__photo {
        height: 55vh;
    }

    .hero__names-float {
        bottom: 20px;
    }

    .hero__photo {
        height: 55vh;
    }

    .hero__curve {
        margin-top: -80px;
    }

    .hero__curve svg {
        height: 80px;
    }

    .hero-details-section {
        padding: 90px 20px 50px;
    }

    .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;
    text-align: center;
    position: relative;
}

.countdown-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(27, 67, 50, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.copas-row {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.copa-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.copa-wrapper {
    position: relative;
    width: 100px;
    height: 160px;
}

.copa-svg {
    width: 100%;
    height: 100%;
}

.wine-fill {
    transition: y 1s ease, height 1s ease;
}

.copa-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--dorado);
    margin-top: 15px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    display: block;
}

.copa-label {
    font-family: var(--font-body);
    font-size: 0.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--marfil);
    margin-top: 4px;
    opacity: 0.8;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   3. PADRES â€” FONDO VERDE BOTELLA
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.padres-sec {
    background: var(--verde-deep);
    padding: 70px 20px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.padres-sec::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(27, 67, 50, 0.3) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 60%, rgba(45, 106, 79, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.padres-intro {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-style: italic;
    color: rgba(255, 248, 240, 0.6);
    margin-top: -25px;
    margin-bottom: 45px;
}

.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, 255, 255, 0.04);
    border: 1px solid rgba(201, 169, 110, 0.2);
    border-radius: 90px 25px 90px 25px;
    padding: 40px 25px;
    text-align: center;
    transition: all 0.5s var(--ease-elegant);
    backdrop-filter: blur(6px);
}

.padre-card:hover {
    border-color: rgba(201, 169, 110, 0.5);
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), 0 0 40px rgba(27, 67, 50, 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.6rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--dorado);
    margin-bottom: 15px;
}

.padre-card__divider {
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--dorado), transparent);
    margin: 0 auto 15px;
}

.padre-card__name {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--crema);
    line-height: 1.4;
}

.padre-card__amp {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--dorado);
    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(--vino-deep);
    padding: 70px 20px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.corte-sec::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(107, 15, 26, 0.2) 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;
    position: relative;
    z-index: 2;
}

.corte-card {
    position: relative;
    width: 250px;
    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);
}

.corte-card:hover {
    border-color: rgba(201, 169, 110, 0.4);
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.corte-card--featured {
    transform: scale(1.06);
    border-color: rgba(201, 169, 110, 0.3);
    z-index: 2;
}

.corte-card--featured:hover {
    transform: scale(1.06) translateY(-8px);
}

.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: 0 4px 12px rgba(201, 169, 110, 0.3);
}

.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-body);
    font-size: 1rem;
    color: var(--crema);
    line-height: 1.3;
}

.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-body);
    font-style: italic;
    font-size: 0.8rem;
    color: rgba(201, 169, 110, 0.7);
    margin-top: 10px;
}

@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,
.recepcion-sec {
    background: var(--negro);
    padding: 90px 20px;
    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(107, 15, 26, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.ceremony-card__lottie {
    width: 140px;
    height: 140px;
    margin: 0 auto 20px;
}

.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;
    position: relative;
}

.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(--vino-deep);
    border-radius: 50%;
    border: 2px solid var(--verde-claro);
    transition: all 0.5s ease;
}

.vine-event.active .grape {
    background: var(--verde-claro);
    box-shadow: 0 0 15px rgba(45, 106, 79, 0.5);
}

.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.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--dorado);
    text-transform: uppercase;
}

.event-name {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 400;
    color: var(--crema);
    margin-top: 4px;
    letter-spacing: 1px;
}

@media (max-width: 600px) {
    .vine-timeline-wrapper {
        min-height: 1200px;
    }

    .event-right,
    .event-left {
        padding-left: 55%;
        padding-right: 0;
        flex-direction: row;
    }

    .event-left .event-card {
        text-align: left;
    }

    .event-left .event-lottie {
        margin-left: 0;
    }

    .event-lottie {
        width: 100px;
        height: 100px;
    }

    .vine-svg {
        left: 25%;
    }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   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: none;
    border: 2px solid var(--dorado);
    color: var(--dorado);
    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);
    color: var(--negro);
}

.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(27, 67, 50, 0.4);
    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;
    }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   8. DRESS CODE
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.dress-sec {
    background: var(--vino-deep);
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dress-sec::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(107, 15, 26, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.editorial-frame {
    max-width: 600px;
    width: 100%;
    border: 1px solid rgba(201, 169, 110, 0.25);
    padding: 60px 40px;
    background: rgba(10, 8, 5, 0.4);
    backdrop-filter: blur(8px);
    position: relative;
    border-radius: 16px;
}

.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(201, 169, 110, 0.3));
}

.dress-content {
    display: flex;
    gap: 30px;
    max-width: 500px;
    margin: 30px auto;
    align-items: flex-start;
    position: relative;
    z-index: 2;
}

.dress-col {
    flex: 1;
    text-align: center;
}

.dress-col__title {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: var(--dorado-claro);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.dress-col__text {
    font-family: var(--font-body);
    font-size: 1rem;
    color: rgba(255, 248, 240, 0.7);
    line-height: 1.6;
}

.dress-divider {
    width: 1px;
    height: 80px;
    align-self: center;
    flex-shrink: 0;
    background: linear-gradient(180deg, transparent, var(--dorado), transparent);
}

.dress-quote {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: rgba(255, 248, 240, 0.4);
    position: relative;
    z-index: 2;
}

@media (max-width: 500px) {
    .dress-content {
        flex-direction: column;
    }

    .dress-divider {
        width: 60px;
        height: 1px;
        align-self: center;
    }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   9. REGALO â€” INTERACTIVE ENVELOPE (CORREGIDO)
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.regalo-sec {
    background: var(--verde-deep);
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.regalo-sec::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(45, 106, 79, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.regalo-intro {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-style: italic;
    color: rgba(255, 248, 240, 0.6);
    margin-bottom: 40px;
}

.envelope-scene {
    perspective: 1000px;
    width: 100%;
    max-width: 320px;
    height: 220px;
    margin: 40px auto 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 5;
}

.envelope-container {
    position: relative;
    width: 280px;
    height: 180px;
    transform-style: preserve-3d;
    cursor: pointer;
    transition: transform 0.5s var(--ease-elegant);
}

.env-back {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--verde-deep) 0%, #102e21 100%);
    border: 1.5px solid rgba(201, 169, 110, 0.3);
    border-radius: 6px;
    z-index: 1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.env-letter {
    position: absolute;
    bottom: 5px;
    left: 12px;
    right: 12px;
    height: 160px;
    background: linear-gradient(150deg, #163e2d 0%, var(--verde-deep) 100%);
    border: 1px solid rgba(201, 169, 110, 0.25);
    border-radius: 4px;
    padding: 15px 10px;
    z-index: 2;
    /* Oculto detrÃ¡s del cover frontal */
    transform: translateY(0);
    opacity: 0;
    /* Completamente invisible al estar cerrado */
    pointer-events: none;
    transition: transform 0.6s ease-in-out, opacity 0.4s ease-in-out, z-index 0s step-start;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.env-qr-img {
    width: 75px;
    height: 75px;
    border: 1px solid var(--dorado);
    background: white;
    padding: 2px;
    border-radius: 3px;
}

.env-letter-title {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: var(--dorado-claro);
}

.env-letter-caption {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--crema);
    opacity: 0.8;
}

.env-front {
    position: absolute;
    inset: 0;
    background: linear-gradient(150deg, #1b4332 0%, var(--verde-deep) 100%);
    border: 1.5px solid rgba(201, 169, 110, 0.35);
    border-top: none;
    border-radius: 0 0 6px 6px;
    z-index: 3;
    /* Cubre los elementos de adentro */
    clip-path: polygon(0 35%, 50% 100%, 100% 35%, 100% 100%, 0 100%);
}

.env-front::after {
    content: "A & S";
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: radial-gradient(circle, #8B1A2B 30%, #4E0A12 100%);
    border: 2px solid var(--dorado);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 0.55rem;
    color: var(--dorado);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.env-flap {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 90px;
    background: linear-gradient(180deg, #1b4332 0%, #112d21 100%);
    border: 1.5px solid rgba(201, 169, 110, 0.3);
    border-bottom: none;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    transform-origin: top center;
    z-index: 4;
    /* Queda sobre el letter y el front inicialmente */
    /* Al cerrar: espera a que baje la carta (delay 0.4s) y luego cierra la solapa */
    transition: transform 0.4s ease-in-out 0.4s, z-index 0s step-end 0.4s;
}

/* OPEN STATES */
.envelope-container.is-open .env-flap {
    transform: rotateX(180deg);
    z-index: 1;
    /* Pasa por detrÃ¡s */
    /* Al abrir: abre inmediatamente la solapa, y a la mitad del giro baja su z-index */
    transition: transform 0.4s ease-in-out, z-index 0s step-end 0.2s;
}

.envelope-container.is-open .env-letter {
    transform: translateY(-130px);
    opacity: 1;
    /* Se hace visible */
    pointer-events: auto;
    z-index: 5;
    /* Pasa por delante de la solapa frontal */
    /* Al abrir: espera a que abra la solapa (delay 0.3s) y sube la carta con z-index alto */
    transition: transform 0.6s ease-in-out 0.3s, opacity 0.4s ease-in-out 0.3s, z-index 0s step-end 0.3s;
}

.envelope-hint {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--dorado);
    opacity: 0.7;
    animation: hintPulse 2s ease-in-out infinite;
}

@keyframes hintPulse {

    0%,
    100% {
        opacity: 0.7;
    }

    50% {
        opacity: 1;
    }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   10. UPLOAD
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.upload-sec {
    background: var(--negro);
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.upload-sec::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(27, 67, 50, 0.06) 0%, transparent 70%);
    pointer-events: 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: var(--rosa-antiguo);
    margin-bottom: 30px;
    font-style: italic;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   11. RSVP (ESTILO MODELO 1)
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.rsvp-wrap {
    background:
        radial-gradient(ellipse at 50% 0%, rgba(201, 169, 110, 0.08) 0%, transparent 50%),
        linear-gradient(180deg, var(--vino-deep) 0%, #200609 60%, var(--negro) 100%);
    padding: 120px 24px 100px;
    color: var(--marfil);
    position: relative;
    overflow: hidden;
    z-index: 3;
}

.rsvp-wrap::after {
    content: "";
    position: absolute;
    top: 40px;
    left: 40px;
    right: 40px;
    bottom: 40px;
    border: 1px solid rgba(201, 169, 110, 0.12);
    pointer-events: none;
    border-radius: 12px;
}

.form-container-luxe {
    max-width: 420px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.rsvp-head {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 10vw, 3.8rem);
    margin-bottom: 15px;
    text-align: center;
    color: white;
    font-weight: 100;
}

.rsvp-head::after {
    content: "Confirma tu asistencia";
    display: block;
    font-family: var(--font-heading);
    font-size: 0.65rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: rgba(201, 169, 110, 0.65);
    margin-top: 10px;
    font-style: normal;
}

.field {
    margin-bottom: 35px;
    border-bottom: 1px solid rgba(201, 169, 110, 0.2);
    transition: border-color 0.3s ease;
    padding-bottom: 5px;
}

.field label {
    display: block;
    font-size: 0.6rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: rgba(201, 169, 110, 0.7);
    font-family: var(--font-heading);
}

.field input,
.field select {
    width: 100%;
    background: transparent;
    border: none;
    padding: 10px 0;
    color: var(--marfil);
    font-family: var(--font-body);
    font-size: 1.15rem;
    outline: none;
}

.field select option {
    background: var(--vino-deep);
    color: white;
}

.field:focus-within {
    border-bottom-color: var(--dorado);
}

.submit-luxe {
    width: 100%;
    padding: 20px;
    background: transparent;
    color: var(--dorado);
    border: 1px solid rgba(201, 169, 110, 0.4);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.5s var(--ease-elegant);
    font-weight: 500;
    margin-top: 15px;
    border-radius: 40px;
}

.submit-luxe:hover {
    background: var(--dorado);
    color: var(--negro);
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   FOOTER
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.footer {
    background: var(--negro);
    padding: 60px 20px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: radial-gradient(ellipse at 30% 100%, rgba(27, 67, 50, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 100%, rgba(107, 15, 26, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.footer__names {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 8vw, 4rem);
    color: var(--dorado);
    line-height: 1.2;
    margin-bottom: 10px;
}

.footer__date {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--dorado);
    margin-bottom: 8px;
}

.footer__place {
    font-family: var(--font-body);
    font-size: 0.85rem;
    letter-spacing: 3px;
    color: var(--rosa-antiguo);
    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) {

    .glass-card {
        width: 92%;
        max-width: 340px;
        padding: 35px 20px;
    }

    .hero__names-float {
        bottom: 15px;
        padding: 0 15px;
    }

    .hero__name {
        font-size: clamp(2.2rem, 9vw, 3.5rem);
    }

    .vine-timeline-wrapper {
        max-width: 100%;
        width: 100%;
        padding: 0 10px;
    }

    .event-lottie {
        width: 100px;
        height: 100px;
    }

    .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;
    }

    .corte-cards {
        flex-direction: column;
        align-items: center;
    }

    .corte-card {
        width: 88%;
        max-width: 280px;
    }

    .editorial-frame {
        padding: 40px 20px;
        width: 92%;
    }

    .dress-content {
        flex-direction: column;
        gap: 15px;
    }

    .dress-divider {
        width: 60px;
        height: 1px;
        align-self: center;
    }

    .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: 15px;
        right: 15px;
        bottom: 20px;
    }

    .form-container-luxe {
        max-width: 100%;
    }

    .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, #1a0b0e);
    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: 25.5%;
        /* Bajado para que no quede pegado al borde superior */
        width: 69.54%;
        height: 16.93%;
    }
}

/* ===== 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: 15.5%;
        /* Bajado para que no quede pegado al borde superior */
        width: 30.05%;
        height: 19.63%;
    }
}

/* 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 .nombre-invitado {
    margin: 0 0 8px 0;
    color: #1a1a1a;
    /* Negro elegante */
    font-family: 'Great Vibes', cursive;
    font-size: clamp(2rem, 6.5vw, 3.2rem);
    font-weight: 400;
    line-height: 1.3;
    text-shadow: none;
    white-space: nowrap;
    display: inline-block;
    max-width: 100%;
}

.env-guest-zone .pases-texto {
    margin: 5px 0 0 0;
    color: #444;
    font-family: var(--font-secondary, 'Cormorant Garamond', serif);
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
}

.env-guest-zone .pases-texto::before {
    content: "Pases: ";
}

.env-controls {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
}