.gallery-section {
    width: 100%;
    margin: 50px auto;
}

/* Tabs */

.tabs {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-bottom: 32px;
}

.tab-btn {
    padding: 10px 26px;
    border: 1px solid grey;
    background-color: #fff;
    color: #111;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.3px;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.25s ease;
}

.tab-btn:hover {
    background-color: #111;
    color: #fff;
}

.tab-btn.active {
    background-color: grey;
    color: white;
    border-color: grey;
}

/* Contenido */

.gallery-content {
    display: none;
}

.gallery-content.active {
    display: block;
}

/* Grilla */

.gallery-grid {
    display: grid;
    grid-template-columns: 2.5fr 1fr 1fr;
    gap: 10px;
    height: 520px;
}

.gallery-col {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 18px;
}

.gallery-col-large {
    grid-template-rows: 1fr;
}

.gallery-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 18px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-col img:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

/* Versión móvil */

@media (max-width: 768px) {

    .gallery-section {
        width: 92%;
        margin: 30px auto;
    }

    .tabs {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .tab-btn {
        width: 100%;
        border-radius: 0;
        text-align: center;
    }

    .gallery-grid {
        display: flex;
        flex-direction: column;
        height: auto;
        gap: 16px;
    }

    .gallery-col {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .gallery-col img {
        height: 260px;
        border-radius: 14px;
    }
}