/* ─── Trust/Logo Carousel Section ─────────────────────────────── */

.trust {
  background: var(--primary-gradient);
  padding: 40px 0;
  overflow: hidden;
  width: 100%;
}

@media (max-width: 992px) {
  .trust {
    padding: 60px 0;
  }
}

.trust__container {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1px 1fr;
  align-items: center;
  gap: 20px;
  padding: 0 40px;
}

.trust__divider {
  width: 1px;
  height: 60px;
  background: rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
  .trust__container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
    padding: 0 20px;
  }
}

/* ─── Trust Text ──────────────────────────────────────────────── */
.trust__text {
  font-family: var(--font-body);
  font-size: var(--font-size-small);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin: 0;
  white-space: nowrap;
}

.trust__text strong,
.trust__brand {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--bg-light);
}

/* ─── Carousel ────────────────────────────────────────────────── */
.trust__carousel {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(
    to right,
    transparent,
    black 5%,
    black 95%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 5%,
    black 95%,
    transparent
  );
}

.trust__track {
  display: flex;
  align-items: center;
  gap: 16px;
  animation: scroll-trust 30s linear infinite;
  width: max-content;
}

.logo-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
  margin: 0 8px;
}

/* Pause on hover */
.trust__carousel:hover .trust__track {
  animation-play-state: paused;
}

@keyframes scroll-trust {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ─── Logo Items ──────────────────────────────────────────────── */
.trust__item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 160px;
  height: 80px;
  padding: 0 8px;
}

.trust__logo {
  max-width: 100%;
  max-height: 100px;
  object-fit: contain;
  filter: grayscale(0%) brightness(1.2);
  opacity: 0.9;
  transition: all 0.3s ease;
}

.trust__item:hover .trust__logo {
  filter: grayscale(0%) brightness(1);
  opacity: 1;
}

/* ─── Responsive ──────────────────────────────────────────────── */
@media (max-width: 768px) {
  .trust__container {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 0 20px;
  }

  .trust__content {
    margin-left: 0;
    text-align: center;
  }

  .trust__divider,
  .logo-divider {
    display: none;
  }

  .trust__track {
    gap: 16px;
    animation-duration: 20s;
  }

  .trust__item {
    width: 140px;
    height: 70px;
  }

  .trust__logo {
    max-height: 65px;
  }
}
