/* ==========================================================================
   Блок «Доверие и бренды» (Clients Logo Bar)
   Стиль: Quiet Luxury (монохром, оптический баланс, деликатный микро-ховер)
   ========================================================================== */

.clients {
  width: 100%;
  padding: 36px 0 44px;
  border-top: 1px solid var(--color-border-subtle, #eae8e1);
  border-bottom: 1px solid var(--color-border-subtle, #eae8e1);
  background-color: var(--color-bg-primary, #fbfbf9);
}

.clients__container {
  max-width: var(--container-max-width, 1240px);
  margin: 0 auto;
  padding: 0 var(--space-4, 20px);
}

.clients__label {
  text-align: center;
  font-family: var(--font-ui, 'Inter', sans-serif);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-text-muted, #605c54);
  margin-bottom: 30px;
}

.clients__grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.clients__item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 120px;
  height: 48px;
  padding: 4px 10px;
  text-decoration: none;
}

.clients__logo {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.46;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s ease;
  user-select: none;
  -webkit-user-drag: none;
}

.clients__item:hover .clients__logo {
  opacity: 0.95;
  transform: translateY(-1px);
}

/* Оптическое выравнивание веса логотипов (компенсация пропорций) */
.clients__logo--alfa {
  max-height: 22px;
}

.clients__logo--samokat {
  max-height: 23px;
}

.clients__logo--russam {
  max-height: 44px;
}

.clients__logo--spief {
  max-height: 36px;
}

.clients__logo--so {
  max-height: 30px;
}

.clients__logo--barte {
  max-height: 34px;
}

.clients__logo--cultural {
  max-height: 20px;
}

/* Адаптив: Планшеты (до 900px) */
@media (max-width: 900px) {
  .clients__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px 16px;
  }
  .clients__item {
    flex: none;
    height: 42px;
  }
}

/* Адаптив: Мобильные (до 600px) */
@media (max-width: 600px) {
  .clients {
    padding: 24px 0 28px;
  }
  .clients__label {
    font-size: 9px;
    letter-spacing: 0.22em;
    margin-bottom: 20px;
  }
  .clients__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 12px;
  }
  .clients__item {
    height: 36px;
  }
  /* 7-й элемент по центру на мобильном */
  .clients__item:last-child {
    grid-column: span 2;
  }
}
