body.noscroll {
    overflow: hidden;
}

.servicios {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #f8f7f9 30%, #e8e6e3 100%);
}

.servicios h2  {
    font-size: 2.5rem;
    color: #625e37;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 35px;
}
a{
    text-decoration: none;
    color: black;
}
.contenedor-servicios {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1200px;
    margin: auto;
}

.servicio {
    background: white;
    border-radius: 15px;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
    width: 30%;
    min-width: 280px;
    padding: 35px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    text-align: center;
    border: 3px solid #cfa52f;
    cursor: pointer;
    overflow: hidden;
    position: relative;
}

.servicio:hover {
    transform: translateY(-12px);
    box-shadow: 0px 12px 24px rgba(0, 0, 0, 0.3);
}

.servicio img {
    width: 100%;
    border-radius: 15px;
    margin-bottom: 15px;
    height: 220px;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}

.saber-mas {
    display: inline-block;
    margin-top: 10px;
    font-size: 0.9rem;
    color: #cfa52f;
    font-weight: bold;
    transition: color 0.3s ease;
}

.saber-mas:hover {
    color: #8f741c;
    text-decoration: underline;
}

@media screen and (max-width: 1023px) {
    .servicio {
        width: 45%;
    }

    .servicios h2 {
        font-size: 2rem;
    }
}

@media screen and (max-width: 767px) {
    .servicio {
        width: 100%;
    }

    .servicios {
        padding: 40px 15px;
    }

    .servicios h2 {
        font-size: 1.8rem;
    }

    .servicio img {
        height: 180px;
    }
}




