/* =============================================================
   BULLETBRO — Партнёрская программа (лендинг)
   Scoped под .bb-partner. Шрифты — через font-family (без font-weight).
   Источник дизайна: Figma node 1:46382 (1920px)
   ============================================================= */

/* ─── FONTS ───────────────────────────────────────────────── */
/* Gotham Black — секционные заголовки (woff2/woff в /fonts/) */
@font-face {
  font-family: 'gotham-black';
  src: url('../../fonts/gotham_black.woff2') format('woff2'),
       url('../../fonts/gotham_black.woff') format('woff');
  font-style: normal;
  font-display: swap;
}
/* gotham-medium / gotham-light уже объявлены глобально в style.css */

/* Montserrat — основной текст. Кириллица+латиница через unicode-range. */
@font-face {
  font-family: 'montserrat';
  src: url('../../fonts/montserrat/cyr.woff2') format('woff2');
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'montserrat';
  src: url('../../fonts/montserrat/lat.woff2') format('woff2');
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ─── TOKENS ──────────────────────────────────────────────── */
.bb-partner {
  /* Цвета (Figma variables) */
  --bb-dark: #161A1F;        /* Neutral 800 — основной текст */
  --bb-ink: #363E52;         /* текст секций/карточек (заголовки, бейджи, описания) */
  --bb-primary: #4A3AFF;     /* Primary 1 — акцент */
  --bb-white: #FFFFFF;       /* Neutral 100 */
  --bb-muted: #5A6068;       /* приглушённый текст */
  --bb-card: #F3F5FC;        /* фон карточек (бейдж/текст) */
  --bb-surface: #F3F5FC;     /* фон поверхностей */
  --bb-border: #E8EAED;

  /* Типографика */
  --bb-font-title: 'gotham-black', 'gotham-medium', sans-serif;
  --bb-font-head: 'gotham-medium', sans-serif;
  --bb-font-body: 'montserrat', 'gotham-light', sans-serif;

  /* Геометрия */
  --bb-radius: 24px;
  --bb-radius-sm: 16px;
  --bb-max-w: 1504px;        /* как .container на сайте */
  --bb-gutter: clamp(16px, 5vw, 50px);  /* боковые поля 50px, как .container */
  --bb-section-y: clamp(48px, 6vw, 96px);
}

/* ─── RESET (scoped) ──────────────────────────────────────── */
.bb-partner *,
.bb-partner *::before,
.bb-partner *::after { box-sizing: border-box; }

.bb-partner {
  font-family: var(--bb-font-body);
  color: var(--bb-dark);
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}
.bb-partner img { max-width: 100%; display: block; }
.bb-partner a { text-decoration: none; }
.bb-partner a:not([class]) { color: inherit; } /* компонентные ссылки (.bb-btn) красятся своими правилами */
.bb-partner p { margin: 0; }

/* ─── LAYOUT ──────────────────────────────────────────────── */
.bb-partner__container {
  max-width: var(--bb-max-w);
  margin-inline: auto;
  /* боковые поля задаёт .container сайта — свои не дублируем */
}
.bb-section { padding-block: var(--bb-section-y); }

/* ─── TYPOGRAPHY ──────────────────────────────────────────── */
.bb-title {
  font-family: var(--bb-font-title);
  font-size: clamp(28px, 3vw, 54px);   /* TITLE 54px */
  line-height: 1;
  margin: 0;
  padding-left: 30px;   /* = ширина иконки eyebrow (18) + gap (12): текст заголовка под текстом брови */
}
.bb-subtitle {
  font-family: var(--bb-font-head);
  font-size: clamp(22px, 2vw, 36px);   /* Subtitle 36px */
  line-height: 1;
  margin: 0;
}
.bb-eyebrow {                          /* надзаголовок «О нас», «Преимущества» */
  display: inline-flex;
  align-items: center;
  gap: 12px;                              /* иконка(18) + gap(12) = отступ текста заголовка */
  font-family: 'gotham-light', sans-serif;
  font-size: clamp(18px, 1.4vw, 24px);
  color: var(--bb-ink);
}
.bb-eyebrow::before {                  /* фиолетовая иконка-спарк */
  content: "";
  flex: none;
  width: 18px;
  height: 17px;
  background: url('img/eyebrow-spark.svg') no-repeat center / contain;
}
.bb-text {
  font-family: var(--bb-font-body);
  font-size: clamp(15px, 1.1vw, 20px); /* Span 20 / span small 16 */
  color: var(--bb-muted);
}

/* ─── BUTTON ──────────────────────────────────────────────── */
.bb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--bb-font-head);
  font-size: 24px;                     /* button 24px */
  color: var(--bb-white);
  background: var(--bb-primary);
  border: none;
  border-radius: 8px;                  /* эталон кнопки (Figma 9:21) */
  padding: 14px 36px;
  cursor: pointer;
  box-shadow: 0 4.6px 9.25px rgba(74, 58, 255, 0.28);
  transition: filter .2s ease, transform .2s ease, box-shadow .2s ease;
}
.bb-btn:hover { filter: brightness(1.08); box-shadow: 0 7px 16px rgba(74, 58, 255, 0.34); }
.bb-btn:active { transform: translateY(1px); box-shadow: 0 3px 7px rgba(74, 58, 255, 0.26); }
.bb-btn.is-disabled { opacity: .45; box-shadow: none; filter: none; transform: none; cursor: default; }  /* кейс ещё не готов */

/* =============================================================
   SECTIONS — скелет (наполняется поэтапно)
   ============================================================= */

/* 1. HERO */
.bb-hero {
  position: relative;
  color: var(--bb-dark);       /* заголовок HERO — чёрный */
  padding-top: clamp(48px, 7vw, 120px);
  padding-bottom: clamp(40px, 5vw, 80px);
}
.bb-hero__head { text-align: center; }

.bb-hero__title {
  font-family: 'als-hauss', sans-serif;  /* HERO — ALS Hauss (объявлен в style.css сайта) */
  font-size: clamp(26px, 5.2vw, 76px);   /* HERO TITLE 76px @1920 */
  letter-spacing: -0.01em;
  overflow-wrap: break-word;
  padding-left: 0;                        /* HERO заголовок по центру, без сдвига */
}
.bb-hero__cta {
  margin-top: clamp(20px, 2vw, 32px);
}

/* — Карусель техники — full-bleed, бесконечная лента (CSS marquee) — */
.bb-hero__carousel {
  --bb-slide-gap: clamp(12px, 1.6vw, 30px);
  position: relative;
  width: 100vw;
  left: 50%;                            /* full-bleed независимо от ширины родителя */
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-top: clamp(40px, 4.5vw, 82px);
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;                /* Firefox */
  cursor: grab;
  -webkit-overflow-scrolling: touch;    /* инерц. тач-свайп */
  overscroll-behavior-x: contain;
}
.bb-hero__carousel::-webkit-scrollbar { display: none; }
.bb-hero__carousel.is-dragging { cursor: grabbing; }
.bb-hero__track {
  display: flex;
  width: max-content;
  margin: 0;
  padding: 4px 0;
  list-style: none;
}

.bb-hero__slide {
  flex: 0 0 auto;
  height: clamp(190px, 20vw, 386px);   /* высота фикс., ширина — по пропорции фото */
  margin-right: var(--bb-slide-gap);
  border-radius: clamp(14px, 1.4vw, 26px);
  overflow: hidden;
  background: var(--bb-surface);
}
.bb-hero__slide img {
  width: auto;
  height: 100%;
  display: block;                       /* фото целиком, без обрезки */
}

/* =============================================================
   PAGE-DEALER — HERO с фоном во всю ширину + стеклянная карточка
   ============================================================= */
.bb-dealer-hero {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;                   /* full-bleed: фон до краёв экрана */
  min-height: clamp(420px, 47vw, 820px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2vw, 26px);
  padding: clamp(40px, 6vw, 90px) clamp(16px, 4vw, 40px);
  overflow: hidden;
  text-align: center;
}
.bb-dealer-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bb-dealer-hero__card {
  position: relative;
  z-index: 1;
  padding: clamp(20px, 2.6vw, 34px) clamp(28px, 5vw, 96px);
  border-radius: 26px;
  background: linear-gradient(154deg, rgba(145, 171, 255, 0.20) 0%, rgba(208, 200, 234, 0.20) 119%);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.bb-dealer-hero__title {
  margin: 0;
  font-family: 'als-hauss', sans-serif;
  font-size: clamp(28px, 4.2vw, 64px);
  line-height: 1.06;
  color: #fff;
  text-shadow: 0 4px 60px #1f2b4d;
}
.bb-dealer-hero__cta {
  position: relative;
  z-index: 1;
  background: linear-gradient(243deg, #5e4acf 0%, #3923ff 87%);  /* градиент кнопки HERO */
}

/* PAGE-DEALER — КЕЙСЫ (карточки в светлом контейнере) */
.bb-cases { color: var(--bb-ink); }
.bb-cases__board {
  position: relative;
  margin-top: clamp(32px, 4vw, 64px);
  padding: clamp(20px, 2.4vw, 44px);
  background: var(--bb-card);
  border-radius: var(--bb-radius);
}
.bb-cases__decor {
  position: absolute;
  z-index: 5;
  right: clamp(8px, 3vw, 64px);
  top: clamp(-150px, -14vw, -120px);           /* выше */
  width: clamp(120px, 15vw, 280px);            /* меньше */
  height: auto;
  pointer-events: none;
}
.bb-cases__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 1.6vw, 28px);
}
.bb-case {
  --case-pad: clamp(20px, 1.8vw, 32px);
  display: flex;
  flex-direction: column;
  overflow: hidden;                            /* media обрезается по скруглению карточки */
  /* градиент карточки кейса (Figma) — полупрозрачный, ложится на фон контейнера */
  background: linear-gradient(110deg, rgba(145, 171, 255, 0.20) 0%, rgba(208, 200, 234, 0.20) 118.87%);
  border-radius: var(--bb-radius-sm);
  padding: var(--case-pad);
}
.bb-case__head {
  display: flex;
  flex-direction: column;
  flex: 1;                                     /* растягивается → кнопки на одном уровне */
}
.bb-case__title {
  font-family: var(--bb-font-head);            /* Gotham Medium */
  font-size: clamp(20px, 1.8vw, 28px);
  line-height: 1.1;
  margin: 0 0 14px;
}
.bb-case__text {
  flex: 1;                                     /* растягивается → кнопки на одном уровне */
  font-family: var(--bb-font-body);            /* Montserrat */
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
}
/* фиксированный отступ кнопки от текста (одинаков для всех карточек, в т.ч. с длинным текстом) */
.bb-case__btn { margin-top: clamp(24px, 2vw, 32px); align-self: flex-start; }
.bb-case__media {
  margin-top: clamp(20px, 1.8vw, 32px);        /* отступ от кнопки */
  margin-inline: calc(-1 * var(--case-pad));   /* до левого и правого края карточки */
  margin-bottom: calc(-1 * var(--case-pad));   /* до нижнего края карточки */
  aspect-ratio: 16 / 11;
  border-radius: var(--bb-radius-sm);          /* скругление по всем углам, как у карточки */
  overflow: hidden;
  background: linear-gradient(160deg, #e9ecf7 0%, #f3f5fc 100%);  /* плейсхолдер */
}
.bb-case__media img { width: 100%; height: 100%; object-fit: cover; }

/* 2. О НАС / ЭКСПЕРТЫ */
.bb-about { color: var(--bb-ink); }
.bb-about__title { margin-top: 14px; }       /* TITLE 54px (gotham-black) */

.bb-about__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3.5vw, 51px);
  margin-top: clamp(36px, 5vw, 76px);
}
.bb-about__col {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
/* визуал: иллюстрация (без фона/скруглений) + бейдж-плашка поверх по нижнему краю.
   Фикс. высота → бейджи всех колонок на одном уровне (иллюстрации разной высоты не толкают). */
.bb-about__visual {
  position: relative;
  height: clamp(200px, 25vw, 300px);
  display: flex;
  align-items: flex-start;                    /* иллюстрация сверху, бейдж снизу */
  justify-content: center;
  padding-top: clamp(8px, 1.5vw, 24px);
}
.bb-about__illust {
  max-width: 80%;
  max-height: 80%;                            /* верхняя зона, оставляет место для бейджа */
  width: auto;
  height: auto;
}
.bb-about__badge {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(60px, 6vw, 84px);
  padding: 14px 18px;
  background: var(--bb-card);                   /* фон-плашка */
  border-radius: var(--bb-radius-sm);           /* скругление по всем углам */
  text-align: center;
  font-family: var(--bb-font-title);           /* Gotham Black, размер 20px */
  font-size: clamp(16px, 1.2vw, 20px);
  line-height: 1.2;
}
.bb-about__card {
  flex: 1;
  padding: clamp(20px, 1.5vw, 28px);
  background: var(--bb-card);
  border-radius: var(--bb-radius-sm);
  font-family: var(--bb-font-body);            /* Montserrat 16px */
  font-size: 16px;
  line-height: 1.5;
}

/* 3. НАШИ ПАРТНЁРЫ */
.bb-partners { color: var(--bb-ink); position: relative; z-index: 2; }
.bb-partners__board {
  position: relative;
  margin-top: clamp(32px, 4vw, 64px);
  padding: clamp(28px, 3.5vw, 64px) clamp(20px, 3vw, 70px);
  background: var(--bb-card);
  border-radius: var(--bb-radius);
}
.bb-partners__grid {
  --pgap-col: clamp(20px, 3vw, 56px);
  --pcols: 4;                          /* ровная сетка: dealer/sport = 4+4, partner = 4+4+4 */
  display: grid;
  grid-template-columns: repeat(var(--pcols), 1fr);
  gap: clamp(16px, 2.4vw, 40px) var(--pgap-col);
  margin: 0;
  padding: 0;
  list-style: none;
}
.bb-partners__grid--three { --pcols: 3; }  /* page-studio: 6 логотипов = 3 + 3 */
.bb-partners__item {
  display: flex;
  align-items: center;
  justify-content: center;
}
/* page-rental: 9 логотипов = 5 + 4; обе строки во всю ширину со space-between */
.bb-partners__grid--five {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  column-gap: 0;
  row-gap: clamp(20px, 3vw, 44px);
}
.bb-partners__grid--five .bb-partners__item {
  flex: 0 0 auto;
  width: 17%;                          /* 5 в ряду (5×17%=85%), остаток раздаёт space-between */
}
.bb-partners__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: clamp(48px, 5vw, 76px);
  filter: grayscale(1);
  opacity: .85;
  transition: opacity .2s ease, transform .2s ease, filter .2s ease;
}
.bb-partners__logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.bb-partners__logo:hover { opacity: 1; filter: grayscale(0); }
.bb-partners__decor {
  position: absolute;
  z-index: 5;
  right: clamp(16px, 5vw, 110px);       /* левее */
  top: clamp(-280px, -19vw, -140px);    /* ещё выше */
  width: clamp(165px, 21vw, 380px);     /* немного меньше */
  height: auto;
  pointer-events: none;
}

/* 4. ПРЕИМУЩЕСТВА / ЧТО ВЫ ПОЛУЧИТЕ */
.bb-benefits { color: var(--bb-ink); }
.bb-benefits__tabs {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;              /* вкрай вправо, по краю панели */
  align-items: flex-end;
  gap: 0;
  margin-top: clamp(28px, 3.5vw, 56px);
  margin-bottom: 0;                       /* вплотную к панели */
}
.bb-benefits__tab {
  position: relative;
  font-family: var(--bb-font-head);
  font-size: clamp(16px, 1.7vw, 30px);
  line-height: 1;
  padding: clamp(11px, 1.1vw, 18px) clamp(24px, 2.8vw, 56px);
  border: none;
  border-radius: 15px 15px 0 0;
  background: linear-gradient(130deg, #ebecf2 0%, #f6f7fa 119%);
  color: #9399a8;
  cursor: pointer;
  transition: color .2s ease, background .2s ease;
}
.bb-benefits__tab {
  box-shadow: 0 4px 18px rgba(54, 62, 82, 0.10);  /* лёгкая тень на соседей */
}
.bb-benefits__tab + .bb-benefits__tab {
  margin-left: clamp(-40px, -2.4vw, -22px);  /* наезд друг на друга */
}
.bb-benefits__tab:hover { color: var(--bb-ink); z-index: 3; }
.bb-benefits__tab.is-active {
  background: linear-gradient(130deg, #f2f5ff 0%, #f6f7fa 119%);
  color: var(--bb-primary);
  padding-top: clamp(15px, 1.5vw, 26px);  /* активный выступает вверх */
  margin-bottom: -2px;                    /* сливается с панелью */
  z-index: 4;                             /* поверх соседних */
}
.bb-benefits__panel {
  position: relative;
  z-index: 1;
  overflow: hidden;                       /* для фонового декора */
  background: linear-gradient(130deg, #f2f5ff 0%, #f6f7fa 119%);
  border-radius: var(--bb-radius) 0 var(--bb-radius) var(--bb-radius);  /* tr=0: стык с табами */
  padding: clamp(28px, 3vw, 56px);
}
/* фоновый декоративный элемент вкладки «Отзывы» (как в Figma 13:880) */
#bb-panel-reviews::after {
  content: "";
  position: absolute;
  z-index: 0;
  left: clamp(-40px, 1vw, 40px);
  bottom: clamp(-50px, -3vw, 0px);
  width: clamp(180px, 20vw, 330px);
  aspect-ratio: 1 / 1;
  background: url('img/social-ig.webp') no-repeat center / contain;
  opacity: .35;
  filter: blur(1px);
  transform: rotate(-10deg);
  pointer-events: none;
}
#bb-panel-reviews .bb-benefits__cols { position: relative; z-index: 1; }
/* анимируем только СОДЕРЖИМОЕ панели (фон статичен — нет мелькания «пустой» панели) */
.bb-benefits__panel.is-active .bb-benefits__cols {
  animation: bb-panel-fade .3s ease both;
}
@keyframes bb-panel-fade {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.bb-benefits__panel[hidden] { display: none; }
.bb-benefits__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 3vw, 56px);
  align-items: center;
}
.bb-benefits__item + .bb-benefits__item { margin-top: clamp(36px, 4vw, 60px); }
.bb-benefits__h {
  font-family: var(--bb-font-head);           /* Gotham Medium 36px */
  font-size: clamp(22px, 2.4vw, 36px);
  line-height: 1.1;
  margin: 0 0 10px;                           /* заголовок → текст 10px */
}
/* рамка выделения с курсором (Figma 13:596): всё привязано к тексту и шрифту, поэтому адаптивно */
.bb-select-mark {
  position: relative;
  display: inline-block;
  max-width: calc(100% - 1.5em);              /* не хватает места — текст переносится, курсор остаётся */
  margin-left: calc(-.14em - 2px);            /* текст заголовка стоит ровно над абзацем */
  padding: .08em .14em;
  border: 2px solid #378AFF;
}
.bb-select-mark::before {                     /* 4 угловых маркера: белый квадрат 5px в синем 9px */
  content: "";
  position: absolute;
  inset: -5.5px;
  pointer-events: none;
  background:
    linear-gradient(#fff, #fff) left 2px top 2px / 5px 5px no-repeat,
    linear-gradient(#fff, #fff) right 2px top 2px / 5px 5px no-repeat,
    linear-gradient(#fff, #fff) left 2px bottom 2px / 5px 5px no-repeat,
    linear-gradient(#fff, #fff) right 2px bottom 2px / 5px 5px no-repeat,
    linear-gradient(#378AFF, #378AFF) left top / 9px 9px no-repeat,
    linear-gradient(#378AFF, #378AFF) right top / 9px 9px no-repeat,
    linear-gradient(#378AFF, #378AFF) left bottom / 9px 9px no-repeat,
    linear-gradient(#378AFF, #378AFF) right bottom / 9px 9px no-repeat;
}
.bb-select-mark::after {                      /* курсор */
  content: "";
  position: absolute;
  left: calc(100% + .3em);
  top: 22%;
  width: 1.1em;
  height: 1.1em;
  pointer-events: none;
  background: url("img/select-cursor.svg") left top / contain no-repeat;
}
.bb-benefits__p {
  font-family: var(--bb-font-body);
  font-size: 16px;
  line-height: 1.5;
  margin: 0 0 16px;                           /* между абзацами */
  max-width: 540px;
}
.bb-benefits__p:last-child { margin-bottom: 0; }
.bb-benefits__item .bb-btn { margin-top: clamp(20px, 2vw, 30px); }  /* текст → кнопка 30px */
.bb-benefits__media img { width: 100%; height: auto; }
.bb-benefits__media-photo { border-radius: var(--bb-radius-sm); }

/* соцсети во вкладке «Отзывы» */
.bb-benefits__social {
  display: flex;
  justify-content: space-between;       /* отступы подстраиваются сами */
  gap: clamp(10px, 1.2vw, 18px);
  width: 100%;
  margin-top: clamp(18px, 2vw, 28px);
}
.bb-benefits__social-link {
  display: inline-flex;
  width: clamp(72px, 6vw, 96px);        /* ×1.5 */
  transition: transform .2s ease;
}
.bb-benefits__social-link:hover { transform: translateY(-3px); }
.bb-benefits__social-link img { width: 100%; height: auto; }
.bb-btn--sm {
  font-size: clamp(15px, 1.2vw, 18px);
  padding: 12px 28px;
}

/* 5. КОМУ ПОДХОДИТ */
.bb-audience { color: var(--bb-ink); position: relative; z-index: 2; }
.bb-audience__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(18px, 2vw, 32px);
  margin-top: clamp(36px, 5vw, 76px);
}
.bb-aud-card {
  position: relative;
  z-index: 1;
  background: var(--bb-card);
  border-radius: var(--bb-radius);
  padding: clamp(28px, 3vw, 56px);
}
.bb-aud-card--wide { grid-column: 1 / -1; }
/* убывающий z-index: декор карточки (выходит вниз) поверх следующих карточек */
.bb-audience__grid > .bb-aud-card:nth-child(1) { z-index: 6; }
.bb-audience__grid > .bb-aud-card:nth-child(2) { z-index: 5; }
.bb-audience__grid > .bb-aud-card:nth-child(3) { z-index: 4; }
.bb-audience__grid > .bb-aud-card:nth-child(4) { z-index: 4; }
.bb-audience__grid > .bb-aud-card:nth-child(5) { z-index: 3; }
.bb-aud-card--wide.bb-aud-card--photo-left,
.bb-aud-card--wide.bb-aud-card--photo-right {
  display: grid;
  gap: clamp(24px, 3vw, 56px);
  align-items: center;
}
.bb-aud-card--photo-left  { grid-template-columns: minmax(0, 0.9fr) 1fr; }
.bb-aud-card--photo-right { grid-template-columns: 1fr minmax(0, 0.9fr); }

.bb-aud-card__media img {
  width: 100%;
  height: auto;                                /* скос, скругление и рамка уже в самом файле */
}
.bb-aud-card__title {
  font-family: var(--bb-font-head);           /* Gotham Medium */
  font-size: clamp(22px, 2.4vw, 36px);
  line-height: 1.1;
  margin: 0 0 18px;
}
.bb-aud-card__text p {
  font-family: var(--bb-font-body);
  font-size: 16px;
  line-height: 1.5;
  margin: 0 0 14px;
}
.bb-aud-card__body .bb-btn { margin-top: clamp(12px, 1.4vw, 22px); }

.bb-aud-card__decor {
  position: absolute;
  z-index: 5;                   /* поверх соседних карточек/секций */
  pointer-events: none;
  width: clamp(110px, 13vw, 200px);
  height: auto;
}
.bb-aud-card__decor--tools  {
  width: clamp(220px, 26vw, 400px);            /* ×2 */
  right: clamp(-40px, -2.5vw, -8px);
  bottom: clamp(-150px, -10vw, -40px);         /* ещё в 2 раза ниже */
}
.bb-aud-card__decor--flags  {
  width: clamp(220px, 26vw, 400px);            /* ×2 */
  left: 44%;                                   /* посередине низа, чуть левее */
  right: auto;
  transform: translateX(-50%);
  bottom: clamp(-190px, -13vw, -52px);         /* ещё в 2 раза ниже */
}
.bb-aud-card__decor--handshake {
  width: clamp(150px, 17vw, 300px);            /* крупнее */
  right: clamp(-40px, -2.5vw, -8px);
  bottom: clamp(-160px, -11vw, -44px);         /* ещё в 2 раза ниже */
}
/* PAGE-DEALER — декоры карточек «Преимущества» */
.bb-dealer-decor--handshake { width: clamp(120px, 16vw, 290px); right: clamp(-20px, 1.5vw, 28px); top: clamp(-120px, -9vw, -54px); }
.bb-dealer-decor--stanok    { width: clamp(150px, 20vw, 360px); right: clamp(-30px, -2vw, -8px); bottom: clamp(-70px, -5vw, -18px); }
.bb-dealer-decor--wow       { width: clamp(100px, 12vw, 200px); left: clamp(-30px, -2vw, -8px);   bottom: clamp(-70px, -5vw, -18px); right: auto; top: auto; }
.bb-dealer-decor--hearts    { width: clamp(80px, 11vw, 200px);  left: clamp(40px, 12vw, 260px);  bottom: clamp(-100px, -7vw, -28px); }
/* PAGE-RENTAL — декоры карточек */
/* tour / shield / car — по центру снизу, ×0.5, выходят чуть ниже карточки */
.bb-rental-decor--tour      { width: clamp(55px, 6.5vw, 110px); left: 50%; right: auto; transform: translateX(-50%); bottom: clamp(-52px, -3.6vw, -24px); }
.bb-rental-decor--shield    { width: clamp(65px, 8vw, 150px);   left: 50%; right: auto; transform: translateX(-50%); bottom: clamp(-60px, -4vw, -28px); }
.bb-rental-decor--car       { width: clamp(60px, 7.5vw, 150px); left: 50%; right: auto; top: auto; transform: translateX(-50%); bottom: clamp(-60px, -4vw, -28px); }
.bb-rental-decor--selfie    { width: clamp(120px, 15vw, 320px); left: clamp(20px, 11vw, 280px);   bottom: clamp(-90px, -6vw, -26px); }

/* PAGE-SPORT — декоры карточек */
.bb-sport-decor--podium     { width: clamp(70px, 9vw, 170px);  right: clamp(-10px, 1vw, 30px);  bottom: clamp(-70px, -5vw, -30px); }
.bb-sport-decor--handshake  { width: clamp(90px, 11vw, 210px); right: clamp(-30px, -1.5vw, 8px); bottom: clamp(-70px, -5vw, -30px); top: auto; }
.bb-sport-decor--brand      { width: clamp(80px, 10vw, 180px); left: clamp(-30px, -2vw, -8px);   bottom: clamp(-70px, -5vw, -28px); right: auto; }
.bb-sport-decor--calendar   { width: clamp(100px, 12vw, 230px); right: clamp(-20px, 0.5vw, 24px); bottom: clamp(-80px, -5.5vw, -34px); top: auto; }
/* декор-снегоход над доской кейсов — сверху по центру */
.bb-cases__decor--snowmobile { left: 52%; right: auto; transform: translateX(-50%); width: clamp(140px, 18vw, 340px); top: clamp(-170px, -15vw, -130px); }

/* PAGE-STUDIO — декоры карточек */
.bb-studio-decor--handshake  { width: clamp(90px, 11vw, 210px);  right: clamp(-24px, -1vw, 10px);  top: clamp(-56px, -4vw, -28px); bottom: auto; }
.bb-studio-decor--atv        { width: clamp(90px, 11vw, 200px);  left: clamp(20px, 8vw, 220px);   bottom: clamp(-80px, -5.5vw, -30px); right: auto; }
.bb-studio-decor--detailing  { width: clamp(80px, 10vw, 180px);  right: clamp(-20px, 0.5vw, 24px); bottom: clamp(-70px, -5vw, -28px);   top: auto; }
.bb-studio-decor--instrument { width: clamp(100px, 12vw, 230px); left: clamp(30px, 20vw, 520px);  bottom: clamp(-80px, -5.5vw, -34px); right: auto; }
.bb-studio-decor--stars      { width: clamp(80px, 10vw, 180px);  left: clamp(-40px, -3vw, -12px);  bottom: clamp(-60px, -4vw, -24px);   right: auto; }
.bb-studio-decor--questions  { width: clamp(90px, 11vw, 210px);  right: clamp(-20px, 0.5vw, 24px); bottom: clamp(-70px, -5vw, -30px);   top: auto; }
/* сноска мелким в карточке кейса (VS STUDIO «*по нашей скромной версии») */
.bb-case__note { font-size: 12px; opacity: .65; }

/* 6. КАК С НАМИ СВЯЗАТЬСЯ */
.bb-contact { color: var(--bb-ink); position: relative; z-index: 2; }
.bb-contact__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2vw, 32px);
  margin-top: clamp(36px, 5vw, 76px);
}
.bb-contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(16px, 2vw, 26px);
  background: var(--bb-card);
  border-radius: var(--bb-radius);
  padding: clamp(28px, 3vw, 48px);
}
.bb-contact-card__qr { width: clamp(150px, 56%, 206px); height: auto; }
.bb-contact-card__logo { height: clamp(26px, 2.2vw, 32px); width: auto; }
.bb-contact-card__btn { width: 100%; max-width: 224px; }
.bb-contact__decor {
  position: absolute;
  z-index: 5;
  right: clamp(-80px, -5vw, -16px);     /* ещё правее */
  bottom: clamp(-140px, -9vw, -40px);   /* ещё в 2 раза ниже */
  width: clamp(156px, 18vw, 273px);     /* +30% */
  height: auto;
  pointer-events: none;
}

/* 7. ГАЛЕРЕИ КЕЙСОВ: попап на <dialog> (Figma 88:286, 88:184, 88:81) + полноэкранный просмотр */
html.bb-modal-open,
html.bb-modal-open body { overflow: hidden; }
.bb-gallery,
.bb-lightbox {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
}
.bb-gallery {
  --gal-gap: clamp(8px, 2.6vw, 50px);
  background: #fff;
  color: var(--bb-ink);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.bb-gallery::backdrop { background: #fff; }
.bb-gallery__inner {
  max-width: 1560px;
  margin-inline: auto;
  padding: clamp(24px, 4vw, 64px) clamp(16px, 4vw, 50px) clamp(40px, 5vw, 80px);
}
.bb-gallery__grid {
  display: grid;
  gap: var(--gal-gap);
  margin-top: clamp(24px, 3vw, 48px);
}
.bb-gallery__row { display: grid; gap: var(--gal-gap); }
.bb-gallery__stack { display: grid; grid-auto-rows: 1fr; gap: var(--gal-gap); min-height: 0; }
.bb-gallery__item {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 0;
  background: var(--bb-card);
  border-radius: clamp(12px, 1.6vw, 24px);
  cursor: zoom-in;
}
.bb-gallery__stack .bb-gallery__item { aspect-ratio: auto !important; }  /* высоту задаёт соседнее фото */
.bb-gallery__item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}
.bb-gallery__item:hover img { transform: scale(1.02); }

.bb-partner .bb-gallery__close,
.bb-partner .bb-lightbox__btn {
  width: clamp(40px, 3.4vw, 52px);
  height: clamp(40px, 3.4vw, 52px);
  padding: 0;
  border: 0;
  border-radius: 50%;
  background-color: rgba(22, 26, 31, .72);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 45%;
  cursor: pointer;
}
.bb-partner .bb-gallery__close:hover,
.bb-partner .bb-lightbox__btn:hover { background-color: var(--bb-primary); }
.bb-partner .bb-gallery__close {
  position: fixed;
  z-index: 2;
  top: clamp(10px, 1.5vw, 24px);
  right: clamp(10px, 2vw, 32px);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M5 5l14 14M19 5L5 19'/%3E%3C/svg%3E");
}

.bb-lightbox { overflow: hidden; background: rgba(10, 12, 16, .94); }
.bb-lightbox::backdrop { background: transparent; }
.bb-lightbox[open] {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(0px, 3vw, 48px);
}
.bb-partner .bb-lightbox__img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-drag: none;
}
.bb-partner .bb-lightbox__btn { position: absolute; top: 50%; transform: translateY(-50%); }
.bb-partner .bb-lightbox__btn--prev {
  left: clamp(8px, 1.5vw, 24px);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 4l-8 8 8 8'/%3E%3C/svg%3E");
}
.bb-partner .bb-lightbox__btn--next {
  right: clamp(8px, 1.5vw, 24px);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 4l8 8-8 8'/%3E%3C/svg%3E");
}
.bb-lightbox__count {
  position: absolute;
  left: 50%;
  bottom: clamp(8px, 1.2vw, 18px);
  transform: translateX(-50%);
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(22, 26, 31, .72);
  color: #fff;
  font-family: var(--bb-font-body);
  font-size: 14px;
}

/* ─── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .bb-hero__slide { height: clamp(180px, 28vw, 300px); }
  .bb-about__grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .bb-partners__grid { --pcols: 3; }
  .bb-partners__grid--five .bb-partners__item { width: 30%; }   /* rental: 3 в ряд */
}
@media (max-width: 900px) {
  .bb-benefits__cols { grid-template-columns: 1fr; }
  .bb-benefits__media { order: 2; }             /* фото после текста и кнопок */

  /* панель без верхних скруглений (табы сверху на всю ширину) */
  .bb-benefits__panel { border-radius: 0 0 var(--bb-radius) var(--bb-radius); }

  /* табы — всегда в 1 строку, на всю ширину панели */
  .bb-benefits__tabs { flex-wrap: nowrap; justify-content: stretch; gap: 0; }
  .bb-benefits__tab {
    flex: 1 1 0;
    min-width: 0;
    text-align: center;
    padding: clamp(10px, 2.4vw, 16px) clamp(4px, 1.5vw, 14px);
    font-size: clamp(13px, 3.2vw, 18px);
  }
  .bb-benefits__tab + .bb-benefits__tab { margin-left: clamp(-16px, -2.6vw, -6px); }
  .bb-benefits__tab.is-active { padding-top: clamp(13px, 2.8vw, 20px); }

  .bb-audience__grid { grid-template-columns: 1fr; }
  .bb-aud-card--wide.bb-aud-card--photo-left,
  .bb-aud-card--wide.bb-aud-card--photo-right { grid-template-columns: 1fr; }
  .bb-aud-card--photo-left .bb-aud-card__media { order: 2; }   /* фото после текста+кнопки */

  .bb-cases__grid { grid-template-columns: 1fr; }              /* кейсы стопкой */

  .bb-contact__grid { grid-template-columns: 1fr; max-width: 380px; margin-inline: auto; }
}
@media (max-width: 600px) {
  /* карусель — вертикальные слайды ~3:4, выше */
  .bb-hero__slide { height: clamp(300px, 80vw, 440px); aspect-ratio: 3 / 4; }
  .bb-hero__slide img { width: 100%; height: 100%; object-fit: cover; }

  /* §2 — 2 столбца, текст компактнее */
  .bb-about__grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .bb-about__card { font-size: 13px; line-height: 1.45; padding: 14px; }
  .bb-about__badge { min-height: 54px; font-size: 14px; padding: 10px 12px; }

  .bb-partners__grid { --pcols: 2; --pgap-col: 28px; gap: 24px 28px; }
  .bb-partners__grid--five .bb-partners__item { width: 47%; }   /* rental: 2 в ряд */

  /* скрыть QR-коды (перебиваем .bb-partner img{display:block}) */
  .bb-contact-card__qr { display: none !important; }

  /* скрыть весь декор на мобильном */
  .bb-aud-card__decor,
  .bb-partners__decor,
  .bb-contact__decor,
  .bb-cases__decor { display: none !important; }
  #bb-panel-reviews::after { display: none; }
}

/* ─── ПРИОРИТЕТ ШРИФТОВ над глобальными h1–h6 темы Porto ──────
   Porto задаёт font-family для h1–h6 в style.css; перебиваем scoped + !important,
   чтобы заголовки гарантированно рендерились нужным шрифтом. */
.bb-partner .bb-title,
.bb-partner .bb-about__badge { font-family: var(--bb-font-title) !important; }  /* Gotham Black */
/* HERO — als-hauss; идёт ПОСЛЕ .bb-title (равная специфичность → побеждает позднее правило) */
.bb-partner .bb-hero__title { font-family: 'als-hauss', sans-serif !important; }
.bb-partner .bb-dealer-hero__title { font-family: 'als-hauss', sans-serif !important; color: #fff !important; }
/* цвет заголовков — Porto навязывает h2{color:var(--porto-h2-color)} */
.bb-partner .bb-title,
.bb-partner .bb-subtitle,
.bb-partner .bb-benefits__h,
.bb-partner .bb-aud-card__title,
.bb-partner .bb-case__title { color: var(--bb-ink) !important; }
.bb-partner .bb-hero__title { color: var(--bb-dark) !important; }  /* HERO — чёрный */
.bb-partner .bb-aud-card__title,
.bb-partner .bb-case__title,
.bb-partner .bb-benefits__h,
.bb-partner .bb-benefits__tab,
.bb-partner .bb-btn         { font-family: var(--bb-font-head) !important; }   /* Gotham Medium */
.bb-partner .bb-eyebrow     { font-family: 'gotham-light', sans-serif !important; }

/* обычный текст — Montserrat (сайт навязывает p { gotham-light !important }) */
.bb-partner p,
.bb-partner .bb-text,
.bb-partner .bb-about__card,
.bb-partner .bb-benefits__p,
.bb-partner .bb-aud-card__text p { font-family: var(--bb-font-body) !important; }

/* ─── ДЕКОР ПО МАКЕТУ FIGMA ──────────────────────────────────────
   Размер и положение измерены по рендеру макета (ширина карточки 1460 = 100cqw),
   поэтому декор масштабируется вместе с контейнером. max() не даёт ему уйти за край экрана.
   11 декоров немного сдвинуты от макета, чтобы не задевать текст на ширинах 1120–1920.
   До 1100px декор скрыт: на узких экранах текст занимает всю карточку. */
@media (max-width: 1100px) {
  .bb-aud-card__decor,
  .bb-partners__decor,
  .bb-contact__decor,
  .bb-cases__decor { display: none !important; }
}
@media (min-width: 1101px) {
  .bb-partner .bb-partner__container { container-type: inline-size; }
  /* Партнёрская программа (главная) */
  body.page-template-page-templatespage-partner-php .bb-partners__decor { width: 17.41cqw; right: 11.97cqw; left: auto; top: -12.63cqw; bottom: auto; transform: none; }
  body.page-template-page-templatespage-partner-php .bb-aud-card__decor--handshake { width: 17.84cqw; right: max(-2.44cqw, calc(50cqw - 50vw + 12px)); left: auto; bottom: -5.33cqw; top: auto; transform: none; }
  body.page-template-page-templatespage-partner-php .bb-aud-card__decor--tools { width: 23.26cqw; right: max(-6.40cqw, calc(50cqw - 50vw + 12px)); left: auto; bottom: -10.78cqw; top: auto; transform: none; }
  body.page-template-page-templatespage-partner-php .bb-aud-card__decor--flags { width: 17.27cqw; left: 36.23cqw; right: auto; bottom: -7.89cqw; top: auto; transform: none; }
  body.page-template-page-templatespage-partner-php .bb-contact__decor { width: 15.55cqw; right: max(-7.24cqw, calc(50cqw - 50vw + 12px)); left: auto; bottom: -5.83cqw; top: auto; transform: none; }
  /* Дилерам */
  body.page-template-page-templatespage-dealer-php .bb-cases__decor { width: 22.83cqw; right: max(-5.34cqw, calc(50cqw - 50vw + 12px)); left: auto; top: -13.95cqw; bottom: auto; transform: none; }
  body.page-template-page-templatespage-dealer-php .bb-dealer-decor--handshake { width: 17.12cqw; right: max(-0.51cqw, calc(50cqw - 50vw + 12px)); left: auto; top: -7.80cqw; bottom: auto; transform: none; }
  body.page-template-page-templatespage-dealer-php .bb-dealer-decor--stanok { width: 25.76cqw; right: max(-8.25cqw, calc(50cqw - 50vw + 12px)); left: auto; bottom: -10.72cqw; top: auto; transform: none; }
  body.page-template-page-templatespage-dealer-php .bb-dealer-decor--wow { width: 17.98cqw; left: max(-3.37cqw, calc(50cqw - 50vw + 12px)); right: auto; bottom: -7.97cqw; top: auto; transform: none; }
  body.page-template-page-templatespage-dealer-php .bb-dealer-decor--hearts { width: 18.84cqw; left: 34.16cqw; right: auto; bottom: -10.99cqw; top: auto; transform: none; }
  body.page-template-page-templatespage-dealer-php .bb-contact__decor { width: 15.55cqw; right: max(-7.24cqw, calc(50cqw - 50vw + 12px)); left: auto; bottom: -5.83cqw; top: auto; transform: none; }
  /* Прокатам */
  body.page-template-page-templatespage-rental-php .bb-rental-decor--tour { width: 13.56cqw; left: 32.95cqw; right: auto; bottom: -6.78cqw; top: auto; transform: none; }
  body.page-template-page-templatespage-rental-php .bb-cases__decor { width: 22.83cqw; right: max(-5.34cqw, calc(50cqw - 50vw + 12px)); left: auto; top: -13.97cqw; bottom: auto; transform: none; }
  body.page-template-page-templatespage-rental-php .bb-dealer-decor--handshake { width: 17.12cqw; right: max(-3.87cqw, calc(50cqw - 50vw + 12px)); left: auto; bottom: -8.94cqw; top: auto; transform: none; }
  body.page-template-page-templatespage-rental-php .bb-rental-decor--shield { width: 16.55cqw; left: 34.66cqw; right: auto; bottom: -9.97cqw; top: auto; transform: none; }
  body.page-template-page-templatespage-rental-php .bb-rental-decor--car { width: 19.12cqw; right: max(-2.94cqw, calc(50cqw - 50vw + 12px)); left: auto; bottom: -7.91cqw; top: auto; transform: none; }
  body.page-template-page-templatespage-rental-php .bb-rental-decor--selfie { width: 21.26cqw; right: 31.74cqw; left: auto; bottom: -9.69cqw; top: auto; transform: none; }
  body.page-template-page-templatespage-rental-php .bb-contact__decor { width: 15.55cqw; right: max(-7.24cqw, calc(50cqw - 50vw + 12px)); left: auto; bottom: -5.84cqw; top: auto; transform: none; }
  /* Спортивным командам */
  body.page-template-page-templatespage-sport-php .bb-sport-decor--podium { width: 15.98cqw; right: 2.42cqw; left: auto; bottom: -2.34cqw; top: auto; transform: none; }
  body.page-template-page-templatespage-sport-php .bb-cases__decor--snowmobile { width: 21.83cqw; right: 31.67cqw; left: auto; top: -10.74cqw; bottom: auto; transform: none; }
  body.page-template-page-templatespage-sport-php .bb-sport-decor--handshake { width: 17.12cqw; right: max(-3.91cqw, calc(50cqw - 50vw + 12px)); left: auto; bottom: -4.87cqw; top: auto; transform: none; }
  body.page-template-page-templatespage-sport-php .bb-sport-decor--brand { width: 11.99cqw; left: max(-4.89cqw, calc(50cqw - 50vw + 12px)); right: auto; bottom: -7.86cqw; top: auto; transform: none; }
  body.page-template-page-templatespage-sport-php .bb-sport-decor--calendar { width: 24.83cqw; right: 3.08cqw; left: auto; bottom: -13.08cqw; top: auto; transform: none; }
  body.page-template-page-templatespage-sport-php .bb-contact__decor { width: 15.55cqw; right: max(-7.24cqw, calc(50cqw - 50vw + 12px)); left: auto; bottom: -5.82cqw; top: auto; transform: none; }
  /* Студиям */
  body.page-template-page-templatespage-studio-php .bb-studio-decor--atv { width: 16.84cqw; left: 32.02cqw; right: auto; bottom: -6.28cqw; top: auto; transform: none; }
  body.page-template-page-templatespage-studio-php .bb-cases__decor { width: 22.97cqw; right: 0.63cqw; left: auto; top: -14.41cqw; bottom: auto; transform: none; }
  body.page-template-page-templatespage-studio-php .bb-studio-decor--handshake { width: 17.12cqw; right: max(-3.94cqw, calc(50cqw - 50vw + 12px)); left: auto; top: -8.41cqw; bottom: auto; transform: none; }
  body.page-template-page-templatespage-studio-php .bb-studio-decor--detailing { width: 17.27cqw; right: max(-3.87cqw, calc(50cqw - 50vw + 12px)); left: auto; bottom: -12.98cqw; top: auto; transform: none; }
  body.page-template-page-templatespage-studio-php .bb-studio-decor--instrument { width: 18.41cqw; left: 36.23cqw; right: auto; bottom: -10.97cqw; top: auto; transform: none; }
  body.page-template-page-templatespage-studio-php .bb-studio-decor--stars { width: 12.61cqw; left: max(-5.68cqw, calc(50cqw - 50vw + 12px)); right: auto; bottom: -8.53cqw; top: auto; transform: none; }
  body.page-template-page-templatespage-studio-php .bb-studio-decor--questions { width: 16.27cqw; right: max(-4.87cqw, calc(50cqw - 50vw + 12px)); left: auto; bottom: -6.03cqw; top: auto; transform: none; }
  body.page-template-page-templatespage-studio-php .bb-contact__decor { width: 15.55cqw; right: max(-7.24cqw, calc(50cqw - 50vw + 12px)); left: auto; bottom: -5.81cqw; top: auto; transform: none; }
}
