/* =========================================================
   Уповноважений Верховної Ради України з прав людини
   Дизайн-система: шрифти e-Ukraine / e-UkraineHead, палітра НПМ
   ========================================================= */

@font-face { font-family: "e-Ukraine"; src: url(../fonts/e-Ukraine-UltraLight.woff2) format("woff2"); font-weight: 200; font-display: swap; }
@font-face { font-family: "e-Ukraine"; src: url(../fonts/e-Ukraine-Light.woff2) format("woff2"); font-weight: 300 400; font-display: swap; }
@font-face { font-family: "e-Ukraine"; src: url(../fonts/e-Ukraine-Medium.woff2) format("woff2"); font-weight: 500 600; font-display: swap; }
@font-face { font-family: "e-Ukraine"; src: url(../fonts/e-Ukraine-Bold.woff2) format("woff2"); font-weight: 700 800; font-display: swap; }
@font-face { font-family: "e-UkraineHead"; src: url(../fonts/e-UkraineHead-Light.woff2) format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "e-UkraineHead"; src: url(../fonts/e-UkraineHead-Regular.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "e-UkraineHead"; src: url(../fonts/e-UkraineHead-Medium.woff2) format("woff2"); font-weight: 500 600; font-display: swap; }
@font-face { font-family: "e-UkraineHead"; src: url(../fonts/e-UkraineHead-Bold.woff2) format("woff2"); font-weight: 700 800; font-display: swap; }

:root {
  --ink: #0d0802;
  --ink-2: #2e2a26;
  --muted: #56524e;
  --line: #e7e6e6;
  --line-2: #d6d4d1;
  --bg: #ffffff;
  --bg-soft: #f6f6f6;
  --bg-blue: #eef3f8;
  --bg-blue-2: #deeaf3;
  --primary: #2b55a2;
  --primary-600: #234a8f;
  --primary-700: #1a3870;
  --navy: #0f2447;
  --blue: #6d8abf;
  --blue-light: #bdcae2;
  --accent: #ffcc00;
  --accent-600: #f0bd00;
  --accent-soft: #fff4c2;
  --green: #2f7d1f;
  --red: #c62828;
  --red-soft: #fdecec;
  --gradient: linear-gradient(89deg, #ebf8f7 -16%, #d5e0ef 96%);

  --font: "e-Ukraine", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "e-UkraineHead", "e-Ukraine", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(13, 8, 2, .05);
  --shadow: 0 1px 2px rgba(13, 8, 2, .04), 0 12px 32px -16px rgba(26, 56, 112, .28);
  --ease: cubic-bezier(.2, .7, .2, 1);

  --container: 1320px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;
}

/* ---------- База ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--font); font-size: 1rem; line-height: 1.6; color: var(--ink); background: var(--bg); font-weight: 400; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, video { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--primary); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--primary-700); }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 500; line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .5em; color: var(--ink); }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.25em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; box-shadow: 0 0 0 5px var(--ink); }
::selection { background: var(--accent); color: var(--ink); }
[hidden] { display: none !important; }

.i { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.i--sm { width: 16px; height: 16px; }
.i--lg { width: 32px; height: 32px; }
.i--fill { fill: currentColor; stroke: none; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -100px; z-index: 1000; background: var(--accent); color: var(--ink); padding: 12px 20px; border-radius: var(--r-sm); font-weight: 500; }
.skip:focus { top: 16px; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding-block: clamp(56px, 8vw, 104px); }
.section--soft { background: var(--bg-soft); }
.section--blue { background: var(--bg-blue); }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }

/* ---------- Типографіка ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .8125rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--primary); margin: 0 0 14px; }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--accent); border-radius: 2px; }
.h1 { font-size: clamp(2rem, 1.3rem + 2.8vw, 3.5rem); }
.h2 { font-size: clamp(1.625rem, 1.2rem + 1.6vw, 2.5rem); }
.h3 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); }
.lead { font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); color: var(--ink-2); line-height: 1.55; max-width: 60ch; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head .h2 { margin: 0; }
.section-head__sub { margin: 12px 0 0; color: var(--muted); max-width: 62ch; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; text-decoration: none; color: var(--primary); white-space: nowrap; }
.link-arrow .i { transition: transform .25s var(--ease); }
.link-arrow:hover .i { transform: translateX(4px); }

/* ---------- Кнопки, чипи, бейджі ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 24px; border-radius: var(--r-pill); border: 1.5px solid transparent; font-weight: 500; font-size: 1rem; line-height: 1.2; text-decoration: none; white-space: nowrap; transition: background-color .2s, border-color .2s, color .2s, transform .2s var(--ease); }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-700); color: #fff; }
.btn--accent { background: var(--accent); color: var(--ink); }
.btn--accent:hover { background: var(--accent-600); color: var(--ink); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-2); color: #fff; }
.btn--ghost { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: var(--bg-blue); color: var(--ink); }
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: .9375rem; }
.btn--block { width: 100%; }

.chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .7); border: 1px solid rgba(43, 85, 162, .18); color: var(--ink); font-size: .9375rem; text-decoration: none; transition: background-color .2s, border-color .2s; }
.chip:hover { background: #fff; border-color: var(--primary); color: var(--primary); }

.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: var(--r-pill); font-size: .75rem; font-weight: 500; letter-spacing: .02em; line-height: 1.4; background: var(--bg-blue); color: var(--primary-700); text-decoration: none; }
.badge--regional { background: #e7f4ea; color: #1f5e14; }
.badge--announce { background: var(--accent-soft); color: #5c4700; }
.badge--statement { background: var(--ink); color: #fff; }
.badge--urgent { background: var(--red-soft); color: var(--red); }
a.badge:hover { filter: brightness(.96); }

.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); transition: border-color .2s, background-color .2s; }
.icon-btn:hover { border-color: var(--ink); }

/* ---------- Банер оголошення ---------- */
.alert-banner { background: var(--ink); color: #fff; font-size: .9375rem; }
.alert-banner__in { display: flex; align-items: center; gap: 12px; padding-block: 10px; }
.alert-banner p { margin: 0; flex: 1; }
.alert-banner a { color: var(--accent); font-weight: 500; }
.alert-banner .i { color: var(--accent); }

/* ---------- Верхня смуга ---------- */
.topbar { background: var(--navy); color: #dfe6f3; font-size: .875rem; }
.topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--accent); }
.topbar__hotline { display: flex; align-items: center; gap: 8px 20px; flex-wrap: wrap; }
.topbar__phone { display: inline-flex; align-items: center; gap: 8px; }
.topbar__phone strong { font-weight: 700; font-size: 1rem; letter-spacing: .02em; }
.topbar__phone .i { width: 18px; height: 18px; color: var(--accent); }
.topbar__status { display: inline-flex; align-items: center; gap: 6px; color: #b9c6dd; }
.topbar__status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #8a93a3; }
.topbar__status.is-open { color: #c8efb4; }
.topbar__status.is-open::before { background: #73c53a; box-shadow: 0 0 0 3px rgba(115, 197, 58, .25); animation: status-pulse 2.2s ease-out infinite; }
/* «Працює зараз» — м’яка пульсація крапки (вимикається режимом без анімацій / prefers-reduced-motion) */
@keyframes status-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(115, 197, 58, .55); }
  70%  { box-shadow: 0 0 0 7px rgba(115, 197, 58, 0); }
  100% { box-shadow: 0 0 0 0 rgba(115, 197, 58, 0); }
}
.topbar__tools { display: flex; align-items: center; gap: 8px; }
.topbar__btn { display: inline-flex; align-items: center; gap: 8px; background: transparent; border: 0; color: #fff; padding: 8px 10px; border-radius: var(--r-sm); }
.topbar__btn:hover { background: rgba(255, 255, 255, .08); }
.topbar__btn .i { width: 18px; height: 18px; }
.lang { display: inline-flex; background: rgba(255, 255, 255, .08); border-radius: var(--r-pill); padding: 3px; }
.lang a { padding: 4px 12px; border-radius: var(--r-pill); font-weight: 500; font-size: .8125rem; color: #cfd8e8; }
.lang a[aria-current="true"] { background: #fff; color: var(--ink); }

/* ---------- Шапка ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); transition: box-shadow .25s; }
.header.is-scrolled { box-shadow: 0 8px 24px -18px rgba(13, 8, 2, .35); }
.header__in { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.logo { display: flex; align-items: center; flex: none; }
.logo img { height: 46px; width: auto; }
.nav { flex: 1; min-width: 0; }
.nav__list { display: flex; gap: 0; list-style: none; margin: 0; padding: 0; justify-content: flex-start; justify-content: safe center; }
.nav__link { display: inline-flex; align-items: center; gap: 3px; padding: 10px 8px; border: 0; background: transparent; border-radius: var(--r-sm); font-weight: 500; font-size: .875rem; color: var(--ink); white-space: nowrap; }
.header__cta { padding-inline: 20px; }
.nav__link .i { transition: transform .2s; }
a.nav__link { text-decoration: none; }
.nav__link:hover, .nav__link[aria-expanded="true"] { background: var(--bg-blue); color: var(--primary-700); }
.nav__link[aria-expanded="true"] .i { transform: rotate(180deg); }
.nav__link.is-active { color: var(--primary); box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
.header__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav-toggle { display: none; }

.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 24px 48px -24px rgba(13, 8, 2, .28); animation: megaIn .22s var(--ease); }
@keyframes megaIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.mega__in { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; padding-block: 32px 40px; }
.mega__title { font-size: .75rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.mega ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mega a { display: block; padding: 7px 10px; margin-inline: -10px; border-radius: 8px; color: var(--ink); text-decoration: none; line-height: 1.35; }
.mega a:hover { background: var(--bg-blue); color: var(--primary-700); }
.mega__promo { background: var(--gradient); border-radius: var(--r); padding: 24px; display: flex; flex-direction: column; gap: 10px; align-self: start; }
.mega__promo strong { font-family: var(--font-head); font-size: 2rem; font-weight: 500; line-height: 1; }
.mega__promo p { margin: 0; color: var(--ink-2); font-size: .9375rem; }

/* Мобільне меню */
.drawer { position: fixed; inset: 0; z-index: 90; background: #fff; overflow-y: auto; padding: 16px var(--gutter) 40px; }
.drawer__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.drawer__top img { height: 44px; width: auto; }
.drawer__cta { display: grid; gap: 10px; margin-bottom: 20px; }
.drawer details { border-bottom: 1px solid var(--line); }
.drawer summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font-family: var(--font-head); font-size: 1.125rem; font-weight: 500; cursor: pointer; }
.drawer summary::-webkit-details-marker { display: none; }
.drawer details[open] summary .i { transform: rotate(180deg); }
.drawer ul { list-style: none; margin: 0 0 16px; padding: 0; }
.drawer li a { display: block; padding: 9px 0; color: var(--ink); text-decoration: none; }
.drawer__sub { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 8px 0 4px; }
.drawer__foot { display: flex; justify-content: space-between; align-items: center; margin-top: 24px; gap: 12px; flex-wrap: wrap; }
.drawer .lang { background: var(--bg-soft); }
.drawer .lang a { color: var(--ink); }
.drawer .lang a[aria-current="true"] { background: var(--ink); color: #fff; }
body.drawer-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--gradient); overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .55;
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 255, 255, .9) 0 1px, transparent 1.5px) 0 0 / 22px 22px,
    radial-gradient(60% 80% at 100% 0%, rgba(109, 138, 191, .35), transparent 70%);
  -webkit-mask-image: linear-gradient(100deg, transparent 35%, #000 75%); mask-image: linear-gradient(100deg, transparent 35%, #000 75%); }
.hero::after { content: ""; position: absolute; right: -180px; bottom: -260px; width: 620px; height: 620px; border-radius: 50%; border: 1px solid rgba(43, 85, 162, .16); box-shadow: 0 0 0 60px rgba(255, 255, 255, .12), 0 0 0 120px rgba(255, 255, 255, .08); z-index: -1; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, 1fr); gap: clamp(32px, 5vw, 72px); padding-block: clamp(48px, 7vw, 96px); align-items: center; }
.hero__title { font-size: clamp(2.125rem, 1.2rem + 3.4vw, 4rem); line-height: 1.05; letter-spacing: -.02em; font-weight: 500; margin-bottom: 20px; max-width: 16ch; }
.hero__title mark { background: none; color: var(--primary); }
.hero__lead { font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); color: var(--ink-2); max-width: 54ch; margin-bottom: 32px; }
.hero-search__label { display: block; font-weight: 500; margin-bottom: 10px; }
.hero-search__field { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: var(--r-pill); padding: 6px 6px 6px 20px; box-shadow: var(--shadow); border: 1.5px solid transparent; transition: border-color .2s; max-width: 640px; }
.hero-search__field:focus-within { border-color: var(--primary); }
.hero-search__field .i { color: var(--muted); }
.hero-search__field input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: 10px 4px; font-size: 1.0625rem; }
.hero-search__field input:focus-visible { box-shadow: none; outline: 0; }
.hero__chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 20px; }
.hero__chips-label { font-size: .875rem; color: var(--muted); margin-right: 4px; }

.hero__aside { display: grid; gap: 12px; }
.qa { display: flex; align-items: center; gap: 16px; padding: 18px 20px; background: rgba(255, 255, 255, .88); border: 1px solid rgba(255, 255, 255, .9); border-radius: var(--r); color: var(--ink); text-decoration: none; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s, background-color .2s; }
.qa:hover { transform: translateY(-2px); box-shadow: var(--shadow); background: #fff; color: var(--ink); }
.qa__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--bg-blue); color: var(--primary); flex: none; }
.qa__text { display: grid; gap: 2px; flex: 1; min-width: 0; }
.qa__text strong { font-weight: 500; font-size: 1.0625rem; line-height: 1.3; }
.qa__text span { font-size: .875rem; color: var(--muted); }
.qa__arrow { color: var(--muted); transition: transform .25s var(--ease); }
.qa:hover .qa__arrow { transform: translateX(3px); color: var(--ink); }
.qa--accent { background: var(--accent); border-color: var(--accent); }
.qa--accent:hover { background: var(--accent-600); }
.qa--accent .qa__icon { background: rgba(13, 8, 2, .08); color: var(--ink); }
.qa--accent .qa__text span { color: var(--ink-2); }
.qa--phone .qa__text strong { font-family: var(--font-head); font-size: 1.75rem; line-height: 1; letter-spacing: .01em; }
.qa .status { display: inline-flex; align-items: center; gap: 6px; font-size: .8125rem; }
.qa .status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #9aa1ab; }
.qa .status.is-open { color: var(--green); }
.qa .status.is-open::before { background: #73c53a; animation: status-pulse 2.2s ease-out infinite; }

/* ---------- Життєві ситуації ---------- */
.sit-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.sit { display: flex; }
.sit__link { position: relative; display: flex; flex-direction: column; gap: 10px; width: 100%; padding: 24px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color .25s, box-shadow .25s, transform .25s var(--ease); }
.sit__link:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-3px); color: var(--ink); }
.sit__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--bg-blue); color: var(--primary); margin-bottom: 6px; transition: background-color .25s, color .25s; }
.sit__icon .i { width: 28px; height: 28px; stroke-width: 1.6; }
.sit__link:hover .sit__icon { background: var(--primary); color: #fff; }
.sit__title { font-family: var(--font-head); font-size: 1.1875rem; font-weight: 500; line-height: 1.25; }
.sit__text { color: var(--muted); font-size: .9375rem; line-height: 1.5; flex: 1; }
.sit__more { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; font-size: .9375rem; color: var(--primary); margin-top: 6px; }
.sit__more .i { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.sit__link:hover .sit__more .i { transform: translateX(4px); }
.sit--urgent .sit__link { background: var(--navy); border-color: var(--navy); color: #fff; }
.sit--urgent .sit__link:hover { border-color: var(--accent); color: #fff; }
.sit--urgent .sit__icon { background: rgba(255, 255, 255, .1); color: var(--accent); }
.sit--urgent .sit__link:hover .sit__icon { background: var(--accent); color: var(--ink); }
.sit--urgent .sit__text { color: #c3cde0; }
.sit--urgent .sit__more { color: var(--accent); }
.sit--urgent .sit__flag { position: absolute; top: 20px; right: 20px; font-size: .6875rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
/* Ілюстрація у картці ситуації: фото зверху, іконка «сідає» на край фото */
.sit__link { overflow: hidden; }
.sit__media { display: block; margin: -24px -24px 0; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-blue); }
.sit__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.sit__link:hover .sit__media img { transform: scale(1.04); }
.sit__media + .sit__icon { position: relative; margin-top: -30px; background: #fff; box-shadow: 0 0 0 4px #fff; }
.sit--urgent .sit__media + .sit__icon { background: var(--navy); box-shadow: 0 0 0 4px var(--navy); }
.sit--urgent .sit__flag { z-index: 2; background: var(--navy); padding: 4px 10px; border-radius: var(--r-pill); }
.sit-grid--home .sit:nth-child(-n+2) .sit__media { aspect-ratio: 21 / 9; }
.sit-grid--home .sit:nth-child(-n+2) { grid-column: span 2; }
.sit-grid--home .sit:nth-child(-n+2) .sit__title { font-size: 1.5rem; }

/* ---------- Як ми допомагаємо ---------- */
.how { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding: 24px 24px 24px 76px; background: #fff; border-radius: var(--r); border: 1px solid var(--line); }
.steps li::before { content: counter(step); position: absolute; left: 22px; top: 22px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); font-family: var(--font-head); font-weight: 500; }
.steps h3 { font-size: 1.125rem; margin-bottom: 6px; }
.steps p { margin: 0; color: var(--muted); font-size: .9375rem; }
.notice { padding: 28px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--red); }
.notice h3 { font-size: 1.125rem; display: flex; gap: 10px; align-items: center; }
.notice h3 .i { color: var(--red); }
.notice ul { margin: 0 0 20px; padding-left: 1.1em; color: var(--ink-2); font-size: .9375rem; display: grid; gap: 8px; }
.notice__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Слайдер «Головні події» ---------- */
.events { padding-top: clamp(40px, 5vw, 64px); }
.events__ctrl { display: flex; gap: 8px; }
.slider { position: relative; }
.slider__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; gap: 24px; border-radius: var(--r-lg); }
.slider__track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: start; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); background: var(--navy); border-radius: var(--r-lg); overflow: hidden; min-height: 440px; color: #fff; }
.slide__media { position: relative; display: block; background: var(--primary-700); overflow: hidden; }
.slide__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 8s linear; }
.slide.is-active .slide__media img { transform: scale(1.05); }
.slide__body { display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: clamp(28px, 4vw, 56px); position: relative; }
.slide__body::before { content: ""; position: absolute; left: 0; top: 40px; bottom: 40px; width: 3px; background: var(--accent); border-radius: 3px; }
.slide__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; color: #b9c6dd; font-size: .9375rem; }
.slide__title { font-size: clamp(1.375rem, 1.05rem + 1.2vw, 2.125rem); line-height: 1.18; margin: 0; }
.slide__title a { color: #fff; text-decoration: none; }
.slide__title a:hover { color: var(--accent); }
.slide__lead { color: #cfd8e8; margin: 0; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.slide__more { color: var(--accent); margin-top: 4px; }
.slide__more:hover { color: #fff; }
.slider__dots { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
.slider__dots button { width: 36px; height: 6px; padding: 0; border: 0; border-radius: 6px; background: var(--line-2); position: relative; overflow: hidden; }
.slider__dots button[aria-current="true"] { background: var(--blue-light); }
.slider__dots button[aria-current="true"]::after { content: ""; position: absolute; inset: 0; background: var(--primary); transform-origin: left; animation: dotfill var(--slide-ms, 7000ms) linear forwards; }
.slider.is-paused .slider__dots button[aria-current="true"]::after { animation: none; transform: none; }
@keyframes dotfill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- Напрями нашої роботи (головна) ---------- */
.areas { position: relative; background: var(--bg-soft) url(../img/bg/pattern.jpg) center / cover; }
.areas::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(246, 246, 246, .72), rgba(246, 246, 246, .9)); pointer-events: none; }
.areas > .container { position: relative; }
.areas__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.area { position: relative; display: flex; align-items: flex-end; min-height: 300px; height: 100%; padding: 22px; border-radius: var(--r-lg); overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; background: var(--navy); }
.area__img { position: absolute; inset: 0; z-index: -2; }
.area__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.area::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15, 36, 71, 0) 30%, rgba(15, 36, 71, .88) 100%); transition: background-color .3s; }
.area:hover { color: #fff; }
.area:hover .area__img img { transform: scale(1.06); }
.area:hover::after { background-color: rgba(15, 36, 71, .15); }
.area__title { font-family: var(--font-head); font-weight: 500; font-size: 1.1875rem; line-height: 1.25; padding-right: 48px; text-shadow: 0 1px 12px rgba(0, 0, 0, .25); }
.area__arrow { position: absolute; right: 18px; bottom: 20px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .16); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background-color .25s, color .25s, transform .25s var(--ease); }
.area:hover .area__arrow { background: var(--accent); color: var(--ink); transform: translateX(3px); }
.area__arrow .i { width: 20px; height: 20px; }
@media (max-width: 1100px) { .areas__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .areas__grid { grid-template-columns: minmax(0, 1fr); } .area { min-height: 220px; } }

/* ---------- Кроки звернення (таймлайн) ---------- */
.timeline { list-style: none; margin: 0 0 40px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 22px; right: 22px; top: 22px; height: 2px; background: repeating-linear-gradient(90deg, var(--blue-light) 0 8px, transparent 8px 14px); }
.timeline li { position: relative; padding-top: 64px; }
.timeline__num { position: absolute; top: 0; left: 0; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--primary); color: var(--primary); font-family: var(--font-head); font-weight: 500; font-size: 1.125rem; }
.timeline li:first-child .timeline__num { background: var(--primary); color: #fff; }
.timeline h3 { font-size: 1.1875rem; margin: 0 0 8px; }
.timeline p { margin: 0; color: var(--muted); font-size: .9375rem; }

/* ---------- Перш ніж звертатися ---------- */
.precheck { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.5fr); gap: clamp(24px, 4vw, 56px); padding: clamp(24px, 4vw, 44px); border-radius: var(--r-lg); background: var(--bg-blue); position: relative; overflow: hidden; }
.precheck::after { content: ""; position: absolute; right: -80px; top: -80px; width: 240px; height: 240px; border-radius: 50%; border: 1px solid rgba(43, 85, 162, .14); box-shadow: 0 0 0 40px rgba(255, 255, 255, .25); pointer-events: none; }
.precheck__badge { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: #fff; color: var(--primary); margin-bottom: 16px; }
.precheck__intro h3 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.625rem); margin: 0 0 10px; }
.precheck__intro p { color: var(--ink-2); margin: 0 0 22px; }
.precheck__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.precheck__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; position: relative; z-index: 1; }
.precheck__list li { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; background: #fff; border-radius: var(--r); font-size: .9375rem; color: var(--muted); line-height: 1.45; }
.precheck__list strong { display: block; color: var(--ink); font-weight: 500; font-size: 1rem; margin-bottom: 4px; }
.precheck__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--red-soft); color: var(--red); flex: none; }
.precheck__icon .i { width: 22px; height: 22px; }

/* ---------- Новини ---------- */
.tabs { display: inline-flex; gap: 4px; padding: 4px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-pill); flex-wrap: wrap; }
.tabs [role="tab"], .tabs a { border: 0; background: transparent; padding: 9px 18px; border-radius: var(--r-pill); font-weight: 500; font-size: .9375rem; color: var(--muted); text-decoration: none; white-space: nowrap; }
.tabs [role="tab"]:hover, .tabs a:hover { color: var(--ink); }
.tabs [aria-selected="true"], .tabs a[aria-current="page"] { background: var(--ink); color: #fff; }

.news-home { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px; }
.news-rows { display: grid; gap: 0; background: #fff; border-radius: var(--r-lg); border: 1px solid var(--line); padding: 8px 24px; align-content: start; }

.card { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--r-lg); border: 1px solid var(--line); overflow: hidden; transition: box-shadow .25s, transform .25s var(--ease), border-color .25s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: transparent; }
.card__media { position: relative; aspect-ratio: 16 / 10; background: var(--bg-blue); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__media img { transform: scale(1.04); }
.card__media .badge { position: absolute; left: 16px; top: 16px; }
.card__body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 24px; flex: 1; }
.card__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; font-size: .8125rem; color: var(--muted); }
.card__title { font-family: var(--font-head); font-size: 1.125rem; font-weight: 500; line-height: 1.3; margin: 0; }
.card__title a { color: var(--ink); text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; }
.card__title a:hover { color: var(--primary); }
.card__text { color: var(--muted); font-size: .9375rem; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card--lg .card__media { aspect-ratio: 16 / 9; }
.card--lg .card__title { font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem); line-height: 1.2; }
.card--lg .card__body { padding: 26px 30px 30px; }

/* Биті зображення: у медіа-блоках лишається фон-заглушка, у тексті — ховаємо */
img.img-broken { visibility: hidden; }
.prose img.img-broken, .prose figure:has(img.img-broken) { display: none; }
.card__media:has(img.img-broken), .row-item__thumb:has(img.img-broken), .slide__media:has(img.img-broken), .gallery__main:has(img.img-broken) { background: url(../img/news-placeholder.jpg) center / cover; }
.ph { position: absolute; inset: 0; display: grid; place-items: center; background: url(../img/news-placeholder.jpg) center / cover, var(--gradient); color: var(--blue); }
.ph svg { width: 34%; max-width: 120px; height: auto; opacity: .55; }

.row-item { position: relative; display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: start; }
.row-item:last-child { border-bottom: 0; }
.row-item__thumb { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--bg-blue); }
.row-item__thumb img { width: 100%; height: 100%; object-fit: cover; }
.row-item__meta { font-size: .8125rem; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 4px; }
.row-item__title { font-size: 1rem; font-weight: 500; line-height: 1.4; margin: 0; }
.row-item__title a { color: var(--ink); text-decoration: none; }
.row-item__title a::after { content: ""; position: absolute; inset: 0; }
.row-item:hover .row-item__title a { color: var(--primary); }
.row-item--text { grid-template-columns: 1fr; }

.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }

/* ---------- Статистика ---------- */
.stats { background: var(--navy); color: #fff; padding-block: clamp(48px, 6vw, 80px); position: relative; overflow: hidden; }
.stats::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle, rgba(255, 255, 255, .08) 1px, transparent 1.5px) 0 0 / 24px 24px; -webkit-mask-image: linear-gradient(90deg, #000, transparent 70%); mask-image: linear-gradient(90deg, #000, transparent 70%); }
.stats__head { position: relative; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 36px; }
.stats__head .h2 { color: #fff; margin: 0; }
.stats__head .eyebrow { color: var(--accent); }
.stats__asof { color: #aeb9cf; font-size: .875rem; margin: 0; }
.stats__grid { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.stat { padding: 28px 24px 8px 0; border-right: 1px solid rgba(255, 255, 255, .14); margin-right: 24px; }
.stat:last-child { border-right: 0; margin-right: 0; }
.stat__value { font-family: var(--font-head); font-size: clamp(2.25rem, 1.5rem + 2.4vw, 3.5rem); font-weight: 400; line-height: 1; margin: 0 0 12px; color: #fff; letter-spacing: -.01em; }
.stat__label { margin: 0; color: #cfd8e8; font-size: .9375rem; max-width: 24ch; }

/* ---------- Омбудсман ---------- */
.omb { display: grid; grid-template-columns: minmax(260px, 420px) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.omb__photo { margin: 0; position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--gradient); }
.omb__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.omb__photo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: linear-gradient(90deg, #0057b7 50%, #ffd700 50%); }
.omb__quote { font-family: var(--font-head); font-size: clamp(1.25rem, 1.05rem + .8vw, 1.75rem); font-weight: 300; line-height: 1.4; margin: 24px 0 28px; padding-left: 24px; border-left: 3px solid var(--accent); color: var(--ink-2); }
.omb__links { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Сторінка Омбудсмана (профіль) ---------- */
.ombp { background: var(--navy); color: #fff; padding-block: 28px clamp(48px, 7vw, 88px); position: relative; overflow: hidden; }
.ombp::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle, rgba(255, 255, 255, .07) 1px, transparent 1.5px) 0 0 / 24px 24px; -webkit-mask-image: linear-gradient(100deg, transparent 30%, #000 80%); mask-image: linear-gradient(100deg, transparent 30%, #000 80%); pointer-events: none; }
.ombp .crumbs a, .ombp .crumbs li { color: #b9c6dd; }
.ombp .crumbs [aria-current] { color: #8ea0c0; }
.ombp__grid { position: relative; display: grid; grid-template-columns: minmax(280px, 460px) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; margin-top: 16px; }
.ombp__photo { margin: 0; position: relative; aspect-ratio: 4 / 5; border-radius: 28px; overflow: hidden; background: var(--primary-700); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6); }
.ombp__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.ombp__photo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: linear-gradient(90deg, #0057b7 50%, #ffd700 50%); }
.ombp .eyebrow { color: var(--accent); }
.ombp__name { font-size: clamp(2.25rem, 1.4rem + 3vw, 4rem); line-height: 1.05; letter-spacing: -.02em; color: #fff; margin: 0 0 18px; }
.ombp__since { font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); color: #cfd8e8; max-width: 52ch; margin: 0 0 24px; }
.ombp__quote { margin: 0 0 28px; padding-left: 22px; border-left: 3px solid var(--accent); font-family: var(--font-head); font-weight: 300; font-size: clamp(1.25rem, 1.05rem + .7vw, 1.625rem); line-height: 1.4; color: #fff; max-width: 40ch; }
.ombp__meta { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; color: #cfd8e8; }
.ombp__meta li { display: inline-flex; align-items: center; gap: 8px; }
.ombp__meta .i { width: 20px; height: 20px; color: var(--accent); }
.ombp__meta a { color: #fff; }
.ombp__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ombp__soc { display: inline-flex; gap: 8px; margin-left: 8px; }
.ombp__soc a { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .1); color: #fff; }
.ombp__soc a:hover { background: var(--accent); color: var(--ink); }
.ombp__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 5vw, 72px); }
.ombp__coltitle { font-size: 1.375rem; margin: 0 0 20px; }
.bio-tl { list-style: none; margin: 0; padding: 0; position: relative; }
.bio-tl::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.bio-tl li { position: relative; padding: 0 0 24px 36px; }
.bio-tl li::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--primary); }
.bio-tl li:last-child::before { background: var(--accent); border-color: var(--accent); }
.bio-tl__year { display: inline-block; font-family: var(--font-head); font-weight: 500; font-size: 1.0625rem; color: var(--primary); margin-bottom: 4px; }
.bio-tl p { margin: 0; color: var(--ink-2); line-height: 1.6; }
.ombp__facts { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.ombp__facts li { display: flex; gap: 12px; align-items: flex-start; padding: 18px 20px; border-radius: var(--r); background: var(--bg-blue); font-weight: 500; }
.ombp__facts .i { color: var(--primary); flex: none; margin-top: 2px; }
@media (max-width: 900px) {
  .ombp__grid, .ombp__cols { grid-template-columns: minmax(0, 1fr); }
  .ombp__photo { max-width: 420px; }
  .ombp__soc { margin-left: 0; }
}

/* ---------- Документи ---------- */
.docs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.doc { position: relative; display: flex; gap: 16px; padding: 22px; background: #fff; border-radius: var(--r); border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s; }
.doc:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.doc__icon { display: grid; place-items: center; width: 48px; height: 56px; border-radius: 10px; background: var(--bg-blue); color: var(--primary); flex: none; }
.doc__title { font-weight: 500; line-height: 1.4; margin: 0 0 6px; font-size: 1rem; }
.doc__title a { color: var(--ink); text-decoration: none; }
.doc__title a::after { content: ""; position: absolute; inset: 0; }
.doc__meta { font-size: .8125rem; color: var(--muted); margin: 0; }

/* ---------- Карта регіонів ---------- */
.regions-home { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.rmap { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); grid-template-rows: repeat(5, auto); gap: 6px; }
.rmap__tile { position: relative; aspect-ratio: 1; display: grid; place-items: center; border-radius: 12px; background: #fff; border: 1px solid var(--blue-light); color: var(--primary-700); text-decoration: none; font-weight: 500; font-size: clamp(.6875rem, .55rem + .45vw, .9375rem); transition: background-color .2s, color .2s, transform .2s var(--ease), border-color .2s; }
.rmap__tile:hover, .rmap__tile.is-hl, .rmap__tile:focus-visible { background: var(--primary); color: #fff; border-color: var(--primary); transform: translateY(-2px); z-index: 2; }
.rmap__tile.is-current { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.rmap__tile[data-name]:hover::after { content: attr(data-name); position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 6px 10px; border-radius: 8px; font-size: .8125rem; white-space: nowrap; pointer-events: none; z-index: 5; }
.rselect { display: flex; gap: 8px; margin: 24px 0 16px; max-width: 460px; }
.select, .input { width: 100%; min-height: 48px; padding: 10px 16px; border-radius: var(--r-sm); border: 1.5px solid var(--line-2); background: #fff; font-size: 1rem; }
.select { appearance: none; -webkit-appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%230d0802' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 8 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.select:focus, .input:focus { border-color: var(--primary); outline: 0; box-shadow: 0 0 0 3px rgba(43, 85, 162, .15); }

/* ---------- Перелік приймалень ---------- */
.offices-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.offices-bar__count { display: inline-grid; place-items: center; min-width: 40px; height: 32px; padding: 0 10px; margin-left: 8px; border-radius: var(--r-pill); background: var(--bg-blue); color: var(--primary); font-family: var(--font); font-size: .9375rem; font-weight: 500; vertical-align: middle; }
.offices-filter { display: flex; align-items: center; gap: 10px; min-width: min(100%, 360px); padding: 0 18px; min-height: 48px; border: 1.5px solid var(--line-2); border-radius: var(--r-pill); background: #fff; }
.offices-filter:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(43, 85, 162, .15); }
.offices-filter .i { color: var(--muted); }
.offices-filter input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: 10px 0; }
.offices-filter input:focus-visible { box-shadow: none; }
.office-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.office { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 24px 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); scroll-margin-top: calc(var(--header-h) + 24px); transition: border-color .2s, box-shadow .2s; }
.office:hover { border-color: var(--blue-light); box-shadow: var(--shadow); }
.office:target { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.office__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.office__title { font-size: 1.25rem; margin: 0; }
.office__title a { color: var(--ink); text-decoration: none; }
.office__title a:hover { color: var(--primary); }
.office__more { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--bg-blue); color: var(--primary); flex: none; }
.office__more:hover { background: var(--primary); color: #fff; }
.office__rep { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r); background: var(--bg-soft); }
.office__avatar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--primary); font-family: var(--font-head); font-weight: 500; flex: none; box-shadow: 0 0 0 1px var(--blue-light); }
.office__avatar { position: relative; overflow: hidden; }
.office__avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.office__avatar img.img-broken { display: none; }
.office__label { display: block; font-size: .75rem; color: var(--muted); }
.office__rep strong { font-weight: 500; line-height: 1.3; }
.office__item + .office__item { padding-top: 14px; border-top: 1px dashed var(--line-2); }
.office__city { margin: 0 0 8px; font-weight: 500; }
.office__rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .9375rem; color: var(--ink-2); }
.office__rows li { display: flex; gap: 10px; align-items: flex-start; }
.office__rows .i { width: 18px; height: 18px; color: var(--primary); flex: none; margin-top: 2px; }
.office__rows a { color: var(--primary); text-decoration: none; white-space: nowrap; }
.office__rows a:hover { text-decoration: underline; }
@media (max-width: 900px) { .office-grid { grid-template-columns: minmax(0, 1fr); } .offices-filter { width: 100%; } }

/* Представник у регіоні: круглий портрет (ініціали під фото — видно, якщо фото немає) */
.rep { display: inline-flex; align-items: center; gap: 18px; margin-top: 28px; padding: 12px 28px 12px 12px; background: #fff; border-radius: var(--r-pill); box-shadow: var(--shadow-sm), 0 12px 32px -20px rgba(26, 56, 112, .35); max-width: 100%; }
.rep__photo { position: relative; width: 88px; height: 88px; border-radius: 50%; overflow: hidden; background: var(--bg-blue); flex: none; box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--blue-light); }
.rep__initials { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-head); font-weight: 500; font-size: 1.75rem; color: var(--primary); }
.rep__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.rep__photo img.img-broken { display: none; }
.rep__label { display: block; font-size: .8125rem; color: var(--muted); margin-bottom: 2px; }
.rep__name { display: block; font-family: var(--font-head); font-weight: 500; font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); line-height: 1.25; }
@media (max-width: 500px) { .rep { border-radius: var(--r-lg); padding-right: 16px; } .rep__photo { width: 64px; height: 64px; } }
.region-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; padding: 0; margin: 0; }
.rcard { position: relative; padding: 22px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); height: 100%; display: flex; flex-direction: column; gap: 8px; transition: border-color .2s, box-shadow .2s; }
.rcard:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.rcard h3 { font-size: 1.0625rem; margin: 0; }
.rcard h2 a, .rcard h3 a { color: var(--ink); text-decoration: none; }
.rcard h2 a::after, .rcard h3 a::after { content: ""; position: absolute; inset: 0; }
.rcard:hover h2 a, .rcard:hover h3 a { color: var(--primary); }
.rcard p { margin: 0; font-size: .875rem; color: var(--muted); display: flex; gap: 8px; }
.rcard p .i { width: 18px; height: 18px; color: var(--primary); margin-top: 2px; }

/* ---------- Сторінки ---------- */
.page-hero { background: var(--gradient); padding-block: clamp(28px, 4vw, 48px) clamp(36px, 5vw, 64px); }
.page-hero .h1 { margin: 0; max-width: 24ch; overflow-wrap: break-word; hyphens: auto; }
/* Довгі назви сторінок (100+ символів) — менший кегль, щоб не займали пів екрана й не налазили на ілюстрацію */
.page-hero .h1--long { font-size: clamp(1.625rem, 1.2rem + 1.5vw, 2.5rem); line-height: 1.15; max-width: 32ch; }
.page-hero .h1--xlong { font-size: clamp(1.375rem, 1.1rem + 1vw, 2rem); line-height: 1.2; max-width: 40ch; }
.page-hero__split > div { min-width: 0; }
.page-hero__lead { margin: 16px 0 0; }
.page-hero__row { display: flex; align-items: flex-start; gap: 24px; }
.page-hero__icon { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 20px; background: #fff; color: var(--primary); flex: none; }
.page-hero__icon .i { width: 36px; height: 36px; stroke-width: 1.5; }

.crumbs { margin-bottom: 20px; font-size: .875rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; }
.crumbs li { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); }
.crumbs li + li::before { content: "/"; color: var(--line-2); margin-right: 4px; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--primary); text-decoration: underline; }
.crumbs [aria-current] { color: var(--muted); max-width: 40ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.page-grid { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); padding-block: clamp(36px, 5vw, 64px) clamp(56px, 7vw, 96px); align-items: start; }
.page-grid--single { grid-template-columns: minmax(0, 1fr); max-width: 880px; }
.page-hero__split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.page-hero__figure { margin: 0; position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(15, 36, 71, .45); aspect-ratio: 3 / 2; background: var(--bg-blue); }
.page-hero__figure img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__figure figcaption { position: absolute; right: 10px; bottom: 10px; padding: 3px 10px; border-radius: var(--r-pill); background: rgba(13, 8, 2, .55); color: #fff; font-size: .6875rem; }
.page-hero__figure figcaption a { color: #fff; text-decoration: none; }
.page-hero__figure figcaption a:hover { text-decoration: underline; }
@media (max-width: 900px) { .page-hero__split { grid-template-columns: minmax(0, 1fr); } }
.page-grid--wide { max-width: none; }
.page-grid--wide .prose { max-width: none; }
.page-grid--wide .prose > p, .page-grid--wide .prose > ul, .page-grid--wide .prose > h2, .page-grid--wide .prose > h3 { max-width: 74ch; }
.page-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.page-tabs a { padding: 9px 16px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .75); border: 1px solid rgba(43, 85, 162, .16); color: var(--ink); text-decoration: none; font-size: .9375rem; font-weight: 500; }
.page-tabs a:hover { background: #fff; border-color: var(--primary); color: var(--primary); }
.page-tabs a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }
/* Якірні цілі в тексті не ховаються під липкою шапкою */
.prose [id] { scroll-margin-top: calc(var(--header-h) + 20px); }
.prose .anchor-target:target { background: var(--bg-blue); border-radius: 8px; box-shadow: 0 0 0 6px var(--bg-blue); }
.page-nav { position: sticky; top: calc(var(--header-h) + 20px); max-height: calc(100vh - var(--header-h) - 40px); overflow: auto; }
.page-nav__title { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; font-weight: 500; }
.page-nav__title a { color: inherit; text-decoration: none; }
.page-nav ul { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.page-nav li a { display: block; padding: 8px 0 8px 16px; margin-left: -2px; border-left: 2px solid transparent; color: var(--ink-2); text-decoration: none; font-size: .9375rem; line-height: 1.4; }
.page-nav li a:hover { color: var(--primary); border-left-color: var(--blue-light); }
.page-nav li a[aria-current="page"] { color: var(--primary); border-left-color: var(--primary); font-weight: 500; }
.page-updated { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .875rem; color: var(--muted); }

.child-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 32px; list-style: none; padding: 0; }
.child-cards a { display: flex; justify-content: space-between; align-items: center; gap: 16px; height: 100%; padding: 20px 22px; border-radius: var(--r); border: 1px solid var(--line); background: #fff; text-decoration: none; color: var(--ink); font-weight: 500; line-height: 1.35; transition: border-color .2s, box-shadow .2s; }
.child-cards a:hover { border-color: var(--primary); box-shadow: var(--shadow); color: var(--primary); }
.child-cards .i { color: var(--primary); }

.link-columns { columns: 3 260px; column-gap: 32px; list-style: none; margin: 32px 0 0; padding: 0; }
.link-columns li { break-inside: avoid; border-bottom: 1px solid var(--line); }
.link-columns a { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; color: var(--ink); text-decoration: none; line-height: 1.4; font-size: .9375rem; }
.link-columns a:hover { color: var(--primary); }
.link-columns .i { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--primary); }

/* Текст статей і сторінок */
.prose { font-size: 1.0625rem; line-height: 1.75; color: var(--ink-2); max-width: 74ch; overflow-wrap: anywhere; }
.prose > :first-child { margin-top: 0; }
/* Жирний у тексті — Medium (як акценти на всьому сайті), а не важкий Bold зі старого редактора */
.prose strong, .prose b { font-weight: 500; }
.prose h2 strong, .prose h3 strong, .prose h4 strong { font-weight: inherit; }
.prose h2 { font-size: 1.625rem; margin: 1.8em 0 .6em; color: var(--ink); }
.prose h3 { font-size: 1.3125rem; margin: 1.6em 0 .5em; color: var(--ink); }
.prose h4 { font-size: 1.125rem; margin: 1.4em 0 .4em; color: var(--ink); }
.prose p { margin: 0 0 1.1em; }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 1.4em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--primary); }
.prose a { color: var(--primary); text-decoration: underline; }
.prose img { border-radius: var(--r); margin: 1.5em 0; }
/* Декоративні SVG-іконки зі старого сайту не мають власного розміру */
.prose img[src$=".svg"], .prose img[src*=".svg?"] { width: 56px; height: auto; display: inline-block; margin: 0 12px 8px 0; border-radius: 0; vertical-align: middle; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--accent); font-family: var(--font-head); font-size: 1.25rem; font-weight: 300; color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .9375rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--bg-soft); font-weight: 500; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--r); margin: 1.5em 0; }
/* Посилання на файл у тексті — рядкове (не розриває речення); іконка — inline-block перед ним */
.prose a[href$=".pdf"], .prose a[href$=".doc"], .prose a[href$=".docx"], .prose a[href$=".xlsx"], .prose a[href$=".xls"] { display: inline; }
.prose a[href$=".pdf"]::before, .prose a[href$=".doc"]::before, .prose a[href$=".docx"]::before, .prose a[href$=".xlsx"]::before, .prose a[href$=".xls"]::before { display: inline-block; vertical-align: -3px; margin-right: 6px; }
.prose a[href$=".pdf"]::before, .prose a[href$=".doc"]::before, .prose a[href$=".docx"]::before, .prose a[href$=".xlsx"]::before, .prose a[href$=".xls"]::before { content: ""; width: 18px; height: 18px; flex: none; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 3v5h5M12 11v6M9 14l3 3 3-3'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 3v5h5M12 11v6M9 14l3 3 3-3'/%3E%3C/svg%3E") center / contain no-repeat; }

/* ---------- Новина ---------- */
.article__head { padding-block: clamp(28px, 4vw, 44px) 28px; max-width: 900px; }
.article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 18px; color: var(--muted); font-size: .9375rem; }
.article__title { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); line-height: 1.15; margin: 0; }
.article__grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(28px, 5vw, 64px); padding-bottom: clamp(56px, 7vw, 96px); align-items: start; }
.article__aside { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 16px; }

.gallery { margin: 0 0 36px; }
.gallery__main { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--bg-blue); aspect-ratio: 16 / 9; cursor: zoom-in; }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__count { position: absolute; right: 16px; bottom: 16px; display: inline-flex; gap: 6px; align-items: center; background: rgba(13, 8, 2, .72); color: #fff; padding: 6px 12px; border-radius: var(--r-pill); font-size: .8125rem; }
.gallery__thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.gallery__thumbs button { flex: none; width: 96px; aspect-ratio: 4 / 3; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: var(--bg-blue); opacity: .75; transition: opacity .2s, border-color .2s; }
.gallery__thumbs button[aria-current="true"], .gallery__thumbs button:hover { opacity: 1; border-color: var(--primary); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }

.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(8, 10, 16, .94); color: #fff; }
.lightbox::backdrop { background: rgba(8, 10, 16, .94); }
.lightbox__img { position: absolute; inset: 64px 72px; display: grid; place-items: center; }
.lightbox__img img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; }
.lightbox__btn { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center; }
.lightbox__btn:hover { background: rgba(255, 255, 255, .24); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__counter { position: absolute; top: 28px; left: 24px; font-size: .9375rem; color: #cfd3da; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.tags a { padding: 6px 14px; border-radius: var(--r-pill); background: var(--bg-soft); color: var(--ink-2); font-size: .875rem; text-decoration: none; }
.tags a:hover { background: var(--bg-blue); color: var(--primary); }
.share { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.share__label { font-weight: 500; margin-right: 8px; }
.share a, .share button { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); }
.share a:hover, .share button:hover { border-color: var(--ink); }
.share .i { width: 20px; height: 20px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 12px 20px; border-radius: var(--r-pill); z-index: 200; font-size: .9375rem; }

.help-card { padding: 26px; border-radius: var(--r-lg); background: var(--navy); color: #fff; }
.help-card h2 { color: #fff; font-size: 1.25rem; margin-bottom: 8px; }
.help-card p { color: #c3cde0; font-size: .9375rem; }
.help-card__phone { display: flex; align-items: baseline; gap: 10px; margin: 18px 0; color: #fff; text-decoration: none; }
.help-card__phone strong { font-family: var(--font-head); font-size: 2.5rem; font-weight: 400; line-height: 1; }
.help-card__phone span { color: #c3cde0; font-size: .875rem; }
.help-card .btn { width: 100%; }
.help-card__links { display: grid; gap: 6px; margin-top: 16px; font-size: .9375rem; }
.help-card__links a { color: #fff; }

.box { padding: 24px; border-radius: var(--r-lg); background: var(--bg-soft); }
.box h2 { font-size: 1.125rem; }

/* ---------- Ситуація ---------- */
.sit-hero--img { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.sit-hero__img { margin: 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 10; background: #fff; }
.sit-hero__img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .sit-hero--img { grid-template-columns: minmax(0, 1fr); } }
.sit-steps { list-style: none; margin: 0 0 40px; padding: 0; counter-reset: s; display: grid; gap: 0; }
.sit-steps li { counter-increment: s; position: relative; padding: 0 0 28px 64px; }
.sit-steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 42px; height: 42px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 500; font-size: 1.0625rem; }
.sit-steps li::after { content: ""; position: absolute; left: 20px; top: 48px; bottom: 6px; width: 2px; background: var(--line); }
.sit-steps li:last-child::after { display: none; }
.sit-steps h3 { font-size: 1.1875rem; margin: 8px 0 6px; }
.sit-steps p { margin: 0; color: var(--ink-2); }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.contact-list li { padding: 16px 18px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.contact-list strong { display: block; font-weight: 500; }
.contact-list a { font-size: 1.0625rem; font-weight: 500; }
.contact-list span { display: block; font-size: .875rem; color: var(--muted); }
.link-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.link-list a { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 14px 18px; border-radius: var(--r-sm); background: var(--bg-soft); color: var(--ink); text-decoration: none; }
.link-list a:hover { background: var(--bg-blue); color: var(--primary); }

/* ---------- Список новин: фільтри ---------- */
.list-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin: 28px 0 0; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 24px; }
.filters .select { width: auto; min-width: 200px; }
/* Фільтри новин — у стилі перемикача .tabs: біла «пігулка», тонка рамка, той самий шрифт */
.filters .select {
  min-height: 46px; padding: 9px 42px 9px 18px;
  border: 1px solid var(--line); border-radius: var(--r-pill);
  font-weight: 500; font-size: .9375rem !important; color: var(--ink); line-height: 1.3;
  background-position: right 16px center; background-size: 18px;
  transition: border-color .2s, box-shadow .2s;
}
.filters .select:hover { border-color: var(--line-2); }
.filters .btn { min-height: 46px; }
.results-count { color: var(--muted); font-size: .9375rem; margin: 28px 0 20px; }
.empty { text-align: center; padding: 64px 16px; color: var(--muted); }
.empty .i { width: 48px; height: 48px; color: var(--blue-light); margin-bottom: 12px; }

.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 48px; }
.pagination a, .pagination span { min-width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 12px; border-radius: var(--r-pill); text-decoration: none; color: var(--ink); font-weight: 500; }
.pagination a:hover { background: var(--bg-blue); color: var(--primary); }
.pagination [aria-current="page"] { background: var(--ink); color: #fff; }
.pagination .pagination__gap { color: var(--muted); }

/* ---------- Пошук ---------- */
.search-page { padding-block: 32px 96px; }
.search-form { display: flex; gap: 8px; max-width: 760px; }
.search-form .input { border-radius: var(--r-pill); padding-inline: 22px; }
.search-group { margin-top: 44px; }
.search-group h2 { font-size: 1.25rem; display: flex; align-items: center; gap: 10px; }
.search-group h2 .count { font-family: var(--font); font-size: .8125rem; background: var(--bg-soft); padding: 2px 10px; border-radius: var(--r-pill); color: var(--muted); font-weight: 500; }
.hit { position: relative; padding: 18px 0; border-bottom: 1px solid var(--line); }
.hit h3 { font-size: 1.0625rem; font-family: var(--font); font-weight: 500; margin: 0 0 6px; line-height: 1.4; }
.hit h3 a { color: var(--ink); text-decoration: none; }
.hit h3 a::after { content: ""; position: absolute; inset: 0; }
.hit:hover h3 a { color: var(--primary); }
.hit p { margin: 0; color: var(--muted); font-size: .9375rem; }
.hit__meta { font-size: .8125rem; color: var(--muted); margin-bottom: 4px; display: flex; gap: 8px; align-items: center; }

.search-dialog { width: min(100% - 32px, 760px); max-width: none; margin: 10vh auto auto; padding: 0; border: 0; border-radius: var(--r-lg); box-shadow: 0 32px 80px -24px rgba(13, 8, 2, .5); }
.search-dialog::backdrop { background: rgba(15, 36, 71, .55); backdrop-filter: blur(4px); }
.search-dialog form { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 24px; border-bottom: 1px solid var(--line); }
.search-dialog input { flex: 1; min-width: 0; border: 0; outline: 0; font-size: 1.25rem; padding: 12px 0; }
.search-dialog input:focus-visible { box-shadow: none; }
.search-dialog__body { padding: 20px 24px 24px; }
.search-dialog__body p { font-size: .8125rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin: 0 0 12px; }
.search-dialog__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.search-dialog__chips .chip { background: var(--bg-soft); border-color: transparent; }

/* ---------- Доступність: панель ---------- */
.a11y-dialog { width: min(100% - 32px, 440px); margin: auto 16px 16px auto; padding: 24px; border: 0; border-radius: var(--r-lg); box-shadow: 0 32px 80px -24px rgba(13, 8, 2, .5); }
.a11y-dialog::backdrop { background: rgba(15, 36, 71, .35); }
.a11y-dialog h2 { font-size: 1.25rem; display: flex; justify-content: space-between; align-items: center; }
.a11y-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.a11y-row:last-of-type { border-bottom: 0; }
.seg { display: inline-flex; gap: 4px; background: var(--bg-soft); padding: 4px; border-radius: var(--r-pill); }
.seg button { border: 0; background: transparent; min-width: 44px; height: 38px; border-radius: var(--r-pill); font-weight: 500; }
.seg button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.switch { position: relative; width: 52px; height: 30px; border-radius: 30px; border: 0; background: var(--line-2); transition: background-color .2s; flex: none; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: var(--shadow-sm); }
.switch[aria-checked="true"] { background: var(--primary); }
.switch[aria-checked="true"]::after { transform: translateX(22px); }

/* ---------- Cookies ---------- */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 120; max-width: 560px; padding: 20px 22px; background: #fff; border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: 0 24px 60px -20px rgba(13, 8, 2, .45); font-size: .9375rem; }
.cookie p { margin: 0 0 14px; color: var(--ink-2); }
.cookie__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cookie { opacity: 0; transform: translateY(24px); transition: opacity .3s var(--ease, ease), transform .35s var(--ease, ease); }
.cookie.is-in { opacity: 1; transform: none; }
.cookie__head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-family: var(--font-head); font-size: 1rem; }
.cookie__head strong { font-weight: 500; }
.cookie__icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: var(--bg-blue); color: var(--primary); flex: none; }
.cookie__icon .i { width: 20px; height: 20px; }
.cookie p a { color: var(--primary); }
@media (max-width: 720px) {
  .cookie { left: 10px; right: 10px; bottom: 10px; padding: 16px; border-radius: 18px; font-size: .875rem; }
  .cookie__actions .btn { flex: 1 1 0; justify-content: center; min-height: 44px; }
}

/* ---------- Футер ---------- */
.footer { background: var(--navy); color: #c3cde0; font-size: .9375rem; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { color: var(--accent); text-decoration: underline; }
.footer__top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; padding-block: 64px 48px; }
.footer__logo img { height: 56px; width: auto; filter: brightness(0) invert(1); margin-bottom: 20px; }
.footer h2 { font-family: var(--font); font-size: .75rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: #8ea0c0; margin: 0 0 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer__phone { font-family: var(--font-head); font-size: 2.5rem; line-height: 1; color: #fff; display: inline-block; margin-bottom: 6px; }
.footer__note { display: block; font-size: .8125rem; color: #8ea0c0; }
.footer__social { display: flex; gap: 8px; margin-top: 20px; flex-wrap: wrap; }
.footer__social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); }
.footer__social a:hover { background: var(--accent); color: var(--ink); }
.footer__social .i { width: 20px; height: 20px; }
.footer__corruption { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; padding: 10px 16px; border-radius: var(--r-pill); border: 1px solid rgba(255, 255, 255, .2); }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding-block: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .8125rem; color: #8ea0c0; }
.footer__bottom ul { display: flex; gap: 20px; flex-wrap: wrap; }
.footer__bottom a { color: #c3cde0; }

/* ---------- 404 ---------- */
.error-page { text-align: center; padding-block: clamp(64px, 10vw, 140px); }
.error-page__code { font-family: var(--font-head); font-size: clamp(5rem, 3rem + 10vw, 11rem); line-height: 1; color: var(--blue-light); margin: 0; }
.error-page .search-form { margin: 32px auto 0; }

/* ---------- Адаптивність ---------- */
@media (min-width: 1340px) {
  .header__search { display: none; }
}
@media (max-width: 1339px) {
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .topbar__search { display: none; }
}
@media (max-width: 900px) {
  .topbar__btn span:not(.sr-only) { display: none; }
}
@media (max-width: 1100px) {
  .sit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sit-grid--home .sit:nth-child(-n+2) { grid-column: span 1; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__aside { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-home, .how, .regions-home { grid-template-columns: minmax(0, 1fr); }
  .news-grid, .docs, .region-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(2) { border-right: 0; margin-right: 0; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .article__grid, .page-grid { grid-template-columns: minmax(0, 1fr); }
  .article__aside, .page-nav { position: static; max-height: none; }
  .page-nav { order: 2; }
}
@media (max-width: 1100px) {
  .slide { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .slide__media { aspect-ratio: 16 / 9; }
  .slide__body::before { top: 0; bottom: auto; left: 28px; right: auto; width: 48px; height: 3px; }
  .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .timeline::before { display: none; }
  .precheck { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  :root { --header-h: 64px; }
  .timeline, .precheck__list { grid-template-columns: minmax(0, 1fr); }
  .events__ctrl .icon-btn[data-slider-toggle] { display: none; }
  .topbar__intl, .topbar__btn span, .topbar__phone span { display: none; }
  .logo img { height: 40px; }
  .header__cta { display: none; }
  .header__in { gap: 12px; }
  .icon-btn { width: 44px; height: 44px; }
  .hero__aside { grid-template-columns: minmax(0, 1fr); }
  .hero-search__field { flex-wrap: wrap; border-radius: var(--r); padding: 8px; }
  .hero-search__field .i { display: none; }
  .hero-search__field input { padding: 10px 12px; flex-basis: 100%; }
  .hero-search__field .btn { width: 100%; }
  .sit-grid, .news-grid, .docs, .region-cards, .steps, .child-cards { grid-template-columns: minmax(0, 1fr); }
  .stats__grid { grid-template-columns: minmax(0, 1fr); }
  .stat { border-right: 0; margin-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .14); padding: 22px 0; }
  .omb { grid-template-columns: minmax(0, 1fr); }
  .omb__photo { max-width: 360px; }
  .footer__top { grid-template-columns: minmax(0, 1fr); }
  .rmap { gap: 3px; }
  .rmap__tile { border-radius: 7px; font-size: .625rem; }
  .filters .select { min-width: 0; flex: 1 1 140px; }
  .search-form { flex-direction: column; }
  .page-hero__row { flex-direction: column; gap: 16px; }
  .lightbox__img { inset: 64px 8px; }
  .row-item { grid-template-columns: 72px minmax(0, 1fr); }
  .tabs { width: 100%; }
}

/* ---------- Мобільна версія: компактніше ---------- */
@media (max-width: 720px) {
  body { overflow-x: clip; }
  .section { padding-block: 40px; }
  .section--tight { padding-block: 32px; }
  .section-head { margin-bottom: 20px; gap: 12px; }
  .section-head__sub { margin-top: 8px; }
  .h1 { font-size: 1.75rem; line-height: 1.15; }
  .h2 { font-size: 1.5rem; }
  .lead { font-size: 1rem; line-height: 1.5; }
  .eyebrow { font-size: .6875rem; margin-bottom: 10px; }

  .hero__grid { padding-block: 24px 32px; gap: 24px; }
  .hero__title { font-size: 1.875rem; margin-bottom: 12px; }
  .hero__lead { font-size: 1rem; line-height: 1.5; margin-bottom: 20px; }
  .hero-search__field input { font-size: 1rem; padding: 8px 10px; }
  .hero__chips { margin-top: 14px; gap: 6px; }
  .chip { padding: 6px 12px; font-size: .875rem; }

  .page-hero { padding-block: 16px 28px; }
  .page-hero .h1--long { font-size: 1.5rem; }
  .page-hero .h1--xlong { font-size: 1.3125rem; }
  .page-hero__lead { margin-top: 10px; }
  .page-hero__figure, .sit-hero__img { aspect-ratio: 16 / 9; }

  /* Хлібні крихти: на телефоні — один рядок «‹ батьківський розділ», без переносу й прокрутки */
  .crumbs { margin-bottom: 12px; font-size: .8125rem; }
  .crumbs li { display: none; }
  .crumbs li:nth-last-child(2) { display: flex; min-width: 0; max-width: 100%; }
  .crumbs li:nth-last-child(2)::before { content: "‹"; color: var(--primary); font-size: 1.25em; line-height: 1; margin-right: 6px; }
  .crumbs li:nth-last-child(2) a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--primary); }

  /* Життєва ситуація: без окремої плитки-іконки над заголовком, зображення нижче й менше */
  .sit-hero .page-hero__icon { display: none; }
  .sit-hero--img { gap: 20px; }
  .sit-hero .badge { margin-bottom: 8px !important; }
  .article__grid { padding-top: 28px !important; gap: 28px; }

  /* Сторінки розділів: менший відступ під hero, щільніші картки-посилання/документи */
  .page-grid { padding-block: 24px 48px; gap: 28px; }
  .page-main .prose .hub-grid { gap: 10px; }
  .page-main .prose a.hub-card { padding: 14px 16px; gap: 12px; border-radius: 14px; }
  .page-main .prose .hub-card__icon { width: 36px; height: 36px; }
  .page-main .prose .hub-card__title { font-size: .9375rem; line-height: 1.35; }

  /* Вкладки розділу в hero: дрібніші «пігулки», по ширині тексту */
  .page-tabs { gap: 6px; margin-top: 16px; }
  .page-tabs a { padding: 6px 12px; font-size: .8125rem; line-height: 1.3; }
}

/* ===== Hero головної: фон-патерн + кільце з логотипа й рука, з анімацією появи (ПК; мобільний — нижче) ===== */
.hero {
  background:
    linear-gradient(180deg, rgba(238, 243, 248, 0) 0%, rgba(238, 243, 248, .45) 55%, #eef3f8 100%),
    radial-gradient(55% 75% at 100% 0%, rgba(43, 85, 162, .2), transparent 70%),
    radial-gradient(45% 60% at 0% 100%, rgba(255, 204, 0, .14), transparent 70%),
    #f3f6fa;
}
.hero::before, .hero::after { display: none; }
.hero__decor { position: absolute; top: -150px; right: -150px; width: min(640px, 52vw); aspect-ratio: 1; z-index: -1; pointer-events: none; }
.hero__ring {
  position: absolute; inset: 0; border-radius: 50%;
  /* коло з логотипа: синя дуга зліва-згори, жовта знизу, розрив праворуч угорі */
  background: conic-gradient(from 0deg, #245eab 0deg 10deg, transparent 10deg 95deg, #ffca05 95deg 265deg, transparent 265deg 275deg, #245eab 275deg 360deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 11px), #000 calc(100% - 10px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 11px), #000 calc(100% - 10px));
  opacity: .45;
  animation: hero-ring 1.4s var(--ease, ease) both;
}
.hero__hand { position: absolute; left: 20%; top: 22%; width: 56%; height: auto; opacity: .07; animation: hero-hand 1.6s var(--ease, ease) .2s both; }
@keyframes hero-ring { from { transform: rotate(-70deg) scale(.86); opacity: 0; } to { transform: none; opacity: .45; } }
@keyframes hero-hand { from { transform: translate(-14px, 18px) rotate(-8deg); opacity: 0; } to { transform: none; opacity: .07; } }

/* ---------- Мобільна версія: увесь текст на ~15% менший ---------- */
@media (max-width: 720px) {
  html { font-size: 85%; }
  html.fs-1 { font-size: 100%; }
  html.fs-2 { font-size: 117%; }
  /* поля вводу ≥16px — інакше iPhone збільшує сторінку при фокусі */
  input[type="search"], input[type="text"], input[type="email"], input[type="tel"], input[type="password"], select, textarea { font-size: 16px !important; }

  /* Топбар — в один рядок */
  .topbar__hotline { flex-wrap: nowrap; min-width: 0; gap: 12px; }
  /* overflow:hidden потрібен для «…», тому даємо крапці місце для ореолу (padding), а margin компенсує зсув */
  .topbar__status { white-space: nowrap; min-width: 0; overflow: hidden; text-overflow: ellipsis; font-size: .8125rem; padding: 8px 2px 8px 8px; margin: -8px 0 -8px -8px; }

  /* Слайдер: тип, дата й регіон — в один рядок */
  .slide__meta { flex-wrap: nowrap; white-space: nowrap; gap: 8px; font-size: .8125rem; min-width: 0; }
  .slide__meta > * { flex: none; }
  .slide__meta > span:last-child:not(.badge) { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  .slide__body { gap: 12px; padding: 22px 20px 24px; }

  /* ===== Перший екран головної ===== */
  .hero {
    background:
      linear-gradient(180deg, rgba(238, 243, 248, 0) 0%, rgba(238, 243, 248, .55) 45%, #eef3f8 88%),
      radial-gradient(90% 60% at 100% 0%, rgba(43, 85, 162, .22), transparent 70%),
      radial-gradient(70% 50% at 0% 100%, rgba(255, 204, 0, .16), transparent 70%),
      #f3f6fa;
  }
  .hero::before, .hero::after { display: none; }
  .hero__decor { display: block; position: absolute; top: -70px; right: -130px; width: 300px; height: 300px; z-index: -1; pointer-events: none; }
  .hero-search__field input::placeholder { font-size: 14px; }
  .hero__ring {
    position: absolute; inset: 0; border-radius: 50%;
    /* коло з логотипа: синя дуга зліва-згори, жовта знизу, розрив праворуч угорі */
    background: conic-gradient(from 0deg, #245eab 0deg 10deg, transparent 10deg 95deg, #ffca05 95deg 265deg, transparent 265deg 275deg, #245eab 275deg 360deg);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 7px), #000 calc(100% - 6px));
            mask: radial-gradient(farthest-side, transparent calc(100% - 7px), #000 calc(100% - 6px));
    opacity: .45;
    animation: hero-ring 1.4s var(--ease, ease) both;
  }
  .hero__hand { position: absolute; left: 20%; top: 22%; width: 56%; height: auto; opacity: .07; animation: hero-hand 1.6s var(--ease, ease) .2s both; }
  @keyframes hero-ring { from { transform: rotate(-70deg) scale(.86); opacity: 0; } to { transform: none; opacity: .45; } }
  @keyframes hero-hand { from { transform: translate(-14px, 18px) rotate(-8deg); opacity: 0; } to { transform: none; opacity: .07; } }

  .hero__grid { padding-block: 28px 32px; gap: 20px; }
  .hero .eyebrow { flex-wrap: wrap; row-gap: 2px; line-height: 1.35; }
  .hero .eyebrow__tail { flex-basis: 100%; padding-left: 26px; }

  /* Чотири швидкі дії — однакового розміру */
  .hero__aside { grid-auto-rows: 1fr; gap: 10px; }
  .qa { min-height: 76px; padding: 14px 16px; gap: 14px; }
  .qa__icon { width: 42px; height: 42px; border-radius: 12px; }
  .qa__text strong { overflow-wrap: anywhere; line-height: 1.25; }
  .qa__text > span { font-size: .875rem; line-height: 1.35; }
  .qa__arrow { flex: none; }

  /* Топбар — нижчий, дрібніший, в один рядок */
  .topbar { font-size: .8125rem; }
  .topbar__in { min-height: 36px; gap: 8px; }
  .topbar__phone strong { font-size: .9375rem; }
  .topbar__phone .i, .topbar__btn .i { width: 16px; height: 16px; }
  .topbar__btn { padding: 6px; }
  .topbar .lang { padding: 2px; }
  .topbar .lang a { padding: 3px 10px; font-size: .75rem; }
  .hero__title { font-size: 2.25rem; line-height: 1.06; margin-bottom: 14px; max-width: 13ch; }
  .hero__title mark {
    background: linear-gradient(90deg, #1f4a99, #3f78d6);
    -webkit-background-clip: text; background-clip: text; color: transparent;
  }
  .hero__lead { font-size: 1.0625rem; margin-bottom: 20px; }
  /* Пошук — «скляна» картка */
  .hero-search {
    padding: 16px; border-radius: 22px;
    background: rgba(255, 255, 255, .72);
    -webkit-backdrop-filter: blur(12px) saturate(1.3); backdrop-filter: blur(12px) saturate(1.3);
    border: 1px solid rgba(255, 255, 255, .9);
    box-shadow: 0 18px 40px -22px rgba(15, 36, 71, .45);
  }
  .hero-search__label { font-size: .9375rem; margin-bottom: 10px; }
  .hero-search__field { box-shadow: none; border: 1.5px solid rgba(43, 85, 162, .18); padding: 6px; border-radius: 16px; }
  .hero-search__field .btn { border-radius: 12px; }
  .hero__chips { margin-top: 14px; }
  .hero__chips-label { flex-basis: 100%; margin: 0 0 2px; font-size: .8125rem; }
  .hero .chip { background: rgba(255, 255, 255, .85); }
}

/* ---------- Режим доступності ---------- */
html.fs-1 { font-size: 112.5%; }
html.fs-2 { font-size: 131.25%; }
html.ul-links a { text-decoration: underline !important; }
html.no-motion *, html.no-motion *::before, html.no-motion *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html.hc {
  --ink: #000; --ink-2: #000; --muted: #1a1a1a; --line: #000; --line-2: #000; --bg-soft: #fff; --bg-blue: #fff; --bg-blue-2: #fff;
  --primary: #0033a0; --primary-700: #001f66; --navy: #000; --gradient: #fff; --blue-light: #000;
}
html.hc body { background: #fff; }
html.hc .hero::before, html.hc .hero::after, html.hc .stats::before { display: none; }
html.hc .card, html.hc .sit__link, html.hc .qa, html.hc .rcard, html.hc .doc, html.hc .steps li, html.hc .news-rows { border: 2px solid #000; box-shadow: none; }
html.hc .card__media img, html.hc .row-item__thumb img { filter: grayscale(1) contrast(1.1); }
html.hc .topbar, html.hc .footer, html.hc .stats, html.hc .help-card { background: #000; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

@media print {
  .topbar, .header, .footer, .article__aside, .share, .cookie, .page-nav, .alert-banner { display: none !important; }
  body { font-size: 12pt; }
  .prose { max-width: none; }
  a { color: #000; }
}

/* ---------- Невисокі екрани ноутбуків (ширина ПК, висота ≤ 820px): перший екран не має з’їдати всю висоту ---------- */
@media (min-width: 901px) and (max-height: 820px) {
  :root { --header-h: 64px; }
  .topbar__in { min-height: 38px; }
  .logo img { height: 40px; }
  .section { padding-block: clamp(44px, 6vw, 72px); }

  /* Шапка сторінок розділів */
  .page-hero { padding-block: 16px 28px; }
  .crumbs { margin-bottom: 12px; }
  .page-hero .h1 { font-size: clamp(1.875rem, 1.1rem + 2.2vw, 2.875rem); }
  .page-hero .h1--long { font-size: clamp(1.5rem, 1rem + 1.4vw, 2.125rem); }
  .page-hero .h1--xlong { font-size: clamp(1.3125rem, 1rem + 1vw, 1.75rem); }
  .page-hero__lead { margin-top: 10px; }
  .page-tabs { margin-top: 14px; }
  .page-hero__icon { width: 56px; height: 56px; border-radius: 16px; }
  /* Ілюстрація: висота від висоти екрана, ширина — за пропорцією 3:2 (без обрізання) */
  .page-hero__figure { height: clamp(180px, 42vh, 340px); width: auto; max-width: 100%; aspect-ratio: 3 / 2; justify-self: end; }
  .sit-hero__img { height: clamp(180px, 40vh, 320px); width: auto; max-width: 100%; aspect-ratio: 16 / 10; justify-self: end; }
  .rep { margin-top: 18px; padding-block: 8px; }
  .rep__photo { width: 64px; height: 64px; }
  /* Карта в шапці сторінки регіону — висота від висоти екрана, пропорції збережені */
  .page-hero .regions-home .rmap--svg { display: flex; justify-content: flex-end; }
  .page-hero .regions-home .rmap__svg { width: auto; max-width: 100%; height: clamp(220px, 46vh, 380px); }

  /* Головна */
  .hero__grid { padding-block: 28px 36px; gap: clamp(28px, 4vw, 56px); }
  .hero__title { font-size: clamp(2rem, 1.1rem + 2.6vw, 3.25rem); margin-bottom: 14px; max-width: 22ch; }
  .hero__lead { font-size: 1.0625rem; margin-bottom: 20px; }
  .hero .eyebrow { margin-bottom: 10px; }
  .hero-search__label { margin-bottom: 8px; }
  .hero__chips { margin-top: 14px; }
  .hero__aside { gap: 10px; }
  .qa { padding: 12px 16px; }
  .qa__icon { width: 40px; height: 40px; border-radius: 12px; }

  /* Сторінка Омбудсмана */
  .ombp { padding-block: 16px 44px; }
  .ombp__grid { grid-template-columns: minmax(200px, 270px) minmax(0, 1fr); margin-top: 8px; }
  .ombp__photo { max-height: calc(100vh - 190px); }
  .ombp__name { font-size: clamp(1.875rem, 1rem + 2vw, 2.625rem); margin-bottom: 10px; }
  .ombp__since { font-size: 1rem; margin-bottom: 14px; max-width: 64ch; }
  .ombp__quote { margin-bottom: 16px; font-size: clamp(1.0625rem, .95rem + .45vw, 1.25rem); max-width: 58ch; }
  .ombp__meta { margin-bottom: 16px; }
  .ombp__soc a { width: 42px; height: 42px; }
  .hero__grid { padding-block: 22px 30px; }
  .hero__chips-label { display: none; }
}
/* Зовсім низькі (≤ 700px, напр. 1366×768 з панелями браузера) — ще щільніше */
@media (min-width: 901px) and (max-height: 700px) {
  .page-hero__figure { height: clamp(170px, 38vh, 280px); }
  .sit-hero__img { height: clamp(170px, 36vh, 260px); }
  .hero__title { font-size: clamp(1.875rem, 1rem + 2.3vw, 2.875rem); }
  .hero__lead { margin-bottom: 16px; }
  .page-hero .h1 { font-size: clamp(1.75rem, 1rem + 2vw, 2.5rem); }
}
