* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Open Sans", sans-serif;
}

body{
    background-color: rgb(245, 245, 245);
}

:root{
    --borderBtn: 25px;
    --marginCont: 30px;
    --colorBlanco: rgb(255,255,255);
    --colorLogo: rgb(17,94,62);
    --colorComplementario: #148754;
    --colorGris: rgb(85,85,85);
}

.open-sans{
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}

/*xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx*/
/* Background */
.contBack{
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url(../img/background.jpeg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    clip-path: ellipse(100% 100% at 50% 0%);
}

.filterBack{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    background: linear-gradient(to right, rgb(0, 0, 0, .8) 50%, rgb(255, 255, 255, .1) 100%);
}

.textBack{
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: 5%;
}

.textBack h1{
    font-size: 40px;
    color: var(--colorBlanco);
}

.textBack span{
    font-size: 18px;
    font-weight: 550;
    margin-bottom: 10px;
    color: var(--colorBlanco);
}

.textBack p{
    font-size: 16px;
    font-weight: 350;
    margin-bottom: 15px;
    color: var(--colorBlanco);
}

.textBack a{
    text-decoration: none;
}

.textBack a button{
    width: 160px;
    height: 37px;
    font-size: 15px;
    font-weight: 550;
    border: none;
    cursor: pointer;
    background-color: var(--colorLogo);
    color: var(--colorBlanco);
    border-radius: var(--borderBtn);
}

.textBack a button i{
    font-size: 14px;
    color: var(--colorBlanco);
    margin-left: 5px;
}

@media screen and (max-width: 1000px){
    .filterBack{
        justify-content: center;
        background: linear-gradient(to right, rgb(0, 0, 0, .8) 50%, rgb(0, 0, 0, .8) 100%);
    }
    .textBack{
        width: 95%;
        align-items: center;
        margin-left: 0%;
        text-align: center;
    }
    .textBack span{
        font-size: 17px;
        font-weight: 500;
    }
    .textBack p{
        width: 85%;
    }
}

@media screen and (max-width: 850px){
    .contBack{
        clip-path: ellipse(200% 100% at 50% 0%);
    }
    .textBack h1{
        font-size: 38px;
    }
    .textBack span{
        font-size: 16px;
    }
    .textBack p{
        width: 80%;
        font-size: 15.5px;
    }
}

@media screen and (max-width: 650px){
    .textBack h1{
        font-size: 35px;
    }
    .textBack span{
        font-size: 15px;
    }
    .textBack p{
        width: 85%;
    }
}

@media screen and (max-width: 600px){
    .textBack h1{
        font-size: 33px;
    }
    .textBack span{
        font-size: 14.5px;
    }
    .textBack p{
        font-size: 15px;
    }
}

@media screen and (max-width: 550px){
    .contBack{
        clip-path: ellipse(250% 100% at 50% 0%);
    }
    .textBack h1{
        font-size: 30px;
    }
    .textBack span{
        font-size: 13.5px;
    }
    .textBack p{
        font-size: 14px;
    }
}

@media screen and (max-width: 450px){
    .textBack h1{
        font-size: 28px;
    }
    .textBack span{
        font-size: 13px;
    }
    .textBack p{
        width: 95%;
        font-size: 13.5px;
    }
}

@media screen and (max-width: 414px){
    .textBack h1{
        font-size: 27px;
    }
    .textBack span{
        font-size: 12.5px;
    }
    .textBack p{
        font-size: 12.5px;
    }
    .textBack a button{
        width: 155px;
        height: 35px;
        font-size: 14px;
    }
    .textBack a button i{
        font-size: 13px;
    }
}

@media screen and (max-width: 375px){
    .textBack h1{
        font-size: 26px;
    }
    .textBack span{
        font-size: 12px;
    }
    .textBack p{
        font-size: 12px;
    }
}

/*xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx*/
/* Nosotros */
.contWe{
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: var(--marginCont);
}

.we{
    width: 95%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.imgWe{
    width: 50%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 10px;
}

.imgWe img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.textWe{
    width: 50%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0 10px;
}

.textWe h2{
    font-size: 30px;
    color: var(--colorLogo);
    margin-bottom: 5px;
}

.textWe p{
    width: 85%;
    font-size: 16px;
    font-size: 400;
    color: var(--colorGris);
    margin-bottom: 15px;
}

.textWe a{
    text-decoration: none;
}

.textWe a button{
    width: 150px;
    height: 37px;
    border: none;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    background-color: var(--colorLogo);
    color: var(--colorBlanco);
    border-radius: var(--borderBtn);
    transition: .6s;
}

.textWe a button:hover{
    transform: translate(10px);
}

.textWe a button i{
    font-size: 15px;
    color: var(--colorBlanco);
    margin-left: 5px;
    transition: .6s;
}

.textWe a button:hover i{
    transform: rotate(90deg);
}

@media screen and (max-width: 1100px){
    .textWe h2{
        font-size: 28px;
    }
    .textWe p{
        width: 90%;
        font-size: 15.5px;
    }
}

@media screen and (max-width: 1000px){
    .textWe h2{
        font-size: 28px;
    }
    .textWe p{
        width: 95%;
        font-size: 14.5px;
    }
}

@media screen and (max-width: 900px){
    .we{
        flex-direction: column;
    }
    .imgWe{
        width: 70%;
        margin: 10px 0;
        order: 1;
    }
    .textWe{
        width: 95%;
        text-align: center;
        align-items: center;
        margin: 10px 0;
    }
    .textWe p{
        width: 75%;
    }
}

@media screen and (max-width: 700px){
    .imgWe{
        width: 80%;
    }
    .textWe p{
        width: 90%;
    }
}

@media screen and (max-width: 550px){
    .imgWe{
        width: 85%;
    }
    .textWe p{
        width: 95%;
        font-size: 14px;
    }
}

@media screen and (max-width: 500px){
    .imgWe{
        width: 90%;
    }
    .textWe h2{
        font-size: 26px;
    }
    .textWe p{
        width: 100%;
        font-size: 13px;
        font-weight: 450;
    }
}

@media screen and (max-width: 450px){
    .textWe h2{
        font-size: 25px;
    }
    .textWe p{
        font-size: 13px;
        font-weight: 450;
    }
    .textWe a button{
        width: 145px;
        height: 32px;
        font-size: 15px;
    }
    .textWe a button i{
        font-size: 14px;
    }
}

@media screen and (max-width: 414px){
    .imgWe{
        width: 95%;
    }
    .textWe p{
        font-size: 12.5px;
    }
}

/*xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx*/
/* Service */
.contServ{
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: var(--marginCont);
    background-color: var(--colorBlanco);
    clip-path: ellipse(100% 100% at 50% 100%);
}

.services{
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 170px;
}

.itemServ{
    width: 30%;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-shadow: 0.7px 0.7px 1.8px rgba(0, 0, 0, 0.02),
    1.7px 1.7px 4.3px rgba(0, 0, 0, 0.028),
    3.1px 3.1px 8.1px rgba(0, 0, 0, 0.035),
    5.6px 5.6px 14.5px rgba(0, 0, 0, 0.042),
    10.4px 10.4px 27.2px rgba(0, 0, 0, 0.05),
    25px 25px 65px rgba(0, 0, 0, 0.07);
    border-radius: 10px;
    transition: .6s ease-out;
}

.itemServ:hover{
    transform: scale(1.05);
}

.imgItemServ{
    width: 100%;
    height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
}

.imgItemServ img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.textItemServ{
    width: 100%;
    height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.textItemServ h2{
    font-size: 25px;
    color: var(--colorLogo);
}

.textItemServ p{
    font-size: 16px;
    font-weight: 550;
    color: var(--colorGris);
}

.textItemServ button{
    width: 140px;
    height: 30px;
    font-size: 15px;
    font-weight: 550;
    cursor: pointer;
    border: none;
    margin-top: 10px;
    background-color: var(--colorLogo);
    color: var(--colorBlanco);
    border-radius: var(--borderBtn);
    transition: .6s;
}

.textItemServ button:hover{
    transform: translate(10px);
}

.textItemServ button i{
    font-size: 14px;
    margin-left: 5px;
    color: var(--colorBlanco);
    transition: .6s;
}

.textItemServ button:hover i{
    transform: rotate(360deg);
}

.imgInfoServ0,
.imgInfoServ1,
.imgInfoServ2,
.imgInfoServ3,
.imgInfoServ4,
.imgInfoServ5,
.imgInfoServ6,
.imgInfoServ7,
.imgInfoServ8{
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0; 
    position: fixed;
    background-color: rgba(0, 0, 0, 0.5); 
    z-index: 8;
    display: none;
}

.itemInfoServ{
    width: 70%;
    height: 70%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: white;
    position: relative;
    border-radius: 10px;
    padding: 40px 70px;
}

.btnServ{
    top: 20px;
    right: 20px;
    position: absolute;
    font-size: 15px;
    font-weight: 600;
    color: var(--colorBlanco);
    background-color: var(--colorLogo);
    border-radius: 50%;
    padding: 10px 15px;
    border: none;
    cursor: pointer;
    transition: 0.6s;
}

.btnServ:hover{
    background-color: var(--colorComplementario);
}

.itemInfoServ img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.itemInfoServ a{
    text-decoration: none;
    margin-top: 10px;
    color: var(--colorLogo);
    font-size: 17px;
    font-weight: 600;
    transition: .6s;
}

.itemInfoServ a i{
    font-size: 16px;
    margin-left: 5px;
    color: var(--colorLogo);
    transition: .6s;
}

.itemInfoServ a:hover{
    transform: translate(10px);
}

.itemInfoServ a:hover i{
    transform: rotate(360deg);
}

@media screen and (max-width: 1100px){
    .textItemServ h2{
        font-size: 21px;
    }
    .textItemServ p{
        font-size: 15px;
    }    
}

@media screen and (max-width: 1000px){
    .textItemServ h2{
        font-size: 19px;
    } 
    .textItemServ a button{
        width: 130px;
        height: 30px;
        font-size: 14px;
    }
    .textItemServ a button i{
        font-size: 13px;
    }  
}

@media screen and (max-width: 850px){
    .contServ{
        clip-path: ellipse(160% 100% at 50% 100%);
    }
    .itemServ{
        width: 45%;
        height: 380px;
    }
    .services{
        margin-top: 110px;
    }
    .itemInfoServ{
        width: 99%;
        height: 50%;
    }
}

@media screen and (max-width: 550px){
    .contServ{
        clip-path: ellipse(250% 100% at 50% 100%);
    }
    .services{
        margin-top: 70px;
    }
    .itemServ{
        width: 80%;
        height: 350px;
    }
}

@media screen and (max-width: 414px){
    .itemServ{
        width: 85%;
        height: 320px;
    }
}