.brand-slider {
  background: #ffffff;
  margin-top: 24px;
  padding: 30px 0 24px;
  border-top: 1px solid #ececec;
  border-bottom: 1px solid #ececec;
}

.brand-slider__header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}

.brand-slider__rule {
  flex: 1;
  height: 1px;
  background: #e4e4e4;
}

.brand-slider__title {
  font-size: clamp(28px, 2.8vw, 46px);
  font-weight: 700;
  line-height: 1;
  color: #27364a;
}

.brand-slider__shell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
}

.brand-slider__viewport {
  overflow: hidden;
}

.brand-slider__track {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 34px);
  transform: translateX(0);
}

.brand-slider__item {
  flex: 0 0 clamp(180px, 20vw, 300px);
  height: clamp(72px, 9vw, 110px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
}

.brand-slider__item img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: saturate(0.1) contrast(1.05);
}

.brand-slider__arrow {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #007f73;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.brand-slider__arrow:hover {
  background: rgba(0, 119, 101, 0.1);
  color: #005e52;
}

.brand-slider__arrow svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 760px) {
  .brand-slider {
    margin-top: 16px;
    padding: 22px 0 14px;
  }

  .brand-slider__title {
    font-size: clamp(20px, 8vw, 32px);
  }

  .brand-slider__shell {
    gap: 4px;
  }

  .brand-slider__arrow {
    width: 28px;
    height: 28px;
  }

  .brand-slider__arrow svg {
    width: 20px;
    height: 20px;
  }

  .brand-slider__item {
    flex-basis: clamp(140px, 52vw, 220px);
    height: 72px;
  }
}
