

.hero_container{ 
    width: 90%;
    display: grid;
    grid-auto-rows: max-content;
    align-content: center;
    gap: 1em;
    text-align: center;
    padding: var(--padding-container);
    Color: #000;
}

.hero_title{
    font-size: 3rem;

}

.hero__paragraph{
    margin-bottom: 20px;
}

.cta{
    display: inline-block;
    color: #0E4F88;
    background-color: #FFF;
    justify-self: center;
    text-decoration: none;
    padding: 13px 30px;
    border-radius: 32px;
    border: solid

}

.cta:hover{
    background-color: #0E4F88;
    color: #FFF;
    transition: .5s;
    border: #0E4F88 solid ;
}

/* about */


.about{
    text-align: center;
    width: 90%;
}

.subtilte{
    color: var(--color-title);
    font-size: 2rem;
    margin-bottom: 25px;
}

.about__paragraph{
    line-height: 1.7;
}

.about__main{
    padding-top: 80px;
    display: grid;
    margin: 0 auto;  /* centrar */
    gap: 5%;
    overflow: hidden;
    grid-template-columns: repeat(auto-fit, minmax(260px, auto)); /* crear columnas automaticamente */
    justify-content: center;
    
    
}

.about__main__cointainer{
    display: flex;
    gap: 2em; 
}


.about__title{
    font-size: 25px;
    color: #0E4F88;

}

.about__title:hover{
    text-decoration: underline;
}

.about__icons{
    flex: 1;
    display: inline-block;
    justify-items: center;
    overflow: hidden;
    border: solid #CCC 1px;
    width:  100%;
    max-width: 350px;

}

.about__icons:hover{
    background-color: #0E4F88;
    color: #ffffff;
    border: solid #0E4F88 1px;
    transition: background-color 0.2s ease;
}

.about__icons:hover .about__title {
    color: #ffffff; 
    transition: background-color 0.2s ease;
}

.about__icons:hover .acout__paragraph{
    color: #ffffff;
    transition: background-color 0.2s ease;
}

.about__icons:hover .about_icon{
    background-color: #ffffff;
    transition: background-color 0.2s ease;
}


.about_icon{
    width: 100px;
    background-color: #0E4F88;
    padding: 5%;
    margin: 20px 0;
    border-radius: 50%;
}



.acout__paragraph{
    font-size: 15px;
    color: #474747;
    font-style: italic;
    margin: 25px;
}


/* SLIDER */

.new  {
    position: absolute;
    background: #0E4F88;
    color: #fff;
    font-size: 12px;
    left: 0;
    top: 0;
    cursor: pointer;
    padding: 11px 0 0 7px;
    width: 55px;
    height: 45px;
    display: inline-block;
    border-radius: 0% 0% 75% 0%;
    font-weight: 600;
  }

.sold  {
    position: absolute;
    background: none;
    color: #ff0000;
    font-size: 14px;
    left: 0;
    top: 0;
    cursor: pointer;
    padding: 3px;
    width: 80px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: solid #ff0000 3px;

    /*border-radius: 50%;*/
    font-weight: 600;
}


  
/****************************************
    > discount v1.0
*****************************************/
.bs-discount{

    position:absolute;
    z-index:50;
    font-size:.75rem;
    @media screen and (min-width:768px){
      font-size:1rem;
    }
    @media screen and (min-width:992px){
      font-size:1.25rem;
    }
    &.bs-discount-xs{
      font-size:.75rem;
    }
    &.right{
        right:0;
        top: 0;
    }
    &.bottom{
        bottom:0;
    }
    span{
        box-sizing: border-box;
    }
}

/******************************
   tag corner badge
******************************/
.corner-badge{
  height:5rem;
  width:5rem;
  overflow:hidden;
  &.right{
    transform: rotate(90deg);
  }
  span{
    display:block;
    position:absolute;
    background:#0E4F88;
    color:white;
    width:7rem;
    text-align:center;
    left:-1.5rem;
    top:1rem;
    transform: rotate(-45deg); 
  } 
}

.wrapper{
    display: flex;
    width: 100%;
    max-width: 1200px;
    position: relative;
    margin: 0 auto;
    margin-top: 20px;

  }
  .wrapper i{
    top: 50%;
    height: 44px;
    width: 44px;
    color: #0E4F88;
    cursor: pointer;
    font-size: 1.15rem;
    position: absolute;
    text-align: center;
    line-height: 44px;
    border-radius: 50%;
    border: solid #ccc 1px;
    transform: translateY(-50%);
    transition: transform 0.1s linear;
  }
  
  .wrapper i:active{
    transform: translateY(-50%) scale(0.9);
  }
  .wrapper i:hover{
    background: #0E4F88;
    color: #ffffff;
    border: solid #0E4F88 1px;
  }
  .wrapper i:first-child{
    left: -22px;
    display: none;
  }
  .wrapper i:last-child{
    right: -22px;
  }
  .wrapper .carousel{
    font-size: 0px;
    overflow: hidden;
    white-space: nowrap;
    scroll-behavior: smooth;
  }
  .carousel.dragging{
    cursor: grab;
    scroll-behavior: auto;
  }
  .carousel.dragging img{
    pointer-events: none;
  }
  .carousel img{
    height: 340px;
    object-fit: cover;
    user-select: none;
    margin-left: 14px;
    width: calc(100% / 3);
  }
  .carousel img:first-child{
    margin-left: 0px;
  }
  
  
  
  .carousel {
      /* Estilo del carrusel */
      font-size: 0px;
  
      overflow: hidden;
      white-space: nowrap;
      scroll-behavior: smooth;
    }
  
    
  
  .carousel .testimony__box {
      /* Estilo de cada caja de testimonio en el carrusel */
      display: inline-block;
      vertical-align: top;
      height: auto;
      object-fit: cover;
      user-select: none;
      width: calc(100% / 3);    
  
    }
  
  .subtitle{
      color: #0E4F88;
      cursor: pointer;
      font-size: 15px;
      white-space: normal;
      overflow: hidden;
      display: -webkit-box;
      -webkit-line-clamp: 3;
      -webkit-box-orient: vertical;
  }
  
  .subtitle:hover {
      color: #ff9a3e;
  }
  
  .testimony__review{
      color: #474747;
      font-size: 12px;
      white-space: normal;    
      overflow: hidden;
      display: -webkit-box;
      -webkit-line-clamp: 4;
      -webkit-box-orient: vertical;
      padding: 0 10x;
  }
  
  
  .testimony__review_2{
      margin-top: 20px;
      color: #474747;
      font-size: 15px;
  }
  
  .subtitle_details{
      color: #0E4F88;
      cursor: pointer;
      font-size: 12px;
  }
  
  .subtitle_details:hover {
      text-decoration: underline
  }
  
  
  .testimony__body--show{
      pointer-events: unset;
      opacity: 1;
      transition: opacity 500ms ease-in-out;
  }
  
  .testimony__picture{
      text-decoration: none;
      display: flex;
      height: 220px;
      justify-content: center;
  }
  
  
.testimony_img {
      /* Estilo de las imágenes de testimonio */
      height: auto;
      max-height: 220px;
      width: 100%;
      max-width: 150px;
      min-width: 90px;
      object-fit: contain;

  }
  
  
  .testimony__texts{
      
      width: auto;
      text-align: center;
      margin: 0 auto; 
      width: 80%;
      overflow: hidden;
  }
  
  
  
  @media screen and (max-width: 900px) {
      .carousel .testimony__box{
      width: calc(100% / 2);
    }
  }
  
  @media screen and (max-width: 550px) {
      .carousel .testimony__box{
      width: 100%;
    }
    .wrapper{
        width: 80%;
    }
  }


/* SLIDER BRAND */

.container__brand{
    width: 90%;
    max-width: 1300px;
    margin: 0 auto;
    overflow: hidden;
    padding-bottom: 100px;
}

.icon__hot{
    position: absolute;
    top: 0;
    left: 0;
    width: 16em;
    height: 5em;
    margin: auto;
}

.hot{
    color: red;
    position: relative;
    font-size: 4em;
    &:after {
        box-sizing: border-box;
        text-align: center;
        position: absolute;
        top: 50%;
        left: 0;
        width: 100%;
        color: white;
        font-size: .25em;
        padding: 0 .5em;
        margin-top: -.40em;
        font-weight: bold;
        
  }
}

.hot:after {
    content: attr(data-text);
  }

.Slider__title__brand{
    text-align:center;
    padding: 20px;
  }
  /* Slider */
  
  .slick-slide {
      margin: 0px 20px;
  }
  
  .slick-slide img {
      width: 100%;
  }
  
  .slick-slider
  {
      position: relative;
      display: block;
      box-sizing: border-box;
      -webkit-user-select: none;
      -moz-user-select: none;
      -ms-user-select: none;
              user-select: none;
      -webkit-touch-callout: none;
      -khtml-user-select: none;
      -ms-touch-action: pan-y;
          touch-action: pan-y;
      -webkit-tap-highlight-color: transparent;
  }
  
  .slick-list
  {
      position: relative;
      display: block;
      overflow: hidden;
      margin: 0;
      padding: 0;
  }
  .slick-list:focus
  {
      outline: none;
  }
  .slick-list.dragging
  {
      cursor: pointer;
      cursor: hand;
  }
  
  .slick-slider .slick-track,
  .slick-slider .slick-list
  {
      -webkit-transform: translate3d(0, 0, 0);
         -moz-transform: translate3d(0, 0, 0);
          -ms-transform: translate3d(0, 0, 0);
           -o-transform: translate3d(0, 0, 0);
              transform: translate3d(0, 0, 0);
  }
  
  .slick-track
  {
      position: relative;
      top: 0;
      left: 0;
      display: flex;
      align-items: center;
  }
  .slick-track:before,
  .slick-track:after
  {
      display: table;
      content: '';
  }
  .slick-track:after
  {
      clear: both;
  }
  .slick-loading .slick-track
  {
      visibility: hidden;
  }
  
  .slick-slide
  {
      display: none;
      float: left;
      height: 100%;
      min-height: 1px;
  }
  [dir='rtl'] .slick-slide
  {
      float: right;
  }
  .slick-slide img
  {
      display: block;
  }
  .slick-slide.slick-loading img
  {
      display: none;
  }
  .slick-slide.dragging img
  {
      pointer-events: none;
  }
  .slick-initialized .slick-slide
  {
      display: block;
  }
  .slick-loading .slick-slide
  {
      visibility: hidden;
  }
  .slick-vertical .slick-slide
  {
      display: block;
      height: auto;
      border: 1px solid transparent;
  }
  .slick-arrow.slick-hidden {
      display: none;
  }

/* Questions */

.questions{
    text-align: center;
}

.subtitle_questions{
    font-size: 40px;
    color: #0E4F88;
    text-decoration: underline;
}

.questions__container{
    display: grid;
    gap: 2em;
    padding-top: 50px;
    padding-bottom: 100px;
}

.questions__padding{
    padding: 0;
    transition: padding .3s;
    border: 1px solid #0E4F88;
    border-radius: 6px;
}

.questions__padding--add{
    padding-bottom: 30px;
}

.questions__answer{
    padding: 0 30px 0;
    overflow: hidden;
}

.questions__title{
    text-align: left;
    display: flex;
    font-size: 20px;
    padding: 30px 0 30px;
    cursor: pointer;
    color: var(--color-title);
    justify-content: space-between;
}

.questions__arrow{
    border-radius: 50%;
    background-color: #0E4F88;
    width: 25px;
    height: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: flex-end ;
    margin-left: 10px;
    transition: transform .3s;
} 

.questions__arrow--rotate{
    transform: rotate(180deg);
}

.questions__show{
    text-align: left;
    height: 0;
    transition: height .3s;
}

.questions__img{
    display: block;
}


@media (max-width:800px){


    .hero_title{
        font-size: 2.5rem;

    }

    .about__main{
        gap: 2em;
    }

    .about__icons:last-of-type{
        grid-column: 1/-1;
    }


    .testimony__container{
        grid-template-columns: 30px 1fr 30px;
    }

    .testimony__body{
        grid-template-columns: 1fr;
        grid-template-rows: max-content max-content;
        gap: 3em;;
        justify-items: center;

    }

    .about__main__cointainer{
        flex-direction: column;
        margin-bottom: 20px;
    }

    

}


@media (max-width:600px){
    .hero_title{
        font-size: 2rem;
    }

    .hero__paragraph{
        font-size: 1rem;
    }

    .subtilte{
        font-size: 1.8rem;
    }

    .price__element{
        width: 90%;

    }

    .price__element--best{
        width: 90%;
        padding: 40px;
    }

    .price__price{
        font-size: 2rem;
    }

    .testimony{
        --padding-container: 60px 0;
    }

    .testimony__container{
        grid-template-columns: 28px 1fr 28px;
        gap:.9em;
    }

    .testimony_arrow{
        width: 100%;
    }

    .testimony_course{
        margin-top: 15px;
    }

    .questions__title{
        font-size: 1rem;
    }


}




.testimony__box__1 {
    position: relative; /* Añadido para que los elementos absolutos sean relativos a este contenedor */
    width: 80%;
    margin: 0 auto;

}



