/* ============================================
   INVITACIÓN DE BODA — ROSAS & ELEGANCIA
   Diseño completo con secciones variadas
   ============================================ */

/* ─── Reset & Variables ─── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colores principales */
    --rojo-rosa: #C41E3A;
    --rojo-oscuro: #8B0000;
    --rojo-profundo: #5C0A0A;
    --rojo-vino: #722F37;
    --dorado: #C9A96E;
    --dorado-claro: #E2C992;
    --dorado-suave: rgba(201, 169, 110, 0.3);
    --negro: #0A0A0A;
    --negro-suave: #1A1A1A;
    --blanco: #FFFFFF;
    --blanco-crema: #FFF8F0;
    --crema-rosa: #FFF0EB;
    --gris-texto: #888888;
    --rosa-claro: #F2D5D5;
    --burdeos: #4A0E1C;

    /* Tipografía */
    --font-display: 'Great Vibes', cursive;
    --font-heading: 'Cinzel', serif;
    --font-body: 'Cormorant Garamond', serif;
    --font-accent: 'Raleway', sans-serif;

    /* Espaciado */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 3rem;
    --space-xl: 5rem;
    --space-2xl: 8rem;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    background: var(--negro);
    color: var(--blanco);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}


/* ═══════════════════════════════════════════════
   SHARED — Títulos y botones reutilizables
   ═══════════════════════════════════════════════ */
.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 4vw, 1.8rem);
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--dorado);
    margin-bottom: var(--space-xs);
    text-align: center;
}

.section-title.dark {
    color: var(--blanco-crema);
}

.section-title.wine {
    color: var(--dorado-claro);
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: clamp(0.95rem, 2.5vw, 1.15rem);
    font-style: italic;
    color: var(--gris-texto);
    margin-bottom: var(--space-lg);
    text-align: center;
    line-height: 1.7;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle.dark {
    color: rgba(255, 255, 255, 0.7);
}

.section-subtitle.cream {
    color: #888;
}

/* Botón elegante (dorado sobre oscuro) */
.btn-elegant {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-accent);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--dorado);
    text-decoration: none;
    border: 1px solid var(--dorado-suave);
    border-radius: 40px;
    padding: 14px 32px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.btn-elegant::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(201, 169, 110, 0.1), rgba(201, 169, 110, 0.05));
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: inherit;
}

.btn-elegant:hover::before {
    opacity: 1;
}

.btn-elegant:hover {
    border-color: var(--dorado);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201, 169, 110, 0.15);
}

.btn-elegant.dark {
    color: var(--blanco-crema);
    border-color: rgba(255, 248, 240, 0.3);
}

.btn-elegant.dark:hover {
    border-color: var(--blanco-crema);
    box-shadow: 0 8px 25px rgba(255, 248, 240, 0.1);
}

/* Botón primario (relleno dorado) */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-accent);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    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;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    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);
    background: linear-gradient(135deg, var(--dorado-claro), var(--dorado));
}


/* ═══════════════════════════════════════════════
   SECTION 1 — HERO / PORTADA
   ═══════════════════════════════════════════════ */
.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

/* Fondo hero */
.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    filter: brightness(0.5);
}

/* Overlay oscuro radial */
.hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(ellipse at center, transparent 10%, rgba(84, 72, 72, 0.6) 50%, rgba(10, 10, 10, 0.9) 80%);
    pointer-events: none;
}

/* ─── PNG 1: Rosas superior izquierda ─── */
.hero__roses-top-left {
    position: absolute;
    top: -2%;
    left: -5%;
    z-index: 4;
    width: 45%;
    max-width: 420px;
    pointer-events: none;
    animation: fadeSlideIn 1.5s ease-out 0.3s both;
}

.hero__roses-top-left img {
    width: 100%;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.7));
    animation: gentleFloat 7s ease-in-out infinite alternate;
}

/* ─── PNG 2: Rosa suelta derecha medio ─── */
.hero__rose-right {
    position: absolute;
    top: 8%;
    right: -3%;
    z-index: 4;
    width: 22%;
    max-width: 200px;
    pointer-events: none;
    animation: fadeSlideInRight 1.5s ease-out 0.6s both;
    transform-origin: center;
}

.hero__rose-right img {
    width: 100%;
    filter: drop-shadow(0 8px 25px rgba(0, 0, 0, 0.6));
    animation: gentleFloat 6s ease-in-out infinite;
}

/* ─── Contenido central ─── */
.hero__content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: var(--space-md);
    max-width: 600px;
}

.hero__label {
    font-family: var(--font-accent);
    font-weight: 300;
    font-size: clamp(0.7rem, 2vw, 0.9rem);
    letter-spacing: 0.5em;
    text-transform: uppercase;
    color: var(--dorado-claro);
    margin-bottom: var(--space-xs);
    opacity: 0;
    animation: fadeUp 1s ease-out 0.8s forwards;
}

.hero__date-top {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 6vw, 3.5rem);
    font-weight: 600;
    color: var(--dorado);
    letter-spacing: 0.15em;
    margin-bottom: var(--space-md);
    opacity: 0;
    animation: fadeUp 1s ease-out 1s forwards;
    text-shadow: 0 2px 20px rgba(201, 169, 110, 0.3);
}

.hero__names {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    margin-bottom: var(--space-lg);
}

.hero__name {
    font-family: var(--font-display);
    font-size: clamp(3rem, 12vw, 7rem);
    font-weight: 400;
    color: var(--blanco);
    line-height: 1;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6), 0 2px 10px rgba(201, 169, 110, 0.2);
    opacity: 0;
}

.hero__name--groom {
    animation: nameRevealLeft 1.2s ease-out 1.2s forwards;
}

.hero__name--bride {
    animation: nameRevealRight 1.2s ease-out 1.5s forwards;
}

.hero__ampersand {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    color: var(--dorado);
    opacity: 0;
    animation: fadeScale 0.8s ease-out 1.8s forwards;
    margin: -0.2em 0;
}

/* ─── Countdown Banner ─── */
.countdown-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: transparent;
    border: none;
    padding: var(--space-md) 0;
    margin: 0 auto var(--space-xl);
    max-width: 700px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.countdown-banner.revealed {
    opacity: 1;
    transform: translateY(0);
}

.countdown__unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 clamp(0.8rem, 3vw, 2.5rem);
}

.countdown__number {
    font-family: var(--font-body);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 300;
    color: var(--negro-suave);
    line-height: 1;
    margin-bottom: 12px;
}

.countdown__label {
    font-family: var(--font-accent);
    font-size: clamp(0.5rem, 1.5vw, 0.65rem);
    font-weight: 400;
    letter-spacing: 0.5em;
    text-transform: uppercase;
    color: var(--dorado);
}

.countdown__separator {
    width: 1px;
    height: 55px;
    background: linear-gradient(to bottom, transparent, var(--dorado), transparent);
    opacity: 0.6;
}

/* ─── PNG 3: Rosas inferiores ─── */
.hero__roses-bottom {
    position: absolute;
    bottom: -15%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    width: 110%;
    max-width: 800px;
    pointer-events: none;
}

.hero__roses-bottom img {
    width: 100%;
    animation: gentleFloat 8s ease-in-out infinite alternate-reverse;
}


/* ═══════════════════════════════════════════════
   SECTION 2 — PADRES (fondo crema)
   ═══════════════════════════════════════════════ */
.padres {
    position: relative;
    background: var(--blanco-crema);
    color: var(--negro);
    padding: var(--space-2xl) var(--space-md) var(--space-xl);
    text-align: center;
    overflow-x: clip;
}

.padres::before {
    content: '';
    display: block;
    height: 10vh;
}

.padres__content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.padres__intro {
    font-family: var(--font-body);
    font-size: clamp(1rem, 3vw, 1.3rem);
    font-weight: 400;
    font-style: italic;
    color: #555;
    margin-bottom: var(--space-lg);
    line-height: 1.6;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.padres__intro.revealed {
    opacity: 1;
    transform: translateY(0);
}

.padres__grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.padres__column {
    flex: 1;
    min-width: 200px;
    max-width: 280px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.padres__column.revealed {
    opacity: 1;
    transform: translateY(0);
}

.padres__title {
    font-family: var(--font-heading);
    font-size: clamp(0.7rem, 2vw, 0.85rem);
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--rojo-profundo);
    margin-bottom: var(--space-sm);
}

.padres__divider {
    width: 40px;
    height: 1px;
    background: var(--dorado);
    margin: 0 auto var(--space-sm);
}

.padres__name {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2.5vw, 1.15rem);
    font-weight: 400;
    color: #333;
    line-height: 1.8;
}

.padres__heart {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    color: var(--rojo-rosa);
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.8s ease 0.3s;
}

.padres__heart.revealed {
    opacity: 0.6;
    transform: scale(1);
}

.padres__heart svg {
    width: 28px;
    height: 28px;
    animation: heartBeat 2.5s ease-in-out infinite;
}


/* ═══════════════════════════════════════════════
   TORN WRAPPER — Papel rasgado CSS
   ═══════════════════════════════════════════════ */
.torn-wrapper {
    position: relative;
    background: #c1121f;
    z-index: 2;
    overflow: visible;
}


/* ─── Separadores rasgados generales ─── */
.torn-divider {
    position: absolute;
    width: 100%;
    left: 0;
    line-height: 0;
    z-index: 1;
    overflow: visible;
    height: 80px;
}

.torn-divider svg {
    display: block;
    width: 100%;
    height: 85px;
    position: absolute;
    left: 0;
}

.torn-divider--top {
    top: 0;
    transform: translateY(calc(-100% + 15px));
}

.torn-divider--top svg {
    top: 0;
}

.torn-divider--bottom {
    bottom: 0;
    transform: translateY(calc(100% - 15px));
}

.torn-divider--bottom svg {
    bottom: 0;
}

@media (max-width: 480px) {
    .torn-divider {
        height: 40px;
    }

    .torn-divider svg {
        height: 45px;
    }
}

/* ─── Bordes rasgados SVG ─── */
.torn-edge {
    position: absolute;
    width: 100%;
    left: 0;
    line-height: 0;
    z-index: 3;
    overflow: visible;
    height: 80px;
}

.torn-edge svg {
    display: block;
    width: 100%;
    height: 85px;
    position: absolute;
    left: 0;
}

.torn-edge--top {
    top: 0;
    transform: translateY(calc(-100% + 15px));
    color: #c1121f;
}

.torn-edge--top svg {
    top: 0;
}

.torn-edge--bottom {
    bottom: 0;
    transform: translateY(calc(100% - 15px));
    color: #c1121f;
}

.torn-edge--bottom svg {
    bottom: 0;
}

@media (max-width: 480px) {
    .torn-edge {
        height: 40px;
    }

    .torn-edge svg {
        height: 45px;
    }
}

/* ─── Separador decorativo interno ─── */
.torn-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    max-width: 500px;
    margin: 0 auto;
}

.torn-separator__line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--dorado), transparent);
    opacity: 0.3;
}

.torn-separator__icon {
    width: 18px;
    height: 18px;
    color: var(--dorado);
    opacity: 0.4;
    flex-shrink: 0;
}

.torn-separator__icon svg {
    width: 100%;
    height: 100%;
}


/* ═══════════════════════════════════════════════
   SECTION 3 — CORTE DE HONOR (dentro de torn)
   ═══════════════════════════════════════════════ */
.corte {
    position: relative;
    color: var(--blanco);
    padding: 0;
}

.corte__content {
    position: relative;
    z-index: 2;
    padding: var(--space-lg) var(--space-md) var(--space-md);
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.corte__title {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 4vw, 1.8rem);
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--blanco);
    margin-bottom: var(--space-xs);
}

.corte__ornament {
    font-size: 1rem;
    color: var(--blanco);
    opacity: 0.7;
    margin-bottom: var(--space-lg);
    letter-spacing: 0.5em;
}

.corte__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-md);
}

.corte__card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: var(--space-md) var(--space-sm);
    text-align: center;
    transition: all 0.5s ease;
    opacity: 0;
    transform: translateY(30px);
}

.corte__card.revealed {
    opacity: 1;
    transform: translateY(0);
}

.corte__card:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.corte__card-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto var(--space-sm);
    color: var(--blanco);
    opacity: 0.9;
}

.corte__card-icon svg {
    width: 100%;
    height: 100%;
}

.corte__card-title {
    font-family: var(--font-heading);
    font-size: clamp(0.6rem, 1.8vw, 0.75rem);
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--blanco);
    margin-bottom: var(--space-xs);
}

.corte__card-divider {
    width: 30px;
    height: 1px;
    background: var(--blanco);
    opacity: 0.5;
    margin: 0 auto var(--space-xs);
}

.corte__card-name {
    font-family: var(--font-body);
    font-size: clamp(0.9rem, 2.2vw, 1.05rem);
    font-weight: 400;
    color: var(--blanco);
    line-height: 1.7;
}


/* ═══════════════════════════════════════════════
   SECTION 4 — UBICACIÓN (dentro de torn)
   ═══════════════════════════════════════════════ */
.ubicacion {
    position: relative;
    color: var(--blanco);
    padding: 0;
}

.ubicacion__content {
    position: relative;
    z-index: 2;
    padding: var(--space-md) var(--space-md) var(--space-xl);
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.ubicacion__main-title {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 4vw, 1.8rem);
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--blanco);
    margin-bottom: var(--space-xs);
}

.ubicacion__subtitle {
    font-family: var(--font-body);
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    font-style: italic;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-lg);
}

.ubicacion__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-lg);
}

.ubicacion__card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: var(--space-lg) var(--space-md);
    text-align: center;
    transition: all 0.5s ease;
    opacity: 0;
    transform: translateY(30px);
}

.ubicacion__card.revealed {
    opacity: 1;
    transform: translateY(0);
}

.ubicacion__card:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.ubicacion__card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-sm);
    color: var(--blanco);
    opacity: 0.9;
}

.ubicacion__card-icon svg {
    width: 100%;
    height: 100%;
}

.ubicacion__card-label {
    font-family: var(--font-heading);
    font-size: clamp(0.65rem, 1.8vw, 0.8rem);
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--blanco);
    margin-bottom: var(--space-xs);
}

.ubicacion__card-divider {
    width: 40px;
    height: 1px;
    background: var(--blanco);
    opacity: 0.5;
    margin: 0 auto var(--space-sm);
}

.ubicacion__card-place {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 4vw, 1.6rem);
    color: var(--blanco);
    margin-bottom: 4px;
}

.ubicacion__card-address {
    font-family: var(--font-body);
    font-size: clamp(0.85rem, 2vw, 0.95rem);
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: var(--space-sm);
    line-height: 1.5;
}

.ubicacion__card-time {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-heading);
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--blanco);
    margin-bottom: var(--space-md);
}

.ubicacion__clock-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.ubicacion__card-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-accent);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--blanco);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 30px;
    padding: 10px 22px;
    transition: all 0.3s ease;
}

.ubicacion__card-btn svg {
    width: 16px;
    height: 16px;
}

.ubicacion__card-btn:hover {
    background: var(--blanco);
    border-color: var(--blanco);
    color: #c1121f;
}


/* ═══════════════════════════════════════════════
   SECTION 5 — GALERÍA / SLIDER 3D COVERFLOW
   Fondo: negro profundo con textura sutil
   ═══════════════════════════════════════════════ */
.gallery-slider {
    position: relative;
    background: var(--negro);
    padding: var(--space-2xl) var(--space-md);
    text-align: center;
    overflow: hidden;
    z-index: 1;
}

/* Textura de fondo sutil */
.gallery-slider::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(196, 30, 58, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 50%, rgba(201, 169, 110, 0.04) 0%, transparent 60%);
    pointer-events: none;
}

.gallery-slider__content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
}

.gallery-slider__title {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 4vw, 1.8rem);
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--dorado);
    margin-bottom: var(--space-xs);
}

.gallery-slider__ornament {
    font-size: 0.7rem;
    color: var(--dorado);
    opacity: 0.4;
    margin-bottom: var(--space-xl);
    letter-spacing: 0.5em;
}

/* ─── Contenedor 3D del Slider ─── */
.gallery-slider__container {
    position: relative;
    width: 100%;
    height: 450px;
    perspective: 1200px;
    perspective-origin: center center;
    margin: 0 auto;
}

/* ─── Cada slide (tarjeta 3D) ─── */
.gallery-slide {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 280px;
    height: 380px;
    transform-style: preserve-3d;
    transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.5s ease;
}

/* Estados del slider */
.gallery-slide.active {
    transform: translate(-50%, -50%) translateZ(0px) scale(1);
    z-index: 10;
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.6),
        0 0 40px rgba(201, 169, 110, 0.15);
}

.gallery-slide.active::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 14px;
    border: 2px solid rgba(201, 169, 110, 0.3);
    pointer-events: none;
}

.gallery-slide.prev {
    transform: translate(-130%, -50%) translateZ(-100px) rotateY(15deg) scale(0.85);
    z-index: 5;
    filter: brightness(0.6);
}

.gallery-slide.next {
    transform: translate(30%, -50%) translateZ(-100px) rotateY(-15deg) scale(0.85);
    z-index: 5;
    filter: brightness(0.6);
}

.gallery-slide.prev-hidden {
    transform: translate(-200%, -50%) translateZ(-250px) rotateY(25deg) scale(0.7);
    z-index: 1;
    filter: brightness(0.3);
    opacity: 0.4;
}

.gallery-slide.next-hidden {
    transform: translate(100%, -50%) translateZ(-250px) rotateY(-25deg) scale(0.7);
    z-index: 1;
    filter: brightness(0.3);
    opacity: 0.4;
}

.gallery-slide.active:hover img {
    transform: scale(1.05);
}

/* ─── Controles del slider ─── */
.gallery-slider__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.gallery-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(201, 169, 110, 0.3);
    background: rgba(10, 10, 10, 0.7);
    color: var(--dorado);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(6px);
}

.gallery-btn svg {
    width: 22px;
    height: 22px;
}

.gallery-btn:hover {
    background: rgba(201, 169, 110, 0.15);
    border-color: var(--dorado);
    transform: scale(1.1);
}

.gallery-dots {
    display: flex;
    gap: 10px;
    align-items: center;
}

.gallery-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(201, 169, 110, 0.2);
    border: 1px solid rgba(201, 169, 110, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-dot.active {
    background: var(--dorado);
    border-color: var(--dorado);
    transform: scale(1.4);
    box-shadow: 0 0 10px rgba(201, 169, 110, 0.3);
}


/* ═══════════════════════════════════════════════
   SECTION 6 — CRONOGRAMA (TIMELINE)
   Fondo: crema con detalles dorados
   ═══════════════════════════════════════════════ */
.cronograma {
    position: relative;
    background: var(--blanco-crema);
    padding: var(--space-2xl) var(--space-md);
    overflow: visible;
}

/* Ornamento decorativo sutil de fondo */
.cronograma::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(201, 169, 110, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.cronograma .section-title {
    color: var(--rojo-profundo);
}

.cronograma .section-subtitle {
    color: #777;
    margin-bottom: var(--space-xl);
}

/* ─── Timeline / Cronograma Rediseñado (Ultra Premium / Anillos Dorados) ─── */

@keyframes rotateRing {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes gentleFloatTimeline {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.timeline {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    padding: var(--space-xl) var(--space-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-3xl);
}

/* Línea conectora central (Haz de luz dorada) */
.timeline::before {
    content: '';
    position: absolute;
    top: 50px;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    background: linear-gradient(to bottom, rgba(201, 169, 110, 0) 0%, var(--dorado) 20%, var(--dorado) 80%, rgba(201, 169, 110, 0) 100%);
    box-shadow: 0 0 15px rgba(201, 169, 110, 0.8);
    opacity: 0.7;
    z-index: 0;
}

/* ─── Cada ítem del timeline ─── */
.timeline__item {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    width: 100%;
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.timeline__item.revealed {
    opacity: 1;
    transform: scale(1);
    animation: gentleFloatTimeline 6s ease-in-out infinite alternate;
}

/* Retrasos para desfasar la flotación y que no parezca mecánico */
.timeline__item:nth-child(even).revealed {
    animation-delay: 1s;
}
.timeline__item:nth-child(3n).revealed {
    animation-delay: 2s;
}

.timeline__icon {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    width: 150px;
    height: 150px;
    background: var(--blanco-crema); /* Oculta la línea */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    transition: all 0.5s ease;
}

/* Anillo dorado exterior rotatorio (Efecto reloj de lujo) */
.timeline__icon::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 1.5px dashed var(--dorado);
    animation: rotateRing 25s linear infinite;
    pointer-events: none;
    opacity: 0.6;
}

/* Anillo dorado interior fijo */
.timeline__icon::after {
    content: '';
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    border: 1px solid rgba(201, 169, 110, 0.4);
    pointer-events: none;
}

.timeline__item:hover .timeline__icon {
    box-shadow: 0 0 30px rgba(201, 169, 110, 0.3);
}

.timeline__icon .lottie-container {
    width: 120px !important;
    height: 120px !important;
    position: relative;
    z-index: 5;
}

.timeline__info {
    position: relative;
    z-index: 2;
    background: var(--blanco-crema); /* Fondo para tapar la línea central debajo del texto */
    padding: 10px 25px;
    border-radius: 30px;
}

.timeline__time {
    display: block;
    font-family: var(--font-accent);
    font-size: clamp(0.85rem, 2vw, 1.1rem);
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--dorado);
    margin-bottom: 8px;
    text-shadow: 0 2px 10px rgba(201, 169, 110, 0.2);
}

.timeline__title {
    display: block;
    font-family: var(--font-heading); /* Letra Cinzel muy elegante */
    font-size: clamp(1.6rem, 5vw, 2.2rem);
    font-weight: 500;
    color: var(--rojo-profundo); /* Rojo oscuro para contraste y elegancia */
    letter-spacing: 0.05em;
    line-height: 1.2;
}

/* ─── Timeline Responsive (Móvil) ─── */
@media (max-width: 768px) {
    .timeline {
        gap: var(--space-2xl);
    }
    
    .timeline__icon {
        width: 130px;
        height: 130px;
    }
    
    .timeline__icon .lottie-container {
        width: 100px !important;
        height: 100px !important;
    }
}


/* ═══════════════════════════════════════════════
   SECTION 7 — DRESS CODE
   Fondo: burdeos / vino profundo
   ═══════════════════════════════════════════════ */
.dress-code {
    position: relative;
    background: linear-gradient(to bottom, var(--burdeos) 0%, #2D0A12 60%, var(--negro) 100%);
    padding: var(--space-2xl) var(--space-md);
    text-align: center;
    overflow: visible;
}

/* Patrón decorativo sutil */
.dress-code::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 10% 20%, rgba(201, 169, 110, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(196, 30, 58, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

.dress-code__content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.dress-code__content.revealed {
    opacity: 1;
    transform: translateY(0);
}

.dress-code .section-title {
    color: var(--dorado-claro);
}

.dress-code__image-wrap {
    margin-top: var(--space-lg);
    position: relative;
}

/* Marco ornamental alrededor de la imagen */
.dress-code__image-wrap::before {
    content: '';
    position: absolute;
    inset: -12px;
    border: 1px solid rgba(201, 169, 110, 0.2);
    border-radius: 16px;
    pointer-events: none;
}

.dress-code__image-wrap::after {
    content: '';
    position: absolute;
    inset: -4px;
    border: 1px solid rgba(201, 169, 110, 0.1);
    border-radius: 12px;
    pointer-events: none;
}

.dress-code__image-wrap img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    display: block;
}

.dress-code__overlay-text {
    position: absolute;
    bottom: 24px;
    left: 5%;
    right: 5%;
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.85), rgba(40, 10, 15, 0.8));
    border: 1px solid rgba(201, 169, 110, 0.4);
    padding: 18px 24px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 10;
}

.dress-code__overlay-text p {
    font-family: var(--font-body);
    font-size: clamp(0.9rem, 2.5vw, 1.15rem);
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    font-style: italic;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}


/* ═══════════════════════════════════════════════
   SECTION 8 — LLUVIA DE SOBRES & QR
   Fondo: negro con acentos dorados
   ═══════════════════════════════════════════════ */
.sobres {
    position: relative;
    background: var(--negro);
    padding: var(--space-2xl) var(--space-md);
    text-align: center;
    overflow: visible;
}

/* Lluvia dorada animada de fondo */
.sobres::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at center, rgba(201, 169, 110, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

/* Partículas de sobres flotantes eliminadas a petición del usuario */

.sobres__content {
    position: relative;
    z-index: 2;
    max-width: 500px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.sobres__content.revealed {
    opacity: 1;
    transform: translateY(0);
}

.sobres .section-title {
    color: var(--dorado);
}

.sobres .section-subtitle {
    color: rgba(255, 255, 255, 0.6);
}

/* ─── Tarjeta QR ─── */
.sobres__qr-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(201, 169, 110, 0.2);
    border-radius: 20px;
    padding: var(--space-lg);
    margin-bottom: var(--space-md);
    transition: all 0.4s ease;
}

.sobres__qr-card:hover {
    border-color: rgba(201, 169, 110, 0.4);
    box-shadow: 0 15px 40px rgba(201, 169, 110, 0.08);
}

.sobres__qr-img {
    width: 200px;
    height: 200px;
    margin: 0 auto var(--space-md);
    background: var(--blanco);
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.sobres__qr-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 4px;
}


/* ═══════════════════════════════════════════════
   SECTION 9 — SUBIR FOTOS
   Fondo: gradiente rojo profundo
   ═══════════════════════════════════════════════ */
.fotos {
    position: relative;
    background: linear-gradient(to bottom, var(--rojo-profundo) 0%, var(--rojo-oscuro) 40%, #3A0707 100%);
    padding: var(--space-2xl) var(--space-md);
    text-align: center;
    overflow: visible;
}

/* Textura de fondo */
.fotos::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 70%, rgba(201, 169, 110, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

.fotos__content {
    position: relative;
    z-index: 2;
    max-width: 500px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fotos__content.revealed {
    opacity: 1;
    transform: translateY(0);
}

.fotos__lottie {
    margin-bottom: var(--space-md);
    display: flex;
    justify-content: center;
}

.fotos__lottie .lottie-container {
    filter: drop-shadow(0 4px 20px rgba(201, 169, 110, 0.2));
}

.fotos .section-title {
    color: var(--blanco-crema);
}

.fotos .section-subtitle {
    color: rgba(255, 255, 255, 0.65);
}


/* ═══════════════════════════════════════════════
   SECTION 10 — CONFIRMAR ASISTENCIA (RSVP)
   Fondo: crema rosado elegante
   ═══════════════════════════════════════════════ */
.rsvp {
    position: relative;
    background: var(--crema-rosa);
    padding: var(--space-2xl) var(--space-md);
    text-align: center;
    overflow: visible;
}

/* Patrón de fondo sutil */
.rsvp::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 0%, rgba(196, 30, 58, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.rsvp__roses {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    max-width: 350px;
    opacity: 1;
    pointer-events: none;
    z-index: 2;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 20%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 20%);
}

.rsvp__roses img {
    width: 100%;
}

.rsvp__content {
    position: relative;
    z-index: 2;
    max-width: 500px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.rsvp__content.revealed {
    opacity: 1;
    transform: translateY(0);
}

.rsvp .section-title {
    color: var(--rojo-profundo);
}

.rsvp .section-subtitle {
    color: #666;
}

.rsvp__limit {
    font-family: var(--font-body);
    font-size: clamp(0.9rem, 2.5vw, 1.05rem);
    color: #888;
    margin-bottom: var(--space-lg);
}

.rsvp__limit strong {
    color: var(--rojo-rosa);
    font-weight: 600;
}

/* Botón RSVP especial */
.rsvp .btn-primary {
    background: linear-gradient(135deg, var(--rojo-rosa), var(--rojo-oscuro));
    color: var(--blanco);
    box-shadow: 0 6px 25px rgba(196, 30, 58, 0.3);
}

.rsvp .btn-primary:hover {
    box-shadow: 0 10px 35px rgba(196, 30, 58, 0.45);
    background: linear-gradient(135deg, var(--rojo-oscuro), var(--rojo-rosa));
}


/* ═══════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════ */
.footer {
    position: relative;
    background: var(--negro);
    padding: var(--space-xl) var(--space-md) var(--space-lg);
    text-align: center;
    overflow-x: clip;
}

.footer__roses {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    max-width: 400px;
    opacity: 1;
    pointer-events: none;
    z-index: 2;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 20%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 20%);
}

.footer__content {
    position: relative;
    z-index: 2;
}

.footer__names {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 8vw, 4rem);
    color: var(--dorado);
    margin-bottom: var(--space-xs);
}

.footer__date {
    font-family: var(--font-heading);
    font-size: clamp(0.8rem, 2vw, 1rem);
    font-weight: 400;
    letter-spacing: 0.4em;
    color: var(--dorado-claro);
    opacity: 0.7;
}

.footer__line {
    width: 60px;
    height: 1px;
    background: var(--dorado);
    opacity: 0.3;
    margin: var(--space-md) auto;
}

.footer__credit {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-style: italic;
    color: var(--gris-texto);
}


/* ═══════════════════════════════════════════════
   PÉTALOS FLOTANTES
   ═══════════════════════════════════════════════ */
.petals-container {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    overflow: hidden;
}

.petal {
    position: absolute;
    width: 12px;
    height: 14px;
    background: var(--rojo-rosa);
    border-radius: 50% 0 50% 50%;
    opacity: 0;
    transform-origin: center;
    animation: petalFall var(--fall-duration, 8s) linear var(--fall-delay, 0s) infinite;
}

.petal:nth-child(odd) {
    background: var(--rojo-oscuro);
    width: 10px;
    height: 12px;
}

.petal:nth-child(3n) {
    background: var(--rosa-claro);
    width: 8px;
    height: 10px;
}


/* ═══════════════════════════════════════════════
   ANIMACIONES
   ═══════════════════════════════════════════════ */
@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translate(-30px, -20px);
    }

    to {
        opacity: 1;
        transform: translate(0, 0);
    }
}

@keyframes fadeSlideInRight {
    from {
        opacity: 0;
        transform: translate(30px, -10px);
    }

    to {
        opacity: 1;
        transform: translate(0, 0);
    }
}

@keyframes gentleFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-8px) rotate(3deg);
    }

    50% {
        transform: translateY(4px) rotate(-2deg);
    }

    75% {
        transform: translateY(-5px) rotate(1deg);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes nameRevealLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes nameRevealRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeScale {
    from {
        opacity: 0;
        transform: scale(0.5);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes heartBeat {

    0%,
    100% {
        transform: scale(1);
    }

    15% {
        transform: scale(1.15);
    }

    30% {
        transform: scale(1);
    }

    45% {
        transform: scale(1.1);
    }

    60% {
        transform: scale(1);
    }
}

@keyframes petalFall {
    0% {
        opacity: 0;
        transform: translate(0, -10vh) rotate(0deg) scale(0.8);
    }

    10% {
        opacity: 0.7;
    }

    90% {
        opacity: 0.5;
    }

    100% {
        opacity: 0;
        transform: translate(var(--petal-drift, 60px), 110vh) rotate(var(--petal-rotation, 720deg)) scale(0.3);
    }
}

@keyframes floatEnvelope {

    0%,
    100% {
        transform: translateY(0) rotate(-5deg);
        opacity: 0.06;
    }

    50% {
        transform: translateY(-30px) rotate(5deg);
        opacity: 0.12;
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}


/* ═══════════════════════════════════════════════
   RESPONSIVE — MOBILE FIRST
   ═══════════════════════════════════════════════ */

/* ─── Celular (≤480px) ─── */
@media (max-width: 480px) {
    .hero__roses-top-left {
        top: -3%;
        left: -8%;
        width: 55%;
    }

    .hero__rose-right {
        top: 3%;
        right: -5%;
        width: 28%;
    }

    .hero__roses-bottom {
        bottom: -10%;
        width: 120%;
    }

    .hero__content {
        padding: var(--space-sm);
    }

    .countdown__unit {
        min-width: 45px;
    }

    .padres__grid {
        flex-direction: column;
        align-items: center;
    }

    .padres__heart {
        transform: rotate(0deg) scale(0.5);
    }

    .padres__heart.revealed {
        transform: rotate(0deg) scale(1);
    }

    .corte__grid {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }

    .ubicacion__grid {
        grid-template-columns: 1fr;
    }

    .torn-edge svg {
        height: 45px;
    }

    /* Gallery slider mobile */
    .gallery-slider__container {
        height: 380px;
    }

    .dress-code__overlay-text {
        bottom: 15px;
        padding: 12px 16px;
    }

    .dress-code__overlay-text p {
        font-size: 0.85rem;
    }

    .gallery-slide {
        width: 220px;
        height: 300px;
    }

    .gallery-slide.prev {
        transform: translate(-120%, -50%) translateZ(-80px) rotateY(12deg) scale(0.8);
    }

    .gallery-slide.next {
        transform: translate(20%, -50%) translateZ(-80px) rotateY(-12deg) scale(0.8);
    }

    .gallery-slide.prev-hidden,
    .gallery-slide.next-hidden {
        opacity: 0;
    }

    .gallery-btn {
        width: 40px;
        height: 40px;
    }

    /* Timeline mobile */
    .timeline {
        padding: 0 0 0 var(--space-xs);
    }

    .timeline__line {
        left: 24px;
    }

    .timeline__icon {
        width: 64px;
        height: 64px;
        min-width: 64px;
    }

    .timeline__icon .lottie-container {
        width: 40px !important;
        height: 40px !important;
    }

    /* Sobres mobile */
    .sobres__qr-img {
        width: 170px;
        height: 170px;
    }
}

/* ─── Tablet (481–768px) ─── */
@media (min-width: 481px) and (max-width: 768px) {
    .hero__roses-top-left {
        width: 40%;
    }

    .hero__rose-right {
        width: 20%;
    }

    .corte__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-slider__container {
        height: 420px;
    }

    .gallery-slide {
        width: 250px;
        height: 340px;
    }
}

/* ─── Desktop (769px+) ─── */
@media (min-width: 769px) {
    /* Desktop specific rules can go here */
}

/* ============================================
   LANDING PAGE OVERLAY & MUSIC CONTROL
   ============================================ */

/* Overlay principal */
.landing-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--negro);
    overflow: hidden;
}

.landing-overlay.is-opening .landing-roses--left {
    transform: translateX(-110%);
}

.landing-overlay.is-opening .landing-roses--right {
    transform: translateX(110%);
}

.landing-overlay.is-opening .landing-glass {
    opacity: 0;
    transform: scale(0.9);
}

.landing-overlay.fade-out {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease 0.8s, visibility 0.8s ease 0.8s;
}

/* Rosas laterales */
.landing-roses {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    transition: transform 1.2s cubic-bezier(0.77, 0, 0.175, 1);
}

.landing-roses--left {
    top: 0;
    left: 0;
}

.landing-roses--right {
    bottom: 0;
    right: 0;
}

.landing-roses img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Nunca se corta, ni en PC ni en Móvil */
}

/* Alineación Izquierda */
.landing-roses--left img {
    object-position: top left;
}

/* Alineación Derecha */
.landing-roses--right img {
    object-position: bottom right;
}

/* En PC (pantallas anchas), podemos centrar verticalmente si prefieres, 
   pero top left / bottom right funciona excelente con lienzos completos */
@media (min-width: 769px) {
    .landing-roses--left img {
        object-position: center left;
    }

    .landing-roses--right img {
        object-position: center right;
    }
}

/* Panel central oscuro (Plomo con transparencia) */
.landing-glass {
    position: relative;
    z-index: 1;
    background: rgba(26, 23, 23, 0.95);
    /* Gris oscuro cálido casi sólido */
    border: 1px solid rgba(183, 138, 114, 0.4);
    /* Borde dorado rosado */
    border-radius: 2px;
    /* Recto */
    padding: 3.5rem 2rem;
    /* Más espacio vertical */
    text-align: center;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9);
    animation: fadeUp 1s ease-out forwards;
}

.landing-header {
    display: flex;
    flex-direction: column;
    margin-bottom: 2rem;
}

.landing-initials {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.2rem;
    color: #c9a48a;
    /* Dorado rosado (Rose gold) */
    line-height: 1;
    font-weight: 400;
}

.landing-date {
    font-family: var(--font-accent);
    font-size: 0.9rem;
    letter-spacing: 0.25em;
    color: rgba(201, 164, 138, 0.8);
    margin-top: 8px;
    font-weight: 300;
}

/* Sistema de nombres adaptable */
.contenedor-nombre {
    width: 100%;
    min-height: 110px;
    /* Espacio suficiente para 2 líneas si es necesario */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.nombre-invitado {
    font-family: 'Cormorant Garamond', serif;
    font-size: 55px;
    /* Tamaño base enorme y elegante */
    font-weight: 400;
    color: #c9a48a;
    /* Dorado rosado */
    line-height: 1.05;
    white-space: nowrap;
    /* Permite saltos de línea naturales */
    margin: 0;
}

.pases-texto {
    font-family: var(--font-accent);
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    color: #dcbca9;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

/* Animación de resplandor elegante continuo para el botón */
@keyframes luxuryPulse {
    0% {
        box-shadow: inset 0 0 0 2px rgba(20, 5, 8, 0.6), 0 5px 15px rgba(0, 0, 0, 0.5) !important;
    }
    50% {
        box-shadow: inset 0 0 0 2px rgba(20, 5, 8, 0.6), 0 5px 30px rgba(183, 138, 114, 0.5) !important;
    }
    100% {
        box-shadow: inset 0 0 0 2px rgba(20, 5, 8, 0.6), 0 5px 15px rgba(0, 0, 0, 0.5) !important;
    }
}

/* Botón ABRIR INVITACIÓN */
.landing-btn {
    background: #8b1c2b !important; /* Rojo más vivo, similar a la foto */
    background-image: none !important; /* IMPORTANTE: Esto elimina el gradiente dorado de .btn-primary */
    color: #e8d0c3 !important; /* Dorado muy claro para contraste */
    border: 2px solid #b78a72 !important; /* Borde dorado rosado grueso */
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    padding: 14px 45px;
    border-radius: 0 !important; /* Esquinas perfectamente rectas */
    text-transform: uppercase;
    letter-spacing: 2.5px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-shadow: none !important;
    /* Sombra interior oscura simulando el doble borde y sombra exterior */
    box-shadow: inset 0 0 0 2px rgba(20, 5, 8, 0.6), 0 5px 15px rgba(0, 0, 0, 0.5) !important;
    font-weight: 400;
    animation: luxuryPulse 3s infinite ease-in-out; /* Animación continua para móvil y PC */
}

/* Hover en PC y toque activo en móvil */
.landing-btn:hover,
.landing-btn:active {
    background: #b78a72 !important;
    background-image: none !important;
    color: #49131a !important;
    box-shadow: inset 0 0 0 2px rgba(183, 138, 114, 0.8), 0 5px 25px rgba(183, 138, 114, 0.6) !important;
    transform: scale(0.98); /* Pequeño efecto de hundimiento al clickear/tocar */
}

/* Botón flotante de música */
.music-control-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(201, 169, 110, 0.4);
    color: var(--dorado);
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.music-control-btn:hover {
    transform: scale(1.1);
    background: rgba(201, 169, 110, 0.2);
}

.music-control-btn svg {
    width: 20px;
    height: 20px;
}

.music-control-btn.playing .icon-play {
    display: none;
}

.music-control-btn.playing .icon-pause {
    display: block !important;
}