#s-servicios {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url(/img/jpg_web/2.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 80px 0px ;
}

#content-info-servicio {
    width: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
}

#content-text-serv {
    width: 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
}

#content-text-serv p{
    color: #fff;
    font-size: 18px;
    text-align: justify;
}

#content-carousel-servicios {
    width: 60%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-servicio {
    border-radius: 30px;
    background-color: #fff;
    padding: 60px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    height: 100%;
}

.card-servicio img{
    height: 70px;
}
.card-servicio span{
    font-size: 20px;
    color: var(--verde);
    font-weight: bold;
    text-align: center;
}

#s-rutas {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 80px 0px;
}

#content-rutas {
    width: 80%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#content-carousel-rutas {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 0px;
}

.card-rutas {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.card-rutas span{
    width: 80%;
    position: absolute;
    font-size: 20px;
    color: #fff;
    text-align: center;
    z-index: 1;
}

.card-rutas span b{
    font-weight: bold;
}

.card-rutas::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 128, 0, 0.5); /* Verde transparente */
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.card-rutas:hover::after {
    opacity: 1;
}

#s-rutas-n {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding: 30px 0px;
    background-image: url(/img/jpg_web/1.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#content-rutas-n {
    width: 80%;
    display: flex;
    justify-content: center;
    align-items: stretch;
    border-radius: 20px;
    box-shadow: var(--shadow-1);
    overflow: hidden;
}

#content-rutas-n img{
    width: 60%;
}

#content-btn-nuestras-rutas-n {
    width: 40%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    flex-direction: column;
    gap: 30px;
    background-color: #F4F4F4;
}

#content-btn-nuestras-rutas-n a{
    font-size: 25px;
}

#s-novedades {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 80px 0px;
    background-color: #F4F4F4;
}

#content-novedades {
    width: 80%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#content-carousel-novedades {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 0px;
}

.card-novedades {
    width: 95%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    box-shadow: var(--shadow-1);
}

.card-novedades img{
    width: 100%;
    height: 480px;
    object-fit: cover;
    object-position: top;
}

.card-novedades div{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
}

.card-novedades div h4{
    font-size: 20px;
    color: var(--gris-oscuro);
    font-weight: bold;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-novedades div p{
    font-size: 18px;
    color: var(--gris-oscuro);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

#carousel-novedades .owl-stage {
    padding: 20px 0px;
}

#s-contacto {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 0px;
}

#content-contacto {
    width: 80%;
    display: flex;
    justify-content: center;
    align-items: stretch;
    box-shadow: var(--shadow-2);
    border-radius: 30px;
    overflow: hidden;
    margin-top: 30px;
}

#content-iframe-contacto {
    width: 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    background-color: #E7E7E7;
    padding: 30px 20px;
    gap: 10px;
}

#content-iframe-contacto iframe{
    width: 100%;
    height: 300px;
}

#content-iframe-contacto div{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

#content-iframe-contacto div span{
    font-size: 16px;
    font-weight: bold;
    color: var(--gris-oscuro);
}

#content-iframe-contacto div a{
    font-size: 16px;
    color: var(--gris-oscuro);
    margin-bottom: 8px;
}

#content-form-contacto-home {
    width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    background-color: #F4F4F4;
}

#content-form-contacto-home form{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
}

#content-form-contacto-home form input,
#content-form-contacto-home form textarea{
    width: 100%;
    background-color: #fff;
    border-radius: 10px;
    padding: 10px;
    font-size: 18px;
    border: none;
}

#content-form-contacto-home form textarea{
    height:250px;
    resize: none;
}

#content-form-contacto-home form button{
    font-size: 22px;
}


@media screen and (max-width: 1024px) {
    #content-info-servicio {
        width: 100%;
        gap: 30px;
        padding: 20px;
        flex-direction: column;
    }

    #content-text-serv {
        width: 100%;
    }

    #content-carousel-servicios {
        width: 100%;
    }

    .card-servicio img {
        height: auto;
        width: 60% !important;
    }

    .p-title p {
        font-size: 22px !important;
    }

    .card-servicio {
        padding: 20px;
    }

    #s-servicios {
        padding: 30px 0px;
    }

    #content-rutas-n {
        width: 100%;
        flex-direction: column;
    }

    #s-rutas-n {
        padding: 20px;
    }

    #content-rutas-n img {
        width: 100%;
    }

    #content-btn-nuestras-rutas-n {
        width: 100%;
    }

    #content-novedades {
        width: 100%;
    }

    #s-novedades {
        padding: 20px;
    }

    #content-contacto {
        width: 90%;
        flex-direction: column;
    }

    #content-iframe-contacto {
        width: 100%;
    }

    #content-form-contacto-home {
        width: 100%;
    }
}