

/* Start:/local/templates/czn/css/a11y.css?179352550511117*/
/* ==========================================================================
   Версия для слабовидящих (ГОСТ Р 52872-2019).
   Включается классом .a11y-on на <html>, параметры — атрибутами data-a11y-*:
   size (1–3), scheme (1–5), images (on|gray|off), spacing (1–3), line (1–3), font (sans|serif).
   Общие правила обёрнуты в :where(), чтобы точечные правила ниже легко их перекрывали.
   ========================================================================== */

/* ---------- Панель настроек ---------- */
.a11y-panel { display: none; border-bottom: 2px solid currentColor; }
html.a11y-on .a11y-panel { display: block; }
.a11y-panel__inner { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: flex-end; padding-top: 14px; padding-bottom: 14px; }
.a11y-group { border: 0; margin: 0; padding: 0; min-width: 0; }
.a11y-group__label { display: block; font-size: 1rem; font-weight: 700; margin-bottom: 6px; padding: 0; }
.a11y-group__btns { display: flex; flex-wrap: wrap; gap: 6px; }
.a11y-btn {
	min-width: 44px; min-height: 44px; padding: 6px 12px;
	font: inherit; font-size: 1rem; font-weight: 700; line-height: 1.1;
	border: 2px solid; border-radius: 4px; cursor: pointer;
}
.a11y-btn--s1 { font-size: 1rem; }
.a11y-btn--s2 { font-size: 1.3rem; }
.a11y-btn--s3 { font-size: 1.6rem; }
.a11y-btn--serif { font-family: "Times New Roman", Times, serif !important; }
.a11y-btn--sans { font-family: Arial, Helvetica, sans-serif !important; }
.a11y-panel__actions { display: flex; flex-wrap: wrap; gap: 6px; margin-left: auto; }

/* Образцы цветовых схем всегда в своих цветах */
html.a11y-on .a11y-btn--c1 { background: #fff !important; color: #000 !important; border-color: #000 !important; }
html.a11y-on .a11y-btn--c2 { background: #000 !important; color: #fff !important; border-color: #fff !important; }
html.a11y-on .a11y-btn--c3 { background: #9dd1ff !important; color: #063462 !important; border-color: #063462 !important; }
html.a11y-on .a11y-btn--c4 { background: #f7f3d6 !important; color: #4d4b43 !important; border-color: #4d4b43 !important; }
html.a11y-on .a11y-btn--c5 { background: #3b2716 !important; color: #a9e44d !important; border-color: #a9e44d !important; }
html.a11y-on .a11y-btn--c1[aria-pressed="true"],
html.a11y-on .a11y-btn--c2[aria-pressed="true"],
html.a11y-on .a11y-btn--c3[aria-pressed="true"],
html.a11y-on .a11y-btn--c4[aria-pressed="true"],
html.a11y-on .a11y-btn--c5[aria-pressed="true"] { outline: 4px solid var(--a-fg); outline-offset: 2px; }

/* ---------- Цветовые схемы ---------- */
html.a11y-on { --a-bg: #fff; --a-fg: #000; }
html.a11y-on[data-a11y-scheme="2"] { --a-bg: #000; --a-fg: #fff; }
html.a11y-on[data-a11y-scheme="3"] { --a-bg: #9dd1ff; --a-fg: #063462; }
html.a11y-on[data-a11y-scheme="4"] { --a-bg: #f7f3d6; --a-fg: #4d4b43; }
html.a11y-on[data-a11y-scheme="5"] { --a-bg: #3b2716; --a-fg: #a9e44d; }

html.a11y-on,
html.a11y-on body { background: var(--a-bg) !important; color: var(--a-fg) !important; }

/* Все элементы сайта (кроме панели администратора Битрикс) — в цветах схемы */
html.a11y-on :where(body > :not(#panel), body > :not(#panel) *:not(svg, svg *)) {
	background-color: var(--a-bg) !important;
	background-image: none !important;
	color: var(--a-fg) !important;
	border-color: var(--a-fg) !important;
	box-shadow: none !important;
	text-shadow: none !important;
}
html.a11y-on :where(body > :not(#panel)) svg { color: var(--a-fg) !important; }
html.a11y-on :where(.banner__slide)::before { display: none !important; }

/* Ссылки и кнопки различимы без цвета */
html.a11y-on :where(body > :not(#panel)) a { text-decoration: underline !important; }
html.a11y-on :where(body > :not(#panel)) a:hover { text-decoration-thickness: 3px !important; }
html.a11y-on .btn,
html.a11y-on .banner__btn,
html.a11y-on .tabs__btn,
html.a11y-on .banner__arrow,
html.a11y-on .burger,
html.a11y-on .a11y-btn { border: 2px solid var(--a-fg) !important; }
html.a11y-on .btn:hover,
html.a11y-on .banner__btn:hover,
html.a11y-on .tabs__btn:hover,
html.a11y-on .tabs__btn[aria-selected="true"],
html.a11y-on .a11y-btn[aria-pressed="true"]:not([class*="a11y-btn--c"]),
html.a11y-on .a11y-btn:hover:not([class*="a11y-btn--c"]),
html.a11y-on .pager .is-current,
html.a11y-on .banner__dot.is-active { background-color: var(--a-fg) !important; color: var(--a-bg) !important; }
html.a11y-on .tabs__btn[aria-selected="true"] { text-decoration: underline; }
html.a11y-on .banner__dot { border: 2px solid var(--a-fg) !important; }

/* Активные пункты меню: подчёркивание и рамка вместо цвета */
html.a11y-on .menu-top__item.is-selected > .menu-top__row > .menu-top__link { text-decoration-thickness: 3px !important; }
html.a11y-on .menu-left .is-selected a { outline: 2px solid var(--a-fg); outline-offset: -2px; font-weight: 700; }
html.a11y-on .card,
html.a11y-on .page-layout__content,
html.a11y-on .menu-left { border: 2px solid var(--a-fg) !important; }
html.a11y-on .burger__lines,
html.a11y-on .burger__lines::before,
html.a11y-on .burger__lines::after { background-color: var(--a-fg) !important; }
html.a11y-on .burger[aria-expanded="true"] .burger__lines { background-color: transparent !important; }


/* Фокус клавиатуры — толстая рамка цветом текста */
html.a11y-on :focus-visible { outline: 4px solid var(--a-fg) !important; outline-offset: 3px !important; }

/* ---------- Размер шрифта ---------- */
html.a11y-on { font-size: 100%; }
html.a11y-on[data-a11y-size="2"] { font-size: 150%; }
html.a11y-on[data-a11y-size="3"] { font-size: 200%; }

/* ---------- Шрифт ---------- */
html.a11y-on :where(body > :not(#panel), body > :not(#panel) *) { font-family: Arial, Helvetica, sans-serif !important; }
html.a11y-on[data-a11y-font="serif"] :where(body > :not(#panel), body > :not(#panel) *) { font-family: "Times New Roman", Times, Georgia, serif !important; }

/* ---------- Интервалы ---------- */
html.a11y-on[data-a11y-spacing="2"] :where(body > :not(#panel), body > :not(#panel) *) { letter-spacing: .08em !important; word-spacing: .16em !important; }
html.a11y-on[data-a11y-spacing="3"] :where(body > :not(#panel), body > :not(#panel) *) { letter-spacing: .16em !important; word-spacing: .32em !important; }
html.a11y-on[data-a11y-line="2"] :where(body > :not(#panel), body > :not(#panel) *) { line-height: 1.9 !important; }
html.a11y-on[data-a11y-line="3"] :where(body > :not(#panel), body > :not(#panel) *) { line-height: 2.3 !important; }

/* ---------- Изображения ---------- */
html.a11y-on[data-a11y-images="gray"] :where(body > :not(#panel)) img { filter: grayscale(1) contrast(1.1) !important; }
html.a11y-on[data-a11y-images="off"] :where(body > :not(#panel)) img,
html.a11y-on[data-a11y-images="off"] .news-row__img,
html.a11y-on[data-a11y-images="off"] .news-card__img,
html.a11y-on[data-a11y-images="off"] .news-detail__img { display: none !important; }
html.a11y-on[data-a11y-images="off"] .news-row { grid-template-columns: minmax(0, 1fr) !important; }
.a11y-alt { display: none; }
html.a11y-on[data-a11y-images="off"] .a11y-alt {
	display: inline-block; padding: 4px 8px; margin: 4px 0; border: 2px dashed var(--a-fg); font-style: italic;
}

/* ---------- Раскладка при крупном шрифте ---------- */
html.a11y-on .header__inner { flex-wrap: wrap !important; }
html.a11y-on .header__search { flex: 1 1 18rem; }
html.a11y-on .header-phone { text-align: left; }
html.a11y-on .banner { min-height: 0 !important; }
html.a11y-on .banner__slide { align-items: start !important; }
html.a11y-on .banner__label::before { border-left-color: var(--a-fg) !important; }
html.a11y-on .banner__visual { align-self: stretch !important; min-height: 240px; }
html.a11y-on[data-a11y-images="off"] .banner__visual { display: none !important; }
html.a11y-on[data-a11y-images="off"] .banner__slide { grid-template-columns: minmax(0, 1fr) !important; grid-template-rows: auto !important; }
html.a11y-on .banner__body { padding-bottom: 5rem; }
html.a11y-on .banner__controls { flex-wrap: wrap; }
html.a11y-on[data-a11y-size="2"] .hero,
html.a11y-on[data-a11y-size="3"] .hero,
html.a11y-on[data-a11y-size="2"] .faq-layout,
html.a11y-on[data-a11y-size="3"] .faq-layout,
html.a11y-on[data-a11y-size="3"] .page-layout,
html.a11y-on[data-a11y-size="3"] .footer__grid { grid-template-columns: minmax(0, 1fr) !important; }
html.a11y-on[data-a11y-size="3"] .page-layout__side { position: static !important; }
html.a11y-on[data-a11y-size="3"] .services,
html.a11y-on[data-a11y-size="3"] .links-grid { grid-template-columns: minmax(0, 1fr) !important; }
html.a11y-on .menu-top__sub { min-width: min(20rem, 90vw); }

/* Без анимаций */
html.a11y-on *, html.a11y-on *::before, html.a11y-on *::after { transition: none !important; animation: none !important; }

/* ---------- Элементы шаблона «Работа России» ---------- */
/* Двухцветные иконки — цветом текста, второй цвет полупрозрачный */
html.a11y-on .ic .i1 { fill: var(--a-fg) !important; }
html.a11y-on .ic .i2 { fill: var(--a-fg) !important; opacity: .45; }
html.a11y-on .ic path[fill="#fff"], html.a11y-on .ic circle[fill="#fff"] { fill: var(--a-bg) !important; }
html.a11y-on .tabs-line__btn,
html.a11y-on .situations__btn,
html.a11y-on .round-btn,
html.a11y-on .icon-btn,
html.a11y-on .cal__nav,
html.a11y-on .faq__item,
html.a11y-on .tile,
html.a11y-on .tag { border: 2px solid var(--a-fg) !important; }
html.a11y-on .tabs-line__btn[aria-selected="true"],
html.a11y-on .situations__btn[aria-selected="true"],
html.a11y-on .cal__day--today { background-color: var(--a-fg) !important; color: var(--a-bg) !important; }
html.a11y-on .event-slide { background-image: none !important; min-height: 0 !important; }
html.a11y-on .event-slide::before { display: none !important; }
html.a11y-on .mega { background: transparent !important; min-height: 0 !important; }
html.a11y-on .tile__icon, html.a11y-on .jobs__icon { position: static !important; width: 3rem; height: 3rem; }
html.a11y-on .tile { min-height: 0 !important; }
html.a11y-on .logo img, html.a11y-on .footer__logo img { filter: grayscale(1) contrast(1.4); }
html.a11y-on[data-a11y-scheme="2"] .logo img, html.a11y-on[data-a11y-scheme="5"] .logo img { filter: grayscale(1) invert(1); }
html.a11y-on .header__top { flex-wrap: wrap; }
html.a11y-on .header__main { flex-wrap: wrap; }
html.a11y-on[data-a11y-size="2"] .quick,
html.a11y-on[data-a11y-size="3"] .quick,
html.a11y-on[data-a11y-size="3"] .services,
html.a11y-on[data-a11y-size="3"] .tiles,
html.a11y-on[data-a11y-size="3"] .mega__body { grid-template-columns: minmax(0, 1fr) !important; }
html.a11y-on[data-a11y-size="3"] .situations { flex-direction: column; }
/* End */


/* Start:/local/templates/czn/template_styles.css?179552531248155*/
/* ==========================================================================
   Шаблон сайта ЦЗН в фирменном стиле «Работа России»
   (Руководство по фирменному стилю, версия 3.0, раздел 3.4.7 «Веб-сайт»).
   Цвета: кобальт #0050AA, голубой #5AB4E6, оранжевый #E65028.
   Шрифт: Montserrat Regular / Medium / SemiBold, запасной — Arial.
   Все цвета и размеры — через переменные, чтобы версию для слабовидящих
   можно было включить заменой переменных.
   ========================================================================== */

@font-face {
	font-family: "Montserrat"; font-weight: 400; font-style: normal; font-display: swap;
	src: url("/local/templates/czn/fonts/montserrat-400.woff2") format("woff2");
}
@font-face {
	font-family: "Montserrat"; font-weight: 500; font-style: normal; font-display: swap;
	src: url("/local/templates/czn/fonts/montserrat-500.woff2") format("woff2");
}
@font-face {
	font-family: "Montserrat"; font-weight: 600 700; font-style: normal; font-display: swap;
	src: url("/local/templates/czn/fonts/montserrat-600.woff2") format("woff2");
}

:root {
	--c-primary: #0050aa;
	--c-primary-dark: #003f88;
	--c-sky: #5ab4e6;
	--c-sky-dark: #3a9fd8;
	--c-orange: #e65028;
	--c-primary-soft: #dff0fa;
	--c-text: #1a1a1a;
	--c-muted: #6b7280;
	--c-border: #e3e7ee;
	--c-bg: #ffffff;
	--c-band: #dff0fa;
	--c-tile: #f6f7f9;
	--c-surface: #ffffff;
	--c-focus: #e65028;

	--font: "Montserrat", Arial, Helvetica, sans-serif;
	--fs-base: 1rem;
	--lh-base: 1.5;

	--radius: 20px;
	--radius-md: 14px;
	--radius-sm: 10px;
	--shadow: 0 2px 12px rgba(0, 40, 90, .06);
	--shadow-hover: 0 8px 28px rgba(0, 40, 90, .12);
	--container: 1312px;
	--gutter: 16px;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	font-family: var(--font);
	font-size: var(--fs-base);
	line-height: var(--lh-base);
	color: var(--c-text);
	background: var(--c-bg);
}

img { max-width: 100%; height: auto; display: block; }

[hidden] { display: none !important; }

a { color: var(--c-primary); text-decoration: none; }
a:hover { color: var(--c-primary-dark); text-decoration: underline; }

:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 2px; }

/* Заголовки — Montserrat Medium, без написания заглавными (п. 2.3.1 руководства) */
h1, h2, h3, h4 { font-weight: 500; line-height: 1.2; margin: 0 0 .6em; color: var(--c-text); }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.2rem; }
b, strong { font-weight: 600; }

.container {
	max-width: var(--container);
	margin: 0 auto;
	padding-left: var(--gutter);
	padding-right: var(--gutter);
}

.visually-hidden {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}

.skip-link {
	position: absolute; left: 8px; top: -60px; z-index: 1000;
	background: var(--c-surface); color: var(--c-primary); padding: 8px 14px;
	border-radius: var(--radius-sm); box-shadow: var(--shadow);
}
.skip-link:focus { top: 8px; }

/* ---------- Кнопки: «таблетки» голубого цвета ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 44px; padding: 10px 24px;
	font: inherit; font-size: .95rem; font-weight: 500; line-height: 1.2; white-space: nowrap;
	border: 1px solid var(--c-sky); border-radius: 999px;
	background: var(--c-sky); color: #fff; cursor: pointer;
	transition: background-color .15s, border-color .15s, color .15s;
}
.btn:hover { background: var(--c-sky-dark); border-color: var(--c-sky-dark); color: #fff; text-decoration: none; }
.btn--outline { background: transparent; color: var(--c-sky-dark); }
.btn--outline:hover { background: var(--c-sky); color: #fff; }
.btn--primary { background: var(--c-primary); border-color: var(--c-primary); }
.btn--primary:hover { background: var(--c-primary-dark); border-color: var(--c-primary-dark); }
.btn--sm { min-height: 38px; padding: 7px 18px; font-size: .9rem; }
.btn svg { flex: 0 0 auto; transition: transform .15s; }

.round-btn {
	width: 36px; height: 36px; flex: 0 0 auto; border-radius: 50%; border: 0; padding: 0;
	background: var(--c-surface); color: var(--c-primary); cursor: pointer;
	display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--shadow);
}
.round-btn:hover { color: #fff; background: var(--c-sky); }
.round-btn:disabled { opacity: .4; cursor: default; }

/* ==========================================================================
   Шапка: верхнее информационное меню + строка с логотипом и меню услуг
   ========================================================================== */
.header { position: relative; z-index: 50; background: var(--c-surface); box-shadow: 0 2px 10px rgba(0, 40, 90, .07); }

.header__top { display: none; }
.header__main { display: flex; align-items: center; gap: 14px; min-height: 68px; padding: 8px 0; }

.logo { display: inline-flex; flex: 0 0 auto; }
.logo img { width: 104px; height: auto; }
.header__divider { display: none; width: 1px; align-self: stretch; margin: 10px 4px; background: var(--c-border); }

.services-btn { display: none; }
.services-btn svg { transition: transform .2s; }
.services-btn[aria-expanded="true"] svg { transform: rotate(180deg); }

.header__org { display: none; margin-left: auto; font-size: .82rem; line-height: 1.35; color: var(--c-muted); text-align: left; }
.header__org span { display: block; }
.header__org .logo__org { display: none; }
.header__phone { display: none; padding-left: 18px; border-left: 1px solid var(--c-border); }

.header-phone { line-height: 1.3; }
.header-phone__number { display: block; font-size: .95rem; font-weight: 500; color: var(--c-text); white-space: nowrap; }
.header-phone__number:hover { color: var(--c-primary); text-decoration: none; }
.header-phone__note { display: block; font-size: .78rem; color: var(--c-muted); }

.burger {
	margin-left: auto; flex: 0 0 auto; width: 44px; height: 44px; border: 1px solid var(--c-border); border-radius: 50%;
	background: var(--c-surface); display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.burger__lines, .burger__lines::before, .burger__lines::after {
	display: block; width: 18px; height: 2px; background: var(--c-primary); border-radius: 2px; position: relative; transition: transform .2s;
}
.burger__lines::before, .burger__lines::after { content: ""; position: absolute; left: 0; }
.burger__lines::before { top: -6px; }
.burger__lines::after { top: 6px; }
.burger[aria-expanded="true"] .burger__lines { background: transparent; }
.burger[aria-expanded="true"] .burger__lines::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__lines::after { transform: translateY(-6px) rotate(-45deg); }

/* Поиск */
.search-form { display: flex; border: 1px solid var(--c-border); border-radius: 999px; overflow: hidden; background: var(--c-surface); }
.search-form input {
	flex: 1 1 auto; min-width: 0; border: 0; background: transparent; padding: 11px 18px; font: inherit; color: var(--c-text);
}
.search-form input:focus { outline: none; }
.search-form:focus-within { border-color: var(--c-sky); box-shadow: 0 0 0 3px var(--c-primary-soft); }
.search-form button { border: 0; background: transparent; padding: 0 16px; color: var(--c-primary); cursor: pointer; }
.search-form button:hover { color: var(--c-sky-dark); }
.header__search { padding: 14px 0; }

/* Информационное меню (десктоп) */
.info-nav { display: flex; align-items: center; }
.info-menu { display: flex; list-style: none; margin: 0; padding: 0; }
.info-menu__item { position: relative; }
.info-menu__link {
	display: inline-flex; align-items: center; gap: 4px; padding: 12px 10px;
	font-size: .875rem; color: #4b5563;
}
.info-menu__link:hover, .info-menu__item.is-selected > .info-menu__link { color: var(--c-primary); text-decoration: none; }
.info-menu__link svg { transition: transform .2s; color: var(--c-muted); }
.info-menu__item:hover .info-menu__link svg { transform: rotate(180deg); }
.info-menu__sub {
	display: none; position: absolute; top: 100%; left: 0; min-width: 270px; z-index: 70;
	list-style: none; margin: 0; padding: 10px; background: var(--c-surface);
	border-radius: var(--radius-md); box-shadow: var(--shadow-hover);
}
.info-menu__item:hover > .info-menu__sub,
.info-menu__item:focus-within > .info-menu__sub { display: block; }
.info-menu__sub a { display: block; padding: 9px 12px; border-radius: var(--radius-sm); color: var(--c-text); font-size: .9rem; line-height: 1.35; }
.info-menu__sub a:hover { background: var(--c-band); color: var(--c-primary); text-decoration: none; }

.icon-btn {
	width: 38px; height: 38px; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
	border: 0; border-radius: 50%; background: none; color: var(--c-primary); cursor: pointer;
}
.icon-btn:hover { background: var(--c-band); }

.header__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.a11y-toggle b { font-weight: 500; letter-spacing: .02em; }

/* Мега-меню «Услуги гражданам» */
.mega {
	position: absolute; left: 0; right: 0; top: 100%; z-index: 60;
	padding: 0 0 32px; background: rgba(26, 26, 26, .25); min-height: 100vh;
}
.mega__box {
	position: relative; background: var(--c-surface); border-radius: 0 0 var(--radius) var(--radius);
	box-shadow: var(--shadow-hover); padding: 8px 32px 32px;
}
.mega__close { position: absolute; top: 10px; right: 10px; }
.mega__body { display: grid; gap: 32px; grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr); }
.mega__lists { columns: 2; column-gap: 32px; }
.mega__list { list-style: none; margin: 0; padding: 0; }
.mega__list li { break-inside: avoid; }
.mega__list a { display: block; padding: 8px 0; color: var(--c-text); font-size: .95rem; }
.mega__list a:hover { color: var(--c-primary); text-decoration: none; }
.mega__all { display: inline-flex; margin-top: 16px; font-weight: 500; }
.mega__side-title { font-size: 1.1rem; margin: 0 0 14px; }
.mega__cards { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.mega__cards .tile { min-height: 150px; padding: 14px; }
.mega__cards .tile__icon { width: 52px; height: 52px; }
.mega__cards .tile__name { font-size: .88rem; }
.mega .tabs-line { margin-right: 44px; }

/* Мобильная навигация */
.mobile-nav { display: none; border-top: 1px solid var(--c-border); background: var(--c-surface); padding-bottom: 20px; }
.mobile-nav.is-open { display: block; }
.mobile-nav__search { padding: 14px 0 6px; }
.mobile-nav__actions { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 14px; }
.mobile-nav .header-phone { padding-top: 14px; }

.menu-top { list-style: none; margin: 0; padding: 4px 0; }
.menu-top__item { position: relative; border-bottom: 1px solid var(--c-border); }
.menu-top__link {
	display: flex; align-items: center; justify-content: space-between; gap: 8px;
	padding: 13px 0; color: var(--c-text); font-weight: 500;
}
.menu-top__link:hover { color: var(--c-primary); text-decoration: none; }
.menu-top__item.is-selected > .menu-top__row > .menu-top__link { color: var(--c-primary); }
.menu-top__row { padding-right: 48px; }
.menu-top__toggle {
	position: absolute; top: 3px; right: 0; width: 44px; height: 44px;
	border: 0; background: none; color: var(--c-primary); cursor: pointer;
	display: inline-flex; align-items: center; justify-content: center;
}
.menu-top__toggle svg { transition: transform .2s; }
.menu-top__item.is-open .menu-top__toggle svg { transform: rotate(180deg); }
.menu-top__sub { list-style: none; margin: 0; padding: 0 0 10px 14px; display: none; }
.menu-top__item.is-open .menu-top__sub { display: block; }
.menu-top__sub a { display: block; padding: 7px 0; color: #4b5563; }
.menu-top__sub a:hover, .menu-top__sub .is-selected a { color: var(--c-primary); }

/* ==========================================================================
   Секции и общие блоки
   ========================================================================== */
.main { min-height: 40vh; }
.section { padding-top: 48px; padding-bottom: 48px; }
.band { background: var(--c-band); }
.section__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.section__title { margin: 0; font-size: 1.6rem; font-weight: 400; }
.section__nav { display: flex; gap: 10px; }
.section__more { display: flex; justify-content: center; margin-top: 28px; }

.card {
	background: var(--c-surface); border-radius: var(--radius); box-shadow: var(--shadow);
}

/* ---------- Промобаннер ---------- */
.promo { padding-top: 24px; padding-bottom: 32px; }
.banner { position: relative; }
.banner__track { display: grid; }
.banner__slide {
	grid-area: 1 / 1; position: relative; display: grid; grid-template-rows: auto 240px; overflow: hidden;
	border-radius: var(--radius); background: var(--c-tile);
	opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s;
}
.banner__slide.is-active { opacity: 1; visibility: visible; }
.banner__body { padding: 28px 24px 8px; max-width: 640px; align-self: center; }
.banner__label {
	display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px;
	font-weight: 500; font-size: .85rem; color: var(--c-primary);
}
/* Маленький «плей»-треугольник — элемент фирменного знака */
.banner__label::before {
	content: ""; width: 0; height: 0; border-style: solid;
	border-width: 6px 0 6px 10px; border-color: transparent transparent transparent var(--c-orange);
}
.banner__title { font-weight: 400; font-size: 1.75rem; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
.banner__text { margin: 0 0 24px; color: #4b5563; max-width: 32em; }
/* Вся плашка слайда — ссылка */
.banner__btn::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.banner__slide:has(.banner__btn) { cursor: pointer; }
.banner__visual { position: relative; min-height: 0; pointer-events: none; }
.banner__visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center bottom; }
.banner__dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.banner__dot { width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; background: #c9d6e6; cursor: pointer; }
.banner__dot.is-active { background: var(--c-primary); }

/* ---------- Карточки первого экрана ---------- */
.quick { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
.quick .card { padding: 22px 24px; display: flex; flex-direction: column; }
.quick__title { font-size: 1.15rem; font-weight: 500; margin: 0 0 18px; }
.stat + .stat { margin-top: 14px; }
.stat__label { display: block; font-size: .85rem; color: var(--c-muted); }
.stat__value { display: block; font-size: 2.6rem; line-height: 1.1; font-weight: 500; color: var(--c-primary); }
.stat__note { display: block; margin-top: auto; padding-top: 14px; font-size: .78rem; color: var(--c-muted); }

.cal__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.cal__title { font-size: 1.1rem; font-weight: 500; }
.cal__nav { width: 30px; height: 30px; border-radius: 50%; border: 0; background: var(--c-band); color: var(--c-primary); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.cal__nav:hover { background: var(--c-sky); color: #fff; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center; font-size: .9rem; }
.cal__wd { font-size: .78rem; font-weight: 500; color: var(--c-primary); padding: 4px 0 8px; }
.cal__day { position: relative; padding: 4px 0; border-radius: 8px; color: #4b5563; line-height: 1.6; }
.cal__day--off { color: var(--c-orange); }
.cal__day--other { color: #c4cad3; }
.cal__day--today { background: var(--c-primary); color: #fff; }
.cal__day--event { font-weight: 600; color: var(--c-primary); }
.cal__day--event::after { content: ""; position: absolute; left: 50%; bottom: 1px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--c-orange); }
a.cal__day:hover { background: var(--c-band); text-decoration: none; }
.cal__legend { margin-top: 10px; font-size: .78rem; color: var(--c-muted); display: flex; align-items: center; gap: 6px; }
.cal__legend::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c-orange); }

.jobs__icon { width: 56px; height: 56px; margin-bottom: 18px; }
.jobs__title { font-size: 1.2rem; font-weight: 500; margin: 0 0 8px; }
.jobs__text { margin: 0 0 20px; font-size: .9rem; color: var(--c-muted); }
.jobs .btn { align-self: flex-start; margin-top: auto; }

/* ---------- Популярные услуги: вкладки, жизненные ситуации, плитки ---------- */
.tabs-line { display: flex; margin-bottom: 24px; border-bottom: 1px solid #c9d0da; overflow-x: auto; }
.tabs-line__btn {
	flex: 1 0 auto; min-height: 46px; padding: 10px 16px; margin-bottom: -1px;
	border: 0; border-bottom: 2px solid transparent; background: none;
	font: inherit; font-size: .95rem; color: var(--c-muted); cursor: pointer;
}
.tabs-line__btn:hover { color: var(--c-primary); }
.tabs-line__btn[aria-selected="true"] { color: var(--c-primary); border-bottom-color: var(--c-primary); font-weight: 500; }

.services { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
.situations { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; overflow-x: auto; }
.situations__btn {
	width: 100%; min-height: 46px; padding: 10px 16px; border: 0; border-radius: var(--radius-sm);
	background: none; font: inherit; font-size: .92rem; text-align: left; color: var(--c-text); cursor: pointer; white-space: nowrap;
}
.situations__btn:hover { color: var(--c-primary); }
.situations__btn[aria-selected="true"] { background: var(--c-band); color: var(--c-primary); font-weight: 500; }

.tiles { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); align-content: start; }
.tile {
	position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px;
	min-height: 190px; padding: 20px; border-radius: var(--radius-md); background: var(--c-tile); color: var(--c-text);
	transition: box-shadow .15s, background-color .15s;
}
.tile:hover { text-decoration: none; color: var(--c-text); background: var(--c-surface); box-shadow: var(--shadow-hover); }
.tile__icon { position: absolute; top: 16px; right: 16px; width: 76px; height: 76px; }
.tile__name { display: block; max-width: calc(100% - 20px); font-weight: 500; line-height: 1.3; }
.tile__text { display: block; font-size: .85rem; line-height: 1.4; color: var(--c-muted); }

/* Двухцветные фирменные иконки */
.ic { display: block; width: 100%; height: 100%; }
.ic .i1 { fill: var(--c-primary); }
.ic .i2 { fill: var(--c-sky); }

/* ---------- Новости и события ---------- */
.news-slider { display: grid; grid-auto-flow: column; grid-auto-columns: 85%; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px; margin: -4px; }
.news-slider::-webkit-scrollbar { display: none; }
.news-tile { display: flex; flex-direction: column; min-height: 200px; padding: 22px 24px 18px; scroll-snap-align: start; color: var(--c-text); }
.news-tile:hover { text-decoration: none; color: var(--c-text); box-shadow: var(--shadow-hover); }
.news-tile__title { font-weight: 500; line-height: 1.35; margin-bottom: 16px; }
.news-tile__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--c-border); font-size: .82rem; color: var(--c-muted); }
.tag { display: inline-block; padding: 2px 8px; border-radius: 4px; background: var(--c-sky); color: #fff; font-size: .75rem; line-height: 1.5; }
.tag--employer { background: var(--c-primary); }

/* ---------- Ближайшие мероприятия ---------- */
.events__track { display: grid; }
.event-slide {
	grid-area: 1 / 1; position: relative; display: flex; align-items: flex-end; min-height: 340px; overflow: hidden;
	border-radius: var(--radius); background: var(--c-primary) center / cover no-repeat; color: #fff;
	opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s;
}
.event-slide.is-active { opacity: 1; visibility: visible; }
.event-slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 50, 120, .85) 0%, rgba(0, 60, 140, .45) 55%, rgba(0, 60, 140, .1) 100%); }
.event-slide__body { position: relative; padding: 28px 24px; max-width: 720px; }
.event-slide__date { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; margin-bottom: 10px; opacity: .95; }
.event-slide__title { color: #fff; font-weight: 400; font-size: 1.6rem; line-height: 1.2; margin: 0 0 18px; }
.event-slide__place { display: block; font-size: .9rem; margin: -8px 0 18px; opacity: .9; }
.event-slide .btn::after { content: ""; position: absolute; inset: 0; }
.events-empty { padding: 28px; border-radius: var(--radius); background: var(--c-tile); color: var(--c-muted); }

/* ---------- Вопрос-ответ ---------- */
.faq { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.faq__item { border: 1px solid var(--c-border); border-radius: var(--radius-md); background: var(--c-surface); }
.faq__q {
	width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; text-align: left;
	padding: 18px 20px; border: 0; background: none; font: inherit; font-size: .95rem; color: var(--c-text); cursor: pointer;
}
.faq__q:hover { color: var(--c-primary); }
.faq__chev { flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; background: var(--c-band); color: var(--c-primary); display: inline-flex; align-items: center; justify-content: center; transition: transform .2s; }
.faq__q[aria-expanded="true"] .faq__chev { transform: rotate(180deg); }
.faq__a { padding: 0 20px 18px; color: #4b5563; font-size: .95rem; }
.faq__a p:first-child { margin-top: 0; }
.faq__a p:last-child { margin-bottom: 0; }

.faq-layout { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); }
.ask { padding: 24px; background: var(--c-band); box-shadow: none; }
.ask h3 { margin-bottom: .4em; }
.ask p { color: #4b5563; margin: 0 0 16px; }
.ask .btn { width: 100%; margin-top: 8px; }

/* ---------- Полезные ссылки ---------- */
.links-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.res-link { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; color: var(--c-text); height: 100%; }
.res-link:hover { text-decoration: none; color: var(--c-text); box-shadow: var(--shadow-hover); }
.res-link__icon { width: 30px; height: 30px; margin-bottom: 8px; }
.res-link__name { font-weight: 500; line-height: 1.3; }
.res-link__url { font-size: .82rem; color: var(--c-muted); }

/* ==========================================================================
   Внутренние страницы
   ========================================================================== */
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 4px 8px; list-style: none; margin: 0; padding: 24px 0 0; font-size: .85rem; color: var(--c-muted); }
.breadcrumbs li + li::before { content: "›"; margin-right: 8px; color: #b5bcc7; }
.breadcrumbs a { color: var(--c-muted); }
.breadcrumbs a:hover { color: var(--c-primary); }
.page-title { margin: 16px 0 28px; font-size: 1.75rem; font-weight: 500; }

.page-layout { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); padding-bottom: 56px; }
.page-layout__side:not(:has(.menu-left)) { display: none; }
.page-layout__content { min-width: 0; }
.page-layout--wide .page-layout__side { display: none; }

.menu-left { list-style: none; margin: 0; padding: 0; }
.menu-left a { display: block; padding: 11px 16px; border-radius: var(--radius-sm); color: var(--c-text); font-size: .92rem; line-height: 1.35; }
.menu-left a:hover { color: var(--c-primary); text-decoration: none; }
.menu-left .is-selected a { background: var(--c-band); color: var(--c-primary); font-weight: 500; }

.content { overflow-wrap: break-word; max-width: 900px; }
.page-layout--wide .content { max-width: none; }
.content > :first-child { margin-top: 0; }
.content > :last-child { margin-bottom: 0; }
.content h2 { margin-top: 1.4em; }
.content table { border-collapse: collapse; width: 100%; display: block; overflow-x: auto; }
.content th, .content td { border: 1px solid var(--c-border); padding: 10px 12px; text-align: left; vertical-align: top; }
.content th { background: var(--c-tile); font-weight: 500; }
.content ul, .content ol { padding-left: 1.3em; }
.content li { margin-bottom: .35em; }
.content blockquote { margin: 1.2em 0; padding: 16px 20px; border-left: 4px solid var(--c-sky); background: var(--c-band); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }

.sub-sections { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); list-style: none; padding: 0; margin: 0 0 1.4em; }
.sub-sections a { display: flex; align-items: flex-end; min-height: 110px; padding: 18px 20px; border-radius: var(--radius-md); background: var(--c-tile); font-weight: 500; color: var(--c-text); height: 100%; }
.sub-sections a:hover { background: var(--c-surface); box-shadow: var(--shadow-hover); color: var(--c-primary); text-decoration: none; }

.news-detail__date { color: var(--c-muted); font-size: .9rem; margin-bottom: 14px; }
.news-detail__img { border-radius: var(--radius-md); margin-bottom: 20px; }
.news-list { display: grid; gap: 16px; }
.news-row { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); padding: 18px; border-radius: var(--radius-md); background: var(--c-tile); }
.news-row__img { border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 16 / 9; background: var(--c-band); }
.news-row__img img { width: 100%; height: 100%; object-fit: cover; }
.news-row__date { display: block; font-size: .82rem; color: var(--c-muted); margin-bottom: 4px; }
.news-row__title { font-weight: 500; font-size: 1.05rem; color: var(--c-text); }
.news-row__title:hover { color: var(--c-primary); }
.news-row__text { color: #4b5563; margin: 6px 0 0; font-size: .95rem; }

.pager { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 24px; }
.pager a, .pager span { min-width: 40px; min-height: 40px; display: inline-flex; align-items: center; justify-content: center; padding: 0 10px; border: 1px solid var(--c-border); border-radius: 999px; color: var(--c-text); }
.pager a:hover { border-color: var(--c-sky); text-decoration: none; }
.pager .is-current { background: var(--c-sky); border-color: var(--c-sky); color: #fff; }

.contacts-list { list-style: none; padding: 0; margin: 0 0 1.5em; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.contacts-list li { padding: 18px 20px; border-radius: var(--radius-md); background: var(--c-tile); }
.contacts-list strong { display: block; color: var(--c-muted); font-weight: 400; font-size: .85rem; margin-bottom: 4px; }

/* ==========================================================================
   Подвал — кобальтовый фон, белый логотип
   ========================================================================== */
.footer { background: var(--c-primary); color: #fff; font-size: .9rem; }
.footer a { color: #fff; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__grid { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); padding-top: 56px; padding-bottom: 32px; }
.footer__logo { display: inline-block; }
.footer__logo img { width: 108px; margin-bottom: 16px; }
.footer__name { margin-bottom: 12px; font-size: .8rem; line-height: 1.4; opacity: .85; }
.footer__name span { display: inline; }
.footer__name .logo__name::before { content: " «"; }
.footer__name .logo__name::after { content: "»"; }
.footer__contacts p { margin: 0 0 4px; font-weight: 500; }
.footer__social { display: flex; gap: 10px; margin-top: 16px; }
.footer__social a { width: 34px; height: 34px; border-radius: 8px; background: #fff; color: var(--c-primary); display: inline-flex; align-items: center; justify-content: center; }
.footer__title { font-size: 1.1rem; font-weight: 500; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 9px; line-height: 1.35; }
.footer__bottom-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 32px; justify-content: space-between; padding-top: 18px; padding-bottom: 36px; font-size: .82rem; }
.footer__bottom-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer__up { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }

/* ==========================================================================
   Планшет (786 px по руководству): большинство блоков — в две колонки
   ========================================================================== */
@media (min-width: 768px) {
	:root { --gutter: 24px; }
	.logo img { width: 112px; }
	.header__org { display: block; }
	.banner__slide { grid-template-rows: none; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 380px; }
	.banner__body { padding: 40px 0 40px 40px; }
	.banner__title { font-size: 2.4rem; }
	.quick { grid-template-columns: 1fr 1fr; }
	.news-slider { grid-auto-columns: calc((100% - 20px) / 2); }
	.event-slide__body { padding: 40px; }
	.event-slide__title { font-size: 2rem; }
	.news-row { grid-template-columns: 220px minmax(0, 1fr); }
	.footer__grid { grid-template-columns: 1fr 1fr; }
	.faq-layout { grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr); align-items: start; }
	.page-title { font-size: 2.1rem; }
	.section { padding-top: 64px; padding-bottom: 64px; }
	.section__title { font-size: 2rem; }
}

/* ==========================================================================
   Десктоп
   ========================================================================== */
@media (min-width: 1024px) {
	.burger, .mobile-nav, .mobile-nav.is-open { display: none; }
	.header__top { display: flex; align-items: center; gap: 4px; min-height: 60px; border-bottom: 1px solid var(--c-border); }
	.header__main { min-height: 76px; gap: 18px; }
	.logo img { width: 124px; }
	.header__divider { display: block; }
	.services-btn { display: inline-flex; }
	.header__phone { display: block; }
	.banner__slide { min-height: 440px; }
	.banner__body { padding: 56px 0 56px 56px; }
	.banner__title { font-size: 3rem; }
	.quick { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.services { grid-template-columns: 280px minmax(0, 1fr); gap: 24px; }
	.services .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.news-slider { grid-auto-columns: calc((100% - 40px) / 3); }
	.situations { flex-direction: column; overflow: visible; }
	.situations__btn { white-space: normal; }
	.event-slide { min-height: 420px; }
	.event-slide__body { padding: 56px; }
	.event-slide__title { font-size: 2.3rem; }
	.footer__grid { grid-template-columns: 1.15fr 1fr 1fr 1fr; }
	.page-layout { grid-template-columns: 290px minmax(0, 1fr); align-items: start; gap: 40px; }
	.page-layout:not(:has(.menu-left)), .page-layout--wide { grid-template-columns: minmax(0, 1fr); }
	.page-layout__side { position: sticky; top: 16px; }
	.section__title { font-size: 2.25rem; }
}

@media (min-width: 1280px) {
	.header__org { max-width: 260px; }
}

.services-btn.btn--outline[aria-expanded="true"] { background: var(--c-sky); border-color: var(--c-sky); color: #fff; }
/* Кнопка «Предварительная запись» */
.btn--accent { background: var(--c-orange); border-color: var(--c-orange); color: #fff; }
.btn--accent:hover { background: #c9411d; border-color: #c9411d; color: #fff; }
.header-book__short { display: none; }
/* Три кнопки в шапке: на узком десктопе название ЦЗН не помещается, «Предварительная запись» сокращается */
@media (min-width: 1024px) and (max-width: 1599px) {
	.header__org { display: none; }
	.header__phone { margin-left: auto; }
}
@media (min-width: 1024px) and (max-width: 1199px) {
	.header-book__full { display: none; }
	.header-book__short { display: inline; }
}

/* ===== Раздел «Об учреждении» ===== */
.lead { font-size: 1.1rem; line-height: 1.6; color: #374151; }
.content .nav-cards, .content .timeline, .content .values, .content .checklist, .content .dept__people { padding-left: 0; }
.nav-card__icon, .values__icon { display: block; flex: 0 0 auto; }

/* Крупные ссылки-карточки (подразделы) */
.nav-cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); list-style: none; padding: 0; margin: 0 0 1.6em; }
.content .nav-cards li { margin: 0; }
.nav-card { display: flex; flex-direction: column; gap: 12px; height: 100%; padding: 22px; border-radius: var(--radius-md); background: var(--c-tile); color: var(--c-text); }
.nav-card:hover { background: var(--c-surface); box-shadow: var(--shadow-hover); color: var(--c-primary); text-decoration: none; }
.nav-card__icon { width: 48px; height: 48px; }
.nav-card__title { font-size: 1.1rem; font-weight: 500; }
.nav-card__text { font-size: .9rem; color: var(--c-muted); }
.nav-card__more { margin-top: auto; font-size: .9rem; font-weight: 500; color: var(--c-primary); }

/* История — лента */
.timeline { list-style: none; margin: 0 0 1.6em; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--c-band); }
.content .timeline li { position: relative; margin: 0; padding: 0 0 26px 36px; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 4px solid var(--c-sky); box-sizing: border-box; }
.timeline li:last-child::before { border-color: var(--c-orange); }
.timeline__date { display: block; margin-bottom: 4px; font-size: 1.05rem; font-weight: 600; color: var(--c-primary); }
.timeline p { margin: 0; }

/* Миссия и ценности */
.mission { position: relative; margin: 0 0 2em; padding: 28px 28px 28px 32px; border-radius: var(--radius); background: var(--c-primary); color: #fff; overflow: hidden; }
.mission::after { content: ""; position: absolute; right: -30px; bottom: -40px; width: 160px; height: 160px; background: var(--c-orange); opacity: .9; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.mission p { position: relative; z-index: 1; margin: 0; max-width: 680px; font-size: 1.15rem; line-height: 1.6; }
.mission p + p { margin-top: .8em; }
.values { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); list-style: none; padding: 0; margin: 0 0 1.6em; }
.content .values li { margin: 0; padding: 20px; border-radius: var(--radius-md); background: var(--c-tile); }
.values__icon { width: 44px; height: 44px; margin-bottom: 12px; }
.values__title { display: block; margin-bottom: 6px; font-weight: 600; color: var(--c-text); }
.values p { margin: 0; font-size: .92rem; color: #4b5563; }

/* Руководство */
.people { display: grid; gap: 16px; margin: 0 0 1.6em; }
.person { display: grid; gap: 14px 20px; grid-template-columns: 64px minmax(0, 1fr); padding: 22px; border-radius: var(--radius-md); background: var(--c-tile); }
.person__avatar { width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--c-primary); color: #fff; font-size: 1.3rem; font-weight: 600; }
.person__name { margin: 0 0 4px; font-size: 1.2rem; }
.content .person__name { margin-top: 0; }
.person__post { margin: 0 0 14px; color: #4b5563; }
.person__contacts { display: grid; gap: 6px 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); margin: 0; font-size: .92rem; }
.person__contacts dt { color: var(--c-muted); font-size: .8rem; }
.person__contacts dd { margin: 0 0 6px; }
.person__reception { grid-column: 1 / -1; }

/* Структура: оргсхема и отделы */
.org-chart { margin: 0 0 2em; }
.org-chart a { display: block; padding: 12px; border: 1px solid var(--c-border); border-radius: var(--radius-md); background: #fff; }
.org-chart img { display: block; width: 100%; height: auto; }
.org-chart figcaption { margin-top: 8px; font-size: .85rem; color: var(--c-muted); }
.depts { display: grid; gap: 12px; margin: 0 0 1.6em; }
.dept { padding: 18px 20px; border-radius: var(--radius-md); background: var(--c-tile); }
.content .dept__title { margin: 0 0 10px; font-size: 1.02rem; font-weight: 600; color: var(--c-primary); }
.dept__people { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.content .dept__people li { margin: 0; display: grid; gap: 2px 20px; grid-template-columns: minmax(0, 1fr); }
.dept__name { font-weight: 500; }
.dept__post { font-size: .88rem; color: #4b5563; }
.dept__contacts { font-size: .88rem; display: flex; flex-wrap: wrap; gap: 4px 16px; }
.dept__vacant { color: var(--c-muted); font-style: italic; }

/* Клиентские службы */
.offices-common { display: flex; flex-wrap: wrap; gap: 12px 32px; margin: 0 0 1.6em; padding: 18px 22px; border-radius: var(--radius-md); background: var(--c-band); }
.offices-common strong { display: block; font-size: .8rem; font-weight: 400; color: var(--c-muted); }
.offices-common a { font-size: 1.05rem; font-weight: 500; }
.offices-group { margin: 1.6em 0 .8em; }
.offices { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); margin: 0 0 1.6em; }
.office { display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: var(--radius-md); background: var(--c-tile); }
.office__city { margin: 0; font-size: 1.15rem; font-weight: 600; color: var(--c-text); }
.content .office__city { margin-top: 0; }
.office__kind { font-size: .82rem; color: var(--c-muted); }
.office__row { display: flex; gap: 10px; font-size: .92rem; }
.office__row svg { flex: 0 0 auto; margin-top: 2px; color: var(--c-sky-dark); }
.office__head { font-size: .85rem; color: #4b5563; }
.office .btn { align-self: flex-start; margin-top: auto; }

/* Вакансии и практика */
.checklist { list-style: none; padding: 0; margin: 0 0 1.6em; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.content .checklist li { margin: 0; display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--c-tile); }
.checklist li::before { content: ""; flex: 0 0 auto; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; background: var(--c-sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 14px no-repeat; }
.callout { margin: 0 0 1.6em; padding: 22px 24px; border-radius: var(--radius-md); background: var(--c-band); }
.callout p:last-child { margin-bottom: 0; }
.contact-card { display: grid; gap: 4px; margin: 0 0 1.6em; padding: 22px 24px; border-radius: var(--radius-md); border: 1px solid var(--c-border); }
.contact-card__name { font-size: 1.1rem; font-weight: 600; }
.contact-card__note { color: var(--c-muted); font-size: .9rem; }

@media (min-width: 768px) {
	.mission { padding: 40px 48px; }
	.mission p { font-size: 1.3rem; }
	.person { grid-template-columns: 80px minmax(0, 1fr); padding: 28px; }
	.person__avatar { width: 80px; height: 80px; font-size: 1.6rem; }
	.content .dept__people li { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: start; }
	.dept__contacts { grid-column: 2; grid-row: 1 / span 2; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ==========================================================================
   Блоки контентных страниц (helpers.php, forms.php), ноябрь 2026
   ========================================================================== */

/* Кнопка «Платные услуги» в шапке: на узких экранах телефон уходит в подвал и мобильное меню */
@media (min-width: 1024px) and (max-width: 1279px) {
	.header__phone { display: none; }
	.header-book { margin-left: 0; }
}
.header-paid { white-space: nowrap; }

.quick__title a { color: inherit; }
.quick__title a:hover { color: var(--c-primary); }

/* Полезные ссылки: пять карточек в один ряд на широком экране */
.links-grid--row { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }

/* Плитки-заглушки */
.nav-card--empty { color: var(--c-muted); opacity: .75; min-height: 130px; }

/* Список файлов */
.content .files, .files { list-style: none; padding: 0; margin: 0 0 1.6em; display: grid; gap: 12px; }
.files li { margin: 0; }
.file { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 16px; align-items: center;
	padding: 16px 20px; border-radius: var(--radius-md); background: var(--c-tile); color: var(--c-text); }
.file:hover { background: var(--c-surface); box-shadow: var(--shadow-hover); color: var(--c-primary); text-decoration: none; }
.file__ext { grid-row: 1 / 3; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 56px;
	border-radius: 6px; background: var(--c-primary); color: #fff; font-size: .78rem; font-weight: 600; letter-spacing: .02em; }
.file__name { font-weight: 500; line-height: 1.35; }
.file__meta { font-size: .82rem; color: var(--c-muted); }

/* Ссылки списком */
.content .nav-links, .nav-links { list-style: none; padding: 0; margin: 0 0 1.6em; display: grid; gap: 10px; }
.nav-links a { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.nav-links a::after { content: "→"; }

/* Встроенный PDF */
.pdf-embed { margin: 0 0 1em; border: 1px solid var(--c-border); border-radius: var(--radius-md); overflow: hidden; background: var(--c-tile); }
.pdf-embed iframe { display: block; width: 100%; height: 80vh; min-height: 520px; border: 0; }

/* Видео */
.video { margin: 0 0 1.6em; }
.video__frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-md); overflow: hidden; background: #000; }
.video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video figcaption { margin-top: 8px; font-size: .9rem; color: var(--c-muted); }
.video-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }

/* Галерея с подписями */
.gallery { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); margin: 0 0 1.6em; }
.gallery figure { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.gallery img { width: 100%; height: auto; border-radius: var(--radius-md); border: 1px solid var(--c-border); }
.gallery figcaption { font-size: .9rem; color: var(--c-muted); line-height: 1.4; }

/* Реквизиты */
.facts { display: grid; grid-template-columns: minmax(160px, 240px) 1fr; gap: 10px 20px; margin: 0 0 1.6em; }
.facts dt { color: var(--c-muted); }
.facts dd { margin: 0; }
@media (max-width: 600px) { .facts { grid-template-columns: 1fr; } .facts dd { margin-bottom: 8px; } }

/* Анкеты */
.poll { margin: 0 0 1.6em; }
.poll__form { display: grid; gap: 22px; max-width: 760px; }
.poll__field { display: grid; gap: 6px; }
.poll__label { font-weight: 500; }
.poll__hint { font-size: .88rem; color: var(--c-muted); }
.poll__req { color: var(--c-orange); }
.poll select, .poll textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--c-border); border-radius: var(--radius-sm);
	font: inherit; background: #fff; color: var(--c-text); }
.poll select:focus, .poll textarea:focus { outline: 2px solid var(--c-sky); outline-offset: 1px; }
.poll button { justify-self: start; }
.poll__trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.poll__errors { margin: 0 0 16px; padding: 14px 18px; border-radius: var(--radius-sm); background: #fdecea; color: #8a1c0b; }
.poll__errors ul { margin: 0; }
.poll__thanks { padding: 22px 24px; border-radius: var(--radius-md); background: var(--c-band); }

/* Тест с ответами «Да / Нет» */
.quiz { margin: 0 0 1.6em; }
.content .quiz__list { padding-left: 1.4em; display: grid; gap: 14px; }
.quiz fieldset { border: 0; padding: 0; margin: 0; }
.quiz legend { padding: 0; margin-bottom: 6px; }
.quiz label { display: inline-flex; align-items: center; gap: 6px; margin-right: 22px; cursor: pointer; }
.quiz__note { color: var(--c-muted); font-size: .9rem; }
.quiz__result { margin-top: 18px; padding: 18px 22px; border-radius: var(--radius-md); background: var(--c-band); }
.quiz__result p:last-child { margin-bottom: 0; }

/* Вакансии из открытых данных «Работа в России» (/333/, trudvsem.php) */
.tv-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 20px; margin: 0 0 12px; }
.tv-stat { display: flex; flex-direction: column; gap: 4px; padding: 22px; border-radius: var(--radius-md); background: var(--c-band); }
.tv-stat__num { font-size: 2.25rem; font-weight: 600; line-height: 1.1; color: var(--c-primary); }
.tv-stat__label { color: var(--c-text); }
.tv-note { color: var(--c-muted); font-size: .875rem; }
.tv-bars { list-style: none; margin: 0 0 1.6em; padding: 0; display: grid; gap: 8px; }
.tv-bars li { display: grid; grid-template-columns: minmax(140px, 300px) 1fr auto; gap: 12px; align-items: center; margin: 0; }
.tv-bars li::before { content: none; }
.tv-bars__bar { height: 10px; border-radius: 5px; background: linear-gradient(90deg, var(--c-primary) var(--w), var(--c-tile) var(--w)); }
.tv-bars__num { font-weight: 600; min-width: 4ch; text-align: right; }
.tv-list { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.tv-list li { margin: 0; }
.tv-list li::before { content: none; }
.tv-vac__link { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 20px; border-radius: var(--radius-md); background: var(--c-tile); color: var(--c-text); }
.tv-vac__link:hover { background: var(--c-surface); box-shadow: var(--shadow-hover); text-decoration: none; }
.tv-vac__name { font-weight: 600; color: var(--c-primary); }
.tv-vac__salary { font-weight: 600; }
.tv-vac__company, .tv-vac__place, .tv-vac__places { font-size: .875rem; color: var(--c-muted); }
.content .tv-list, .content .tv-bars { padding-left: 0; margin-left: 0; }
.tv-more { margin: 0 0 2em; }
.tv-more summary { display: inline-block; cursor: pointer; color: var(--c-primary); font-weight: 600; margin-bottom: 16px; }
@media (max-width: 600px) {
	.tv-bars li { grid-template-columns: 1fr auto; }
	.tv-bars__bar { grid-column: 1 / -1; grid-row: 2; }
}

/* End */
/* /local/templates/czn/css/a11y.css?179352550511117 */
/* /local/templates/czn/template_styles.css?179552531248155 */
