
/* =========================================================
   Brands Section  (added for Figma homepage implementation)
   ========================================================= */

.brands-section {
  background: var(--color-white);
  padding-top: 100px;
  padding-bottom: 100px;
}
.brands-section__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 991px) {
  .brands-section__header {
    flex-direction: column;
    gap: 16px;
  }
}
.brands-section__title-wrap {
  flex: 0 0 auto;
  max-width: 560px;
}
.brands-section__title {
  font-family: var(--font-secondary);
  font-size: 46px;
  font-style: normal;
  font-weight: 500;
  line-height: 54px;
  color: var(--color-text);
  margin: 0;
}
@media (max-width: 991px) {
  .brands-section__title {
    font-size: 28px;
  }
}
.brands-section__title--accent {
  font-weight: 600;
  color: var(--color-blue);
}
.brands-section__desc {
  flex: 0 1 414px;
  font-family: var(--font-secondary);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  color: var(--color-text);
  margin: 0;
  padding-top: 8px;
}
@media (max-width: 991px) {
  .brands-section__desc {
    flex: none;
  }
}

.brands-swiper {
  position: relative;
  padding-bottom: 0;
}
/* Brands swiper controls - wrapper centered below the swiper */
.brands-swiper__controls {
  margin: var(--space-7) auto 0;
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.brand-card {
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 20px 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 128px;
  text-decoration: none;
  color: inherit;
}
.brand-card__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  width: 100%;
  gap: 0px;
}
.brand-card__logo img {
  width: 100%;
  height: 100%;
  max-width: 140px;
  object-fit: contain;
  display: block;
}
.brand-card__logo span {
  font-size: 20px;
  font-weight: 500;
  color: var(--color-text);
  text-transform: uppercase;
  font-weight: 700;
}
.brand-card__count {
  text-align: center;
  font-family: var(--font-secondary);
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 22px; 
  color: var(--color-text);
  text-align: center;
  margin: 0;
}

@media (max-width: 768px) {
  .brand-card {
    padding: 12px;
    gap: 8px;
    min-height: 88px;
  }
  .brand-card__logo {
    height: 32px;
    width: 100%;
  }
  .brand-card__logo img {
    width: 100%;
    height: 100%;
    max-width: 90px;
    max-height: 32px;
    object-fit: contain;
  }
  .brand-card__count {
    font-size: 12px;
    line-height: 16px;
  }
}
