/*
 * Навігація: мегаменю шапки, мобільне меню, підвал.
 * Розмітка — inc/site-nav.php, поведінка — assets/js/site-nav.js.
 * Окремий файл, бо main.css — скомпільований Tailwind, нових утиліт у ньому немає.
 * Брейкпоінти збігаються з Tailwind: 640 / 768 / 1024 / 1280.
 */
:root {
	--abn-primary: #2B4C7E;
	--abn-dark: #1E3A5F;
	--abn-hover: #3A5F94;
	--abn-ink: #0f172a;
	--abn-text: #334155;
	--abn-muted: #64748b;
	--abn-line: #e5e9f0;
	--abn-soft: #f4f7fb;
	--abn-hot: #c2410c;
	--abn-f-bg: #111827;
	--abn-f-bg2: #0b1220;
	--abn-f-text: #cbd5e1;
	--abn-f-muted: #94a3b8;
	--abn-f-line: rgba(148, 163, 184, .16);
}

/* ═════════════════════════ Шапка: верхній рівень ═════════════════════════ */
.abn-menu { position: static; }
.abn-item { list-style: none; }
.abn-top {
	display: inline-flex; align-items: center; gap: .3rem;
	background: none; border: 0; border-bottom: 2px solid transparent;
	font: inherit; font-weight: 700; cursor: pointer; line-height: 1.5;
}
button.abn-top { font-size: 1rem; }
.abn-chev { width: 1rem; height: 1rem; flex: none; transition: transform .2s ease; opacity: .7; }
.abn-top[aria-expanded="true"] { color: var(--abn-primary); }
.abn-top:focus { outline: none; }
.abn-top:focus-visible { outline: 2px solid var(--abn-primary); outline-offset: 4px; border-radius: .35rem; }
.abn-top[aria-expanded="true"] .abn-chev { transform: rotate(180deg); }
@media (min-width:1024px) and (max-width:1279.98px) {
	.abpelin-header .abp-hdr-menu button.abn-top { font-size: calc(.875rem + 2 * var(--abp-k)); }
}

/* ── Панелі (мегаменю + випадайка) ──
   Відкриваються синхронно з шапкою: одна тривалість і крива (--abn-sync), тож
   шапка й панель світлішають разом, а панель розкривається зверху вниз як
   продовження шапки. Перемикання між панелями — без анімації (клас
   .abn-swapping на <html> ставить site-nav.js на один кадр). */
:root { --abn-sync: .42s cubic-bezier(.22, .61, .36, 1); }
.abn-mega, .abn-drop {
	visibility: hidden; opacity: 0; pointer-events: none;
	clip-path: inset(0 0 100% 0);
	transition: opacity var(--abn-sync), clip-path var(--abn-sync), visibility 0s linear .42s;
}
.abn-drop { clip-path: none; transform: translateY(-6px); transition: opacity var(--abn-sync), transform var(--abn-sync), visibility 0s linear .42s; }
.abn-item.is-open > .abn-mega,
.abn-item.is-open > .abn-drop,
.abn-item:focus-within > .abn-mega,
.abn-item:focus-within > .abn-drop {
	visibility: visible; opacity: 1; pointer-events: auto;
	clip-path: inset(0 0 -40px 0); /* -40px — щоб не різало тінь панелі */
	transition: opacity var(--abn-sync), clip-path var(--abn-sync), visibility 0s;
}
.abn-item.is-open > .abn-drop, .abn-item:focus-within > .abn-drop { clip-path: none; transform: none; transition: opacity var(--abn-sync), transform var(--abn-sync), visibility 0s; }
/* JS керує станом сам — щоб закрита по Esc панель не лишалась відкритою через фокус. */
.abn-js .abn-item:focus-within:not(.is-open) > .abn-mega,
.abn-js .abn-item:focus-within:not(.is-open) > .abn-drop {
	visibility: hidden; opacity: 0; pointer-events: none; clip-path: inset(0 0 100% 0);
}
.abn-swapping .abn-mega, .abn-swapping .abn-drop, .abn-swapping .abn-hdr, .abn-swapping .abn-hdr::before { transition: none !important; }
@media (prefers-reduced-motion: reduce) {
	.abn-mega, .abn-drop, .abn-chev { transition: none !important; transform: none !important; }
}

/* Мегапанелі на всю ширину шапки (шапка fixed — вона й є контейнером). */
.abn-mega {
	position: absolute; left: 0; right: 0; top: 100%;
	background: #fff; border-top: 1px solid var(--abn-line);
	box-shadow: 0 32px 64px -16px rgba(15, 23, 42, .28);
	max-height: calc(100vh - 6rem); max-height: calc(100dvh - 6rem); overflow-y: auto;
}
.abn-mega::after { /* тонка фірмова смужка знизу панелі */
	content: ""; display: block; height: 3px;
	background: linear-gradient(90deg, var(--abn-dark), var(--abn-primary) 50%, #7ea2d6);
}
.abn-mega-inner {
	max-width: 80rem; margin: 0 auto; padding: 1.75rem 2rem 2.25rem;
	display: grid; grid-template-columns: minmax(0, 1fr) 18.5rem; gap: 1.5rem 2.25rem;
	align-items: start;
}
/* Шапка панелі: великий заголовок, підзаголовок і «більше» в один рядок */
.abn-intro {
	grid-column: 1 / -1; display: flex; align-items: center; flex-wrap: wrap; gap: .5rem 1.5rem;
	padding: 0 .65rem 1.25rem; border-bottom: 1px solid var(--abn-line);
}
.abn-intro-title {
	position: relative; margin: 0; padding-left: 1rem;
	font-size: 1.65rem; line-height: 1.2; font-weight: 800; letter-spacing: -.015em; color: var(--abn-ink);
}
.abn-intro-title::before {
	content: ""; position: absolute; left: 0; top: .15em; bottom: .15em; width: 4px; border-radius: 2px;
	background: linear-gradient(180deg, var(--abn-primary), #7ea2d6);
}
.abn-intro-lead { margin: 0; flex: 1 1 20rem; font-size: .98rem; line-height: 1.5; color: var(--abn-muted); }
.abn-intro .abn-all { margin: 0; white-space: nowrap; }
.abn-mega-groups { display: grid; gap: 1.25rem 1.5rem; }
.abn-mega-groups.abn-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.abn-mega-groups.abn-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width:1279.98px) {
	.abn-mega-inner { grid-template-columns: minmax(0, 1fr) 16rem; gap: 1.25rem 1.25rem; padding: 1.4rem 1.25rem 1.75rem; }
	.abn-intro-title { font-size: 1.35rem; }
	.abn-mega-groups { gap: 1rem; }
}

.abn-group-title {
	margin: 0 0 .6rem; padding: 0 .65rem;
	font-size: .72rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
	color: var(--abn-muted);
}
.abn-list { list-style: none; margin: 0; padding: 0; }
.abn-list li { margin: 0; }
.abn-link {
	display: flex; align-items: flex-start; gap: .8rem;
	padding: .7rem .65rem; border-radius: .85rem;
	color: var(--abn-ink); text-decoration: none;
	transition: background-color .15s ease;
}
.abn-link:hover, .abn-link:focus-visible { background: var(--abn-soft); outline: none; }
.abn-link:focus-visible { box-shadow: 0 0 0 2px var(--abn-primary) inset; }
.abn-ico {
	flex: none; width: 2.5rem; height: 2.5rem; border-radius: .7rem;
	display: inline-flex; align-items: center; justify-content: center;
	background: #eef3fa; color: var(--abn-primary);
	transition: background-color .15s ease, color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.abn-link:hover .abn-ico { background: var(--abn-primary); color: #fff; transform: translateY(-1px); box-shadow: 0 6px 14px -6px rgba(43, 76, 126, .6); }
.abn-ico-svg { width: 1.3rem; height: 1.3rem; }
.abn-link-text { display: flex; flex-direction: column; min-width: 0; }
.abn-link-title { font-weight: 700; font-size: 1rem; line-height: 1.3; }
.abn-link:hover .abn-link-title { color: var(--abn-primary); }
.abn-link-desc { margin-top: .2rem; font-size: .84rem; line-height: 1.4; color: var(--abn-muted); }

/* Права колонка: «Актуально зараз» / «Часті запити» / цифри бюро */
.abn-aside {
	background: var(--abn-soft); border-radius: 1.1rem; padding: 1.1rem .65rem 1rem;
	display: flex; flex-direction: column;
}
.abn-aside--dark {
	padding: 1.5rem 1.4rem; color: #fff;
	background: radial-gradient(circle at 85% 0%, rgba(126, 162, 214, .35), transparent 55%), linear-gradient(150deg, var(--abn-ink) 0%, var(--abn-dark) 55%, var(--abn-primary) 100%);
}
.abn-stats { list-style: none; margin: 0 0 1.1rem; padding: 0; display: grid; gap: 1rem; }
.abn-stats li { display: flex; align-items: baseline; gap: .8rem; }
.abn-stats b { flex: none; min-width: 4.2rem; font-size: 1.75rem; line-height: 1; font-weight: 800; letter-spacing: -.02em; }
.abn-stats span { font-size: .84rem; line-height: 1.35; color: rgba(219, 234, 254, .85); }
.abn-aside-text { margin: 0 0 .9rem; font-size: .9rem; line-height: 1.5; color: rgba(255, 255, 255, .9); }
.abn-aside--dark .abn-btn { width: 100%; }
.abn-link--hot { position: relative; padding-left: 1.5rem; }
.abn-link--hot::before {
	content: ""; position: absolute; left: .7rem; top: 1.05rem;
	width: .4rem; height: .4rem; border-radius: 50%; background: var(--abn-hot);
}
.abn-link--hot:hover { background: #fff; }
.abn-help {
	margin: .75rem .6rem 0; padding: .9rem 1rem; border-radius: .85rem;
	background: #fff; border: 1px solid var(--abn-line);
}
.abn-help-title { margin: 0; font-weight: 700; font-size: .95rem; color: var(--abn-ink); }
.abn-help-text { margin: .25rem 0 .7rem; font-size: .8125rem; line-height: 1.45; color: var(--abn-muted); }
.abn-all {
	display: inline-flex; align-items: center; gap: .35rem;
	margin: .85rem .6rem 0; font-weight: 700; font-size: .9rem;
	color: var(--abn-primary); text-decoration: none;
}
.abn-all:hover { color: var(--abn-dark); text-decoration: underline; }
button.abn-all { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; font-size: .9rem; cursor: pointer; text-align: left; }
.abn-intro .abn-all { display: inline; }

/* Випадайка «Про бюро» */
.abn-has-drop { position: relative; }
.abn-drop {
	position: absolute; top: calc(100% + 1.15rem); left: 50%; margin-left: -10.5rem;
	width: 21rem; padding: .5rem; background: #fff;
	border: 1px solid var(--abn-line); border-radius: 1rem;
	box-shadow: 0 20px 40px -12px rgba(15, 23, 42, .22);
}
/* Невидимий місток, щоб курсор не «провалювався» між кнопкою й панеллю. */
.abn-drop::before { content: ""; position: absolute; left: 0; right: 0; top: -1.2rem; height: 1.2rem; }

/* ── Кнопки ── */
.abn-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
	min-height: 44px; padding: .6rem 1.1rem; border-radius: .7rem;
	font: inherit; font-weight: 700; font-size: .9rem; line-height: 1.2;
	cursor: pointer; text-decoration: none; border: 1px solid transparent;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.abn-btn-ico { width: 1.05rem; height: 1.05rem; flex: none; }
.abn-btn--primary { width: 100%; color: #fff; background: linear-gradient(90deg, var(--abn-primary), var(--abn-dark)); }
.abn-btn--primary:hover { background: var(--abn-hover); }
.abn-btn--ghost { color: var(--abn-primary); background: #fff; border-color: #c9d6ea; }
.abn-btn--ghost:hover { background: var(--abn-soft); }

/* ═════════════════════════════ Мобільне меню ═════════════════════════════ */
#abpelin-mobile-menu {
	max-height: calc(100vh - 5rem); max-height: calc(100dvh - 5rem);
	overflow-y: auto; overscroll-behavior: contain;
}
html.abn-lock, html.abn-lock body { overflow: hidden; }
.abn-m { padding: .25rem 0 1rem; }
.abn-m-sec { border-bottom: 1px solid var(--abn-line); }
.abn-m-sec > summary, .abn-m-link {
	display: flex; align-items: center; justify-content: space-between;
	min-height: 52px; padding: .5rem .25rem;
	font-weight: 700; font-size: 1.05rem; color: var(--abn-ink);
	list-style: none; cursor: pointer; text-decoration: none;
}
.abn-m-sec > summary::-webkit-details-marker { display: none; }
.abn-m-sec > summary .abn-chev { width: 1.25rem; height: 1.25rem; }
.abn-m-sec[open] > summary { color: var(--abn-primary); }
.abn-m-sec[open] > summary .abn-chev { transform: rotate(180deg); }
.abn-m-link { border-bottom: 1px solid var(--abn-line); }
.abn-m-link:hover, .abn-m-sec > summary:hover { color: var(--abn-primary); }
.abn-m-body { padding: 0 0 1rem; }
.abn-m-body .abn-group-title { margin-top: .9rem; padding: 0 .25rem; }
.abn-m-body .abn-link { padding: .55rem .25rem; }
.abn-chips { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0 .25rem; }
.abn-chip {
	display: inline-flex; align-items: center; min-height: 40px;
	padding: .45rem .85rem; border-radius: 9999px;
	background: var(--abn-soft); border: 1px solid var(--abn-line);
	font-size: .875rem; font-weight: 600; color: var(--abn-dark); text-decoration: none;
}
.abn-chip:hover { border-color: var(--abn-primary); }
.abn-m-body .abn-all { margin-left: .25rem; }
.abn-m-actions { display: grid; gap: .6rem; padding-top: 1rem; }
.abn-m-actions > a, .abn-m-actions > button { width: 100%; justify-content: center; min-height: 46px; }
.abn-m-hours { margin: 0; text-align: center; font-size: .85rem; color: var(--abn-muted); }

/* ═════════════════════════════════ Підвал ═════════════════════════════════ */
.abn-footer { background: var(--abn-f-bg); color: var(--abn-f-text); font-size: .9375rem; }
.abn-footer a { color: inherit; text-decoration: none; }
.abn-f-wrap { max-width: 80rem; margin: 0 auto; padding-left: 1rem; padding-right: 1rem; }
@media (min-width:640px) { .abn-f-wrap { padding-left: 1.5rem; padding-right: 1.5rem; } }
@media (min-width:1024px) { .abn-f-wrap { padding-left: 2rem; padding-right: 2rem; } }

/* Смуга-заклик */
.abn-f-cta { background: linear-gradient(100deg, var(--abn-dark) 0%, var(--abn-primary) 100%); color: #fff; }
.abn-f-cta-row { display: flex; flex-direction: column; gap: 1rem; padding-top: 1.5rem; padding-bottom: 1.5rem; }
.abn-f-cta-title { margin: 0; font-size: 1.25rem; font-weight: 800; line-height: 1.25; color: #fff; }
.abn-f-cta-text { margin: .3rem 0 0; font-size: .9rem; line-height: 1.5; color: rgba(219, 234, 254, .9); }
.abn-f-cta-actions { display: grid; grid-template-columns: 1fr; gap: .6rem; }
@media (min-width:640px) { .abn-f-cta-actions { grid-template-columns: repeat(3, auto); justify-content: start; } }
@media (min-width:1024px) {
	.abn-f-cta-row { flex-direction: row; align-items: center; justify-content: space-between; gap: 2rem; padding-top: 1.75rem; padding-bottom: 1.75rem; }
	.abn-f-cta-title { font-size: 1.4rem; }
}
.abn-btn--call { background: #22c55e; color: #fff !important; }
.abn-btn--call:hover { background: #16a34a; }
.abn-btn--light { background: #fff; color: var(--abn-dark); }
.abn-btn--light:hover { background: #e8eef7; }
.abn-btn--outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.abn-btn--outline:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }

/* Основна сітка */
.abn-f-grid { display: grid; grid-template-columns: 1fr; gap: 0; padding-top: 2.25rem; padding-bottom: 1.5rem; }
@media (min-width:768px) {
	.abn-f-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 2.5rem; padding-bottom: 2.5rem; }
	.abn-f-brand { grid-column: 1 / -1; }
}
@media (min-width:1024px) {
	.abn-f-grid { grid-template-columns: minmax(0, 1.3fr) repeat(4, minmax(0, 1fr)); gap: 2rem; padding-top: 3rem; }
	.abn-f-brand { grid-column: auto; }
}

.abn-f-brand { padding-bottom: 1.5rem; }
.abn-f-logo { display: flex; align-items: center; }
.abn-f-about { margin: .9rem 0 0; font-size: .9rem; line-height: 1.55; color: var(--abn-f-muted); max-width: 26rem; }
.abn-f-contacts { list-style: none; margin: 1.1rem 0 0; padding: 0; display: grid; gap: .7rem; }
@media (min-width:768px) and (max-width:1023.98px) { .abn-f-contacts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.abn-f-contacts li { display: flex; align-items: flex-start; gap: .65rem; line-height: 1.45; }
.abn-f-contacts a:hover { color: #fff; text-decoration: underline; }
.abn-f-ico { width: 1.1rem; height: 1.1rem; flex: none; margin-top: .15rem; color: #7ea2d6; }
.abn-f-social { display: flex; gap: .6rem; margin-top: 1.25rem; }
.abn-f-social a {
	display: inline-flex; align-items: center; justify-content: center;
	width: 2.5rem; height: 2.5rem; border-radius: .7rem;
	background: rgba(148, 163, 184, .12); color: var(--abn-f-text);
	transition: background-color .2s ease, color .2s ease;
}
.abn-f-social a:hover { background: var(--abn-primary); color: #fff; }
.abn-f-social svg { width: 1.15rem; height: 1.15rem; }

/* Колонки посилань: на телефоні — акордеон (JS), на ширших — завжди відкриті */
.abn-f-col { border-top: 1px solid var(--abn-f-line); }
@media (min-width:768px) { .abn-f-col { border-top: 0; } }
.abn-f-title { margin: 0; font-size: 1rem; font-weight: 700; color: #fff; }
.abn-f-toggle {
	display: flex; align-items: center; justify-content: space-between; width: 100%;
	min-height: 52px; padding: 0; background: none; border: 0;
	font: inherit; font-weight: 700; color: inherit; text-align: left; cursor: pointer;
}
.abn-f-toggle .abn-chev { width: 1.2rem; height: 1.2rem; }
.abn-f-toggle[aria-expanded="false"] .abn-chev { transform: rotate(-90deg); }
@media (min-width:768px) {
	.abn-f-toggle { min-height: 0; margin-bottom: .9rem; cursor: default; pointer-events: none; }
	.abn-f-toggle .abn-chev { display: none; }
}
.abn-f-list { list-style: none; margin: 0; padding: 0 0 1rem; display: grid; gap: .15rem; }
.abn-f-list a {
	display: inline-block; padding: .35rem 0; line-height: 1.4;
	color: var(--abn-f-text); transition: color .15s ease;
}
.abn-f-list a:hover, .abn-f-list a:focus-visible { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.abn-f-list.is-collapsed { display: none; }
@media (min-width:768px) { .abn-f-list.is-collapsed { display: grid; } .abn-f-list { padding-bottom: 0; } }

/* Нижній рядок */
.abn-f-bottom { background: var(--abn-f-bg2); border-top: 1px solid var(--abn-f-line); }
.abn-f-bottom-row {
	display: flex; flex-direction: column; gap: .75rem;
	padding-top: 1.1rem; padding-bottom: 1.1rem; font-size: .8125rem; color: var(--abn-f-muted);
}
@media (min-width:1024px) { .abn-f-bottom-row { flex-direction: row; align-items: center; justify-content: space-between; gap: 2rem; } }
.abn-f-copy { margin: 0; line-height: 1.55; }
.abn-f-legal-name { display: block; }
.abn-f-legal { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.abn-f-legal a { display: inline-block; padding: .3rem 0; color: var(--abn-f-muted); }
.abn-f-legal a:hover { color: #fff; text-decoration: underline; }

/* ═══════════════════════════ Шапка (оформлення) ═══════════════════════════
   Світле «скло» з тонкою лінією знизу. На головній (.abn-hdr--overlay) поки
   сторінку не прокрутили — прозора поверх темного hero, зі світлим лого й
   текстом. JS ставить .is-scrolled після прокрутки і .is-solid, коли відкрита
   панель меню чи мобільне меню.
   Перемикання між станами — плавне: фон міняється через background-color
   (градієнт прозорого стану — окремий шар ::before, що згасає), логотипи
   перетікають через opacity, кольори тексту — через transition color. */
.abn-hdr {
	--hdr-fg: #0f172a; --hdr-muted: #334155; --hdr-accent: var(--abn-primary);
	--hdr-line: rgba(15, 23, 42, .12); --hdr-hover: rgba(15, 23, 42, .05);
	--hdr-t: var(--abn-sync);
	background-color: rgba(255, 255, 255, .8);
	-webkit-backdrop-filter: saturate(180%) blur(16px); backdrop-filter: saturate(180%) blur(16px);
	border-bottom: 1px solid rgba(15, 23, 42, .07);
	transition: background-color var(--hdr-t), border-color var(--hdr-t), box-shadow var(--hdr-t);
}
.abn-hdr::before {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background: linear-gradient(180deg, rgba(11, 18, 32, .6) 0%, rgba(11, 18, 32, 0) 100%);
	opacity: 0; transition: opacity var(--hdr-t);
}
.abn-hdr.is-scrolled { background-color: rgba(255, 255, 255, .9); box-shadow: 0 12px 32px -20px rgba(15, 23, 42, .4); }
.abn-hdr.is-solid { background-color: #fff; border-bottom-color: #eef1f5; box-shadow: none; }
.abn-hdr .abp-hdr-row { transition: padding .3s ease; }
.abn-hdr.is-scrolled .abp-hdr-row { padding-top: .6rem; padding-bottom: .6rem; }
.abn-hdr .abp-hdr-logo img { transition: height .3s ease; }
.abn-hdr.is-scrolled .abp-hdr-logo img { height: 42px !important; }

.abn-hdr--overlay:not(.is-scrolled):not(.is-solid) {
	--hdr-fg: #fff; --hdr-muted: rgba(226, 236, 250, .8); --hdr-accent: #9cc0ee;
	--hdr-line: rgba(255, 255, 255, .28); --hdr-hover: rgba(255, 255, 255, .1);
	background-color: rgba(255, 255, 255, 0);
	border-bottom-color: rgba(255, 255, 255, .08); box-shadow: none;
}
.abn-hdr--overlay:not(.is-scrolled):not(.is-solid)::before { opacity: 1; }

/* Два логотипи один над одним — перетікають */
.abn-hdr .abp-hdr-logo { position: relative; }
.abn-logo-dark, .abn-logo-light { display: flex; align-items: center; transition: opacity var(--hdr-t); }
.abn-logo-light { position: absolute; left: 0; top: 0; bottom: 0; opacity: 0; pointer-events: none; }
.abn-hdr--overlay:not(.is-scrolled):not(.is-solid) .abn-logo-dark { opacity: 0; }
.abn-hdr--overlay:not(.is-scrolled):not(.is-solid) .abn-logo-light { opacity: 1; }

/* Пункти меню: легкі, з лінією, що виїжджає з центру */
.abpelin-header.abn-hdr .abp-hdr-menu { column-gap: 1.75rem; }
.abn-menu .abn-top {
	position: relative; padding: .55rem 0; border: 0;
	font-size: .97rem; font-weight: 600; letter-spacing: .005em; line-height: 1.3;
	color: var(--hdr-muted); white-space: nowrap; text-decoration: none;
	transition: color var(--hdr-t);
}
.abn-menu .abn-top::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px;
	background: var(--hdr-accent); transform: scaleX(0); transform-origin: center;
	transition: transform .28s cubic-bezier(.2, .8, .2, 1);
}
.abn-menu .abn-top:hover, .abn-menu .abn-top.is-active, .abn-menu .abn-top[aria-expanded="true"] { color: var(--hdr-fg); }
.abn-menu .abn-top:hover::after, .abn-menu .abn-top.is-active::after, .abn-menu .abn-top[aria-expanded="true"]::after { transform: scaleX(1); }
.abn-menu .abn-top .abn-chev { width: .9rem; height: .9rem; opacity: .6; }
@media (min-width:1024px) and (max-width:1279.98px) {
	.abpelin-header.abn-hdr .abp-hdr-menu { column-gap: calc(.9rem + 13 * var(--abp-k)); }
	.abpelin-header .abp-hdr-menu .abn-top, .abpelin-header .abp-hdr-menu button.abn-top { font-size: calc(.86rem + 2 * var(--abp-k)); }
}

/* Права частина */
.abn-hdr-actions { display: flex; align-items: center; gap: .6rem; }
.abn-hdr-round {
	display: inline-flex; align-items: center; justify-content: center; flex: none;
	width: 2.6rem; height: 2.6rem; border-radius: 50%;
	border: 1px solid var(--hdr-line); color: var(--hdr-fg); background: transparent;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.abn-hdr-round svg { width: 1.15rem; height: 1.15rem; }
button.abn-hdr-round { padding: 0; cursor: pointer; }
.abn-hdr-round { transition: background-color .25s ease, border-color .25s ease, color var(--hdr-t); }
.abn-hdr-round:hover, .abn-hdr-phone:hover .abn-hdr-round { background: var(--hdr-hover); border-color: var(--hdr-accent); }
.abn-hdr-phone { position: relative; display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--hdr-fg); transition: color var(--hdr-t); }
.abn-hdr-phone-text {
	position: relative; padding: .55rem 0;
	font-size: .97rem; font-weight: 600; letter-spacing: .01em; line-height: 1.3; white-space: nowrap;
}
.abn-hdr-phone-text::after { /* та сама лінія, що в пунктів меню */
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px;
	background: var(--hdr-accent); transform: scaleX(0); transform-origin: center;
	transition: transform .28s cubic-bezier(.2, .8, .2, 1);
}
.abn-hdr-phone:hover .abn-hdr-phone-text::after { transform: scaleX(1); }
/* Широкий екран: номер текстом, іконка — проста, без кола. Вужче — лише кругла іконка. */
@media (min-width:1536px) {
	.abn-hdr-phone .abn-hdr-round { width: auto; height: auto; border: 0; background: none !important; color: var(--hdr-accent); }
	.abn-hdr-phone .abn-hdr-round svg { width: 1.05rem; height: 1.05rem; }
	.abn-hdr-actions { gap: .9rem; }
	.abn-hdr-phone { margin-right: .35rem; }
}
@media (max-width:1535.98px) { .abn-hdr-phone-text { display: none; } }
.abn-hdr-cta {
	display: inline-flex; align-items: center; min-height: 2.6rem; padding: .6rem 1.25rem; border-radius: 9999px;
	border: 0; cursor: pointer; white-space: nowrap;
	font: inherit; font-size: .95rem; font-weight: 600; letter-spacing: .01em;
	color: #fff; background: linear-gradient(135deg, var(--abn-primary), var(--abn-dark));
	box-shadow: 0 8px 20px -10px rgba(30, 58, 95, .7);
	transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.abn-hdr-cta:hover { transform: translateY(-1px); box-shadow: 0 12px 24px -10px rgba(30, 58, 95, .8); }
.abn-hdr--overlay:not(.is-scrolled):not(.is-solid) .abn-hdr-cta { color: var(--abn-dark); background: #fff; box-shadow: 0 8px 24px -12px rgba(156, 192, 238, .7); }
.abn-hdr-round:focus-visible, .abn-hdr-cta:focus-visible, .abn-hdr-phone:focus-visible { outline: 2px solid var(--hdr-accent); outline-offset: 3px; }

/* Кнопка мобільного меню */
.abpelin-header.abn-hdr .abn-burger { color: var(--hdr-fg) !important; }
/* Стара шапка давала кнопці чату padding на 1024–1279 — у круглій кнопці він стискав іконку. */
.abpelin-header .abp-hdr-cta .abn-hdr-round.abpelin-chat-trigger { padding: 0 !important; font-size: inherit !important; }
/* На дуже широких екранах шапка ширша за контент — щоб уміщався номер текстом. */
@media (min-width:1536px) { .abpelin-header.abn-hdr .abp-hdr-wrap { max-width: 88rem; } }
/* Глобальне a:hover фарбувало номер у блакитний — на темному фоні він «зникав». */
.abpelin-header .abn-hdr-phone, .abpelin-header .abn-hdr-phone:hover, .abpelin-header .abn-hdr-phone:focus { color: var(--hdr-fg); }
.abpelin-header .abn-menu a.abn-top:hover { color: var(--hdr-fg); }

/* Підвал: ширша колонка бренду — адреси офісів уміщаються в рядок */
@media (min-width:1024px) { .abn-f-grid { grid-template-columns: minmax(0, 1.55fr) repeat(4, minmax(0, 1fr)); gap: 1.75rem; } }
.abn-f-contacts li a, .abn-f-contacts li span { text-wrap: pretty; }

/* ═══ Плаваючі віджети на телефоні: менші, щоб не закривали текст ═══
   Кнопка дзвінка Binotel (зліва) і чат Chatwoot (справа) лишаються,
   але зменшені й притиснуті до кутів. */
@media (max-width: 767.98px) {
	#bingc-phone-button.bingc-phone-button {
		transform: scale(.62) !important; transform-origin: left bottom !important;
		left: 6px !important; bottom: 10px !important; top: auto !important;
	}
	.woot-widget-bubble.woot-elements--right {
		transform: scale(.78) !important; transform-origin: right bottom !important;
		right: 10px !important; bottom: 12px !important;
	}
}
