@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700;1,900&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body{
    font-family:'Source Sans Pro', sans-serif;
    color: #404040;

}

.title_text{
    text-align: center;
    font-size: 30px;
    font-weight: bold;

}


.border{
    width: 160px;
    height: 2px;
    background: #BE0A0A;
    margin: 20px auto;
}

.nav{
    background: #fff;
    height: 80px;
    color:#fff;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 9%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;

}



.nav_logo{
    width: 250px;
    cursor: pointer;
}

.nav_container{
    display: flex;
    height: 100%;
    width: 90%;
    margin: 0 auto;
    justify-content: space-between;
    align-items: center;
}

.nav .btn{
    display: inline-block;
    background: #BE0A0A;
    padding:10px 30px;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;

}

.btn:hover{
    background: #fff;
    color: #BE0A0A;
}

.banner_container{
    background-image: linear-gradient(to right, rgba(251, 251, 252, 0.918), rgba(241, 243, 243, 0.096)), url(/IMG/IMG_PORTADA1.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 95vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    box-sizing: border-box;
}

.row_texts{
    width: 80%;
    margin-bottom: 10px;
    color: #000;
    padding-top: 80px;
    
    
}

.row_title{
    font-size: 2.5rem;
    font-weight: 900;
}

.row_subtitle{
    font-size: 1.5rem;
    font-weight: 300;
    margin: 15px 0;
    font-style: light;
}

.btn_row{
    display: inline-block;
    background: #BE0A0A;
    padding:10px 30px ;
    color: #fff;
    text-decoration: none;
    border-radius: 40px;
}

.btn_row:hover{
    background: #fff;
    color: #BE0A0A;
}

/*Funtion*/

#function{
    width: 100%;
    padding: 20px 0;

}

.container{
    display: flex;
    justify-content: center;
    box-sizing: border-box;
    padding-top: 20px;
    
}

.item{
    margin: 0 10px;
    justify-content: center;
}

.item_img{
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin-bottom: 10px;
    object-fit: cover;
    object-position: top;
    cursor: pointer;
}

.subtitle{
    text-align: center;
    justify-content: center;
    font-size: 16px;
}

/*Service*/

#service{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    box-sizing: border-box;
    padding-top: 30px;
}
.container_box{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 80%;
}

.cards{
    min-height: 220px;
    width: 320px;
    padding: 30px;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: #fff;
    margin: 10px 6px;
    box-shadow: 0px 15px 25px rgba(0, 0, 0, 0.2);
}

#card1{
    background: #DB6455;
    color: #fff;
}

#card2{
    background: #410935;
}

#card3{
    background: #BE0A0A;
}


.cards .icon_card{
    height: 75px;
    width: 75px;
    margin: 10px;
}

.cards h3{
    margin-bottom: 12px;
    font-weight: 700;
    font-size: 23px;
    text-align: center;
    color: #fff;
}

.cards p{
    color: #fff;
    text-align: center;
    font-size: 20px;
}


/*Testimony*/

#testimony{
    display: grid;
    height: 100%;
    width: 100%;
    place-items: center;
    box-sizing: border-box;
    padding-top: 35px;
    
    
}

.testimony_container{
    max-width: 1000px;
    margin: auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding-top: 35px;
    
}

.testimony_container .testimony_box{
    width: calc(33% - 10px);
    padding: 25px;
    border-radius: 3px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.testimony_container .testimony_box i.quote{
    font-size: 20px;
    color: #BE0A0A;
}

.testimony_box .content{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    
}

.testimony_box .info .name{
    font-weight: 600;
    font-size: 17px;
}

.testimony_box .info .job{
    font-size: 16px;
    font-weight: 500;
    color: #BE0A0A;
}

.testimony_box p{
    text-align: center;
}

.testimony_box .info .stars{
    margin-top: 2px;
}

.stars i{
    color: #BE0A0A;
}

.testimony_box .content .image{
    height: 75px;
    width: 75px;
    padding: 3px;
    border-radius: 50%;
}

.content .image img{
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/*About*/

#about{
    width: 100%;
    height: 50vh;
    padding: 0 8%;
    box-sizing: border-box;
    padding-top: 35px;
    
    
}

.row{
    display: flex;
    grid-template-columns:repeat(auto-fit, minmax(250px, 2fr));
    grid-gap: 30px;    
    justify-content: center;
    padding-top: 35px;
}

.about_container{
    text-align: center;
    padding: 25px 10px;
    border-radius: 5px;
    font-size: 14px;
    background: transparent;
}


.about_container img{
    font-size: 40px;
    margin-bottom: 10px;
    width: 55px;
    height: 55px;
}

.about_container h2{
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 23px;
}

.about_container p{
    font-size: 20px;
    font-style: light;

}

/*video*/

#video{
    padding-top: 90px;
}
.video{
    display: block;
    text-align: center;
    padding-top: 60px;
    
}

.contigo{
  text-align: center;
  padding: 20px;
  box-sizing: border-box;
  border-bottom: 1px solid #ccc;
  max-width: 900px;
  margin: auto;
  padding-top: 85px;
  
}

/*fOOTER*/

footer {
    max-width: 900px;
    margin: auto;
    text-align: center;
    padding: 0px 20px;
    box-sizing: border-box;
    padding-top: 40px;
}
  .copy{
  text-align: center;
  max-width: 960px;
  margin: auto;
  font-size: 16px;
  padding:20px;
  padding-top: 40px;
  
}

.oficinas {
    text-align: center;
    display: inline-block;
    vertical-align: top;
    padding: 20px 20px;
    
  }

.oficinas h4{
    text-align: center;
}
  
.redes {
    text-align: center;
    display: inline-block;
    vertical-align: center;
    padding: 20px;
    
}


/*Pagina externa*/


.formulario{
    display: grid;
    grid-template-columns: repeat(12,1fr);
    width: 90%;
    max-width: 1100px;
    height: 100%;
    margin: auto;
    gap: 10px;
    overflow: hidden;
    align-items: center;
    padding-top: 60px;
    
}

.formulario_texts{
    grid-column: 1/6;
    grid-row: 1/1;
    margin-bottom: 20px;

}

.form{
    grid-column: 6/13;
    grid-row: 1/1;
    width: 75%;
    padding: 40px;
    height: 93%;
    box-sizing: border-box;
    align-items: center;
    text-align: center;
    color: #303030;
    border: 1px solid #ccc;
    background-color: rgba(210, 210, 210, 0.3);
    border-radius: 10px;
    margin: 0px 20px;
    box-shadow: rgba(0, 0, 0, 1) 0px 12px 20px -20px;
}

.formulario_texts h1{
    text-align: left;
    font-size: 30px;
    color: #410935;
}

.formulario_texts p{
    text-align: left;
    font-size: 20px;

}

.delineado{
    width: 160px;
    height: 2px;
    background: #BE0A0A;
    margin: 20px 0;

}

/*Responsive*/
@media (max-width:800px){
    .nav_container{
        display: flex;
        justify-content: space-between;
    }

    .container{
        display: flex;
        flex-direction: row-reverse;
        flex-wrap: wrap;
        align-content: flex-start;
        justify-content: center;
        text-align:center;
    }

    .banner_container{
        height: 80vh;
    }

    .container_box{
        display: flex;
        flex-wrap: nowrap;
        justify-content: space-between;
    }

    .testimony_container .testimony_box{
        width: calc(50% - 10px);
        text-align: center;
        justify-content: center;
    }

    .about_container h2{
        font-size: 20px;
    }

    .about_container p{
        font-size: 18px;
    }

    .contigo{
        padding-top: 120px;
    }
    
}

@media (max-width:400px){
    .nav_logo{
        width: 150px;
    }

    .nav .btn{
        padding: 7px 7px 7px 7px;
        font-size: 0.7rem;
        
    }

    .title_text{
        font-size: 1.5rem;
    }

    .row_title{
        font-size: 2rem;

    }
    
    .row_subtitle{
        font-size: 1rem;
    }

    .btn_row{
        padding: 10px 10px;
        font-size: 1rem;
    }

    .item_img{
        width: 150px;
        height: 150px;
        margin-bottom: 10px;
    }

    .container_box{
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-content: center;
    }

    .testimony_container .testimony_box{
        width: 100%;
    }

    .row{
        display: grid;
        grid:100%;
        grid-template-columns: 1fr 1fr;
        justify-items: stretch;
    }

    .about_container{
            text-align: center;
            padding: 0;
            border-radius: 5px;
            font-size: 14px;
        }

    .banner_container{
        background-position: 60%;
    }

    .contigo{
        margin-top: 30%;
    }

    .formulario_texts{
        grid-column: 1 / 13;
        grid-row: 1;
        margin-top: 30px;
    
    }

    .form{
        grid-column: 1/13;
        grid-row: 4;
        text-align: center;
    }

    .formulario_texts h1{
        text-align: center;
        font-size: 15px;
        color: #410935;
    }
    
    .formulario_texts p{
        text-align: center;
        font-size: 15px;
    }

    .delineado{
        text-align: center;
        width: 100px;
        height: 2px;
        background: #BE0A0A;
        margin: 20px auto;
    
    }

   }
    




    