/* ===========================================
  CONFIANZA - Landing Principal
=========================================== */

.confianza-section {
  padding: 2rem 0;
  background: #fff;
}

/* -------------------------------------------
  Encabezado
------------------------------------------- */
.confianza-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gris-oscuro);
  margin-bottom: 1rem;
}

.confianza-subtitle {
  font-size: 1rem;
  color: var(--gris);
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

/* -------------------------------------------
  Label
------------------------------------------- */
.confianza-label {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--p-morado);
  text-align: center;
  margin-bottom: 1.25rem;
}

/* -------------------------------------------
  Apoyo
------------------------------------------- */
.confianza-apoyo {
  text-align: center;
  padding-bottom: 2.5rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid #e5e5e5;
}

.confianza-techstars {
  display: inline-block;
  transition: opacity 0.3s ease;
}

.confianza-techstars:hover {
  opacity: 0.7;
}

.confianza-techstars img {
  max-width: 200px;
  height: auto;
}

/* -------------------------------------------
  Mencionados en
------------------------------------------- */
.confianza-mencionados {
  text-align: center;
  padding-bottom: 2.5rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid #e5e5e5;
}

.confianza-medios {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.5rem 2rem;
}

.confianza-medio {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}

.confianza-medio img {
  max-width: 130px;
  max-height: 40px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.confianza-medio:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* -------------------------------------------
  Empresas
------------------------------------------- */
.confianza-empresas {
  text-align: center;
}

.marquee {
  overflow: hidden;
  padding: 1rem 0;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 50px;
  width: max-content;
  animation: marquee 100s linear infinite;
}

.marquee:hover .marquee-content {
  animation-play-state: paused;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.confianza-empresa {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: opacity 0.3s ease;
}

.confianza-empresa:hover {
  opacity: 0.7;
}

.confianza-empresa img {
  height: 55px;
  width: auto;
  object-fit: contain;
}

/* -------------------------------------------
  Responsive
------------------------------------------- */
@media (min-width: 768px) {
  .confianza-title {
    font-size: 2.5rem;
  }

  .confianza-subtitle {
    font-size: 1.1rem;
  }

  .confianza-techstars img {
    max-width: 250px;
  }

  .confianza-medio img {
    max-width: 150px;
    max-height: 45px;
  }

  .marquee-content {
    gap: 60px;
  }

  .confianza-empresa img {
    height: 60px;
  }
}

@media (min-width: 992px) {
  .confianza-section {
    padding: 6rem 0;
  }

  .confianza-medios {
    gap: 2rem 3rem;
  }

  .confianza-medio img {
    max-width: 160px;
    max-height: 50px;
  }

  .marquee-content {
    gap: 70px;
  }

  .confianza-empresa img {
    height: 70px;
  }
}