/* Google fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

/* Formato */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    background-color: var(--body-color);
    color: var(--text-color);
    transition: .3s; /* For animation dark mode */
  }
  
  h1, h2, h3 {
    color: var(--title-color);
    font-weight: var(--font-semi-bold);
  }

  .titulo_especial{
    font-size: 5.6rem;
    overflow-wrap: break-word;
    line-height: 5.2rem;
    padding-top: 2.4rem;

  }
  
  ul {
    list-style: none;
  }
  
  a {
    text-decoration: none;
  }
  
  img {
    max-width: 100%;
    height: auto;
  }
  
  input,
  
  n {
    font-family: var(--body-font);
    outline: none;
    border: none;
  }

  input, textarea, label, 
  n{
    display: block;
  }

  input, textarea{
    width: 100%;
  }
/* clases */
.container {
    max-width: 1024px;
    margin-left: 1.5rem;
    margin-right: 1.5rem;
  }
  
  .grid {
    display: grid;
  }
  
  .section {
    padding: 5rem 0 2rem;
  }
  
  .section__title {
    font-size: var(--h2-font-size);
    margin-bottom: 1rem;
  }
  
  .section__title span {
    color: var(--second-color);
  }
  
  .section__subtitle {
    display: block;
    font-size: var(--small-font-size);
    color: var(--second-color);
  }

  .section__link{
    color: var( --first-color);
    font-weight: bold;
    line-height: 4.6rem;
    font-size: larger;
}
  
  .main {
    overflow: hidden; /* For the animations ScrollReveal*/
  }




:root {
    --header-height: 6.5rem;

    /*Colores*/
    --first-color: hsl(197,88%, 20%);
    --first-color-alt: hsl(207, 64%, 48%);
    --first-color-light: hsl(197, 88%, 60%);
    --first-color-lighten: hsl(228, 100%, 97%);

    --second-color: hsl(25, 83%, 53%);

    --title-color: hsl(197,88%, 20%);
    --text-color: hsl(207, 64%, 48%);
    --text-color-light: hsl(225, 15%, 84%);
    --text-color-normal: hsla(240, 1%, 52%);
    --border-color: hsl(228, 99%, 98%);
    --body-color: #fff;
    --container-color: #fff;
  
    /*fuentes*/
    --body-font: 'Poppins', sans-serif;
    --biggest-font-size: 3.6rem;
    --h1-font-size: 2.4rem;
    --h2-font-size: 2.0rem;
    --h3-font-size: 1.8rem;
    --normal-font-size: 1.5rem;
    --small-font-size: 1.3rem;
    --smaller-font-size: 1.2rem;
  
    --font-medium: 500;
    --font-semi-bold: 600;

    /*posiciones*/
    --z-tooltip: 10;
    --z-fixed: 100;
    
    /*Tipografia Responsive*/
    @media screen and (min-width: 1024px) {
        :root {
          --biggest-font-size: 6.4rem;
          --h1-font-size: 3.6rem;
          --h2-font-size: 2.4rem;
          --h3-font-size: 2.0rem;
          --normal-font-size: 1.6rem;
          --small-font-size: 1.4rem;
          --smaller-font-size: 1.3rem;
        }
      }

}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: transparent;
    z-index: var(--z-fixed);
    transition: .4s;
}

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

.nav__logo{
    color: white;
    display: inline-flex;
    column-gap: .25rem;
    font-weight: var(--font-medium);
    transition: .3s;
}

.nav__logo i{
    font-size: 1.6rem;
}

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



@media screen and (max-width: 1023px){
    .nav__menu{
        position: fixed;
        bottom: 2rem;
        background-color: var(--container-color);
        box-shadow: 0 3px 12px hsla(233, 77%, 10%, 0.06);
        width: 90%;
        left: 0;
        right: 0;
        margin: 0 auto;
        padding: 1.30rem 3rem;
        border-radius: 1.25rem;
        transition: .4s;
    }

    .nav__list{
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .nav__link{
        color: var(--text-color);
        display: flex;
        padding: .5rem;
        border-radius: 50%;
    }

    .nav__link i{
        font-size: 3.0rem;
    }

    .nav__link span{
        display: none;
    }
    
}

/* cambio del header*/
.scroll-header{
    background-color: var(--body-color);
    box-shadow: 0 1px 4px hsla(228, 4%, 15%, .1);
}

.scroll-header .nav__logo{
    color: var(--first-color);
}

/* link activo*/
.active-link{
    background: var(--first-color-alt);
    color: white;
}

/* inicio */
.home {
    background: linear-gradient(170deg, 
                hsl(197,88%, 20%) 0%,
                hsl(207, 64%, 48%) 30% );
    padding-bottom: 0;
}

.home__container{
    padding-top: 4rem;
    row-gap: 3.5rem;
}

.home__title, 
.home__value-number{
    color: #fff;
}

.home__title{
    font-size: var(--biggest-font-size);
    line-height: 120%;
    margin-bottom: 1.25rem;
}

.home__description{
    color: var(--text-color-light);
    margin-bottom: 2rem;
    width: 90%;
}

.home__value{
    display: flex;
    column-gap: 2.5rem;
}

.home__value-number{
    font-size: var(--h1-font-size);
    font-weight: var(--font-medium);
}

.home__value-number span{
    color: var(--second-color);
}

.home__value-description{
    display: flex;
    color: var(--text-color-light);
    font-size: var(--smaller-font-size);
}

.home__images{
    position: relative;
    display: flex;
    justify-content: center;
}

.home__orbe{
    width: 350px;
    height: 490px;
    background: transparent; 
}

.home__img{
    position: absolute;
    width: 340px;
    overflow: hidden;
    display: inline-flex;
    align-items: flex-end;
}

.button{
    display: inline-block;
    background: white;
    color: var(--text-color);
    padding: 14px 28px;
    border-radius: .5rem;
    font-weight: var(--font-medium);
    transition: .3s;
    cursor: pointer;
}

.btn{
    display: inline-block;
    background: var(--first-color);
    color: white;
    padding: 14px 28px;
    border-radius: .5rem;
    font-weight: var(--font-medium);
    transition: .3s;
    cursor: pointer;
}

/*Logos */
.logos__container{
    padding-top: 2rem;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem 2rem;
    justify-items: center;
}

.logos__img img{
    height: 60px;
    opacity: .4;
    transition: .3s;
}

.logos__img img:hover{
    opacity: 1;
}

/* Popular */
.popular__container{
    padding: 1rem 0 5rem;
}

.popular__card{
    width: 290px;
    background-color: var(--container-color);
    padding: 1.5rem 1.5rem 1.5rem;
    border-radius: 1rem;
    margin: 0 auto;
    transition: .4s;
}

.popular__img{
    border-radius: 1rem;
    margin-bottom: 1rem;
}

.popular_price{
    font-size: var(--h2-font-size);
    color: var(--text-color);
    margin-bottom: .25rem;
}

.popular_title{
    font-size: var(--h3-font-size);
    margin-bottom: .75rem;
}

.popular__description{
    font-size: var(--small-font-size);
    color: var(--text-color-normal);
}

.popular__card:hover{
    box-shadow: 0 12px 16px hsla(233, 77%, 10%, .45);
}


/* Value */
.value__content{
    margin-bottom: 30px;
}

.value__description{
    color: var(--text-color-normal);
    line-height: 1.8;
    margin-bottom: 20px;
}

.value__list{
    display: grid;
    gap: 20px;
}

.value__card{
    padding: 20px;
    text-align: center;
    box-shadow: 0 3px 12px hsla(233, 77%, 10%, 0.06);
    transition: .4s;
}

.value__card:hover{
    background-color: var(--first-color-alt);
    transform: translateY(-5px);
    box-shadow: 0 3px 12px hsla(233, 77%, 10%, 0.06);
}

.value__card .value__icon{
    width: 60px;
    height: 60px;
    background: var(--first-color);
    display: grid;
    place-items: center;
    color: white;
    font-size: var(--biggest-font-size);
    border-radius: 50%;
    margin-inline: auto;
    margin-bottom: 20px;
    transition: .3s;
}


.value__card:hover .value__icon{
    background: var(--first-color-light);
    box-shadow: 0 0 0 8px hsla(0, 0%, 100%, .05);
}


.value__card .card__title{
    margin-bottom: 10px;
    transition: .3s;
}

.value__card:hover .card__title{
    color: white;
}

.value__card .card__text{
    color: var(--text-color-normal);
    line-height: 1.8;
    transition: .3s;
}

.value__card:hover .card__text{
    color: white;
}

/*Formulario de contacto*/
.contact__container{
    padding: 0rem 1.5rem;
}

.contact__form{
    margin-bottom: 50px;
}

.input__wrapper{
    margin-bottom: 20px;
}

.contact label{
    margin-bottom: 10px;
}

.contact .input__field{
    background: transparent;
    font-size: var(--font-medium);
    padding: 10px 15px;
    border: 1px solid hsla(228, 4%, 15%, .1);
}

.contact .input__field:focus{
    border-color: var(--second-color);
}

.contact .input__field::placeholder{
    color: var(--text-color-light);
}

textarea.input__field{
    margin-bottom: 20px;
    resize: vertical;
    min-height: 50px;
    height: 100px;
    max-height: 200px;
}

.contact__list li:not(:last-child){
    margin-bottom: 25px;

}

.contact__link{
    color: var(--text-color-normal);
    font-weight: var(--normal-font-size);
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 5px;

}

.contact__link i{
    font-size: 20px;
}

.contact__link :is(span, address){
    width: calc(100% - 25px);
}

.contact__link address{
    font-style: normal;
}

/*footer*/
footer {
    background: gray;
    color: white;
    font-weight: var(--small-font-size);
  }
  
  .footer-top { 
    padding-block: 20px; 
}
  
  .footer-brand { 
    margin-bottom: 60px; 
}
  
  footer .logo { 
    margin-bottom: 25px; 
}
  
  .footer-text {
    font-size: --small-font-size;
    line-height: 1.8;
    margin-bottom: 25px;
  }
  
  .social-list {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
  }
  
  .social-link {
    color: var(--text-color-light);
    font-size: 25px;
    transition: .3s;
  }
  
  .social-link:is(:hover, :focus) { 
    color: white; 
}
  
  .footer-link-box {
    display: grid;
    gap: 50px;
  }
  
  .footer-list li:first-child { 
    margin-bottom: 20px;
}
  
  .footer-item-title {
    color: white;
  }
  
  .footer-link {
    color: var(--text-color-light);
    transition: .3s;
    padding-block: 10px;
  }

  .footer-link:is(:hover, :focus) { 
    color: white; 
}
  
  .footer-bottom {
    padding-block: 20px;
    text-align: center;
  }
  
  .copyright a {
    display: inline-block;
    color: white;
    transition: .5s;
  }

  /*Productos*/

  .container-productos{
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;

  }
  .box-productos{
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, auto);
    grid-template-areas: 
        "images"
        "info"
        "description";
    grid-gap: 35px;
    width: 900px;
    display: grid;

    min-height: 100vh;
    width: 100%;
    padding: 35px;
  }

  .box-productos .images-productos{
    grid-area: images;
    display: grid;
    grid-template-columns: repeat(3, auto);
    grid-template-rows: auto 1fr;
    grid-template-areas: 
        "active active active"
        "idle idle idle";
    grid-gap: 5px;
  }

  .box-productos .images-productos .img-holder img{
    width: 100%;
    display: block;
  }

  .box-productos .images-productos .img-holder.active{
    grid-area: active;
  }

  .box-productos .images-productos .img-holder:not(.active):hover{
    opacity: 0.65;
    cursor: pointer;
  }


  .box-productos .basic-info-productos{
    width: 100%;
    grid-area: info;
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .box-productos .description-productos{
    grid-area: description;
    display: flex;
    flex-direction: column;
    gap: 25px;
  }

  .box-productos .basic-info-productos .options a {
    color: white;
    background-color: var(--first-color);
    display: inline-block;
    padding: 10px 15px;
    text-decoration: none;
    font-weight: 600;
    font-size: 12px;
    border-radius: 5px;
    transition: 0.3s;
}

.box-productos .description-productos p {
    color: var(--text-color-normal);
    line-height: 1.5;
}

.box-productos .basic-info-productos .options a:hover {
    color: var(--first-color);
    background-color: var(--first-color-light);
}

/*Listas especiales*/
/* List */
.features ul {
    counter-reset: index;  
    padding: 0;
    max-width: 300px;
  }
  
  /* List element */
  .features li {
    counter-increment: index; 
    display: flex;
    align-items: center;
    padding: 12px 0;
    box-sizing: border-box;
  }
  
  
  /* Element counter */
  .features li::before {
    content: counters(index, ".", decimal-leading-zero);
    font-size: 1.5rem;
    text-align: right;
    font-weight: bold;
    min-width: 50px;
    padding-right: 12px;
    font-variant-numeric: tabular-nums;
    align-self: flex-start;
    background-image: linear-gradient(to bottom, hsl(197,88%, 20%),  hsl(207, 64%, 48%));
    background-attachment: fixed;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  
  
  /* Element separation */
  .features li + li {
    border-top: 0.5px solid rgba(0, 0, 0, 0.2);
  }


  /* ajuste con mediaqueries small devices*/
  @media screen and (max-width: 350px){


        .home__img{
            position: absolute;
            width: 280px;
            overflow: hidden;
            display: inline-flex;
            align-items: flex-end;
        }

        .home__orbe{
            width: 350px;
            height: 350px;
            background: transparent; 
        }

        .home__value{
            width: 90%;
        }

        .logos__container{
            padding-top: 3.5rem;
            grid-template-columns: repeat(1, 1fr);
            align-items: center;
        }


        .logos__img img{
            opacity: 1;
            width: 90%;
            height: auto;
        }
        
        .popular__card{
            width: 90%;
            padding: .5rem .5rem .75rem;
        }

        .section{
            padding: 4.5rem 0;
        }

        .container{
            margin-left: 1rem;
            margin-right: 1rem;
        }
  }

  /* ajuste con mediaqueries medium devices*/

@media screen and (min-width: 576px) {

    .value__list{
        grid-template-columns: repeat(2, 1fr);
        align-items: center;
    }
    
    .footer-link-box {
        grid-template-columns: repeat(3, max-content);
          }

      .footer-brand {
        text-align: center;
      }

      .popular__card{
        width: 350px;
        padding: .5rem .5rem .75rem;
    }

    .box-productos{
        grid-template-areas: 
            "images info"
            "description description";
        padding: 50px 0 50px 0;

      }

}

  /* ajuste con mediaqueries large devices*/

@media screen and (min-width: 767px) {

    .logos__img{
        width: 250px;
    }

    .contact__form .wrapper__flex{
        display: flex;
        gap: 30px;
    }

    .contact__form .wrapper__flex{
        display: flex;
        gap: 30px;
    }

    .contact__form .wrapper__flex .input__wrapper{
        width: 50%;
    }

    .box-productos{
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto 1fr;
        grid-template-areas: 
            "info info"
            "images description";
        width: 90%;
        display: grid;
        padding: 50px 0 50px 0;

      }


    .box-productos .basic-info-productos .options{
        position: absolute;
        align-self: flex-end;
        margin-top: 40px;
    }



}

@media screen and (min-width: 1023px) {


    .section__title{
        font-size: 3.5rem;
    }

    .section__subtitle{
        font-size: var(--normal-font-size);
    }
    .home__container{
        display: flex;
    }

    .home__data{
        padding-top: 100px;
    }

    .home__orbe{
        height: 480px;
    }

    .logos__container{
        padding-top: 2rem;
        grid-template-columns: repeat(4, max-content);
        gap: .01rem .01rem;
        justify-items: center;
    }

    .value .container{
        display: flex;
        gap: 50px;
        align-items: center;

    }

    .value__content{
        width: 40%;
    }

    .value__list{
        width: 900px;
    }

    .nav{
        height: calc(var(--header-height)) + 1.5rem;
        margin-top: 20px;
        padding: 0 30px 0 30px;
        font-size: larger;
    }

    .nav__menu{
        width: initial;
        margin-left: auto;
    }

    .nav__list{
        display: flex;
        column-gap: 3rem;
        margin: 0 30px 0 0 ;
    }

    .nav__link{
        color: var(--text-color-light);
    }

    .nav__button{
        display: inline-block;
    }

    .active-link{
        background: none;
        box-shadow: none;
        color: var(--first-color);
        font-weight: var(--font-medium);
    }

    .popular__card{
        width: 290px;
    }

    .popular__description{
        font-size: var(--normal-font-size);
        line-height: 1.6;
        
    }

    .contact__wrapper{
        display: grid;
        grid-template-columns: 3fr 2fr;
        gap: 80px;
        align-items: center;

    }

    .footer-top .container{
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 50px;
    }

    .footer-link-box {
        margin-top: 50px;
          }

    .box-productos{
            grid-template-columns: repeat(2, 1fr);
            grid-template-rows: auto 1fr;
            grid-template-areas: 
                "images info"
                "images description";
            grid-gap: 35px;
            width: 900px;
            display: grid;
            padding: 50px 0 50px 0;
     }


}

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

}