main{
  background: var(--Surface-Surface-white);
}

/*section -hero / div-contenido barlow-condensed-bold*/


.hero {
  position: relative;
  height: 721px;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background-color: black;
}

.contenido {
  position: relative;
  z-index: 2;
  width: 621px;
  margin-top: 100px;
  margin-left: 5%;
  text-align: left;
  color: var(--Text-Text-White);
  display: flex;
  flex-direction: column;
  gap: 24px;
}


.icon-box {
  width: 28px;
  height: 28px;
  background: var(--Secondary-900);
  color: var(--Text-Text-White);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
  border-radius: 6px;
}

.hero-content {
  color: var(--Text-Text-White);
  font-family: var( --font-titles-barlow);
  font-size: 100px;
  font-style: normal;
  font-weight: 700;
  line-height: 90px;
  /* 90% */
  text-transform: uppercase;
}

.intro1 {
  font-family: var(--font-titles-montse);
  font-size: 18px;
  font-weight: 400;
  line-height: 30px;
}

.buttons {
  display: flex;
  gap: 24px;
}

.button {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 0;
}


.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  font-family: var(--font-nav-rubik);
  font-size: 16px;
  font-style: normal;
  line-height: normal;
  text-decoration: none;
  border-radius: 10px;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--Primary-Brand-400-Brand);
  color: var(--Text-Text-White);
}

.btn-primary:hover,
.btnSesion:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  width: 200px;
  background: transparent;
  border: 1px solid var(--Text-Text-White);
  color: var(--Text-Text-White);
}

.btn-secondary:hover {
  background: var(--white-24);
}


/*div - animacion*/


/*section -carrousel / div-container*/

.container {
  width: 100%;
  max-width: 1200px;
  margin: auto;
}


.tittle-carr {
  display: block;
  text-align: center;
  font-family: var(--font-nav-rubik);
  font-size: 16px;
  font-weight: 700;
  color: var(--secondary-700);
  margin-bottom: 30px;
}

.carrousel {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  background-color: var(--Gray-Blue-50);
  padding: 50px 0;
}

.carousel-container {
   width: 100%;
  max-width: 1200px;
  overflow: hidden;
  margin: 0 auto;
  position: relative;
}

.carousel-track {
  display: flex;
  gap: 40px;
  width: max-content;
  align-items: center;
  animation: bounce 20s ease-in-out infinite alternate;
   
}

.carousel-track img {
  width: 129px;
  height: 30px;
  object-fit: contain;
  flex-shrink: 0;
}

.spacer {
  width: 25px;
  flex-shrink: 0;
}

/* movimiento ida y vuelta controlado */
@keyframes bounce {
  0% {
    transform: translateX(0);
  }

  100% {
    /* mueve exactamente hasta el final del bloque */
    transform: translateX(calc(-100% + 80vw));
  }
}




/*section - container container1*/

.container1 {
  width: 100%;
  max-width: 728px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  text-align: center;
  padding: 50px 0 40px 0;
}

.hero-content1 {
  font-size: 60px;
  line-height: 60px;
  font-family: var( --font-titles-barlow);
  text-transform: uppercase;

}

.cl-content1 {
  font-family: var(--font-titles-montse);
  font-size: 18px;
  font-weight: 400;
}

.upper {
  font-family: var(--font-titles-montse);
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 600;
}



/*section - section-cards*/

.section-cards {
  width: 100%;
  max-width: 1000px;
  margin: auto;
  padding-bottom: 40px;

}


.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.card1 h2 , .card1-s2 h2{
  font-family: var(--font-titles-montse);
  font-size: 26px;
  font-weight: 700;
}


p.introcd1 {
  font-family: var(--font-nav-rubik);
  font-size: 16px;
  font-weight: 400;
  padding-bottom: 24px;
}

.text-item {
  height: 55px;
  border-top: 1px solid var(--Border-Border-Disabled);
  display: flex;
  align-items: center;
  padding: 12px 0 ;
}

.text-item p {
  font-family: var(--font-nav-rubik);
  font-size: 14px;
  font-weight: 400;
}



.card2 {
  height: auto;
  min-height: 536px;
  padding: 25px;
  border-radius: 24px;
  background-image: url("/web/frontend/assets/media/img-indx/pantalla1.png");
  background-size: 80%;
  background-position: 280% 100%;
  /* más a la derecha */
  background-repeat: no-repeat;
  background-color: var(--Gray-Blue-50);
  /*box-shadow: 0 4px 12px var(--shadow-soft);*/
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
  box-sizing: border-box;
}

.info-card {
  flex: 0 1 40%;
  min-width: 0;

  display: flex;
  flex-direction: column;
  align-items: center;
  /* 👈 centra horizontalmente */
  justify-content: center;
  gap: 16px;

}

.info-icon svg {
  height: 25.68px;
  width: 25.68px;
}

.info-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid var(--Secondary-300);
  background-color: var(--info-bg);
  border-radius: 100px;
  height: 61px;
  width: 61px;
  align-items: center;
}

.info-data {
  flex: 0 1 40%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sect {
  width: 100%;
  max-width: 197px;
  padding: 16px;
  background-color: var(--glass-white);
  display: flex;
  flex-direction: column;
  border-radius: 12px;
}

.info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;

}

.info p {
  margin: 0;
  font-family: var(--font-nav-rubik);
font-size: 13px;
font-weight: 400;
  color: var(--Text-Text-Dark);
  line-height: normal;
  font-style: normal;
}

.info .icon {
  width: 36px;
  height: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--Success-50);
  border-radius: 8px;
}
.info .icon-e {
  width: 36px;
  height: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--Surface-Suface-Error-light);
  border-radius: 8px;
}

.sect p.numero {
  margin: 0;
  line-height: 1;
  font-family: var(--font-titles-montse);
  font-size: 24px;
font-weight: 500;
  color: var(--Text-Text-Dark);
}


/*section: section-cards--contenido 3 ------*/

.cards-sect {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}


.card-s2 {
  height: auto;
  min-height: 536px;
  border-radius: 24px;
  background-image: url("/web/frontend/assets/media/img-indx/pantalla2.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--Gray-Blue-50);
 /*box-shadow: 0 4px 12px var(--shadow-soft);*/
}

/*section: section-cards--contenido 4 ------*/

.cards-sect4 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.card-s4 {
  height: auto;
  min-height: 536px;
  border-radius: 24px;
  background-image: url("/web/frontend/assets/media/img-indx/card-chart.png");
  background-size: 95%;
  background-position: left 30px top 20px;
  background-repeat: no-repeat;
  background-color: var(--Gray-Blue-50);
 /*box-shadow: 0 4px 12px var(--shadow-soft);*/
}

/*------contenido 5------*/


.card-s5 {
  height: auto;
  min-height: 536px;
  border-radius: 24px;
  background-image: url("/web/frontend/assets/media/img-indx/Beneficios.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--Gray-Blue-50);
  /*box-shadow: 0 4px 12px var(--shadow-soft);*/
}

.buttons-s5 {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding-bottom: 72px;
}




/*MEDIA QUERY*/

@media (max-width: 420px) {
  .carrousel .container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    overflow-x: hidden;
    padding: 0 16px;
  }

}

@media (max-width: 768px) {

   .contenido {
    width: 100%;
    margin-left: 0;
  }

  .carrousel {
    padding: 30px 0;
    gap: 20px;
  }

  .carousel-container {
    width: 100%;
    overflow: hidden;
    margin: 0 auto;
  }

  .carousel-track {
    gap: 20px;
    /* menos espacio en móvil */
    animation: bounce-mobile 18s ease-in-out infinite alternate;
  }

  .carousel-track img {
    width: 90px;
    /* más pequeño */
    height: 24px;
  }

  .spacer {
    width: 10px;
  }

  @keyframes bounce-mobile {
    0% {
      transform: translateX(0);
    }

    100% {
      /* más seguro que vw en mobile */
      transform: translateX(calc(-100% + 100vw));
    }
  }
}

@media (max-width: 768px) {
  .hero-content1 {
    font-size: 60px;
    line-height: 64px;
  }

  .cl-content1 {
    max-width: 354px;
    font-size: 15px;

  }

  .container1 {
    padding: 50px 0 0 0;
  }

}

@media (max-width: 768px) {
  .cards {
    display: flex;
    flex-direction: column-reverse;
    padding: 24px 40px;
  }

  .card1 {
    max-width: 402px;
  }

  .card-s2 {
    width: 100%;
    max-width: 354px;
    padding: 0;
  }

  .cards-sect {
    display: flex;
    flex-direction: column;
    padding: 24px 40px;
  }

  .card1-s2 {
    max-width: 402px;
  }

  .section-cards {
    padding-bottom: 0px;
  }

  .cards-sect4 {
    display: flex;
    flex-direction: column-reverse;
    padding: 24px 40px;
  }

  .card-s4 {
    background-image: url("/web/frontend/assets/media/img-indx/card-chart-mb.png");
    width: 100%;
    max-width: 354px;
    padding: 0;
    min-height: 500px;
  }

  .card-s5 {
    width: 100%;
    max-width: 402px;
    background-image: url("/web/frontend/assets/media/img-indx/Table Section 2.png");
    max-height: 456px;
    background-repeat: no-repeat;
    background-size: 390px auto;
    background-position: left 20px top 40px;

  }

  .buttons-s5 {
    padding: 24px 0;
  }


}



@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    height: auto;
    min-height: 100vh;
    padding: 40px 20px;
    align-items: center;
    justify-content: center;
  }

 
  .hero-content {
    font-size: 5rem;
  }

  .buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;

  }

  .btn, .btn2 {
    width: 90%;
  }

}


@media (max-width: 768px) {
  .video-fondo {
    object-position: left center;
  }
}