


/* --- PANTALLA DE BIENVENIDA (OVERLAY) --- 
        #intro-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            background: rgba(0, 0, 0, 0.9); /* Fondo negro semitransparente * 
/*            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 10000; /* Siempre por encima de todo */
/*            cursor: pointer;
            transition: opacity 0.8s ease, visibility 0.8s;
        }

        #intro-overlay.hidden {
            opacity: 0;
            visibility: hidden;
        }

        #intro-overlay img {
            max-width: 80%;
            max-height: 70%;
            border-radius: 20px;
            box-shadow: 0 0 50px rgba(255, 255, 255, 0.1);
            animation: pulse 3s infinite ease-in-out;
        }

        @keyframes pulse {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.05); }
        } Funciona con una imagen */



        #intro-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            background: rgba(0, 0, 0, 0.92);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 10000;
            cursor: pointer;
            transition: opacity 0.8s ease, visibility 0.8s;
        }

        #intro-overlay.hidden {
            opacity: 0;
            visibility: hidden;
        }

        /* Contenedor para que la imagen no salte al cambiar */
        .img-wrapper {
            width: 80%;
            height: 70%;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        #overlay-img {
            max-width: 100%;
            max-height: 100%;
            border-radius: 20px;
            box-shadow: 0 0 50px rgba(255, 255, 255, 0.1);
            transition: opacity 0.5s ease-in-out; /* Transición suave entre fotos */
        }

/* --- CONTENIDO PRINCIPAL --- */
        .main-container { width: 100%; padding-top: 20vh; padding-bottom: 50vh; }


/* --- SECCIÓN 1: HERO (Imagen se encoge a la izquierda) --- */
        .hero-section {
            width: 100%;
            height: 50vh;
            display: inline;
            align-items: center;
            position: relative;
            margin-bottom: 50px;
        }

        .hero-image {
            position: absolute;
            top: 0; left: 0;
            width: 100%; height: 70%;
            z-index: 2;
            transition: all 1.2s cubic-bezier(0.6, 0, 0.2, 1);
        }

        .hero-text {
            flex: 1;
            height: 100%;
            margin-left: 50%;
            padding-top: 5%;
            opacity: 0;
            color: #666; 
            transform: translateX(-30px);
            transition: all 1s ease;
            z-index: 2;
        }

        /* Animación Sección 1 */
        .hero-section.animate-in .hero-image {
            width: 35%; 
            left: 3%;
            border-radius: 20px;
        }

        .hero-section.animate-in .hero-text {
            opacity: 1;
            transform: translateX(0);
            transition-delay: 0.5s;
        }

/* --- SECCIÓN 2: GALERÍA (Imágenes se hacen cuadros 10%) --- */
        .gallery-container { display: flex; flex-direction: column; width: 100%; }
        
        .row2 { display: flex; width: 100%; }
        .row-large { height: 50vh; }
        .row-split { height: 50vh; display: grid; grid-template-columns: 1fr 1fr; }

        .gallery-item {
            position: relative;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 20px;
            overflow: hidden;
        }

        .gallery-item img {
            position: absolute;
            top: 0; left: 0;
            width: 100%; height: 100%;
            z-index: 2;
            transition: all 1.2s cubic-bezier(0.6, 0, 0.2, 1);
        }

        .description {
            opacity: 0;
            transform: translateY(20px);
            transition: all 0.8s ease;
            max-width: 80%;
            color: #666; 
            font-size: 16px; 
            text-align: justify;
        }

        .description h3{
            text-align: center;
        }

        /* Animación Sección 2 */
        .gallery-item.animate-in img {
            width: 90px;
            height: 90px;
            top: 15%;
            left: 50%;
            transform: translateX(-50%);
            border-radius: 12px;
        }

        .gallery-item.animate-in .description {
            opacity: 1;
            transform: translateY(60px);
            transition-delay: 0.4s;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .row-split { grid-template-columns: 1fr; height: auto; }
            .hero-section.animate-in .hero-image { width: 90%; height: 40%; top: 5%; left: 5%; transform: none; }
            .hero-section.animate-in .hero-text { margin-left: 0; margin-top: 50%; text-align: center; }
        }