/* ============================================================
   Brands (Бренды)
   ============================================================ */

.brands {
  padding: 3rem 1rem;
  background: #FFF;
  border-top: 1px solid #E5E5E5;
}

.brands__inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.brands__title {
  font-family: Comfortaa, system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 2rem;
}

.brands__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 3rem 4rem;
  max-width: 1000px;
  margin: 0 auto;
}

.brand-item {
  font-family: Comfortaa, system-ui, sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #CCC; /* Приглушенный серый, чтобы не отвлекать от контента */
  transition: color 0.3s ease, transform 0.3s ease;
  cursor: default;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-item img {
  height: 40px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
}

.brand-item svg {
  height: 40px;
  width: auto;
}

/* Эффект при наведении (логотипы "оживают") */
.brand-item:hover {
  color: #1E1E1E; /* Графит */
  transform: scale(1.05);
}

/* Адаптив */
@media (width <= 768px) {
  .brands__grid {
    gap: 1.5rem;
  }

  .brand-item {
    font-size: 1rem;
  }
}