@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Oswald:wght@200..700&display=swap');
/* CSS */

* {
  margin: 0;
  padding: 0;
  font-family: "Oswald", sans-serif;
}

:root {
  --verde: #149362;
  --negro: #000000;
  --violeta: #A33093;
  --blanco: #FFFFFF;
  --verderoscuro: #006741;
}

html{
  scroll-behavior: smooth;
}
body {
  max-width: 100%;
  overflow-x: hidden;
}

#header {
  position: fixed;
  width: calc(100% - 16em);
  top: 0;
  left: 0;
  padding: 1em 8em;
  background-color: var(--blanco);
  /*padding-bottom: 1.5em;*/
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 0 20px 0 rgb(0 0 0 / 50%);
  transition: all 400ms;
  z-index: 9;
}
  #header.fixed{
    padding: 0.5em 8em;
    /*padding-bottom: 0.75em;*/
  }
    #header.fixed .wow{
      visibility: visible !important;
    }
  #logo{
    position: relative;
    width: 125px;
    transition: all 500ms;
  }
    .fixed #logo{
      width: 60px;
    }
    #logo img{
      position: relative;
      width: 100%;
      height: auto;
      z-index: 3;
    }
      #logo .box-01{
        display: block;
        position: absolute;
        width: 100%;
        height: 100%;
        margin-left: -6px;
        margin-top: 6px;
        left: 0;
        top: 0;
        background-color: var(--verde);
      }
        .fixed #logo .box-01{
          margin-left: -2px;
          margin-top: 2px;
        }
      #logo .box-02{
        display: block;
        position: absolute;
        width: 100%;
        height: 100%;
        margin-left: -12px;
        margin-top: 12px;
        left: 0;
        top: 0;
        background-color: var(--verde);
      }
        .fixed #logo .box-02{
          margin-left: -4px;
          margin-top: 4px;
        }

#nav ul{
  display: flex;
  list-style: none;
}
  #nav ul li a{
    position: relative;
    padding: 0.5rem 1rem;
    font-size: 23px;
    color: var(--negro);
    text-decoration: none;
  }
    #nav ul li a:after{
      content: "";
      position: absolute;
      height: 2px;
      width: 85%;
      left: 7.5%;
      bottom: 5px;
      background-color: var(--negro);
      transform: scale(0, 1);
      transition: all 300ms;
    }
      #nav ul li a:hover:after{
        transform: scale(1);
      }

#feautre-slide{
  position: relative;
  display: flex;
  padding: 8em;
  padding-top: 10em;
  align-items: center;
  background-image: url('img/feature-background.png');
  background-size: auto 100%;
}
  #feautre-slide .texture-bg{
    position: absolute;
    right: 8em;
    bottom: 5em;
  }
  #feautre-slide .slide-text{
    width: 60%;
  }
  #feautre-slide h2{
    font-size: 72px;
    font-weight: normal;
    line-height: 80px;
    padding: 0 20px;
  }
    #feautre-slide h2 strong{
      background-color: var(--verde);
      padding: 2px 5px;
      font-weight: 400;
      color: #FFF;
      display: inline-block;
      width: auto;
    }

    #feautre-slide h2 b{
      font-weight: 500;
      color: var(--violeta);
    }

    #feautre-slide p{
      position: relative;
      font-size: 23px;
      padding: 2.5em;
      padding-left: 20px;
    }
      #feautre-slide p strong{
        font-weight: 500;
      }
      #feautre-slide .slide-text p img{
        position: absolute;
        right: 0;
        top: 0;
      }
  #feautre-slide .slide-img img{
    position: relative;
  }

#form-leads{
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-image: url(img/form-leads-bg.png);
  background-size: 100%;
  background-repeat: no-repeat;
  padding: 2rem;
  padding-top: 10rem;
}
  .form{
    position: absolute;
    width: 70%;
    left: 15%;
    margin-top: -15em;
  }
  .form .box-01{
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    margin-left: -6px;
    margin-top: 6px;
    left: 0;
    top: 0;
    background-color: var(--violeta);
  }
  .form .box-02{
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    margin-left: -12px;
    margin-top: 12px;
    left: 0;
    top: 0;
    background-color: var(--violeta);
  }

  .form form{
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    background-color: var(--blanco);
    padding: 2rem;
    box-shadow: 0 -5px 14px 0px rgb(0 0 0 / 25%);
  }

  .form-left{
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 5px;
  }
    .form-group{
      display: flex;
      gap: 5px;
    }
      .form-group .input-form{
        width: 100%;
        padding: 10px;
        border-radius: 2px;
        border: 1px solid #2D2D2D;
      }
        .form-group .input-form.half{
          width: calc(52% - 20px);
        }
        .form-group .input-form.quarter{
          width: calc(20% - 20px);
        }
        .form-group .input-form.quarterHalf{
          width: calc(30% - 20px);
        }
.btn{
  width: 100%;
  padding: 8px;
  font-size: 18px;
  font-weight: 600;
  color: var(--blanco);
  border: 0;
  border-radius: 2px;
  cursor: pointer;
  transition: all 300ms;
}
  .btn-primary{
    background-color: var(--violeta);
  }
    .btn-primary:hover{
      background-color: #5e1754;
    }

  .form-right{
    width: calc(50% - 1em);
    padding: 0 1em;
    padding-right: 0;
  }
    .form h3{
      display: flex;
      flex-direction: column;
      color: var(--violeta);
      font-size: 32px;
      text-transform: uppercase;
      font-weight: 600;
      line-height: 140%;
    }

#form-leads h2{
  padding: 2rem 10rem;
  text-align: center;
  font-weight: 400;
  font-size: 50px;
  color: var(--blanco);
  width: 100%;
  line-height: 120%;
}
  #form-leads h2 strong{
    background-color: var(--violeta);
    padding: 2px 5px;
    font-weight: 400;
    color: #FFF;
    display: inline-block;
    width: auto;
  }

#servicios{
  scroll-margin-top: 100px;
}
.features{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  list-style: none;
  align-items: flex-start;
  justify-content: center;
  padding: 2em 15%;
}
  .features li{
    padding: 2em;
    width: calc(20% - 1em);
    margin-bottom: 50px;
    background-image: url(img/quotes-v.png);
    background-position: left top;
    background-repeat: no-repeat;
  }
    .features li span{
      height: 70px;
      display: flex;
      align-items: flex-start;
    }
    .features li h4{
      font-size: 26px;
      font-weight: 400;
      color: var(--blanco);
      letter-spacing: -1px;
      line-height: 30px;
      margin-top: 10px;
    }

.h3{
  position: relative;
  font-size: 50px;
  font-weight: 400;
  color: var(--blanco);
  padding: 0.2em 0.4em;
}
.h3.black{
  color: var(--negro);
}
  .h3:before{
    content: "";
    position: absolute;
    width: 20px;
    height: 19px;
    left: 0;
    bottom: 0;
    background-image: url('img/arrow-title-bottom.png');
    background-repeat: no-repeat;
  }
  .h3:after{
    content: "";
    position: absolute;
    width: 20px;
    height: 19px;
    right: 0;
    top: 0.2em;
    background-image: url('img/arrow-title-top.png');
    background-repeat: no-repeat;
  }

#nos-eligen {
  display: flex;
  padding: 2em 20%;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 5em;
  scroll-margin-top: 175px;
}
  .card {
    position: relative;
    width: calc(50% - 2.5em);
  }
    .card-inner{
      position: relative;
      padding: 1.5em;
      background-color: var(--blanco);
      z-index: 2;
    }
    .card:before{
      content: "";
      position: absolute;
      width: 100%;
      height: 100%;
      top: 10px;
      left: -10px;
      background-color: var(--violeta);
    }

    .card h4{
      padding: 10px;
      background-color: var(--violeta);
      display: flex;
      gap: 5px;
      transition: all 500ms;
      width: 60px;
      margin-top: -2.5em;
      margin-left: -0.5em;
      transition: all 300ms;
      transition-timing-function: ease-in;
    }
      .card h4 span{
        opacity: 0;
        font-size: 34px;
        font-weight: 500;
        color: var(--blanco);
        text-transform: uppercase;
        transition: all 400ms;
      }
      .card:hover h4{
        width: 100%;
      }
        .card:hover h4 span{
          opacity: 1;
        }
  .card-text{
    margin-top: 20px;
    position: relative;
  }
    .card h3{
      display: flex;
      flex-direction: column;
      font-size: 40px;
      font-weight: 500;
      color: var(--negro);
      line-height: 35px;
      transition: all 500ms;
    }
      .card:hover h3{
        opacity: 0;
        transform: translate(0, -20px);
        transition-timing-function: ease-out;
      }
      .card h3 small{
        font-size: 24px;
      }
      .card h3 span{
        text-transform: uppercase;
        font-weight: 500;
      }

    .card-text p{
      opacity: 0;
      font-weight: 400;
      font-size: 14px;
      padding: 20px 0;
      padding-right: 20px;
      position: relative;
      margin-top: -60px;
      transform: translate(0, 20px);
      background-color: var(--blanco);
      transition: all 600ms;
    }
      .card:hover .card-text p{
        opacity: 1;
        transform: translate(0);
      }

#partners{
  display: flex;
  flex-direction: column;
  align-items: center;
  background-image: url(img/partners-bg.png);
  background-size: 120%;
  background-repeat: no-repeat;
  background-position: top;
  padding: 2rem;
  position: relative;
  z-index: 2;
  scroll-margin-top: 50px;
}
  .partners{
    display: flex;
    list-style: none;
    gap: 50px;
    margin: 25px 0;
    align-items: center;
  }

.testimonials{
  position: relative;
  display: flex;
  justify-content: flex-end;
  padding: 2em 15%;
  margin-bottom: 50px;
}
.testimonials.right{
  justify-content: flex-start;
}
  .clients-texture{
    position: absolute;
    top: 10em;
    left: 10%;
  }
  .testimonials.right .clients-texture{
    left: inherit;
    right: 10%;
  }

  .testimonial-img{
    position: relative;
    max-width: 80%;
  }
    .testimonial-img img{
      position: relative;
      max-width: 100%;
    }
    .testimonial-img .box-01{
      display: block;
      position: absolute;
      width: 100%;
      height: 100%;
      margin-right: -6px;
      margin-top: 6px;
      right: 0;
      top: 0;
      background-color: var(--violeta);
    }
      .testimonials.right .testimonial-img .box-01{
        left: 0;
        right: inherit;
        margin-right: 0;
        margin-left: -6px;
      }
    .testimonial-img .box-02{
      display: block;
      position: absolute;
      width: 100%;
      height: 100%;
      margin-right: -12px;
      margin-top: 12px;
      right: 0;
      top: 0;
      background-color: var(--violeta);
    }
      .testimonials.right .testimonial-img .box-02{
        left: 0;
        right: inherit;
        margin-right: 0;
        margin-left: -12px;
      }
    .testimonial-img .box-03{
      display: block;
      position: absolute;
      width: 100%;
      height: 100%;
      margin-right: -18px;
      margin-top: 18px;
      right: 0;
      top: 0;
      background-color: var(--violeta);
    }
      .testimonials.right .testimonial-img .box-03{
        left: 0;
        right: inherit;
        margin-right: 0;
        margin-left: -18px;
      }
    .testimonial-img .client-quote{
      position: absolute;
      right: -5px;
      bottom: -5px;
    }
      .testimonials.right .testimonial-img .client-quote{
        right: inherit;
        left: -5px;
      }

.testimonial{
  position: absolute;
  left: 15%;
  width: 30%;
  z-index: 2;
  margin-top: -1em;
}
  .testimonials.right .testimonial{
    left: inherit;
    right: 15%;
  }
  .testimonial::before{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--verde);
    margin-left: -8px;
    bottom: -8px;
  }
    .testimonials.right .testimonial::before{
      margin-left: 8px;
    }
  .testimonial-text{
    position: relative;
    padding: 1.5em;
    background-color: var(--violeta);
  }
    .testimonial-text::after{
      content: " ";
      position: absolute;
      top: 100%;
      left: 100%;
      margin-left: -20px;
      border-style: solid;
      border-color: var(--violeta) transparent transparent transparent;
      border-top-width: 30px;
      border-bottom-width: 5px;
      border-left-width: 20px;
      border-right-width: 0px;
    }
      .testimonials.right .testimonial-text::after{
        left: 0;
        margin-left: 0;
        border-top-width: 30px;
        border-bottom-width: 0px;
        border-left-width: 0px;
        border-right-width: 20px;
      }

    .testimonial-text p{
      font-size: 25px;
      font-weight: 400;
      line-height: 35px;
      color: var(--blanco);
      margin-bottom: 15px;
    }
    .testimonial-text h3{
      font-size: 15px;
      font-weight: 500;
      line-height: 21px;
      color: var(--blanco);
    }
    .testimonial-text .client-quote{
      position: absolute;
      right: -25px;
      bottom: 25px;
    }
      .testimonials .testimonial-text .client-quote{
        right: 0;
        left: -25px;
        transform: rotate(90deg);
      }

#contact{
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-image: url(img/form-leads-bg.png);
  background-size: 100%;
  background-repeat: no-repeat;
  padding: 2rem;
  padding-top: 10rem;
  margin-top: -10rem;
}
  #contact .form{
    position: relative;
    margin-top: 0;
    left: inherit;
  }
    #contact .form h3{
      width: 100%;
      align-items: flex-start;
      justify-content: space-between;
      flex-direction: row;
      flex-wrap: nowrap;
      font-size: 48px;
      color: #2D2D2D;
      text-transform: capitalize;
      margin-bottom: 10px;
    }
    #message-footer{
      height: 112px;
      margin-bottom: 4px;
    }

#footer{
  display: flex;
  padding: 2em 15%;
  background-color: var(--verderoscuro);
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
}
.logo-footer{
  display: flex;
  align-items: center;
  gap: 20px;
}
  .logo-footer p{
    font-size: 18px;
    color: var(--blanco);
    margin: 0;
  }
.social-icons{
  display: flex;
  list-style: none;
  gap: 10px;
}

.scroll-mobile{
  display: none;
}

.g-recaptcha{
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: flex-end;
  padding-top: 10px;
}
  #contactFormTop .form-left{
    position: relative;
    padding-bottom: 20px;
  }
    #contactFormTop .g-recaptcha{
      transform: scale(.5);
      transform-origin: bottom right;
      position: absolute;
      bottom: -25px;
    }

#respuesta, #respuestaTop{
  display: none;
  width: 100%;
  padding: 20px;
  color: white;
  margin-bottom: 15px;
}
  #respuestaTop{
    position: absolute;
    margin-top: -5em;
    box-sizing: border-box;
    width: 90%;
  }
  #respuesta.success, #respuestaTop.success{
    background-color: #04AA6D;
  }

  #respuesta.error, #respuestaTop.error{
    background-color: #f44336;
  }
@media (max-width: 991px) {
  #header{
    background-color: transparent;
    box-shadow: none;
    padding: 1em 2em;
    width: calc(100% - 4em);
  }
  #nav{
    display: none;
  }
  #logo{
    transform: scale(0.75);
    transform-origin: top left;
  }
  #feautre-slide{
    flex-direction: column;
    padding: 1em;
    padding-bottom: 20em;
  }
  #feautre-slide .slide-text, .slide-img{
    width: 100%;
  }
    .slide-img img{
      width: 100%;
    }
    #feautre-slide .slide-text{
      order: 2;
    }
  .partners{
    flex-direction: column;
    gap: 10px;
  }

  #nos-eligen{
    flex-direction: column;
    gap: 4em;
  }
    .card {
      position: relative;
      width: 100%;
    }
  #feautre-slide h2{
    font-size: 36px;
    text-align: center;
    font-weight: 400;
    line-height: 40px;
    padding: 0;
  }
  #feautre-slide .texture-bg{
    display: none;
  }
  #feautre-slide p{
    display: none;
  }
  .form{
    width: 90%;
    left: 5%;
    margin-top: -11em;
  }
  .form form{
    flex-direction: column;
  }
    .form-left, .form-right{
      width: 100%;
      padding: 0;
    }
    .form-group{
      flex-wrap: wrap;
    }
    .form-group .input-form.half {
      width: calc(100% - 20px);
    }
    .form-group .input-form.quarter {
      width: calc(25% - 20px);
    }
    .form-group .input-form.quarterHalf {
      width: calc(72% - 20px);
    }

  .form-left{
    position: absolute;
    margin-top: -20em;
    left: 0;
  }
  .form h3{
    font-size: 21px;
  }
  #form-leads{
    background-size: auto 100%;
  }
    #form-leads h2{
      padding: 2rem;
      font-size: 32px;
      text-align: left;
      line-height: 140%;
    }
  #form-leads h2 strong{
    display: inline;
    line-height: 175%;
  }
  .features{
    padding: 1em 0;
    display: flex;
    justify-content: flex-start;
    width: 200%;
  }
    .features li{
      width: calc(25% - 4em);
      margin-bottom: 10px;
    }
  #header.fixed{
    opacity: 0;
    padding: 0;
  }
  .features-mobile{
    position: relative;
    width: 100%;
    overflow-x: scroll;
  }
  .scroll-mobile{
    display: block;
    position: absolute;
    right: 0;
    bottom: 2em;
  }
  .features li h4{
    font-size: 23px;
    line-height: 28px;
  }
  .h3{
    font-size: 38px;
    padding: 0.3em 0.5em;
  }
  .testimonials{
    padding: 1em;
    margin-bottom: 10em;
  }
    .testimonial{
      left: 0;
      bottom: -6em;
      width: 80%;
      margin-top: 0;
    }
    .testimonial-img{
      max-width: 90%;
    }
    .testimonial-text p{
      font-size: 16px;
      line-height: 21px;
    }

    .testimonial-text::after{
      border-color: transparent var(--violeta) transparent transparent;
      border-top-width: 30px;
      border-bottom-width: 0px;
      border-left-width: 0px;
      border-right-width: 20px;
      top: -29px;
    }
      .testimonial-img .box-01{
        left: -8px;
      }
      .testimonial-img .box-02, .testimonial-img .box-03,
      .testimonial::before{
        display: none;
      }
  .testimonial-text{
    padding: 1em;
  }
  .testimonials .testimonial-text .client-quote{
    display: none;
  }
  .clients-texture{
    transform: scale(0.75);
    transform-origin: top right;
    right: 0;
    left: inherit;
  }
  #contact{
    display: none;
  }
  .testimonials.right .testimonial{
    right: 0;
  }
  .testimonials.right .testimonial-text::after{
    left: 0;
    margin-left: 0;
    border-top-width: 30px;
    border-bottom-width: 0px;
    border-left-width: 20px;
    border-right-width: 20px;
    border-color: transparent transparent transparent var(--violeta);
  }
  .testimonials.right .clients-texture{
    left: 0;
    right: inherit;
    transform-origin: bottom left;
  }
  #footer{
    padding: 1em;
  }
  .card h4{
    width: 100%;
  }
    .card h4 span{
      opacity: 1;
    }
  .card h3{
    display: none;
  }
    .card-text{
      margin-top: 0;
    }
      .card-text p{
        opacity: 1;
        margin-top: 0;
        padding-top: 0;
      }
  #contactFormTop .g-recaptcha{
    position: relative;
    bottom: 0;
    transform-origin: top center;
  }
}

@media (min-width: 991px) and (max-width: 1200px) {
  #header{
    width: calc(100% - 10em);
    padding: 1em 5em;
  }
  #feautre-slide{
    padding: 8em 5em;
  }
  .form{
    width: 90%;
    left: 5%;
  }
  .features, #nos-eligen{
    padding: 2em 5%;
  }
  .features li{
    width: calc(20% - 2em);
  }
  #form-leads{
    background-size: auto 100%;
  }
  .testimonial{
    left: 5%;
    width: 40%;
  }
}



.lds-ellipsis,
.lds-ellipsis div {
  box-sizing: border-box;
}
.lds-ellipsis {
  display: none;
  position: relative;
  width: 80px;
  height: 80px;
}
  .lds-ellipsis.sending{
    display: inline-block;
    position: absolute;
    top: -16px;
    transform: scale(.75) translate(-50%, 0);
    left: 50%;
    z-index: 2;
  }
.lds-ellipsis div {
  position: absolute;
  top: 33.33333px;
  width: 13.33333px;
  height: 13.33333px;
  border-radius: 50%;
  background: #FFF;
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
}
.lds-ellipsis div:nth-child(1) {
  left: 8px;
  animation: lds-ellipsis1 0.6s infinite;
}
.lds-ellipsis div:nth-child(2) {
  left: 8px;
  animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(3) {
  left: 32px;
  animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(4) {
  left: 56px;
  animation: lds-ellipsis3 0.6s infinite;
}
@keyframes lds-ellipsis1 {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes lds-ellipsis3 {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(0);
  }
}
@keyframes lds-ellipsis2 {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(24px, 0);
  }
}

#enviar.sending, #enviar-footer.sending{
  text-indent: -999px;
  pointer-events: none;
  opacity: 0.8;
}