

/* Start:/local/templates/assimettric-avl_s2/assets/css/pages/page-brands.css?179361468412285*/
/*
 * Page: /brands/ («Бренды и партнеры»)
 * Figma (desktop): https://www.figma.com/design/o2pxpPyVyPKWw4xNWKOeBQ/asimetrik-avl--Copy-?node-id=1171-189
 * Figma (768): node-id=1265-3070, Figma (390): node-id=1265-1993
 *
 * Page-level стили (layout секций страницы), по аналогии с page-contacts.css.
 * Стили, специфичные одному news.list-компоненту (плашка статистики в hero —
 * brands_hero_features), лежат в style.css этого компонента и подключаются
 * автозагрузкой Bitrix.
 */

/* ---------- Hero ---------- */

.brands-hero {
  position: relative;
  overflow: hidden;
  background: var(--color-panel);
  padding-top: clamp(140px, 9.5vw, 182px);
  padding-bottom: clamp(56px, 7vw, 135px);
}

/* Фон вынесен в отдельный ::before (а не background на самой .brands-hero),
   чтобы маску-градиент можно было применить только к фото, не затрагивая
   текстовый контент .brands-hero__inner. По макету низ фото растворяется
   в фоне секции — тот же приём, что на главной (.hero__media) и на
   /portfolio/ (.proekty-hero__media). */
.brands-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("/local/templates/assimettric-avl_s2/assets/css/pages/../../images/brands-hero-bg.png") no-repeat 75% 40%;
  background-size: cover;
  mask-image: linear-gradient(to bottom, #000 0%, #000 30%, transparent 80%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 30%, transparent 80%);
}

.brands-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(90deg, var(--color-panel) 0%, var(--color-panel) 34%, rgba(28, 31, 36, 0.45) 48%, rgba(28, 31, 36, 0.05) 60%, transparent 70%);
}

.brands-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 clamp(20px, 7.6vw, 146px);
}

.brands-hero__title {
  margin: 0;
  max-width: 900px;
  font-weight: 600;
  font-size: clamp(42px, 5.2vw, 100px);
  line-height: 0.95;
  letter-spacing: -0.017em;
  text-transform: uppercase;
  color: var(--color-white);
}

.brands-hero__title span {
  display: block;
}

.brands-hero__title--muted {
  color: var(--color-muted);
}

.brands-hero__text {
  max-width: 630px;
  margin-top: 30px;
}

.brands-hero__divider {
  display: block;
  width: 46px;
  height: 2px;
  background: var(--color-white);
  margin-bottom: 20px;
}

.brands-hero__desc {
  margin: 0;
  font-size: clamp(13px, 0.78vw, 15px);
  line-height: 1.73;
  color: var(--color-white);
}

@media (min-width: 761px) and (max-width: 1024px) {
  .brands-hero {
    padding-top: 141px;
  }

  .brands-hero__title {
    font-size: 72px;
    max-width: 700px;
  }

  .brands-hero__text {
    max-width: none;
  }

  .brands-hero__desc {
    font-size: 16px;
  }
}

@media (max-width: 760px) {
  .brands-hero {
    padding-top: 140px;
  }

  .brands-hero__title {
    font-size: 48px;
    max-width: none;
  }

  .brands-hero__text {
    max-width: none;
  }

  .brands-hero__desc {
    font-size: 14px;
  }
}

/* ---------- CTA ---------- */

.brands-cta {
  background: var(--color-panel);
  padding: 0 0 clamp(56px, 6vw, 110px);
}

.brands-cta__inner {
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 clamp(20px, 7.6vw, 146px);
}

.brands-cta__card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: clamp(20px, 3.3vw, 63px);
  min-height: clamp(140px, 9.4vw, 180px);
  padding: clamp(24px, 1.8vw, 35px) clamp(28px, 3.3vw, 63px);
  border-radius: clamp(20px, 1.8vw, 35px);
  /*
   * По просьбе пользователя — та же заливка, что уже используется в CTA-блоке
   * на /portfolio/ (.proekty-cta__card, news/projects/style.css): плоский
   * var(--color-card) + полупрозрачная картинка через <img> (не CSS
   * background), а не градиенты/маски.
   */
  background: var(--color-card);
}

.brands-cta__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.5;
}

.brands-cta__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brands-cta__title {
  position: relative;
  z-index: 1;
  flex: 1 1 400px;
  margin: 0;
  font-weight: 600;
  font-size: clamp(22px, 2.19vw, 42px);
  line-height: 1.3;
  letter-spacing: -0.017em;
  text-transform: uppercase;
  color: var(--color-white);
}

.brands-cta__title--muted {
  color: var(--color-muted);
}

.brands-cta__divider {
  position: relative;
  z-index: 1;
  display: block;
  width: 1px;
  align-self: stretch;
  background: var(--color-white-40);
}

.brands-cta__desc {
  position: relative;
  z-index: 1;
  flex: 1 1 300px;
  margin: 0;
  font-size: clamp(16px, 1.15vw, 22px);
  line-height: 1.5;
  color: var(--color-white);
}

.brands-cta__btn {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: clamp(16px, 1.6vw, 31px);
  padding: clamp(12px, 0.88vw, 17px) clamp(16px, 1.35vw, 26px);
  border: 1.17px solid var(--color-white);
  border-radius: clamp(9px, 0.73vw, 14px);
  background: none;
  color: var(--color-white);
  font-family: inherit;
  text-decoration: none;
  font-size: clamp(13px, 0.91vw, 17.5px);
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s ease;
  white-space: nowrap;
}

.brands-cta__btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.brands-cta__btn svg {
  width: clamp(18px, 1.34vw, 26px);
  height: auto;
}

@media (min-width: 761px) and (max-width: 1024px) {
  .brands-cta__inner {
    padding-left: 51px;
    padding-right: 51px;
  }

  .brands-cta__card {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px;
  }

  .brands-cta__media img {
    object-position: right center;
  }

  .brands-cta__divider {
    display: none;
  }

  .brands-cta__title,
  .brands-cta__desc {
    flex-basis: auto;
  }

  .brands-cta__title {
    font-size: 32px;
  }

  .brands-cta__desc {
    font-size: 18px;
  }
}

@media (max-width: 760px) {
  .brands-cta__inner {
    padding-left: 21px;
    padding-right: 21px;
  }

  .brands-cta__card {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    border-radius: 27px;
  }

  .brands-cta__media img {
    object-position: right center;
  }

  .brands-cta__divider {
    display: none;
  }

  .brands-cta__title,
  .brands-cta__desc {
    flex-basis: auto;
  }

  .brands-cta__title {
    font-size: 24px;
  }

  .brands-cta__desc {
    font-size: 17px;
  }

  .brands-cta__btn {
    width: 100%;
    justify-content: center;
  }
}

/* ---------- Brand detail (/brands/#CODE#/) ---------- */

/*
 * Готового макета под эту страницу нет (её не было в исходном роадмапе
 * Figma — см. CLAUDE.md, 9 страниц) — вёрстка собрана по существующим
 * паттернам сайта: карточка логотипа как в .brands-catalog__cell (тёмная
 * плашка, логотип в реальных цветах, не монохром — здесь это единственный
 * логотип на странице, приглушать его как в сетке брендов смысла нет),
 * заголовок/текст — та же типографика, что и .brands-hero, кнопка — общий
 * .btn (тот же класс, что у "Обсудить проект" в шапке).
 */
.brand-detail {
  background: var(--color-panel);
  padding-top: clamp(140px, 9.5vw, 182px);
  padding-bottom: clamp(80px, 8vw, 160px);
}

.brand-detail__inner {
  display: flex;
  align-items: center;
  gap: clamp(40px, 5vw, 96px);
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 clamp(20px, 7.6vw, 146px);
}

.brand-detail__logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: clamp(220px, 22vw, 420px);
  height: clamp(180px, 16vw, 300px);
  padding: clamp(24px, 3vw, 56px);
  border-radius: clamp(20px, 1.8vw, 35px);
  background: var(--color-panel-alt);
}

.brand-detail__logo {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.brand-detail__content {
  min-width: 0;
}

.brand-detail__title {
  margin: 0;
  font-weight: 600;
  font-size: clamp(34px, 4vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.017em;
  text-transform: uppercase;
  color: var(--color-white);
}

.brand-detail__desc {
  max-width: 700px;
  margin-top: clamp(16px, 1.7vw, 32px);
  font-size: clamp(14px, 0.94vw, 18px);
  line-height: 1.6;
  color: var(--color-white-60);
}

.brand-detail__desc p {
  margin: 0 0 1em;
}

.brand-detail__desc p:last-child {
  margin-bottom: 0;
}

/*
 * .brand-detail__link { margin-top } — простого класса не хватает: у общего
 * .btn (header.css) margin:0, и оба правила одной специфичности (0,1,0).
 * header.css компилируется Bitrix'ом в отдельный "template_*.css"-бандл,
 * который в <head> подключается ПОСЛЕ "page_*.css" (где лежит этот файл) —
 * то есть margin:0 у .btn побеждал по порядку каскада, отступ пропадал
 * (фидбек пользователя, скриншот). Составной селектор поднимает
 * специфичность (0,2,0), не завязываясь на порядок подключения бандлов.
 */
.brand-detail__content .brand-detail__link {
  margin-top: clamp(28px, 2.6vw, 50px);
}

.brand-detail__back {
  display: block;
  margin-top: clamp(16px, 1.3vw, 24px);
  color: var(--color-white-60);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

.brand-detail__back:hover {
  color: var(--color-white);
}

@media (min-width: 761px) and (max-width: 1024px) {
  .brand-detail__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }

  .brand-detail__logo-card {
    width: 100%;
    height: 220px;
  }
}

@media (max-width: 760px) {
  .brand-detail {
    padding-top: 137px;
  }

  .brand-detail__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding-left: 21px;
    padding-right: 21px;
  }

  .brand-detail__logo-card {
    width: 100%;
    height: 180px;
  }

  .brand-detail__title {
    font-size: 32px;
  }

  .brand-detail__back {
    width: 100%;
    text-align: center;
  }

  /*
   * По фидбеку пользователя — на мобильном кнопка не на всю ширину блока,
   * а фиксированные 240px по центру (текст/заголовок остаются слева, как
   * были). display:flex (а не унаследованный от .btn inline-flex) даёт
   * блочный бокс, на котором работает центрирование margin:auto.
   * Составной селектор — та же причина, что и у margin-top выше: у .btn
   * (header.css, бандл template_*.css) margin:0 той же специфичности и
   * побеждает по порядку подключения бандлов, если брать просто
   * .brand-detail__link.
   */
  .brand-detail__content .brand-detail__link {
    display: flex;
    width: 240px;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
  }
}

/* End */
/* /local/templates/assimettric-avl_s2/assets/css/pages/page-brands.css?179361468412285 */
