.mision-hero {
    position: relative;
    height: 35vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('../img/fondos/fine4.png') center center / cover no-repeat fixed;
    color: white;
}

.mision-hero .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.mision-hero .content {
    position: relative;
    z-index: 2;
    text-align: center;
}


/* FILTROS */

.filter-group .filter-btn {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #ddd;
    color: #333;
    border-radius: 50px;
    padding: 10px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(6px);
}

.filter-group .filter-btn:hover,
.filter-group .filter-btn.active {
    background: #f0a500;
    border-color: #f0a500;
    color: white;
}


/* GALERÍA */

.gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.gallery-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.gallery-card:hover .gallery-img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 10px;
    text-align: center;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h5 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.gallery-overlay small {
    color: #ddd;
    font-size: 0.9rem;
}

.gallery-overlay .text-light {
    color: #f0a500 !important;
}


/* RESPONSIVE */

@media (max-width: 768px) {
    .gallery-img {
        height: 250px;
    }
}

@media (max-width: 576px) {
    .gallery-img {
        height: 200px;
    }
}


/* BOTÓN ANIMADO OPCIONAL PARA CARGA MÁS (si deseas usar luego) */

.load-more-btn {
    display: inline-block;
    padding: 12px 25px;
    background: #f0a500;
    color: white;
    font-weight: 500;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.load-more-btn:hover {
    background: #d18e00;
}

.filter-group .filter-btn i {
    transition: transform 0.3s ease;
}

.filter-group .filter-btn:hover i {
    transform: scale(1.2);
}