        /* =========================================== */
        /* VARIABLES CSS PERSONALIZADAS               */
        /* Paleta de colores: violetas y azules       */
        /* =========================================== */
        :root {
            --color-primario: #1a1033;
            --color-secundario: #4a2c7a;
            --color-terciario: #1e5bb8;
            --color-acento: #6366f1;
            --color-texto: #ffffff;
            --color-texto-secundario: rgba(255, 255, 255, 0.85);
            --color-fondo-card: rgba(255, 255, 255, 0.05);
            --color-borde: rgba(255, 255, 255, 0.1);
            --radio-borde: 16px;
            --radio-borde-sm: 12px;
            --sombra-card: 0 10px 40px rgba(0, 0, 0, 0.3);
            --sombra-hover: 0 20px 60px rgba(0, 0, 0, 0.4);
            --transicion: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        /* =========================================== */
        /* ESTILOS BASE Y FONDO GRADIENTE             */
        /* =========================================== */
        .fondo-gradiente {
            background: linear-gradient(135deg, var(--color-primario) 0%, var(--color-secundario) 50%, var(--color-terciario) 100%);
            min-height: 100vh;
        }

        /* =========================================== */
        /* CONTENEDOR PRINCIPAL                        */
        /* =========================================== */
        .contenedor-principal {
            max-width: 1280px;
            margin: 0 auto;
            padding: 2rem 1rem;
        }

        @media (min-width: 768px) {
            .contenedor-principal {
                padding: 3rem 2rem;
            }
        }

        /* =========================================== */
        /* BREADCRUMB - NAVEGACIÓN JERÁRQUICA         */
        /* =========================================== */
        .breadcrumb {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            margin-bottom: 2rem;
            font-size: 0.9rem;
            flex-wrap: wrap;
        }

        .breadcrumb a {
            color: var(--color-texto-secundario);
            text-decoration: none;
            transition: color 0.2s ease;
        }

        .breadcrumb a:hover {
            color: var(--color-texto);
            text-decoration: underline;
        }

        .breadcrumb-separador {
            color: rgba(255, 255, 255, 0.5);
        }

        .breadcrumb-actual {
            color: var(--color-texto);
            font-weight: 600;
        }

        /* =========================================== */
        /* ENCABEZADO DE LA SECCIÓN                   */
        /* =========================================== */
        .seccion-encabezado {
            text-align: center;
            margin-bottom: 3rem;
        }

        .seccion-titulo {
            font-size: 2rem;
            font-weight: 800;
            color: var(--color-texto);
            margin-bottom: 1rem;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
        }

        @media (min-width: 768px) 
            .seccion-titulo {
                font-size: 3rem;
            }
        }

        @media (min-width: 1024px) {
            .seccion-titulo {
                font-size: 3.5rem;
            }
        }

        .seccion-descripcion {
            font-size: 1.125rem;
            color: var(--color-texto-secundario);
            max-width: 600px;
            margin: 0 auto;
            line-height: 1.6;
        }

        /* =========================================== */
        /* ESTADÍSTICAS DE LA GALERÍA                 */
        /* =========================================== */
        .estadisticas-contenedor {
            display: flex;
            justify-content: center;
            gap: 3rem;
            margin-bottom: 3rem;
            flex-wrap: wrap;
        }

        .estadistica-item {
            text-align: center;
        }

        .estadistica-numero {
            font-size: 2.5rem;
            font-weight: 800;
            background: linear-gradient(135deg, #374151, #2a1a4a);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .estadistica-etiqueta {
            color: var(--color-texto-secundario);
            font-size: 0.9rem;
            background: linear-gradient(135deg, #374151, #2a1a4a);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
		    margin-top: 0.25rem;
        }

        @media (max-width: 640px) {
            .estadisticas-contenedor {
                gap: 1.5rem;
            }

            .estadistica-numero {
                font-size: 2rem;
            }
        }

        /* =========================================== */
        /* CONTENEDOR DE CATEGORÍAS                   */
        /* =========================================== */
        .categorias-contenedor {
            display: flex;
            flex-direction: column;
            gap: 4rem;
        }

        /* =========================================== */
        /* CATEGORÍA INDIVIDUAL - GLASS MORPHISM      */
        /* =========================================== */
        .categoria {
            background: var(--color-fondo-card);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border-radius: var(--radio-borde);
            padding: 2rem;
            border: 1px solid var(--color-borde);
        }

        @media (max-width: 640px) {
            .categoria {
                padding: 1rem;
            }
        }

        @media (min-width: 641px) and (max-width: 1024px) {
            .categoria {
                padding: 1.5rem;
            }
        }

        /* =========================================== */
        /* ENCABEZADO DE CATEGORÍA                    */
        /* =========================================== */
        .categoria-encabezado {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 2rem;
            padding-bottom: 1rem;
            border-bottom: 2px solid var(--color-borde);
        }

        @media (max-width: 640px) {
            .categoria-encabezado {
                flex-wrap: wrap;
            }
        }

        /* =========================================== */
        /* ICONO DE CATEGORÍA - GRADIENTE             */
        /* =========================================== */
        .categoria-icono {
            width: 48px;
            height: 48px;
            background: linear-gradient(135deg, var(--color-secundario), var(--color-terciario));
            border-radius: var(--radio-borde-sm);
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .categoria-icono svg {
            width: 24px;
            height: 24px;
            color: white;
        }

        /* =========================================== */
        /* TÍTULO DE CATEGORÍA                        */
        /* =========================================== */
        .categoria-titulo {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--color-texto);
            margin: 0;
        }

        @media (max-width: 640px) {
            .categoria-titulo {
                font-size: 1.25rem;
            }
        }

        /* =========================================== */
        /* CONTADOR DE FOTOS                          */
        /* =========================================== */
        .categoria-contador {
            background: rgba(255, 255, 255, 0.15);
            color: var(--color-texto);
            font-size: 0.875rem;
            font-weight: 600;
            padding: 4px 12px;
            border-radius: 9999px;
            margin-left: auto;
        }

        @media (max-width: 640px) {
            .categoria-contador {
                margin-left: 0;
                margin-top: 0.5rem;
            }
        }

        /* =========================================== */
        /* GRID DE IMÁGENES - RESPONSIVE              */
        /* 4 columnas (desktop)                       */
        /* 2 columnas (tablet)                        */
        /* 1 columna (móvil pequeño)                  */
        /* =========================================== */
        .galeria-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 1.5rem;
        }

        @media (max-width: 1024px) {
            .galeria-grid {
                grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
                gap: 1.25rem;
            }
        }

        @media (max-width: 640px) {
            .galeria-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 1rem;
            }
        }

        @media (max-width: 480px) {
            .galeria-grid {
                grid-template-columns: 1fr;
            }
        }

        /* =========================================== */
        /* TARJETA DE IMAGEN - EFECTOS HOVER          */
        /* =========================================== */
        .foto-tarjeta {
            position: relative;
            border-radius: var(--radio-borde);
            overflow: hidden;
            aspect-ratio: 4/3;
            background: rgba(255, 255, 255, 0.1);
            box-shadow: var(--sombra-card);
            transition: var(--transicion);
            display: block;
            text-decoration: none;
        }

        .foto-tarjeta:hover {
            transform: translateY(-8px) scale(1.02);
            box-shadow: var(--sombra-hover);
        }

        @media (max-width: 640px) {
            .foto-tarjeta {
                aspect-ratio: 1/1;
            }
        }

        @media (max-width: 480px) {
            .foto-tarjeta {
                aspect-ratio: 16/10;
            }
        }

        /* =========================================== */
        /* IMAGEN DENTRO DE LA TARJETA                */
        /* =========================================== */
        .foto-tarjeta img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .foto-tarjeta:hover img {
            transform: scale(1.1);

        }

        /* =========================================== */
        /* OVERLAY DE LA IMAGEN                       */
        /* =========================================== */
        .foto-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(
                to top,
                rgba(26, 16, 51, 0.9) 0%,
                rgba(26, 16, 51, 0.4) 40%,
                transparent 100%
            );
            opacity: 0;
            transition: opacity 0.3s ease;
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            padding: 1.5rem;
        }

        .foto-tarjeta:hover .foto-overlay {
            opacity: 1;
        }

        /* =========================================== */
        /* INFORMACIÓN DE LA FOTO                     */
        /* =========================================== */
        .foto-titulo {
            color: var(--color-texto);
            font-size: 1rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
        }

        .foto-descripcion {
            color: var(--color-texto-secundario);
            font-size: 0.875rem;
            line-height: 1.4;
        }

        /* =========================================== */
        /* ICONO DE ZOOM EN HOVER                     */
        /* =========================================== */
        .foto-icono-zoom {
            position: absolute;
            top: 1rem;
            right: 1rem;
            width: 40px;
            height: 40px;
            background: rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transform: scale(0.8);
            transition: all 0.3s ease;
        }

        .foto-tarjeta:hover .foto-icono-zoom {
            opacity: 1;
            transform: scale(1);
        }

        .foto-icono-zoom svg {
            width: 20px;
            height: 20px;
            color: white;
        }

        /* =========================================== */
        /* BOTÓN VER MÁS                              */
        /* =========================================== */
        .btn-ver-mas {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            background: linear-gradient(135deg, var(--color-terciario), var(--color-secundario));
            color: white;
            padding: 0.875rem 1.75rem;
            border-radius: 9999px;
            text-decoration: none;
            font-weight: 600;
            font-size: 0.95rem;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
            margin-top: 2rem;
        }

        .btn-ver-mas:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 30px rgba(30, 91, 184, 0.4);
        }

        /* =========================================== */
        /* ANIMACIONES DE ENTRADA                     */
        /* =========================================== */
        @keyframes aparecer-arriba {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .animacion-entrada {
            animation: aparecer-arriba 0.6s ease forwards;
        }

        /* Retrasos para animación escalonada */
        .retraso-1 { animation-delay: 100ms; }
        .retraso-2 { animation-delay: 200ms; }
        .retraso-3 { animation-delay: 300ms; }
        .retraso-4 { animation-delay: 400ms; }

        /* =========================================== */
        /* PERSONALIZACIÓN DEL LIGHTBOX               */
        /* =========================================== */
        .lb-outerContainer {
            border-radius: 16px !important;
        }

        .lb-data .lb-caption {
            font-size: 1rem !important;
            font-weight: 500 !important;
        }

        /* =========================================== */
        /* UTILIDADES - ESPACIO SUPERIOR              */
        /* =========================================== */
        .espacio-header {
            height: 80px;
        }