/* design-system#452/#2597: спільний шар — структура й іменування токенів dropt
   (design-system#196), значення НЕЙТРАЛЬНІ за замовчуванням. Бренд сайту (напр.
   current/template/front/css/0-tokens.css для brovacar) перевизначає значення в :root
   ПІСЛЯ цього файлу — звичайний CSS-каскад, без підвищення специфічності. */

:root {
	/* Типографіка */
	--font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
	--font-weight: 400;
	--font-weight-medium: 500;
	--font-weight-bold: 700;
	--font-size: 16px;
	--font-size-small: 14px;
	--font-size-large: 18px;
	--line-height: 1.5;
	--letter-spacing: normal;

	/* brovacar#2611: шкала розмірів заголовків — токенами, не "голий" px у 2-base.css */
	--font-size-h1: 32px;
	--font-size-h2: 26px;
	--font-size-h3: 22px;
	--font-size-h4: 19px;
	--font-size-h5: 17px;
	--font-size-h6: var(--font-size-large);

	/* Основний нейтральний колір (текст/рамки) */
	--main: #2b2b2b;
	--main-75: #595959;
	--main-50: #868686;
	--main-25: #b4b4b4;
	--main-10: #e2e2e2;
	--main-5: #f1f1f1;
	--main-opa-75: #2b2b2bbf;
	--main-opa-50: #2b2b2b80;
	--main-opa-25: #2b2b2b40;
	--main-opa-10: #2b2b2b1a;
	--main-opa-5: #2b2b2b0d;

	/* Акцент (бренд перевизначає значення, структура лишається) */
	--splash: #2563eb;
	--splash-75: #5684ee;
	--splash-50: #8aa8f2;
	--splash-25: #bdccf7;
	--splash-10: #e4eafb;
	--splash-5: #f1f4fd;
	--splash-opa-75: #2563ebbf;
	--splash-opa-50: #2563eb80;
	--splash-opa-25: #2563eb40;
	--splash-opa-10: #2563eb1a;
	--splash-opa-5: #2563eb0d;
	--splash-d: #1d4fc0;
	--primary: var(--splash);
	/* brovacar#2695: колір ТЕКСТУ посилань — окремий токен (раніше посилання брали --splash,
	   який бренд використовує й для фонів/акцентів). Дефолт = --splash; бренд, якщо його
	   акцент не проходить AA на білому, задає власне значення. */
	--link: var(--splash);

	/* Нейтральні */
	--back: #ffffff;
	--border: #dcdcdc;
	--white: #ffffff;
	--white-opa-60: #ffffff99;
	--black: #000000;
	--disabled: var(--main-opa-5);

	--gray-50:  #fafafa;
	--gray-100: #f2f2f2;
	--gray-200: #e8e8e8;
	--gray-300: #d6d6d6;
	--gray-400: #bdbdbd;
	--gray-500: #999999;
	--gray-600: #737373;
	--gray-700: #525252;
	--gray-800: #333333;
	--gray-900: #1a1a1a;

	/* Текст */
	--text-primary: var(--main);
	--text-secondary: var(--main-50);
	--text-white: var(--white);
	--text-black: var(--black);

	/* Семантичні */
	--success-text: #2e7d32;
	--success-back: #e8f5e9;
	--error-text: #c62828;
	--error-back: #fdecea;
	--warning-text: #ed6c02;
	--warning-back: #fff4e5;
	--info-text: #0277bd;
	--info-back: #e1f5fe;

	/* Spacing — геометрична шкала */
	--xxxs: 2px;
	--xxs: 4px;
	--xs: 8px;
	--s: 12px;
	--m: 16px;
	--l: 24px;
	--xl: 32px;
	--xxl: 48px;
	--xxxl: 64px;
	--gap: 12px;

	/* Layout */
	--header-height: 64px;
	--radius: 8px;

	/* brovacar#2617: вертикальний ритм (правило Вадіка 02.10.2026, design-system#452) —
	   кожна секція/шар контенту має відступ зверху від попередньої, замість довільних
	   px у компонентах. Mobile-дефолт тут; desktop — перевизначено в 7-992.css (більший
	   крок). Застосування — .container > * + * у 2-base.css. */
	--section-gap: var(--xl);

	/* brovacar#2611: токени КОМПОНЕНТІВ — компоненти спільного шару читають ЛИШЕ ці
	   змінні (не --back/--gray-900/--splash напряму), бренд перевизначає ЛИШЕ значення
	   нижче, без правок селекторів (design-system#452 розділ 4.6, namespace-правило).
	   Нейтральні значення тут = поточна поведінка «світла шапка» (сумісно з #2604). */

	/* Верхня смуга (над шапкою: телефони/соцмережі/мова) */
	--topbar-bg: var(--gray-100);
	--topbar-text: var(--text-secondary);
	--topbar-link: var(--text-secondary);
	--topbar-link-hover: var(--link);

	/* Шапка (лого, меню, перемикач мов); brovacar#2708: бейдж на телефоні ~40px */
	--header-badge: 40px;
	--header-bg: var(--back);
	--header-text: var(--text-primary);
	--header-border: var(--border);
	--header-divider: var(--border); /* brovacar#2711: тонка лінія в мобільному меню */
	--header-link-hover: var(--splash);

	/* Футер */
	--footer-bg: var(--gray-900);
	--footer-text: var(--white-opa-60);
	--footer-link-hover: var(--white);
	--footer-border: var(--main-opa-25);

	/* Hero (brovacar#2693: фото на всю ширину + затемнення + текст поверх). Затемнення —
	   двома токенами (зліва, де текст, → справа); бренд задає свій колір із альфою,
	   контраст тексту на ньому ≥ AA (перевіряється скриншотами/вимірюванням). */
	--hero-bg: var(--gray-100);
	--hero-overlay-strong: #000000cc;
	--hero-overlay-soft: #00000059;
	--hero-text: var(--white);
	--ghost-hover-text: var(--gray-900); /* текст/іконка кнопки-«привида» на світлому hover-фоні, ≥4.5:1 */
	--hero-min-height: 440px;
	--hero-title-size: 30px;

	/* Блок переваг: іконка в колі */
	--adv-icon-bg: var(--splash);
	--adv-icon-text: var(--white);

	/* Картка (сервіс тощо) */
	--card-bg: var(--back);
	--card-border: var(--border);
	--card-text: var(--text-primary);

	/* Кнопка / CTA — ДРУГИЙ акцент, окремий від --splash (посилання/h2), щоб бренд міг
	   задати інший колір для кнопок, як мав старий сайт (design-system#452 розділ 3) */
	--btn-bg: var(--splash);
	--btn-bg-hover: var(--splash-d);
	--btn-text: var(--text-white);
	--btn-border: var(--btn-bg);
	--btn-outline-text: var(--btn-bg);
}

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */

main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */

a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */

img {
  border-style: none;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */

legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/* Misc
   ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */

template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */

[hidden] {
  display: none;
}

/* design-system#452/#2597: база по тегах — увесь набір, який реально генерує
   Markdown-контент (Parsedown, brovacar#2588), має виглядати добре БЕЗ жодного класу.
   Рішення Вадіка 02.10.2026: база — по тегах і структурі, без класів; класи — лише
   для компонентів (шапка/футер/кнопка/картка/меню/хлібні крихти). */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scrollbar-gutter: stable;
}

body {
	font-family: var(--font-family);
	font-size: var(--font-size);
	font-weight: var(--font-weight);
	line-height: var(--line-height);
	letter-spacing: var(--letter-spacing);
	color: var(--text-primary);
	background-color: var(--back);
	min-height: 100vh;
	min-height: 100dvh; /* фолбек на vh, dvh ігнорується старими браузерами */
	display: flex;
	flex-direction: column;
}

/* brovacar#2611 (рішення Вадіка «футер прибитий до низу»): header тепер у звичайному
   потоці (НЕ position:fixed — було в #2604, звідси й padding-top вище, тепер прибрано),
   тож body має РІВНО 3 flex-дітей по вертикалі — header, .topbar (якщо є) і .wrapper.
   .wrapper — сам flex-колонка, що й розтягує main і притискає footer на коротких
   сторінках; без цього проміжного flex на .wrapper (одна flex-дитина body, що містить
   І main, І footer) `main{flex:1}` розтягував би лише себе ВСЕРЕДИНІ .wrapper, а сам
   .wrapper не ріс би до висоти вікна — footer лишався б одразу під контентом. */
.wrapper {
	flex: 1 0 auto;
	display: flex;
	flex-direction: column;
}

main {
	flex: 1 0 auto;
}

/* brovacar#2617 (правило Вадіка 02.10.2026, design-system#452 «Правило вертикального
   ритму»): кожна СЕКЦІЯ/ШАР контенту — компонент (.hero, грід карток) чи заголовок, що
   починає новий змістовий блок, — прямий дочірній елемент .container, отримує відступ
   зверху через ОДИН токен --section-gap (не довільні px у кожному компоненті). Перша
   версія чіпляла `.container > * + *` (БУДЬ-який сусід) — це зламало звичайний
   типографічний ритм: між кожним <p> (адреса/графік/email/соцмережі на /contacts)
   з'являвся 48px-розрив замість тісного var(--m), абзаци «розсипались». Звужено до
   компонентів+заголовків — рівно те, що просив Вадік (банер→картки, картки→заголовок
   секції), <p>/<ul>/<ol>/<blockquote>/table лишаються на своєму меншому типографічному
   margin (var(--m) знизу, з 2-base.css нижче).
   Вища специфічність (0,0,1,1) за голий h1-h6 (0,0,0,1) перебиває ЛИШЕ margin-top —
   margin-bottom заголовків лишається власним (var(--m)). :first-child виняток
   непотрібен — `+` спрацьовує лише для НЕ-перших елементів (банер впритул під шапкою,
   як і раніше). */
.container > .hero + *,
.container > .grid + *,
.container > .section + *,
.container > h1 + *,
.container > h2 + *,
.container > h3 + *,
.container > h4 + *,
.container > h5 + *,
.container > h6 + *,
.container > * + .hero,
.container > * + .grid,
.container > * + .section,
.container > * + h1,
.container > * + h2,
.container > * + h3,
.container > * + h4,
.container > * + h5,
.container > * + h6 {
	margin-top: var(--section-gap);
}

/* Заголовки */
h1, h2, h3, h4, h5, h6 {
	font-weight: var(--font-weight-bold);
	line-height: 1.2;
	margin: var(--l) 0 var(--m);
}
h1:first-child, h2:first-child, h3:first-child,
h4:first-child, h5:first-child, h6:first-child {
	margin-top: 0;
}
h1 { font-size: var(--font-size-h1); }
h2 { font-size: var(--font-size-h2); }
h3 { font-size: var(--font-size-h3); }
h4 { font-size: var(--font-size-h4); }
h5 { font-size: var(--font-size-h5); }
h6 { font-size: var(--font-size-h6); }

/* Текст */
p {
	margin: 0 0 var(--m);
}
p:last-child {
	margin-bottom: 0;
}
strong, b { font-weight: var(--font-weight-bold); }
em, i { font-style: italic; }
small { font-size: var(--font-size-small); color: var(--text-secondary); }
hr {
	border: none;
	border-top: 1px solid var(--border);
	margin: var(--l) 0;
}

/* Списки */
ul, ol {
	margin: 0 0 var(--m);
	padding-left: var(--l);
}
ul:last-child, ol:last-child {
	margin-bottom: 0;
}
li + li {
	margin-top: var(--xxs);
}
li > ul, li > ol {
	margin-top: var(--xxs);
	margin-bottom: 0;
}

/* Посилання */
a {
	color: var(--link);
	text-decoration: underline;
}
a:hover {
	text-decoration: none;
}

/* Цитати */
blockquote {
	margin: 0 0 var(--m);
	padding: var(--s) var(--l);
	border-left: 3px solid var(--splash);
	background: var(--gray-50);
	color: var(--text-secondary);
}
blockquote p:last-child {
	margin-bottom: 0;
}

/* Таблиці */
table {
	width: 100%;
	border-collapse: collapse;
	margin: 0 0 var(--m);
}
th, td {
	padding: var(--xs) var(--s);
	border: 1px solid var(--border);
	text-align: left;
}
th {
	background: var(--gray-50);
	font-weight: var(--font-weight-bold);
}

/* Код */
code {
	font-family: ui-monospace, 'SFMono-Regular', Consolas, monospace;
	font-size: 0.9em;
	background: var(--gray-100);
	padding: 0.15em 0.4em;
	border-radius: var(--xxs);
}
pre {
	background: var(--gray-100);
	padding: var(--s) var(--m);
	border-radius: var(--xxs);
	overflow-x: auto;
	margin: 0 0 var(--m);
}
pre code {
	background: none;
	padding: 0;
}

/* Медіа */
img, svg {
	max-width: 100%;
	height: auto;
}
svg {
	display: inline-block;
	fill: currentColor;
	stroke: none;
}

/* Форми */
label {
	cursor: pointer;
}
input:not([type="checkbox"], [type="radio"]),
textarea,
select {
	width: 100%;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: var(--xs) var(--s);
	font-family: inherit;
	font-size: var(--font-size);
	color: var(--text-primary);
	background: var(--back);
}
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
button:focus-visible,
a:focus-visible {
	outline: 2px solid var(--splash);
	outline-offset: 2px;
}
button {
	font-family: inherit;
	cursor: pointer;
}

/* design-system#452/#2597: layout-примітиви — контейнер (1200px, як dropt і старий
   brovacar artifact#429) і проста сітка секцій. Breakpoint-файли нижче (N-назва.css,
   Asset::prepareCSS) додають max-width на ширших екранах — mobile-first. */

.container {
	margin: 0 var(--m);
}

/* Проста сітка секцій (картки сервісів тощо) — flex-based, без окремого токена на
   кількість колонок (design-system#200: .container без власного токена — той самий
   принцип тут). */
.grid {
	display: flex;
	flex-wrap: wrap;
	gap: var(--l);
}
.grid > * {
	flex: 1 1 100%;
}

/* design-system#452/#2597/#2611: компоненти. CSS під класи, які вже генерують МАКРОСИ
   канону (.menu-top/.menu-simple/.breadcrumbs/.lang-panel —
   global/Lib/Core/MacroRender.php) — самі макроси не чіпались. Решта — нові компоненти
   з власними іменами (.site-logo, .nav-toggle, .topbar, .btn, .card, .hero,
   .advantages, .location, .footer-grid) за зразком dropt header.php/footer.php (design-system#452 розділ 4.7).
   Namespace-правило (design-system#452 розділ 4.6): сайт НЕ перевизначає ці класи,
   лише значення ТОКЕНІВ КОМПОНЕНТІВ (0-tokens.css) — жодного прямого --back/--splash/
   --gray-900 тут, усе через --header-bg/--topbar-bg/--footer-bg/--btn-bg/--card-bg тощо
   (brovacar#2611, критерій успіху «бренд лише токенами»). */

/* ───── Верхня смуга (над шапкою) ───── */

/* brovacar#2708: mobile first — на телефоні верхньої смуги (телефони/соцмережі) немає, вони в меню-бургері
   й кнопці дзвінка; від 768px смуга показується як раніше (6-768.css). */
.topbar {
	display: none;
	background: var(--topbar-bg);
	color: var(--topbar-text);
	font-size: var(--font-size-small);
}
.topbar .container {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--s);
	padding-top: var(--xs);
	padding-bottom: var(--xs);
}
.topbar a {
	color: var(--topbar-link);
	text-decoration: none;
}
.topbar a:hover {
	color: var(--topbar-link-hover);
}
.topbar-contacts {
	display: flex;
	flex-wrap: wrap;
	gap: var(--m);
}
.topbar-social {
	display: flex;
	gap: var(--s);
}

/* ───── Шапка ───── */

header {
	background: var(--header-bg);
	color: var(--header-text);
	border-bottom: 1px solid var(--header-border);
}
header .container {
	min-height: var(--header-height);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--m);
	position: relative;
	flex-wrap: nowrap;
	padding-top: var(--xs);
	padding-bottom: var(--xs);
}
/* brovacar#2708: телефон — ОДИН рядок: бейдж BOSCH (~40px) + логотип ліворуч, кнопка дзвінка й бургер праворуч */
.site-logo {
	display: flex;
	align-items: center;
	gap: var(--xs);
	flex: 1 1 auto;
	min-width: 0;
}
.site-logo img {
	display: block;
}
.site-logo > img {
	height: 32px;
	width: auto;
	flex-shrink: 1;
	min-width: 0;
}
.site-badge img {
	display: block;
	height: var(--header-badge);
	width: auto;
	flex-shrink: 0;
}
.site-tagline {
	display: none;
	color: var(--header-text);
	font-size: var(--font-size-small);
	opacity: .85;
}
/* кнопка-іконка дзвінка (tel: на номер СТО) — лише телефон, ціль натискання 44×44 */
.header-call {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 44px;
	height: 44px;
	color: var(--header-text);
	text-decoration: none;
	border-radius: var(--radius);
}
.header-call:hover {
	color: var(--header-link-hover);
}
.header-call .icon {
	width: 24px;
	height: 24px;
}

.nav-toggle {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}
.nav-toggle-label {
	display: flex;
	flex-direction: column;
	justify-content: center;
	flex: 0 0 auto;
	gap: 5px;
	width: 44px;
	height: 44px;
	padding: 0 var(--xs);
	cursor: pointer;
}
.nav-toggle-label span {
	display: block;
	height: 2px;
	background: var(--header-text);
	border-radius: 1px;
}

/* nav (меню+перемикач мов) окремим рядком під .site-logo/badge/tagline на мобільному
   (checkbox-driven, 0 JS), інлайн на десктопі (breakpoint-файл) */
header nav {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background: var(--header-bg);
	border-bottom: 1px solid var(--header-border);
	padding: var(--m);
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--m);
	max-height: calc(100vh - var(--header-height));
	overflow-y: auto;
	visibility: hidden;
	opacity: 0;
	transform: translateY(-8px);
	transition: opacity .2s, transform .2s, visibility .2s;
	z-index: 50;
}
.nav-toggle:checked ~ nav {
	visibility: visible;
	opacity: 1;
	transform: translateY(0);
}

/* brovacar#2708: контакти в мобільному меню — обидва номери (tel:) і іконки соцмереж; кожен пункт ≥44×44px */
.nav-contacts {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--xs);
	width: 100%;
	padding-top: var(--m);
	border-top: 1px solid var(--header-divider);
}
.nav-contacts .nav-phone {
	display: flex;
	align-items: center;
	gap: var(--s);
	min-height: 44px;
	color: var(--header-text);
	text-decoration: none;
	font-weight: var(--font-weight);
}
/* підпис перед номером («СТО», «Магазин») — дрібніший і приглушений, звичайна вага; регістр задає текст у library */
.nav-contacts .nav-phone-label {
	font-size: var(--font-size-small);
	font-weight: var(--font-weight);
	opacity: .7;
}
.nav-contacts .nav-phone:hover {
	color: var(--header-link-hover);
}
.nav-social {
	display: flex;
	gap: var(--xs);
}
.nav-social a {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	color: var(--header-text);
	text-decoration: none;
	border-radius: var(--radius);
}
.nav-social a:hover {
	color: var(--header-link-hover);
}
.nav-social .icon {
	width: 24px;
	height: 24px;
}

.menu-top {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--s);
}
/* brovacar#2621 (виміряно Chromium getBoundingClientRect, 992/1336/1400 — таблиця в
   task.report): СПРАВЖНЯ причина зсуву «Головна»/«укр» на 2px вище сусідів — НЕ
   align-items/line-height (фікс #2617 не допоміг), а загальне типографічне правило
   `li + li { margin-top: var(--xxs) }` (2-base.css, для Markdown-списків контенту), що
   просочується в .menu-top/.lang-panel (теж <ul>/<li>). Перший <li> («Головна»,
   margin-top:0) і решта (margin-top:4px) мають РІЗНУ margin-box висоту — при
   align-items:center браузер центрує MARGIN BOX, тож зайві 4px зверху (без пари знизу)
   зсувають вміст НЕ-перших пунктів на +2px (половина асиметрії). margin-top:0 нижче
   прибирає причину напряму, а не маскує симптом. */
.menu-top li {
	display: flex;
	align-items: center;
	flex-shrink: 0;
	margin-top: 0;
}
.menu-top a,
.menu-top span {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	line-height: 1.2;
	white-space: nowrap;
	text-decoration: none;
	color: var(--header-text);
	font-weight: var(--font-weight-medium);
}
.menu-top a:hover {
	color: var(--header-link-hover);
}
.menu-top li.active > span {
	color: var(--header-link-hover);
}

.lang-panel {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	gap: var(--s);
	font-size: var(--font-size-small);
}
.lang-panel li {
	display: flex;
	align-items: center;
	margin-top: 0;
}
/* brovacar#2621 п.3 (зауваження Вадіка): показувати ЛИШЕ мову, на яку можна
   перемкнутись — поточну ([languagePanel/], global/, не чіпали; li.active — ознака
   поточної мови) ховаємо засобами CSS спільного компонента, без правки макроса. */
.lang-panel li.active {
	display: none;
}
.lang-panel a,
.lang-panel span {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	line-height: 1.2;
	text-decoration: none;
	color: var(--header-text);
	opacity: .75;
}
.lang-panel li.active span {
	opacity: 1;
	font-weight: var(--font-weight-bold);
}
.lang-panel a:hover {
	opacity: 1;
}

/* ───── Хлібні крихти ───── */

/* brovacar#2696 (зауваження Вадіка 05.10.2026): крихти прилипали до шапки і були нерівні
   по вертикалі. Відступ зверху — токен --l (ритм дизайн-системи; на головній крихт немає,
   тож hero не зсувається). Нерівність — те саме типографічне `li + li{margin-top}` з
   2-base.css, що вже ламало .menu-top (#2621): другий <li> мав зайві 4px зверху. Тут
   прибрано margin і задано flex+align-items:center для ul і li, однаковий line-height;
   роздільник «/» — ::after у тому ж flex-рядку. Колір тексту — --main-75 (≥AA на білому;
   --text-secondary давав ~2.9:1). */

.breadcrumbs {
	padding-top: var(--l);
}
.breadcrumbs ul {
	list-style: none;
	margin: 0 0 var(--m);
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--xxs);
	font-size: var(--font-size-small);
	line-height: 1.4;
	color: var(--main-75);
}
.breadcrumbs li {
	display: flex;
	align-items: center;
	gap: var(--xxs);
	margin-top: 0;
}
.breadcrumbs li:not(:last-child)::after {
	content: '/';
	color: var(--main-50);
}
.breadcrumbs a {
	color: var(--main-75);
	text-decoration: none;
}
.breadcrumbs a:hover {
	color: var(--link);
	text-decoration: underline;
}

/* ───── Кнопка / CTA ───── */

.btn {
	display: inline-block;
	padding: var(--s) var(--l);
	border-radius: var(--radius);
	background: var(--btn-bg);
	color: var(--btn-text);
	text-decoration: none;
	font-weight: var(--font-weight-bold);
	border: 2px solid var(--btn-border);
	transition: background .3s, color .3s;
}
.btn:hover {
	background: var(--btn-bg-hover);
	border-color: var(--btn-bg-hover);
	color: var(--btn-text);
	text-decoration: none;
}
.btn.outline {
	background: transparent;
	color: var(--btn-outline-text);
}
.btn.outline:hover {
	background: var(--btn-bg);
	color: var(--btn-text);
}

/* ───── Іконка ([svg]-макрос front-спрайту, outline як в адмінці) ─────
   Базове правило `svg{fill:currentColor;stroke:none}` (2-base.css) — для заповнених
   іконок; outline-спрайт малюється штрихом, тому клас .icon його інвертує. */

.icon {
	width: 1.25em;
	height: 1.25em;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
	flex-shrink: 0;
}
.btn .icon {
	margin-right: var(--xs);
	vertical-align: -0.2em;
}

/* ───── Hero + слайдер (brovacar#2693; brovacar#2703 — hero-КАРТКА) ─────
   Фото із затемненням градієнтом, поверх — H1, підводка, CTA. brovacar#2703 (рішення Вадіка 05.10.2026):
   шапка (#193c5c) і затемнення фото майже одного кольору, меж не видно → hero тепер не на всю ширину,
   а КАРТКА в межах .container: відступ від шапки на світлому фоні (--m на мобільному, --l від 768 —
   токени ритму), радіус --radius (той самий, що в картках сервісів), overflow:hidden — фото й
   затемнення не виходять за кути. Слайди — стек position:absolute (кросфейд opacity); без JS видно
   лише .slider-slide.active (серверний HTML, Html::heroSlider()). Висоту задає вміст (.hero-content)
   і --hero-min-height, <img> заповнює блок object-fit:cover — width/height в тезі резервують місце
   (CLS). Колір тексту/затемнення — лише токени. */

.hero {
	position: relative;
	isolation: isolate;
	display: flex;
	flex-direction: column;
	margin-top: var(--m);
	min-height: var(--hero-min-height);
	border-radius: var(--radius);
	background: var(--hero-bg);
	color: var(--hero-text);
	overflow: hidden;
}
.hero::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(90deg, var(--hero-overlay-strong) 0%, var(--hero-overlay-strong) 35%, var(--hero-overlay-soft) 100%);
}
.slider-track {
	position: absolute;
	inset: 0;
	z-index: 0;
}
.slider-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity .6s, visibility .6s;
}
.slider-slide.active {
	opacity: 1;
	visibility: visible;
}
.slider-slide picture,
.slider-slide img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.hero-content {
	position: relative;
	z-index: 2;
	width: 100%;
	margin: auto;
	padding: var(--xl) var(--m) var(--xxxl);
}
.hero-content > * {
	max-width: 36rem;
}
.hero h1 {
	margin: 0 0 var(--m);
	font-size: var(--hero-title-size);
	color: inherit;
}
.hero-lead {
	margin: 0 0 var(--l);
	font-size: var(--font-size-large);
}
.hero-actions {
	display: flex;
	flex-direction: column;
	gap: var(--s);
}
.hero-actions .btn {
	text-align: center;
}
/* Кнопка-«привид» поверх фото: контур і текст --hero-text; на hover/focus/active — світлий
   фон і ТЕМНИЙ текст/іконка окремим токеном --ghost-hover-text (brovacar#2699: раніше колір
   брався з --header-bg, а коли бренд-бандл front не завантажився, той токен = білий → білий
   текст на білому). Явні значення для всіх станів і для іконки (stroke=currentColor). */
.btn.ghost {
	background: transparent;
	color: var(--hero-text);
	border-color: var(--hero-text);
}
.btn.ghost:hover,
.btn.ghost:focus-visible,
.btn.ghost:active {
	background: var(--hero-text);
	border-color: var(--hero-text);
	color: var(--ghost-hover-text);
}
.btn.ghost:hover .icon,
.btn.ghost:focus-visible .icon,
.btn.ghost:active .icon {
	stroke: var(--ghost-hover-text);
}
/* фокус на фото: контур світлий (синій --splash на темному затемненні майже не видно) */
.hero .btn:focus-visible {
	outline: 2px solid var(--hero-text);
	outline-offset: 3px;
}
/* натиснута кнопка — як hover (без «стрибка» кольору) */
.btn:active {
	background: var(--btn-bg-hover);
	border-color: var(--btn-bg-hover);
	color: var(--btn-text);
}
.btn.outline:active {
	background: var(--btn-bg);
	color: var(--btn-text);
}
.slider-dots {
	position: absolute;
	left: 0;
	right: 0;
	bottom: var(--m);
	z-index: 3;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: var(--s);
}
.slider-dot {
	position: relative;
	width: 12px;
	height: 12px;
	padding: 0;
	border: 2px solid var(--hero-text);
	border-radius: 50%;
	background: transparent;
	cursor: pointer;
}
/* зона натискання ~32px (WCAG 2.5.8), візуально лишається 12px */
.slider-dot::after {
	content: '';
	position: absolute;
	inset: -10px;
}
.slider-dot.active {
	background: var(--hero-text);
}
@media (prefers-reduced-motion: reduce) {
	.slider-slide {
		transition: none;
	}
}

/* ───── Банер сервісної сторінки (Html::pageBanner) ───── */

.page-banner {
	display: block;
	margin: 0 0 var(--l);
}
.page-banner img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 2 / 1;
	object-fit: cover;
	border-radius: var(--radius);
}

/* ───── Секції головної: переваги, «Як нас знайти», місце під форму ───── */

.advantages-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--l);
}
.advantages-list li {
	display: grid;
	grid-template-columns: auto 1fr;
	grid-template-areas: "icon title" "icon text";
	column-gap: var(--m);
	align-items: start;
	margin-top: 0;
}
.adv-icon {
	grid-area: icon;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--adv-icon-bg);
	color: var(--adv-icon-text);
}
.adv-icon .icon {
	width: 24px;
	height: 24px;
}
.advantages-list h3 {
	grid-area: title;
	margin: 0 0 var(--xxs);
	font-size: var(--font-size-large);
}
.advantages-list p {
	grid-area: text;
	margin: 0;
	color: var(--main-75);
}

.location {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--l);
}
.location-info h2 {
	margin-top: 0;
}
.location-line {
	display: flex;
	align-items: flex-start;
	gap: var(--s);
	margin: 0 0 var(--m);
}
.location-line .icon {
	margin-top: 0.15em;
	color: var(--link);
}
.location-map {
	position: relative;
	min-height: 320px;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--gray-100);
}
.location-map iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.feedback-slot {
	padding: var(--xl) var(--l);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: var(--gray-50);
	text-align: center;
}
.feedback-slot h2 {
	margin-top: 0;
}
.feedback-phones {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--s);
}

/* ───── Форма зворотного зв'язку (brovacar#2694) ───── */

.feedback-slot form {
	display: grid;
	gap: var(--m);
	max-width: 36rem;
	margin: 0 auto var(--l);
	text-align: left;
}
.feedback-slot form > div {
	display: grid;
	gap: var(--xxs);
}
.feedback-slot label {
	font-weight: var(--font-weight-bold);
}
.feedback-slot textarea {
	resize: vertical;
	min-height: 6rem;
}
.feedback-slot button.btn {
	justify-self: start;
}
.feedback-slot button.btn:disabled {
	opacity: .6;
	cursor: progress;
}
/* honeypot: поза екраном (не display:none — частина ботів такі поля пропускає) */
.hp {
	position: absolute;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
/* Стан відправки: текст лишається звичайним кольором (AA), стан — смугою й фоном */
.form-status {
	margin: 0;
	min-height: 1.5em;
}
.form-status[data-state="ok"],
.form-status[data-state="error"] {
	padding: var(--s) var(--m);
	border-left: 4px solid;
	border-radius: var(--radius);
	color: var(--text-primary);
}
.form-status[data-state="ok"] {
	border-color: var(--success-text);
	background: var(--success-back);
}
.form-status[data-state="error"] {
	border-color: var(--error-text);
	background: var(--error-back);
}

/* ───── Картка сервісу ───── */

.card {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--card-border);
	border-radius: var(--radius);
	background: var(--card-bg);
	color: var(--card-text);
	overflow: hidden;
}
.card img {
	display: block;
	width: 100%;
	height: 160px;
	object-fit: cover;
}
.card-body {
	padding: var(--l);
	display: flex;
	flex-direction: column;
	flex: 1 0 auto;
}
.card h2 {
	margin-top: 0;
	font-size: var(--font-size-h3);
}
.card p {
	flex: 1 0 auto;
}
.card .btn {
	align-self: flex-start;
	margin-top: var(--m);
}

/* ───── Футер ───── */

footer {
	margin-top: var(--xxl);
	background: var(--footer-bg);
	color: var(--footer-text);
}
footer a {
	color: var(--footer-text);
}
footer a:hover {
	color: var(--footer-link-hover);
}
.footer-grid {
	display: flex;
	flex-direction: column;
	gap: var(--l);
	padding: var(--xl) 0;
}
.footer-grid .menu-simple {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: var(--xs);
}
.footer-grid .menu-simple a,
.footer-grid .menu-simple span {
	text-decoration: none;
	color: var(--footer-text);
}
.footer-grid .menu-simple a:hover {
	color: var(--footer-link-hover);
}
.footer-bottom {
	padding: var(--m) 0;
	border-top: 1px solid var(--footer-border);
	font-size: var(--font-size-small);
}

@media only screen and (min-width: 576px) {
.grid > * {
	flex: 1 1 calc(50% - var(--l) / 2);
}

/* brovacar#2693: переваги — 2 колонки */
.advantages-list {
	grid-template-columns: repeat(2, 1fr);
}
.hero-actions {
	flex-direction: row;
	flex-wrap: wrap;
}
}
@media only screen and (min-width: 768px) {
.container {
	margin-left: var(--l);
	margin-right: var(--l);
}

.footer-grid {
	flex-direction: row;
	justify-content: space-between;
}

/* brovacar#2693: hero вищий, текст рівно ліворуч; «Як нас знайти» — інфо | карта */
:root {
	--hero-min-height: 520px;
	--hero-title-size: 40px;
}
.page-banner img {
	aspect-ratio: 3 / 1;
}
.location {
	grid-template-columns: minmax(280px, 1fr) 1.4fr;
	align-items: stretch;
}
.location-map {
	min-height: 380px;
}

/* brovacar#2703: hero-картка — більший відступ від шапки й внутрішні поля на ≥768 */
.hero {
	margin-top: var(--l);
}
.hero-content {
	padding: var(--xxl) var(--l) var(--xxxl);
}

/* brovacar#2708: від 768px шапка як раніше — верхня смуга, слоган (до 992), бейдж 48px, логотип 38px, wrap;
   кнопка дзвінка і контакти в меню на телефоні лише до 768 */
.topbar {
	display: block;
}
header .container {
	flex-wrap: wrap;
	gap: var(--m);
}
.site-logo {
	flex: 0 1 auto;
	min-width: auto;
	gap: var(--s);
}
.site-logo > img {
	height: 38px;
}
.site-badge img {
	height: calc(var(--header-height) - var(--m));
}
.site-tagline {
	display: block;
}
.header-call,
.nav-contacts {
	display: none;
}
}
@media only screen and (min-width: 992px) {
/* design-system#200: 992 — межа mobile/desktop для всієї системи. */
.grid.grid-3 > * {
	flex: 1 1 calc(33.333% - var(--l) * 2 / 3);
}

/* brovacar#2617: вертикальний ритм — більший крок на десктопі (design-system#452). */
:root {
	--section-gap: var(--xxl);
}

/* brovacar#2621 п.2 (зауваження Вадіка 02.10.2026): шапка десктопа — ОДИН рядок
   (лого+меню+мова), не три («смуга телефонів» + окремий «ряд логотипа» + окремий «ряд
   меню»). Причина розтягування на 3 рядки — header .container мав flex-wrap:wrap
   (мобільна поведінка за замовчуванням) і .site-tagline займав ~180px, разом з 6
   пунктами меню це не влазило в один рядок навіть на 1400px. Рішення: nowrap + nav
   (меню+мова) займає решту ширини (flex:1), .lang-panel притиснутий margin-left:auto
   до правого краю (сам menu-top лишається одразу праворуч від лого, не розтягується
   на всю nav) — «меню праворуч від лого, мова — крайня справа» буквально. Слоган
   прибрано з десктопної шапки (див. .site-tagline нижче) — з меню+мовою в один рядок
   він фізично не влазить на 992px; на мобільному лишається (своя лінія, досить
   місця). */
header .container {
	flex-wrap: nowrap;
}
.site-logo {
	flex-shrink: 0;
}
/* brovacar#2621: воркмарк (не значок — той і так обмежений --header-height) трохи
   менший на десктопі — звільняє ширину під 6 пунктів меню на 992px (виміряно живо:
   без цього — горизонтальний overflow ~58px за рахунок scrollWidth>clientWidth). */
.site-logo > img {
	height: 28px;
	width: auto;
}
.site-tagline {
	display: none;
}
.nav-toggle-label {
	display: none;
}
header nav {
	position: static;
	flex: 1 1 auto;
	flex-direction: row;
	align-items: center;
	justify-content: flex-start;
	gap: var(--s);
	padding: 0;
	border-bottom: none;
	max-height: none;
	overflow: visible;
	visibility: visible;
	opacity: 1;
	transform: none;
	background: transparent;
	width: auto;
}
/* brovacar#2621: на 992px 6 пунктів меню в один рядок повним var(--l)-gap (24px) не
   влазять — flex-shrink стискав <li> нижче ширини тексту, багатослівні пункти
   («Бош Сервіс», «Ремонт форсунок», «Ремонт турбін») переносились у 2 рядки, що й
   давало різну висоту/верх пунктів (виміряно, 38.38px замість 19.19px). white-space:
   nowrap (4-components.css) прибирає перенос; менший gap (var(--m)=16 замість 24)
   звільняє ще ~40px — разом влазить без переносу на 992/1336/1400 (виміряно). */
.menu-top {
	flex-direction: row;
	flex-shrink: 0;
	align-items: center;
	gap: var(--s);
}
.lang-panel {
	align-items: center;
	margin-left: auto;
	flex-shrink: 0;
}

/* brovacar#2617: футер на десктопі — рядок колонок замість одного стовпчика з
   «дірками» праворуч (зауваження Вадіка 02.10.2026). Grid, не fixed-кількість колонок
   — auto-fit підлаштовується під фактичну кількість блоків footer.php (спільний
   компонент, не прив'язаний до конкретного бренду). */
.footer-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	align-items: start;
}

/* brovacar#2693: 4 картки сервісів в один ряд, 3 колонки переваг, більший H1 hero */
.grid.grid-4 > * {
	flex: 1 1 calc(25% - var(--l) * 3 / 4);
}
.advantages-list {
	grid-template-columns: repeat(3, 1fr);
}
:root {
	--hero-title-size: 46px;
}

/* brovacar#2708: десктоп — пункти меню без мінімальної висоти 44px (як було) */
.menu-top a,
.menu-top span,
.lang-panel a,
.lang-panel span {
	min-height: 0;
}

/* brovacar#2711: десктопне меню — пункти bold, як було (500 лише в мобільному меню) */
.menu-top a,
.menu-top span {
	font-weight: var(--font-weight-bold);
}
}
@media only screen and (min-width: 1200px) {
.container {
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
}
}

