/* ==========================================================================
   SISTEMA DE DISEÑO PREMIUM - TEMA BOTÁNICO LUXURY (SAGE & GOLD)
   ========================================================================== */

:root {
    /* Paleta de Colores Romántica de Alta Gala (Estilo Campiña Toscana / Studio Invito) */
    --color-bg-base: #FDFBF8;         /* Blanco roto / Crema de papel artesanal de algodón */
    --color-bg-alt: #F3ECE1;          /* Tono lino cálido muy suave para contrastes e itinerario */
    --color-white: #FFFFFF;
    
    /* Verde Sabio Antiguo (Watercolor Sage Green) */
    --color-sage-light: #F0F4F1;
    --color-sage-mid: #9BB2A4;         /* Verde sabio tradicional */
    --color-sage-dark: #4A6053;        /* Verde oliva / sabio oscuro para títulos */
    --color-sage-gradient: linear-gradient(135deg, #F0F4F1 0%, #9BB2A4 50%, #4A6053 100%);
    
    /* Verde Bosque Imperial / Acentos de Texto Principal */
    --color-forest-light: #60796B;
    --color-forest-mid: #2C3E35;       /* Color de texto principal y acentos */
    --color-forest-dark: #1E2B25;
    
    /* Oro Champagne Satinado (Luxury Champagne Gold) */
    --color-gold-light: #F5EFEB;
    --color-gold-mid: #C5A059;         /* Oro champagne satinado pulido */
    --color-gold-dark: #9B7E43;        /* Oro antiguo para contrastes */
    --color-gold-gradient: linear-gradient(135deg, #F7F1E7 0%, #C5A059 50%, #9B7E43 100%);
    --color-gold-border: rgba(197, 160, 89, 0.28);
    --color-gold-border-double: double 3px rgba(197, 160, 89, 0.4);
    
    /* Textos secundarias */
    --color-text-main: #2C3E35;        /* Verde pino oscuro para evitar negros genéricos */
    --color-text-muted: #6B7C72;       /* Verde sabio grisáceo */
    
    /* Textura de Papel de Lino/Algodón Artesanal (SVG inline ultraligero de alta fidelidad) */
    --paper-texture: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.015 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");

    /* Sombras y Relieves Satinados */
    --shadow-subtle: 0 6px 30px rgba(44, 62, 53, 0.02);
    --shadow-medium: 0 16px 45px rgba(44, 62, 53, 0.05);
    --shadow-gold: 0 10px 25px rgba(197, 160, 89, 0.15);
    --shadow-wax-seal: 0 6px 20px rgba(155, 126, 67, 0.35), inset 0 2px 4px rgba(255, 255, 255, 0.3), inset 0 -2px 4px rgba(0, 0, 0, 0.2);
    
    /* Efectos de Cristal y Difuminado */
    --glass-bg: rgba(253, 251, 248, 0.82);
    --glass-border: rgba(255, 255, 255, 0.6);
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Clases de Soporte para Papelería Fina e Arcos */
.paper-texture {
    background-color: var(--color-bg-base);
    background-image: var(--paper-texture);
}

.glass-card {
    background: var(--glass-bg) !important;
    background-image: var(--paper-texture) !important; /* Textura de papel sobre el cristal translúcido */
    backdrop-filter: blur(20px) saturate(110%);
    -webkit-backdrop-filter: blur(20px) saturate(110%);
    border: 1px solid var(--glass-border) !important;
}

.luxury-border {
    border: 1px solid var(--color-gold-border) !important;
    outline: 1px solid rgba(197, 160, 89, 0.08);
    outline-offset: 4px;
    box-shadow: var(--shadow-medium);
}

/* ==========================================================================
   RESET Y CONFIGURACIÓN GENERAL
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--color-bg-base);
    background-image: var(--paper-texture);
    color: var(--color-text-main);
    font-family: 'Montserrat', sans-serif;
    line-height: 1.65;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

body.no-scroll {
    overflow: hidden; /* Bloquea el scroll mientras el sobre está visible */
}

/* Tipografías */
.font-serif {
    font-family: 'Cormorant Garamond', serif;
    letter-spacing: 0.5px;
}

.text-center {
    text-align: center;
}

.container {
    width: 100%;
    max-width: 950px;
    margin: 0 auto;
    padding: 5rem 1.5rem;
}

/* ==========================================================================
   SOBRE DIGITAL DE BIENVENIDA (EXPERIENCIA DE ENTRADA PREMIUM)
   ========================================================================== */

.envelope-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-bg-base);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), 
                visibility 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.envelope-overlay.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.envelope-container {
    text-align: center;
    width: 90%;
    max-width: 450px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.envelope-prompt {
    font-size: 3.2rem;
    color: var(--color-forest-mid);
    margin-bottom: 2px;
}

.envelope-subprompt {
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

/* El Sobre */
.envelope {
    position: relative;
    width: 320px;
    height: 220px;
    background-color: var(--color-sage-mid);
    background-image: var(--paper-texture); /* Textura táctil en el sobre */
    border: 1px solid rgba(74, 96, 83, 0.3);
    box-shadow: 0 20px 45px rgba(44, 62, 53, 0.15);
    border-radius: 0 0 16px 16px;
    perspective: 1000px;
    margin-bottom: 20px;
}

/* Solapa superior del sobre */
.envelope-flap {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    border-left: 160px solid transparent;
    border-right: 160px solid transparent;
    border-top: 115px solid #8FA699; /* Tono sabio complementario */
    transform-origin: top;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 4;
    filter: drop-shadow(0 4px 5px rgba(44, 62, 53, 0.1));
}

.envelope.open .envelope-flap {
    transform: rotateX(180deg);
    z-index: 1; /* Pasa atrás de la tarjeta cuando se abre */
    filter: drop-shadow(0 -4px 5px rgba(44, 62, 53, 0.05));
}

/* El cuerpo del sobre */
.envelope-body {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    z-index: 3;
    clip-path: polygon(0 0, 160px 115px, 320px 0, 320px 220px, 0 220px);
    background: linear-gradient(135deg, #9BB2A4 0%, #7E9688 100%);
    background-image: var(--paper-texture);
    border-radius: 0 0 16px 16px;
}

/* Tarjeta dentro del sobre */
.envelope-paper {
    position: absolute;
    bottom: 12px;
    left: 15px;
    width: 290px;
    height: 190px;
    background-color: var(--color-white);
    background-image: var(--paper-texture); /* Textura artesanal fina */
    border: 1px solid var(--color-gold-border);
    border-radius: 12px;
    z-index: 2;
    transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px;
    box-shadow: 0 6px 15px rgba(44, 62, 53, 0.06);
}

.envelope.open .envelope-paper {
    transform: translateY(-135px) scale(1.03); /* Se desliza hacia arriba majestuosamente */
    z-index: 5; /* Queda al frente */
}

.envelope-paper-content {
    border: 1px double var(--color-gold-border);
    border-width: 3px;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 12px;
}

.gold-leaf-mini {
    color: var(--color-gold-mid);
    font-size: 0.95rem;
    margin-bottom: 6px;
    filter: drop-shadow(0 1px 1px rgba(255,255,255,0.8));
}

.envelope-paper-content h3 {
    font-size: 1.9rem;
    color: var(--color-sage-dark);
    margin-bottom: 3px;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.envelope-date-mini {
    font-size: 0.68rem;
    letter-spacing: 4px;
    color: var(--color-gold-dark);
    font-weight: 500;
}

/* Sello de Cera Dorado de Alta Fidelidad en 3D */
.wax-seal {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 68px;
    background: radial-gradient(circle at 35% 35%, #F7EBD2 0%, #C5A059 45%, #9B7E43 80%, #735D30 100%);
    border-radius: 51% 49% 52% 48% / 48% 51% 49% 52%; /* Forma ligeramente asimétrica natural de cera derretida real */
    z-index: 5;
    cursor: pointer;
    box-shadow: var(--shadow-wax-seal);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition-smooth);
}

.seal-inner {
    width: 52px;
    height: 52px;
    border: 1px dashed rgba(255, 255, 255, 0.45);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.25);
    background: rgba(197, 160, 89, 0.1);
}

.seal-initials {
    font-family: 'Great Vibes', cursive;
    color: #FFFDF9;
    font-size: 1.8rem;
    /* Efecto de bajorrelieve o grabado realista de troquel */
    text-shadow: -1px -1px 1px rgba(0, 0, 0, 0.35), 1px 1px 1px rgba(255, 255, 255, 0.6);
}

/* Anillo de pulso sutil */
.pulse-ring {
    position: absolute;
    top: -6px;
    left: -6px;
    width: 80px;
    height: 80px;
    border: 1px solid var(--color-gold-mid);
    border-radius: 50%;
    opacity: 0.7;
    animation: sealPulse 2s infinite ease-out;
    pointer-events: none;
}

@keyframes sealPulse {
    0% { transform: scale(0.92); opacity: 0.8; }
    100% { transform: scale(1.22); opacity: 0; }
}

.wax-seal:hover {
    transform: translate(-50%, -50%) scale(1.06);
    box-shadow: 0 10px 30px rgba(155, 126, 67, 0.5), var(--shadow-wax-seal);
}

.envelope.open .wax-seal {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.5);
    transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease;
}

.btn-open-envelope {
    margin-top: 1rem;
    animation: bounceBtn 2s infinite;
}

@keyframes bounceBtn {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* ==========================================================================
   HOJAS Y DESTELLOS FLOTANTES (EFECTO JARDÍN ORGÁNICO)
   ========================================================================== */

#particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Las partículas ahora tienen forma de hojas orgánicas sutiles */
.particle {
    position: absolute;
    /* border-radius opuesto para formar una silueta de hoja perfecta */
    border-radius: 50% 0 50% 0;
    pointer-events: none;
    transform-origin: center;
    animation: floatLeaf 10s linear infinite;
}

@keyframes floatLeaf {
    0% {
        transform: translateY(110vh) translateX(0) rotate(0deg) scale(0.6);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-10vh) translateX(80px) rotate(270deg) scale(1);
        opacity: 0;
    }
}

/* ==========================================================================
   MÚSICA FLOTANTE (REPRODUCTOR DE LUJO)
   ========================================================================== */

.audio-control-container {
    position: fixed;
    top: 25px;
    right: 25px;
    z-index: 999;
    transition: opacity 0.5s ease;
}

.music-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--color-gold-border);
    padding: 10px 18px;
    border-radius: 50px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-forest-mid);
    box-shadow: var(--shadow-medium);
    transition: var(--transition-smooth);
}

.music-icon-wrapper {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--color-gold-gradient);
    color: var(--color-white);
    font-size: 0.75rem;
    transition: var(--transition-smooth);
}

.music-btn.playing .music-icon-wrapper {
    animation: rotateVinyl 4s linear infinite;
    box-shadow: 0 0 12px rgba(197, 160, 89, 0.5);
}

.music-btn:hover {
    transform: translateY(-3px);
    border-color: var(--color-gold-mid);
    box-shadow: var(--shadow-gold);
}

@keyframes rotateVinyl {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ==========================================================================
   PORTADA (HERO SECTION CON BORDES BOTÁNICOS)
   ========================================================================== */

.hero-section {
    position: relative;
    height: 100vh;
    min-height: 750px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--color-bg-base);
    background-image: var(--paper-texture); /* Textura táctil */
    padding: 2.5rem 1.5rem;
    z-index: 2;
    overflow: hidden;
}

/* Efecto translúcido de luz solar de fondo */
.hero-paper-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 30%, rgba(243, 236, 225, 0.4) 0%, rgba(253, 251, 248, 0) 70%);
    pointer-events: none;
    z-index: 1;
}

.hero-centered-container {
    position: relative;
    z-index: 5;
    width: 100%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    animation: fadeInIntro 2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Monograma con Corona Botánica */
.wedding-monogram-wrapper {
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.wedding-monogram {
    width: 80px;
    height: 80px;
    border: 1px solid var(--color-gold-mid);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background-color: rgba(253, 251, 248, 0.5);
    box-shadow: 0 4px 10px rgba(197, 160, 89, 0.08);
}

.wedding-monogram::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 1px dashed rgba(197, 160, 89, 0.3);
    border-radius: 50%;
}

.monogram-initials {
    font-family: 'Great Vibes', cursive;
    color: var(--color-gold-dark);
    font-size: 2.2rem;
    line-height: 1;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.9);
}

.hero-tagline {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 6px;
    color: var(--color-sage-dark);
    display: block;
    margin-top: 0.5rem;
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 300;
    line-height: 1.1;
    color: var(--color-forest-mid);
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.hero-title .and-sym {
    font-family: 'Great Vibes', cursive;
    color: var(--color-gold-mid);
    font-size: 3.2rem;
    display: inline-block;
    margin: 0 0.8rem;
    line-height: 0.8;
}

/* Lado Visual - Arco Románico Simétrico */
.hero-visual-center {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 1.5rem 0;
}

.editorial-arch-border {
    position: relative;
    width: 240px;
    aspect-ratio: 2 / 3;
    border: 3px double var(--color-gold-mid); /* Doble marco clásico */
    border-radius: 150px 150px 0 0; /* Arco románico de medio punto perfecto */
    padding: 10px;
    background-color: var(--color-white);
    background-image: var(--paper-texture);
    box-shadow: var(--shadow-medium);
    transition: var(--transition-smooth);
}

.editorial-arch-border:hover {
    transform: scale(1.02);
    border-color: var(--color-gold-light);
    box-shadow: var(--shadow-gold);
}

.editorial-arch-image {
    width: 100%;
    height: 100%;
    border-radius: 140px 140px 0 0;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.05);
}

.editorial-arch-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.5s ease;
}

.editorial-arch-border:hover img {
    transform: scale(1.04);
}

/* Guirnaldas de hojas de acuarela simétricas a los lados del arco */
.watercolor-leaf {
    position: absolute;
    color: var(--color-sage-mid);
    font-size: 1.5rem;
    z-index: 10;
    opacity: 0.8;
    filter: drop-shadow(0 2px 4px rgba(44, 62, 53, 0.08));
    transition: var(--transition-smooth);
}

.leaf-left {
    bottom: 12%;
    left: -32px;
    transform: rotate(-45deg);
}

.leaf-right {
    bottom: 12%;
    right: -32px;
    transform: rotate(45deg);
}

.editorial-arch-border:hover .watercolor-leaf {
    color: var(--color-sage-dark);
}

/* Bloque de detalles */
.hero-details-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.hero-date {
    font-size: 1.9rem;
    font-weight: 300;
    color: var(--color-sage-dark);
    letter-spacing: 0.5px;
}

.hero-divider-small-gold {
    width: 50px;
    height: 1px;
    background: var(--color-gold-mid);
    margin: 0.2rem 0;
}

.hero-location {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-location i {
    font-size: 0.9rem;
    color: var(--color-gold-mid);
}

/* Botón Minimalista de Hero */
.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: var(--color-sage-dark);
    border: 1px solid var(--color-gold-mid);
    padding: 12px 28px;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(197, 160, 89, 0.05);
}

.btn-hero:hover {
    background: var(--color-sage-dark);
    border-color: var(--color-sage-dark);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Adornos de marco fino dorado clásico */
.botanical-corner {
    position: absolute;
    width: 35px;
    height: 35px;
    border: 1px solid var(--color-gold-mid);
    z-index: 3;
    opacity: 0.7;
    transition: var(--transition-smooth);
}

.corner-tl { top: 25px; left: 25px; border-right: none; border-bottom: none; }
.corner-tr { top: 25px; right: 25px; border-left: none; border-bottom: none; }
.corner-bl { bottom: 25px; left: 25px; border-right: none; border-top: none; }
.corner-br { bottom: 25px; right: 25px; border-left: none; border-top: none; }

.hero-section:hover .botanical-corner {
    width: 45px;
    height: 45px;
    border-color: var(--color-gold-dark);
    opacity: 0.9;
}

/* ==========================================================================
   BOTONES PREMIUM
   ========================================================================== */

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--color-forest-gradient);
    color: var(--color-white);
    text-decoration: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 1px solid var(--color-forest-light);
    cursor: pointer;
    box-shadow: var(--shadow-green);
    transition: var(--transition-smooth);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(37, 77, 50, 0.28);
    background: var(--color-gold-gradient);
    border-color: var(--color-gold-mid);
}

.btn-secondary {
    background: transparent;
    color: var(--color-forest-mid);
    border: 1px solid var(--color-forest-light);
    padding: 14px 32px;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-secondary:hover {
    background: var(--color-forest-mid);
    color: var(--color-white);
    border-color: var(--color-forest-mid);
    box-shadow: var(--shadow-medium);
    transform: translateY(-2px);
}

.btn-block {
    display: flex;
    width: 100%;
    justify-content: center;
}

/* ==========================================================================
   SECCIÓN DE FRASE INICIAL
   ========================================================================== */

.quote-section {
    position: relative;
    z-index: 2;
    background-color: var(--color-bg-base);
    padding-top: 6rem;
    padding-bottom: 4rem;
}

.botanical-divider {
    font-size: 2rem;
    color: var(--color-gold-mid);
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.botanical-divider::before,
.botanical-divider::after {
    content: '';
    height: 1px;
    width: 50px;
    background: var(--color-gold-border);
}

.love-quote {
    font-size: 2.4rem;
    line-height: 1.5;
    color: var(--color-forest-dark);
    margin-bottom: 2rem;
    font-weight: 300;
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}

.quote-author {
    font-size: 1.4rem;
    font-style: italic;
    letter-spacing: 2px;
    color: var(--color-gold-dark);
}

/* ==========================================================================
   SECCIÓN TRADICIONAL DE PADRES Y PADRINOS
   ========================================================================== */

.parents-section {
    position: relative;
    z-index: 2;
    background-color: var(--color-bg-base);
}

.parents-wrapper {
    background: var(--color-white);
    background-image: var(--paper-texture);
    border: 1px solid var(--color-gold-border);
    border-radius: 20px;
    padding: 4rem 2rem;
    box-shadow: var(--shadow-medium);
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.parents-wrapper::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    border: 3px double var(--color-gold-border); /* Doble marco clásico */
    border-radius: 14px;
    pointer-events: none;
}

.botanical-divider-small {
    font-size: 1.6rem;
    color: var(--color-gold-mid);
    margin-bottom: 1rem;
    filter: drop-shadow(0 1px 1px rgba(255,255,255,0.8));
}

.parents-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 2.5rem;
}

@media (max-width: 768px) {
    .parents-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.parents-group {
    padding: 1rem;
    position: relative;
}

.parents-group h4 {
    font-size: 1.4rem;
    color: var(--color-sage-dark);
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.card-divider-small {
    height: 1px;
    width: 45px;
    background: var(--color-gold-mid);
    margin: 0.8rem auto;
}

.parent-name {
    font-size: 0.98rem;
    color: var(--color-forest-mid);
    font-weight: 500;
    margin-bottom: 0.4rem;
    letter-spacing: 0.2px;
}

/* ==========================================================================
   TÍTULOS DE SECCIÓN
   ========================================================================== */

.section-title {
    font-size: 2.8rem;
    font-weight: 300;
    color: var(--color-forest-mid);
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.subtitle {
    font-size: 0.78rem;
    color: var(--color-text-muted);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 3.5rem;
}

.card-divider {
    height: 1px;
    width: 60px;
    background: var(--color-gold-mid);
    margin: 1.2rem auto;
}

/* ==========================================================================
   CUENTA REGRESIVA (MEDALLONES CIRCULARES DE ORO)
   ========================================================================== */

.countdown-section {
    position: relative;
    z-index: 2;
}

.countdown-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 680px;
    margin: 0 auto;
}

@media (max-width: 576px) {
    .countdown-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

.countdown-card {
    background: var(--color-white);
    background-image: var(--paper-texture);
    border: 1px solid var(--color-gold-border);
    border-radius: 50%; /* Relicarios circulares */
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
    box-shadow: var(--shadow-medium);
    transition: var(--transition-smooth);
    position: relative;
}

.countdown-card::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border: 1px dashed rgba(197, 160, 89, 0.35);
    border-radius: 50%;
    pointer-events: none;
}

.countdown-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(197, 160, 89, 0.25), var(--shadow-gold);
    border-color: var(--color-gold-mid);
}

.countdown-number {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.2rem;
    font-weight: 300;
    line-height: 1;
    color: var(--color-sage-dark);
    margin-bottom: 0.2rem;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.9);
}

.countdown-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-text-muted);
    font-weight: 600;
}

/* ==========================================================================
   UBICACIÓN CON BANNER Y MAPAS
   ========================================================================== */

.details-section {
    position: relative;
    z-index: 2;
}

.location-main-card {
    background-color: var(--color-white);
    background-image: var(--paper-texture); /* Textura táctil de papel */
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--color-gold-border);
    box-shadow: var(--shadow-medium);
    max-width: 800px;
    margin: 0 auto 4rem auto;
    transition: var(--transition-smooth);
    position: relative;
}

.location-main-card::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    border: 3px double var(--color-gold-border); /* Doble marco clásico */
    border-radius: 14px;
    pointer-events: none;
    z-index: 2;
}

.location-main-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-gold);
}

.location-banner {
    height: 250px;
    background-image: url('https://images.unsplash.com/photo-1545232979-8bf34eb9757b?q=80&w=1200&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    position: relative;
    border-bottom: 1px solid var(--color-gold-border);
    z-index: 1;
}

.location-card-content {
    padding: 3.5rem 2.5rem 2.5rem 2.5rem;
    position: relative;
    z-index: 3;
}

.location-card-content .card-icon {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    box-shadow: var(--shadow-gold);
}

.detail-address-large {
    font-size: 1.12rem;
    color: var(--color-forest-mid);
    line-height: 1.6;
    margin-bottom: 2rem;
    font-weight: 500;
}

.location-tips {
    font-size: 0.78rem;
    color: var(--color-text-muted);
    font-style: italic;
    margin-bottom: 1.2rem;
}

.map-buttons-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    width: 100%;
    max-width: 580px;
    margin: 0 auto;
}

@media (max-width: 576px) {
    .map-buttons-container {
        flex-direction: column;
        gap: 10px;
    }
}

.btn-map {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px;
    border-radius: 50px;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition-smooth);
}

.btn-waze {
    background-color: var(--color-sage-light);
    color: var(--color-sage-dark);
    border: 1px solid rgba(155, 178, 164, 0.35);
}

.btn-waze:hover {
    background-color: var(--color-sage-dark);
    color: var(--color-white);
    border-color: var(--color-sage-dark);
    box-shadow: var(--shadow-medium);
    transform: translateY(-2px);
}

.btn-gmaps {
    background-color: var(--color-bg-alt);
    color: var(--color-gold-dark);
    border: 1px solid rgba(197, 160, 89, 0.25);
}

.btn-gmaps:hover {
    background-color: var(--color-gold-mid);
    color: var(--color-white);
    border-color: var(--color-gold-mid);
    box-shadow: var(--shadow-gold);
    transform: translateY(-2px);
}

/* ==========================================================================
   CRONOGRAMA DE EVENTOS (TIMELINE ORGÁNICO)
   ========================================================================== */

.timeline-container {
    max-width: 700px;
    margin: 5rem auto 0 auto;
}

.timeline-title {
    font-size: 2rem;
    color: var(--color-forest-mid);
    margin-bottom: 3.5rem;
}

.timeline {
    position: relative;
    padding-left: 50px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 17px;
    height: 100%;
    width: 1px;
    background: linear-gradient(to bottom, 
                var(--color-gold-mid) 0%, 
                var(--color-sage-mid) 50%, 
                var(--color-bg-base) 100%);
}

.timeline-item {
    position: relative;
    margin-bottom: 2.5rem;
}

.timeline-icon {
    position: absolute;
    left: -50px;
    top: 5px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--color-white);
    background-image: var(--paper-texture);
    border: 1px solid var(--color-gold-mid);
    color: var(--color-gold-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    z-index: 2;
    box-shadow: 0 2px 6px rgba(197, 160, 89, 0.08);
    transition: var(--transition-smooth);
}

.timeline-item:hover .timeline-icon {
    background: var(--color-gold-mid);
    color: var(--color-white);
    border-color: var(--color-gold-mid);
    transform: scale(1.1);
    box-shadow: var(--shadow-gold);
}

.timeline-content-card {
    background: var(--color-white);
    background-image: var(--paper-texture);
    border: 1px solid var(--color-gold-border);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    box-shadow: var(--shadow-subtle);
    transition: var(--transition-smooth);
    text-align: left;
    position: relative;
}

.timeline-content-card::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border: 1px dashed rgba(197, 160, 89, 0.15);
    border-radius: 12px;
    pointer-events: none;
}

.timeline-item:hover .timeline-content-card {
    transform: translateX(4px);
    box-shadow: var(--shadow-medium);
    border-color: var(--color-gold-mid);
}

.timeline-time {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-gold-dark);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.4rem;
}

.timeline-content-card h4 {
    font-size: 1.3rem;
    color: var(--color-forest-mid);
    margin-bottom: 0.4rem;
}

.timeline-content-card p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* ==========================================================================
   SECCIÓN GUARDAR LA FECHA (CALENDARIO)
   ========================================================================== */

.save-date-section {
    position: relative;
    z-index: 2;
}

.save-date-wrapper {
    background: var(--color-white);
    background-image: var(--paper-texture);
    border: 1px solid var(--color-gold-border);
    border-radius: 20px;
    padding: 3.5rem;
    max-width: 550px;
    margin: 0 auto;
    box-shadow: var(--shadow-medium);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.save-date-wrapper::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    border: 3px double var(--color-gold-border); /* Doble marco clásico */
    border-radius: 14px;
    pointer-events: none;
}

.calendar-visual {
    background: var(--color-white);
    background-image: var(--paper-texture);
    width: 140px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(197, 160, 89, 0.12);
    border: 1px solid var(--color-gold-border);
    transition: var(--transition-smooth);
    position: relative;
    z-index: 3;
}

.calendar-visual:hover {
    transform: rotate(-3deg) scale(1.04);
    box-shadow: var(--shadow-gold);
}

.cal-month {
    background: var(--color-sage-dark);
    color: var(--color-white);
    padding: 10px;
    font-size: 1.05rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.cal-day {
    font-size: 3.8rem;
    font-weight: 300;
    color: var(--color-forest-mid);
    line-height: 1.1;
    padding: 10px 0 2px 0;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.9);
}

.cal-day-name {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--color-gold-dark);
    font-weight: 600;
    padding-bottom: 12px;
}

/* ==========================================================================
   CÓDIGO DE VESTIMENTA (CON PALETA DE COLORES)
   ========================================================================== */

.dress-code-section {
    position: relative;
    z-index: 2;
}

.dress-code-wrapper {
    background-color: var(--color-white);
    background-image: var(--paper-texture);
    border: 1px solid var(--color-gold-border);
    border-radius: 20px;
    padding: 4.5rem 2.5rem;
    box-shadow: var(--shadow-medium);
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.dress-code-wrapper::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    border: 3px double var(--color-gold-border); /* Doble marco clásico */
    border-radius: 14px;
    pointer-events: none;
}

.dress-icon-gold {
    font-size: 2rem;
    color: var(--color-gold-mid);
    margin-bottom: 1rem;
    filter: drop-shadow(0 1px 1px rgba(255,255,255,0.8));
}

.dress-type {
    font-size: 2.2rem;
    color: var(--color-forest-mid);
    margin-bottom: 1.2rem;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.dress-desc {
    font-size: 0.95rem;
    max-width: 580px;
    margin: 0 auto 3rem auto;
    color: var(--color-text-main);
    line-height: 1.7;
    position: relative;
    z-index: 3;
}

.dress-visual-panels {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 3.5rem;
    position: relative;
    z-index: 3;
}

@media (max-width: 768px) {
    .dress-visual-panels {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.dress-panel {
    background: var(--color-white);
    background-image: var(--paper-texture);
    border-radius: 16px;
    padding: 2.5rem 1.8rem;
    box-shadow: var(--shadow-subtle);
    border: 1px solid var(--color-gold-border);
    transition: var(--transition-smooth);
    position: relative;
}

.dress-panel::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border: 1px dashed rgba(197, 160, 89, 0.15);
    border-radius: 12px;
    pointer-events: none;
}

.dress-panel:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
    border-color: var(--color-gold-mid);
}

.dress-panel i {
    font-size: 2.5rem;
    color: var(--color-gold-mid);
    margin-bottom: 1rem;
    filter: drop-shadow(0 1px 1px rgba(255,255,255,0.8));
}

.dress-panel h4 {
    font-size: 1.25rem;
    color: var(--color-forest-mid);
    margin-bottom: 0.6rem;
    font-weight: 500;
}

.dress-panel p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.dress-color-palette {
    border-top: 1px dashed var(--color-gold-border);
    padding-top: 2.5rem;
    margin-top: 2rem;
    position: relative;
    z-index: 3;
}

.palette-title {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-weight: 600;
    color: var(--color-sage-dark);
    margin-bottom: 1.5rem;
}

.palette-colors {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 1.2rem;
}

.color-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--color-white);
    box-shadow: 0 4px 10px rgba(44, 62, 53, 0.08);
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
}

.color-circle:hover {
    transform: scale(1.15);
    box-shadow: 0 8px 18px rgba(197, 160, 89, 0.25);
    z-index: 5;
}

.palette-note {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    font-style: italic;
}

/* ==========================================================================
   REGALOS (SECCIÓN PREMIUM)
   ========================================================================== */

.gift-section {
    position: relative;
    z-index: 2;
}

.gift-wrapper {
    background: var(--color-white);
    background-image: var(--paper-texture);
    border: 1px solid var(--color-gold-border);
    border-radius: 20px;
    padding: 4.5rem 2.5rem;
    box-shadow: var(--shadow-medium);
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.gift-wrapper::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    border: 3px double var(--color-gold-border); /* Doble marco clásico */
    border-radius: 14px;
    pointer-events: none;
}

.gift-message {
    font-size: 2rem;
    font-style: italic;
    color: var(--color-sage-dark);
    line-height: 1.5;
    margin-bottom: 1.5rem;
    font-weight: 300;
    position: relative;
    z-index: 3;
}

.gift-subtitle {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    max-width: 580px;
    line-height: 1.7;
    position: relative;
    z-index: 3;
}

.bank-details-box {
    background-color: var(--color-bg-alt);
    border: 1px dashed var(--color-gold-mid);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    width: 100%;
    max-width: 480px;
    text-align: center;
    transition: var(--transition-smooth);
}

.bank-details-box:hover {
    border-style: solid;
    box-shadow: var(--shadow-medium);
}

.bank-title {
    font-size: 1.1rem;
    color: var(--color-forest-dark);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.bank-info {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}

.account-number {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--color-forest-mid);
    letter-spacing: 1px;
    margin: 1rem 0;
}

.account-owner {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 1.8rem;
}

.btn-copy {
    background: var(--color-white);
    color: var(--color-forest-mid);
    border: 1px solid var(--color-sage-mid);
    padding: 12px 28px;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
}

.btn-copy:hover {
    background: var(--color-gold-gradient);
    color: var(--color-white);
    border-color: transparent;
    box-shadow: var(--shadow-gold);
    transform: translateY(-2px);
}

/* ==========================================================================
   GALERÍA MASÓNICA (ESTILO REVISTA EDITORIAL)
   ========================================================================== */

.gallery-section {
    position: relative;
    z-index: 2;
}

.gallery-visual-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 280px;
    gap: 24px;
    margin-top: 3.5rem;
}

@media (max-width: 768px) {
    .gallery-visual-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 320px;
        gap: 20px;
    }
}

.gallery-visual-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--color-gold-border);
    transition: var(--transition-smooth);
    cursor: pointer;
    background-color: var(--color-white);
    background-image: var(--paper-texture);
}

.gallery-visual-item::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 6px;
    right: 6px;
    bottom: 6px;
    border: 1px dashed rgba(197, 160, 89, 0.18);
    border-radius: 12px;
    pointer-events: none;
    z-index: 3;
}

.gallery-visual-item.item-tall {
    grid-row: span 2;
    border-radius: 120px 120px 16px 16px;
}

.gallery-visual-item.item-tall::after {
    border-radius: 114px 114px 10px 10px;
}

.gallery-visual-item.item-wide {
    grid-column: span 2;
    border-radius: 16px;
}

@media (max-width: 768px) {
    .gallery-visual-item.item-wide {
        grid-column: span 1;
    }
}

.gallery-visual-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s ease;
    display: block;
}

.gallery-overlay-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(74, 96, 83, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: 2;
}

.gallery-overlay-hover span {
    color: var(--color-bg-base);
    font-size: 1.8rem;
    font-style: italic;
    border-bottom: 1px solid var(--color-gold-light);
    padding-bottom: 5px;
    transform: translateY(10px);
    transition: var(--transition-smooth);
}

.gallery-visual-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-green);
    border-color: var(--color-gold-mid);
}

.gallery-visual-item:hover img {
    transform: scale(1.08);
}

.gallery-visual-item:hover .gallery-overlay-hover {
    opacity: 1;
}

.gallery-visual-item:hover .gallery-overlay-hover span {
    transform: translateY(0);
}

/* ==========================================================================
   CONFIRMACIÓN RSVP
   ========================================================================== */

.rsvp-section {
    position: relative;
    z-index: 2;
}

.rsvp-box {
    background: var(--color-white);
    border: 1px solid var(--color-gold-border);
    box-shadow: var(--shadow-medium);
    border-radius: 28px;
    padding: 4.5rem 3.5rem;
    max-width: 720px;
    margin: 0 auto;
    position: relative;
}

.rsvp-box::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border: 1px solid var(--color-gold-border);
    border-radius: 22px;
    pointer-events: none;
}

.rsvp-form {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: left;
    position: relative;
    z-index: 2;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-forest-mid);
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group input[type="text"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    background-color: var(--color-bg-base);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.92rem;
    color: var(--color-text-main);
    transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-sage-mid);
    background-color: var(--color-white);
    box-shadow: 0 0 0 3px rgba(143, 168, 155, 0.2);
}

/* Radio Tiles */
.radio-tiles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.radio-tile-label {
    cursor: pointer;
}

.radio-tile-label input[type="radio"] {
    display: none;
}

.tile-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 18px;
    background-color: var(--color-bg-base);
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    transition: var(--transition-smooth);
}

.tile-content i {
    font-size: 1.5rem;
    color: var(--color-text-muted);
    transition: var(--transition-smooth);
}

.tile-content span {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-muted);
}

.radio-tile-label input[type="radio"]:checked + .tile-content {
    background-color: var(--color-white);
    border-color: var(--color-sage-mid);
    box-shadow: var(--shadow-gold);
}

.radio-tile-label input[type="radio"]:checked + .tile-content i {
    color: var(--color-forest-mid);
}

.radio-tile-label input[type="radio"]:checked + .tile-content span {
    color: var(--color-forest-dark);
}

.radio-tile-label input[type="radio"][value="no"]:checked + .tile-content i {
    color: #C53030;
}

.hidden {
    display: none !important;
}

.btn-rsvp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.22);
    border-color: transparent;
    margin-top: 1rem;
}

.btn-rsvp:hover {
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.35);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
    background-color: var(--color-forest-dark);
    color: var(--color-white);
    padding: 6rem 2rem;
    position: relative;
    z-index: 2;
}

.botanical-footer-icon {
    font-size: 1.8rem;
    color: var(--color-gold-light);
    margin-bottom: 1.5rem;
    animation: pulseGold 3s infinite alternate;
}

.footer-names {
    font-size: 3rem;
    color: var(--color-gold-light);
    margin-bottom: 0.5rem;
    font-weight: 300;
}

.footer-date {
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0.8;
}

.footer-divider {
    height: 1px;
    width: 100px;
    background: var(--color-gold-mid);
    margin: 2.2rem auto;
}

.copyright {
    font-size: 0.75rem;
    opacity: 0.5;
    letter-spacing: 1px;
}

/* ==========================================================================
   ANIMACIONES Y RESPONSIVIDAD (MEDIA QUERIES)
   ========================================================================== */

/* Efectos al hacer Scroll */
.fade-in-up {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* Animaciones Clave */
@keyframes fadeInIntro {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseGold {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 0 0 rgba(197, 160, 89, 0));
    }
    100% {
        transform: scale(1.08);
        filter: drop-shadow(0 0 8px rgba(197, 160, 89, 0.45));
    }
}

/* Media Queries */
@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    
    .container {
        padding: 4rem 1.2rem;
    }
    
    .hero-section {
        height: auto;
        min-height: 100vh;
        padding: 6rem 1.5rem 3.5rem 1.5rem;
    }
    
    .hero-split-container {
        grid-template-columns: 1fr;
        gap: 35px;
        height: auto;
        justify-items: center;
        text-align: center;
    }
    
    .hero-text-side {
        text-align: center;
        padding-right: 0;
        align-items: center;
    }
    
    .hero-title {
        font-size: 3.8rem;
        line-height: 1.0;
        margin-bottom: 1.5rem;
    }
    
    .hero-title .and-sym {
        font-size: 3.2rem;
        margin-left: 0.8rem;
    }
    
    .hero-divider-line {
        margin: 1.5rem auto;
    }
    
    .hero-date, .hero-location {
        justify-content: center;
    }
    
    .hero-location {
        margin-bottom: 2.2rem;
    }
    
    .btn-hero {
        align-self: center;
    }
    
    .hero-visual-side {
        width: 100%;
    }
    
    .editorial-arch-border {
        width: 100%;
        max-width: 240px;
    }
    
    .love-quote {
        font-size: 1.9rem;
    }
    
    .parents-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 1.8rem;
    }
    
    .countdown-container {
        gap: 10px;
    }
    
    .countdown-card {
        padding: 1.5rem 0.5rem;
    }
    
    .countdown-number {
        font-size: 2.4rem;
    }
    
    .location-banner {
        height: 180px;
    }
    
    .location-card-content {
        padding: 3rem 1.5rem;
    }
    
    .map-buttons-container {
        flex-direction: column;
        gap: 12px;
    }
    
    .timeline {
        padding-left: 30px;
    }
    
    .timeline::before {
        left: 7px;
    }
    
    .timeline-icon {
        left: -40px;
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }
    
    .dress-visual-panels {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .gallery-visual-grid {
        grid-auto-rows: 200px;
        gap: 10px;
    }
    
    .rsvp-box {
        padding: 3rem 1.8rem;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .countdown-number {
        font-size: 2rem;
    }
    
    .cal-day {
        font-size: 3.2rem;
    }
}

/* ==========================================================================
   PASES PERSONALIZADOS (BOLETO PREMIUM / LUXURY PASS)
   ========================================================================== */
.personalized-section {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.vip-pass-card {
    background: var(--color-white);
    background-image: var(--paper-texture); /* Textura táctil de papel fino */
    border: 1px solid var(--color-gold-border);
    border-radius: 18px;
    padding: 3.5rem 2rem;
    max-width: 580px;
    margin: 3rem auto 1rem auto;
    position: relative;
    box-shadow: var(--shadow-medium);
    overflow: hidden;
}

/* Efecto de ticket clásico con muescas troqueladas en los costados */
.vip-pass-card::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 3px double var(--color-gold-border); /* Doble hilo de oro satinado */
    border-radius: 12px;
    pointer-events: none;
}

/* Las muescas circulares de perforación de gala física */
.vip-pass-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: -15px;
    width: 30px;
    height: 30px;
    background-color: var(--color-bg-base);
    background-image: var(--paper-texture);
    border: 1px solid var(--color-gold-border);
    border-radius: 50%;
    transform: translateY(-50%);
    box-shadow: inset -6px 0 10px rgba(44, 62, 53, 0.04);
    z-index: 2;
}

.vip-pass-card-inner {
    position: relative;
    z-index: 3;
}

/* Muesca derecha simétrica */
.vip-pass-card-inner::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -35px;
    width: 30px;
    height: 30px;
    background-color: var(--color-bg-base);
    background-image: var(--paper-texture);
    border: 1px solid var(--color-gold-border);
    border-radius: 50%;
    transform: translateY(-50%);
    box-shadow: inset 6px 0 10px rgba(44, 62, 53, 0.04);
    z-index: 2;
}

.vip-seal-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.vip-seal {
    background: transparent;
    color: var(--color-gold-dark);
    border: 1px solid var(--color-gold-mid);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 4px;
    padding: 6px 18px;
    border-radius: 50px;
    display: inline-block;
    box-shadow: 0 2px 6px rgba(197, 160, 89, 0.08);
    position: relative;
}

.vip-seal::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border: 1px dashed rgba(197, 160, 89, 0.4);
    border-radius: 50px;
}

.vip-pass-title {
    color: var(--color-sage-dark);
    font-size: 1.3rem;
    margin-bottom: 0.6rem;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.guest-name {
    font-size: 2.5rem;
    color: var(--color-forest-mid);
    margin-bottom: 1rem;
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: 0.5px;
}

.gold-card-divider {
    width: 50px;
    height: 1px;
    background-color: var(--color-gold-mid);
    margin: 1rem auto;
}

.passes-text {
    color: var(--color-text-muted);
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 0.72rem;
    margin-bottom: 1.5rem;
}

.passes-count {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.pass-badge {
    background: var(--color-sage-light);
    color: var(--color-sage-dark);
    border: 1px solid rgba(155, 178, 164, 0.35);
    padding: 10px 24px;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(44, 62, 53, 0.02);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-smooth);
}

.pass-badge-kids {
    background: var(--color-bg-alt);
    color: var(--color-gold-dark);
    border: 1px solid rgba(197, 160, 89, 0.25);
}

.pass-badge:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
    border-color: var(--color-gold-mid);
}

/* ==========================================================================
   NUEVAS CONFIGURACIONES: ÁLBUM DE FOTOS DINÁMICO E INTERACTIVO
   ========================================================================== */

/* Pestañas de Navegación */
.gallery-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 2.5rem 0 3rem 0;
    position: relative;
    z-index: 2;
}

.tab-btn {
    background: var(--color-white);
    background-image: var(--paper-texture);
    border: 1px solid var(--color-gold-border);
    padding: 12px 28px;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-sage-dark);
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(44, 62, 53, 0.03);
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 8px;
}

.tab-btn:hover {
    border-color: var(--color-gold-mid);
    transform: translateY(-2px);
}

.tab-btn.active {
    background: var(--color-sage-dark);
    color: var(--color-white);
    border-color: var(--color-sage-dark);
    box-shadow: var(--shadow-medium);
    font-weight: 600;
}

/* Transiciones de contenido de pestañas */
.tab-content {
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.tab-content.hidden {
    display: none !important;
    opacity: 0;
    transform: translateY(10px);
}

.tab-content.active {
    display: block !important;
    opacity: 1;
    transform: translateY(0);
}

/* Auténtica Cuadrícula Pinterest Masonry Fluida (CSS Nativo Ultra-Rendimiento) */
.gallery-visual-grid-dynamic {
    column-count: 3;
    column-gap: 20px;
    margin-top: 1rem;
    position: relative;
}

@media (max-width: 768px) {
    .gallery-visual-grid-dynamic {
        column-count: 2;
        column-gap: 15px;
    }
}

@media (max-width: 480px) {
    .gallery-visual-grid-dynamic {
        column-count: 1;
    }
}

/* Items dinámicos */
.gallery-item-dynamic {
    display: inline-block; /* Crucial para evitar la ruptura de imágenes en columnas */
    width: 100%;
    margin-bottom: 20px;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
    border: 1px solid var(--color-gold-border);
    transition: var(--transition-smooth);
    cursor: pointer;
    background: var(--color-white);
}

.gallery-item-dynamic img {
    width: 100%;
    height: auto; /* Altura fluida para conservar la relación de aspecto real */
    display: block;
    transition: transform 0.8s ease;
}

.gallery-item-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 24px 15px 12px 15px;
    background: linear-gradient(to top, rgba(30, 43, 37, 0.92) 0%, rgba(30, 43, 37, 0.45) 60%, transparent 100%);
    color: var(--color-white);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: left;
    display: flex;
    flex-direction: column;
    z-index: 2;
}

.gallery-item-author {
    font-size: 1.05rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    color: var(--color-gold-light);
    margin-bottom: 2px;
}

.gallery-item-date {
    font-size: 0.68rem;
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gallery-item-dynamic:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-gold);
    border-color: var(--color-gold-mid);
}

.gallery-item-dynamic:hover img {
    transform: scale(1.04);
}

.gallery-item-dynamic:hover .gallery-item-info {
    transform: translateY(0);
}

/* Fotos clickeables generales */
.clickable-photo {
    cursor: pointer;
}

/* Estado de carga y mensajes de estado */
.gallery-loading-state, .gallery-empty-state {
    grid-column: 1 / -1;
    padding: 5rem 2rem;
    color: var(--color-text-muted);
    font-family: 'Montserrat', sans-serif;
    background: var(--glass-bg);
    border: 1px dashed var(--color-gold-border);
    border-radius: 20px;
    backdrop-filter: blur(5px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 250px;
}

.gallery-empty-state i {
    font-size: 3rem;
    color: var(--color-gold-mid);
    margin-bottom: 1.2rem;
    opacity: 0.7;
}

.gallery-empty-state p {
    font-size: 0.95rem;
    max-width: 320px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Botón flotante para subir fotos */
.btn-upload-trigger {
    background: var(--color-gold-gradient);
    color: var(--color-white);
    border: none;
    padding: 16px 36px;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: var(--shadow-gold);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 2.5rem;
    transition: var(--transition-smooth);
    position: relative;
    z-index: 5;
}

.btn-upload-trigger:hover {
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 15px 30px rgba(197, 160, 89, 0.45);
}

.btn-upload-trigger i {
    font-size: 1.1rem;
}

/* ==========================================================================
   MODAL DE CARGA PREMIUM (GLASSMORPHISM)
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(30, 43, 37, 0.45); /* Verde bosque translúcido suave */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay:not(.hidden) {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: var(--color-white);
    background-image: var(--paper-texture); /* Textura táctil de papel */
    border: 1px solid var(--color-gold-border);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    width: 100%;
    max-width: 520px;
    position: relative;
    box-shadow: var(--shadow-medium);
    transform: translateY(40px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-content::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    border: 3px double var(--color-gold-border); /* Doble marco clásico */
    border-radius: 14px;
    pointer-events: none;
}

.modal-overlay:not(.hidden) .modal-content {
    transform: translateY(0) scale(1);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--color-bg-base);
    border: 1px solid var(--color-gold-border);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: var(--color-sage-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    z-index: 10;
}

.close-modal:hover {
    background: var(--color-sage-dark);
    color: var(--color-white);
    border-color: var(--color-sage-dark);
    transform: rotate(90deg);
}

.modal-header-icon {
    font-size: 2rem;
    color: var(--color-gold-mid);
    margin-bottom: 0.8rem;
    filter: drop-shadow(0 1px 1px rgba(255,255,255,0.8));
}

.modal-header h3 {
    font-size: 1.8rem;
    color: var(--color-forest-mid);
    margin-bottom: 0.5rem;
    font-weight: 300;
}

.modal-header p {
    font-size: 0.82rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
    line-height: 1.5;
}

/* Dropzone de Archivo de Gala */
.file-dropzone {
    border: 2px dashed var(--color-gold-mid);
    border-radius: 16px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    background: rgba(243, 236, 225, 0.25);
    cursor: pointer;
    display: block;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.file-dropzone:hover, .file-dropzone.dragover {
    background: rgba(155, 178, 164, 0.1);
    border-color: var(--color-sage-dark);
}

.dropzone-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--color-sage-dark);
}

.dropzone-content i {
    font-size: 2.5rem;
    color: var(--color-gold-mid);
    margin-bottom: 0.5rem;
    transition: var(--transition-smooth);
}

.file-dropzone:hover .dropzone-content i {
    transform: translateY(-4px);
    color: var(--color-sage-dark);
}

.dropzone-content .main-text {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.dropzone-content .sub-text {
    font-size: 0.72rem;
    opacity: 0.75;
}

/* Vista previa de imagen subida */
.preview-container {
    position: relative;
    width: 100%;
    max-height: 200px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
}

.preview-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-height: 200px;
}

.change-file-btn {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-forest-dark);
    color: var(--color-white);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-smooth);
}

.change-file-btn:hover {
    background: var(--color-gold-mid);
    box-shadow: var(--shadow-gold);
}

/* Barra de Progreso Dorada */
.progress-container {
    margin-top: 1.5rem;
    text-align: left;
}

.progress-bar-bg {
    background: var(--color-bg-alt);
    height: 6px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 6px;
    border: 1px solid rgba(197, 160, 89, 0.1);
}

.progress-bar-fill {
    background: var(--color-gold-gradient);
    width: 0%;
    height: 100%;
    border-radius: 10px;
    transition: width 0.2s ease;
}

.progress-text {
    font-size: 0.75rem;
    color: var(--color-sage-dark);
    font-weight: 600;
}

/* ==========================================================================
   LIGHTBOX INTERACTIVO (PREMIUM)
   ========================================================================== */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(30, 43, 37, 0.95); /* Cristal verde oscuro */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-overlay:not(.hidden) {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-close {
    position: absolute;
    top: 25px;
    right: 25px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: var(--color-white);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    z-index: 10;
}

.lightbox-close:hover {
    background: var(--color-gold-mid);
    border-color: var(--color-gold-mid);
    color: var(--color-white);
    transform: scale(1.1) rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: var(--color-white);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    z-index: 5;
}

.lightbox-nav:hover {
    background: var(--color-gold-mid);
    border-color: var(--color-gold-mid);
    color: var(--color-white);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.lightbox-content {
    max-width: 85vw;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-overlay:not(.hidden) .lightbox-content {
    transform: scale(1);
}

.lightbox-content img {
    max-width: 100%;
    max-height: 70vh;
    border-radius: 16px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
    object-fit: contain;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.lightbox-caption {
    margin-top: 20px;
    text-align: center;
    color: var(--color-white);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

#lightbox-author {
    font-size: 1.6rem;
    color: var(--color-gold-light);
    font-weight: 300;
}

#lightbox-date {
    font-size: 0.75rem;
    opacity: 0.7;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsividad Móvil del Álbum y Modales */
@media (max-width: 768px) {
    .gallery-visual-grid-dynamic {
        column-count: 2; /* Mantener Masonry de 2 columnas en móviles */
        column-gap: 15px;
    }
    
    .gallery-item-dynamic {
        margin-bottom: 15px;
    }
    
    .gallery-item-author {
        font-size: 0.95rem;
    }
    
    .btn-upload-trigger {
        padding: 14px 28px;
        font-size: 0.78rem;
    }
    
    .modal-content {
        padding: 2.2rem 1.5rem;
    }
    
    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 0.85rem;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
    
    .lightbox-caption {
        margin-top: 15px;
    }
    
    #lightbox-author {
        font-size: 1.4rem;
    }
}
