section{
    margin-top: 200px;
    margin-bottom: 50px;
}
h2{
    text-align: center;
    font-size: 50px;
    color: #004E7C;
    margin-top: 120px;
}
.galeria{
    background-color:  #F2E9E4;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 300px; /* 👈 controla la distancia desde el navbar */
    height: 100vh;
}

.galeria .imagenes{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.galeria .imagenes img {
    width: 400px;         /* ancho fijo */
    height: 300px;        /* alto fijo */
    object-fit: cover;    /* recorta la imagen sin deformarla */
    border-radius: 10px;
    transition: .3s ease;
}


.galeria .imagenes img:hover{
    transform: scale(1.02);
}
