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

@font-face {
  font-family: freight;
  src: url(../font/FreightSansPro-Bold.ttf);
}

/*===== VARIABLES CSS =====*/
:root {
  --header-height: 3rem;

  /*========== Colors ==========*/
  --first-color: #00AEEF;
  --first-color-alt: #F5821F;
  --first-color-send: #F5821F;
  --title-color: #231F20;
  --text-color: ##4F4C4D;
  --text-color-light: #8F8A8A;
  --body-color: #FEFBFB;
  --container-color: #FFF;

  /*========== Font and typography ==========*/
  --body-font: 'Montserrat', sans-serif;
  --biggest-font-size: 2rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1.125rem;
  --normal-font-size: .938rem;
  --small-font-size: .813rem;

  /*========== Font weight ==========*/
  --font-semi-bold: 600;
  --font-bold: 700;

  /*========== Margenes ==========*/
  --mb-1: .5rem;
  --mb-2: 1rem;
  --mb-3: 1.5rem;
  --mb-4: 2rem;
  --mb-5: 2.5rem;
  --mb-6: 3rem;
  /*========== z index ==========*/

  --z-tooltip: 10;
  --z-fixed: 100;
}

@media screen and (min-width: 968px){
  :root{
    --biggest-font-size: 3rem;
    --h2-font-size: 1.75rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: .875rem;
  }
}

/*========== BASE ==========*/
*,::before,::after{
  box-sizing: border-box;
}

html{
  scroll-behavior: smooth;
}

/*========== Variables Dark theme ==========*/
body.dark-theme{
  --first-color-send: #161212;
  --title-color: #F3F1F1;
  --text-color: #D1C7C8;
  --body-color: #251D1E;
  --container-color: #302728;
}

/*========== Button Dark/Light ==========*/
.change-theme{
  position: absolute;
  right: 1.5rem;
  top: 2.2rem;
  display: flex;
  color: var(--title-color);
  font-size: 2rem;
  cursor: pointer;
}

body{
  margin: var(--header-height) 0 0 0;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
  color: var(--text-color);
  line-height: 1.6;
}

h1,h2,h3,ul,p{
  margin: 0;
}

h1,h2,h3{
  font-family: freight;
  line-height: 1;
  font-weight: var(--font-semi-bold);
  color: var(--title-color);
}

ul{
  padding: 0;
  list-style: none;
}

a{
  text-decoration: none;
}

img{
  max-width: 100%;
  height: auto;
}

/*========== CLASS CSS ==========*/
.section{
  padding: 4rem 0 2rem;
}

.section-title, .section-title-center{
  font-size: var(--h2-font-size);
  color: var(--title-color);
  text-align: center;
  margin-bottom: var(--mb-3);
}

/*========== LAYOUT ==========*/
.l-main{
  overflow: hidden;
  padding: 1em 0 0 0;
}

.bd-container{
  max-width: 968px;
  width: calc(100% - 3rem);
  margin-left: var(--mb-3);
  margin-right: var(--mb-3);
}

.bd-grid{
  display: grid;
  gap: 1.5rem;
}

.l-header{
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
  background-color: var(--body-color);
}

/*========== NAV ==========*/
.nav{
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media screen and (max-width: 768px){
  .nav__menu{
    position: fixed;
    top: -100%;
    left: 0;
    right: 0;
    width: 90%;
    margin: 0 auto;
    padding: 2.5rem 0 0;
    text-align: center;
    background-color: var(--body-color);
    transition: .4s;
    box-shadow: 0 0 4px rgba(0,0,0,.1);
    border-radius: 2rem;
    z-index: var(--z-fixed);
  }
}

.nav__item{
  margin-bottom: var(--mb-3);
}

.nav__link, .nav__logo, .nav__toggle{
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
}

.nav__logo{
  width: 10em;
  display: flex;
  align-items: center;
}
.nav__logo img{
  aspect-ratio: 8/3;
}
.nav__link{
  transition: .3s;
}

.nav__link:hover{
  color: var(--first-color);
}

.nav__toggle{
  font-size: 1.3rem;
  cursor: pointer;
}

/* Show menu */
.show-menu{
  top: calc(var(--header-height) + 1rem);
}

/* Active menu link */
.active-link{
  position: relative;
}

.active-link::before{
  content: '';
  position: absolute;
  bottom: -.75rem;
  left: 45%;
  width: 5px;
  height: 5px;
  background-color: var(--title-color);
  border-radius: 50%;
}

/* Change background header */
.scroll-header{
  box-shadow: 0 1px 4px rgba(0,0,0,.1);
}

/* Scroll top */
.scrolltop{
  position: fixed;
  right: 1rem;
  bottom: -20%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: .3rem;
  background: var(--first-color-send);
  border-radius: .4rem;
  z-index: var(--z-tooltip);
  transition: .4s;
  visibility: hidden;
}

.scrolltop:hover{
  background-color: var(--first-color);
}

.scrolltop__icon{
  font-size: 1.5rem;
  color: var(--body-color);
}

.show-scroll{
  visibility: visible;
  bottom: 1.5rem;
}

/*========== HOME ==========*/
.home__container{
  row-gap: .5rem;
  text-align: center;
}
.home__container .home__img{
  width: 100%;
}
.home__container .home__img img{
  border-radius: .5em;
  aspect-ratio: 500/557;
}
.home__img{
  width: 280px;
  justify-self: center;
}

.home__title{
  font-size: var(--biggest-font-size);
  font-weight: var(--font-bold);
  margin-bottom: var(--mb-2);
}

.home__description{
  margin-bottom: var(--mb-3);
}

/*========== BUTTONS ==========*/
.button{
  display: inline-block;
  background-color: var(--first-color);
  color: #fff;
  padding: 1rem 1.5rem;
  border: 0;
  border-radius: .5rem;
  font-weight: var(--font-semi-bold);
  font-size: 1rem;
  transition: .3s;
  cursor: pointer;
}

.button:hover{
  background-color: var(--first-color-alt);
}

.button-link{
  background: none;
  padding: 0;
  color: var(--first-color);
}

.button-link:hover{
  background-color: transparent;
  color: var(--first-color-alt);
}

/*========== SHARE ==========*/
.share__container{
  row-gap: .5rem;
  text-align: center;
}
.share__container .share__img{
  width: 100%;
}
.share__container .share__img img{
  border-radius: .5em;
  aspect-ratio: 500/247;
}
.share__data{
  text-align: center;
}

.share__description{
  margin-bottom: var(--mb-2);
}

.share__img{
  width: 280px;
  justify-self: center;
}
/*======== CLIENTES =========*/
.medioPay{
  width: 100%;
  height: auto;
  display: flex;
  text-align: center;
  font-family: Bold-Roboto;
  font-size: 10pt;
  overflow: hidden;
}
.portaPay{
  width: 100%;
  height: auto;
  display: flex;
  user-select: none;
  touch-action: pan-y;
  transform: translate3d(0,0,0);
  animation: scroll 20s infinite linear;
  margin: 20px 0;
}
@keyframes scroll {
  0%{
      transform: translateX(0%);
  }
  100%{
      transform: translateX(calc(-21.65px * 55.4));
  }
}
.pay{
  width: 100px;
  height: 43px;
  margin: auto 10px;
  display: block;
  align-content: center;
  justify-content: center;
}
.pay img{
  width: 80px;
  height: auto;
}
/*================ Modal Inicio =====================*/
#modalAsesoria::backdrop{
  background: rgba(0, 0, 0, .55);
  backdrop-filter: blur(3px);
}
.modal{
  width: 80%;
  height: auto;
  border: 0;
  border-radius: 1em;
  overflow-x: hidden;
  position: fixed;
}
.close{
  width: 1.5em;
  height: 1.5em;
  position: absolute;
  top: 0;
  right: 0;
  cursor: pointer;
  font-family: freight;
  font-size: 2rem;
  color: var(--color3);
  border: 1px solid var(--color3);
}
.close:hover{
  background: var(--first-color-alt);
  color: var(--body-color);
  border: none;
}
.modal h2 {
  text-align: center;
  margin: 1em 0;
  font-size: 2em;
}
.contForm{
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  gap: 1em;
}
.asesoriaIMG{
  width: 100%;
  height: 14em;
  background-image: url(../img/asesoria.webp);
  background-position: 0 -1em;
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 1em;
}
.form{
  width: 100%;
  height: auto;
}
.form p{
  width: 100%;
  height: auto;
  text-align: center;
  line-height: 1.2em;
  margin: 0 0 1em 0;
}
.form form{
  width: 100%;
  height: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: .5em;
}
.inputModal{
  width: 100%;
  height: 3em;
  outline: none;
  border: none;
  border-radius: .5em;
  background: #F0F0F0;
  font-size: var(--normal-font-size);
  font-family: var(--body-font);
  padding: 0 0 0 1em;
}

.inputModal::placeholder{
  font-family: var(--body-font);
}
.contEnviado{
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  text-align: center;
}
.imgEnviado{
  width: 5em;
  height: auto;
  margin: 1em auto;
}
.enviadoModal{
  margin: 2em 0 0 calc((100% / 2) - 50px);
}
/*========== DECORATION ==========*/
.decoration__container{
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.decoration__data{
  text-align: center;
  padding: 1rem 1rem 2rem;
  background-color: var(--container-color);
  box-shadow: 0 2px 6px rgba(65,11,16,.15);
  border-radius: 1rem;
}

.decoration__data:hover{
  box-shadow: 0 3px 12px rgba(65,11,16,.15);
}

.decoration__img{
  width: 180px;
  aspect-ratio: 1/1;
}

.decoration__title{
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-1);
}
/*=============== SLIDER TECNOLOGIAS =================*/
.contH2{
  width: 100%;
  height: auto;
  position: relative;
}
.titleTecno{
  position: absolute;
  top: 3em;
  left: 0;
  right: 0;
}
.micro-slider {
  width: 100dvw;
  height: 30em;
  display: block;
  position: relative;
  width: 100%;
}
#slider-wrapper{
  height: 30em;
}
.slider-item {
  width: auto;
  height: auto;
  left: 0;
  position: absolute;
  border-radius: 20px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px;
  box-shadow: 0 1px 3px rgba(0,0,0), 0 1px 2px rgba(0,0,0);
}
.contDescrip {
  overflow: hidden;
  position: relative;
  transform-style: preserve-3d;
  transform-origin: 0 50%;
  display: flex;
  align-items: center;
}
.accessory__title{
  text-align: center;
}

.accessory__title{
  font-size: var(--normal-font-size);
}
.contTecno{
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  gap: .5em;
}
.tecnoImg{
  width: 7em;
  justify-self: center;
  margin-bottom: .25rem;
}
.tecnoText{
  width: 100%;
  display: block;
  font-size: var(--small-font-size);
  margin-bottom: var(--mb-1);
  color: var(--text-color-light);
  text-align: left;
  line-height: 1.2em;
}
.shadow {
background: #FFFFFF;
opacity: 100 !important;
box-shadow: 0 2px 6px rgba(65,11,16,.15);
}

/*========== SEND GIFT ==========*/
.send{
  display: block;
  background-color: var(--first-color-send);
}

.send__title, .send__description{
  color: #fff;
}

.send__description{
  text-align: center;
  margin-bottom: var(--mb-4);
}

.send__direction{
  display: flex;
  justify-content: space-between;
  background-color: #fff;
  padding: .5rem;
  border-radius: .5rem;
}

.send__input{
  width: 70%;
  outline: none;
  border: none;
  font-size: var(--normal-font-size);
  font-family: var(--body-font);
}

.send__input::placeholder{
  font-family: var(--body-font);
}

.send__img{
  width: 280px;
  justify-self: center;
}

/*========== FOOTER ==========*/
.footer__container{
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.footer__logo{
  color: var(--title-color);
}

.footer__title{
  margin-bottom: var(--mb-2);
}

.footer__logo, .footer__title{
  font-size: var(--h3-font-size);
}

.footer__link{
  display: block;
  margin-bottom: .75rem;
  color: var(--text-color);
}

/*.footer__link:hover{
  color: var(--first-color);
}*/

.footer__social{
  font-size: 1.5rem;
  color: var(--title-color);
  margin-right: var(--mb-3);
}

.footer__social:hover{
  color: var(--first-color);
}

.footer__copy{
  text-align: center;
  font-size: var(--small-font-size);
  color: var(--text-color-light);
  margin-top: 4rem;
}
.btn_whatsApp {
  width: 3em;
  height: auto;
  position: fixed;
  bottom: 1em;
  left: 1em;
  z-index: 20;
}
.btn_whatsApp img{
  width: 100%;
  height: auto;
}
.btn_whatsApp picture{
  width: 3em;
  height: 3em;
  position: relative;
}
#animateWhatsApp{
  width: 3em;
  height: 3em;
  border-radius: 2em;
  position: absolute;
  top: -36px;
  left: -5px;
  right: 0;
  bottom: 0;
  margin: auto;
  background: #29A719;
  content: '';
  z-index: -1;
  transform-origin: 50% 50%;
  animation: smallcircle 1s infinite alternate ease-in-out;
}
@keyframes smallcircle {
  0%{ width: 3em; height: 3em; opacity: 0;}
  25%{width: 3.5em; height: 3.5em; opacity: .3;}
  50%{width: 4em; height: 4em; opacity: 0;}
  75%{width: 3.5em; height: 3.5em; opacity: .3;}
  100%{width: 3em; height: 3em; opacity: 0;}
}
/*========== MEDIA QUERIES ==========*/
@media only screen and (min-width:481px) and (max-width:768px){
  
  .contForm {
    flex-direction: row-reverse;
  }
  .asesoriaIMG {
    height: 22em;
    background-position: -1em 0;
  }
  .contEnviado{
    width: 50%;
    flex-direction: row;
    align-items: center;
    margin: auto;
    gap: 1em;
  }
  .contEnviado p{
    text-align: left;
  }
}
@media only screen and (min-width:769px) and (max-width:1279px){
  .modal {
    height: 30em;
  }
  .contForm {
    flex-direction: row-reverse;
  }
  .asesoriaIMG {
    height: 22em;
    background-position: -1em 0;
  }
  .contEnviado{
    width: 50%;
    flex-direction: row;
    align-items: center;
    margin: auto;
    gap: 1em;
  }
  .contEnviado p{
    text-align: left;
  }
}

/* For full-screen images on small screens */
@media screen and (max-width: 359px){
  .home__img,
  .share__img,
  .send__img{
    width: 100%;
  }
}

@media screen and (min-width: 576px){
  .home__container,
  .share__container{
    grid-template-columns: repeat(2,1fr);
    align-items: center;
  }
  .send__container{
    grid-template-columns: repeat(1,1fr);
    align-items: center;
  }

  .home__container{
    padding: 5rem 0 0;
  }

  .home__img{
    order: 1;
  }

  .section-title-center,
  .share__data,
  .send__description{
    text-align: initial;
  }

  .home__img,
  .share__img,
  .send__img{
    width: 100%;
  }
  
  .share__img{
    order: -1;
  }
}

@media screen and (min-width: 768px){
  body{
    margin: 0;
  }

  .section{
    padding-top: 7rem;
  }

  .nav{
    height: calc(var(--header-height) + 1.5rem);
  }

  .nav__list{
    display: flex;
    align-items: center;
  }

  .nav__item{
    margin-left: var(--mb-5);
    margin-bottom: 0;
  }

  .nav__toggle{
    display: none;
  }

  .change-theme{
    position: initial;
    margin-left: var(--mb-4);
  }

  .home__container{
    padding: 7rem 2rem 0;
    text-align: initial;
  }

  .share__container{
    padding: 0 2rem;
  }

  .accessory__container{
    grid-template-columns: repeat(3,224px);
    justify-content: center;
  }

  .accessory__content{
    padding: .5rem 1.5rem 1.5rem;
  }

  .accessory__img{
    width: 120px;
    margin-bottom: var(--mb-1);
  }

  .accessory__title, .accessory__category{
    text-align: initial;
  }

  .accessory__button{
    padding: .75rem;
  }

  .send{
    background: none;
  }

  .send__container{
    background-color: var(--first-color-send);
    padding: 2rem;
    border-radius: 1.5rem;
  }
}

@media screen and (min-width: 968px){
  .bd-container{
    margin-left: auto;
    margin-right: auto;
  }

  .home__img,
  .share__img,
  .send__img{
    width: 469px;
  }

  .home__container,
  .share__container,
  .send__container{
    column-gap: 5rem;
    text-align: initial;
  }
}
@media screen and (min-width: 1280px) {
  /*==============Modal Form ================*/
  .modal {
    width: 50%;
    max-width: 40em;
    height: 30em;
  }
  .contForm {
    flex-direction: row-reverse;
  }
  .asesoriaIMG {
    height: 22em;
    background-position: -1em 0;
  }
  .contEnviado{
    width: 50%;
    flex-direction: row;
    align-items: center;
    margin: auto;
    gap: 1em;
  }
  .contEnviado p{
    text-align: left;
  }
/*=========== WHATSAPP ===============*/
  .btn_whatsApp {
    top: .7em;
    right: calc(100dvw / 2 - 35em);
    bottom: inherit;
    left: inherit;
    z-index: 101;
  }
  .btn_whatsApp:hover{
    opacity: .5;
  }
}
