/* =========================================================================
   avtovishkabg.com – industrial / heavy equipment
   Транс Лифт 2018 ЕООД
   ========================================================================= */

/* ---------- 1. Tokens ---------------------------------------------------- */

:root {
	/* ---------------------------------------------------------------------
	 * Палитрата е изведена от реалните кадри на техниката:
	 * 26% от пикселите са стоманено синьо (стрелите и небето, медиана
	 * #3e5476), 67% са неутрали, а червеното по камионите е под 2%.
	 * Затова синьото е основният бранд цвят, неутралите носят страницата,
	 * а действието получава един топъл сигнален тон, който в снимките не
	 * присъства – така CTA никога не се губи в кадъра.
	 * ------------------------------------------------------------------- */

	/* ---- Тъмни повърхности --------------------------------------------- */
	--avb-bg: #11161b;            /* хедър, hero, скалата, футър          */
	--avb-bg-lift: #1d2833;       /* горният отблясък в hero-то           */
	--avb-bg-2: #222c35;          /* карти и панели върху тъмно           */
	--avb-scrim: rgb(9 12 15 / .92);

	/* ---- Светли повърхности -------------------------------------------- */
	--avb-surface: #f4f1ea;       /* основна светла секция                */
	--avb-surface-alt: #faf8f3;   /* редуващата се светла секция          */
	--avb-surface-sunk: #e8e3d9;  /* вдлъбнати полета върху светло        */
	--avb-surface-card: #ffffff;  /* карти и панели върху светло          */

	/* ---- Текст ---------------------------------------------------------- */
	--avb-text: #14191e;
	--avb-text-muted: #5b6570;
	--avb-text-on-dark: #ece9e3;
	--avb-text-on-dark-muted: #aeb6bd;
	--avb-ink-on-dark: #ffffff;   /* най-силният текст върху тъмно        */
	--avb-on-accent: #11161b;     /* мастилото ВЪРХУ акцента              */

	/* ---- Бранд: кранова стомана ----------------------------------------- */
	--avb-brand: #3b5d80;         /* технически линии, текст върху светло */
	--avb-brand-light: #7fa0bd;   /* същото, но върху тъмно               */

	/* ---- Действие: сигнален кехлибар ------------------------------------ */
	--avb-accent: #e0a106;        /* фон на CTA и акцентен текст на тъмно */
	--avb-accent-hover: #c68c00;
	--avb-accent-text: #8a6400;   /* акцентът като текст върху светло     */

	/* ---- CTA лента ------------------------------------------------------ */
	--avb-cta-bg: #2a4763;
	--avb-cta-bg-2: #1a2f45;
	--avb-cta-ink: #f2f4f6;
	--avb-cta-ink-rgb: 242 244 246;
	--avb-cta-btn-bg: #e0a106;
	--avb-cta-btn-fg: #11161b;

	/* ---- Линии ---------------------------------------------------------- */
	--avb-metal: #aeb6bd;
	--avb-border: #d8d4c9;
	--avb-border-dark: rgb(var(--avb-metal-rgb) / .16);

	/* ---- Канали за прозрачност ------------------------------------------ */
	--avb-bg-rgb: 17 22 27;
	--avb-surface-rgb: 244 241 234;
	--avb-text-on-dark-rgb: 236 233 227;
	--avb-metal-rgb: 174 182 189;
	--avb-brand-rgb: 59 93 128;
	--avb-accent-rgb: 224 161 6;
	--avb-on-accent-rgb: 17 22 27;

	--avb-wrap: 1200px;
	--avb-wrap-wide: 1400px;
	--avb-gap: clamp(20px, 4vw, 40px);
	--avb-section-y: clamp(60px, 8vw, 116px);
	--avb-header-h: 72px;

	--avb-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
	--avb-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

	--avb-shadow: 0 1px 2px rgb(var(--avb-bg-rgb) / .04), 0 10px 26px -16px rgb(var(--avb-bg-rgb) / .28);
	--avb-ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 2. Neutralise Astra wrappers --------------------------------- */

body.avb-custom #content,
body.avb-custom .site-content {
	padding: 0;
	margin: 0;
	background: var(--avb-surface);
}

body.avb-custom #content > .ast-container {
	max-width: none;
	width: 100%;
	padding: 0;
	margin: 0;
	display: block;
}

body.avb-custom .ast-container > .avb-main {
	width: 100%;
}

body.avb {
	overflow-x: hidden;
}

/* ---------- 3. Base ------------------------------------------------------ */

body.avb {
	font-family: var(--avb-font);
	color: var(--avb-text);
	background: var(--avb-surface);
	-webkit-font-smoothing: antialiased;
	line-height: 1.6;
}

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

.avb img {
	max-width: 100%;
	height: auto;
}

/*
 * Нарочно НЯМА общо правило за цвят на линковете.
 * ".avb a" (0,1,1) би бил по-специфичен от компонентните правила
 * (.avb-btn, .avb-footer__phone, .avb-card__link – 0,1,0) и би им ял цвета.
 * Всеки линк в темата има собствено правило, което бие Astra ("a" = 0,0,1).
 */

.avb :focus-visible {
	outline: 3px solid var(--avb-brand);
	outline-offset: 2px;
	border-radius: 2px;
}

.avb-wrap {
	width: 100%;
	max-width: var(--avb-wrap);
	margin-inline: auto;
	padding-inline: clamp(16px, 4vw, 32px);
}

/* ---------- 4. Typography ------------------------------------------------ */

.avb-h1 {
	font-size: clamp(2rem, 1.35rem + 3.1vw, 4rem);
	line-height: 1.05;
	font-weight: 800;
	letter-spacing: -.02em;
	margin: 0 0 20px;
	color: var(--avb-surface);
	text-wrap: balance;
}

.avb-h1__hl {
	display: block;
	color: var(--avb-accent);
}

.avb-h2 {
	font-size: clamp(1.5rem, 1.1rem + 1.7vw, 2.4rem);
	line-height: 1.15;
	font-weight: 800;
	letter-spacing: -.015em;
	margin: 0 0 16px;
	text-wrap: balance;
}

.avb-h3 {
	font-size: clamp(1.05rem, .95rem + .45vw, 1.25rem);
	line-height: 1.3;
	font-weight: 700;
	margin: 28px 0 12px;
}

.avb-lead {
	font-size: clamp(1rem, .95rem + .28vw, 1.125rem);
	line-height: 1.65;
	color: var(--avb-text-muted);
	margin: 0 0 20px;
	max-width: 62ch;
}

.avb-main p {
	margin: 0 0 16px;
	max-width: 70ch;
}

.avb-eyebrow {
	font-family: var(--avb-mono);
	font-size: .75rem;
	font-weight: 600;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--avb-text-muted);
	margin: 0 0 14px;
	display: flex;
	align-items: center;
	gap: 10px;
}

.avb-eyebrow::before {
	content: "";
	width: 22px;
	height: 3px;
	background: var(--avb-brand);
	flex: none;
}

.avb-eyebrow--on-dark {
	color: var(--avb-text-on-dark-muted);
}

/* Тъмната стомана не се чете върху графит – тирето минава на светлата. */
.avb-eyebrow--on-dark::before,
.avb-section--dark .avb-eyebrow::before,
.avb-hero .avb-eyebrow::before,
.avb-phero .avb-eyebrow::before,
.avb-scale35 .avb-eyebrow::before {
	background: var(--avb-brand-light);
}

.avb-note {
	font-size: .9375rem;
	color: var(--avb-text-muted);
	border-left: 3px solid var(--avb-brand);
	padding: 2px 0 2px 16px;
	margin-top: 24px;
}

/* ---------- 5. Buttons --------------------------------------------------- */

.avb-btn {
	--btn-bg: var(--avb-accent);
	--btn-fg: var(--avb-on-accent);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 12px 22px;
	background: var(--btn-bg);
	color: var(--btn-fg);
	font-weight: 700;
	font-size: .9375rem;
	letter-spacing: .01em;
	text-decoration: none;
	border: 2px solid var(--btn-bg);
	border-radius: 2px;
	cursor: pointer;
	transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.avb-btn:hover,
.avb-btn:focus-visible {
	transform: translateY(-1px);
}

.avb-btn--primary:hover,
.avb-btn--primary:focus-visible {
	--btn-bg: var(--avb-accent-hover);
	color: var(--avb-on-accent);
}

.avb-btn--ghost {
	--btn-bg: transparent;
	--btn-fg: var(--avb-surface);
	border-color: rgb(var(--avb-surface-rgb) / .32);
}

.avb-btn--ghost:hover,
.avb-btn--ghost:focus-visible {
	border-color: var(--avb-accent);
	color: var(--avb-accent);
}

.avb-btn--dark {
	--btn-bg: var(--avb-bg);
	--btn-fg: var(--avb-ink-on-dark);
}

.avb-btn--dark:hover,
.avb-btn--dark:focus-visible {
	--btn-bg: var(--avb-bg-2);
}

.avb-btn--lg {
	min-height: 56px;
	padding: 14px 28px;
	font-size: 1rem;
}

.avb-btn--sm {
	min-height: 40px;
	padding: 8px 16px;
	font-size: .875rem;
}

.avb-btn--block {
	display: flex;
	width: 100%;
}

.avb-btn__num {
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.avb-btn__label::after {
	content: "·";
	margin-left: 8px;
	opacity: .5;
}

.avb-btn-row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 28px 0 0;
}

/* ---------- 6. Hazard stripe -------------------------------------------- */

/* Тънка техническа черта на границата между секциите. */
.avb-hazard {
	height: 3px;
	background: linear-gradient(
		90deg,
		var(--avb-accent) 0 12%,
		var(--avb-brand) 12% 30%,
		rgb(var(--avb-metal-rgb) / .18) 30% 100%
	);
}

/* ---------- 7. Header ---------------------------------------------------- */

.avb-header {
	position: sticky;
	top: 0;
	z-index: 900;
	background: var(--avb-bg);
	color: var(--avb-surface);
	transition: box-shadow .2s ease;
}

.avb-header.is-stuck {
	box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .9);
}

.avb-header__inner {
	display: flex;
	align-items: center;
	gap: 20px;
	min-height: var(--avb-header-h);
}

.avb-header__edge {
	height: 2px;
	background: linear-gradient(90deg, var(--avb-brand) 0 22%, rgb(var(--avb-surface-rgb) / .09) 22% 100%);
}

.avb-brand {
	display: flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	color: var(--avb-surface);
	flex: none;
	margin-right: auto;
}

.avb-brand__name {
	display: block;
	font-weight: 800;
	font-size: 1.0625rem;
	letter-spacing: -.01em;
	line-height: 1.15;
}

.avb-brand__tag {
	display: block;
	font-family: var(--avb-mono);
	font-size: .6875rem;
	letter-spacing: .09em;
	text-transform: uppercase;
	color: var(--avb-text-on-dark-muted);
	line-height: 1.3;
}

.avb-nav__list {
	display: flex;
	align-items: center;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.avb-nav__list a {
	display: block;
	padding: 8px 12px;
	font-size: .8125rem;
	font-weight: 600;
	letter-spacing: .05em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--avb-text-on-dark);
	border-bottom: 2px solid transparent;
	transition: color .16s ease, border-color .16s ease;
	white-space: nowrap;
}

.avb-nav__list a:hover,
.avb-nav__list a:focus-visible {
	color: var(--avb-accent);
	border-bottom-color: var(--avb-accent);
}

.avb-nav__list .current-menu-item > a,
.avb-nav__list .current_page_item > a {
	color: var(--avb-accent);
	border-bottom-color: var(--avb-accent);
}

.avb-nav__foot {
	display: none;
}

.avb-header__actions {
	display: flex;
	align-items: center;
	gap: 12px;
	flex: none;
}

.avb-header__call {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	min-width: 44px;
	padding: 8px 16px;
	background: var(--avb-accent);
	color: var(--avb-on-accent);
	border-radius: 2px;
	text-decoration: none;
	font-weight: 800;
	font-size: .9375rem;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
	transition: background .18s ease;
}

.avb-header__call:hover,
.avb-header__call:focus-visible {
	background: var(--avb-accent-hover);
	color: var(--avb-on-accent);
}

.avb-header__call-ico {
	display: inline-flex;
}

.avb-burger {
	display: none;
	width: 46px;
	height: 46px;
	padding: 0;
	background: transparent;
	border: 1px solid var(--avb-border-dark);
	border-radius: 2px;
	color: var(--avb-surface);
	cursor: pointer;
}

.avb-burger__box {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
}

.avb-burger__line,
.avb-burger__line::before,
.avb-burger__line::after {
	display: block;
	width: 20px;
	height: 2px;
	background: currentColor;
	transition: transform .2s ease, opacity .2s ease;
}

.avb-burger__line::before,
.avb-burger__line::after {
	content: "";
	position: relative;
}

.avb-burger__line::before {
	top: -6px;
}

.avb-burger__line::after {
	top: 4px;
}

body.avb-nav-open .avb-burger__line {
	background: transparent;
}

body.avb-nav-open .avb-burger__line::before {
	transform: translateY(6px) rotate(45deg);
}

body.avb-nav-open .avb-burger__line::after {
	transform: translateY(-6px) rotate(-45deg);
}

/* ---------- 8. Hero ------------------------------------------------------ */

.avb-hero {
	position: relative;
	/* background-color отделно: shorthand-ът зануляваше цвета и оставяше фона
	   прозрачен, ако градиентът не се приложи. */
	background-color: var(--avb-bg);
	background-image: radial-gradient(120% 100% at 75% -10%, var(--avb-bg-lift) 0%, var(--avb-bg) 60%);
	color: var(--avb-surface);
	overflow: hidden;
}

/*
 * Тук имаше техническа квадратна мрежа. Махната е – фонът остава чист
 * графит с топъл градиент и стоманено сияние. Правилото се пази празно,
 * защото елементът вече не се рендира, но класът може да остане в кеширан
 * HTML за кратко.
 */
.avb-hero__grid {
	display: none;
}

.avb-hero::after {
	content: "";
	position: absolute;
	right: -14%;
	top: -30%;
	width: 58%;
	aspect-ratio: 1;
	background: radial-gradient(circle, rgb(var(--avb-brand-rgb) / .30) 0%, transparent 62%);
	pointer-events: none;
}

.avb-hero__inner {
	position: relative;
	z-index: 1;
	padding-block: clamp(56px, 9vw, 116px) clamp(40px, 6vw, 72px);
}

.avb-hero__lead {
	color: var(--avb-text-on-dark-muted);
	max-width: 58ch;
}

.avb-hero__specs {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: 1px;
	list-style: none;
	margin: clamp(40px, 6vw, 64px) 0 0;
	padding: 0;
	background: var(--avb-border-dark);
	border: 1px solid var(--avb-border-dark);
}

.avb-hero__spec {
	background: var(--avb-bg);
	padding: 20px 22px;
}

.avb-hero__spec-val {
	display: block;
	font-size: clamp(1.25rem, 1.05rem + .7vw, 1.75rem);
	font-weight: 800;
	letter-spacing: -.01em;
	/* Не в акцентния цвят: кехлибарът пази действието и ключовата фраза в
	   H1. Иначе в един екран стоят четири кехлибарени петна. */
	color: var(--avb-text-on-dark);
	line-height: 1.15;
}

.avb-hero__spec-key {
	display: block;
	margin-top: 4px;
	font-size: .8125rem;
	color: var(--avb-text-on-dark-muted);
}

/* ---------- 9. Page hero (inner pages) ----------------------------------- */

.avb-phero {
	background: var(--avb-bg);
	color: var(--avb-surface);
	position: relative;
}

.avb-phero > .avb-wrap {
	padding-block: clamp(32px, 5vw, 64px) clamp(40px, 6vw, 72px);
}

.avb-phero__lead {
	color: var(--avb-text-on-dark-muted);
}

.avb-crumbs {
	margin-bottom: 24px;
}

.avb-crumbs__list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: .8125rem;
	color: var(--avb-text-on-dark-muted);
}

.avb-crumbs__item + .avb-crumbs__item::before {
	content: "/";
	margin-right: 8px;
	color: var(--avb-text-on-dark-muted);
}

.avb-crumbs a {
	display: inline-block;
	padding-block: 8px;
	color: var(--avb-text-on-dark-muted);
	text-decoration: none;
	border-bottom: 1px solid transparent;
}

.avb-crumbs a:hover,
.avb-crumbs a:focus-visible {
	color: var(--avb-accent);
	border-bottom-color: currentColor;
}

/* ---------- 10. Sections ------------------------------------------------- */

.avb-section {
	padding-block: var(--avb-section-y);
}

.avb-section--tight {
	padding-block: clamp(44px, 6vw, 76px);
}

.avb-section--paper {
	background: var(--avb-surface);
	color: var(--avb-text);
}

/* Втори светъл тон. Редува се с --paper, за да има ритъм между тъмните. */
.avb-section--light {
	background: var(--avb-surface-alt);
}

.avb-section--dark {
	background: var(--avb-bg-2);
	color: var(--avb-text-on-dark);
}

.avb-section--dark .avb-h2,
.avb-section--dark .avb-h3 {
	color: var(--avb-surface);
}

.avb-section--dark .avb-lead,
.avb-section--dark p {
	color: var(--avb-text-on-dark-muted);
}

.avb-section--dark .avb-note {
	color: var(--avb-text-on-dark-muted);
}

.avb-head {
	max-width: 64ch;
	margin-bottom: clamp(32px, 4vw, 48px);
}

.avb-head--center {
	margin-inline: auto;
	text-align: center;
}

.avb-head--center .avb-eyebrow {
	justify-content: center;
}

/* ---------- 11. Cards ---------------------------------------------------- */

.avb-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
}

.avb-duo-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
}

.avb-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--avb-surface-card);
	border: 1px solid var(--avb-border);
	padding: 28px 26px;
	clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%);
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.avb-card::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 3px;
	background: var(--avb-brand);
	transform: scaleY(0);
	transform-origin: top;
	transition: transform .24s ease;
}

.avb-card:hover {
	transform: translateY(-2px);
	border-color: var(--avb-surface-sunk);
	box-shadow: var(--avb-shadow);
}

.avb-card--dark:hover {
	border-color: rgb(var(--avb-brand-rgb) / .38);
	box-shadow: none;
}

.avb-card:hover::before,
.avb-card:focus-within::before {
	transform: scaleY(1);
}

.avb-card--dark {
	background: var(--avb-bg-2);
	border-color: var(--avb-border-dark);
}

.avb-card--flat {
	clip-path: none;
}

.avb-card__num {
	font-family: var(--avb-mono);
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .14em;
	color: var(--avb-accent-text);
	margin: 0 0 12px;
}

.avb-card--dark .avb-card__num {
	color: var(--avb-accent);
}

.avb-card__title {
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.3;
	margin: 0 0 10px;
}

.avb-card--dark .avb-card__title {
	color: var(--avb-surface);
}

.avb-card__text {
	font-size: .9375rem;
	color: var(--avb-text-muted);
	margin: 0 0 18px;
}

.avb-card--dark .avb-card__text {
	color: var(--avb-text-on-dark-muted);
}

.avb-card__link {
	margin-top: auto;
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	gap: 8px;
	font-size: .8125rem;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--avb-text);
	border-bottom: 2px solid var(--avb-brand);
	padding-bottom: 3px;
	transition: gap .18s ease, color .18s ease;
}

.avb-card--dark .avb-card__link {
	color: var(--avb-surface);
}

.avb-card__link:hover,
.avb-card__link:focus-visible {
	gap: 14px;
	color: var(--avb-accent-text);
}

.avb-card--dark .avb-card__link:hover,
.avb-card--dark .avb-card__link:focus-visible {
	color: var(--avb-accent);
}

/* ---------- 12. Split / duo layouts -------------------------------------- */

.avb-split {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
	gap: clamp(28px, 5vw, 64px);
	align-items: start;
}

.avb-split--reverse .avb-split__text {
	order: 2;
}

.avb-split--reverse .avb-panel {
	order: 1;
}

.avb-duo {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
	gap: clamp(28px, 5vw, 64px);
	align-items: start;
}

.avb-duo__list {
	list-style: none;
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--avb-border-dark);
}

.avb-section--paper .avb-duo__list {
	border-top-color: var(--avb-border);
}

.avb-duo__list li {
	padding: 14px 0 14px 28px;
	border-bottom: 1px solid var(--avb-border-dark);
	font-size: .9375rem;
	position: relative;
}

.avb-section--paper .avb-duo__list li {
	border-bottom-color: var(--avb-border);
}

.avb-duo__list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 22px;
	width: 12px;
	height: 2px;
	background: var(--avb-brand);
}

/* ---------- 13. Tick list ------------------------------------------------ */

.avb-ticks {
	list-style: none;
	margin: 0 0 8px;
	padding: 0;
	display: grid;
	gap: 10px;
}

.avb-ticks li {
	position: relative;
	padding-left: 30px;
	font-size: .9375rem;
}

.avb-ticks li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .45em;
	width: 14px;
	height: 8px;
	border-left: 2.5px solid var(--avb-brand);
	border-bottom: 2.5px solid var(--avb-brand);
	transform: rotate(-45deg);
}

/* ---------- 14. Panel ---------------------------------------------------- */

.avb-panel {
	background: var(--avb-surface-card);
	border: 1px solid var(--avb-border);
	border-top: 3px solid var(--avb-brand);
	padding: 28px 26px;
	box-shadow: var(--avb-shadow);
}

.avb-section--dark .avb-panel {
	background: var(--avb-bg-2);
	border-color: var(--avb-border-dark);
	border-top-color: var(--avb-brand);
}

.avb-panel__title {
	font-size: 1.0625rem;
	font-weight: 800;
	margin: 0 0 12px;
}

.avb-panel__text {
	font-size: .9375rem;
	color: var(--avb-text-muted);
	margin: 0 0 20px;
}

.avb-panel__note {
	font-size: .8125rem;
	color: var(--avb-text-muted);
	margin: 14px 0 0;
}

/* ---------- 15. Steps / process ------------------------------------------ */

.avb-steps {
	list-style: none;
	counter-reset: none;
	margin: 0 0 22px;
	padding: 0;
	display: grid;
	gap: 12px;
}

.avb-steps li {
	display: grid;
	grid-template-columns: 34px 1fr;
	gap: 12px;
	align-items: start;
	font-size: .9375rem;
	max-width: none;
}

.avb-steps li span {
	font-family: var(--avb-mono);
	font-size: .75rem;
	font-weight: 700;
	color: var(--avb-on-accent);
	background: var(--avb-accent);
	display: grid;
	place-items: center;
	height: 26px;
	border-radius: 2px;
}

.avb-steps--plain li {
	padding-bottom: 12px;
	border-bottom: 1px solid var(--avb-border);
}

.avb-process {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 1px;
	background: var(--avb-border-dark);
	border: 1px solid var(--avb-border-dark);
}

.avb-process li {
	background: var(--avb-bg-2);
	padding: 26px 24px;
}

.avb-process__num {
	display: block;
	font-family: var(--avb-mono);
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--avb-accent);
	line-height: 1;
	margin-bottom: 14px;
}

.avb-process__title {
	font-size: 1.0625rem;
	font-weight: 700;
	color: var(--avb-surface);
	margin: 0 0 8px;
}

.avb-process li p {
	font-size: .9375rem;
	margin: 0;
}

/* ---------- 16. Height scale (визуален индикатор, не снимка) ------------- */

/*
 * Старият CSS height widget (.avb-scale*) е премахнат – замени го
 * signature секцията .avb-scale35 със собствено SVG.
 */

/* ---------- 17. Facts list ----------------------------------------------- */

.avb-facts {
	margin: 0;
	padding: 0;
	display: grid;
	gap: 1px;
	background: var(--avb-border-dark);
	border: 1px solid var(--avb-border-dark);
}

.avb-section--paper .avb-facts {
	background: var(--avb-border);
	border-color: var(--avb-border);
}

.avb-facts > div {
	display: grid;
	grid-template-columns: minmax(110px, 38%) 1fr;
	gap: 12px;
	padding: 14px 18px;
	background: var(--avb-bg-2);
	font-size: .9375rem;
}

.avb-section--paper .avb-facts > div,
.avb-facts--panel > div {
	background: var(--avb-surface-card);
}

.avb-facts dt {
	font-family: var(--avb-mono);
	font-size: .75rem;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--avb-text-on-dark-muted);
	margin: 0;
}

.avb-section--paper .avb-facts dt,
.avb-facts--panel dt {
	color: var(--avb-text-muted);
}

.avb-facts dd {
	margin: 0;
	font-weight: 600;
	color: var(--avb-surface);
}

.avb-section--paper .avb-facts dd,
.avb-facts--panel dd {
	color: var(--avb-text);
}

.avb-facts dd a {
	color: inherit;
	display: inline-block;
	padding-block: 8px;
	text-decoration: none;
	border-bottom: 2px solid var(--avb-brand);
}

.avb-facts--panel {
	margin-bottom: 20px;
}

/* ---------- 18. Areas ---------------------------------------------------- */

.avb-areas {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.avb-areas__item {
	border: 1px solid var(--avb-border);
	background: var(--avb-surface-card);
	padding: 10px 16px;
	font-size: .9375rem;
	font-weight: 600;
	border-radius: 2px;
	position: relative;
	padding-left: 28px;
}

.avb-areas__item::before {
	content: "";
	position: absolute;
	left: 12px;
	top: 50%;
	transform: translateY(-50%);
	width: 6px;
	height: 6px;
	background: var(--avb-brand);
}

/* ---------- 19. Link list ------------------------------------------------ */

.avb-linklist {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 1px;
	background: var(--avb-border);
	border: 1px solid var(--avb-border);
}

.avb-section--dark .avb-linklist {
	background: var(--avb-border-dark);
	border-color: var(--avb-border-dark);
}

.avb-linklist--row {
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.avb-linklist a {
	color: var(--avb-text);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 56px;
	padding: 14px 18px;
	background: var(--avb-surface-card);
	text-decoration: none;
	font-weight: 600;
	font-size: .9375rem;
	transition: background .16s ease, color .16s ease;
}

.avb-section--dark .avb-linklist a {
	background: var(--avb-bg-2);
	color: var(--avb-surface);
}

.avb-linklist a::after {
	content: "→";
	color: var(--avb-accent-text);
	font-weight: 700;
}

.avb-section--dark .avb-linklist a::after {
	color: var(--avb-accent);
}

.avb-linklist a:hover,
.avb-linklist a:focus-visible {
	background: var(--avb-accent);
	color: var(--avb-on-accent);
}

.avb-linklist a:hover::after,
.avb-linklist a:focus-visible::after {
	color: var(--avb-on-accent);
}

/* ---------- 20. FAQ ------------------------------------------------------ */

.avb-faq {
	border-top: 1px solid var(--avb-border-dark);
	max-width: 900px;
}

.avb-faq__item {
	border-bottom: 1px solid var(--avb-border-dark);
}

.avb-faq__q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 20px 0;
	cursor: pointer;
	font-weight: 700;
	font-size: 1.0625rem;
	color: var(--avb-surface);
	list-style: none;
	min-height: 48px;
}

.avb-faq__q::-webkit-details-marker {
	display: none;
}

.avb-faq__q:hover {
	color: var(--avb-accent);
}

.avb-faq__sign {
	position: relative;
	flex: none;
	width: 18px;
	height: 18px;
}

.avb-faq__sign::before,
.avb-faq__sign::after {
	content: "";
	position: absolute;
	background: var(--avb-accent);
	transition: transform .2s ease;
}

.avb-faq__sign::before {
	left: 0;
	top: 8px;
	width: 18px;
	height: 2px;
}

.avb-faq__sign::after {
	left: 8px;
	top: 0;
	width: 2px;
	height: 18px;
}

.avb-faq__item[open] .avb-faq__sign::after {
	transform: scaleY(0);
}

.avb-faq__a {
	padding: 0 0 22px;
	max-width: 76ch;
}

.avb-faq__a p {
	margin: 0;
	color: var(--avb-text-on-dark-muted);
}

/* ---------- 21. CTA band ------------------------------------------------- */

.avb-cta {
	/* Лентата не е в акцентния цвят: плътен кехлибар през цялата ширина е
	   твърде много. Дълбока стомана с кехлибарен бутон върху нея.
	   background-color отделно, иначе shorthand-ът оставя фона прозрачен. */
	background-color: var(--avb-cta-bg);
	background-image: linear-gradient(115deg, var(--avb-cta-bg) 0%, var(--avb-cta-bg-2) 100%);
	color: var(--avb-cta-ink);
	position: relative;
}

/* Диагоналната щриховка отпадна – лентата е чист меден градиент. */
.avb-cta::before {
	content: none;
}

.avb-cta__inner {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
	gap: clamp(24px, 4vw, 48px);
	align-items: center;
	padding-block: clamp(44px, 6vw, 76px);
}

.avb-cta__title {
	color: var(--avb-cta-ink);
	margin-bottom: 10px;
}

.avb-cta .avb-lead {
	color: rgb(var(--avb-cta-ink-rgb) / .90);
	margin: 0;
}

.avb-cta__action {
	justify-self: start;
}

.avb-cta__action .avb-btn--primary {
	--btn-bg: var(--avb-cta-btn-bg);
	--btn-fg: var(--avb-cta-btn-fg);
	border-color: var(--avb-cta-btn-bg);
}

.avb-cta__action .avb-btn--primary:hover,
.avb-cta__action .avb-btn--primary:focus-visible {
	--btn-bg: var(--avb-bg-2);
	color: var(--avb-surface);
}

.avb-cta__meta {
	margin: 12px 0 0;
	font-size: .8125rem;
	color: rgb(var(--avb-cta-ink-rgb) / .82);
}

/* ---------- 22. Contact page --------------------------------------------- */

.avb-contact {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
	gap: clamp(28px, 5vw, 64px);
	align-items: start;
}

.avb-bignum {
	display: inline-block;
	font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem);
	font-weight: 800;
	letter-spacing: -.02em;
	font-variant-numeric: tabular-nums;
	text-decoration: none;
	color: var(--avb-bg);
	border-bottom: 5px solid var(--avb-brand);
	margin: 0 0 24px;
	line-height: 1.1;
}

.avb-bignum:hover,
.avb-bignum:focus-visible {
	color: var(--avb-accent-text);
}

/* ---------- 23. Gallery -------------------------------------------------- */

.avb-gallery {
	min-height: 1px;
}

/* ---------- 24. Footer --------------------------------------------------- */

.avb-footer {
	background: var(--avb-bg);
	color: var(--avb-text-on-dark);
}

.avb-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr)) minmax(0, 1.2fr);
	gap: clamp(28px, 4vw, 48px);
	padding-block: clamp(44px, 6vw, 72px);
}

.avb-footer__company {
	font-size: 1.125rem;
	font-weight: 800;
	color: var(--avb-surface);
	margin: 0 0 12px;
}

.avb-footer__desc {
	font-size: .9375rem;
	color: var(--avb-text-on-dark-muted);
	margin: 0 0 18px;
}

.avb-footer__phone {
	display: inline-block;
	padding-block: 6px;
	font-size: 1.5rem;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
	color: var(--avb-accent);
	text-decoration: none;
	border-bottom: 3px solid rgb(var(--avb-accent-rgb) / .34);
	line-height: 1.2;
}

.avb-footer__phone:hover,
.avb-footer__phone:focus-visible {
	border-bottom-color: var(--avb-accent);
}

.avb-footer__eik {
	font-family: var(--avb-mono);
	font-size: .75rem;
	letter-spacing: .1em;
	color: var(--avb-text-on-dark-muted);
	margin: 14px 0 0;
}

.avb-footer__title {
	position: relative;
	font-family: var(--avb-mono);
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--avb-surface);
	margin: 0 0 18px;
	padding-bottom: 10px;
}

.avb-footer__title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 26px;
	height: 2px;
	background: var(--avb-brand);
}

.avb-footer__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 10px;
}

.avb-footer__list a {
	display: inline-block;
	padding-block: 5px;
	font-size: .9375rem;
	color: var(--avb-text-on-dark-muted);
	text-decoration: none;
	border-bottom: 1px solid transparent;
}

.avb-footer__list a:hover,
.avb-footer__list a:focus-visible {
	color: var(--avb-accent);
	border-bottom-color: currentColor;
}

.avb-footer__areas {
	font-size: .875rem;
	line-height: 1.8;
	color: var(--avb-text-on-dark-muted);
	margin: 0 0 14px;
}

.avb-footer__note {
	font-size: .8125rem;
	color: var(--avb-text-on-dark-muted);
	margin: 0;
}

.avb-footer__bottom {
	border-top: 1px solid var(--avb-border-dark);
}

.avb-footer__bottom-inner {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
	justify-content: space-between;
	padding-block: 20px;
}

.avb-footer__bottom p {
	margin: 0;
	font-size: .8125rem;
	color: var(--avb-text-on-dark-muted);
}

/* ---------- 25. Mobile sticky call --------------------------------------- */

.avb-sticky-call {
	/* Плътна кехлибарена лента през цялата ширина на всеки телефонен екран
	   би била твърде много акцент. Лентата е графит с кехлибарен ръб. */
	display: none;
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 950;
	background: var(--avb-bg);
	border-top: 2px solid var(--avb-accent);
	box-shadow: 0 -8px 24px -14px rgba(0, 0, 0, .55);
	padding-bottom: env(safe-area-inset-bottom, 0px);
}

.avb-sticky-call__link {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 56px;
	padding: 10px 16px;
	color: var(--avb-accent);
	text-decoration: none;
	font-weight: 800;
	font-size: 1rem;
}

.avb-sticky-call__icon {
	display: inline-flex;
}

.avb-sticky-call__num {
	font-variant-numeric: tabular-nums;
	letter-spacing: .01em;
}

.avb-sticky-call__text::after {
	content: "·";
	margin-left: 10px;
	opacity: .55;
}

/* ---------- 26. Responsive ----------------------------------------------- */

/* Хедърът е най-тесен точно преди burger-а: бранд + 6 линка + call CTA. */
@media (max-width: 1340px) {

	.avb-header__inner {
		gap: 14px;
	}

	.avb-nav__list a {
		padding: 8px 9px;
		font-size: .75rem;
	}
}

@media (max-width: 1200px) {

	.avb-nav__list a {
		padding: 8px 7px;
	}
}

/* Под този праг шестте линка вече не се събират – минаваме на burger. */
@media (max-width: 1140px) {

	.avb-split,
	.avb-duo,
	.avb-contact,
	.avb-cta__inner {
		grid-template-columns: minmax(0, 1fr);
	}

	.avb-split--reverse .avb-split__text {
		order: 0;
	}

	.avb-split--reverse .avb-panel {
		order: 0;
	}

	.avb-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	/* --- mobile nav --- */

	.avb-burger {
		display: block;
	}

	.avb-nav {
		position: fixed;
		inset: calc(var(--avb-header-h) + 3px) 0 0;
		background: var(--avb-bg);
		padding: 20px clamp(16px, 4vw, 32px) 40px;
		overflow-y: auto;
		transform: translateY(-8px);
		opacity: 0;
		visibility: hidden;
		transition: opacity .18s ease, transform .18s ease, visibility .18s;
	}

	body.avb-nav-open .avb-nav {
		transform: translateY(0);
		opacity: 1;
		visibility: visible;
	}

	body.avb-nav-open {
		overflow: hidden;
	}

	.avb-nav__list {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.avb-nav__list a {
		padding: 16px 0;
		font-size: 1rem;
		letter-spacing: .02em;
		border-bottom: 1px solid var(--avb-border-dark);
	}

	.avb-nav__list a:hover,
	.avb-nav__list a:focus-visible {
		border-bottom-color: var(--avb-border-dark);
	}

	.avb-nav__foot {
		display: block;
		margin-top: 28px;
	}
}

@media (max-width: 782px) {

	.avb-sticky-call {
		display: block;
	}

	body.avb {
		padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px));
	}

	.avb-footer__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.avb-process {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 480px) {

	:root {
		--avb-header-h: 64px;
	}

	.avb-brand__tag {
		display: none;
	}

	.avb-header__call-num {
		display: none;
	}

	.avb-header__call {
		padding: 8px 10px;
	}

	.avb-btn {
		width: 100%;
	}

	.avb-btn-row {
		flex-direction: column;
		align-items: stretch;
	}

	.avb-card,
	.avb-panel {
		padding: 22px 18px;
	}

	.avb-facts > div {
		grid-template-columns: minmax(0, 1fr);
		gap: 2px;
	}

	.avb-sticky-call__text {
		display: none;
	}
}

/* ---------- 27. Motion / print ------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

	.avb *,
	.avb *::before,
	.avb *::after {
		transition-duration: .01ms !important;
		animation-duration: .01ms !important;
	}
}

@media print {

	.avb-header,
	.avb-sticky-call,
	.avb-hazard {
		display: none !important;
	}
}

/* =========================================================================
   28. Real-assets pass: editorial media, 35 m scale, gallery, footer statement
   ========================================================================= */

/* ---------- 28.1 Media primitives ---------------------------------------- */

.avb-figure {
	position: relative;
	margin: 0;
}

/* Тънка стоманена рамка, изместена навън - editorial детайл. */
.avb-figure::before {
	content: "";
	position: absolute;
	inset: 14px -14px -14px 14px;
	border: 1px solid var(--avb-brand);
	opacity: .5;
	pointer-events: none;
}

.avb-figure__frame {
	position: relative;
	overflow: hidden;
	aspect-ratio: 3 / 4;
	background: var(--avb-bg-2);
}

.avb-figure__frame img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 42%;
	transition: transform .7s var(--avb-ease);
}

.avb-figure:hover .avb-figure__frame img {
	transform: scale(1.03);
}

.avb-figure--wide .avb-figure__frame {
	aspect-ratio: 4 / 3;
}

/* Технически надпис под кадъра. */
.avb-figure__meta {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 18px;
	font-family: var(--avb-mono);
	font-size: .6875rem;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--avb-text-muted);
}

.avb-section--dark .avb-figure__meta {
	color: var(--avb-metal);
}

.avb-figure__meta::before {
	content: "";
	width: 18px;
	height: 1px;
	background: var(--avb-brand-light);
	flex: none;
}

.avb-section--paper .avb-figure__meta::before,
.avb-section--light .avb-figure__meta::before {
	background: var(--avb-brand);
}

/* ---------- 28.2 Editorial row ------------------------------------------- */

.avb-editorial {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, .82fr);
	gap: clamp(32px, 6vw, 80px);
	align-items: center;
}

.avb-editorial--media-lead {
	grid-template-columns: minmax(0, .82fr) minmax(0, 1fr);
}

.avb-editorial--media-lead .avb-editorial__media {
	order: 1;
}

.avb-editorial--media-lead .avb-editorial__text {
	order: 2;
}

/* ---------- 28.3 Hero with real photo ------------------------------------ */

.avb-hero--media .avb-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
	gap: clamp(32px, 5vw, 72px);
	align-items: center;
}

.avb-hero__figure {
	position: relative;
	margin: 0;
}

.avb-hero__frame {
	position: relative;
	overflow: hidden;
	aspect-ratio: 4 / 5;
	background: var(--avb-bg-2);
}

.avb-hero__frame img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 42%;
}

/* Лек графитен воал - пази контраста, ако кадърът е светъл. */
.avb-hero__frame::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(200deg, rgb(var(--avb-bg-rgb) / 0) 45%, rgb(var(--avb-bg-rgb) / .5) 100%);
	pointer-events: none;
}

.avb-hero__figure::before {
	content: "";
	position: absolute;
	inset: 18px -18px -18px 18px;
	border: 1px solid var(--avb-brand-light);
	opacity: .45;
	pointer-events: none;
}

.avb-hero__badge {
	position: absolute;
	left: 0;
	bottom: 24px;
	z-index: 2;
	display: flex;
	align-items: baseline;
	gap: 9px;
	padding: 10px 16px;
	background: var(--avb-accent);
	color: var(--avb-on-accent);
}

.avb-hero__badge b {
	font-size: 1.25rem;
	font-weight: 800;
	letter-spacing: -.01em;
}

.avb-hero__badge span {
	font-family: var(--avb-mono);
	font-size: .6875rem;
	letter-spacing: .14em;
	text-transform: uppercase;
	opacity: .94;
}

/* ---------- 28.4 Signature: 35 m height scale ---------------------------- */

.avb-scale35 {
	--p: 1;
	position: relative;
	overflow: hidden;
	padding-block: var(--avb-section-y);
	background: var(--avb-bg);
	color: var(--avb-text-on-dark);
}

/*
 * Беше квадратна техническа мрежа. Сега е само мека стоманена дълбочина –
 * тъмната атмосфера остава, „техничарското“ усещане отпада.
 */
.avb-scale35::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(75% 65% at 72% 18%, rgb(var(--avb-brand-rgb) / .22) 0%, transparent 70%),
		radial-gradient(55% 50% at 12% 95%, rgb(var(--avb-brand-rgb) / .12) 0%, transparent 72%);
	pointer-events: none;
}

.avb-scale35__grid {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
	gap: clamp(32px, 6vw, 72px);
	align-items: center;
}

.avb-scale35 .avb-h2 {
	color: var(--avb-ink-on-dark);
}

.avb-scale35 .avb-lead {
	color: var(--avb-metal);
}

.avb-scale35__viz {
	position: relative;
	width: 100%;
	max-width: 420px;
	justify-self: center;
}

.avb-scale35__svg {
	display: block;
	width: 100%;
	height: auto;
}

.avb-s35-axis,
.avb-s35-tick {
	stroke: rgb(var(--avb-metal-rgb) / .32);
	stroke-width: 1;
	transition: stroke .45s var(--avb-ease);
}

.avb-s35-label {
	fill: var(--avb-metal);
	font-family: var(--avb-mono);
	font-size: 13px;
	letter-spacing: .06em;
	opacity: .55;
	transition: fill .45s var(--avb-ease), opacity .45s var(--avb-ease);
}

.avb-s35-mark.is-on .avb-s35-tick {
	stroke: var(--avb-brand-light);
}

.avb-s35-mark.is-on .avb-s35-label {
	fill: var(--avb-ink-on-dark);
	opacity: 1;
}

.avb-s35-mark--top.is-on .avb-s35-tick {
	stroke: var(--avb-accent);
}

.avb-s35-mark--top.is-on .avb-s35-label {
	fill: var(--avb-accent);
	opacity: 1;
}

.avb-s35-rig {
	fill: none;
	stroke: var(--avb-metal);
	stroke-width: 2.2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.avb-s35-rig--fill {
	fill: var(--avb-bg-2);
}

.avb-s35-ground {
	stroke: rgb(var(--avb-metal-rgb) / .4);
	stroke-width: 1.5;
}

/* Стрелата се изчертава с нарастването на --p. */
.avb-s35-boom {
	fill: none;
	stroke: var(--avb-brand-light);
	stroke-width: 7;
	stroke-linecap: round;
	stroke-dasharray: 1;
	stroke-dashoffset: calc(1 - var(--p));
}

.avb-s35-boom--inner {
	stroke: var(--avb-metal);
	stroke-width: 2.4;
}

/* Кошът пътува по стрелата. */
.avb-s35-basket {
	fill: var(--avb-bg);
	stroke: var(--avb-accent);
	stroke-width: 2.6;
	stroke-linejoin: round;
	transform: translate(calc(var(--p) * -104px), calc(var(--p) * -578px));
	opacity: calc(.2 + var(--p) * .8);
}

.avb-scale35__list {
	list-style: none;
	margin: 28px 0 0;
	padding: 0;
	display: grid;
	gap: 1px;
	background: var(--avb-border-dark);
	border-block: 1px solid var(--avb-border-dark);
}

.avb-scale35__list li {
	position: relative;
	background: var(--avb-bg);
	padding: 14px 0 14px 26px;
	font-size: .9375rem;
	color: var(--avb-metal);
}

.avb-scale35__list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 21px;
	width: 14px;
	height: 1px;
	background: var(--avb-brand-light);
}

.avb-scale35__list b {
	color: var(--avb-ink-on-dark);
	font-weight: 700;
}

/* ---------- 28.5 Gallery -------------------------------------------------- */

.avb-gal {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: clamp(10px, 1.4vw, 18px);
}

.avb-gal__item {
	position: relative;
	grid-column: span 2;
	margin: 0;
	overflow: hidden;
	background: var(--avb-bg-2);
	aspect-ratio: 3 / 4;
}

/* Средният ред е от два по-широки кадъра - дава асиметрия. */
.avb-gal__item:nth-child(4),
.avb-gal__item:nth-child(5) {
	grid-column: span 3;
	aspect-ratio: 4 / 3;
}

.avb-gal__item img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 36%;
	transition: transform .7s var(--avb-ease);
}

.avb-gal__item:hover img {
	transform: scale(1.03);
}

.avb-gal__item::after {
	content: "";
	position: absolute;
	inset: 0;
	border: 1px solid rgb(var(--avb-metal-rgb) / .18);
	pointer-events: none;
}

/* ---------- 28.6 Footer statement ---------------------------------------- */

.avb-footer__statement {
	border-bottom: 1px solid var(--avb-border-dark);
}

.avb-footer__statement-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 28px;
	padding-block: clamp(40px, 6vw, 72px);
}

.avb-footer__big {
	margin: 0;
	font-size: clamp(1.9rem, 1rem + 4.2vw, 4.25rem);
	line-height: .96;
	font-weight: 800;
	letter-spacing: -.03em;
	color: var(--avb-surface);
	text-transform: uppercase;
}

.avb-footer__big em {
	display: block;
	font-style: normal;
	color: var(--avb-brand-light);
}

.avb-footer__statement-side {
	max-width: 34ch;
}

.avb-footer__statement-side p {
	margin: 0;
	font-size: .9375rem;
	color: var(--avb-metal);
}

/* ---------- 28.7 Micro motion -------------------------------------------- */

.avb-js .avb-reveal {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity .7s var(--avb-ease), transform .7s var(--avb-ease);
}

.avb-js .avb-reveal.is-in {
	opacity: 1;
	transform: none;
}

/* ---------- 28.8 Responsive ---------------------------------------------- */

@media (max-width: 1024px) {

	.avb-hero--media .avb-hero__inner,
	.avb-editorial,
	.avb-editorial--media-lead,
	.avb-scale35__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.avb-editorial--media-lead .avb-editorial__media,
	.avb-editorial--media-lead .avb-editorial__text {
		order: 0;
	}

	/* На мобилно текстът е пръв - LCP остава заглавието, не снимката. */
	.avb-hero--media .avb-hero__text {
		order: 1;
	}

	.avb-hero__figure {
		order: 2;
		width: 100%;
		max-width: 540px;
	}

	.avb-hero__frame {
		aspect-ratio: 3 / 2;
	}

	.avb-figure {
		max-width: 540px;
	}

	.avb-figure::before,
	.avb-hero__figure::before {
		inset: 10px -10px -10px 10px;
	}

	.avb-scale35__viz {
		max-width: 320px;
	}

	.avb-gal {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.avb-gal__item,
	.avb-gal__item:nth-child(4),
	.avb-gal__item:nth-child(5) {
		grid-column: span 2;
		aspect-ratio: 3 / 4;
	}
}

@media (max-width: 600px) {

	.avb-gal {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.avb-gal__item,
	.avb-gal__item:nth-child(4),
	.avb-gal__item:nth-child(5) {
		grid-column: span 1;
	}

	.avb-hero__frame {
		aspect-ratio: 4 / 3;
	}

	.avb-footer__statement-inner {
		display: block;
	}

	.avb-footer__statement-side {
		margin-top: 22px;
		max-width: none;
	}
}

/* ---------- 28.9 Reduced motion ------------------------------------------ */

@media (prefers-reduced-motion: reduce) {

	.avb-scale35 {
		--p: 1 !important;
	}

	.avb-js .avb-reveal {
		opacity: 1 !important;
		transform: none !important;
	}

	.avb-figure:hover .avb-figure__frame img,
	.avb-gal__item:hover img {
		transform: none;
	}
}

/* ---------- 28.10 Landing page hero with photo --------------------------- */

.avb-phero--media .avb-phero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
	gap: clamp(28px, 5vw, 64px);
	align-items: center;
}

.avb-phero__figure {
	position: relative;
	margin: 0;
}

.avb-phero__frame {
	position: relative;
	overflow: hidden;
	aspect-ratio: 4 / 5;
	background: var(--avb-bg-2);
}

.avb-phero__frame img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 40%;
}

.avb-phero__frame::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(200deg, rgb(var(--avb-bg-rgb) / 0) 50%, rgb(var(--avb-bg-rgb) / .45) 100%);
	pointer-events: none;
}

.avb-phero__figure::before {
	content: "";
	position: absolute;
	inset: 16px -16px -16px 16px;
	border: 1px solid var(--avb-brand-light);
	opacity: .42;
	pointer-events: none;
}

@media (max-width: 1024px) {

	.avb-phero--media .avb-phero__inner {
		grid-template-columns: minmax(0, 1fr);
	}

	.avb-phero__text {
		order: 1;
	}

	.avb-phero__figure {
		order: 2;
		width: 100%;
		max-width: 540px;
	}

	.avb-phero__frame {
		aspect-ratio: 3 / 2;
	}

	.avb-phero__figure::before {
		inset: 10px -10px -10px 10px;
	}
}

/* ---------- 28.11 Corrections after first visual QA ---------------------- */

/*
 * Скалата е висока фигура. Без таван по височина SVG-то израстваше на ~910 px
 * и разпъваше цялата секция. Затова водещият размер е височината.
 */
.avb-scale35__viz {
	max-width: none;
	display: flex;
	justify-content: center;
}

.avb-scale35__svg {
	width: auto;
	max-width: 100%;
	height: clamp(400px, 56vh, 580px);
}

/* Надписите в SVG-то се смаляват заедно с фигурата – затова са по-едри. */
.avb-s35-label {
	font-size: 17px;
}

.avb-s35-readout {
	font-size: 19px;
}

/* .avb-scale35 не е .avb-section--dark, затова си носи своите цветове. */
.avb-scale35 .avb-note {
	color: var(--avb-metal);
}

/* Само бележката се стеснява. max-width върху li-тата откриваше фона на ul. */
.avb-scale35 .avb-note {
	max-width: 62ch;
}

/*
 * Три показателя в тесния текстов стълб на hero-то: auto-fit оставяше
 * празна клетка. Фиксираме 3 колони на desktop, стек на мобилно.
 */
@media (min-width: 1025px) {

	.avb-hero--media .avb-hero__specs {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 1024px) {

	.avb-hero--media .avb-hero__specs {
		grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	}

	.avb-scale35__svg {
		height: clamp(360px, 52vh, 500px);
	}
}

.avb-h1__hl {
	color: var(--avb-accent);
}

/*
 * Тъмни контексти, които НЕ носят класа .avb-section--dark: hero-то на
 * началната страница, hero-то на вътрешните страници и скалата. Без това
 * .avb-figure__meta и .avb-note остават със светлия muted цвят (3.1:1).
 */
.avb-hero .avb-figure__meta,
.avb-phero .avb-figure__meta,
.avb-scale35 .avb-figure__meta,
.avb-hero .avb-note,
.avb-phero .avb-note,
.avb-scale35 .avb-note {
	color: var(--avb-metal);
}

.avb-card--dark .avb-card__num,
.avb-card--dark .avb-card__link:hover,
.avb-card--dark .avb-card__link:focus-visible {
	color: var(--avb-accent);
}

/* Панел върху тъмна секция – muted цветът за светъл фон е нечетим там. */
.avb-section--dark .avb-panel__note,
.avb-section--dark .avb-panel__text {
	color: var(--avb-metal);
}

/*
 * Изнесената рамка виси 10 px извън фигурата. На тесни екрани това изтича до
 * документа и прави хоризонтален скрол. Под 1024 px рамката е навътре.
 */
@media (max-width: 1024px) {

	.avb-figure::before,
	.avb-hero__figure::before,
	.avb-phero__figure::before {
		inset: 12px;
	}
}

/*
 * Изнесените рамки на фигурите стърчат 14-18 px навън. Визуално попадат в
 * падинга на секцията, но се броят към scrollWidth и правят документа
 * по-широк. overflow-x: clip ги задържа, без да създава scroll контейнер
 * (за разлика от overflow: hidden, който би пипнал и вертикалната ос).
 */
.avb-main {
	overflow-x: clip;
}

/* =========================================================================
   29. UI/UX refinement pass: typography, de-boxing, lightbox
   ========================================================================= */

/* ---------- 29.1 Typography system --------------------------------------- */

:root {
	--avb-font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
	--avb-font-head: 'Manrope', 'Inter', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
}

body.avb {
	font-family: var(--avb-font);
	font-size: 1.0625rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

.avb-h1,
.avb-h2,
.avb-h3,
.avb-footer__big,
.avb-bignum,
.avb-brand__name {
	font-family: var(--avb-font-head);
}

.avb-h1 {
	font-weight: 800;
	font-size: clamp(2.05rem, 1.35rem + 2.9vw, 3.75rem);
	line-height: 1.08;
	letter-spacing: -.02em;
}

.avb-h2 {
	font-weight: 800;
	font-size: clamp(1.55rem, 1.15rem + 1.6vw, 2.35rem);
	line-height: 1.18;
	letter-spacing: -.015em;
}

.avb-h3 {
	font-weight: 700;
	font-size: clamp(1.0625rem, .98rem + .4vw, 1.25rem);
	line-height: 1.35;
	letter-spacing: -.005em;
	margin: 30px 0 12px;
}

.avb-lead {
	font-size: clamp(1.0625rem, 1rem + .32vw, 1.1875rem);
	line-height: 1.62;
	font-weight: 400;
	max-width: 60ch;
}

.avb-main p {
	font-size: 1.0625rem;
	line-height: 1.65;
	max-width: 68ch;
}

.avb-ticks li,
.avb-steps li,
.avb-duo__list li,
.avb-scale35__list li,
.avb-card__text,
.avb-note {
	font-size: 1rem;
	line-height: 1.6;
}

/* Eyebrow: техническа табелка, но по-тиха. */
.avb-eyebrow {
	font-family: var(--avb-font);
	font-size: .6875rem;
	font-weight: 600;
	letter-spacing: .13em;
}

.avb-eyebrow::before {
	width: 18px;
	height: 2px;
}

/* Навигация: без uppercase, без агресивен bold. */
.avb-nav__list a {
	font-family: var(--avb-font);
	font-size: .9375rem;
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none;
}

.avb-nav__list .current-menu-item > a,
.avb-nav__list .current_page_item > a {
	font-weight: 600;
}

.avb-btn {
	font-family: var(--avb-font);
	font-weight: 600;
	letter-spacing: 0;
}

.avb-card__title {
	font-family: var(--avb-font-head);
	font-weight: 700;
	font-size: 1.125rem;
	line-height: 1.32;
}

.avb-card__link,
.avb-footer__title,
.avb-figure__meta,
.avb-s35-label {
	font-family: var(--avb-font);
}

.avb-card__link {
	font-size: .8125rem;
	font-weight: 600;
	letter-spacing: .04em;
}

.avb-brand__name {
	font-weight: 800;
	font-size: 1.0625rem;
	letter-spacing: -.015em;
}

.avb-brand__tag {
	font-family: var(--avb-font);
	font-size: .6875rem;
	font-weight: 400;
	letter-spacing: .06em;
	text-transform: none;
}

@media (max-width: 600px) {

	body.avb {
		font-size: 1rem;
		line-height: 1.6;
	}

	.avb-main p,
	.avb-lead {
		font-size: 1rem;
		line-height: 1.62;
	}
}

/* ---------- 29.2 De-boxing: header --------------------------------------- */

/* Логото беше плътен оксиден квадрат. Сега е самостоятелна линейна иконка. */
.avb-brand__mark {
	width: auto;
	height: auto;
	background: none;
	clip-path: none;
	color: var(--avb-accent);
}

.avb-brand {
	gap: 11px;
}

/* Телефонът е pill, не квадрат. */
.avb-header__call {
	border-radius: 999px;
	padding: 9px 18px;
	font-weight: 600;
	gap: 9px;
}

/* Бургерът е чиста иконка без рамка. */
.avb-burger {
	border: 0;
	width: 44px;
	height: 44px;
	color: var(--avb-surface);
}

.avb-burger:hover {
	color: var(--avb-accent);
}

/* ---------- 29.3 De-boxing: hero ----------------------------------------- */

/* Показателите бяха решетка от кутии. Сега са отделени с тънки черти. */
.avb-hero__specs {
	background: none;
	border: 0;
	gap: 0;
	border-top: 1px solid var(--avb-border-dark);
}

.avb-hero__spec {
	background: none;
	padding: 18px 22px 0 0;
	border-top: 0;
}

.avb-hero__spec-val {
	font-family: var(--avb-font-head);
	font-weight: 800;
}

.avb-hero__badge {
	border-radius: 999px;
	left: 16px;
	padding: 9px 18px;
}

/* ---------- 29.4 De-boxing: списъци и факти ------------------------------ */

/* Стъпките бяха плътни оксидни квадратчета с номер. Сега номерът стои сам. */
.avb-steps li span {
	background: none;
	color: var(--avb-accent-text);
	font-family: var(--avb-font);
	font-weight: 700;
	font-size: .8125rem;
	height: auto;
	place-items: start;
	padding-top: 2px;
}

.avb-section--dark .avb-steps li span,
.avb-scale35 .avb-steps li span {
	color: var(--avb-accent);
}

.avb-steps--plain li {
	border-bottom: 1px solid var(--avb-border);
}

/* Районите бяха чипове с рамка. Сега са спокоен списък. */
.avb-areas {
	gap: 0 28px;
	max-width: 74ch;
}

.avb-areas__item {
	border: 0;
	background: none;
	padding: 7px 0 7px 18px;
	font-weight: 400;
	font-size: 1.0625rem;
}

.avb-areas__item::before {
	left: 0;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--avb-brand);
}

/* Фактите: само хоризонтални черти, без решетка. */
.avb-facts {
	background: none;
	border: 0;
	border-top: 1px solid var(--avb-border-dark);
}

.avb-section--paper .avb-facts,
.avb-section--light .avb-facts,
.avb-facts--panel {
	border-top-color: var(--avb-border);
}

.avb-facts > div {
	background: none !important;
	border-bottom: 1px solid var(--avb-border-dark);
	padding: 13px 0;
}

.avb-section--paper .avb-facts > div,
.avb-section--light .avb-facts > div,
.avb-facts--panel > div {
	border-bottom-color: var(--avb-border);
}

.avb-facts dt {
	font-family: var(--avb-font);
	letter-spacing: .08em;
}

/* Скалата: същото третиране. */
.avb-scale35__list {
	background: none;
	border-block: 0;
	border-top: 1px solid var(--avb-border-dark);
	gap: 0;
}

.avb-scale35__list li {
	background: none;
	border-bottom: 1px solid var(--avb-border-dark);
}

/* Link list: без решетка, само подчертавания. */
.avb-linklist {
	background: none;
	border: 0;
	gap: 0;
	border-top: 1px solid var(--avb-border);
}

.avb-section--dark .avb-linklist {
	border-top-color: var(--avb-border-dark);
}

.avb-linklist a {
	background: none !important;
	border-bottom: 1px solid var(--avb-border);
	padding: 16px 2px;
	font-weight: 500;
	font-size: 1.0625rem;
}

.avb-section--dark .avb-linklist a {
	border-bottom-color: var(--avb-border-dark);
}

.avb-linklist a:hover,
.avb-linklist a:focus-visible {
	color: var(--avb-accent-text);
	padding-left: 8px;
}

.avb-section--dark .avb-linklist a:hover,
.avb-section--dark .avb-linklist a:focus-visible {
	color: var(--avb-accent);
}

.avb-linklist a:hover::after,
.avb-linklist a:focus-visible::after {
	color: inherit;
}

/* ---------- 29.5 Cards: по-тихи ------------------------------------------ */

.avb-card {
	clip-path: none;
	border-color: var(--avb-border);
	padding: 30px 28px;
}

.avb-card:hover {
	transform: none;
	border-color: var(--avb-brand);
	box-shadow: none;
}

.avb-card--dark:hover {
	border-color: var(--avb-brand-light);
}

.avb-card::before {
	width: 2px;
}

/* Двете обяснения „с автовишка / с хаспел“ не са карти – само колони. */
.avb-card--flat {
	background: none;
	border: 0;
	border-top: 2px solid var(--avb-brand);
	padding: 22px 0 0;
}

.avb-card--flat:hover {
	border-color: var(--avb-accent-text);
}

.avb-card--flat::before {
	display: none;
}

/* Панелът: по-лек, без пълна рамка. */
.avb-panel {
	border: 0;
	border-top: 2px solid var(--avb-brand);
	box-shadow: none;
	background: var(--avb-surface-card);
	padding: 28px 26px 26px;
}

.avb-section--dark .avb-panel {
	background: var(--avb-bg-2);
	border-top-color: var(--avb-brand-light);
}

.avb-panel__title {
	font-family: var(--avb-font-head);
	font-weight: 700;
}

/* ---------- 29.6 Hero на мобилно: повече въздух -------------------------- */

@media (max-width: 767px) {

	.avb-hero--media .avb-hero__inner {
		gap: 30px;
		padding-block: 40px 44px;
	}

	.avb-hero__lead {
		margin-bottom: 28px;
	}

	.avb-btn-row {
		gap: 10px;
		margin-top: 0;
	}

	/* Ясна йерархия: основният CTA е плътен, вторият е тих. */
	.avb-hero .avb-btn--ghost,
	.avb-phero .avb-btn--ghost {
		background: none;
		border-color: transparent;
		border-bottom: 1px solid var(--avb-border-dark);
		border-radius: 0;
		min-height: 48px;
		color: var(--avb-metal);
		font-weight: 500;
	}

	.avb-hero .avb-btn--ghost:hover,
	.avb-phero .avb-btn--ghost:hover {
		color: var(--avb-accent);
		border-bottom-color: var(--avb-accent);
	}

	/* Специфичността трябва да бие .avb-hero--media .avb-hero__specs по-горе. */
	.avb-hero--media .avb-hero__specs,
	.avb-hero__specs {
		margin-top: 34px;
		grid-template-columns: minmax(0, 1fr);
	}

	.avb-hero__spec {
		padding: 14px 0;
		border-bottom: 1px solid var(--avb-border-dark);
		display: flex;
		align-items: baseline;
		justify-content: space-between;
		gap: 16px;
	}

	.avb-hero__spec:last-child {
		border-bottom: 0;
	}

	.avb-hero__spec-val {
		font-size: 1.125rem;
	}

	.avb-hero__spec-key {
		margin-top: 0;
		text-align: right;
	}
}

/* ---------- 29.7 Gallery: кликаеми кадри --------------------------------- */

.avb-gal__item {
	display: block;
	padding: 0;
	border: 0;
	background: var(--avb-bg-2);
	cursor: zoom-in;
	appearance: none;
	font: inherit;
	color: inherit;
}

.avb-gal--static .avb-gal__item {
	cursor: default;
}

.avb-gal--static .avb-gal__zoom {
	display: none;
}

.avb-gal__zoom {
	position: absolute;
	right: 12px;
	bottom: 12px;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: rgb(var(--avb-bg-rgb) / .62);
	color: var(--avb-surface);
	opacity: 0;
	transform: translateY(6px);
	transition: opacity .25s var(--avb-ease), transform .25s var(--avb-ease);
}

.avb-gal__item:hover .avb-gal__zoom,
.avb-gal__item:focus-visible .avb-gal__zoom {
	opacity: 1;
	transform: none;
}

/* ---------- 29.8 Lightbox ------------------------------------------------ */

.avb-lb {
	width: min(94vw, 1100px);
	max-width: none;
	max-height: 94vh;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--avb-surface);
	overflow: visible;
}

.avb-lb::backdrop {
	background: var(--avb-scrim);
}

.avb-lb__stage {
	display: grid;
	place-items: center;
	max-height: 76vh;
}

.avb-lb__img {
	display: block;
	max-width: 100%;
	max-height: 76vh;
	width: auto;
	height: auto;
	object-fit: contain;
	background: var(--avb-bg-2);
}

.avb-lb__caption {
	margin: 16px 0 0;
	font-size: .9375rem;
	line-height: 1.5;
	color: var(--avb-metal);
	text-align: center;
	max-width: 70ch;
	margin-inline: auto;
}

.avb-lb__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: 14px;
}

.avb-lb__count {
	font-size: .8125rem;
	font-weight: 600;
	letter-spacing: .08em;
	color: var(--avb-metal);
}

.avb-lb__nav {
	display: flex;
	gap: 8px;
}

.avb-lb__btn {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border: 0;
	border-radius: 999px;
	background: rgb(var(--avb-text-on-dark-rgb) / .10);
	color: var(--avb-surface);
	cursor: pointer;
	transition: background .18s var(--avb-ease), color .18s var(--avb-ease);
}

.avb-lb__btn:hover,
.avb-lb__btn:focus-visible {
	background: var(--avb-accent);
	color: var(--avb-on-accent);
}

@media (max-width: 600px) {

	.avb-lb {
		width: 96vw;
	}

	.avb-lb__stage,
	.avb-lb__img {
		max-height: 68vh;
	}

	.avb-lb__caption {
		font-size: .875rem;
	}
}

/* ---------- 29.9 Containers page ----------------------------------------- */

.avb-stack {
	display: grid;
	gap: clamp(12px, 1.6vw, 20px);
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.avb-stack__lead {
	grid-column: 1 / -1;
	position: relative;
	overflow: hidden;
	margin: 0;
	aspect-ratio: 16 / 10;
	background: var(--avb-bg-2);
}

.avb-stack__item {
	position: relative;
	overflow: hidden;
	margin: 0;
	aspect-ratio: 4 / 3;
	background: var(--avb-bg-2);
}

.avb-stack img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 52%;
	transition: transform .7s var(--avb-ease);
}

.avb-stack__lead:hover img,
.avb-stack__item:hover img {
	transform: scale(1.02);
}

@media (max-width: 600px) {

	.avb-stack {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.avb-stack__lead {
		aspect-ratio: 4 / 3;
	}
}

/* ---------- 29.10 Reduced motion ----------------------------------------- */

@media (prefers-reduced-motion: reduce) {

	.avb-stack__lead:hover img,
	.avb-stack__item:hover img,
	.avb-gal__item:hover img {
		transform: none;
	}

	.avb-gal__zoom {
		transition: none;
	}
}

/*
 * След премахването на плътната плочка логото остана 26 px високо на тесни
 * екрани (там скриваме и tagline-а). Минимална височина за tap target.
 */
.avb-brand {
	min-height: 44px;
}

.avb-brand__mark svg {
	display: block;
}

/* Две равни колони, когато лентата е само от два кадъра. */
.avb-stack--duo {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.avb-stack--duo .avb-stack__item {
	aspect-ratio: 3 / 2;
}

@media (max-width: 600px) {

	.avb-stack--duo {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* =========================================================================
   30. Final brand + motion pass
   ========================================================================= */

/* ---------- 30.1 Logo ----------------------------------------------------- */

.avb-brand {
	display: flex;
	align-items: center;
	min-height: 44px;
	gap: 0;
}

/* Специфичността трябва да бие `.avb img { height: auto }` (0,1,1). */
.avb-brand .avb-brand__logo,
.avb-footer .avb-footer__logo {
	display: block;
	width: auto;
	max-width: 100%;
}

/*
 * Хедърът ползва компактния вариант (4.21:1). Надписът в него е 31% от
 * височината срещу 21% в пълния lockup, затова 44 px тук дават ~14 px букви,
 * вместо ~9 px преди. Височината на хедъра (72 / 64 px) не се променя.
 */
.avb-brand .avb-brand__logo {
	height: 44px;
}

.avb-header.is-stuck .avb-brand .avb-brand__logo {
	height: 40px;
}

.avb-brand .avb-brand__logo {
	transition: height .25s var(--avb-ease);
}

.avb-footer .avb-footer__logo {
	height: 54px;
	margin-bottom: 26px;
}

/* ---------- 30.2 Hero: по-editorial връзка между кадър и типография ------- */

/*
 * Кадърът влиза с маска отдолу-нагоре при първо показване. Реалната снимка
 * е главният герой, затова разкриването е по-дълго и по-спокойно от
 * останалите reveal-и.
 */
/*
 * Кадърът е LCP елементът. Затова разкриването е кратко, тръгва веднага при
 * зареждане (без observer) и НЕ стартира от напълно скрит кадър – иначе
 * най-голямото рисуване се отлага с цялата продължителност на анимацията.
 */
@keyframes avb-figure-in {
	from { clip-path: inset(0 0 14% 0); opacity: .55; }
	to   { clip-path: inset(0 0 0 0);   opacity: 1; }
}

.avb-js .avb-hero__figure,
.avb-js .avb-phero__figure {
	animation: avb-figure-in .75s cubic-bezier(.16, .84, .32, 1) both;
}

/* Стоманена черта, която се изчертава под eyebrow-а на hero-то. */
.avb-hero .avb-eyebrow::before,
.avb-phero .avb-eyebrow::before {
	transform-origin: left center;
}

/*
 * Hero-то е над сгъвката – линията се изчертава при зареждане, без
 * observer. Цялата секция НЕ избледнява: първото, което вижда посетителят,
 * не бива да се появява като блок.
 */
@keyframes avb-line-in {
	from { transform: scaleX(0); }
	to   { transform: scaleX(1); }
}

.avb-js .avb-hero .avb-eyebrow::before,
.avb-js .avb-phero .avb-eyebrow::before {
	animation: avb-line-in .8s var(--avb-ease) .2s both;
}

/* ---------- 30.3 35 m: финална обработка --------------------------------- */

/* Медно/стоманено сияние зад върха на скалата, което се усилва с --p. */
.avb-scale35__viz::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 4%;
	width: 62%;
	aspect-ratio: 1;
	transform: translateX(-58%);
	background: radial-gradient(circle, rgb(var(--avb-accent-rgb) / .30) 0%, transparent 62%);
	opacity: calc(var(--p) * var(--p));
	pointer-events: none;
	transition: opacity .35s linear;
}

/* Кошът получава фина сянка-ореол, когато стигне върха. */
.avb-scale35.is-topped .avb-s35-basket {
	filter: drop-shadow(0 0 7px rgb(var(--avb-accent-rgb) / .55));
}

.avb-s35-basket {
	transition: filter .45s var(--avb-ease);
}

/* Показанието „расте“ съвсем леко при достигане на 35. */
.avb-s35-readout {
	transition: fill .4s var(--avb-ease);
}

.avb-scale35.is-topped .avb-s35-readout {
	fill: var(--avb-accent);
}

.avb-scale35.is-topped .avb-s35-readout-box {
	stroke: rgb(var(--avb-accent-rgb) / .55);
}

.avb-s35-readout-box {
	transition: stroke .4s var(--avb-ease);
}

/* Делениата влизат отляво, вместо просто да сменят цвят. */
.avb-s35-mark .avb-s35-tick {
	transform-origin: left center;
	transform: scaleX(.55);
	transition: stroke .45s var(--avb-ease), transform .45s var(--avb-ease);
}

.avb-s35-mark.is-on .avb-s35-tick {
	transform: scaleX(1);
}

/* ---------- 30.4 Gallery: стъпаловидно разкриване ------------------------ */

.avb-js .avb-gal.avb-reveal .avb-gal__item {
	opacity: 0;
	transform: translateY(14px);
}

.avb-js .avb-gal.avb-reveal.is-in .avb-gal__item {
	opacity: 1;
	transform: none;
	transition: opacity .55s var(--avb-ease), transform .55s var(--avb-ease);
	transition-delay: calc(var(--i, 0) * 45ms);
}

/* Самият контейнер не избледнява – само плочките. */
.avb-js .avb-gal.avb-reveal {
	opacity: 1;
	transform: none;
}

/* ---------- 30.5 Footer statement: изчертаваща се черта ------------------ */

.avb-footer__statement-inner {
	position: relative;
}

.avb-footer__big em {
	position: relative;
	display: inline-block;
}

.avb-footer__big em::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -.1em;
	height: 3px;
	background: var(--avb-accent);
	transform-origin: left center;
}

.avb-js .avb-footer__big em::after {
	transform: scaleX(0);
	transition: transform .9s cubic-bezier(.16, .84, .32, 1) .2s;
}

.avb-js .avb-footer__statement-inner.is-in .avb-footer__big em::after {
	transform: scaleX(1);
}

/* ---------- 30.6 Lightbox: не блокираме pinch zoom ----------------------- */

.avb-lb,
.avb-lb__stage,
.avb-lb__img {
	touch-action: auto;
}

.avb-lb__img {
	cursor: default;
}

/* ---------- 30.7 Responsive --------------------------------------------- */

@media (max-width: 1140px) {

	.avb-brand .avb-brand__logo {
		height: 42px;
	}
}

@media (max-width: 560px) {

	/*
	 * 38 px дава 160 px ширина на 360 px екран – събира се до call бутона и
	 * бургера, а буквите остават ~12 px.
	 */
	.avb-brand .avb-brand__logo {
		height: 38px;
	}

	.avb-footer .avb-footer__logo {
		height: 46px;
		margin-bottom: 20px;
	}
}

/* ---------- 30.8 Reduced motion ------------------------------------------ */

@media (prefers-reduced-motion: reduce) {

	.avb-js .avb-hero__figure,
	.avb-js .avb-phero__figure {
		animation: none !important;
		clip-path: none !important;
		opacity: 1 !important;
	}

	.avb-js .avb-hero .avb-eyebrow::before,
	.avb-js .avb-phero .avb-eyebrow::before,
	.avb-js .avb-footer__big em::after {
		transform: scaleX(1) !important;
		transition: none !important;
	}

	.avb-js .avb-gal.avb-reveal .avb-gal__item {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}

	.avb-s35-mark .avb-s35-tick {
		transform: scaleX(1);
		transition: none;
	}

	.avb-scale35__viz::before,
	.avb-s35-basket,
	.avb-s35-readout,
	.avb-s35-readout-box,
	.avb-header.is-stuck .avb-brand__logo {
		transition: none;
	}
}

/* Галерия с един-два кадъра: 6-колонният грид оставя дупка, затова тук
   колоните се разпределят равномерно. */
.avb-gal--few {
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.avb-gal--few .avb-gal__item,
.avb-gal--few .avb-gal__item:nth-child(4),
.avb-gal--few .avb-gal__item:nth-child(5) {
	grid-column: auto;
	aspect-ratio: 4 / 3;
}

/* =========================================================================
   31. Работно време, editorial hero, типографска дообработка
   ========================================================================= */

/* ---------- 31.1 Работно време ------------------------------------------ */

/* В хедъра номерът и работното време са два реда в един call бутон – така
   не се дърпа ширина от навигацията. */
.avb-header__call {
	align-items: center;
	padding: 7px 18px;
	line-height: 1.15;
}

.avb-header__call-text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1px;
}

.avb-header__call-hours {
	font-size: .6875rem;
	font-weight: 500;
	letter-spacing: .02em;
	color: rgb(var(--avb-on-accent-rgb) / .86);
	font-variant-numeric: tabular-nums;
}

.avb-nav__hours {
	margin: 14px 0 0;
	font-size: .875rem;
	color: var(--avb-metal);
	text-align: center;
}

.avb-footer__hours {
	margin: 14px 0 0;
	font-size: .875rem;
	color: var(--avb-metal);
}

.avb-footer__hours b {
	color: var(--avb-surface);
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

/* Контакти: редът под големия номер. */
.avb-hours-line {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: -10px 0 22px;
	font-size: 1.0625rem;
	color: var(--avb-text-muted);
}

.avb-hours-line b {
	color: var(--avb-text);
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

.avb-hours-line__dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--avb-brand);
	flex: none;
}

/* ---------- 31.2 Hero: край на „картето“ -------------------------------- */

/*
 * Кадърът вече не е рамкиран правоъгълник. Изнесената стоманена рамка
 * отпада, а самото изображение се влива в графита през мека маска отляво
 * и отдолу. Така дясната страна е фотография, а не карта.
 */
.avb-hero__figure::before {
	content: none;
}

.avb-hero__frame {
	background: none;
	aspect-ratio: 4 / 5;
	-webkit-mask-image:
		linear-gradient(to right, transparent 0, #000 13%),
		linear-gradient(to bottom, #000 78%, transparent 100%);
	-webkit-mask-composite: source-in;
	mask-image:
		linear-gradient(to right, transparent 0, #000 13%),
		linear-gradient(to bottom, #000 78%, transparent 100%);
	mask-composite: intersect;
}

/* Мекият воал вече идва от маската, затова вътрешният градиент е по-лек. */
.avb-hero__frame::after {
	background: linear-gradient(215deg, rgb(var(--avb-bg-rgb) / 0) 52%, rgb(var(--avb-bg-rgb) / .42) 100%);
}

/* Дискретно стоманено сияние зад кадъра – дава дълбочина без кутия. */
.avb-hero__figure::after {
	content: "";
	position: absolute;
	inset: 12% -6% 6% 10%;
	z-index: -1;
	background: radial-gradient(60% 55% at 60% 40%, rgb(var(--avb-brand-rgb) / .30) 0%, transparent 70%);
	filter: blur(18px);
	pointer-events: none;
}

.avb-hero__figure {
	position: relative;
	z-index: 0;
}

/* Значката се откъсва от ръба и стои като етикет върху снимката. */
.avb-hero__badge {
	left: 4px;
	bottom: 34px;
	box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .9);
}

/* Подписът под кадъра се подравнява с маската. */
.avb-hero .avb-figure__meta {
	margin-top: 10px;
	padding-left: 4px;
}

/* ---------- 31.3 Quick facts: editorial, без кутии ---------------------- */

.avb-hero__specs {
	border-top: 0;
	margin-top: clamp(34px, 5vw, 56px);
	gap: clamp(26px, 4vw, 54px);
}

.avb-hero__spec {
	padding: 0;
	position: relative;
}

.avb-hero__spec-val {
	font-size: clamp(1.4rem, 1.1rem + .9vw, 1.9rem);
	line-height: 1.1;
	letter-spacing: -.02em;
}

.avb-hero__spec-key {
	margin-top: 6px;
	font-size: .8125rem;
	line-height: 1.45;
	letter-spacing: .01em;
	max-width: 18ch;
}

/* Тънка стоманена чертичка над всяка стойност вместо рамка. */
.avb-hero__spec::before {
	content: "";
	display: block;
	width: 20px;
	height: 2px;
	margin-bottom: 14px;
	background: var(--avb-brand-light);
	opacity: .65;
}

/* Разделителната лента под hero-то става по-тиха. */
.avb-hero > .avb-hazard {
	height: 2px;
	background: linear-gradient(90deg,
		var(--avb-accent) 0 8%,
		var(--avb-brand) 8% 22%,
		rgb(var(--avb-metal-rgb) / .12) 22% 100%);
}

/* ---------- 31.4 Типография: четимост ----------------------------------- */

.avb-lead {
	line-height: 1.68;
}

.avb-main p {
	line-height: 1.68;
	max-width: 66ch;
}

.avb-ticks li,
.avb-steps li,
.avb-duo__list li,
.avb-scale35__list li,
.avb-card__text {
	line-height: 1.65;
}

.avb-eyebrow {
	letter-spacing: .11em;
}

.avb-hero__lead {
	max-width: 46ch;
	font-size: clamp(1.0625rem, 1rem + .35vw, 1.1875rem);
}

.avb-faq__a p {
	line-height: 1.7;
}

/* ---------- 31.5 Responsive --------------------------------------------- */

@media (max-width: 1024px) {

	.avb-hero__frame {
		aspect-ratio: 3 / 2;
		-webkit-mask-image: linear-gradient(to bottom, #000 82%, transparent 100%);
		mask-image: linear-gradient(to bottom, #000 82%, transparent 100%);
	}

	.avb-hero__figure::after {
		inset: 10% 0 4% 0;
	}
}

@media (max-width: 767px) {

	.avb-hero__specs {
		margin-top: 30px;
		gap: 0;
	}

	.avb-hero__spec {
		padding: 15px 0;
		border-bottom: 1px solid var(--avb-border-dark);
	}

	.avb-hero__spec::before {
		display: none;
	}

	.avb-hero__spec-key {
		max-width: none;
	}
}

@media (max-width: 480px) {

	/* На най-тесните екрани остава само иконата, затова и часовете падат. */
	.avb-header__call-text {
		display: none;
	}
}

/* ---------- 31.6 Reduced motion ------------------------------------------ */

@media (prefers-reduced-motion: reduce) {

	.avb-hero__figure::after {
		filter: none;
	}
}

/* Етикетите на показателите се пренасят по-балансирано. */
.avb-hero__spec-key {
	text-wrap: balance;
}
