 
        /* ══════════════════════════════════════
          
        ══════════════════════════════════════ */

        /* ── Filtros ── */
        .galeria-filtros {
            display: flex;
            flex-wrap: wrap;
            gap: .5rem;
            margin-bottom: 1.5rem;
        }
        .btn-filtro-gal {
            font-size: .78rem;
            font-weight: 600;
            letter-spacing: .05em;
            text-transform: uppercase;
            border: 2px solid #ddd;
            background: transparent;
            color: #3a3a3a;
            border-radius: 30px;
            padding: .32rem 1rem;
            cursor: pointer;
            transition: all .2s ease;
        }
        .btn-filtro-gal:hover {
            border-color: #F5B800;
            background: rgba(245,184,0,.1);
        }
        .btn-filtro-gal.activo {
            background: #F5B800;
            border-color: #F5B800;
            color: #1a1a1a;
            box-shadow: 0 3px 10px rgba(245,184,0,.4);
        }

        /* ── Contador ── */
        .galeria-contador {
            font-size: .82rem;
            color: #888;
            font-weight: 600;
            margin-bottom: 1.2rem;
        }
        .galeria-contador span {
            color: #c99000;
            font-size: 1rem;
        }

        /* ── Tarjeta de foto ── */
        .foto-card-wrapper.oculta {
            display: none !important;
        }
        .foto-card-gal {
            border-radius: 8px;
            overflow: hidden;
            background: #fff;
            box-shadow: 0 2px 10px rgba(0,0,0,.08);
            transition: transform .25s ease, box-shadow .25s ease;
            cursor: pointer;
        }
        .foto-card-gal:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 26px rgba(0,0,0,.14);
        }
        .foto-img-wrap {
            position: relative;
            overflow: hidden;
            aspect-ratio: 4/3;
            background: #e8e8e8;
        }
        .foto-img-wrap img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform .4s ease;
        }
        .foto-card-gal:hover .foto-img-wrap img {
            transform: scale(1.07);
        }

        /* Overlay hover */
        .foto-overlay-gal {
            position: absolute;
            inset: 0;
            background: linear-gradient(to top, rgba(0,0,0,.6) 0%, transparent 60%);
            opacity: 0;
            transition: opacity .25s ease;
            display: flex;
            align-items: flex-end;
            justify-content: space-between;
            padding: .75rem;
        }
        .foto-card-gal:hover .foto-overlay-gal {
            opacity: 1;
        }
        .foto-overlay-gal .ov-titulo {
            color: #fff;
            font-size: .82rem;
            font-weight: 600;
        }
        .foto-overlay-gal .ov-icono {
            color: #F5B800;
            font-size: 1.2rem;
        }

        /* Etiqueta de categoría */
        .foto-etiqueta-gal {
            position: absolute;
            top: .6rem;
            left: .6rem;
            background: #F5B800;
            color: #1a1a1a;
            font-size: .65rem;
            font-weight: 700;
            letter-spacing: .08em;
            text-transform: uppercase;
            padding: .15rem .55rem;
            border-radius: 3px;
        }

        /* Pie de tarjeta */
        .foto-caption-gal {
            padding: .65rem .9rem .75rem;
        }
        .foto-caption-gal h6 {
            font-weight: 700;
            font-size: .85rem;
            margin-bottom: .1rem;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            color: #3a3a3a;
        }
        .foto-caption-gal small {
            color: #999;
            font-size: .75rem;
        }

        /* Animación entrada */
        .foto-card-gal {
            animation: gal-fadeUp .32s ease both;
        }
        @keyframes gal-fadeUp {
            from { opacity: 0; transform: translateY(16px); }
            to   { opacity: 1; transform: translateY(0); }
        }

        /* Sin resultados */
        .galeria-sin-resultados {
            display: none;
            text-align: center;
            padding: 3rem 1rem;
            color: #aaa;
        }
        .galeria-sin-resultados i {
            font-size: 2.5rem;
            margin-bottom: .75rem;
            display: block;
        }

        /* ── Lightbox ── */
        #galLightbox {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(0,0,0,.92);
            z-index: 9999;
            align-items: center;
            justify-content: center;
            flex-direction: column;
        }
        #galLightbox.visible {
            display: flex;
        }
        #galLightbox .lb-img {
            max-width: 88vw;
            max-height: 76vh;
            border-radius: 6px;
            object-fit: contain;
            box-shadow: 0 0 50px rgba(0,0,0,.8);
        }
        #galLightbox .lb-caption {
            color: #fff;
            margin-top: .9rem;
            text-align: center;
            font-size: .92rem;
        }
        #galLightbox .lb-caption strong {
            color: #F5B800;
        }
        #galLightbox .lb-close {
            position: absolute;
            top: 1rem;
            right: 1.3rem;
            color: #fff;
            font-size: 1.8rem;
            cursor: pointer;
            opacity: .8;
            transition: opacity .2s;
            background: none;
            border: none;
        }
        #galLightbox .lb-close:hover { opacity: 1; }
        #galLightbox .lb-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            color: #fff;
            font-size: 2rem;
            cursor: pointer;
            opacity: .7;
            transition: opacity .2s, color .2s;
            background: none;
            border: none;
        }
        #galLightbox .lb-nav:hover { opacity: 1; color: #F5B800; }
        #galLightbox .lb-prev { left: 1rem; }
        #galLightbox .lb-next { right: 1rem; }
  