.home-brands-strip {
  width: 100%;
  padding: 0.63rem 0;
  background: var(--surface-muted);
  border-top: 1px solid var(--border-default);
  border-bottom: 1px solid var(--border-default);
  overflow: hidden;
}

.home-brands-strip__viewport {
  width: 100%;
  overflow: hidden;
}

.home-brands-strip__track {
  width: max-content;
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 2.4vw, 1.9rem);
  will-change: transform;
  animation: homeBrandsStripMove 34s linear infinite;
}

.home-brands-strip__item {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: clamp(3rem, 4.4vw, 3.55rem);
  padding: 0 clamp(0.3rem, 0.9vw, 0.6rem);
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

.home-brands-strip__item:hover {
  opacity: 1;
}

.home-brands-strip__logo {
  display: block;
  width: auto;
  height: 100%;
  max-width: clamp(6rem, 12.3vw, 9.9rem);
  object-fit: contain;
}

@keyframes homeBrandsStripMove {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}

@media (max-width: 900px) {
  .home-brands-strip {
    padding: 0.48rem 0;
  }

  .home-brands-strip__track {
    gap: 1.05rem;
    animation-duration: 26s;
  }

  .home-brands-strip__item {
    height: 2.67rem;
    padding: 0 0.33rem;
  }

  .home-brands-strip__logo {
    max-width: 7.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-brands-strip__track {
    animation: none;
  }
}
