.grid-servicios {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    justify-items: center;
    justify-content: center;
}
  
.servicio {
    background-color: #0E0F3F;
    border-radius: 12px;
    overflow: hidden;
    width: 100%;
    max-width: 320px;
    transition: transform 0.3s ease;
}
  
.servicio:hover {
    transform: scale(1.03);
}
  
.servicio img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}
  
.servicio span {
    display: block;
    padding: 15px;
    font-weight: bold;
    color: white;
    text-align: center;
}