.contenedor-contenido{
    padding: 35px 0 40px;
    max-width: 1920px;
    margin: auto;
}
.box-introduction{
    max-width: 880px;
    margin: auto;
}
.home-title{
    padding: 0 0 20px;
}
.home-title-2{
    max-width: 32%;
    margin: 0 0 0 auto;
    line-height: 1;
    font-size: 2.76rem;
    letter-spacing: -1.13px;
}
.home-title-3{
    letter-spacing: -1.29px;
    max-width: 217px;
    font-size: 3rem;
    line-height: 1.1;
    margin: 1.75em 0 0 auto;
}

.box-servicios{
    max-width: 955px;
    margin: auto;
}
.introduction-text{
    font-size: 1.65rem;
    letter-spacing: -0.77px;
    line-height: 1.3;
    color: rgba(77, 77, 77, 1);
}
.boton-type-1{
    border-radius: 19px;
    background-color: rgba(51, 124, 160, 1);
    font-size: 16px;
    letter-spacing: -0.68px;
    margin: auto;
    width: 387px;
    height: 39px;
    align-content: center;
    text-align-last: center;
}

/* contacto */
.container {
    max-width: 1920px;
    margin: 0 auto;
    padding: 15px;
    display: grid;
    gap: 30px;
}

.content-block {
    display: grid;
    /* grid-template-columns: 0.8fr 1fr; */
    grid-template-columns: 1fr 1fr;
    align-items: center;
    /* gap: 78px; */
    gap: 40px;
}

.text-block {
    /* text-align: justify; */
    max-width: 500px; 
}
.text-block p{
    font-family: "Merriweather", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 14px;
}
.text-block:nth-child(1){
    margin: 0 0 0 auto;
}
.text-block:nth-child(2){
    margin: 0 auto 0 0;
}
.image-block img {
    /* width: 950px;
    height: 450px; */
    object-fit: cover;
    display: block;
}

/* SERVICIOS */
.franja-azul-1 {
    background-color: #EBF3F5;
    letter-spacing: -1.13px;
    color: #4D4D4D;
    max-width: 1920px;
    margin: auto;
    text-align: center; 
    padding-top: 60px;
    font-size: 28.33px;
}

.franja-azul-2 {
    background-color: #D6E6ED; 
    max-width: 1920px;
    margin: auto;
}

.franja-azul-3 {
    background-color: #C6DDE5;
    max-width: 1920px;
    margin: auto;
}
.content-block.reverse {
    /* grid-template-columns: 1.03fr 1fr; */
    grid-template-columns: 1fr 1fr;
}
.servicios-container {
    /* padding: 3em 0; */
    padding-top: 25px;
    display: grid;
    place-items: center;
    grid-template-columns: repeat(4, 1fr);
    margin: auto;
    max-width: 1280px;
    width: 100%;
    gap: 2em;
    align-items: flex-start;
}
.contenedor-image-agd{
    height: 65px;
}
.servicio  {
    display: grid;
    place-items: center;
}

.servicio h3  {
    /* max-width: 180px; */
    text-align: center;
    font-size: 1.75rem;
    font-family: "Merriweather", serif;
    font-weight: 600;
    color: #4D4D4D;
    font-style: normal;
    margin-left: 10px;
}
.page_item{
    list-style: inside;
    margin-left: 15px;
}

.servicio .contenido{
    margin-top: 20px;
    margin-bottom: 40px;
    color: #4D4D4D;
    font-family: "Merriweather", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.4rem;
    letter-spacing: -0.57px;
    text-align: center;
    max-width: 250px;
    line-height: 1.8;
}

.boton-container {
    margin: auto;
    display: grid;
    place-items: center;
    padding-top: 65px;
}

.boton-servicios {
    background-color: #4D4D4D;
    color: white;
    padding: 8px 20px;
    border-radius: 2em;
    width: 327px;
    height: 39px;
    margin-bottom: 58px;
    text-decoration: none;
    text-align: center;
    font-size: 16px;
}

.imagen-2-nosotros{
    display: flex;
    justify-content: end;
}
@media (max-width: 1708px){
    .home-title-2{
        max-width: 45%;
    }
}
@media (max-width: 1440px){
    .box-servicios{
        max-width: 880px;
    }
}
@media (max-width: 1241px){
    .home-title-2{
        max-width: 65%;
    }
    
}
@media (max-width: 1140px){
    .servicios-container {
        width: 95%;
    }

    .hero-background{    
        max-width: 95%;
    }
}
@media (max-width: 1024px) {
    .text-block:nth-child(1){
        order: 2;
    }
    .imagen-1-nosotros{
        order: 1;
    }

    .imagen-2-nosotros,
    .imagen-1-nosotros{
        margin: auto;
    }

    .content-block.reverse{
        grid-template-columns: 1fr;
    }
    .content-block {
        grid-template-columns: 1fr;
    }
    .servicios-container {
        grid-template-columns: repeat(2, auto);
    }

    .image-block img {
        width: 100%;
        height: auto;
    }

    .text-block {
        max-width: 100%;
        margin: 0;
    }
}

@media (max-width: 960px) {
    
    .hero-content,.introduction-text{
        max-width: 90%;
        margin: auto auto 28px;
    }
    .home-title-2{
        max-width: 90%;
    }

}
@media (max-width: 768px){
    .servicios-container{
        grid-template-columns: repeat(2, auto);
    }
    /* .servicio h3{
        font-size: 19px;
    } */
}
@media (max-width: 650px){
    .servicios-container {
        grid-template-columns: repeat(1, auto);
    }
    .service-title {
        font-size: 31px;
    }
    .home-title-2{
        width: 100%;
        max-width: 100%;
        /* font-size: 22px; */
        font-size: 27px;
        margin-bottom: 45px;
    }
    .content-box-home{
        padding: 0 15px;
        height: auto;
        margin-top: -4em;
    }
    
    .home-title-3{
        /* margin: 2.1em 0 0 auto; */
        margin: 0px;
    }
}

@media (max-width: 480px) {
    .servicios-container {
        grid-template-columns: repeat(2, 1fr);
        gap: .5em;
    }
}