  /* BUNKER PARA EL HERO DE PROYECTOS (VIDEOS) */
        .gd-hero-projects {
            position: relative;
            height: 70vh; /* Un poco más bajo que el index para ver la galería rápido */
            min-height: 500px;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #000;
        }

        .gd-video-slider {
            position: absolute;
            top: 0; left: 0; width: 100%; height: 100%;
            z-index: 1;
        }

        .gd-v-slide {
            position: absolute;
            top: 0; left: 0; width: 100%; height: 100%;
            opacity: 0;
            transition: opacity 1.5s ease-in-out;
        }

        .gd-v-slide.active { opacity: 1; }

        .gd-v-slide video {
            width: 100%;
            height: 100%;
            object-fit: cover;
            filter: brightness(0.4); /* Oscurecemos para que el texto resalte */
        }

        .gd-hero-projects .gd-content {
            position: relative;
            z-index: 10;
            text-align: center;
            padding: 0 20px;
        }

        .gd-hero-projects h1 {
            font-family: 'Montserrat', sans-serif;
            font-size: clamp(2.5rem, 6vw, 4.5rem);
            font-weight: 800;
            color: white;
            text-transform: uppercase;
            margin-bottom: 15px;
        }

        .gd-hero-projects .highlight { color: #0091ea; }

        /* Estilos Lightbox corregidos */
        .lightbox {
            display: none;
            position: fixed;
            z-index: 9999;
            top: 0; left: 0;
            width: 100%; height: 100%;
            background: rgba(0,0,0,0.95);
            backdrop-filter: blur(10px);
            justify-content: center;
            align-items: center;
            flex-direction: column;
        }
        .lightbox-img {
            max-width: 90%;
            max-height: 80%;
            border: 2px solid #0091ea;
            box-shadow: 0 0 30px rgba(0,145,234,0.3);
            border-radius: 10px;
            transform: scale(0.9);
            transition: transform 0.3s ease;
        }
        .lightbox.active .lightbox-img { transform: scale(1); }
        .close-lightbox {
            position: absolute;
            top: 20px; right: 30px;
            color: white; font-size: 50px; cursor: pointer;
        }

        /* EFECTO SCANLINES (TRAMA DE VIDEO) */
.gd-hero-projects::after {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    /* Crea líneas horizontales de 2px */
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), 
                linear-gradient(90deg, rgba(255, 0, 0, 0.03), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.03));
    background-size: 100% 4px, 3px 100%;
    z-index: 2;
    pointer-events: none;
}

/* CORRECCIÓN PARA QUE LAS FOTOS CARGUEN AL INICIO */
.gallery-item {
    display: block !important; /* Fuerza a que existan en el DOM */
    opacity: 1 !important;     /* Fuerza visibilidad inicial */
    transform: translateY(0);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Ajuste del Grid para que no se rompa */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 40px 8%;
    background: #050505;
}

/* EFECTO GLITCH AL CAMBIAR VIDEO */
.glitch-effect {
    animation: gdGlitch 0.4s steps(2) cubic-bezier(0.1, 0, 0.1, 1);
    filter: contrast(120%) brightness(1.2);
}

@keyframes gdGlitch {
    0% { transform: translate(0); clip-path: inset(10% 0 30% 0); filter: hue-rotate(90deg); }
    20% { transform: translate(-10px, 5px); clip-path: inset(40% 0 10% 0); }
    40% { transform: translate(10px, -5px); filter: saturate(200%); }
    60% { transform: translate(-5px, 0); clip-path: inset(20% 0 50% 0); }
    80% { transform: translate(5px, 5px); filter: hue-rotate(-90deg); }
    100% { transform: translate(0); clip-path: inset(0); }
}

/* SCANLINES DINÁMICAS (Línea que baja por la pantalla) */
.gd-hero-projects::before {
    content: "";
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(0, 145, 234, 0.05),
        transparent
    );
    z-index: 4;
    animation: scanlineMove 8s linear infinite;
}

@keyframes scanlineMove {
    0% { top: -100%; }
    100% { top: 100%; }
}

.gd-btn-submit:hover i {
    animation: flyOut 0.6s ease forwards;
}

@keyframes flyOut {
    0% { transform: translate(0, 0) scale(1); opacity: 1; }
    50% { transform: translate(20px, -20px) scale(1.2); opacity: 0; }
    51% { transform: translate(-20px, 20px) scale(0); opacity: 0; }
    100% { transform: translate(0, 0) scale(1); opacity: 1; }
}

/* Botones de navegación del Lightbox */
.lb-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 145, 234, 0.2);
    color: white;
    border: 1px solid rgba(0, 145, 234, 0.5);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10000;
    backdrop-filter: blur(5px);
}

.lb-nav-btn:hover {
    background: #0091ea;
    box-shadow: 0 0 20px rgba(0, 145, 234, 0.6);
}

.lb-prev { left: 30px; }
.lb-next { right: 30px; }

/* Ocultar flechas en móviles pequeños para no tapar la foto */
@media (max-width: 768px) {
    .lb-nav-btn { width: 45px; height: 45px; font-size: 18px; }
    .lb-prev { left: 10px; }
    .lb-next { right: 10px; }
}