/* Services — Brand Strategy & Branding · Figma 13319:218906 (desktop 1440), секція Services | Branding 13319:218905.
   Одиниці — em на плинній шкалі сайту: desktop Figma px ÷ 16 (1em = 16px при 1440).
   Mobile (≤479): секції скидають font-size до 16/16.38 від body, тож 1em = 16px при 390. Мобільного макета немає —
   розкладка за FIGMA-RULES.md §5.0: поля 16, секція 80 / 80, шапка → контент 64, кнопки на всю ширину.
   Класи сторінки — .bs-; усе, що чіпає класи сайту (.section, .button-main, .headline-*), — під .services-branding-page. */

.services-branding-page {
  --bs-ink: #141414;        /* ink/850 */
  --bs-gray-900: #111827;
  --bs-gray-600: #4b5563;
  --bs-gray-500: #6b7280;
  --bs-gray-400: #9ca3af;
  --bs-gray-300: #d1d5db;
  --bs-gray-200: #e5e7eb;
  --bs-gray-100: #f3f4f6;
  --bs-gray-50: #f9fafb;
  --bs-violet: #7c3aed;     /* violet/600 */
  --bs-purple: #9f94f3;     /* brand/purple */
  --bs-teal: #3dede7;       /* brand/teal */
  --bs-green: #3ef18d;      /* brand/green */
  --bs-w70: rgba(255, 255, 255, .7);
  --bs-w50: rgba(255, 255, 255, .5);
  --bs-w20: rgba(255, 255, 255, .2);
  --bs-w15: rgba(255, 255, 255, .15);
  --bs-w10: rgba(255, 255, 255, .1);
  --bs-focus: #6251c8;
}

@media (min-width: 1920px) { .services-branding-page { font-size: 21.333px; } }

.bs-sr {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* Кільце фокусу — те саме, що на решті внутрішніх сторінок (css/site-additions.css); на чорних секціях біле. */
.services-branding-page main :where(a, button, summary, [tabindex]:not([tabindex="-1"])):focus-visible { outline: 2px solid var(--bs-focus); outline-offset: 3px; }
.services-branding-page :where(.bs-section--dark, .bs-behance, .bs-why) :where(a, button, summary, [tabindex]:not([tabindex="-1"])):focus-visible { outline-color: #fff; }
.services-branding-page main:focus { outline: none; }

/* Хедер — Block/Header Active=Services: пункт Services підкреслений, як aria-current на решті сторінок.
   Сам пункт списку «Brand Strategy & Branding» отримує aria-current="page" у js/services-branding.js. */
@media (min-width: 480px) {
  .services-branding-page .nav-dropdown__toggle .text-body-2 { text-decoration: underline; text-underline-offset: .35em; }
}

/* ============ Основа ============ */

.services-branding-page .bs-section { display: block; padding: 7.5em 0; background: #fff; color: var(--bs-ink); }   /* 120 */
.services-branding-page .bs-section--dark { background: #000; color: #fff; }
.services-branding-page .bs-section--gray { background: var(--bs-gray-100); }
.bs-container { width: 82.5em; margin-inline: auto; }                 /* 1320 */
.bs-stack { display: flex; flex-direction: column; gap: 3.75em; }     /* 60 */
.bs-section :where(ul, ol)[role="list"] { margin: 0; padding: 0; list-style: none; }
.bs-section :where(dl, dd, figure, blockquote) { margin: 0; }

.bs-h2 { margin: 0; font-family: "Rg Standardbook", Arial, sans-serif; font-size: 2em; font-weight: 400; line-height: 1.2; letter-spacing: -.03125em; }   /* Head/2 32 / 1.2 / −1 */
.bs-b1 { margin: 0; font-size: 1.25em; font-weight: 300; line-height: 1.2; letter-spacing: -.025em; }      /* Body/1 20 */
.bs-b2 { margin: 0; font-size: 1em; font-weight: 400; line-height: 1.2; letter-spacing: -.0625em; }        /* Body/2 16 */
.bs-b3 { margin: 0; font-size: .875em; font-weight: 300; line-height: 1.2; letter-spacing: 0; }            /* Body/3 14 */
.bs-label { margin: 0; font-family: Worksans, Arial, sans-serif; font-size: .875em; font-weight: 300; line-height: 1.2; letter-spacing: 0; text-transform: uppercase; }   /* Body/3 Upper */
.bs-label--regular { font-weight: 400; }
.bs-index { font-family: "Rg Standardbook", Arial, sans-serif; font-size: 1em; font-weight: 400; line-height: 1.2; letter-spacing: -.09375em; white-space: nowrap; }   /* Index Counter 16 / −1.5 */
.bs-ico-18 { flex: none; width: 1.125em; height: 1.125em; }

/* Шапка секції: Head/1 700 + нота 440, низом на одній лінії */
.bs-head { display: flex; justify-content: space-between; align-items: flex-end; }
.bs-head__title { width: 10.9375em; }                                  /* 700 / 64 */
.bs-head__title--500 { width: 7.8125em; }
.bs-muted { display: block; color: var(--bs-gray-500); }
.bs-section--dark .bs-muted { color: var(--bs-w70); }
.bs-head__note { width: 27.5em; color: var(--bs-gray-500); text-wrap: pretty; }   /* 440 */
.bs-head__note--420 { width: 26.25em; }
.bs-section--dark .bs-head__note { color: var(--bs-w70); }
.bs-section--gray .bs-head__note { color: var(--bs-gray-600); }   /* у Figma gray/500 — на gray/100 це 4,39 : 1 */

/* Кнопки: .button-main сайту в розмірах Button/Outline 59 (Figma тримає обведення всередині 16 + 4) */
.services-branding-page .bs-btn { width: max-content; height: auto; padding: calc(1.25em - 1px) calc(1em - 1px); gap: .125em; line-height: 1.2; text-decoration: none; background-color: transparent; }
.services-branding-page .bs-btn:hover { background-color: #000; color: #fff; }
.bs-btn .ico-20 { flex: none; width: 1.125em; height: 1.125em; }
.bs-btn svg { display: block; width: 100%; height: 100%; }
.services-branding-page .bs-btn--wide { width: 100%; justify-content: space-between; box-sizing: border-box; }
.services-branding-page .bs-btn--gap8 { gap: .5em; }
.services-branding-page .bs-btn--white { background-color: #fff; border-color: #fff; color: #000; }            /* Button/Primary Color=white: біла заливка → обведення */
.services-branding-page .bs-btn--white:hover { background-color: transparent; color: #fff; }
.services-branding-page .bs-btn--ghost { padding: 1.25em 1em; }                                                  /* Button/Primary Color=black: ghost → чорна заливка */

/* Row/Scope — рядок переліку з лінією знизу */
.bs-scope { display: flex; flex-direction: column; gap: .75em; margin: 0; padding: 0; list-style: none; }
.bs-scope li { padding-bottom: calc(.5em - 1px); border-bottom: 1px solid var(--bs-gray-300); font-weight: 400; line-height: 1.2; letter-spacing: -.0625em; color: #000; }
.bs-scope--dark { gap: 1em; }
.bs-scope--dark li { border-bottom-color: var(--bs-w15); color: #fff; }
.bs-scope--muted li { color: var(--bs-w70); }

/* Кадр із підписом */
.bs-frame { display: flex; flex-direction: column; gap: .75em; min-width: 0; }
.bs-frame img { display: block; width: 100%; height: auto; }
.bs-section--dark .bs-frame figcaption { color: var(--bs-w70); }

/* ============ 01 Hero — 1440 × 1512 ============ */

.services-branding-page .bs-hero { display: flex; flex-direction: column; align-items: center; gap: 1.5em; padding-top: 13.9375em; overflow-x: clip; }   /* 103 хедер + 120 */
.bs-hero__head { display: flex; flex-direction: column; align-items: center; gap: 2em; text-align: center; }
.bs-team { display: flex; align-items: center; gap: 1em; }
.bs-team__avatars { display: flex; }
.bs-team__avatars img { box-sizing: border-box; width: 2.0594em; height: 2.0594em; margin-right: -.3125em; border: 1.2px solid #fdfdfd; border-radius: 50%; object-fit: cover; }   /* 32.95, нахлест 5 */
.bs-team__avatars img:last-child { margin-right: 0; }
.bs-hero__title { width: 13.75em; }                                    /* 880 / 64 */
.bs-hero__lead { width: 31em; color: var(--bs-gray-500); text-wrap: pretty; }   /* 620 / 20 */
.bs-hero__cta { display: flex; flex-direction: column; align-items: center; gap: 1em; }
.bs-hero__note { width: 31.4286em; color: var(--bs-gray-500); text-wrap: pretty; }   /* 440 / 14 */
.bs-hero__art { display: block; width: 100%; max-width: 90em; }        /* 1440 × 620 */
.bs-hero__art img { display: block; width: 100%; height: auto; }
.bs-stats { display: flex; justify-content: center; gap: 1.5em; text-align: center; }
.bs-stat { box-sizing: border-box; display: flex; flex-direction: column; align-items: center; gap: 1.5em; width: 20em; padding: 1.5em; }
.bs-stat__value { white-space: nowrap; }
.bs-stat__label { color: var(--bs-gray-500); }

@media (min-width: 1921px) {
  .bs-hero__art { -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
}

/* ============ 02 Signs / self-check — Row/Symptom + Panel/Verdict ============ */

.bs-signs__body { display: flex; align-items: flex-start; gap: 2.5em; }
.bs-signs__list { flex: none; width: 53.75em; }                        /* 860 */
.bs-sign { position: relative; display: flex; align-items: flex-start; gap: 1.5em; padding: 1.5em 0; border-top: 1px solid var(--bs-w15); cursor: pointer; }
.bs-signs__list li:last-child .bs-sign { border-bottom: 1px solid var(--bs-w15); }
.bs-sign__input { position: absolute; left: 0; top: 2em; width: 1.5em; height: 1.5em; margin: 0; opacity: 0; cursor: pointer; }
.bs-sign__box { box-sizing: border-box; flex: none; display: flex; align-items: center; justify-content: center; width: 1.5em; height: 1.5em; margin-top: .5em; border: 1px solid var(--bs-w50); color: #000; transition: background-color .2s ease, border-color .2s ease; }
.bs-sign__box svg { width: 1em; height: 1em; opacity: 0; transition: opacity .2s ease; }
.bs-sign__quote { flex: 1 0 0; min-width: 0; color: var(--bs-w70); transition: color .2s ease; }
.bs-sign__cost { flex: none; display: flex; flex-direction: column; gap: .25em; width: 15.5em; padding-top: .5em; }   /* 248 */
.bs-sign__cost .bs-label { color: var(--bs-w70); }
.bs-sign__input:checked ~ .bs-sign__box { background-color: #fff; border-color: #fff; }
.bs-sign__input:checked ~ .bs-sign__box svg { opacity: 1; }
.bs-sign__input:checked ~ .bs-sign__quote { color: #fff; }
.bs-sign__input:focus-visible ~ .bs-sign__box { outline: 2px solid #fff; outline-offset: 3px; }

.bs-verdict { box-sizing: border-box; flex: none; display: flex; flex-direction: column; gap: 1.5em; width: 26.25em; padding: 2em; background: var(--bs-w10); }   /* 420 */
.bs-verdict__count { display: flex; align-items: baseline; gap: .75em; margin: 0; white-space: nowrap; }
.bs-verdict__count .bs-b2 { color: var(--bs-w70); }
.bs-verdict__state { display: flex; flex-direction: column; gap: 1.5em; }
.bs-verdict__state[hidden] { display: none; }
.bs-verdict__text { color: var(--bs-w70); }

@media (hover: hover) {
  .bs-sign:hover .bs-sign__box { border-color: #fff; }
  .bs-sign:hover .bs-sign__quote { color: #fff; }
}

/* ============ 03 Evidence — Station/Evidence, чотири в ряд ============ */

.bs-defs { position: absolute; }
.bs-stations { display: flex; gap: 2.5em; }
.bs-station { flex: 1 0 0; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; }
.bs-station__top { display: flex; flex-direction: column; gap: 1.5em; padding-top: 1.5em; border-top: 2px solid var(--bs-ink); }   /* rail 2 */
.bs-waffle { display: block; width: 18.75em; height: 18.75em; }        /* 300: 10 × 21, крок 31 */
.bs-finding { display: flex; flex-direction: column; gap: .5em; }
.bs-finding__role { display: flex; align-items: center; gap: .5em; margin: 0; }
.bs-finding__role .bs-index { color: var(--bs-gray-900); }
.bs-finding__role .bs-label { color: var(--bs-gray-500); }
.bs-source { display: flex; align-items: flex-start; gap: .5em; color: var(--bs-gray-500); text-decoration: none; }
.bs-source .bs-b3 { flex: 1 0 0; min-width: 0; }
.bs-source .bs-ico-18 { color: #000; }
.bs-takeaway { display: flex; flex-direction: column; gap: .5em; padding-top: 1em; border-top: 1px solid var(--bs-gray-300); }
.bs-takeaway .bs-label { color: var(--bs-gray-500); }

@media (hover: hover) {
  .bs-source:hover { color: var(--bs-ink); text-decoration: underline; text-underline-offset: .2em; }
}

/* ============ 03b Applications — бенто 648 + 312 + 312 / 312 + 312 + 648 ============ */

.bs-bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5em; }
.bs-frame--wide { grid-column: span 2; }

/* ============ 03c Strategy session — аркуш 620 + чотири Card/Point + смуга «Why it comes first» ============ */

.bs-session__body { display: flex; flex-direction: column; gap: 1.5em; }
.bs-session__row { display: flex; align-items: stretch; gap: 2.5em; }
.bs-sheet { box-sizing: border-box; flex: none; display: flex; flex-direction: column; justify-content: center; width: 38.75em; padding: 3em; background: var(--bs-gray-100); }
.bs-paper { display: flex; flex-direction: column; padding: 2em; background: #fff; }
.bs-paper__top { display: flex; justify-content: space-between; align-items: flex-end; padding-bottom: 1.25em; border-bottom: 1px solid var(--bs-ink); white-space: nowrap; }
.bs-paper__top .bs-b3 { color: var(--bs-gray-500); }
.bs-field { display: flex; align-items: flex-start; gap: 1em; padding: 1.25em 0; border-bottom: 1px solid var(--bs-gray-300); }
.bs-field__num { flex: none; display: flex; align-items: center; justify-content: center; width: 1.7143em; height: 1.7143em; background: #000; font-size: .875em; font-weight: 400; line-height: 1.2; color: #fff; }   /* 24 / 14 */
.bs-field__value { flex: 1 0 0; min-width: 0; display: flex; flex-direction: column; gap: .375em; }
.bs-field__value .bs-label { color: var(--bs-gray-500); }
.bs-field__chips { display: flex; flex-wrap: wrap; gap: .5em; }
.bs-tick { display: inline-flex; align-items: center; gap: .4286em; padding: .4286em .7143em .4286em .5714em; background: var(--bs-gray-100); font-size: .875em; font-weight: 300; line-height: 1.2; white-space: nowrap; }   /* 6 · 10 · 6 · 8 при 14 */
.bs-tick svg { flex: none; width: 1em; height: 1em; }
.bs-field__check { box-sizing: border-box; flex: none; display: flex; align-items: center; justify-content: center; width: 1.25em; height: 1.25em; border: 1px solid var(--bs-ink); }
.bs-field__check svg { width: 1em; height: 1em; }
.bs-paper__sign { display: flex; gap: 1.5em; padding-top: 2em; }
.bs-paper__sign .bs-b3 { flex: 1 0 0; min-width: 0; padding: 2em 0 .5714em; border-bottom: 1px solid var(--bs-ink); color: var(--bs-gray-500); white-space: nowrap; }   /* 28 · 8 при 14 */

.bs-points { flex: 1 0 0; min-width: 0; display: flex; flex-direction: column; gap: 1em; }
.bs-point { box-sizing: border-box; display: flex; flex-direction: column; gap: 1em; padding: 2em; background: #fff; border: 1px solid var(--bs-gray-300); }   /* Card/Point Surface=white */
.bs-points .bs-point { flex: 1 0 auto; }
.bs-point__index, .bs-point__text { color: var(--bs-gray-500); }
.bs-point--gray { background: var(--bs-gray-100); border: 0; }                                   /* Surface=gray: текст gray/600 — AA на gray/100 */
.bs-point--gray .bs-point__index, .bs-point--gray .bs-point__text { color: var(--bs-gray-600); }
.bs-point__meta { padding-top: 1.1429em; border-top: 1px solid var(--bs-gray-300); }             /* 16 при 14 */

.bs-why { display: flex; align-items: flex-start; gap: 2.5em; padding: 2em; background: #000; color: #fff; }
.bs-why__label { flex: none; width: 20em; }                           /* 280 / 14 */
.bs-why__text { flex: 1 0 0; min-width: 0; color: var(--bs-w70); }
.bs-why__strong { color: #fff; }

/* ============ 04 System — п'ять Card/Layer ============ */

.bs-layers { display: flex; gap: 1.25em; }
.bs-layer { flex: 1 0 0; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; background: #fff; }
.bs-layer__media { display: block; width: 100%; height: 11.625em; object-fit: cover; }          /* 186 */
.bs-layer__top { display: flex; flex-direction: column; gap: 1.5em; padding: 1.5em 1.5em 0; border-top: 1px solid var(--bs-gray-200); }
.bs-layer__head { display: flex; flex-direction: column; align-items: flex-start; gap: .75em; min-height: 7.4375em; }   /* 119 */
.bs-layer__head .bs-index, .bs-layer__question { color: var(--bs-gray-500); }
.bs-layer__get { display: flex; flex-direction: column; gap: .25em; margin: 0; padding: 2em 1.5em 1.5em; }
.bs-layer__get .bs-label { color: var(--bs-gray-500); }

/* ============ 05 Product — вітрина 872 + 424, ланцюг із чотирьох кроків, два переліки ============ */

.bs-showcase { display: flex; gap: 1.5em; }
.bs-showcase__main { flex: 0 0 54.5em; }
.bs-showcase__side { flex: 0 0 26.5em; }
.bs-chain { display: flex; gap: 1.25em; }
.bs-step { flex: 1 0 0; min-width: 0; display: flex; flex-direction: column; gap: 1.25em; }
.bs-step__label { display: flex; align-items: center; gap: .5em; margin: 0; }
.bs-step__label .bs-index { color: var(--bs-w70); }
.bs-viz { display: block; width: 100%; height: auto; }                /* 315 × 240 */
.bs-viz__t { font-family: Worksans, Arial, sans-serif; font-size: 12px; font-weight: 400; }
.bs-viz__aa { font-family: "Rg Standardbook", Arial, sans-serif; font-size: 64px; letter-spacing: -1.5px; }
.bs-step__caption { color: var(--bs-w70); }
.bs-handover { display: flex; gap: 2.5em; }
.bs-handover__col { flex: 1 0 0; min-width: 0; display: flex; flex-direction: column; gap: 1em; }
.bs-handover__col .bs-label { color: var(--bs-w70); }
.bs-handover__col--ours .bs-label { color: #fff; }

/* ============ 06 Work — boundeal (мозаїка + історія) і три Card/Work ============ */

.bs-featured { display: flex; flex-direction: column; gap: 2.5em; }
.bs-mosaic { display: flex; gap: 1.5em; }
.bs-mosaic__main { flex: none; display: block; width: 54.5em; height: 35em; object-fit: cover; }   /* 872 × 560 */
.bs-mosaic__stack { flex: 1 0 0; min-width: 0; display: flex; flex-direction: column; gap: 1.5em; }
.bs-mosaic__stack img { display: block; width: 100%; height: 16.75em; object-fit: cover; }          /* 424 × 268 */
.bs-story { display: flex; align-items: flex-start; gap: 1.5em; }
.bs-story__lead { flex: none; display: flex; flex-direction: column; align-items: flex-start; gap: 2em; width: 26.5em; padding-top: 1em; border-top: 1px solid var(--bs-gray-300); }
.bs-story__head { display: flex; flex-direction: column; gap: .5em; }
.bs-story__head .bs-label { color: var(--bs-gray-500); }
.bs-link { display: inline-flex; align-items: center; gap: .5em; color: var(--bs-ink); text-decoration: none; text-transform: uppercase; }
.bs-story__detail { flex: 1 0 0; min-width: 0; display: flex; flex-direction: column; gap: 2em; }
.bs-beats { display: flex; gap: 1em; }
.bs-beat { flex: 1 0 0; min-width: 0; display: flex; flex-direction: column; gap: .5em; padding-top: 1em; border-top: 1px solid var(--bs-gray-300); }
.bs-beat .bs-label { color: var(--bs-gray-500); }
.bs-slots { display: flex; flex-direction: column; gap: .5em; color: var(--bs-gray-500); }

.bs-gallery { display: flex; gap: 1.5em; }
.bs-gallery li { flex: 1 0 0; min-width: 0; display: flex; }
.bs-card { flex: 1 0 0; min-width: 0; display: flex; flex-direction: column; gap: 1.5em; padding: .5em; background: rgba(0, 0, 0, .05); color: #000; text-decoration: none; }
.bs-card__media { display: block; width: 100%; height: auto; }        /* 408 × 343 */
.bs-card__content { display: flex; flex-direction: column; gap: 1em; padding: 0 1em 1.5em; }
.bs-card__cat { color: var(--bs-violet); }                            /* у Figma brand/purple — на плитці 2,3 : 1; violet/600, як у картках кейсів */
.bs-card__row { display: flex; justify-content: space-between; align-items: center; gap: 1em; }
.bs-card__arrow { flex: none; width: 1.5em; height: 1.5em; transition: transform .3s cubic-bezier(.16, 1, .3, 1); }
.bs-card__text { color: var(--bs-gray-600); text-wrap: pretty; }     /* у Figma gray/500 — на плитці 4,3 : 1 */

@media (hover: hover) {
  .bs-card:hover .bs-card__arrow { transform: translateX(.25em); }
  .bs-link:hover .bs-b2 { text-decoration: underline; text-underline-offset: .2em; }
}

/* ============ 07 Process — план на десять тижнів: шкала 10 × 108 + розрив 40 + Month 3 200 ============ */

.bs-plan { --bs-cols: 13.5em 13.5em 20.25em 20.25em 2.5em 12.5em; display: flex; flex-direction: column; gap: 1.5em; }   /* 216 · 216 · 324 · 324 · 40 · 200 */
.bs-plan__scale { display: grid; grid-template-columns: repeat(10, 6.75em) 2.5em 12.5em; }
.bs-plan__scale span { padding: 0 0 .8571em .5714em; border-left: 1px solid var(--bs-w15); font-size: .875em; font-weight: 300; line-height: 1.2; text-transform: uppercase; color: var(--bs-w70); }   /* 12 · 8 при 14 */
.bs-plan__scale .bs-plan__month { grid-column: 12; }
.bs-plan__stages { display: grid; grid-template-columns: var(--bs-cols); }
.bs-stage { position: relative; display: flex; flex-direction: column; min-width: 0; }
.bs-stage--5 { grid-column: 6; }
.bs-stage--5::before { content: ""; position: absolute; left: -2.5em; top: 10.6875em; width: 2.5em; border-top: 1px dashed var(--bs-w50); }   /* розрив «минає час» по осі смуги: 135 + 36 */
.bs-stage__head { box-sizing: border-box; display: flex; flex-direction: column; align-items: flex-start; gap: .5em; min-height: 8.4375em; padding: 0 1em 1.5em 0; }   /* 135 */
.bs-stage__weeks, .bs-time__stage { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }   /* на desktop тижні показує шкала */
.bs-stage__head .bs-index, .bs-stage__question { color: var(--bs-w70); }
.bs-stage__bar { box-sizing: border-box; display: flex; align-items: center; gap: .5em; height: 4.5em; margin-right: .125em; padding: 0 1em; color: var(--bs-ink); }   /* 72, просвіт 2 між смугами */
.bs-stage__bar p { flex: 1 0 0; min-width: 0; }
.bs-stage__gate { flex: none; width: .625em; height: .625em; margin: 0 .1294em; background: var(--bs-ink); transform: rotate(45deg); }   /* ромб 10, габарит 14,14 */
.bs-stage--1 .bs-stage__bar { background: linear-gradient(90deg, #9f94f3, #78b8ee); }
.bs-stage--2 .bs-stage__bar { background: linear-gradient(90deg, #78b8ee, #51dbe9); }
.bs-stage--3 .bs-stage__bar { background: linear-gradient(90deg, #51dbe9, #3defc3); }
.bs-stage--4 .bs-stage__bar { background: linear-gradient(90deg, #3defc3, #3ef18d); }
.bs-stage--5 .bs-stage__bar { border: 1px solid var(--bs-green); color: #fff; }
.bs-stage--5 .bs-stage__gate { box-sizing: border-box; background: none; border: 1px solid #fff; }
.bs-stage__handoff { display: flex; flex-direction: column; gap: 1em; padding: 1.25em 1em 0 0; }
.bs-stage__handoff div { display: flex; flex-direction: column; gap: .375em; }
.bs-stage__handoff .bs-label { color: var(--bs-w70); }

.bs-time { display: flex; flex-direction: column; gap: 1em; padding-top: 1.5em; border-top: 1px solid var(--bs-w15); }
.bs-time > .bs-label { color: var(--bs-w70); }
.bs-time__slots { display: grid; grid-template-columns: var(--bs-cols); }
.bs-time__slot { display: flex; flex-direction: column; align-items: flex-start; gap: .5em; min-width: 0; padding-right: 1em; }
.bs-time__slot--5 { grid-column: 6; }
.bs-session-chip { padding: .5714em .8571em; background: var(--bs-w10); border-left: 2px solid var(--bs-purple); font-size: .875em; font-weight: 300; line-height: 1.2; white-space: nowrap; color: #fff; }   /* 8 · 12 при 14 */
.bs-session-chip--teal { border-left-color: var(--bs-teal); }
.bs-session-chip--green { border-left-color: var(--bs-green); }

/* ============ 08 Packages — три Card/Package + нота ============ */

.bs-packages__list { display: flex; gap: 1.5em; }
.bs-package { box-sizing: border-box; flex: 1 0 0; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 2em; background: var(--bs-gray-100); }
.bs-package__head { display: flex; flex-direction: column; gap: .75em; padding-bottom: 2em; }
.bs-package__head .bs-h2 { display: flex; gap: .375em; white-space: nowrap; }
.bs-package__index { color: var(--bs-gray-500); }
.bs-package__for, .bs-package__price .bs-b3, .bs-depth, .bs-package__inside > .bs-b3 { color: var(--bs-gray-600); }   /* у Figma gray/500 — на gray/100 це 4,39 : 1 */
.bs-package__price { display: flex; flex-direction: column; gap: .5em; padding: 2em 0 1.5em; border-top: 1px solid var(--bs-gray-300); }
.bs-depth { display: flex; align-items: center; gap: .75em; margin: 0; padding-bottom: 2em; }
.bs-meter { display: flex; gap: .25em; }                              /* Meter/Depth: 3 × 40 × 6 */
.bs-meter i { width: 2.5em; height: .375em; background: var(--bs-gray-300); }
.bs-meter .is-purple { background: var(--bs-purple); }
.bs-meter .is-teal { background: var(--bs-teal); }
.bs-meter .is-green { background: var(--bs-green); }
.bs-package__inside { display: flex; flex-direction: column; gap: 1em; padding-bottom: 2em; }

/* ============ 09 Testimonial — блок «Review» сайту з відгуками про брендинг ============ */

.bs-review__card { box-sizing: border-box; display: flex; align-items: flex-start; gap: 3.75em; padding: 3.75em 0; }
.bs-review__title { flex: none; width: 5.1406em; }                    /* 329 / 64 */
.bs-review__body { position: relative; display: flex; flex-direction: column; gap: 3em; width: 50.875em; }   /* 814 */
.bs-review__rating { display: flex; align-items: stretch; gap: 1.9375em; }
.bs-review__rating .rate-wrp { box-sizing: border-box; display: flex; align-items: center; justify-content: center; width: 5em; padding: 0; }   /* 80 × 65 */
.bs-review__rating img { display: block; width: 9.9375em; height: 4.0625em; }
.bs-review__slide { display: flex; flex-direction: column; gap: 3em; }
.bs-review__slide[hidden] { display: none; }
.bs-review__quote { color: var(--bs-gray-300); }
.bs-review__quote p { margin: 0; }
.bs-review__who { display: flex; flex-direction: column; gap: .5em; padding-right: 7.75em; }   /* місце під стрілки 100 + 24 */
.bs-review__who .bold { color: #fff; }
.bs-review__role { color: var(--bs-w70); }
.bs-review__nav { position: absolute; right: 0; bottom: 1.0875em; display: flex; }   /* по центру рядка рецензента */
.bs-review__arrow { box-sizing: border-box; display: flex; align-items: center; justify-content: center; width: 3.125em; height: 3.125em; padding: .8125em; border: 0; background: var(--bs-gray-50); cursor: pointer; transition: background-color .2s ease; }
.bs-review__arrow img { display: block; width: 1.5em; height: 1.5em; }
.bs-review__arrow[aria-disabled="true"] { background: var(--bs-gray-400); cursor: default; }
.bs-review__slide.is-entering { animation: bs-fade .3s ease both; }
@keyframes bs-fade { from { opacity: 0; } to { opacity: 1; } }

@media (hover: hover) {
  .bs-review__arrow:not([aria-disabled="true"]):hover { background: #fff; }
}

/* ============ 10 FAQ — Row/FAQ: 60 / 620 / 470 / 50, gap 40 ============ */

.bs-faq__rows { border-bottom: 1px solid var(--bs-gray-300); }
.bs-row { border-top: 1px solid var(--bs-gray-300); }
.bs-row__bar { display: grid; grid-template-columns: 3.75em 38.75em 29.375em 3.125em; column-gap: 2.5em; align-items: center; padding: calc(1.25em - 1px) 0 1.25em; list-style: none; cursor: pointer; }
.bs-row__bar::-webkit-details-marker { display: none; }
.bs-row__index, .bs-row__short { color: var(--bs-gray-500); }
.bs-row__toggle { display: flex; align-items: center; justify-content: center; width: 3.125em; height: 3.125em; }   /* Button/Square Arrow 50 */
.bs-row__toggle svg { width: 1.125em; height: 1.125em; transform: rotate(90deg); transition: transform .3s cubic-bezier(.16, 1, .3, 1); }   /* закритий — ↘, відкритий — ↗ */
.bs-row[open] .bs-row__bar { background: #000; color: #fff; }
.bs-row[open] .bs-row__index, .bs-row[open] .bs-row__short { color: var(--bs-w50); }
.bs-row[open] .bs-row__toggle svg { transform: none; }
.bs-row__body { display: flex; flex-direction: column; gap: 1em; padding: 1.5em 0 2em 6.25em; }   /* 24 · 32 · відступ 100 */
.bs-row__answer { width: 34em; text-wrap: pretty; }                   /* 680 / 20 */
.bs-row__proof { width: 48.5714em; color: var(--bs-gray-500); }       /* 680 / 14 */
.bs-faq__tail { display: flex; justify-content: space-between; align-items: center; }
.bs-faq__tail > .bs-b2 { color: var(--bs-gray-500); }

@media (hover: hover) {
  .bs-row:not([open]) .bs-row__bar:hover .bs-row__q { color: #000; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .15em; }
}

/* ============ 12 More services — назви підрізані лінією рядка ============ */

.bs-more__inner { display: flex; align-items: flex-start; gap: 3.75em; }
.bs-more__title { flex: 1 0 0; min-width: 0; }
.bs-more__links { flex: none; display: flex; flex-direction: column; gap: 1.5em; width: 58em; }   /* 928 */
.bs-more__list { display: flex; flex-direction: column; gap: 1.5em; }
.bs-service { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #d9d9d9; }
.bs-service__name { box-sizing: border-box; flex: 1 0 0; min-width: 0; align-self: flex-start; height: .90625em; padding-top: .15625em; overflow: hidden; white-space: nowrap; color: var(--bs-gray-500); }   /* рамка 58, текст на 10 нижче — низ ріже лінія */
.bs-service__trail { flex: none; display: flex; align-items: center; gap: 1.5em; }
.bs-chip-status { padding: .5714em 1.1429em; background: rgba(0, 0, 0, .1); font-size: .875em; font-weight: 300; line-height: 1.2; text-transform: uppercase; white-space: nowrap; color: var(--bs-gray-600); }   /* Chip/Status: 8 · 16 при 14 */
.bs-more__note { color: var(--bs-gray-500); }

/* ============ 13 Behance CTA — 1440 × 796 ============ */

.bs-behance { position: relative; height: 49.75em; overflow: hidden; background: #000; color: #fff; }
.bs-behance__band { position: absolute; top: 0; left: 50%; display: block; width: 90em; max-width: none; height: auto; transform: translateX(-50%); }   /* 1440 × 420 */
.bs-behance__body { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2.9375em; padding-top: 28.375em; text-align: center; }   /* заголовок на 454, кнопка на 617 */
.bs-behance__title { width: 7.75em; color: #fff; }                    /* 495 / 64 */

/* ============ Mobile ≤ 479 — за FIGMA-RULES.md §5.0 ============ */

@media screen and (max-width: 479px) {
  .services-branding-page .bs-section, .bs-behance { font-size: .97680098em; }   /* 16 / 16.38 → 1em = 16px при 390 */
  .services-branding-page .bs-section { padding: 5em 0; }             /* 80 */
  .bs-container { width: 22.375em; }                                  /* 358 */
  .bs-stack { gap: 4em; }                                             /* 64 */

  .services-branding-page .bs-section .headline-1, .bs-behance .headline-1 { font-size: 2.5em; letter-spacing: -.0375em; }   /* Mobile/Head/1 40 */
  .bs-h2 { font-size: 1.5em; letter-spacing: 0; }
  .bs-b1 { font-size: 1em; line-height: 1.4; letter-spacing: -.03125em; }   /* Mobile/Body/1 Long */
  .bs-b3, .bs-label { font-size: .75em; font-weight: 400; }
  .services-branding-page .bs-btn { width: 100%; justify-content: space-between; box-sizing: border-box; }

  .bs-head { flex-direction: column; align-items: flex-start; gap: 1.5em; }
  .bs-head__title, .bs-head__title--500, .bs-head__note, .bs-head__note--420 { width: auto; }
  .bs-head__note { line-height: 1.4; letter-spacing: -.03125em; }

  /* 01 Hero */
  .services-branding-page .bs-hero { gap: 2.5em; padding-top: 8.5em; }   /* хедер 82 + 54 */
  .bs-hero__head { gap: 1.5em; }
  .bs-hero__title, .bs-hero__lead, .bs-hero__note { width: auto; }
  .bs-hero__cta { align-self: stretch; }
  .bs-stats { flex-direction: column; gap: 2em; }
  .bs-stat { width: auto; padding: 0; gap: .5em; }

  /* 02 Signs */
  .bs-signs__body { flex-direction: column; align-items: stretch; gap: 2em; }
  .bs-signs__list, .bs-verdict { width: auto; }
  .bs-sign { flex-wrap: wrap; gap: .75em 1em; padding: 1.25em 0; }
  .bs-sign__input { top: 1.5em; }
  .bs-sign__box { margin-top: .25em; }
  .bs-sign__cost { width: 100%; padding: 0 0 0 2.5em; }
  .bs-verdict { padding: 1.5em; }

  /* 03 Evidence: вафля 140 зліва, роль і число справа, текст на всю ширину */
  .bs-stations { flex-direction: column; gap: 3em; }
  .bs-station { gap: 1.5em; }
  .bs-station__top { display: grid; grid-template-columns: 8.75em minmax(0, 1fr); gap: .75em 1.5em; }
  .bs-waffle { grid-row: 1 / span 2; width: 8.75em; height: 8.75em; }
  .bs-finding { display: contents; }
  .bs-finding__role { align-self: end; }
  .bs-finding__value { align-self: start; }
  .bs-finding__text, .bs-source { grid-column: 1 / -1; }

  /* 03b Applications */
  .bs-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5em 1em; }

  /* 03c Strategy session */
  .bs-session__row { flex-direction: column; gap: 1.5em; }
  .bs-sheet { width: auto; padding: 1em; }
  .bs-paper { padding: 1.25em; }
  .bs-paper__top { flex-direction: column; align-items: flex-start; gap: .25em; }
  .bs-paper__sign { flex-direction: column; gap: 0; padding-top: 1em; }
  .bs-point { padding: 1.5em; }
  .bs-why { flex-direction: column; gap: 1em; padding: 1.5em; }
  .bs-why__label { width: auto; }

  /* Стрічки, що зрізаються краєм екрана: шари системи, кроки ланцюга, картки робіт */
  .bs-strip { gap: 1em; margin-inline: -1em; padding-inline: 1em; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 1em; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .bs-strip::-webkit-scrollbar { display: none; }
  .bs-strip > li { flex: none; width: 18.125em; scroll-snap-align: start; }   /* 290 */

  /* 05 Product */
  .bs-showcase { flex-direction: column; gap: 2em; }
  .bs-showcase__main, .bs-showcase__side { flex: none; }
  .bs-handover { flex-direction: column; gap: 2.5em; }

  /* 06 Work */
  .bs-mosaic { flex-direction: column; gap: 1em; }
  .bs-mosaic__main { width: 100%; height: auto; }
  .bs-mosaic__stack { flex-direction: row; gap: 1em; }
  .bs-mosaic__stack img { width: calc(50% - .5em); height: auto; }
  .bs-story { flex-direction: column; align-items: stretch; gap: 2em; }
  .bs-story__lead { width: auto; }
  .bs-beats { flex-direction: column; gap: 1.5em; }

  /* 07 Process: етапи стосом, тижні — підписом над етапом */
  .bs-plan { gap: 2.5em; }
  .bs-plan__scale { display: none; }
  .bs-plan__stages { display: flex; flex-direction: column; gap: 2.5em; }
  .bs-stage--5::before { display: none; }
  .bs-stage__head { min-height: 0; padding: 0 0 1em; }
  .bs-stage__weeks, .bs-time__stage { position: static; width: auto; height: auto; margin: 0; overflow: visible; clip: auto; clip-path: none; white-space: normal; color: var(--bs-w70); }
  .bs-stage__weeks { margin-bottom: .6667em; }
  .bs-stage__question br { display: none; }
  .bs-stage__bar { height: auto; min-height: 3.5em; margin-right: 0; padding: .75em 1em; }
  .bs-stage__handoff { flex-direction: row; gap: 1em; padding: 1em 0 0; }
  .bs-stage__handoff div { flex: 1 0 0; min-width: 0; }
  .bs-time__slots { display: flex; flex-direction: column; gap: 1.25em; }
  .bs-time__slot { flex-direction: row; flex-wrap: wrap; align-items: center; padding: 0; }
  .bs-time__stage { flex: 0 0 100%; font-size: 1em; font-weight: 400; line-height: 1.2; letter-spacing: -.0625em; color: #fff; }
  .bs-session-chip { font-size: .75em; font-weight: 400; }

  /* 08 Packages */
  .bs-packages__list { flex-direction: column; }
  .bs-package { padding: 1.5em; }

  /* 09 Testimonial */
  .bs-review__card { flex-direction: column; gap: 2em; padding: 0; }
  .bs-review__title, .bs-review__body { width: auto; }
  .bs-review__body { align-self: stretch; gap: 2em; }
  .bs-review__slide { gap: 2em; }
  .bs-review__who { padding-right: 0; }
  .bs-review__nav { position: static; }

  /* 10 FAQ: смуга відкритого питання — на всю ширину екрана */
  .bs-row__bar { grid-template-columns: minmax(0, 1fr) 2.75em; gap: .5em 1em; align-items: start; padding: 1.25em 0; }
  .bs-row__index, .bs-row__q, .bs-row__short { grid-column: 1; }
  .bs-row__toggle { grid-column: 2; grid-row: 1 / span 3; align-self: center; width: 2.75em; height: 2.75em; }
  .bs-row[open] .bs-row__bar { margin-inline: -1em; padding-inline: 1em; }
  .bs-row__body { padding: 1.25em 0 1.5em; }
  .bs-row__answer, .bs-row__proof { width: auto; }
  .bs-faq__tail { flex-direction: column; align-items: stretch; gap: 1em; }

  /* 12 More services */
  .bs-more__inner { flex-direction: column; gap: 2.5em; }
  .bs-more__links { width: 100%; }
  .bs-service { flex-direction: column; align-items: stretch; gap: .75em; border-bottom: 0; }
  .bs-service__name { flex: none; align-self: stretch; border-bottom: 1px solid #d9d9d9; }
  .bs-service__trail { justify-content: space-between; }
  .services-branding-page .bs-service .bs-btn { width: auto; }

  /* 13 Behance */
  .bs-behance { height: auto; padding-bottom: 5em; }
  .bs-behance__band { width: 56em; }
  .bs-behance__body { gap: 2em; padding-top: 18em; }
  .bs-behance__title { width: 8.95em; }                               /* 358 / 40 */
  .services-branding-page .bs-behance .bs-btn { width: 22.375em; }
}

@media (prefers-reduced-motion: reduce) {
  .bs-sign__box, .bs-sign__box svg, .bs-sign__quote, .bs-card__arrow, .bs-row__toggle svg, .bs-review__arrow { transition: none; }
  .bs-review__slide.is-entering { animation: none; }
}
