/**
 * Logo carousel section – same background as hero, infinite scroll
 */
.logo-carousel-section {
  background: var(--color-off-white, #fafaf7);
  padding: clamp(2rem, 5vw, 3rem) 1.5rem;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}

.logo-carousel-section__title {
  font-family: "Sohne", system-ui, sans-serif;
  font-size: clamp(0.9375rem, 2.25vw, 1.2rem);
  font-weight: 300;
  line-height: 1.35;
  color: #000;
  text-align: center;
  margin: 0 auto 2rem;
  max-width: 100%;
  padding: 0 1rem;
  box-sizing: border-box;
}

@media (max-width: 480px) {
  .logo-carousel-section__title {
    font-size: clamp(0.8125rem, 4vw, 0.9375rem);
    line-height: 1.4;
    padding: 0 0.75rem;
  }
}

.logo-carousel-section__title strong {
  font-weight: 500;
}

.logo-carousel-section__track {
  overflow: hidden;
  width: 100%;
  min-height: 56px;
}

.logo-carousel-section__strip {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  width: max-content;
  animation: logo-carousel-scroll 50s linear infinite;
  padding: 0 0.5rem;
}

.logo-carousel-section__strip:hover {
  animation-play-state: paused;
}

.logo-carousel-section__item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 0.5rem;
}

.logo-carousel-section__item img {
  max-height: 100%;
  max-width: 140px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: filter 0.2s ease, opacity 0.2s ease;
}

.logo-carousel-section__item:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* 4 copies in strip → move 25% to loop one set */
@keyframes logo-carousel-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-25%);
  }
}
