/** Ecosol — Barra de confianza. */

.ecosol-trust {
  display: grid;
  grid-template-columns: repeat(var(--ec-trust-cols, 4), 1fr);
  gap: 18px;
  padding: 34px 0;
  background: #fff;
}

.ecosol-trust__item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 6px;
}

.ecosol-trust__ic {
  width: 66px;
  height: 66px;
  border-radius: 18px;
  background: var(--ec-lime);
  color: var(--ec-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ecosol-trust__ic svg,
.ecosol-trust__ic i {
  width: 30px;
  height: 30px;
  font-size: 27px;
  line-height: 1;
  fill: currentColor;
}

.ecosol-trust__txt b {
  font-weight: 700;
  color: var(--ec-ink);
  font-size: 16.5px;
  display: block;
  line-height: 1.25;
}

.ecosol-trust__txt span {
  font-size: 13.5px;
  color: var(--ec-muted);
}

/* Tablet: de a dos. */
@media (max-width: 900px) {
  .ecosol-trust {
    grid-template-columns: repeat(2, 1fr);
    padding: 26px 0;
  }
}

/* Celular: carrusel horizontal, como en el diseño. */
@media (max-width: 600px) {
  .ecosol-trust {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 12px;
    padding: 18px 0;
    scrollbar-width: none;
  }

  .ecosol-trust::-webkit-scrollbar { display: none; }

  .ecosol-trust__item {
    scroll-snap-align: start;
    flex: 0 0 78%;
    justify-content: flex-start;
    gap: 12px;
  }

  .ecosol-trust__ic {
    width: 50px;
    height: 50px;
    border-radius: 14px;
  }

  .ecosol-trust__ic svg,
  .ecosol-trust__ic i {
    width: 24px;
    height: 24px;
    font-size: 21px;
  }

  .ecosol-trust__txt b { font-size: 15px; }
  .ecosol-trust__txt span { font-size: 12.5px; }
}
