
:root {
  --default-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
  Ubuntu, "Helvetica Neue", Helvetica, Arial, "PingFang SC",
  "Hiragino Sans GB", "Microsoft Yahei UI", "Microsoft Yahei",
  "Source Han Sans CN", sans-serif;
}

*{
  padding: 0;
  margin: 0;
}

html{
  scroll-behavior: smooth;
}

h1, h2{
  color: #091547;
}

h1, h2, h3, p, li, span{
  font-family: Poppins, var(--default-font-family);
}

.brDesktop{
  display: block;
}

.main-container {
  overflow: hidden;
}

.main-container,
.main-container * {
  box-sizing: border-box;
}

input,
select,
textarea,
button {
  outline: 0;
}

.main-container {
  position: relative;
  margin: 0 auto;
  background: #ffffff;
  overflow: hidden;
}

.hidden {
  display: none;
}

/************************************************************/
/* HERO */

.hero{
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 0 54px 40px;
}

.hero img{
  width: 164px;
  height: 39px;
  margin: 60px 0 40px;
}

.hero .mainTitle{
  font-size: 55px;
  font-weight: 700;
  line-height: 60px;
}

.hero .mainTitle span{
  color: #3dc198;
  display: block;
}

.underTitle{
  color: #0d1230;
  font-size: 22px;
  font-weight: 400;
  line-height: 33px;
}

.main-cta {
  background: #315bda;
  font-family: Poppins;
  border: none;
  border-radius: 2px;
  color: #ffffff;
  font-size: 18px;
  font-weight: 500;
  line-height: 27px;
  padding: 15px;
  cursor: pointer;
}

/* APP PREVIEW */

.app-preview{
  text-align: center;
  margin: 0 auto;
  background: url(/home/img/curva_fondo.webp)
    no-repeat center;
  background-size: 100%;
  aspect-ratio: 1440 / 527;
  display: grid;
  align-items: center;
}

.app-preview img{
  padding: 0 54px;
  width: 100%;
}

/* INFINIT */

.infinit{
  text-align: center;
  margin: 150px auto 40px;
}

.infinit h2{
  font-size: 40px;
  font-weight: 700;
  line-height: 45px;
  text-align: center;
}

.infinit h2 span{
  color: #dd31bd;
}

.infinit .infinit-container{
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 300px 300px;
  padding: 50px 54px;
}

.infinit .infinit-container .infinit-top-left{
  background: url(/home/img/infinito-arriba-izquierda.webp) no-repeat bottom right;
  background-size: contain;
  transition: .5s;
}

.infinit .infinit-container .infinit-top-left:hover{
  background: url(/home/img/infinito-arriba-izquierda-activo.webp) no-repeat bottom right;
  background-size: contain;
  transition: .5s;
}

.infinit .infinit-container .infinit-top-right{
  background: url(/home/img/infinito-arriba-derecha.webp) no-repeat bottom left;
  background-size: contain;
  transition: .5s;
}

.infinit .infinit-container .infinit-top-right:hover{
  background: url(/home/img/infinito-arriba-derecha-activo.webp) no-repeat bottom left;
  background-size: contain;
  transition: .5s;
}

.infinit .infinit-container .infinit-bottom-left{
  background: url(/home/img/infinito-abajo-izquierda.webp) no-repeat top right;
  background-size: contain;
  transition: .5s;
}

.infinit .infinit-container .infinit-bottom-left:hover{
  background: url(/home/img/infinito-abajo-izquierda-activo.webp) no-repeat top right;
  background-size: contain;
  transition: .5s;
}

.infinit .infinit-container .infinit-bottom-right{
  background: url(/home/img/infinito-abajo-derecha.webp) no-repeat top left;
  background-size: contain;
  transition: .5s;
}

.infinit .infinit-container .infinit-bottom-right:hover{
  background: url(/home/img/infinito-abajo-derecha-activo.webp) no-repeat top left;
  background-size: contain;
  transition: .5s;
}

.infinit-swiper-container{
  display: none;
}

/* INBOUND - OUTBOUND */

.inbound-solution{
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 30px;
  background: url(/home/img/misc1.webp)
  no-repeat;
  background-position: 0 80%;
  margin-bottom: 80px;
}

.outbound-solution{
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 30px;
  background: url(/home/img/misc2.webp)
  no-repeat;
  background-position: 100% 80%;
  margin-bottom: 80px;
}

.inbound-solution h2, .outbound-solution h2{
  font-size: 40px;
  font-weight: 700;
  line-height: 45px;
  text-align: center;
}

.inbound-solution h2 span, .outbound-solution h2 span{
  color: #dd31bd;
}

.inbound-solution-container, .outbound-solution-container{
  display: grid;
  grid-template-rows: auto;
  align-items: center;
  gap: 20px;
  padding: 0 54px;
}

.inbound-solution-items, .outbound-solution-items{
  padding: 30px 0 40px;
  text-align: left;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  justify-items: center;
  gap: 60px;
}

.inbound-solution-items h3, .outbound-solution-items h3{
  color: #05154A;
  font-size: 35px;
  font-style: normal;
  font-weight: 700;
  line-height: 40px;
}

.inbound-solution-items h3 span, .outbound-solution-items h3 span{
  color: color(display-p3 0.1922 0.3569 0.8549);
}

.inbound-solution-items .inbound-description, .outbound-solution-items .outbound-description{
  color: #05154A;
  font-size: 18px;
  font-weight: 500;
  line-height: 25px;
  padding: 20px 0 40px;
}

.inbound-solution-items ul li, .outbound-solution-items ul li{
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 18px;
  line-height: 25px;
  color: #205CE2;
  font-weight: 700;
  cursor: pointer;
  padding: 20px 25px 20px 0px;
  list-style: none;
  transition: all 0.3s ease;
}

.inbound-solution-items ul li .text-extended, .outbound-solution-items ul li .text-extended{
  color: color(display-p3 0.051 0.0706 0.1882);
  font-family: Poppins;
  font-size: 18px;
  font-weight: 500;
  line-height: 25px;
  transition: all 0.3s ease;
  display: none;
}

.inbound-solution-items ul li .active, .outbound-solution-items ul li .active{
  transition: all 0.3s ease;
  display: contents;
}

.inbound-solution-items ul li{
  background: url("/home/img/flecha-verde.webp");
}

.outbound-solution-items ul li{
  background: url("/home/img/flecha-rosa.webp");
}

.inbound-solution-items ul li, .outbound-solution-items ul li{
  background-repeat: no-repeat !important;
  background-position: 100% 85% !important; 
}

.inbound-solution-items ul li:first-child, .inbound-solution-items ul li:last-child{
  border-bottom: 1px solid #00C495;
  border-top: 1px solid #00C495;
}

.outbound-solution-items ul li:first-child, .outbound-solution-items ul li:last-child{
  border-bottom: 1px solid #F105C2;
  border-top: 1px solid #F105C2;
}

/* RESULTS */

.results{
  background: #0d1230;
  padding: 100px 0;
  background-image: url(/home/img/curva_fondo3.webp);
  background-repeat: no-repeat;
  background-size: 100%;
  background-position: bottom;
}

.result-container{
  padding: 0 54px;
}

.results .numbers{
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 20%;
  padding: 50px 0 100px;
}

.results .numbers .number-item{
  text-align: center;
}

.results .numbers .number-item p{
  color: #00C495;
  font-size: 30px;
  font-weight: 500;
  line-height: 35px;
}

.results .numbers .number-item .number{
  color: #FFF;
  font-size: 80px;
  font-weight: 700;
  line-height: 55px;
  padding-bottom: 15px;
}

.results .integrated-crm{
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  justify-items: center;
  gap: 40px;
}

.crm-swiper, .infinit-swiper {
  width: 100%;
  overflow: hidden;
}

.swiper-wrapper {
  display: flex;
  transition: transform 0.5s ease;
}

.swiper-slide {
  flex-shrink: 0;
  width: 100%;
  text-align: center;
}

.crm-swiper-pagination{
  margin-bottom: -10px;
}

.crm-swiper .swiper-pagination-bullet{
  background: white;
}

.crm-swiper .swiper-pagination-bullet-active{
  background: #007AFF;
}

.results .integrated-crm h2{
  color: #FFF;
  font-size: 35px;
  font-weight: 700;
  line-height: 40px;
}

.results .integrated-crm h2 span{
  color: color(display-p3 0.8667 0.1922 0.7412);
}

.integrated-crm p{
  color: #ffffff;
  font-size: 18px;
  font-weight: 500;
  line-height: 25px;
}

.integrated-crm .grid-right p:last-of-type, .integrated-crm .grid-right p:first-of-type{
  padding: 20px 0;
}

.integrated-crm p .crm-title{
  display: block;
  color: #00C495;
  font-weight: 700;
  padding-bottom: 5px;
  transition: color 0.5s ease, transform 0.5s ease;
}

.grid-right p .active{
  color: #007BFF;
  transform: scale(1.03);
  transform-origin: left center;
  opacity: 1;
}

/* FORM */

.form{
  background: #3dc198;
  padding: 150px 0;
  text-align: center;
}

.form-container{
  padding: 0 54px;
}

.form h2{
  color: #FFF;
  font-size: 45px;
  font-weight: 700;
  line-height: 55px;
  padding-bottom: 40px;
}

.form form .form-flex{
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.form form input, .form form .pais{
  border-radius: 5px;
  background: #FFF;
  box-sizing: border-box;
  border: none;
  padding: 15px 15px;
  color: #424242;
  font-family: Poppins;
  font-size: 18px;
  font-weight: 400;
  line-height: normal;
  height: 100%;
}

.form form .telefonoInput .pais {
  border-radius: 5px 0 0 5px;
  padding: 15px 15px;
}

.form form .telefonoInput #phone {
  border-radius: 0 7px 7px 0;
  border-left: solid 1px rgb(204, 204, 204);
}

.form form .telefonoInput{
  display: grid;
  grid-template-columns: 25% 75%;
  cursor: pointer;
}

.form form .telefonoInputCodarea{
  position: relative;
}

.form form .pais{
  display: flex;
  justify-content: space-between;
  color: grey;
  align-items: center;
}

.form form .pais img,
.form form .paisList li img {
  max-height: 100%;
  height: 20px;
}

.form form .paisList li img {
  margin-right: 10px;
  margin-bottom: -3px;
}

.form form .paisList {
  overflow-y: auto;
  width: 300%;
  background-color: white;
  position: absolute;
  top: 43px;
  padding: 10px;
  border-radius: 10px;
  border: solid 1px lightgrey;
  max-height: 245px;
  text-align: left;
}

.form form .paisList li {
  cursor: pointer;
  padding: 10px 20px;
  font-size: 16px;
  border-bottom: solid 1px lightgrey;
  font-family: 'Roboto', sans-serif;
}

.form form .paisList li:last-child {
  border-bottom: none;
}

.form form .paisListOptions span {
  color: grey;
  margin-left: 10px;
}

.form form .emailValidator {
  font-family: Poppins;
  color: rgb(235, 47, 47);
  font-size: 15px;
  flex-basis: 100%;
  display: none;
}

.form form .emailValidatorText {
  display: none;
}

.show {
  display: block !important;
}

.form form button{
  display: block;
  margin: 35px auto 0;
}

.sent{
  color: #FFF;
  font-size: 45px;
  font-weight: 700;
  line-height: 55px;
  padding-bottom: 20px;
}

.sentDescription{
  color: #ffffff;
  font-size: 18px;
  font-weight: 500;
  line-height: 25px;
}

/************************************************************/
/* MEDIA QUERYS */

@media (min-width:1209px) {
  .containerLayout {
      margin: 0 auto;
      max-width: 1366px
  }
}

@media (max-width: 1208px) {
  .brDesktop{
    display: inline;
  }
}

@media (min-width:701px) and (max-width:1124px) {
  *{
    zoom: .95;
  }

  .app-preview img {
    max-width: 90%;
  }
}

@media (max-width:700px) {

  /* HERO */

  .hero{
    padding: 0 30px 50px;
    text-align: left;
  }

  .hero .mainTitle{
    font-size: 38px;
    line-height: 44px;
    width: 100%;
  }

  .hero .underTitle{
    font-size: 18px;
    line-height: 25px;
  }

  .hero a{
    align-self: flex-start;
  }

  /* APP PREVIEW */

  .app-preview img{
    padding: 0 30px;
  }

  /* INFINIT */
  .infinit{
    margin: 0;
    padding: 70px 0;
  }

  .infinit h2{
    padding: 0 30px;
    font-size: 32px;
    line-height: 40px;
    text-align: left;
  }

  .infinit .infinit-container{
    display: none;
  }

  .infinit-swiper-container{
    display: block;
  }

  .swiper-slide img { 
    max-width: 100%;
  }

  /* INBOUND - OUTBOUND */

  .inbound-solution{
    text-align: left;
    background-position: 0 90%;
    background-size: 80%;
    margin-bottom: 80px;
  }
  
  .outbound-solution{
    text-align: left;
    background-position: 0 85%;
    margin-bottom: 80px;
  }
  
  .inbound-solution-container, .outbound-solution-container{
    padding: 0 30px;
  }

  .inbound-solution-container a, .outbound-solution-container a{
    justify-self: center;
  }

  .inbound-solution h2, .outbound-solution h2{
    font-size: 32px;
    line-height: 40px;
    text-align: left;
  }

  .inbound-solution .underTitle, .outbound-solution .underTitle{
    font-size: 18px;
    line-height: 25px;
  }

  .inbound-solution-items, .outbound-solution-items{
    padding: 50px 0px 40px;
    text-align: left;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    justify-items: center;
    gap: 60px;
  }

  .outbound-solution-items{
    flex-direction: column;
  }

  .inbound-solution-items .grid-left img, .outbound-solution-items .grid-left img{
    width: 100%;
  }

  .inbound-solution-items h3, .outbound-solution-items h3{
    font-size: 25px;
    line-height: 30px;
  }

  .inbound-solution-items ul li, .outbound-solution-items ul li{
    font-size: 15px;
    line-height: 22px;
  }

  .inbound-solution-items ul li .text-extended, .outbound-solution-items ul li .text-extended{
    font-size: 15px;
    line-height: 22px;
  }

  /* RESULTS */

  .results{
    padding: 100px 0;
    background-position: center;
  }

  .result-container{
    padding: 0 30px;
  }

  .results .numbers{
    flex-direction: column;
    gap: 100px;
    padding: 50px 0 60px;
  }

  .results .integrated-crm{
    display: flex;
    flex-direction: column;
    gap: 40px;
  }

  .results .integrated-crm h2{
    font-size: 25px;
    line-height: 30px;
  }

  .crm-swiper-pagination{
    display: none;
  }

  /* FORM */
  .form{
    padding: 70px 0;
  }

  .form-container{
    padding: 0 30px;
  }

  .form h2{
    font-size: 32px;
    line-height: 40px;
    padding-bottom: 20px;
  }

  .form form input{
    padding: 15px 20px;
    font-size: 16px;
    line-height: normal;
    margin: 0 !important;
    width: 100%;
  }

  .form form .paisList {
    width: 330%;
  }

  .form form .telefonoInput{
    grid-template-columns: 30% 70%;
    margin: 0 !important;
    width: 100%;
  }

  .form form .pais{
    font-size: 15px;
  }

  .form form button{
    margin: 25px auto 0;
  }

}