/*
 * Академик — стили сайта ООО УК «Академик» (один файл на сайте).
 *
 * Разметка контента — классы ak-* (общий контракт AK Sites Kit) и uk-* (CONTRACT.md стенда).
 * Свои классы темы — akd-*. Вид формы, окна связи, cookie и содержания задают переменные --aksk-*.
 * Значки — data-URI в переменных --akd-i-*: красятся через mask + background-color.
 */

/* ================================================================== Шрифты */

@font-face {
	font-family: "Wix Madefor Text";
	font-style: normal;
	font-weight: 400 600;
	font-display: swap;
	src: url("../fonts/wix-madefor-text-cyrillic.woff2") format("woff2");
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
	font-family: "Wix Madefor Text";
	font-style: normal;
	font-weight: 400 600;
	font-display: swap;
	src: url("../fonts/wix-madefor-text-cyrillic-ext.woff2") format("woff2");
	unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
	font-family: "Wix Madefor Text";
	font-style: normal;
	font-weight: 400 600;
	font-display: swap;
	src: url("../fonts/wix-madefor-text-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Wix Madefor Text";
	font-style: normal;
	font-weight: 400 600;
	font-display: swap;
	src: url("../fonts/wix-madefor-text-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "Geologica";
	font-style: normal;
	font-weight: 600 700;
	font-display: swap;
	src: url("../fonts/geologica-cyrillic.woff2") format("woff2");
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
	font-family: "Geologica";
	font-style: normal;
	font-weight: 600 700;
	font-display: swap;
	src: url("../fonts/geologica-cyrillic-ext.woff2") format("woff2");
	unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
	font-family: "Geologica";
	font-style: normal;
	font-weight: 600 700;
	font-display: swap;
	src: url("../fonts/geologica-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Geologica";
	font-style: normal;
	font-weight: 600 700;
	font-display: swap;
	src: url("../fonts/geologica-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ================================================================== Токены */

:root {
	--akd-paper: #F6F4EF;
	--akd-paper-2: #EFEBE3;
	--akd-surface: #FFFFFF;
	--akd-ink: #0F2440;
	--akd-ink-2: #1B355A;
	--akd-text: #1C2433;
	--akd-muted: #5E6573;
	--akd-line: #E4DFD5;
	--akd-line-2: #D6D0C4;
	--akd-accent: #C62F3E;
	--akd-accent-hover: #A82533;
	--akd-accent-soft: #FBEAEA;
	--akd-info: #E9EEF6;
	--akd-warn: #FBEAEA;
	--akd-zebra: #FAF8F4;
	--akd-thead: #EDF0F5;
	--akd-focus: #2457C5;
	--akd-on-dark: #FFFFFF;
	--akd-on-dark-muted: rgba(255, 255, 255, 0.74);
	--akd-on-dark-line: rgba(255, 255, 255, 0.14);

	--akd-font: "Wix Madefor Text", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--akd-font-title: "Geologica", "Wix Madefor Text", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

	--akd-radius: 18px;
	--akd-radius-sm: 12px;
	--akd-radius-lg: 28px;
	--akd-shadow-sm: 0 1px 2px rgba(15, 36, 64, 0.05), 0 4px 14px -6px rgba(15, 36, 64, 0.10);
	--akd-shadow: 0 2px 4px rgba(15, 36, 64, 0.04), 0 18px 36px -18px rgba(15, 36, 64, 0.22);
	--akd-shadow-lg: 0 4px 10px rgba(15, 36, 64, 0.06), 0 30px 60px -24px rgba(15, 36, 64, 0.30);
	--akd-shadow-paper: 0 1px 1px rgba(15, 36, 64, 0.05), 0 10px 22px -12px rgba(15, 36, 64, 0.32);

	--akd-container: 1200px;
	--akd-col: 760px;
	--akd-gutter: clamp(16px, 4vw, 32px);
	--akd-sec-y: clamp(56px, 7vw, 96px);
	--akd-header-h: 77px;

	/* Переменные плагина AK Sites Kit */
	--aksk-accent: var(--akd-accent);
	--aksk-accent-hover: var(--akd-accent-hover);
	--aksk-on-accent: #FFFFFF;
	--aksk-surface: var(--akd-surface);
	--aksk-text: var(--akd-text);
	--aksk-muted: var(--akd-muted);
	--aksk-line: var(--akd-line);
	--aksk-field: var(--akd-paper);
	--aksk-dark: var(--akd-ink);
	--aksk-on-dark: #FFFFFF;
	--aksk-radius: var(--akd-radius);
	--aksk-radius-sm: var(--akd-radius-sm);
	--aksk-font: var(--akd-font);
	--aksk-font-title: var(--akd-font-title);
	--aksk-shadow: 0 30px 70px -20px rgba(15, 36, 64, 0.45);
	--aksk-ph-bg: #EFE2D2;
	--aksk-ph-fg: #9C7F6B;

	/* Значки (24×24, обводка) и орбиты */
	--akd-i-houses: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 20.5V9.5l5-2.5v13.5M8.5 20.5V4.5l12 4v12M2.5 20.5h19M11.5 9.5h1.5M11.5 12.5h1.5M11.5 15.5h1.5M16 11h1.5M16 14h1.5M16 17h1.5M5.5 12h1M5.5 15h1'/%3E%3C/svg%3E");
	--akd-i-tariff: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3.5h12v17l-2-1.4-2 1.4-2-1.4-2 1.4-2-1.4-2 1.4zM10.3 15.5V7.8h2.5a2.2 2.2 0 0 1 0 4.4H9.2M9.2 14h4'/%3E%3C/svg%3E");
	--akd-i-disclosure: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13.5 3.5h-7A1.5 1.5 0 0 0 5 5v14a1.5 1.5 0 0 0 1.5 1.5h4.5M13.5 3.5l5 5v2.5M13.5 3.5v5h5M8 10.5h4M8 14h2.5M18.7 18.7l2.3 2.3'/%3E%3Ccircle cx='16.3' cy='16.3' r='3.2'/%3E%3C/svg%3E");
	--akd-i-info: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M12 11v5.5M12 7.7v.1'/%3E%3C/svg%3E");
	--akd-i-waste: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 6.5h15M9.5 6.5V4h5v2.5M6.5 6.5l1 14h9l1-14M10 10.5v6.5M14 10.5v6.5'/%3E%3C/svg%3E");
	--akd-i-reports: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 20.5h17M6 20.5v-5.5M10.3 20.5v-9M14.6 20.5v-7M18.9 20.5V5'/%3E%3C/svg%3E");
	--akd-i-repair: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.5 5.5a4 4 0 0 0-5 5.2l-5.7 5.7a1.9 1.9 0 0 0 2.7 2.7l5.7-5.7a4 4 0 0 0 5.2-5l-2.6 2.6-2.4-.6-.6-2.4z'/%3E%3C/svg%3E");
	--akd-i-news: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5.5h12.5v13a2 2 0 0 0 2 2H6a2 2 0 0 1-2-2zM16.5 9H20v9.5a2 2 0 0 1-2 2M7 9h6.5M7 12.5h6.5M7 16h4'/%3E%3C/svg%3E");
	--akd-i-gis: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 9.5 12 4l8.5 5.5M5.5 9.5v8M10 9.5v8M14 9.5v8M18.5 9.5v8M3 20.5h18M4 17.5h16'/%3E%3C/svg%3E");
	--akd-i-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
	--akd-i-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
	--akd-i-siren: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 18.5V13a5.5 5.5 0 0 1 11 0v5.5M4.5 18.5h15V21h-15zM12 3v2M4.6 6.1 6 7.5M19.4 6.1 18 7.5M12 11v3'/%3E%3C/svg%3E");
	--akd-i-pin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-6.5-6.1-6.5-11a6.5 6.5 0 0 1 13 0c0 4.9-6.5 11-6.5 11z'/%3E%3Ccircle cx='12' cy='10' r='2.4'/%3E%3C/svg%3E");
	--akd-i-phone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h3.2l1.6 4.2-2.1 1.3a11 11 0 0 0 6.8 6.8l1.3-2.1L20 15.8V19a1.5 1.5 0 0 1-1.6 1.5A16.5 16.5 0 0 1 3.5 5.6 1.5 1.5 0 0 1 5 4z'/%3E%3C/svg%3E");
	--akd-i-mail: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5.5' width='17' height='13' rx='2'/%3E%3Cpath d='M4 7l8 6 8-6'/%3E%3C/svg%3E");
	--akd-i-calendar: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='5.5' width='16' height='14.5' rx='2'/%3E%3Cpath d='M4 10h16M8.5 3.5v4M15.5 3.5v4M8 13.5h2M14 13.5h2M8 16.8h2'/%3E%3C/svg%3E");
	--akd-i-alert: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4.5 21 20H3zM12 10v4.5M12 17.2v.2'/%3E%3C/svg%3E");
	--akd-i-download: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11M7 10.5l5 5 5-5M5 20h14'/%3E%3C/svg%3E");
	--akd-i-mega: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 10v4a1 1 0 0 0 1 1h2l6 4V5L7 9H5a1 1 0 0 0-1 1zM17 9a4 4 0 0 1 0 6'/%3E%3C/svg%3E");
	--akd-i-external: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 4h6v6M20 4l-8.5 8.5M18 14v4.5a1.5 1.5 0 0 1-1.5 1.5h-11A1.5 1.5 0 0 1 4 18.5v-11A1.5 1.5 0 0 1 5.5 6H10'/%3E%3C/svg%3E");
	--akd-i-card: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='6' width='18' height='13' rx='2'/%3E%3Cpath d='M3 10h18M7 15h3'/%3E%3C/svg%3E");
	--akd-orbits-ink: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 400'%3E%3Cg stroke='%230F2440' stroke-opacity='.09' stroke-width='1.2' fill='none'%3E%3Cellipse cx='200' cy='200' rx='192' ry='70' transform='rotate(0 200 200)' vector-effect='non-scaling-stroke'/%3E%3Cellipse cx='200' cy='200' rx='192' ry='70' transform='rotate(60 200 200)' vector-effect='non-scaling-stroke'/%3E%3Cellipse cx='200' cy='200' rx='192' ry='70' transform='rotate(120 200 200)' vector-effect='non-scaling-stroke'/%3E%3C/g%3E%3Cg fill='%230F2440' fill-opacity='0.20'%3E%3Ccircle cx='392' cy='200' r='3.5'/%3E%3Ccircle cx='104' cy='366.3' r='3.5'/%3E%3Ccircle cx='104' cy='33.7' r='3.5'/%3E%3C/g%3E%3C/svg%3E");
	--akd-orbits-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 400'%3E%3Cg stroke='%23FFFFFF' stroke-opacity='.13' stroke-width='1.2' fill='none'%3E%3Cellipse cx='200' cy='200' rx='192' ry='70' transform='rotate(0 200 200)' vector-effect='non-scaling-stroke'/%3E%3Cellipse cx='200' cy='200' rx='192' ry='70' transform='rotate(60 200 200)' vector-effect='non-scaling-stroke'/%3E%3Cellipse cx='200' cy='200' rx='192' ry='70' transform='rotate(120 200 200)' vector-effect='non-scaling-stroke'/%3E%3C/g%3E%3C/svg%3E");
	--akd-orbits-ph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 400'%3E%3Cg stroke='%230F2440' stroke-opacity='.16' stroke-width='1.2' fill='none'%3E%3Cellipse cx='200' cy='200' rx='192' ry='70' transform='rotate(0 200 200)' vector-effect='non-scaling-stroke'/%3E%3Cellipse cx='200' cy='200' rx='192' ry='70' transform='rotate(60 200 200)' vector-effect='non-scaling-stroke'/%3E%3Cellipse cx='200' cy='200' rx='192' ry='70' transform='rotate(120 200 200)' vector-effect='non-scaling-stroke'/%3E%3C/g%3E%3Cg fill='%230F2440' fill-opacity='0.35'%3E%3Ccircle cx='392' cy='200' r='3.5'/%3E%3Ccircle cx='104' cy='366.3' r='3.5'/%3E%3Ccircle cx='104' cy='33.7' r='3.5'/%3E%3C/g%3E%3Ccircle cx='200' cy='200' r='12' fill='%23C62F3E'/%3E%3C/svg%3E");
	--akd-i-mega-accent: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A82533' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 10v4a1 1 0 0 0 1 1h2l6 4V5L7 9H5a1 1 0 0 0-1 1zM17 9a4 4 0 0 1 0 6'/%3E%3C/svg%3E");
	--akd-i-siren-white: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 18.5V13a5.5 5.5 0 0 1 11 0v5.5M4.5 18.5h15V21h-15zM12 3v2M4.6 6.1 6 7.5M19.4 6.1 18 7.5M12 11v3'/%3E%3C/svg%3E");
}

/* ===================================================================== База */

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

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-padding-top: calc(var(--akd-header-h) + 20px);
}

@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

body {
	margin: 0;
	background: var(--akd-paper);
	color: var(--akd-text);
	font-family: var(--akd-font);
	font-size: 17px;
	font-weight: 400;
	line-height: 1.62;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-wrap: break-word;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 0.6em;
	color: var(--akd-ink);
	font-family: var(--akd-font-title);
	font-weight: 700;
	line-height: 1.18;
	letter-spacing: -0.01em;
	text-wrap: balance;
}

h3,
h4,
h5,
h6 {
	font-weight: 600;
}

h1 strong,
h2 strong,
h3 strong,
h4 strong {
	font-weight: inherit;
}

p {
	margin: 0 0 1em;
}

img,
svg,
video {
	max-width: 100%;
	height: auto;
}

a {
	color: var(--akd-ink);
	text-decoration-color: color-mix(in srgb, var(--akd-accent) 55%, transparent);
	text-decoration-thickness: 1.5px;
	text-underline-offset: 3px;
	transition: color 0.15s, text-decoration-color 0.15s, background-color 0.15s, border-color 0.15s;
}

a:hover {
	color: var(--akd-accent);
	text-decoration-color: currentColor;
}

a[href^="tel:"] {
	white-space: nowrap;
}

strong,
b {
	font-weight: 600;
}

button,
input,
select,
textarea {
	font: inherit;
}

hr {
	height: 1px;
	margin: 2em 0;
	border: 0;
	background: var(--akd-line);
}

::selection {
	background: rgba(198, 47, 62, 0.18);
	color: var(--akd-ink);
}

:focus-visible {
	outline: 3px solid var(--akd-focus);
	outline-offset: 2px;
	border-radius: 4px;
}

.akd-main:focus {
	outline: none;
}

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

.akd-skip {
	position: absolute;
	top: -200px;
	left: 12px;
	z-index: 2000;
	padding: 12px 18px;
	border-radius: var(--akd-radius-sm);
	background: var(--akd-ink);
	color: #fff;
	font-weight: 600;
	text-decoration: none;
}

.akd-skip:focus {
	top: 12px;
	color: #fff;
}

.akd-container {
	width: 100%;
	max-width: calc(var(--akd-container) + 2 * var(--akd-gutter));
	margin-inline: auto;
	padding-inline: var(--akd-gutter);
}

.akd-icon {
	flex: none;
}

/* Шапка шире колонки контента: меню из шести пунктов встаёт в одну строку с логотипом */
.akd-topbar .akd-container,
.akd-header .akd-container {
	max-width: calc(1320px + 2 * var(--akd-gutter));
}

/* Красная точка-пульс аварийной службы */
.akd-pulse {
	position: relative;
	display: inline-block;
	flex: none;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: #E5484D;
	box-shadow: 0 0 0 0 rgba(229, 72, 77, 0.6);
}

@media (prefers-reduced-motion: no-preference) {
	.akd-pulse {
		animation: akd-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
	}
}

@keyframes akd-pulse {
	0% {
		box-shadow: 0 0 0 0 rgba(229, 72, 77, 0.65);
	}

	70% {
		box-shadow: 0 0 0 9px rgba(229, 72, 77, 0);
	}

	100% {
		box-shadow: 0 0 0 0 rgba(229, 72, 77, 0);
	}
}

/* ================================================================== Кнопки */

.akd-btn,
.wp-block-button.ak-btn > .wp-block-button__link {
	display: inline-flex;
	gap: 10px;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	margin: 0;
	padding: 12px 24px;
	border: 1.5px solid transparent;
	border-radius: var(--akd-radius-sm);
	background: var(--akd-accent);
	box-shadow: 0 10px 22px -12px rgba(198, 47, 62, 0.75);
	color: #fff;
	font-family: var(--akd-font);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s, color 0.15s, border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.akd-btn:hover,
.wp-block-button.ak-btn > .wp-block-button__link:hover {
	background: var(--akd-accent-hover);
	color: #fff;
	transform: translateY(-1px);
}

.akd-btn:active,
.wp-block-button.ak-btn > .wp-block-button__link:active {
	transform: none;
}

.wp-block-button.ak-btn.ak-btn--ghost > .wp-block-button__link.wp-element-button,
.akd-btn--ghost {
	border-color: rgba(15, 36, 64, 0.26);
	background: transparent;
	box-shadow: none;
	color: var(--akd-ink);
}

.wp-block-button.ak-btn.ak-btn--ghost > .wp-block-button__link.wp-element-button:hover,
.akd-btn--ghost:hover {
	border-color: var(--akd-ink);
	background: rgba(15, 36, 64, 0.04);
	color: var(--akd-ink);
}

.akd-btn--block {
	width: 100%;
}

/* Кнопка-звонок из контента («Позвонить: (3952) 380-384») — с трубкой */
.wp-block-button.ak-btn > .wp-block-button__link[href^="tel:"]::before {
	content: "";
	flex: none;
	width: 19px;
	height: 19px;
	background: currentColor;
	-webkit-mask: var(--akd-i-phone) center / contain no-repeat;
	mask: var(--akd-i-phone) center / contain no-repeat;
}

.akd-btn--sm {
	min-height: 42px;
	padding: 9px 16px;
	font-size: 15px;
}

.wp-block-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
}

.wp-block-buttons > .wp-block-button {
	margin: 0;
}

/* ============================================================ Верхняя полоса */

.akd-topbar {
	position: relative;
	z-index: 101;
	background: var(--akd-ink);
	color: var(--akd-on-dark-muted);
	font-size: 14px;
	line-height: 1.3;
}

.akd-topbar__inner {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 28px;
	align-items: center;
	justify-content: space-between;
	min-height: 44px;
	padding-block: 6px;
}

.akd-topbar a {
	color: inherit;
	text-decoration: none;
}

.akd-topbar__emergency {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 2px 10px;
	align-items: center;
	min-width: 0;
}

.akd-topbar__emergency .akd-pulse {
	margin-right: 2px;
}

.akd-topbar__label {
	color: var(--akd-on-dark-muted);
}

.akd-topbar__phone {
	color: #fff;
	font-family: var(--akd-font-title);
	font-size: 19px;
	font-weight: 700;
	letter-spacing: 0.01em;
}

.akd-topbar__hours {
	padding: 2px 8px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.10);
	color: #fff;
	font-size: 13px;
	white-space: nowrap;
}

.akd-topbar__emergency:hover .akd-topbar__phone {
	color: #FFB4B9;
}

.akd-topbar__office {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 22px;
	align-items: center;
}

.akd-topbar__item {
	display: inline-flex;
	gap: 7px;
	align-items: center;
}

.akd-topbar__item .akd-icon {
	opacity: 0.7;
}

.akd-topbar__item a {
	color: #fff;
}

.akd-topbar__item a:hover {
	color: #FFB4B9;
}

.akd-topbar :focus-visible {
	outline-color: #fff;
}

/* ===================================================================== Шапка */

.akd-header {
	position: sticky;
	top: 0;
	z-index: 100;
	border-bottom: 1px solid var(--akd-line);
	background: rgba(255, 255, 255, 0.97);
	transition: box-shadow 0.2s;
}

/* Размытие подложки только на десктопе: backdrop-filter делает шапку контейнером
   для fixed-потомков, а мобильная панель меню — fixed внутри шапки */
@media (min-width: 1024px) {
	@supports (backdrop-filter: blur(8px)) {
		.akd-header {
			background: rgba(255, 255, 255, 0.9);
			backdrop-filter: saturate(160%) blur(10px);
		}
	}
}

.admin-bar .akd-header {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .akd-header {
		top: 46px;
	}
}

@media (max-width: 600px) {
	.admin-bar .akd-header {
		top: 0;
	}
}

.akd-header.is-scrolled {
	box-shadow: 0 10px 30px -18px rgba(15, 36, 64, 0.35);
}

.akd-header__inner {
	display: flex;
	gap: 8px 28px;
	align-items: center;
	min-height: 76px;
}

/* Логотип */
.akd-logo {
	display: inline-flex;
	flex: none;
	gap: 12px;
	align-items: center;
	color: var(--akd-ink);
	text-decoration: none;
}

.akd-logo:hover {
	color: var(--akd-ink);
}

.akd-logo__mark {
	flex: none;
	width: 44px;
	height: 44px;
}

.akd-logo__text {
	display: grid;
	line-height: 1;
}

.akd-logo__name {
	font-family: var(--akd-font-title);
	font-size: 24px;
	font-weight: 700;
	letter-spacing: -0.015em;
}

.akd-logo__sub {
	margin-top: 4px;
	color: var(--akd-muted);
	font-size: 12.5px;
	font-weight: 500;
	letter-spacing: 0.02em;
}

.akd-logo--light,
.akd-logo--light:hover {
	color: #fff;
}

.akd-logo--light .akd-logo__sub {
	color: var(--akd-on-dark-muted);
}

/* Меню */
.akd-nav {
	flex: 1 1 auto;
	min-width: 0;
}

.akd-menu {
	display: flex;
	flex-wrap: nowrap;
	gap: 2px;
	align-items: center;
	justify-content: flex-end;
	margin: 0;
	padding: 0;
	list-style: none;
}

.akd-menu > li {
	position: relative;
	display: flex;
	flex: none;
	align-items: center;
}

.akd-menu a {
	display: block;
	color: var(--akd-ink);
	font-size: 15px;
	font-weight: 500;
	line-height: 1.3;
	text-decoration: none;
}

.akd-menu > li > a {
	position: relative;
	padding: 10px 9px;
	border-radius: 10px;
	white-space: nowrap;
}

.akd-menu > li.menu-item-has-children > a {
	padding-right: 4px;
}

.akd-menu > li > a:hover,
.akd-menu > li.is-open > a {
	background: var(--akd-paper);
	color: var(--akd-ink);
}

.akd-menu > li.current-menu-item > a::after,
.akd-menu > li.current-menu-ancestor > a::after,
.akd-menu > li.current-menu-parent > a::after,
.akd-menu > li.current_page_parent > a::after {
	content: "";
	position: absolute;
	right: 9px;
	bottom: 3px;
	left: 9px;
	height: 2px;
	border-radius: 2px;
	background: var(--akd-accent);
}

.akd-sub-toggle {
	display: inline-grid;
	flex: none;
	place-items: center;
	width: 26px;
	height: 34px;
	margin: 0 4px 0 0;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: var(--akd-muted);
	cursor: pointer;
}

.akd-sub-toggle:hover {
	color: var(--akd-accent);
}

.akd-sub-toggle .akd-icon {
	transition: transform 0.2s;
}

.akd-menu > li.is-open > .akd-sub-toggle .akd-icon {
	transform: rotate(180deg);
}

.akd-menu .sub-menu {
	position: absolute;
	top: calc(100% + 10px);
	left: 0;
	z-index: 20;
	display: none;
	width: max-content;
	min-width: 260px;
	max-width: 360px;
	margin: 0;
	padding: 8px;
	border: 1px solid var(--akd-line);
	border-radius: 14px;
	background: #fff;
	box-shadow: var(--akd-shadow-lg);
	list-style: none;
}

/* Мостик над зазором — список не закрывается по пути курсора */
.akd-menu .sub-menu::before {
	content: "";
	position: absolute;
	right: 0;
	bottom: 100%;
	left: 0;
	height: 12px;
}

.akd-menu > li:nth-last-child(-n+2) > .sub-menu {
	right: 0;
	left: auto;
}

.akd-menu .sub-menu a {
	padding: 9px 12px;
	border-radius: 8px;
	color: var(--akd-text);
	font-size: 15px;
	font-weight: 500;
	line-height: 1.35;
}

.akd-menu .sub-menu a:hover {
	background: var(--akd-paper);
	color: var(--akd-accent);
}

.akd-menu .sub-menu .current-menu-item > a {
	background: var(--akd-accent-soft);
	color: var(--akd-accent-hover);
}

@media (min-width: 1024px) {
	.akd-menu > li:hover > .sub-menu,
	.akd-menu > li.is-open > .sub-menu {
		display: block;
	}

	.akd-menu > li:hover > .akd-sub-toggle .akd-icon {
		transform: rotate(180deg);
	}
}

.akd-nav__extra {
	display: none;
}

/* Кнопки справа */
.akd-header__actions {
	display: flex;
	flex: none;
	gap: 10px;
	align-items: center;
	margin-left: auto;
}

/* Звонок в офис (обращений через сайт нет — жильцы звонят) */
.akd-header__office {
	min-height: 46px;
	padding: 10px 18px 10px 16px;
	font-size: 15.5px;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.akd-header__office .akd-icon {
	width: 19px;
	height: 19px;
}

.akd-header__call {
	display: none;
	gap: 8px;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 14px 0 12px;
	border-radius: 999px;
	background: var(--akd-accent);
	box-shadow: 0 8px 18px -10px rgba(198, 47, 62, 0.8);
	color: #fff;
	font-family: var(--akd-font-title);
	font-size: 17px;
	font-weight: 700;
	text-decoration: none;
}

.akd-header__call:hover {
	background: var(--akd-accent-hover);
	color: #fff;
}

.akd-burger {
	display: none;
	place-items: center;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 1px solid var(--akd-line);
	border-radius: 12px;
	background: #fff;
	color: var(--akd-ink);
	cursor: pointer;
}

.akd-burger__lines,
.akd-burger__lines::before,
.akd-burger__lines::after {
	display: block;
	width: 20px;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
	transition: transform 0.2s, opacity 0.2s;
}

.akd-burger__lines {
	position: relative;
}

.akd-burger__lines::before,
.akd-burger__lines::after {
	content: "";
	position: absolute;
	left: 0;
}

.akd-burger__lines::before {
	top: -6px;
}

.akd-burger__lines::after {
	top: 6px;
}

.akd-burger[aria-expanded="true"] .akd-burger__lines {
	background: transparent;
}

.akd-burger[aria-expanded="true"] .akd-burger__lines::before {
	transform: translateY(6px) rotate(45deg);
}

.akd-burger[aria-expanded="true"] .akd-burger__lines::after {
	transform: translateY(-6px) rotate(-45deg);
}

/* Меню второй строкой: длинное меню не помещается рядом с логотипом и кнопкой */
@media (min-width: 1024px) {
	.akd-header.is-stacked .akd-header__inner {
		flex-wrap: wrap;
		min-height: 0;
		padding-top: 12px;
	}

	.akd-header.is-stacked .akd-nav {
		order: 3;
		flex: 0 0 100%;
		margin-top: 8px;
		border-top: 1px solid var(--akd-line);
	}

	.akd-header.is-stacked .akd-menu {
		justify-content: flex-start;
		margin-left: -11px;
		padding-block: 4px;
	}
}

/* Запасное поведение без скрипта: на средних экранах меню сразу второй строкой */
@media (min-width: 1024px) and (max-width: 1279.98px) {
	.akd-header.is-medium .akd-header__inner {
		flex-wrap: wrap;
		min-height: 0;
		padding-top: 12px;
	}

	.akd-header.is-medium .akd-nav {
		order: 3;
		flex: 0 0 100%;
		margin-top: 8px;
		border-top: 1px solid var(--akd-line);
	}

	.akd-header.is-medium .akd-menu {
		justify-content: flex-start;
		margin-left: -11px;
		padding-block: 4px;
	}
}

/* ============================================================ Мобильная шапка */

@media (max-width: 1023.98px) {
	.akd-header__inner {
		min-height: 66px;
		gap: 10px;
	}

	.akd-header__office {
		width: 44px;
		min-height: 44px;
		height: 44px;
		padding: 0;
		border-color: var(--akd-line);
		border-radius: 999px;
		background: #fff;
		box-shadow: none;
		color: var(--akd-ink);
	}

	.akd-header__office:hover {
		border-color: var(--akd-ink);
		background: #fff;
		color: var(--akd-ink);
		transform: none;
	}

	.akd-header__office-text {
		display: none;
	}

	.akd-header__call,
	.akd-burger {
		display: inline-flex;
	}

	.akd-logo__mark {
		width: 40px;
		height: 40px;
	}

	.akd-logo__name {
		font-size: 21px;
	}

	.akd-nav {
		position: fixed;
		top: var(--akd-nav-top, 110px);
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 99;
		display: block;
		overflow-y: auto;
		padding: 8px var(--akd-gutter) 40px;
		border-top: 1px solid var(--akd-line);
		background: var(--akd-paper);
		opacity: 0;
		visibility: hidden;
		transform: translateY(-8px);
		transition: opacity 0.2s, transform 0.2s, visibility 0s 0.2s;
		overscroll-behavior: contain;
	}

	.akd-nav.is-open {
		opacity: 1;
		visibility: visible;
		transform: none;
		transition: opacity 0.2s, transform 0.2s, visibility 0s;
	}

	html.akd-menu-open {
		overflow: hidden;
	}

	/* Открытая панель меню — поверх баннера cookie; плавающие кнопки плагина прячем */
	html.akd-menu-open .akd-header {
		z-index: 960;
	}

	html.akd-menu-open .aksk-fab,
	html.akd-menu-open .aksk-launcher {
		visibility: hidden;
	}

	.akd-menu {
		display: block;
		max-width: 640px;
		margin: 0 auto;
	}

	.akd-menu > li {
		flex-wrap: wrap;
		border-bottom: 1px solid var(--akd-line);
	}

	.akd-menu > li > a {
		flex: 1 1 0;
		padding: 15px 0;
		border-radius: 0;
		font-family: var(--akd-font-title);
		font-size: 19px;
		font-weight: 600;
		white-space: normal;
	}

	.akd-menu > li > a:hover,
	.akd-menu > li.is-open > a {
		background: transparent;
		color: var(--akd-accent);
	}

	.akd-menu > li.current-menu-item > a::after,
	.akd-menu > li.current-menu-ancestor > a::after,
	.akd-menu > li.current-menu-parent > a::after,
	.akd-menu > li.current_page_parent > a::after {
		top: 50%;
		right: auto;
		bottom: auto;
		left: -14px;
		width: 4px;
		height: 22px;
		margin-top: -11px;
	}

	.akd-sub-toggle {
		width: 46px;
		height: 46px;
		margin: 0 -10px 0 0;
		border: 1px solid var(--akd-line);
		border-radius: 12px;
		background: #fff;
		color: var(--akd-ink);
	}

	.akd-menu .sub-menu,
	.akd-menu > li:nth-last-child(-n+2) > .sub-menu {
		position: static;
		flex: 0 0 100%;
		width: auto;
		min-width: 0;
		max-width: none;
		margin: 0 0 14px;
		padding: 6px;
		border-radius: 12px;
		box-shadow: none;
	}

	.akd-menu .sub-menu::before {
		display: none;
	}

	.akd-menu > li.is-open > .sub-menu {
		display: block;
	}

	.akd-menu .sub-menu a {
		padding: 11px 12px;
		font-size: 16px;
	}

	.akd-nav__extra {
		display: grid;
		gap: 16px;
		max-width: 640px;
		margin: 24px auto 0;
	}

	.akd-nav__contacts {
		display: grid;
		gap: 10px;
		margin: 4px 0 0;
		padding: 0;
		color: var(--akd-text);
		font-size: 15px;
		list-style: none;
	}

	.akd-nav__contacts li {
		display: flex;
		gap: 10px;
		align-items: flex-start;
	}

	.akd-nav__contacts .akd-icon {
		margin-top: 2px;
		color: var(--akd-accent);
	}
}

@media (max-width: 767.98px) {
	.akd-topbar__office {
		display: none;
	}

	.akd-topbar__inner {
		min-height: 40px;
	}
}

@media (max-width: 479.98px) {
	.akd-topbar {
		font-size: 13px;
	}

	.akd-topbar__phone {
		font-size: 17px;
	}

	.akd-topbar__hours {
		display: none;
	}

	.akd-header__call {
		padding: 0;
		width: 44px;
	}

	.akd-header__call-text {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
	}

	.akd-logo {
		gap: 9px;
	}

	.akd-logo__mark {
		width: 36px;
		height: 36px;
	}

	.akd-logo__name {
		font-size: 19px;
	}

	.akd-logo__sub {
		font-size: 11px;
	}

	.akd-burger {
		width: 42px;
		height: 42px;
	}

	.akd-header__actions {
		gap: 6px;
	}

	.akd-header__call,
	.akd-header__office {
		width: 42px;
		min-width: 42px;
		height: 42px;
		min-height: 42px;
	}
}

/* Самые узкие телефоны: шапка в одну строку — подпись под логотипом прячем */
@media (max-width: 359.98px) {
	.akd-topbar__emergency {
		gap: 2px 6px;
	}

	.akd-topbar__label {
		font-size: 11.5px;
	}

	.akd-topbar__phone {
		font-size: 16px;
	}

	.akd-logo__sub {
		display: none;
	}

	.akd-header__inner {
		gap: 8px;
	}
}

/* ============================================ Карточка аварийной службы */

.akd-ecard {
	position: relative;
	overflow: hidden;
	padding: 18px 20px 18px;
	border-radius: var(--akd-radius);
	background: var(--akd-ink) var(--akd-orbits-light) no-repeat right -70px top -60px / 230px;
	box-shadow: var(--akd-shadow-lg);
	color: var(--akd-on-dark-muted);
}

.akd-ecard p {
	margin: 0;
}

.akd-ecard__label {
	display: flex;
	gap: 9px;
	align-items: center;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
}

.akd-ecard__phone {
	display: inline-flex;
	gap: 10px;
	align-items: center;
	margin: 6px 0 2px;
	color: #fff;
	font-family: var(--akd-font-title);
	font-size: 38px;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: 0.01em;
	text-decoration: none;
}

.akd-ecard__phone .akd-icon {
	width: 26px;
	height: 26px;
	padding: 5px;
	border-radius: 50%;
	background: var(--akd-accent);
	box-sizing: content-box;
	stroke-width: 2;
}

.akd-ecard__phone:hover {
	color: #FFB4B9;
}

.akd-ecard__hours {
	display: inline-block;
	margin-right: 8px !important;
	padding: 3px 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	font-size: 14px;
	font-weight: 600;
}

.akd-ecard__area {
	margin-top: 8px !important;
	font-size: 13.5px;
	line-height: 1.45;
}

.akd-ecard :focus-visible {
	outline-color: #fff;
}

/* ================================================================= Разделы */

.akd-main--sections {
	overflow-x: clip;
}

.ak-sec {
	position: relative;
	margin: 0;
	padding-block: var(--akd-sec-y);
	padding-inline: max(var(--akd-gutter), calc((100% - var(--akd-container)) / 2));
}

.ak-sec > * {
	position: relative;
	z-index: 1;
}

.ak-sec__title {
	max-width: 820px;
	margin: 0 0 clamp(24px, 3vw, 36px);
	font-size: clamp(28px, 3.3vw, 40px);
	line-height: 1.12;
	letter-spacing: -0.02em;
}

.ak-sec__title::before {
	content: "";
	display: block;
	width: 36px;
	height: 3px;
	margin-bottom: 16px;
	border-radius: 3px;
	background: var(--akd-accent);
}

.ak-sec__intro {
	max-width: 820px;
	margin: calc(clamp(24px, 3vw, 36px) * -0.5) 0 clamp(24px, 3vw, 36px);
	color: var(--akd-muted);
	font-size: 18px;
	line-height: 1.6;
}

.ak-eyebrow {
	display: inline-flex;
	gap: 10px;
	align-items: center;
	margin: 0 0 18px;
	color: var(--akd-accent-hover);
	font-size: 13.5px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.ak-eyebrow::before {
	content: "";
	width: 22px;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
}

.ak-sec__more {
	margin: 28px 0 0;
}

.ak-sec__more a {
	display: inline-flex;
	gap: 10px;
	align-items: center;
	padding: 10px 0;
	color: var(--akd-ink);
	font-weight: 600;
	text-decoration: none;
}

.ak-sec__more a::after {
	content: "";
	width: 18px;
	height: 18px;
	background: currentColor;
	-webkit-mask: var(--akd-i-arrow) center / contain no-repeat;
	mask: var(--akd-i-arrow) center / contain no-repeat;
	transition: transform 0.15s;
}

.ak-sec__more a:hover {
	color: var(--akd-accent);
}

.ak-sec__more a:hover::after {
	transform: translateX(3px);
}

/* Чередование фона разделов главной */
.uk-pay,
.uk-notices,
.uk-news {
	background: var(--akd-surface);
}

/* ========================================================= Заглушка картинки */

.aksk-img--placeholder {
	background:
		var(--akd-orbits-ph) no-repeat 50% 50% / min(92%, 520px) auto,
		radial-gradient(120% 90% at 82% 12%, rgba(255, 247, 236, 0.95) 0%, rgba(255, 247, 236, 0) 55%),
		linear-gradient(155deg, #F4E6D4 0%, #EBD6C1 48%, #DCC5B4 100%);
	color: var(--aksk-ph-fg);
}

.aksk-img--placeholder .aksk-img__icon {
	display: none;
}

/* ============================================================ Первый экран */

.uk-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
	grid-template-areas:
		"body media"
		"contacts contacts";
	gap: clamp(40px, 5vw, 64px) clamp(32px, 5vw, 72px);
	align-items: center;
	padding-top: clamp(40px, 6vw, 80px);
	padding-bottom: clamp(48px, 6vw, 72px);
	overflow: hidden;
}

.uk-hero::before {
	content: "";
	position: absolute;
	top: -180px;
	right: -220px;
	z-index: 0;
	width: 980px;
	height: 980px;
	background: var(--akd-orbits-ink) no-repeat center / contain;
	pointer-events: none;
	transform: rotate(-12deg);
}

.uk-hero .ak-hero__body {
	grid-area: body;
	max-width: 620px;
}

.ak-hero__title {
	margin: 0 0 22px;
	font-size: clamp(34px, 4.6vw, 58px);
	line-height: 1.06;
	letter-spacing: -0.025em;
}

.ak-hero__lead {
	margin: 0 0 16px;
	color: var(--akd-text);
	font-size: clamp(17px, 1.5vw, 19px);
	line-height: 1.6;
}

.uk-hero__goal {
	position: relative;
	margin: 0 0 30px;
	padding: 14px 18px 14px 20px;
	border-left: 3px solid var(--akd-accent);
	border-radius: 0 var(--akd-radius-sm) var(--akd-radius-sm) 0;
	background: rgba(255, 255, 255, 0.7);
	color: var(--akd-ink);
	font-size: 16px;
	line-height: 1.5;
}

.uk-hero__goal strong {
	display: block;
	margin-bottom: 2px;
	color: var(--akd-muted);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.ak-hero__actions {
	margin: 0;
}

.uk-hero .ak-hero__media {
	position: relative;
	grid-area: media;
	padding: 0 0 36px;
}

.ak-hero__image {
	border-radius: var(--akd-radius-lg);
	box-shadow: var(--akd-shadow-lg);
}

.ak-hero__image img {
	border-radius: inherit;
}

.akd-ecard--hero {
	position: absolute;
	bottom: 0;
	left: -36px;
	z-index: 2;
	width: min(330px, 80%);
}

/* Три контакта полосой */
.uk-hero__contacts {
	display: grid;
	grid-area: contacts;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	border: 1px solid var(--akd-line);
	border-radius: var(--akd-radius);
	background: var(--akd-surface);
	box-shadow: var(--akd-shadow-sm);
}

.uk-contact {
	position: relative;
	padding: 22px 24px 22px 80px;
	font-size: 15px;
	line-height: 1.5;
}

.uk-contact + .uk-contact {
	border-left: 1px solid var(--akd-line);
}

.uk-contact::before,
.uk-contact::after {
	content: "";
	position: absolute;
	top: 22px;
	left: 24px;
	width: 42px;
	height: 42px;
}

.uk-contact::before {
	border-radius: 12px;
	background: var(--akd-accent-soft);
}

.uk-contact::after {
	background: var(--akd-accent);
	-webkit-mask: var(--akd-i-phone) center / 22px no-repeat;
	mask: var(--akd-i-phone) center / 22px no-repeat;
}

.uk-contact--emergency::before {
	background: var(--akd-accent);
}

.uk-contact--emergency::after {
	background: #fff;
	-webkit-mask-image: var(--akd-i-siren);
	mask-image: var(--akd-i-siren);
}

.uk-contact--office::after {
	-webkit-mask-image: var(--akd-i-pin);
	mask-image: var(--akd-i-pin);
}

.uk-contact p {
	margin: 0;
}

.uk-contact__label {
	color: var(--akd-muted);
	font-size: 14px;
}

.uk-contact__value {
	margin-top: 4px !important;
	color: var(--akd-ink);
	font-weight: 500;
}

.uk-contact a {
	color: var(--akd-ink);
	font-weight: 600;
	text-decoration: none;
}

.uk-contact a:hover {
	color: var(--akd-accent);
}

.uk-contact--phone .uk-contact__label a {
	font-size: 16px;
}

.uk-contact--emergency .uk-contact__value a {
	color: var(--akd-accent);
	font-family: var(--akd-font-title);
	font-size: 22px;
	font-weight: 700;
	vertical-align: -1px;
}

.uk-contact--emergency .uk-contact__value a:hover {
	color: var(--akd-accent-hover);
}

/* ============================================================ Плитки разделов */

.uk-tiles-sec {
	padding-top: clamp(24px, 3vw, 40px);
}

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

.uk-tile {
	--tile-icon: var(--akd-i-info);
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 168px;
	margin: 0;
	padding: 92px 64px 24px 24px;
	border: 1px solid var(--akd-line);
	border-radius: var(--akd-radius);
	background: var(--akd-surface);
	box-shadow: var(--akd-shadow-sm);
	transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.uk-tile::before,
.uk-tile::after {
	content: "";
	position: absolute;
	top: 24px;
	left: 24px;
	width: 52px;
	height: 52px;
	pointer-events: none;
}

.uk-tile::before {
	border-radius: 14px;
	background: var(--akd-accent-soft);
	transition: background-color 0.2s;
}

.uk-tile::after {
	background: var(--akd-accent);
	-webkit-mask: var(--tile-icon) center / 28px no-repeat;
	mask: var(--tile-icon) center / 28px no-repeat;
	transition: background-color 0.2s;
}

.uk-tile--houses { --tile-icon: var(--akd-i-houses); }
.uk-tile--tariff { --tile-icon: var(--akd-i-tariff); }
.uk-tile--disclosure { --tile-icon: var(--akd-i-disclosure); }
.uk-tile--info { --tile-icon: var(--akd-i-info); }
.uk-tile--waste { --tile-icon: var(--akd-i-waste); }
.uk-tile--reports { --tile-icon: var(--akd-i-reports); }
.uk-tile--repair { --tile-icon: var(--akd-i-repair); }
.uk-tile--news { --tile-icon: var(--akd-i-news); }
.uk-tile--gis { --tile-icon: var(--akd-i-gis); }

.uk-tile__title {
	margin: 0;
	font-family: var(--akd-font-title);
	font-size: 19px;
	font-weight: 600;
	line-height: 1.25;
}

.uk-tile__title a {
	color: var(--akd-ink);
	text-decoration: none;
}

/* Вся плитка — ссылка; стрелка в кружке в углу */
.uk-tile__title a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	border-radius: inherit;
}

.uk-tile__title::before {
	content: "";
	position: absolute;
	right: 20px;
	bottom: 20px;
	width: 36px;
	height: 36px;
	border: 1px solid var(--akd-line);
	border-radius: 50%;
	transition: border-color 0.2s, background-color 0.2s;
}

.uk-tile__title::after {
	content: "";
	position: absolute;
	right: 30px;
	bottom: 30px;
	width: 16px;
	height: 16px;
	background: var(--akd-ink);
	-webkit-mask: var(--akd-i-arrow) center / contain no-repeat;
	mask: var(--akd-i-arrow) center / contain no-repeat;
	transition: transform 0.2s, background-color 0.2s;
}

.uk-tile:hover {
	border-color: var(--akd-line-2);
	box-shadow: var(--akd-shadow);
	transform: translateY(-3px);
}

.uk-tile:hover::before {
	background: var(--akd-accent);
}

.uk-tile:hover::after {
	background: #fff;
}

.uk-tile:hover .uk-tile__title a {
	color: var(--akd-accent-hover);
}

.uk-tile:hover .uk-tile__title::before {
	border-color: var(--akd-accent-soft);
	background: var(--akd-accent-soft);
}

.uk-tile:hover .uk-tile__title::after {
	background: var(--akd-accent);
	transform: translateX(2px);
}

.uk-tile:has(a:focus-visible) {
	outline: 3px solid var(--akd-focus);
	outline-offset: 3px;
}

.uk-tile a:focus-visible {
	outline: none;
}

/* ===================================================================== Оплата */

.uk-pay__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
	gap: clamp(32px, 5vw, 64px);
	align-items: start;
}

.uk-pay__main {
	max-width: 780px;
}

.uk-pay__main > p {
	margin: 0 0 1em;
}

.uk-pay__ways-title {
	margin: 1.6em 0 0.9em !important;
	color: var(--akd-ink);
	font-weight: 600;
}

.uk-pay__ways-title em {
	font-style: normal;
}

.uk-pay__list {
	display: grid;
	gap: 0;
	margin: 0 0 1.6em;
	padding: 0;
	border-top: 1px solid var(--akd-line);
	list-style: none;
}

.uk-pay__list > li {
	position: relative;
	padding: 14px 0 14px 48px;
	border-bottom: 1px solid var(--akd-line);
	line-height: 1.5;
}

.uk-pay__list > li::before,
.uk-pay__list > li::after {
	content: "";
	position: absolute;
	top: 13px;
	left: 0;
	width: 32px;
	height: 32px;
}

.uk-pay__list > li::before {
	border-radius: 10px;
	background: var(--akd-paper);
}

.uk-pay__list > li::after {
	background: var(--akd-accent);
	-webkit-mask: var(--akd-i-card) center / 18px no-repeat;
	mask: var(--akd-i-card) center / 18px no-repeat;
}

.uk-pay__list strong {
	color: var(--akd-ink);
}

.uk-pay__aside {
	position: sticky;
	top: calc(var(--akd-header-h) + 24px);
}

/* Карточка ГИС ЖКХ с QR */
.uk-gis {
	display: grid;
	gap: 16px;
	justify-items: center;
	padding: 24px;
	border: 1px solid var(--akd-line);
	border-radius: var(--akd-radius);
	background: var(--akd-paper);
	text-align: center;
}

.uk-gis figure {
	margin: 0;
}

.uk-gis__qr {
	width: 100%;
	padding: 12px;
	border-radius: var(--akd-radius-sm);
	background: #fff;
	box-shadow: var(--akd-shadow-sm);
}

.uk-gis__qr img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 6px;
}

.uk-gis__logo img {
	display: block;
	width: 100%;
	max-width: 280px;
	height: auto;
	mix-blend-mode: multiply;
}

.uk-gis__link {
	margin: 0;
}

.uk-gis__link a {
	display: inline-flex;
	gap: 8px;
	align-items: center;
	color: var(--akd-ink);
	font-weight: 600;
}

.uk-gis__link a::after {
	content: "";
	width: 16px;
	height: 16px;
	background: currentColor;
	-webkit-mask: var(--akd-i-external) center / contain no-repeat;
	mask: var(--akd-i-external) center / contain no-repeat;
}

/* ===================================================================== Врезки */

.uk-callout {
	position: relative;
	margin: 0 0 1.6em;
	padding: 18px 22px 18px 66px;
	border-radius: var(--akd-radius-sm);
	background: var(--akd-info);
	color: var(--akd-ink);
	line-height: 1.55;
}

.uk-callout::before {
	content: "";
	position: absolute;
	top: 18px;
	left: 22px;
	width: 28px;
	height: 28px;
	background: var(--akd-ink-2);
	-webkit-mask: var(--akd-i-info) center / contain no-repeat;
	mask: var(--akd-i-info) center / contain no-repeat;
}

.uk-callout > :last-child {
	margin-bottom: 0;
}

.uk-callout > p {
	margin: 0 0 0.7em;
}

.uk-callout--accent {
	background: var(--akd-accent);
	box-shadow: 0 16px 30px -18px rgba(198, 47, 62, 0.8);
	color: #fff;
	font-size: 18px;
}

.uk-callout--accent strong {
	font-weight: 600;
}

.uk-callout--accent::before {
	background: #fff;
	-webkit-mask-image: var(--akd-i-calendar);
	mask-image: var(--akd-i-calendar);
}

.uk-callout--accent a {
	color: #fff;
}

.uk-callout--warning {
	border: 1px solid rgba(198, 47, 62, 0.22);
	background: var(--akd-warn);
}

.uk-callout--warning::before {
	background: var(--akd-accent);
	-webkit-mask-image: var(--akd-i-alert);
	mask-image: var(--akd-i-alert);
}

.uk-callout__title,
.akd-prose .uk-callout__title {
	margin: 0 0 8px;
	padding: 0;
	border: 0;
	color: var(--akd-accent-hover);
	font-size: 19px;
	letter-spacing: 0.01em;
}

.uk-callout__title::before {
	display: none;
}

/* ================================================================= О компании */

.uk-about__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	align-items: start;
}

.uk-about__col {
	padding: 28px 26px 22px;
	border: 1px solid var(--akd-line);
	border-radius: var(--akd-radius);
	background: var(--akd-surface);
}

.uk-about__col h3 {
	margin: 0 0 18px;
	font-size: 19px;
	line-height: 1.3;
}

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

.uk-checklist > li {
	position: relative;
	padding-left: 32px;
	font-size: 15.5px;
	line-height: 1.5;
}

.uk-checklist > li::before {
	content: "";
	position: absolute;
	top: 1px;
	left: 0;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--akd-accent-soft);
}

.uk-checklist > li::after {
	content: "";
	position: absolute;
	top: 6px;
	left: 5px;
	width: 12px;
	height: 12px;
	background: var(--akd-accent);
	-webkit-mask: var(--akd-i-check) center / contain no-repeat;
	mask: var(--akd-i-check) center / contain no-repeat;
}

.uk-checklist ul {
	display: grid;
	gap: 6px;
	margin: 10px 0 4px;
	padding: 12px 14px;
	border-radius: var(--akd-radius-sm);
	background: var(--akd-paper);
	list-style: none;
}

.uk-checklist ul li {
	position: relative;
	padding-left: 16px;
	color: var(--akd-text);
	font-size: 14.5px;
}

.uk-checklist ul li::before {
	content: "";
	position: absolute;
	top: 0.68em;
	left: 0;
	width: 7px;
	height: 2px;
	border-radius: 2px;
	background: var(--akd-accent);
}

/* Слоган отдельной полосой */
.uk-about__cta {
	display: flex;
	flex-wrap: wrap;
	gap: 20px 32px;
	align-items: center;
	justify-content: space-between;
	margin-top: clamp(28px, 4vw, 48px);
	padding: clamp(28px, 4vw, 44px) clamp(24px, 4vw, 52px);
	overflow: hidden;
	border-radius: var(--akd-radius-lg);
	background:
		var(--akd-orbits-light) no-repeat right -120px center / 520px,
		radial-gradient(80% 140% at 100% 0%, rgba(198, 47, 62, 0.28), transparent 60%),
		var(--akd-ink);
	color: #fff;
}

.uk-about__slogan {
	margin: 0;
	font-family: var(--akd-font-title);
	font-size: clamp(24px, 3vw, 36px);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: 0.01em;
}

.uk-about__slogan strong {
	font-weight: 700;
}

.uk-about__cta .wp-block-buttons {
	flex: none;
}

/* ================================================================= Объявления */

.uk-notices__grid {
	columns: 2 340px;
	column-gap: 20px;
}

.uk-notice {
	position: relative;
	display: block;
	margin: 0 0 20px;
	padding: 24px 26px 22px;
	overflow: hidden;
	border: 1px solid var(--akd-line);
	border-radius: var(--akd-radius);
	background: var(--akd-paper);
	break-inside: avoid;
	font-size: 15.5px;
	line-height: 1.6;
}

.uk-notice::before {
	content: "Объявление";
	display: inline-flex;
	align-items: center;
	margin: 0 0 14px;
	padding: 4px 11px 4px 30px;
	border-radius: 999px;
	background: #fff var(--akd-i-mega-accent) no-repeat 10px 50% / 14px;
	box-shadow: inset 0 0 0 1px rgba(198, 47, 62, 0.25);
	color: var(--akd-accent-hover);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.05em;
	line-height: 1.4;
	text-transform: uppercase;
}

.uk-notice__title {
	margin: 0 0 10px;
	font-size: 20px;
}

.uk-notice > p:last-child {
	margin-bottom: 0;
}

.uk-notice__sign {
	margin-top: 14px !important;
	color: var(--akd-muted);
	text-align: right;
}

.uk-notice--banner {
	padding: 0;
	background: #fff;
}

.uk-notice--banner::before {
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 2;
	margin: 0;
	box-shadow: 0 4px 14px rgba(15, 36, 64, 0.18), inset 0 0 0 1px rgba(198, 47, 62, 0.25);
}

.uk-notice--banner figure {
	margin: 0;
}

.uk-notice--banner a {
	display: block;
}

.uk-notice--banner img {
	display: block;
	width: 100%;
	height: auto;
	transition: transform 0.3s;
}

.uk-notice--banner a:hover img {
	transform: scale(1.02);
}

/* ================================================================= Контакты */

.uk-contacts__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 0.95fr);
	gap: 20px;
	align-items: stretch;
}

.uk-contacts__card,
.uk-contacts__hours,
.uk-contacts__emergency {
	position: relative;
	padding: 28px 26px;
	border-radius: var(--akd-radius);
}

.uk-contacts__card,
.uk-contacts__hours {
	border: 1px solid var(--akd-line);
	background: var(--akd-surface);
}

.uk-contacts__grid h3 {
	margin: 0 0 16px;
	font-size: 19px;
	line-height: 1.3;
}

.uk-contacts__card p {
	position: relative;
	margin: 0 0 10px;
	padding-left: 30px;
	font-size: 15.5px;
	line-height: 1.5;
}

.uk-contacts__card p::before {
	content: "";
	position: absolute;
	top: 2px;
	left: 0;
	width: 20px;
	height: 20px;
	background: var(--akd-accent);
	-webkit-mask: var(--akd-i-pin) center / contain no-repeat;
	mask: var(--akd-i-pin) center / contain no-repeat;
}

.uk-contacts__card p:nth-of-type(2)::before {
	-webkit-mask-image: var(--akd-i-phone);
	mask-image: var(--akd-i-phone);
}

.uk-contacts__card p:nth-of-type(3)::before {
	-webkit-mask-image: var(--akd-i-mail);
	mask-image: var(--akd-i-mail);
}

.uk-contacts__card a {
	font-weight: 600;
	text-decoration: none;
}

.uk-contacts__card p.uk-contacts__map {
	margin: 18px 0 0;
	padding: 0;
}

.uk-contacts__card p.uk-contacts__map::before {
	display: none;
}

.uk-contacts__map a {
	display: inline-flex;
	gap: 8px;
	align-items: center;
	min-height: 42px;
	padding: 8px 16px;
	border: 1.5px solid rgba(15, 36, 64, 0.22);
	border-radius: 10px;
	color: var(--akd-ink);
	font-size: 15px;
	font-weight: 600;
}

.uk-contacts__map a::before {
	content: "";
	width: 18px;
	height: 18px;
	background: var(--akd-accent);
	-webkit-mask: var(--akd-i-pin) center / contain no-repeat;
	mask: var(--akd-i-pin) center / contain no-repeat;
}

.uk-contacts__map a:hover {
	border-color: var(--akd-ink);
	color: var(--akd-ink);
}

.uk-contacts__hours .wp-block-table {
	margin: 0;
	border-radius: 10px;
}

.uk-hours table {
	font-size: 14.5px;
}

.uk-hours th,
.uk-hours td {
	padding: 9px 12px;
}

.uk-hours tbody td:first-child {
	color: var(--akd-ink);
	font-weight: 600;
	white-space: nowrap;
}

.uk-contacts__emergency {
	overflow: hidden;
	background:
		var(--akd-orbits-light) no-repeat right -110px bottom -120px / 330px,
		var(--akd-ink);
	color: var(--akd-on-dark-muted);
}

.uk-contacts__emergency h3 {
	color: #fff;
}

.uk-contacts__emergency h3::before {
	content: "";
	display: block;
	width: 44px;
	height: 44px;
	margin-bottom: 18px;
	border-radius: 12px;
	background: var(--akd-accent) var(--akd-i-siren-white) center / 24px no-repeat;
}

.uk-contacts__phone {
	margin: 0;
	font-size: 15px;
}

.uk-contacts__phone a {
	display: block;
	margin: 2px 0;
	color: #fff;
	font-family: var(--akd-font-title);
	font-size: clamp(40px, 4.4vw, 52px);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: 0.01em;
	text-decoration: none;
}

.uk-contacts__phone a:hover {
	color: #FFB4B9;
}

.uk-contacts__emergency :focus-visible {
	outline-color: #fff;
}

/* ===================================================== Карточки новостей */

.aksk-posts {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
	gap: 20px;
}

.aksk-post-card {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--akd-line);
	border-radius: var(--akd-radius);
	background: var(--akd-surface);
	transition: transform 0.2s, box-shadow 0.2s;
}

.uk-news .aksk-post-card,
.akd-related .aksk-post-card {
	background: var(--akd-paper);
}

.aksk-post-card:hover {
	box-shadow: var(--akd-shadow);
	transform: translateY(-3px);
}

.aksk-post-card__media {
	display: block;
}

.aksk-post-card__cover {
	margin: 0;
	border-radius: 0;
	aspect-ratio: 16 / 9;
	overflow: hidden;
}

.aksk-post-card__cover img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.aksk-post-card__cover.aksk-img--placeholder {
	min-height: 0;
	background-size: 62% auto, auto, auto;
}

.aksk-post-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 8px;
	padding: 18px 20px 22px;
}

.aksk-post-card__date {
	display: inline-flex;
	gap: 8px;
	align-items: center;
	color: var(--akd-muted);
	font-size: 14px;
}

.aksk-post-card__date::before {
	content: "";
	width: 16px;
	height: 16px;
	background: var(--akd-accent);
	-webkit-mask: var(--akd-i-calendar) center / contain no-repeat;
	mask: var(--akd-i-calendar) center / contain no-repeat;
}

.aksk-post-card__title {
	margin: 0;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.32;
}

.aksk-post-card__title a {
	color: var(--akd-ink);
	text-decoration: none;
}

.aksk-post-card__title a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

.aksk-post-card:hover .aksk-post-card__title a {
	color: var(--akd-accent-hover);
}

.aksk-post-card:has(a:focus-visible) {
	outline: 3px solid var(--akd-focus);
	outline-offset: 3px;
}

.aksk-post-card__title a:focus-visible {
	outline: none;
}

.aksk-post-card__excerpt {
	margin: 0;
	color: var(--akd-muted);
	font-size: 15px;
	line-height: 1.5;
}

.aksk-post-card__excerpt:empty {
	display: none;
}

/* ========================================================= Шапка страницы */

.akd-pagehead {
	position: relative;
	overflow: hidden;
	border-bottom: 1px solid var(--akd-line);
	background: var(--akd-surface);
}

.akd-pagehead::before {
	content: "";
	position: absolute;
	top: -170px;
	right: max(-160px, calc((100% - var(--akd-container)) / 2 - 260px));
	width: 560px;
	height: 560px;
	background: var(--akd-orbits-ink) no-repeat center / contain;
	opacity: 0.85;
	pointer-events: none;
	transform: rotate(-14deg);
}

.akd-pagehead__inner {
	position: relative;
	padding-block: clamp(22px, 3vw, 32px) clamp(28px, 4vw, 48px);
}

.akd-crumbs {
	margin: 0 0 clamp(18px, 2.5vw, 28px);
	color: var(--akd-muted);
	font-size: 14px;
	line-height: 1.45;
}

.akd-crumbs p {
	margin: 0;
}

.akd-crumbs a {
	color: var(--akd-muted);
	text-decoration: none;
}

.akd-crumbs a:hover {
	color: var(--akd-accent);
	text-decoration: underline;
}

.akd-crumbs .separator {
	margin: 0 2px;
	color: var(--akd-line-2);
}

.akd-crumbs .last {
	color: var(--akd-text);
}

.akd-pagehead__parent {
	margin: 0 0 10px;
}

.akd-pagehead__parent a {
	display: inline-flex;
	gap: 6px;
	align-items: center;
	padding: 5px 12px 5px 9px;
	border-radius: 999px;
	background: var(--akd-paper);
	color: var(--akd-ink);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}

.akd-pagehead__parent a:hover {
	background: var(--akd-accent-soft);
	color: var(--akd-accent-hover);
}

.akd-pagehead__parent .akd-icon {
	color: var(--akd-accent);
}

.akd-pagehead__title {
	max-width: 900px;
	margin: 0;
	font-size: clamp(28px, 3.6vw, 44px);
	line-height: 1.12;
	letter-spacing: -0.02em;
}

.akd-pagehead__lead {
	max-width: var(--akd-col);
	margin: 14px 0 0;
	color: var(--akd-muted);
	font-size: 17px;
}

.akd-article__date {
	display: inline-flex;
	gap: 8px;
	align-items: center;
	color: var(--akd-muted);
	font-size: 15px;
}

.akd-article__date .akd-icon {
	color: var(--akd-accent);
}

/* ========================================================= Тело страницы */

.akd-page {
	padding-block: clamp(32px, 5vw, 56px) clamp(56px, 7vw, 88px);
}

.akd-page.has-children {
	padding-bottom: clamp(28px, 4vw, 40px);
}

.akd-page.has-toc {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 280px;
	gap: clamp(32px, 4vw, 56px);
	align-items: start;
}

.akd-page__aside {
	position: sticky;
	top: calc(var(--akd-header-h) + 24px);
}

.akd-page__aside .aksk-toc--sidebar {
	position: static;
}

.akd-page__aside .aksk-toc__inner {
	max-height: calc(100vh - var(--akd-header-h) - 60px);
}

/* ===================================================== Текст в колонку */

.akd-prose {
	min-width: 0;
	font-size: 17px;
	line-height: 1.68;
}

.akd-prose > * {
	max-width: var(--akd-col);
	margin-top: 0;
}

.akd-prose > :first-child {
	margin-top: 0;
}

.akd-prose > :last-child {
	margin-bottom: 0;
}

/* Шире колонки — до контейнера: таблицы, сканы, списки документов */
.akd-prose > .uk-table:not(.uk-table--compact),
.akd-prose > .uk-scans,
.akd-prose > .uk-docs,
.akd-prose > .akd-filter {
	max-width: none;
}

.akd-prose p {
	margin-bottom: 1em;
}

.akd-prose h2 {
	margin: 1.9em 0 0.7em;
	font-size: clamp(22px, 2.4vw, 28px);
	line-height: 1.22;
}

.akd-prose h3 {
	margin: 1.6em 0 0.6em;
	font-size: clamp(19px, 1.9vw, 22px);
	line-height: 1.3;
}

.akd-prose h4 {
	margin: 1.4em 0 0.5em;
	font-size: 18px;
}

.akd-prose h2 + h3,
.akd-prose h2 + .uk-clause {
	margin-top: 0;
}

.akd-prose ul,
.akd-prose ol {
	margin: 0 0 1.2em;
	padding-left: 1.4em;
}

.akd-prose li {
	margin: 0.35em 0;
}

.akd-prose ul > li::marker {
	color: var(--akd-accent);
}

.akd-prose ol > li::marker {
	color: var(--akd-accent-hover);
	font-weight: 600;
}

.akd-prose blockquote {
	margin: 1.5em 0;
	padding: 4px 0 4px 20px;
	border-left: 3px solid var(--akd-accent);
	color: var(--akd-ink);
}

.akd-prose hr,
.akd-prose .wp-block-separator {
	max-width: var(--akd-col);
	height: 1px;
	margin: 2.4em 0;
	border: 0;
	background: var(--akd-line);
	opacity: 1;
}

.akd-prose figure {
	margin: 1.6em 0;
}

.akd-prose figcaption,
.akd-prose .wp-element-caption {
	margin-top: 10px;
	color: var(--akd-muted);
	font-size: 14px;
	text-align: left;
}

.akd-prose details {
	margin: 0 0 1em;
	padding: 14px 18px;
	border: 1px solid var(--akd-line);
	border-radius: var(--akd-radius-sm);
	background: var(--akd-surface);
}

.akd-prose summary {
	color: var(--akd-ink);
	font-weight: 600;
	cursor: pointer;
}

.uk-lead {
	margin: 0 0 1.4em !important;
	color: var(--akd-ink);
	font-size: clamp(18px, 1.7vw, 20px);
	font-weight: 500;
	line-height: 1.55;
}

/* Пункты документов: номер в <strong>, уровень — отступ */
.uk-clause {
	margin: 0 0 0.75em !important;
}

.uk-clause > strong:first-child {
	margin-right: 0.2em;
	color: var(--akd-accent-hover);
	font-variant-numeric: tabular-nums;
	font-weight: 600;
}

.uk-clause--2,
.uk-clause--3 {
	position: relative;
	padding-left: 22px;
}

.uk-clause--2 {
	margin-left: 18px !important;
}

.uk-clause--3 {
	margin-left: 40px !important;
	font-size: 16px;
}

.uk-clause--2::before,
.uk-clause--3::before {
	content: "";
	position: absolute;
	top: 0.3em;
	bottom: -0.45em;
	left: 0;
	width: 2px;
	border-radius: 2px;
	background: var(--akd-line);
}

.uk-clause--1 + .uk-clause--2 {
	margin-top: -0.2em !important;
}

/* Маркированные пункты внутри документов */
ul.uk-doc-list {
	padding-left: 0;
	list-style: none;
}

.uk-doc-list > li {
	position: relative;
	padding-left: 26px;
}

.uk-doc-list > li::before {
	content: "";
	position: absolute;
	top: 0.62em;
	left: 6px;
	width: 7px;
	height: 7px;
	border-radius: 2px;
	background: var(--akd-accent);
}

/* Нумерованные условия — номера в кружках */
ol.uk-steps-list {
	display: grid;
	gap: 10px;
	padding-left: 0;
	list-style: none;
	counter-reset: akd-step;
}

.uk-steps-list > li {
	position: relative;
	margin: 0;
	padding: 14px 18px 14px 62px;
	border: 1px solid var(--akd-line);
	border-radius: var(--akd-radius-sm);
	background: var(--akd-surface);
	counter-increment: akd-step;
	line-height: 1.55;
}

.uk-steps-list > li::before {
	content: counter(akd-step);
	position: absolute;
	top: 12px;
	left: 16px;
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--akd-accent-soft);
	color: var(--akd-accent-hover);
	font-family: var(--akd-font-title);
	font-size: 15px;
	font-weight: 700;
}

/* Картинка-схема в тексте (не скан) */
.uk-figure {
	padding: 12px;
	border: 1px solid var(--akd-line);
	border-radius: var(--akd-radius);
	background: #fff;
}

.uk-figure img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 8px;
}

/* ===================================================================== Таблицы */

.wp-block-table {
	position: relative;
	margin: 1.8em 0;
	overflow-x: auto;
	border: 1px solid var(--akd-line);
	border-radius: var(--akd-radius-sm);
	background: var(--akd-surface);
	-webkit-overflow-scrolling: touch;
	scrollbar-color: var(--akd-line-2) transparent;
	scrollbar-width: thin;
}

.wp-block-table table {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: separate;
	border-spacing: 0;
	font-size: 15.5px;
	line-height: 1.5;
}

.wp-block-table .has-fixed-layout {
	table-layout: auto;
}

.wp-block-table thead {
	border: 0;
}

.wp-block-table th,
.wp-block-table td {
	padding: 12px 16px;
	border: 0;
	border-bottom: 1px solid var(--akd-line);
	text-align: left;
	vertical-align: top;
}

.wp-block-table thead th {
	background: var(--akd-thead);
	color: var(--akd-ink);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.35;
	vertical-align: bottom;
}

.wp-block-table tbody tr:nth-child(even) > * {
	background: var(--akd-zebra);
}

.wp-block-table tbody tr:last-child > * {
	border-bottom: 0;
}

.wp-block-table tbody tr:hover > * {
	background: #F3F6FA;
}

.wp-block-table figcaption {
	padding: 10px 16px;
	color: var(--akd-muted);
	font-size: 14px;
}

/* Перечень домов */
.uk-table--houses td:first-child,
.uk-table--houses th:first-child {
	width: 52px;
	color: var(--akd-muted);
	font-variant-numeric: tabular-nums;
	text-align: right;
}

.uk-table--houses td:nth-child(2) {
	color: var(--akd-ink);
	font-weight: 600;
}

.uk-table--houses td:nth-child(3),
.uk-table--houses td:nth-child(4) {
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.uk-table--houses table {
	min-width: 680px;
}

/* На телефоне строка перечня — карточка дома: адрес крупно, остальное подписями */
@media (max-width: 599.98px) {
	.uk-table--houses {
		overflow: visible;
		border: 0;
		background: transparent;
	}

	.uk-table--houses table,
	.uk-table--houses tbody,
	.uk-table--houses tr,
	.uk-table--houses td {
		display: block;
		min-width: 0;
	}

	/* Подписи колонок повторены в карточках (data-label) */
	.uk-table--houses thead {
		display: none;
	}

	.uk-table--houses tbody {
		display: grid;
		gap: 10px;
	}

	.uk-table--houses tbody tr {
		position: relative;
		padding: 14px 16px 12px 52px;
		border: 1px solid var(--akd-line);
		border-radius: var(--akd-radius-sm);
		background: var(--akd-surface);
	}

	.uk-table--houses tbody tr[hidden] {
		display: none;
	}

	.uk-table--houses tbody tr > *,
	.uk-table--houses tbody tr:nth-child(even) > *,
	.uk-table--houses tbody tr:hover > * {
		width: auto;
		padding: 0;
		border: 0;
		background: transparent;
		text-align: left;
		white-space: normal;
	}

	.uk-table--houses td:first-child {
		position: absolute;
		top: 14px;
		left: 0;
		width: 44px !important;
		text-align: right !important;
	}

	.uk-table--houses td:nth-child(2) {
		margin-bottom: 6px;
		font-size: 16.5px;
		line-height: 1.4;
	}

	.uk-table--houses td:nth-child(n+3) {
		font-size: 14.5px;
		line-height: 1.5;
	}

	.uk-table--houses td:nth-child(n+3)::before {
		content: attr(data-label) ": ";
		color: var(--akd-muted);
	}

	.uk-table--houses .akd-filter-empty td {
		position: static;
		display: block;
		width: auto !important;
	}

	.uk-table--houses .akd-filter-empty td::before {
		display: none;
	}
}

/* Широкая таблица: объединённые ячейки, прокрутка внутри, липкая первая колонка */
.uk-table--wide table {
	min-width: 1080px;
	font-size: 14.5px;
}

.uk-table--wide th,
.uk-table--wide td {
	min-width: 112px;
	padding: 10px 14px;
	border-right: 1px solid var(--akd-line);
}

.uk-table--wide tr > :last-child {
	border-right: 0;
}

.uk-table--wide thead th {
	border-bottom-color: var(--akd-line-2);
	vertical-align: middle;
}

.uk-table--wide td:nth-child(n+4) {
	font-variant-numeric: tabular-nums;
}

.uk-table--wide .akd-sticky-col {
	position: sticky;
	left: 0;
	z-index: 1;
	min-width: 190px;
	max-width: 260px;
	background: var(--akd-surface);
	box-shadow: 1px 0 0 var(--akd-line);
}

.uk-table--wide thead .akd-sticky-col {
	z-index: 2;
	background: var(--akd-thead);
}

.uk-table--wide tbody tr:nth-child(even) > .akd-sticky-col {
	background: var(--akd-zebra);
}

.uk-table--wide.is-scrolled-x .akd-sticky-col {
	box-shadow: 1px 0 0 var(--akd-line), 8px 0 14px -10px rgba(15, 36, 64, 0.35);
}

.uk-table--compact table {
	font-size: 15px;
}

.uk-table--compact th,
.uk-table--compact td {
	padding: 9px 14px;
}

.uk-table--compact td:last-child {
	font-variant-numeric: tabular-nums;
}

/* Подсказка о прокрутке (ставит скрипт, когда таблица шире экрана) */
.akd-scroll-hint {
	display: flex;
	gap: 8px;
	align-items: center;
	margin: 1.6em 0 -1.2em;
	color: var(--akd-muted);
	font-size: 13.5px;
}

.akd-scroll-hint .akd-icon {
	color: var(--akd-accent);
}

.akd-scroll-hint[hidden] {
	display: none;
}

/* Реквизиты: подпись / значение */
.uk-requisites table {
	font-size: 16px;
}

.uk-requisites tbody tr:nth-child(even) > * {
	background: transparent;
}

.uk-requisites td:first-child {
	width: 34%;
	color: var(--akd-muted);
	font-size: 15px;
}

.uk-requisites td:last-child {
	color: var(--akd-ink);
	font-weight: 500;
	font-variant-numeric: tabular-nums;
}

/* Поле «Найти дом» над перечнем */
.akd-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 16px;
	align-items: center;
	margin: 1.6em 0 -0.6em;
}

.akd-filter__label {
	color: var(--akd-ink);
	font-weight: 600;
}

.akd-filter__field {
	position: relative;
	flex: 1 1 280px;
	max-width: 440px;
}

.akd-filter__field .akd-icon {
	position: absolute;
	top: 50%;
	left: 14px;
	color: var(--akd-muted);
	transform: translateY(-50%);
	pointer-events: none;
}

.akd-filter__input {
	width: 100%;
	min-height: 48px;
	padding: 10px 14px 10px 44px;
	border: 1px solid var(--akd-line-2);
	border-radius: var(--akd-radius-sm);
	background: #fff;
	color: var(--akd-text);
	font-size: 16px;
}

.akd-filter__input:focus {
	border-color: var(--akd-ink);
	outline: 3px solid color-mix(in srgb, var(--akd-focus) 30%, transparent);
	outline-offset: 0;
}

.akd-filter__status {
	margin: 0;
	color: var(--akd-muted);
	font-size: 14px;
}

.akd-filter-empty td {
	padding: 22px 16px !important;
	color: var(--akd-muted);
	text-align: center !important;
}

/* ======================================================== Документы (PDF) */

.uk-docs {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin: 1.6em 0;
}

.akd-prose .wp-block-file,
.uk-docs .wp-block-file,
.uk-pdf .wp-block-file {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	gap: 10px 14px;
	align-items: center;
	margin: 0;
	padding: 14px 16px;
	border: 1px solid var(--akd-line);
	border-radius: var(--akd-radius-sm);
	background: var(--akd-surface);
	font-size: 16px;
	line-height: 1.4;
	transition: border-color 0.15s, box-shadow 0.15s;
}

.akd-prose > .wp-block-file {
	margin-bottom: 12px;
}

.wp-block-file::before {
	content: "PDF";
	display: grid;
	flex: none;
	place-items: end center;
	width: 38px;
	height: 46px;
	padding-bottom: 7px;
	border-radius: 4px 12px 4px 4px;
	background:
		linear-gradient(225deg, var(--akd-surface) 0 9px, rgba(198, 47, 62, 0.28) 9px 11px, transparent 11px),
		var(--akd-accent-soft);
	color: var(--akd-accent-hover);
	font-family: var(--akd-font-title);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1;
}

.wp-block-file:has(a[href$=".doc" i], a[href$=".docx" i], a[href$=".rtf" i])::before {
	content: "DOC";
}

.wp-block-file:has(a[href$=".xls" i], a[href$=".xlsx" i])::before {
	content: "XLS";
}

.wp-block-file > a:not(.wp-block-file__button) {
	flex: 1 1 180px;
	min-width: 0;
	color: var(--akd-ink);
	font-weight: 600;
	text-decoration: none;
}

/* Карточка целиком кликабельна (ссылка-название растянута), кнопка — поверх */
.wp-block-file > a:not(.wp-block-file__button)::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	border-radius: inherit;
}

.wp-block-file:hover {
	border-color: var(--akd-line-2);
	box-shadow: var(--akd-shadow-sm);
}

.wp-block-file:hover > a:not(.wp-block-file__button) {
	color: var(--akd-accent-hover);
}

.wp-block-file .wp-block-file__button,
.wp-block-file * + .wp-block-file__button {
	position: relative;
	z-index: 1;
	display: inline-flex;
	flex: none;
	gap: 8px;
	align-items: center;
	margin: 0 0 0 auto;
	padding: 8px 14px;
	border: 1.5px solid rgba(15, 36, 64, 0.2);
	border-radius: 10px;
	background: transparent;
	color: var(--akd-ink);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	opacity: 1;
}

.wp-block-file .wp-block-file__button::before {
	content: "";
	width: 16px;
	height: 16px;
	background: currentColor;
	-webkit-mask: var(--akd-i-download) center / contain no-repeat;
	mask: var(--akd-i-download) center / contain no-repeat;
}

.wp-block-file .wp-block-file__button:hover,
.wp-block-file .wp-block-file__button:focus-visible {
	border-color: var(--akd-accent);
	background: var(--akd-accent);
	color: #fff;
	opacity: 1;
}

.wp-block-file .wp-block-file__button:visited {
	color: var(--akd-ink);
}

.wp-block-file .wp-block-file__button:visited:hover {
	color: #fff;
}

/* Встроенный PDF: превью сверху, под ним название и кнопка */
.uk-pdf {
	display: grid;
	gap: 20px;
	margin: 1.6em 0;
}

.uk-pdf .wp-block-file {
	padding: 0 16px 14px;
	overflow: hidden;
}

.uk-pdf .wp-block-file::before {
	margin-top: 14px;
}

.uk-pdf .wp-block-file > a:not(.wp-block-file__button),
.uk-pdf .wp-block-file .wp-block-file__button {
	margin-top: 14px;
}

.wp-block-file__embed {
	display: block;
	order: -1;
	flex: 0 0 calc(100% + 32px);
	width: calc(100% + 32px) !important;
	max-height: 80vh;
	margin: 0 -16px;
	border: 0;
	border-bottom: 1px solid var(--akd-line);
	background: var(--akd-paper-2);
}

.wp-block-file__embed[hidden] {
	display: none !important;
}

.uk-pdf .wp-block-file > a:not(.wp-block-file__button)::after {
	display: none;
}

@media (max-width: 767.98px) {
	.wp-block-file__embed {
		display: none !important;
	}

	.uk-pdf .wp-block-file {
		padding-top: 0;
	}
}

/* ======================================================== Сканы документов */

.wp-block-gallery.uk-scans {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
	gap: clamp(18px, 2.4vw, 32px);
	align-items: start;
	margin: 1.6em 0 2em;
	padding: 0;
}

.wp-block-gallery.uk-scans:has(> figure:nth-child(2):last-child),
.wp-block-gallery.uk-scans:has(> figure:only-child) {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	max-width: 900px;
}

.wp-block-gallery.uk-scans > figure.wp-block-image,
.wp-block-gallery.has-nested-images.uk-scans figure.wp-block-image:not(#individual-image) {
	display: block;
	flex: none;
	width: auto !important;
	margin: 0 !important;
}

.wp-block-gallery.uk-scans > figure.akd-landscape {
	grid-column: span 2;
}

.wp-block-gallery.has-nested-images.uk-scans figure.wp-block-image img,
.wp-block-gallery.has-nested-images.is-cropped.uk-scans figure.wp-block-image:not(#individual-image) img {
	flex: none;
	width: 100% !important;
	height: auto !important;
	object-fit: contain !important;
}

.wp-block-gallery.has-nested-images.uk-scans figure.wp-block-image figcaption {
	position: static;
	max-height: none;
	padding: 10px 2px 0;
	background: none;
	color: var(--akd-muted);
	font-size: 14px;
	text-align: left;
}

.uk-scan {
	margin: 1.6em 0 2em;
}

.akd-prose > .uk-scan.akd-portrait {
	max-width: min(var(--akd-col), 560px);
}

/* «Лист бумаги»: белые поля, тонкая рамка, мягкая тень */
.uk-scans figure.wp-block-image img,
.uk-scan img {
	display: block;
	width: 100%;
	height: auto;
	padding: clamp(6px, 0.8vw, 10px);
	border: 1px solid #E8E2D6;
	border-radius: 6px;
	background: #fff;
	box-shadow: var(--akd-shadow-paper);
	transition: transform 0.2s, box-shadow 0.2s;
}

.uk-scans figure.wp-lightbox-container:hover img,
.uk-scan.wp-lightbox-container:hover img {
	box-shadow: 0 2px 4px rgba(15, 36, 64, 0.06), 0 22px 40px -18px rgba(15, 36, 64, 0.42);
	transform: translateY(-3px);
}

.uk-scans .wp-lightbox-container .lightbox-trigger,
.uk-scan.wp-lightbox-container .lightbox-trigger,
.uk-figure.wp-lightbox-container .lightbox-trigger {
	width: 32px;
	height: 32px;
	padding: 0;
	border-radius: 8px;
	background-color: rgba(15, 36, 64, 0.72);
}

/* ======================================================= Хаб: дочерние страницы */

.akd-children {
	padding-top: clamp(32px, 5vw, 56px);
	padding-bottom: clamp(56px, 7vw, 88px);
}

.akd-page.has-children + .akd-children {
	padding-top: 0;
}

.akd-children__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
	gap: 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.akd-child {
	margin: 0;
}

.akd-child__link {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	border: 1px solid var(--akd-line);
	border-radius: var(--akd-radius);
	background: var(--akd-surface);
	color: var(--akd-ink);
	text-decoration: none;
	transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.akd-child__link:hover {
	border-color: var(--akd-line-2);
	box-shadow: var(--akd-shadow);
	color: var(--akd-ink);
	transform: translateY(-3px);
}

.akd-child__media {
	position: relative;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	height: 170px;
	padding: 20px 24px 0;
	overflow: hidden;
	background:
		var(--akd-orbits-ink) no-repeat 50% 40% / 300px,
		var(--akd-paper-2);
}

.akd-child__img {
	display: block;
	width: 74%;
	height: 100%;
	border: 1px solid #E8E2D6;
	border-bottom: 0;
	border-radius: 4px 4px 0 0;
	background: #fff;
	box-shadow: 0 -2px 18px -6px rgba(15, 36, 64, 0.28);
	object-fit: cover;
	object-position: top center;
	transition: transform 0.25s;
}

.akd-child__img[width][height] {
	aspect-ratio: auto;
}

.akd-child__link:hover .akd-child__img {
	transform: translateY(-5px);
}

.akd-child__icon {
	display: grid;
	place-items: center;
	align-self: center;
	width: 68px;
	height: 68px;
	margin-bottom: 20px;
	border-radius: 20px;
	background: #fff;
	box-shadow: var(--akd-shadow-sm);
	color: var(--akd-accent);
}

.akd-child__icon .akd-icon {
	width: 32px;
	height: 32px;
}

.akd-child__body {
	display: grid;
	flex: 1;
	gap: 4px;
	align-content: start;
	padding: 16px 56px 18px 18px;
}

.akd-child__title {
	font-family: var(--akd-font-title);
	font-size: 17px;
	font-weight: 600;
	line-height: 1.3;
}

.akd-child__link:hover .akd-child__title {
	color: var(--akd-accent-hover);
}

.akd-child__meta {
	color: var(--akd-muted);
	font-size: 14px;
}

.akd-child__arrow {
	position: absolute;
	right: 14px;
	bottom: 16px;
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border: 1px solid var(--akd-line);
	border-radius: 50%;
	color: var(--akd-ink);
	transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.akd-child__link:hover .akd-child__arrow {
	border-color: var(--akd-accent-soft);
	background: var(--akd-accent-soft);
	color: var(--akd-accent);
}

/* =========================================================== Пустое состояние */

.akd-empty {
	padding-block: clamp(40px, 6vw, 72px) clamp(56px, 8vw, 96px);
}

.akd-empty__card {
	display: grid;
	gap: 18px;
	justify-items: center;
	max-width: 760px;
	margin: 0 auto;
	padding: clamp(32px, 5vw, 56px) clamp(20px, 4vw, 48px);
	border: 1px dashed var(--akd-line-2);
	border-radius: var(--akd-radius-lg);
	background: var(--akd-surface);
	text-align: center;
}

.akd-empty__mark .akd-logo__mark {
	width: 64px;
	height: 64px;
	opacity: 0.9;
}

.akd-empty__title {
	margin: 0;
	color: var(--akd-ink);
	font-family: var(--akd-font-title);
	font-size: clamp(20px, 2.2vw, 24px);
	font-weight: 600;
	line-height: 1.3;
}

.akd-empty__links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
	margin: 6px 0 0;
	padding: 0;
	list-style: none;
}

.akd-empty__links--left {
	justify-content: flex-start;
}

.akd-empty__links a {
	display: inline-flex;
	align-items: center;
	min-height: 42px;
	padding: 8px 16px;
	border: 1px solid var(--akd-line);
	border-radius: 999px;
	background: var(--akd-paper);
	color: var(--akd-ink);
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
}

.akd-empty__links a:hover {
	border-color: var(--akd-accent);
	background: var(--akd-accent-soft);
	color: var(--akd-accent-hover);
}

/* ===================================================================== Новость */

.akd-article__cover {
	max-width: var(--akd-col);
	margin: 0 0 2em !important;
	overflow: hidden;
	border-radius: var(--akd-radius);
	box-shadow: var(--akd-shadow-sm);
}

.akd-article__cover img {
	display: block;
	width: 100%;
	height: auto;
}

.akd-article__cover.aksk-img--placeholder {
	min-height: 0;
	aspect-ratio: 3 / 1 !important;
	background-size: auto 150%, auto, auto;
	box-shadow: none;
}

.akd-related {
	padding-block: clamp(48px, 6vw, 80px);
	border-top: 1px solid var(--akd-line);
	background: var(--akd-surface);
}

.akd-related__title {
	margin: 0 0 24px;
	font-size: clamp(24px, 2.6vw, 32px);
}

/* ========================================================= Лента и поиск */

.akd-listing {
	padding-block: clamp(32px, 5vw, 56px) clamp(56px, 7vw, 88px);
}

.akd-listing__empty {
	color: var(--akd-muted);
}

.akd-pagination {
	margin-top: 36px;
}

.akd-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.akd-pagination .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 44px;
	min-height: 44px;
	padding: 6px 14px;
	border: 1px solid var(--akd-line);
	border-radius: 10px;
	background: #fff;
	color: var(--akd-ink);
	font-weight: 600;
	text-decoration: none;
}

.akd-pagination .page-numbers.current {
	border-color: var(--akd-ink);
	background: var(--akd-ink);
	color: #fff;
}

.akd-search {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	max-width: 620px;
}

.akd-search__field {
	position: relative;
	flex: 1 1 260px;
}

.akd-search__field .akd-icon {
	position: absolute;
	top: 50%;
	left: 14px;
	color: var(--akd-muted);
	transform: translateY(-50%);
	pointer-events: none;
}

.akd-search__input {
	width: 100%;
	min-height: 50px;
	padding: 10px 14px 10px 44px;
	border: 1px solid var(--akd-line-2);
	border-radius: var(--akd-radius-sm);
	background: #fff;
	color: var(--akd-text);
	font-size: 16px;
}

.akd-search__input:focus {
	border-color: var(--akd-ink);
	outline: 3px solid color-mix(in srgb, var(--akd-focus) 30%, transparent);
	outline-offset: 0;
}

.akd-results-wrap {
	padding-block: clamp(28px, 4vw, 44px) clamp(56px, 7vw, 88px);
}

.akd-results {
	display: grid;
	gap: 12px;
	max-width: var(--akd-col);
	margin: 28px 0 0;
	padding: 0;
	list-style: none;
}

.akd-result {
	padding: 18px 20px;
	border: 1px solid var(--akd-line);
	border-radius: var(--akd-radius-sm);
	background: #fff;
}

.akd-result__meta {
	margin: 0 0 4px;
	color: var(--akd-muted);
	font-size: 13.5px;
}

.akd-result__title {
	margin: 0 0 6px;
	font-size: 19px;
}

.akd-result__title a {
	text-decoration: none;
}

.akd-result__excerpt {
	margin: 0;
	color: var(--akd-muted);
	font-size: 15px;
}

.akd-results-wrap .akd-empty__links {
	margin-top: 24px;
}

/* ===================================================================== 404 */

.akd-404 {
	position: relative;
	overflow: hidden;
	padding-block: clamp(56px, 9vw, 120px);
}

.akd-404::before {
	content: "";
	position: absolute;
	top: 50%;
	right: -180px;
	width: 680px;
	height: 680px;
	margin-top: -340px;
	background: var(--akd-orbits-ink) no-repeat center / contain;
	pointer-events: none;
}

.akd-404__inner {
	position: relative;
	display: grid;
	gap: 18px;
	justify-items: start;
}

.akd-404__code {
	margin: 0;
	color: var(--akd-accent);
	font-family: var(--akd-font-title);
	font-size: clamp(64px, 10vw, 120px);
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.03em;
}

.akd-404__title {
	margin: 0;
	font-size: clamp(28px, 3.6vw, 44px);
}

.akd-404__text {
	max-width: 620px;
	margin: 0;
	color: var(--akd-muted);
	font-size: 18px;
}

.akd-404 .akd-search {
	width: 100%;
}

/* ===================================================================== Подвал */

.akd-footer {
	position: relative;
	overflow: hidden;
	background:
		var(--akd-orbits-light) no-repeat right -220px top -200px / 760px,
		var(--akd-ink);
	color: var(--akd-on-dark-muted);
	font-size: 15px;
	line-height: 1.55;
}

.akd-footer a {
	color: #fff;
	text-decoration-color: rgba(255, 255, 255, 0.35);
}

.akd-footer a:hover {
	color: #FFB4B9;
	text-decoration-color: currentColor;
}

.akd-footer :focus-visible {
	outline-color: #fff;
}

.akd-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1fr);
	gap: 40px 48px;
	padding-block: clamp(48px, 6vw, 72px) 40px;
}

.akd-footer__brand {
	display: grid;
	gap: 20px;
	align-content: start;
}

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

.akd-footer__contacts li {
	display: flex;
	gap: 10px;
	align-items: flex-start;
}

.akd-footer__contacts .akd-icon {
	margin-top: 2px;
	color: #FF8A93;
}

.akd-footer__contacts a {
	text-decoration: none;
}

.akd-footer__emergency {
	display: grid;
	gap: 2px;
	justify-self: start;
	padding: 14px 18px;
	border: 1px solid var(--akd-on-dark-line);
	border-radius: var(--akd-radius-sm);
	background: rgba(255, 255, 255, 0.05);
	text-decoration: none;
}

.akd-footer__emergency-label {
	display: flex;
	gap: 9px;
	align-items: center;
	color: var(--akd-on-dark-muted);
	font-size: 13.5px;
}

.akd-footer__emergency-phone {
	color: #fff;
	font-family: var(--akd-font-title);
	font-size: 30px;
	font-weight: 700;
	line-height: 1.15;
}

.akd-footer__emergency-hours {
	color: var(--akd-on-dark-muted);
	font-size: 13.5px;
}

.akd-footer__emergency:hover .akd-footer__emergency-phone {
	color: #FFB4B9;
}

.akd-footer__title {
	margin: 0 0 16px;
	color: #fff;
	font-family: var(--akd-font-title);
	font-size: 16px;
	font-weight: 600;
	letter-spacing: 0.01em;
}

.akd-hours {
	display: grid;
	gap: 10px;
	margin: 0;
}

.akd-hours__row {
	display: grid;
	gap: 2px;
}

.akd-hours dt {
	color: #fff;
	font-weight: 600;
}

.akd-hours dt::first-letter {
	text-transform: uppercase;
}

.akd-hours dd {
	margin: 0;
}

.akd-hours__part {
	display: inline-block;
	white-space: nowrap;
}

.akd-hours__row--off dd {
	color: #fff;
}

.akd-footer__menu {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.akd-footer__menu--cols {
	display: block;
	columns: 2 150px;
	column-gap: 24px;
}

.akd-footer__menu--cols li {
	margin: 0 0 8px;
	break-inside: avoid;
}

.akd-footer__menu a {
	color: var(--akd-on-dark-muted);
	text-decoration: none;
}

.akd-footer__menu a:hover,
.akd-footer__menu .current-menu-item > a {
	color: #fff;
	text-decoration: underline;
}

.akd-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 28px;
	align-items: center;
	padding-block: 22px 26px;
	border-top: 1px solid var(--akd-on-dark-line);
	font-size: 14px;
}

.akd-footer__bottom p {
	margin: 0;
}

.akd-footer__copy {
	margin-right: auto !important;
	color: var(--akd-on-dark-muted);
}

.akd-footer__link-btn {
	color: var(--akd-on-dark-muted);
	text-decoration: underline;
	text-decoration-color: rgba(255, 255, 255, 0.35);
	text-underline-offset: 3px;
}

.akd-footer__link-btn:hover {
	color: #fff;
}

.akd-footer__credit {
	color: var(--akd-on-dark-muted);
}

/* ===================================================== Набор AK Sites Kit */

.aksk-form__title {
	color: var(--akd-ink);
	letter-spacing: -0.01em;
}

.aksk-form__submit {
	font-family: var(--akd-font);
	font-weight: 600;
}

.aksk-form__input:focus {
	border-color: var(--akd-ink);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--akd-focus) 22%, transparent);
}

.aksk-modal__overlay {
	background: rgba(15, 36, 64, 0.55);
}

.aksk-launcher {
	font-family: var(--akd-font);
	font-weight: 600;
	box-shadow: 0 14px 30px -10px rgba(198, 47, 62, 0.65);
}

.aksk-cookie__card {
	background:
		var(--akd-orbits-light) no-repeat right -90px top -90px / 260px,
		var(--akd-ink);
}

.aksk-toc__inner {
	background: var(--akd-surface);
}

.aksk-toc__title {
	display: flex;
	gap: 8px;
	align-items: center;
}

.aksk-toc__link {
	line-height: 1.4;
}

.aksk-toc__link.is-active {
	background: var(--akd-accent-soft);
}

.aksk-fab__btn {
	color: var(--akd-ink);
}

/* Лайтбокс ядра: фон под цвет сайта */
.wp-lightbox-overlay .scrim {
	background-color: rgba(246, 244, 239, 0.96) !important;
}

/* ===================================================================== Адаптив */

@media (max-width: 1199.98px) {
	.uk-contacts__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.uk-contacts__emergency {
		grid-column: 1 / -1;
	}

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

@media (max-width: 1023.98px) {
	.uk-hero {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas:
			"body"
			"media"
			"contacts";
	}

	.uk-hero .ak-hero__body {
		max-width: 720px;
	}

	.uk-hero .ak-hero__media {
		max-width: 720px;
		padding: 0;
	}

	.akd-ecard--hero {
		position: relative;
		bottom: auto;
		left: auto;
		width: auto;
		margin: -56px 16px 0;
	}

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

	.uk-contact + .uk-contact {
		border-top: 1px solid var(--akd-line);
		border-left: 0;
	}

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

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

	.uk-pay__aside {
		position: static;
		max-width: 420px;
	}

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

	.akd-page.has-toc {
		display: block;
	}

	.akd-page__aside {
		display: none;
	}
}

@media (max-width: 767.98px) {
	body {
		font-size: 16px;
	}

	.akd-prose {
		font-size: 16px;
	}

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

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

	.uk-notices__grid {
		columns: 1;
	}

	.akd-footer__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
	}

	.akd-footer__bottom {
		display: grid;
		gap: 10px;
	}

	.akd-footer__copy {
		margin-right: 0 !important;
	}

	.uk-clause--2 {
		margin-left: 6px !important;
	}

	.uk-clause--3 {
		margin-left: 20px !important;
	}

	.uk-requisites td {
		display: block;
		width: auto !important;
		border-bottom: 0 !important;
	}

	.uk-requisites td:first-child {
		padding-bottom: 0;
		font-size: 13.5px;
	}

	.uk-requisites td:first-child:empty {
		display: none;
	}

	.uk-requisites td:last-child {
		padding-top: 2px;
	}

	.uk-requisites tr {
		display: block;
		border-bottom: 1px solid var(--akd-line);
	}

	.uk-requisites tr:last-child {
		border-bottom: 0;
	}

	.uk-requisites tbody {
		display: block;
	}

	.uk-requisites table {
		display: block;
	}

	.wp-block-gallery.uk-scans,
	.wp-block-gallery.uk-scans:has(> figure:nth-child(2):last-child) {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 14px;
	}

	.wp-block-gallery.uk-scans > figure.akd-landscape {
		grid-column: 1 / -1;
	}

	.akd-children__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}

	.akd-child__media {
		height: 128px;
		padding: 14px 14px 0;
	}

	.akd-child__icon {
		width: 54px;
		height: 54px;
		margin-bottom: 18px;
		border-radius: 16px;
	}

	.akd-child__icon .akd-icon {
		width: 26px;
		height: 26px;
	}

	.akd-child__body {
		padding: 12px 14px 48px;
	}

	.akd-child__title {
		font-size: 15.5px;
	}

	.akd-child__meta {
		font-size: 13px;
	}

	.akd-child__arrow {
		right: auto;
		bottom: 12px;
		left: 14px;
		width: 28px;
		height: 28px;
	}

	.uk-steps-list > li {
		padding: 12px 14px 12px 52px;
	}

	.uk-steps-list > li::before {
		left: 12px;
		width: 28px;
		height: 28px;
	}
}

@media (max-width: 599.98px) {
	.uk-tiles {
		grid-template-columns: minmax(0, 1fr);
		gap: 10px;
	}

	.uk-tile {
		justify-content: center;
		min-height: 80px;
		padding: 16px 60px 16px 80px;
	}

	.uk-tile::before,
	.uk-tile::after {
		top: 50%;
		left: 16px;
		width: 46px;
		height: 46px;
		margin-top: -23px;
	}

	.uk-tile::after {
		-webkit-mask-size: 24px;
		mask-size: 24px;
	}

	.uk-tile__title {
		font-size: 17px;
	}

	.uk-tile__title::before {
		top: 50%;
		right: 16px;
		bottom: auto;
		margin-top: -17px;
		width: 34px;
		height: 34px;
	}

	.uk-tile__title::after {
		top: 50%;
		right: 25px;
		bottom: auto;
		margin-top: -8px;
	}

	.uk-contact {
		padding: 18px 18px 18px 72px;
	}

	.uk-contact::before,
	.uk-contact::after {
		top: 18px;
		left: 18px;
	}

	.ak-hero__actions .wp-block-button {
		flex: 1 1 100%;
	}

	.ak-hero__actions .wp-block-button__link {
		width: 100%;
	}

	.uk-about__col {
		padding: 22px 18px 18px;
	}

	.uk-about__cta {
		border-radius: var(--akd-radius);
	}

	.uk-about__cta .wp-block-buttons,
	.uk-about__cta .wp-block-button,
	.uk-about__cta .wp-block-button__link {
		width: 100%;
	}

	.uk-notice:not(.uk-notice--banner) {
		padding: 20px 18px 18px;
	}

	.uk-callout {
		padding: 16px 16px 16px 54px;
	}

	.uk-callout::before {
		top: 16px;
		left: 16px;
		width: 24px;
		height: 24px;
	}

	.uk-contacts__card,
	.uk-contacts__hours,
	.uk-contacts__emergency {
		padding: 22px 18px;
	}

	.uk-hours th,
	.uk-hours td {
		padding: 8px 9px;
	}

	.akd-ecard--hero {
		margin: -40px 10px 0;
	}

	.akd-ecard__phone {
		font-size: 32px;
	}

	.wp-block-file .wp-block-file__button,
	.wp-block-file * + .wp-block-file__button {
		margin-left: 52px;
	}

	.wp-block-table th,
	.wp-block-table td {
		padding: 10px 12px;
	}

	.uk-table--wide table {
		font-size: 13.5px;
	}

	.uk-table--wide th,
	.uk-table--wide td {
		min-width: 96px;
	}

	.uk-table--wide .akd-sticky-col {
		min-width: 118px;
		max-width: 136px;
	}

	.akd-pagehead::before {
		top: -120px;
		right: -200px;
		width: 380px;
		height: 380px;
	}
}

@media (max-width: 379.98px) {
	.akd-children__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.akd-child__link {
		flex-direction: row;
		align-items: stretch;
	}

	.akd-child__media {
		flex: 0 0 96px;
		height: auto;
		min-height: 96px;
		padding: 10px 10px 0;
	}

	.akd-child__icon {
		width: 46px;
		height: 46px;
		margin: auto;
	}

	.akd-child__img {
		width: 100%;
	}

	.akd-child__body {
		padding: 12px 14px 44px;
	}
}

/* ============================================================ Меньше движения */

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

	.uk-tile:hover,
	.aksk-post-card:hover,
	.akd-child__link:hover,
	.akd-child__link:hover .akd-child__img,
	.uk-scans figure.wp-lightbox-container:hover img,
	.uk-scan.wp-lightbox-container:hover img,
	.akd-btn:hover,
	.wp-block-button.ak-btn > .wp-block-button__link:hover {
		transform: none;
	}
}
