@import url("https://fonts.googleapis.com/css2?family=Host+Grotesk:ital,wght@0,300..800;1,300..800&family=Manrope:wght@200..800&family=Nunito:ital,wght@0,200..1000;1,200..1000&family=Stalemate&display=swap");

:root {
  --primary-color: #adeed9;
  --secondary-color: #56dfcf;
  --soft-color: #ECFEFF;
  --text-color: #212121;
  --font-title: "Nunito", sans-serif;
  --font-body: "Manrope", sans-serif;
}
html,
body,
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  overflow-x: hidden;
  font-size: 12px;
}
section{
    width: 100%;
    padding: 8rem 8rem;
}
strong{
  font-size: 1.25rem;
  font-weight: 600;
}
@media (max-width: 1440px) {
  html{
    font-size: 14px;
  }
  section{
      padding: 4rem 6rem;
  }
}
@media (max-width: 1024px) {
    html{
        font-size: 12px;
    }
    section{
        padding: 4rem 4rem;
    }
}
@media (max-width: 768px) {
    html{
        font-size: 10px;
    }
    section{
        padding: 4rem 4rem;
    }
}
@media (max-width: 480px) {
    section{
        padding: 4rem 1.5rem;
    }
    
}
h2{
    font-family: var(--font-body);
    text-transform: uppercase;
    font-weight: 800;
    color: var(--text-color);
    font-size: 2.75rem;
    text-align: center;
}
h3{
    color: var(--text-color);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 2.5rem;
}
p{
    color: var(--text-color);
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 1.5rem;
}
a{
    color: var(--text-color);
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 1.5rem;
    display: inline-block;
}
.green-link{
    background-color: var(--primary-color);
    border: 2px solid var(--secondary-color);
    padding: 0.5rem 1rem;
    border-radius: 10px;
    width: fit-content;
    transition: background-color 0.5s ease-in-out;
    transition: border-color 0.5s ease-in-out;
    transition: color 0.5s ease-in-out;
    font-weight: 600;
}
.green-link:hover{
    background-color: var(--text-color);
    color: var(--primary-color);
    border-color: var(--text-color);
}
.dark-link{
  background-color: var(--text-color);
  border: 5px solid var(--text-color);
  color: white;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 10px;
  transition: all 0.2s ease-in-out;
}
@media (max-width: 480px) {
  .dark-link{
    font-size: 1.25rem;
  }
}
.dark-link:hover{
  border: 5px solid var(--text-color);
  background-color: white;
  color: var(--text-color);
}
.light-link{
  background-color: white;
  border: 2px solid white;
  color: var(--text-color);
  font-weight: 600;
  padding: 1rem 6rem;
  text-align: center!important;
  border-radius: 5px;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
  font-size: 1.5rem;
}
.light-link:hover{
  background-color: var(--text-color);
  color: white;
  border-color: white;
}
b{
  font-weight: 600;
  font-size: 1.5rem;
}
.section-divider{
  width: 100%;
  position: absolute;
  left: 0;
}
/*********************** HERO **********************************************/

#sec-hero{
  position: relative;
  padding: 2rem 8rem;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 5rem;
  background-color: var(--soft-color);
}
#sec-hero h2{
  font-family: var(--font-title);
  font-size: 6.75rem;
}
.hero-content{
  display: flex;
  gap: 10%;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
}
.hero-content img{
  width: 100%;
}
.hero-text{
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}
.hero-text h3{
  margin-bottom: 2rem;
}
.hero-text a:nth-of-type(1){
  text-decoration: underline;
}
.hero-text p{
  text-align: justify;
}
.hero-text a{
  margin-top: 1rem;
}
.hero-mobile-image{
  display: none;
}
.hero-mobile-2-image{
  display: none;
}
@media (max-width: 1024px) {
  .hero-text *, #sec-hero h3{
    text-align: justify;
  }
  .hero-content img{
    width: 100%;
  }
  .hero-content a:nth-of-type(2){
    width: 100%;
    text-align: center;
  }
}
@media (max-width: 768px) {
  #sec-hero h2{
    font-size: 4rem;
  }
  .hero-content{
    flex-direction: column;
    gap: 2rem;
  }
  .hero-content img{
    width: 100%;
  }
  .hero-desktop-image{
    display:none;
  }
  .hero-mobile-image{
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 1;
  }
  .hero-text{
    align-items: center;
  }
  .hero-text h3{
    text-align: center;
  }
  .hero-text *{
    text-align: center!important;
  }
  .hero-text a:nth-of-type(2){
    width: fit-content;
    text-align: center;
  }
}
@media (max-width: 480px) {
  #sec-hero{
    gap: 3rem;
    padding: 2rem;
  }
  .hero-content{
    gap: 1rem;
  }
  .hero-text h3{
    font-size: 2rem;
  }
  .hero-text p{
    font-size: 1.5rem;
  }
  .hero-text a:nth-of-type(1){
    margin-top: 1.5rem;
  }
  .hero-text a{
    font-size: 1.5rem;
  }
  .hero-mobile-image{
    display: none;
  }
  .hero-mobile-2-image{
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 1;
  }
}


/*******************************************   SERVICIOS    **********************************************/
.servicios-container{
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5%;
  padding-bottom: 5rem;
  position: relative;
  min-height: 80svh;
}
.servicios-left{
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.servicios-left *{
  text-align:justify;
}
.servicios-left h2{
  margin-bottom: 2rem;
}
.servicios-right img{
  width: 100%;
}


.servicios-container nav{
  justify-self: flex-end;
}
.servicios-active{
  opacity: 1!important;
  font-weight: bolder;
}
.servicios-container button{
  border: none;
  width: 100%;
  border-bottom: 3px solid var(--text-color);
  padding: 2.5rem 0 .15rem 0;
  background-color: transparent;
  font-size: 1.25rem;
  opacity: .5;
  transition: opacity 0.5s ease-in-out;
  cursor: pointer;
}
.servicios-container button:hover{
  opacity: .75;
}
.servicios-right{
  padding-left: 20rem;
}
.servicios-right >a{
  margin-top: 2rem;
}
.servicio{
  display: none;
  opacity: 0;
}
.servicio-active{
  display: block;
  opacity: 1;
  transition: opacity 0.5s ease-in-out;
}
.servicio p{
  text-align: justify;
  margin-top: 1rem;
  font-size: 1.25rem;
}
.mobile-servicios-nav{
  display: none;
}
.servicio-title{
  display: none;
}
@media (max-width: 1024px) {
  .servicios-container{
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
  .servicios-right{
    padding-left: 0;
  }
}
.mobile-servicios-nav ul li button{
  width: 2rem;
  height: 2rem;
  padding: 0;
  aspect-ratio: 1/1;
  background-color: var(--secondary-color);
  border: none;
  transform: scale(.8);
  opacity: 0.5;
}
.mobile-servicios-nav ul li button.servicio-active-mobile{
  opacity: 1;
  transform: scale(1);
  background-color: var(--text-color);
}
@media (max-width: 480px) {

  .servicios-container{
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
  }
  .servicios-left nav{
    display: none;
  }
  .mobile-servicios-nav{
    display: block;
    width: 100%;
    padding: 2rem 0;
  }
  .mobile-servicios-nav ul{
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .servicio-title{
    display: block;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
  }
  
}

/************************************************** NOSOTROS **************************************************/
.nosotros-container{
  padding-top: 20rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10rem;
}
.nosotros-left p:nth-of-type(1){
  margin-top: 2rem;
}
.nosotros-left *{
  text-align: justify;
}
.nosotros-left h2, .nosotros-left h3{
  text-align: left;
}
.nosotros-left h3{
  margin-top: 3rem;
  margin-bottom: 1rem;
  font-weight: 500;
}
.nosotros-right{
  overflow: hidden;

}
.nosotros-right img{
  width: 100%;
  
}
.nosotros-container ul *{
  text-align: left;
}

.nosotros-container ul li{
  list-style: square;
  list-style-position: inside;
  color: var(--text-color);
}
.nosotros-container ul li p{
  display: inline;
}
.nosotros-bottom{
  grid-column: 1/-1;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
}
.nosotros-item{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.nosotros-item p{
  text-align: center;
  font-weight: 600;
}
.nosotros-item img{
  margin-top: 1rem;
  width: 20%;

}
@media (max-width: 1440px){
  .nosotros-container{
    gap: 5rem;
  }
  h3{
    font-size: 2rem;
  }
}
@media (max-width: 1024px){
  .nosotros-container{
    padding-top: 10rem;
  }
}
@media (max-width: 768px){
  .nosotros-container{
    grid-template-columns: 1fr;
    padding-top: 7rem;
  }
  .nosotros-right{
    display: none;
  }
  .nosotros-bottom{
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
  }
  .nosotros-item{
    width: 100%;
  }
  .nosotros-item img{
    width: 10%;
  }
  .nosotros-left h3{
    text-align: center;
  }
}

/**************************************************** SUCCESS **************************************************/
.success-page{
  height: 100svh;
  width: 100svw;
  overflow: hidden;
  position: relative

}
.success-page img{
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 1;
}
.success-page main{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 8rem;
  gap: 1rem;
}
.success-page *{
  text-align: center;
}
.success-page p{
  font-size: 1.5rem;
  margin-bottom: 4rem;
}
.success-page h1{
  font-family: var(--font-body);
  font-size: 6rem;
}
.success-page a:nth-of-type(2){
  text-decoration: underline;
  font-size: 1.5rem;

}
.success-page a:nth-of-type(2) span:nth-of-type(1), .success-page a:nth-of-type(2) span:nth-of-type(3){
  font-family: "Host Grotesk", sans-serif;
  font-size: 1.5rem;
  font-weight: bolder;
}
.success-page a:nth-of-type(2) span:nth-of-type(2){
  font-family: "Stalemate", cursive;
  font-size: 1.5rem;
  font-weight: bolder;  
}
@media (max-width: 768px) {
  .success-page h1{
    font-size: 4rem;
  }
  .success-page main{
    padding: 8rem 4rem;
  }
  .success-page a:nth-of-type(1){
    font-size: 1.2rem;
  }
}
@media (max-width: 480px) {
  .success-page main{
    padding: 6rem 1.5rem;
  }
  .success-page h1{
    font-size: 2rem;
  }
  .success-page p{
    font-size: 1.25rem;
  }
  .success-page a:nth-of-type(1){
    font-size: 1rem;
  }
}


/************************************ FAQ ******************************************/

#sec-faq{
  padding-top: 30rem;
}
#sec-faq *{
  text-align: left;
}
#sec-faq b{
  font-family: var(--font-body);
}
#sec-faq > p{
  margin-top: 1rem;
}
.faq-items{
  margin-top: 4rem;
}
.faq-item{
  margin-top: 3rem;
}
.faq-item h3{
  font-size: 1.5rem;
}
.faq-item p{
  margin-top: 1rem;
  margin-left: 2rem;
}
.faq-call{
  margin-top: 10rem;
  border: 5px solid var(--text-color);
  padding: 6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}


@media (max-width: 1024px) {
  #sec-faq{
    padding-top: 20rem;
  }
}
@media (max-width: 480px){
  #sec-faq{
    padding-top: 6rem;
  }
  #sec-faq *{
    text-align: center;
  }
  #sec-faq h2{
    font-size: 2.5rem;
  }
  .faq-items{
    margin-top: 0;
  }
  .faq-item h3{
    font-size: 1.25rem;
  }
  .faq-item p{
    font-size: 1rem;
    margin-left: 1rem;
  }
  .faq-call{
    padding: 3rem;
  }
}


/****************************** CONTACTO ******************************************/
#sec-contacto{
  background-color: var(--text-color);
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 5rem;
}
#sec-contacto h2, #sec-contacto h3, #sec-contacto p, #sec-contacto label{
  color: white;
}
.contacto-left *{
  text-align: left;
}
.contacto-left form{
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 4rem;
}
.contacto-left form input, .contacto-left form textarea{
  padding: 1rem;
  border-radius: 5px;
  font-size: 1.25rem;
  font-family: var(--font-body), sans-serif;
}
.contacto-left label{
  font-size: 1.25rem;
  font-weight: 600;
  font-family: var(--font-body), sans-serif;
}
.contacto-left form input, .contacto-left form textarea{
  border: 3px solid white;
  color: #212121;
}
.contacto-left input:focus, .contacto-left textarea:focus{
  outline: none;
  border: 3px solid var(--secondary-color);
}
.contacto-left form button{
  width: fit-content;
  text-transform: uppercase;
}

.contacto-right{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  background-color: white;
  width: fit-content;
  height: fit-content;
  align-self: center;
  justify-self: right;

}
.contacto-right > *{
  color: var(--text-color)!important;
  text-align: center;
}
.contacto-right p:nth-of-type(1){
  margin-bottom: 1rem;
  font-weight: 500;
}
@media (max-width: 768px){
  #sec-contacto{
    grid-template-columns: 1fr;
    padding: 4rem 2rem;
  }
  .contacto-left, .contacto-right{
    width: 100%;
  }
  .contacto-left form input, .contacto-left form textarea{
    font-size: 1rem;
  }
  .contacto-left label{
    font-size: 1rem;
  }
}


/*********************************** FOOTER ******************************************/
footer{
 
  text-align: center;
  padding: 2rem;
  
}
footer a{
  cursor: pointer;
  text-decoration: underline;
}
footer a span:nth-of-type(1), footer a span:nth-of-type(3){
  font-family: "Host Grotesk", sans-serif;
  font-size: 1.5rem;
  font-weight: bolder;
}
footer a span:nth-of-type(2){
  font-family: "Stalemate", cursive;
  font-size: 1.5rem;
  font-weight: bolder;  
}

/************ 404 PAGE **************/

.p404{
  width: 100vw;
  height: 100svh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}
.p404 h1{
  font-size: 4rem;
  font-family: var(--font-body);
}
.p404 a{
  text-decoration: underline;
}
@media (max-width: 768px) {
  .p404 {
    justify-content: flex-start;
  }
}


/************** boton wpp ****************/

.wpp_button{
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100;
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  border-radius: 50%;
  background-color: #25D366;
  padding: 1rem;
}
.wpp_button img{
    width: 3rem;
    height: 3rem;    
}
@media (max-width: 768px) {
  .wpp_button {
    bottom: 2rem;
    right: 2rem;
  }
  .wpp_button img{
    width: 4rem;
    height: 4rem;
  }
}
@media (max-width: 480px) {
  .wpp_button img{
    width: 5rem;
    height: 5rem;
  }
}