
        /* ==========================================================================
           1. SISTEMA DE DISEÑO (MINIMALISTA MODERNO / EDITORIAL)
           ========================================================================== */
        :root {
            --color-fondo: #FFFFFF; /* Blanco puro */
            --color-fondo-alt: #F9F9F9; /* Gris ultra suave para contrastar secciones */
            --color-texto: #1A1A1A; /* Negro casi puro */
            --color-texto-suave: #666666; /* Gris medio para textos secundarios */
            --color-lineas: #E0E0E0; /* Gris muy claro para divisores */
            
            --fuente-titulos: 'Cinzel', serif;
            --fuente-textos: 'Montserrat', sans-serif;

            --espaciado-seccion: 100px 0;
        }

        /* ==========================================================================
           2. RESET Y ESTILOS GLOBALES
           ========================================================================== */
        * { margin: 0; padding: 0; box-sizing: border-box; }
        html { scroll-behavior: smooth; }
        body { font-family: var(--fuente-textos); background-color: var(--color-fondo); color: var(--color-texto); line-height: 1.8; font-weight: 300; overflow-x: hidden; text-align: center; }
        
        h1, h2, h3, h4 { font-family: var(--fuente-titulos); font-weight: 400; text-transform: uppercase; letter-spacing: 2px; }
        p { font-size: 0.9rem; color: var(--color-texto-suave); }
        a { text-decoration: none; color: inherit; }
        
        .contenedor { max-width: 700px; margin: 0 auto; padding: 0 6%; }
        .seccion-padding { padding: var(--espaciado-seccion); }
        .divisor { width: 1px; height: 60px; background-color: var(--color-texto); margin: 0 auto 40px; }

        /* --- ANIMACIONES DE SCROLL --- */
        .fade-up { opacity: 0; transform: translateY(40px); transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1s cubic-bezier(0.2, 0.8, 0.2, 1); }
        .fade-up.visible { opacity: 1; transform: translateY(0); }
        .delay-1 { transition-delay: 200ms; } .delay-2 { transition-delay: 400ms; }

        /* ==========================================================================
           3. PANTALLA DE BIENVENIDA (SOBRE DIGITAL)
           ========================================================================== */
        #pantalla-bienvenida {
            position: fixed; top: 0; left: 0; width: 100%; height: 100%;
            background-color: var(--color-fondo); z-index: 99999;
            display: flex; flex-direction: column; justify-content: center; align-items: center;
            transition: transform 1s cubic-bezier(0.7, 0, 0.3, 1), opacity 1s ease;
        }
        #pantalla-bienvenida.abierto { transform: translateY(-100vh); opacity: 0; pointer-events: none; }
        
        .bienvenida-nombres { font-family: var(--fuente-titulos); font-size: 3rem; margin-bottom: 30px; letter-spacing: 5px; }
        .btn-abrir {
            background: transparent; color: var(--color-texto); border: 1px solid var(--color-texto);
            padding: 15px 40px; font-family: var(--fuente-textos); text-transform: uppercase; letter-spacing: 3px;
            font-size: 0.8rem; cursor: pointer; transition: all 0.4s ease;
        }
        .btn-abrir:hover { background: var(--color-texto); color: var(--color-fondo); }

        /* --- REPRODUCTOR DE MÚSICA FLOTANTE --- */
        #btn-musica {
            position: fixed; bottom: 30px; right: 30px; width: 50px; height: 50px;
            background: rgba(255,255,255,0.9); border: 1px solid var(--color-lineas); border-radius: 50%;
            display: flex; justify-content: center; align-items: center; z-index: 9990;
            cursor: pointer; box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: transform 0.3s;
        }
        #btn-musica:hover { transform: scale(1.1); }
        #btn-musica i { font-size: 1.2rem; color: var(--color-texto); }
        .girar { animation: girarDisco 4s linear infinite; }
        @keyframes girarDisco { 100% { transform: rotate(360deg); } }

        /* ==========================================================================
           4. PORTADA PRINCIPAL (EDITORIAL)
           ========================================================================== */
        .portada { 
            min-height: 100vh; 
            display: flex; 
            justify-content: center; 
            align-items: center; 
            position: relative; 
            overflow: hidden;
            padding: 40px 20px 140px; 
            box-sizing: border-box;
        }

        .portada::before {
            content: '';
            position: absolute;
            top: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 100%;
            max-width: 500px;
            height: 80vh;
            background-color: var(--color-fondo-alt);
            border-radius: 0 0 300px 300px;
            z-index: 0;
        }

        .portada-contenido {
            position: relative;
            z-index: 2;
            text-align: center;
            width: 100%;
            margin-top: 5vh;
        }

        .portada-top h3 { 
            font-size: 0.8rem; 
            letter-spacing: 6px; 
            color: var(--color-texto-suave); 
            margin-bottom: 30px; 
        }

        .imagen-hero { 
            width: 80%; 
            max-width: 360px; 
            height: 52vh; 
            margin: 0 auto; 
            position: relative; 
            border-radius: 200px 200px 0 0; 
            overflow: hidden;
            box-shadow: 0 20px 40px rgba(0,0,0,0.12); 
        }
        
        .imagen-hero img { 
            width: 100%; 
            height: 100%; 
            object-fit: cover; 
            filter: grayscale(90%) contrast(1.1); 
            transition: filter 0.8s ease, transform 0.8s ease;
        }

        .imagen-hero:hover img {
            filter: grayscale(0%) contrast(1.1);
            transform: scale(1.05);
        }

        .nombres-overlay {
            margin-top: -50px; 
            position: relative;
            z-index: 3;
        }
        
        .nombres-overlay h1 { 
            font-size: 5rem; 
            line-height: 1; 
            color: var(--color-texto);
            text-shadow: 0px 4px 15px rgba(255,255,255,0.9); 
        }
        
        .nombres-overlay h1 span {
            font-family: var(--fuente-textos);
            font-size: 2.5rem;
            font-weight: 200;
            font-style: italic;
            color: var(--color-texto-suave);
            display: inline-block;
            margin: 0 8px;
        }

        .fecha-hero { 
            font-size: 0.9rem; 
            letter-spacing: 5px; 
            margin-top: 25px; 
            text-transform: uppercase; 
            font-weight: 500;
            color: var(--color-texto);
        }

        /* --- CORRECCIÓN MARCA DE AGUA --- */
        .marca-agua {
            position: absolute;
            top: 48%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-family: var(--fuente-titulos);
            font-size: 20vw; 
            color: rgba(0,0,0,0.04); 
            z-index: 1;
            white-space: nowrap;
            pointer-events: none;
            letter-spacing: 4vw; 
            text-transform: uppercase;
        }

        .texto-invitacion {
            max-width: 550px;
            margin: 20px auto 40px; 
            padding: 0 15px;
        }

        .verso-hero {
            font-family: var(--fuente-titulos);
            font-size: 1.15rem;
            font-style: italic;
            color: var(--color-texto-suave);
            margin-bottom: 12px;
            text-transform: none;
            letter-spacing: 1px;
            line-height: 1.6;
        }

        .formal-hero {
            font-family: var(--fuente-textos);
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 3px;
            color: var(--color-texto);
            line-height: 1.8;
            font-weight: 500;
        }

        .scroll-indicador {
            position: absolute;
            bottom: 25px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 12px;
            z-index: 5;
        }

        .scroll-indicador span {
            font-size: 0.6rem;
            text-transform: uppercase;
            letter-spacing: 4px;
            color: var(--color-texto-suave);
        }

        .linea-scroll {
            width: 1px;
            height: 40px;
            background-color: var(--color-texto);
            animation: deslizarLinea 2s cubic-bezier(0.77, 0, 0.175, 1) infinite;
        }

        @keyframes deslizarLinea {
            0% { transform: scaleY(0); transform-origin: top; opacity: 1; }
            50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
            50.1% { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
            100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
        }

        /* ==========================================================================
           5. CUENTA REGRESIVA MINIMALISTA
           ========================================================================== */
        .seccion-contador { background-color: var(--color-fondo-alt); }
        .contador-grid { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; }
        .contador-box { display: flex; flex-direction: column; align-items: center; }
        .contador-numero { font-family: var(--fuente-titulos); font-size: 3rem; font-weight: 400; line-height: 1; color: var(--color-texto); }
        .contador-label { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 3px; margin-top: 10px; color: var(--color-texto-suave); }

        /* ==========================================================================
           6. ITINERARIO (LÍNEA DE TIEMPO)
           ========================================================================== */
        .timeline { position: relative; max-width: 400px; margin: 0 auto; text-align: left; padding: 20px 0; }
        .timeline::before { content: ''; position: absolute; top: 0; bottom: 0; left: 15px; width: 1px; background-color: var(--color-lineas); }
        
        .timeline-item { position: relative; padding-left: 50px; margin-bottom: 40px; }
        .timeline-item:last-child { margin-bottom: 0; }
        
        .timeline-punto { position: absolute; left: 11px; top: 5px; width: 9px; height: 9px; background-color: var(--color-fondo); border: 1px solid var(--color-texto); border-radius: 50%; }
        .timeline-hora { font-family: var(--fuente-titulos); font-size: 1.1rem; color: var(--color-texto); margin-bottom: 5px; }
        .timeline-titulo { font-weight: 500; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 1px; color: var(--color-texto); }
        .timeline-desc { font-size: 0.8rem; margin-top: 5px; }

        /* ==========================================================================
           7. CÓDIGO DE VESTIMENTA Y MESA DE REGALOS
           ========================================================================== */
        .seccion-info { background-color: var(--color-fondo-alt); }
        .info-grid { display: grid; grid-template-columns: 1fr; gap: 60px; }
        
        .info-card { text-align: center; padding: 0 20px; }
        .info-icon { font-size: 2.5rem; margin-bottom: 20px; color: var(--color-texto); }
        .info-card h3 { font-size: 1.2rem; margin-bottom: 15px; }
        
        .btn-linea { display: inline-block; padding: 10px 30px; margin-top: 20px; border-bottom: 1px solid var(--color-texto); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px; transition: opacity 0.3s; cursor: pointer; }
        .btn-linea:hover { opacity: 0.6; }

        .datos-bancarios { display: none; margin-top: 20px; padding: 20px; background: var(--color-fondo); border: 1px solid var(--color-lineas); font-size: 0.85rem; }
        .datos-bancarios.visible { display: block; animation: fadeIn 0.5s ease; }
        @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

        /* ==========================================================================
           8. MINI GALERÍA FOTOGRÁFICA (CARRUSEL)
           ========================================================================== */
        .galeria-container { position: relative; width: 100vw; margin-left: calc(-50vw + 50%); margin-top: 40px; }
        .galeria-wrapper { overflow: hidden; }
        .galeria-scroll { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; padding: 0 5%; gap: 20px; padding-bottom: 20px; }
        .galeria-scroll::-webkit-scrollbar { display: none; } 
        
        .foto-item { flex: 0 0 80%; max-width: 400px; scroll-snap-align: center; position: relative; aspect-ratio: 3/4; }
        .foto-item img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(80%); transition: filter 0.5s ease; border-radius: 4px; }
        .foto-item:hover img { filter: grayscale(0%); }

        .carrusel-btn { 
            position: absolute; 
            top: 50%; 
            transform: translateY(-50%); 
            background: rgba(255, 255, 255, 0.9); 
            border: 1px solid var(--color-lineas); 
            width: 40px; 
            height: 40px; 
            border-radius: 50%; 
            display: flex; 
            align-items: center; 
            justify-content: center; 
            cursor: pointer; 
            z-index: 10; 
            box-shadow: 0 4px 15px rgba(0,0,0,0.1); 
            transition: all 0.3s; 
            color: var(--color-texto); 
            font-size: 1.1rem; 
        }
        .carrusel-btn:hover { background: var(--color-texto); color: var(--color-fondo); }
        .carrusel-prev { left: 5px; }
        .carrusel-next { right: 5px; }

        @media (min-width: 768px) {
            .carrusel-prev { left: 5%; }
            .carrusel-next { right: 5%; }
        }

        /* ==========================================================================
           9. RSVP Y FOOTER COMERCIAL
           ========================================================================== */
        .btn-rsvp { display: inline-block; background-color: var(--color-texto); color: var(--color-fondo); padding: 18px 45px; font-family: var(--fuente-titulos); text-transform: uppercase; letter-spacing: 3px; font-size: 0.9rem; transition: background 0.3s, color 0.3s; border: 1px solid var(--color-texto); }
        .btn-rsvp:hover { background-color: transparent; color: var(--color-texto); }

        .footer-comercial { background-color: var(--color-texto); color: var(--color-fondo); padding: 60px 20px 40px; text-align: center; }
        .footer-comercial h3 { font-size: 1rem; color: var(--color-fondo); margin-bottom: 20px; }
        .social-links { display: flex; justify-content: center; gap: 20px; margin-bottom: 30px; }
        .social-link { color: var(--color-fondo); font-size: 1.5rem; transition: opacity 0.3s; }
        .social-link:hover { opacity: 0.6; }
        .creditos { font-size: 0.75rem; color: #999; letter-spacing: 1px; }

        /* ==========================================================================
           10. RESPONSIVO
           ========================================================================== */
        @media (max-width: 600px) {
            .bienvenida-nombres { font-size: 2.2rem; }
            .contador-grid { gap: 15px; }
            .contador-numero { font-size: 2.2rem; }
            .foto-item { flex: 0 0 90%; }
            .btn-rsvp { width: 100%; padding: 15px 20px; }
            
            .nombres-overlay h1 { font-size: 3.5rem; margin-top: -40px; }
            .nombres-overlay h1 span { font-size: 2rem; }
            .imagen-hero { height: 42vh; } 
            
            .marca-agua { font-size: 25vw; letter-spacing: 3vw; }
            
            .carrusel-btn {
                width: 35px;
                height: 35px;
                font-size: 1rem;
            }
        }
        @media (min-width: 768px) {
            .info-grid { grid-template-columns: 1fr 1fr; }
        }