/* =========================================================
   Ассоциация компаний «Умра» — стили темы
   Порядок: токены → база → шапка → блоки → страницы → подвал
   ========================================================= */

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

:root {
	--ink: #191d24;
	--sand: #f7f5f1;
	--accent: #c9a25c;
	--accent-2: #e2c893;
	--radius: 2px;
	--space-k: 1;
	--maxw: 1240px;

	--paper: #ffffff;
	--text: #14181e;
	--muted: #5d6572;
	--line: rgba(20, 24, 30, 0.14);
	--line-soft: rgba(20, 24, 30, 0.08);
	--on-dark: #f2f1ee;
	--on-dark-muted: rgba(242, 241, 238, 0.62);
	--line-dark: rgba(255, 255, 255, 0.14);
	--line-dark-soft: rgba(255, 255, 255, 0.07);

	--pad: clamp(18px, 4vw, 44px);
	--gap: clamp(20px, 2.6vw, 34px);
	--sec: calc(var(--space-k) * clamp(58px, 7.4vw, 114px));
	--header-h: 78px;

	--font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	--ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --- База -------------------------------------------------- */

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

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

body {
	margin: 0;
	background: var(--paper);
	color: var(--text);
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.6;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}

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

a {
	color: inherit;
	text-decoration: none;
}

button {
	font: inherit;
	color: inherit;
	cursor: pointer;
}

h1,
h2,
h3,
h4 {
	margin: 0;
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.08;
}

p {
	margin: 0;
}

ul,
ol,
dl,
dd {
	margin: 0;
	padding: 0;
	list-style: none;
}

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

::selection {
	background: var(--accent);
	color: var(--ink);
}

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

.skip {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 100;
	background: var(--accent);
	color: var(--ink);
	padding: 12px 20px;
	font-weight: 700;
}

.skip:focus {
	left: 12px;
	top: 12px;
}

.wrap {
	width: min(100% - var(--pad) * 2, var(--maxw));
	margin-inline: auto;
}

.wrap--narrow {
	width: min(100% - var(--pad) * 2, 860px);
}

/* --- Секции ------------------------------------------------ */

.section {
	position: relative;
	padding-block: var(--sec);
}

.section--light {
	background: var(--paper);
}

.section--milk {
	background: var(--sand);
}

.section--dark,
.section--accent {
	background: var(--ink);
	color: var(--on-dark);
}

.section--dark::before,
.section--accent::before,
.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background-image:
		linear-gradient(to right, var(--line-dark-soft) 1px, transparent 1px);
	background-size: calc(100% / 6) 100%;
	opacity: 0;
	transition: opacity 0.4s var(--ease);
}

body.has-grid .section--dark::before,
body.has-grid .section--accent::before,
body.has-grid .hero::before {
	opacity: 1;
}

.section--accent {
	background:
		radial-gradient(120% 120% at 50% 0%, rgba(201, 162, 92, 0.16), transparent 62%),
		var(--ink);
}

.section--accent::after {
	content: "";
	position: absolute;
	inset-inline: 0;
	top: 0;
	height: 2px;
	background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.section__more {
	margin-top: clamp(28px, 3.4vw, 48px);
}

.section__more--center {
	margin-top: clamp(34px, 4vw, 60px);
	text-align: center;
}

/* --- Надзаголовок ------------------------------------------ */

.eyebrow {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0 0 18px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--accent);
}

.eyebrow__rule {
	display: block;
	width: clamp(24px, 4vw, 52px);
	height: 1px;
	background: var(--accent);
	flex: none;
}

/* --- Шапка секции ------------------------------------------ */

.s-head {
	max-width: 780px;
	margin-bottom: clamp(30px, 3.6vw, 54px);
}

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

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

.s-head__title {
	font-size: clamp(28px, 3.6vw, 46px);
}

.s-head__lead {
	margin-top: 18px;
	max-width: 62ch;
	color: var(--muted);
	font-size: clamp(16px, 1.3vw, 18px);
	line-height: 1.65;
}

.section--dark .s-head__lead,
.section--accent .s-head__lead {
	color: var(--on-dark-muted);
}

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

.btn {
	--btn-bg: var(--accent);
	--btn-fg: var(--ink);
	--btn-bd: var(--accent);
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 15px 26px;
	border: 1px solid var(--btn-bd);
	border-radius: var(--radius);
	background: var(--btn-bg);
	color: var(--btn-fg);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.02em;
	transition: background 0.25s var(--ease), color 0.25s var(--ease),
		border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.btn__arrow {
	transition: transform 0.25s var(--ease);
}

.btn:hover .btn__arrow {
	transform: translateX(4px);
}

.btn--primary:hover {
	--btn-bg: var(--accent-2);
	--btn-bd: var(--accent-2);
}

.btn--ghost {
	--btn-bg: transparent;
	--btn-fg: var(--on-dark);
	--btn-bd: var(--line-dark);
}

.btn--ghost:hover {
	--btn-bd: var(--accent);
	--btn-fg: var(--accent-2);
}

.btn--ghost-dark {
	--btn-bg: transparent;
	--btn-fg: var(--text);
	--btn-bd: var(--line);
}

.btn--ghost-dark:hover {
	--btn-bd: var(--ink);
	--btn-bg: var(--ink);
	--btn-fg: var(--on-dark);
}

.btn--link {
	--btn-bg: transparent;
	--btn-bd: transparent;
	--btn-fg: var(--text);
	padding: 0 0 6px;
	border-bottom: 1px solid var(--accent);
	border-radius: 0;
	font-size: 15px;
}

.btn--link:hover {
	--btn-fg: var(--accent);
}

.section--dark .btn--link,
.section--accent .btn--link {
	--btn-fg: var(--on-dark);
}

.btn--sm {
	padding: 11px 18px;
	font-size: 13px;
}

/* --- Шапка сайта ------------------------------------------- */

.site-header {
	position: absolute;
	inset-inline: 0;
	top: 0;
	z-index: 60;
	transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
	border-bottom: 1px solid transparent;
}

.site-header.is-sticky {
	position: fixed;
}

.site-header.is-scrolled {
	background: var(--ink);
	border-bottom-color: var(--line-dark-soft);
}

.site-header__inner {
	min-height: var(--header-h);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: var(--on-dark);
}

.brand__mark img {
	width: 38px;
	height: 38px;
	object-fit: contain;
}

.brand__text {
	display: grid;
	line-height: 1.15;
}

.brand__top {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.34em;
	text-transform: uppercase;
	color: var(--accent);
}

.brand__name {
	font-size: 16px;
	font-weight: 800;
	letter-spacing: -0.02em;
}

.brand--image img {
	max-height: 46px;
	width: auto;
}

.brand--footer .brand__name {
	font-size: 18px;
}

/* --- Навигация --------------------------------------------- */

.nav {
	display: flex;
	align-items: center;
	gap: clamp(18px, 2.4vw, 38px);
}

.nav__list {
	display: flex;
	align-items: center;
	gap: clamp(14px, 1.8vw, 28px);
}

.nav__list a {
	position: relative;
	display: inline-block;
	padding: 6px 0;
	color: var(--on-dark);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.01em;
	opacity: 0.86;
	transition: opacity 0.2s var(--ease), color 0.2s var(--ease);
}

.nav__list a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 0;
	height: 1px;
	background: var(--accent);
	transition: width 0.28s var(--ease);
}

.nav__list a:hover {
	opacity: 1;
	color: var(--accent-2);
}

.nav__list a:hover::after,
.nav__list .current-menu-item > a::after,
.nav__list .current_page_parent > a::after {
	width: 100%;
}

.nav__list .current-menu-item > a {
	opacity: 1;
}

.nav__list .sub-menu {
	display: none;
}

.burger {
	display: none;
	width: 44px;
	height: 44px;
	padding: 0;
	background: none;
	border: 1px solid var(--line-dark);
	border-radius: var(--radius);
	align-items: center;
	justify-content: center;
}

.burger__box {
	position: relative;
	display: block;
	width: 18px;
	height: 10px;
}

.burger__line,
.burger__line::before,
.burger__line::after {
	position: absolute;
	left: 0;
	width: 18px;
	height: 1.5px;
	background: var(--on-dark);
	transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}

.burger__line {
	top: 4px;
}

.burger__line::before {
	content: "";
	top: -5px;
}

.burger__line::after {
	content: "";
	top: 5px;
}

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

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

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

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

.hero {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: min(94vh, 940px);
	padding-top: calc(var(--header-h) + clamp(40px, 8vh, 110px));
	background: var(--ink);
	color: var(--on-dark);
	overflow: hidden;
}

.hero__bg {
	position: absolute;
	inset: 0;
	background-color: var(--ink);
	background-image: var(--hero-image, none);
	background-size: cover;
	background-position: center;
}

.hero--image .hero__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg,
			rgba(0, 0, 0, calc(var(--hero-overlay, 0.78) * 0.9)) 0%,
			rgba(0, 0, 0, calc(var(--hero-overlay, 0.78) * 0.75)) 45%,
			var(--ink) 100%);
}

.hero__inner {
	position: relative;
	z-index: 2;
	padding-bottom: clamp(48px, 7vh, 92px);
}

.hero__title {
	max-width: 19ch;
	font-size: clamp(34px, 5.6vw, 74px);
	letter-spacing: -0.04em;
	line-height: 1.02;
}

.hero__lead {
	margin-top: clamp(20px, 2.4vw, 30px);
	max-width: 56ch;
	font-size: clamp(16px, 1.35vw, 19px);
	line-height: 1.62;
	color: var(--on-dark-muted);
}

.hero__domain {
	margin-top: 26px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.26em;
	text-transform: lowercase;
	color: var(--accent);
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: clamp(30px, 3.6vw, 44px);
}

.hero__facts {
	position: relative;
	z-index: 2;
	border-top: 1px solid var(--line-dark-soft);
	background: rgba(0, 0, 0, 0.22);
}

.hero__facts-inner {
	display: flex;
	flex-wrap: wrap;
}

.hero__fact {
	flex: 1 1 220px;
	padding: 22px 26px 22px 0;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--on-dark-muted);
	border-left: 1px solid var(--line-dark-soft);
	padding-left: 26px;
}

.hero__fact:first-child {
	border-left: 0;
	padding-left: 0;
}

/* --- Об Ассоциации ----------------------------------------- */

.about {
	display: grid;
	grid-template-columns: 0.92fr 1.24fr;
	gap: clamp(32px, 5vw, 88px);
	align-items: start;
}

.about__quote {
	padding-left: clamp(18px, 2vw, 28px);
	border-left: 2px solid var(--accent);
	font-size: clamp(21px, 2.1vw, 30px);
	font-weight: 600;
	line-height: 1.34;
	letter-spacing: -0.02em;
}

.about__more {
	margin-top: 30px;
}

.principles {
	margin-top: clamp(30px, 3.4vw, 48px);
	border-top: 1px solid var(--line);
}

.principle {
	display: block;
	padding: 22px 0;
	border-bottom: 1px solid var(--line-soft);
}

.principle__num {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: var(--accent);
	font-variant-numeric: tabular-nums;
	padding-top: 3px;
}

.principle__title {
	display: block;
	font-size: 19px;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.principle__desc {
	display: block;
	margin-top: 6px;
	color: var(--muted);
	font-size: 16px;
}

/* --- Задачи ------------------------------------------------ */

.tasks {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 clamp(28px, 4vw, 64px);
	border-top: 1px solid var(--line-dark-soft);
}

.task {
	position: relative;
	display: grid;
	grid-template-columns: 54px 1fr;
	align-items: baseline;
	gap: 8px;
	padding: 20px 8px;
	border-bottom: 1px solid var(--line-dark-soft);
	transition: background 0.3s var(--ease), padding-left 0.3s var(--ease);
}

.task:hover {
	background: rgba(255, 255, 255, 0.035);
	padding-left: 16px;
}

.task__num {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
	color: var(--accent);
	font-variant-numeric: tabular-nums;
}

.task__title {
	font-size: clamp(16px, 1.4vw, 19px);
	font-weight: 600;
	letter-spacing: -0.01em;
}

.task__desc {
	grid-column: 2;
	margin-top: 4px;
	font-size: 15px;
	color: var(--on-dark-muted);
}

/* --- Структура --------------------------------------------- */

.scheme__spine {
	display: grid;
	justify-items: center;
	gap: 34px;
	margin-bottom: 54px;
}

.node {
	position: relative;
	width: min(100%, 560px);
	padding: 20px 26px;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	text-align: center;
	box-shadow: 0 1px 0 rgba(20, 24, 30, 0.03);
}

.section--milk .node {
	background: var(--paper);
}

.node--top {
	border-color: var(--accent);
	box-shadow: 0 0 0 4px rgba(201, 162, 92, 0.1);
}

.node:not(:last-child)::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: -34px;
	width: 1px;
	height: 34px;
	background: linear-gradient(180deg, var(--accent), rgba(201, 162, 92, 0.2));
}

.node__index {
	display: block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.24em;
	color: var(--accent);
	margin-bottom: 8px;
}

.node__title {
	display: block;
	font-size: clamp(18px, 1.8vw, 24px);
	font-weight: 800;
	letter-spacing: -0.02em;
}

.node__note {
	display: block;
	margin-top: 8px;
	font-size: 14px;
	color: var(--muted);
}

.scheme__groups {
	position: relative;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(24px, 3.4vw, 56px);
}

.scheme__groups::before {
	content: "";
	position: absolute;
	left: 50%;
	top: -34px;
	width: 1px;
	height: 34px;
	background: linear-gradient(180deg, rgba(201, 162, 92, 0.2), var(--accent));
}

.branch__title {
	padding-bottom: 14px;
	margin-bottom: 4px;
	border-bottom: 2px solid var(--accent);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.branch__item {
	padding: 16px 4px 16px 18px;
	border-bottom: 1px solid var(--line-soft);
	position: relative;
	transition: padding-left 0.28s var(--ease), background 0.28s var(--ease);
}

.branch__item::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 8px;
	height: 1px;
	background: var(--accent);
	transform: translateY(-50%);
	transition: width 0.28s var(--ease);
}

.branch__item:hover {
	padding-left: 26px;
}

.branch__item:hover::before {
	width: 16px;
}

.branch__name {
	display: block;
	font-size: 17px;
	font-weight: 600;
	letter-spacing: -0.01em;
}

.branch__note {
	display: block;
	margin-top: 4px;
	font-size: 15px;
	color: var(--muted);
}

/* --- Участники --------------------------------------------- */

.members {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(248px, 1fr));
	border-top: 1px solid var(--line);
	border-left: 1px solid var(--line);
}

.member {
	border-right: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	background: var(--paper);
	transition: background 0.3s var(--ease);
}

.member:hover {
	background: var(--sand);
}

.section--milk .member {
	background: var(--paper);
}

.section--milk .member:hover {
	background: #fff;
	box-shadow: inset 0 0 0 1px var(--accent);
}

.member__link {
	display: grid;
	grid-template-rows: auto 1fr;
	height: 100%;
	padding: 26px 24px 24px;
	gap: 18px;
}

.member__logo {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	min-height: 62px;
}

.member__img {
	max-height: 62px;
	width: auto;
	object-fit: contain;
}

.member__mono {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border: 1px solid var(--accent);
	border-radius: var(--radius);
	color: var(--accent);
	font-size: 20px;
	font-weight: 800;
	letter-spacing: 0.02em;
}

.member__name {
	display: block;
	font-size: 18px;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.member__city {
	display: block;
	margin-top: 6px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--accent);
}

.member__desc {
	display: block;
	margin-top: 12px;
	font-size: 15px;
	line-height: 1.55;
	color: var(--muted);
}

.member__status {
	display: inline-block;
	margin-top: 14px;
	padding: 4px 10px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--muted);
}

.member__status--founder {
	border-color: var(--accent);
	color: var(--accent);
}

/* --- Почему вступают --------------------------------------- */

.why {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	border-top: 1px solid var(--line-dark-soft);
}

.why__item {
	padding: clamp(26px, 2.6vw, 38px) clamp(18px, 1.8vw, 28px);
	border-left: 1px solid var(--line-dark-soft);
}

.why__item:first-child {
	border-left: 0;
	padding-left: 0;
}

.why__num {
	display: block;
	margin-bottom: 18px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.2em;
	color: var(--accent);
}

.why__title {
	font-size: clamp(17px, 1.5vw, 21px);
	font-weight: 700;
}

.why__desc {
	margin-top: 12px;
	font-size: 15px;
	line-height: 1.6;
	color: var(--on-dark-muted);
}

/* --- Новости ----------------------------------------------- */

.news-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(20px, 2.4vw, 36px);
}

.news {
	border-top: 2px solid var(--ink);
	transition: border-color 0.3s var(--ease);
}

.news:hover {
	border-top-color: var(--accent);
}

.news__link {
	display: grid;
	gap: 12px;
	padding-top: 22px;
}

.news__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--muted);
}

.news__tag {
	color: var(--accent);
}

.news__title {
	font-size: clamp(19px, 1.7vw, 23px);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.24;
}

.news__excerpt {
	font-size: 15px;
	line-height: 1.6;
	color: var(--muted);
}

.news__more {
	font-size: 13px;
	font-weight: 700;
	color: var(--accent);
	transition: transform 0.25s var(--ease);
}

.news-list--archive {
	grid-template-columns: 1fr;
	gap: 0;
	border-top: 1px solid var(--line);
}

.news-list--archive .news {
	border-top: 0;
	border-bottom: 1px solid var(--line-soft);
}

.news-list--archive .news__link {
	grid-template-columns: 220px 1fr;
	gap: clamp(16px, 3vw, 48px);
	padding: clamp(22px, 2.4vw, 34px) 0;
	align-items: start;
	transition: padding-left 0.3s var(--ease);
}

.news-list--archive .news:hover .news__link {
	padding-left: 14px;
}

.news-list--archive .news__meta {
	display: grid;
	gap: 6px;
	align-content: start;
}

.news-list--archive .news__title {
	grid-column: 2;
}

.news-list--archive .news__excerpt,
.news-list--archive .news__more {
	grid-column: 2;
}

/* --- Финальный призыв -------------------------------------- */

.cta {
	position: relative;
	z-index: 2;
	text-align: center;
	display: grid;
	justify-items: center;
}

.cta .eyebrow {
	justify-content: center;
}

.cta__title {
	max-width: 20ch;
	font-size: clamp(28px, 4vw, 52px);
	line-height: 1.06;
}

.cta__text {
	margin-top: 22px;
	max-width: 62ch;
	color: var(--on-dark-muted);
	font-size: clamp(16px, 1.3vw, 18px);
	line-height: 1.65;
}

.cta__actions {
	margin-top: 34px;
}

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

.contacts {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: clamp(32px, 5vw, 88px);
	align-items: start;
}

.contacts__title {
	font-size: clamp(28px, 3.4vw, 44px);
}

.contacts__lead {
	margin-top: 18px;
	max-width: 48ch;
	color: var(--muted);
}

.contacts__email {
	display: inline-block;
	margin-top: 28px;
	font-size: clamp(22px, 2.6vw, 36px);
	font-weight: 800;
	letter-spacing: -0.03em;
	border-bottom: 2px solid var(--accent);
	padding-bottom: 4px;
	transition: color 0.25s var(--ease);
}

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

.contacts__list {
	border-top: 1px solid var(--line);
}

.contacts__row {
	display: grid;
	grid-template-columns: 128px 1fr;
	gap: 16px;
	padding: 16px 0;
	border-bottom: 1px solid var(--line-soft);
	font-size: 15px;
}

.contacts__row dt {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--muted);
	padding-top: 3px;
}

.contacts__row dd a:hover {
	color: var(--accent);
}

/* --- Внутренние страницы ----------------------------------- */

.phero {
	background: var(--ink);
	color: var(--on-dark);
	padding-top: calc(var(--header-h) + clamp(38px, 6vw, 76px));
	padding-bottom: clamp(38px, 5vw, 74px);
	position: relative;
	overflow: hidden;
}

.phero::after {
	content: "";
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	height: 1px;
	background: linear-gradient(90deg, var(--accent), transparent 60%);
}

.phero__title {
	max-width: 22ch;
	font-size: clamp(30px, 4.4vw, 58px);
	letter-spacing: -0.035em;
}

.phero__lead {
	margin-top: 20px;
	max-width: 58ch;
	color: var(--on-dark-muted);
	font-size: clamp(16px, 1.25vw, 18px);
	line-height: 1.62;
}

.crumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 26px;
	font-size: 12px;
	letter-spacing: 0.06em;
	color: var(--on-dark-muted);
}

.crumbs a:hover {
	color: var(--accent);
}

.crumbs__current {
	color: var(--accent);
}

/* --- Текстовые страницы ------------------------------------ */

.prose {
	max-width: 74ch;
	font-size: 17px;
	line-height: 1.75;
	color: #22272f;
}

.prose--lead {
	font-size: 18px;
}

.prose--intro {
	margin-bottom: clamp(30px, 3.6vw, 52px);
}

.prose > * + * {
	margin-top: 1.15em;
}

.prose h2 {
	margin-top: 2em;
	font-size: clamp(22px, 2.2vw, 30px);
	padding-top: 0.7em;
	border-top: 1px solid var(--line);
}

.prose h3 {
	margin-top: 1.7em;
	font-size: clamp(18px, 1.7vw, 22px);
}

.prose ul,
.prose ol {
	padding-left: 0;
}

.prose li {
	position: relative;
	padding-left: 26px;
	margin-top: 0.5em;
}

.prose ul li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.72em;
	width: 10px;
	height: 1px;
	background: var(--accent);
}

.prose ol {
	counter-reset: umra-ol;
}

.prose ol li {
	counter-increment: umra-ol;
}

.prose ol li::before {
	content: counter(umra-ol, decimal-leading-zero);
	position: absolute;
	left: 0;
	top: 0;
	font-size: 12px;
	font-weight: 700;
	color: var(--accent);
	line-height: 2.1;
}

.prose a {
	color: var(--text);
	border-bottom: 1px solid var(--accent);
}

.prose a:hover {
	color: var(--accent);
}

.prose blockquote {
	margin: 1.6em 0;
	padding: 4px 0 4px 24px;
	border-left: 2px solid var(--accent);
	font-size: 1.1em;
	font-weight: 500;
}

.prose img,
.prose figure {
	border-radius: var(--radius);
}

.prose table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
}

.prose th,
.prose td {
	padding: 12px 14px;
	border-bottom: 1px solid var(--line-soft);
	text-align: left;
}

.prose th {
	font-size: 12px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--muted);
}

.prose details {
	border-top: 1px solid var(--line);
	padding: 16px 0;
}

.prose summary {
	cursor: pointer;
	font-weight: 700;
	list-style: none;
}

.prose summary::-webkit-details-marker {
	display: none;
}

.prose summary::before {
	content: "+";
	color: var(--accent);
	margin-right: 12px;
	font-weight: 800;
}

.prose details[open] summary::before {
	content: "–";
}

.post-cover {
	margin: 0 0 clamp(26px, 3vw, 44px);
}

.post-cover img {
	width: 100%;
	object-fit: cover;
	border-radius: var(--radius);
}

.post-nav {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	margin-top: clamp(40px, 5vw, 70px);
	border-top: 1px solid var(--line);
	padding-top: 28px;
}

.post-nav__link {
	display: grid;
	gap: 6px;
}

.post-nav__link--next {
	text-align: right;
}

.post-nav__label {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--accent);
}

.post-nav__title {
	font-size: 17px;
	font-weight: 700;
	letter-spacing: -0.02em;
}

/* --- Отбор, документы, шаги -------------------------------- */

.filters {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: clamp(24px, 2.8vw, 38px);
}

.filters__item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 16px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	font-size: 14px;
	font-weight: 600;
	transition: background 0.25s var(--ease), color 0.25s var(--ease),
		border-color 0.25s var(--ease);
}

.filters__item:hover {
	border-color: var(--ink);
}

.filters__item.is-active {
	background: var(--ink);
	border-color: var(--ink);
	color: var(--on-dark);
}

.filters__count {
	font-size: 11px;
	color: var(--accent);
	font-variant-numeric: tabular-nums;
}

.docs {
	border-top: 1px solid var(--line);
}

.doc {
	display: grid;
	grid-template-columns: 64px 1fr auto;
	gap: clamp(14px, 2vw, 28px);
	align-items: center;
	padding: 20px 4px;
	border-bottom: 1px solid var(--line-soft);
	transition: background 0.28s var(--ease), padding-left 0.28s var(--ease);
}

.doc:hover {
	background: var(--sand);
	padding-left: 14px;
}

.doc__ext {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 40px;
	border: 1px solid var(--accent);
	border-radius: var(--radius);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.1em;
	color: var(--accent);
}

.doc__title {
	display: block;
	font-size: 18px;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.doc__desc {
	display: block;
	margin-top: 5px;
	font-size: 15px;
	color: var(--muted);
}

.doc__meta {
	display: grid;
	gap: 4px;
	justify-items: end;
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--muted);
	white-space: nowrap;
}

.doc__kind {
	color: var(--accent);
	font-weight: 700;
}

.steps {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0;
	border-top: 1px solid var(--line);
}

.step {
	padding: clamp(24px, 2.6vw, 36px) clamp(16px, 1.8vw, 26px);
	border-left: 1px solid var(--line-soft);
}

.step:first-child {
	border-left: 0;
	padding-left: 0;
}

.step__num {
	display: block;
	margin-bottom: 16px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.2em;
	color: var(--accent);
}

.step__title {
	font-size: clamp(17px, 1.5vw, 21px);
	font-weight: 700;
}

.step__desc {
	margin-top: 10px;
	font-size: 15px;
	line-height: 1.6;
	color: var(--muted);
}

/* --- Карточка участника ------------------------------------ */

.member-page {
	display: grid;
	grid-template-columns: 320px 1fr;
	gap: clamp(30px, 4.4vw, 76px);
	align-items: start;
}

.member-page__side {
	position: sticky;
	top: calc(var(--header-h) + 30px);
}

.member-page__logo {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 160px;
	padding: 24px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--paper);
}

.member-page__logo img {
	max-height: 110px;
	width: auto;
	object-fit: contain;
}

.member-page__facts {
	margin-top: 24px;
	border-top: 1px solid var(--line);
}

.member-page__row {
	display: grid;
	grid-template-columns: 108px 1fr;
	gap: 12px;
	padding: 13px 0;
	border-bottom: 1px solid var(--line-soft);
	font-size: 15px;
}

.member-page__row dt {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--muted);
	padding-top: 3px;
}

.member-page__row a {
	border-bottom: 1px solid var(--accent);
}

.member-page__back {
	margin-top: 40px;
}

.legal {
	margin-top: clamp(30px, 3.4vw, 48px);
	padding-top: 26px;
	border-top: 1px solid var(--line);
}

.legal__title {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 14px;
}

.legal__list li {
	padding: 8px 0;
	border-bottom: 1px solid var(--line-soft);
	font-size: 15px;
}

/* --- Формы ------------------------------------------------- */

.form-wrap {
	max-width: 760px;
}

.form__trap {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.form__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px clamp(18px, 2.4vw, 28px);
}

.form__row {
	display: grid;
	gap: 8px;
}

.form__row--wide {
	grid-column: 1 / -1;
}

.form__label {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--muted);
}

.form__req {
	color: var(--accent);
}

.form__input {
	width: 100%;
	padding: 14px 16px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--paper);
	color: var(--text);
	font: inherit;
	font-size: 16px;
	transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.form__input:focus {
	outline: none;
	border-color: var(--accent);
	box-shadow: 0 0 0 3px rgba(201, 162, 92, 0.18);
}

.section--dark .form__label {
	color: var(--on-dark-muted);
}

.section--dark .form__input {
	background: rgba(255, 255, 255, 0.05);
	border-color: var(--line-dark);
	color: var(--on-dark);
}

.section--dark .form__input::placeholder {
	color: rgba(255, 255, 255, 0.4);
}

.form__consent {
	margin-top: 22px;
	font-size: 14px;
	line-height: 1.55;
	color: var(--muted);
}

.section--dark .form__consent {
	color: var(--on-dark-muted);
}

.form__consent label {
	display: grid;
	grid-template-columns: 20px 1fr;
	gap: 12px;
	align-items: start;
	cursor: pointer;
}

.form__consent input {
	margin-top: 3px;
	width: 18px;
	height: 18px;
	accent-color: var(--accent);
}

.form__consent a {
	border-bottom: 1px solid var(--accent);
}

.form__submit {
	margin-top: 26px;
}

.form-note {
	margin-bottom: 24px;
	padding: 16px 20px;
	border-left: 2px solid var(--accent);
	background: rgba(201, 162, 92, 0.12);
	font-size: 15px;
}

.form-note--error {
	border-left-color: #b4503c;
	background: rgba(180, 80, 60, 0.12);
}

.searchform {
	display: flex;
	gap: 10px;
	max-width: 520px;
	margin-top: 20px;
}

.searchform__input {
	flex: 1;
	padding: 13px 16px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	font: inherit;
	font-size: 16px;
}

.searchform__input:focus {
	outline: none;
	border-color: var(--accent);
}

.empty {
	max-width: 640px;
	margin-inline: auto;
	padding: clamp(30px, 3.6vw, 52px) clamp(22px, 3vw, 44px);
	border: 1px solid var(--line);
	border-top: 2px solid var(--accent);
	border-radius: var(--radius);
	background: var(--paper);
	text-align: center;
	color: var(--muted);
	font-size: 16px;
	line-height: 1.6;
}

.empty strong {
	display: block;
	margin-bottom: 10px;
	color: var(--text);
	font-size: clamp(18px, 1.8vw, 22px);
	font-weight: 700;
	letter-spacing: -0.02em;
}

.section--milk .empty,
.section--light .empty {
	background: var(--paper);
}

.contacts__soon {
	margin-top: 30px;
	padding: clamp(22px, 2.4vw, 32px);
	border: 1px solid var(--line);
	border-left: 2px solid var(--accent);
	border-radius: var(--radius);
}

.contacts__soon-title {
	font-size: 17px;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.contacts__soon-text {
	margin: 10px 0 20px;
	color: var(--muted);
	font-size: 15px;
	line-height: 1.6;
}

/* --- Пагинация --------------------------------------------- */

.pager {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: clamp(34px, 4vw, 56px);
}

.pager .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 14px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	font-size: 14px;
	font-weight: 700;
	transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.pager .page-numbers:hover,
.pager .page-numbers.current {
	background: var(--ink);
	border-color: var(--ink);
	color: var(--on-dark);
}

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

.site-footer {
	background: var(--ink);
	color: var(--on-dark);
	padding-top: clamp(50px, 6vw, 88px);
}

.site-footer__inner {
	display: flex;
	flex-wrap: wrap;
	gap: clamp(28px, 3vw, 56px);
	padding-bottom: clamp(40px, 4.6vw, 64px);
}

.site-footer__brand {
	flex: 1 1 300px;
	max-width: 400px;
}

.site-footer__col {
	flex: 1 1 160px;
	min-width: 150px;
}

.site-footer__col--contacts {
	flex: 1 1 200px;
}

.site-footer__about {
	margin-top: 22px;
	max-width: 38ch;
	font-size: 15px;
	line-height: 1.6;
	color: var(--on-dark-muted);
}

.site-footer__domain {
	margin-top: 16px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.24em;
	color: var(--accent);
}

.site-footer__title {
	margin-bottom: 18px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--on-dark-muted);
}

.site-footer__menu li,
.site-footer__contacts li {
	margin-bottom: 10px;
	font-size: 15px;
}

.site-footer__menu a:hover,
.site-footer__contacts a:hover {
	color: var(--accent);
}

.site-footer__email a {
	font-size: 18px;
	font-weight: 700;
	border-bottom: 1px solid var(--accent);
}

.site-footer__contacts {
	margin-top: 16px;
	color: var(--on-dark-muted);
}

.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 32px;
	align-items: center;
	padding: 22px 0 30px;
	border-top: 1px solid var(--line-dark-soft);
	font-size: 13px;
	color: var(--on-dark-muted);
}

.site-footer__copy {
	margin-right: auto;
}

.site-footer__legal {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.site-footer__note {
	flex-basis: 100%;
	font-size: 12px;
	opacity: 0.7;
}

.widget__title {
	font-size: 13px;
	margin-bottom: 10px;
}

/* --- Появление при прокрутке -------------------------------- */

body.has-motion [data-reveal] {
	opacity: 0;
	transform: translateY(14px);
	transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

body.has-motion [data-reveal].is-in {
	opacity: 1;
	transform: none;
}

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

@media (max-width: 1080px) {
	.site-footer__brand {
		flex: 1 1 100%;
		max-width: none;
	}

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

	.why__item:nth-child(odd) {
		border-left: 0;
		padding-left: 0;
	}

	.why__item:nth-child(n + 3) {
		border-top: 1px solid var(--line-dark-soft);
	}

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

	.step:nth-child(odd) {
		border-left: 0;
		padding-left: 0;
	}

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

	.member-page {
		grid-template-columns: 260px 1fr;
	}
}

@media (max-width: 900px) {
	:root {
		--header-h: 66px;
	}

	.burger {
		display: inline-flex;
	}

	.nav {
		position: fixed;
		inset: 0 0 0 auto;
		width: min(88vw, 380px);
		flex-direction: column;
		align-items: flex-start;
		justify-content: flex-start;
		gap: 0;
		padding: calc(var(--header-h) + 24px) 28px 32px;
		background: var(--ink);
		border-left: 1px solid var(--line-dark-soft);
		transform: translateX(101%);
		transition: transform 0.36s var(--ease);
		overflow-y: auto;
	}

	.nav.is-open {
		transform: none;
	}

	.nav__list {
		flex-direction: column;
		align-items: flex-start;
		gap: 0;
		width: 100%;
	}

	.nav__list li {
		width: 100%;
		border-bottom: 1px solid var(--line-dark-soft);
	}

	.nav__list a {
		display: block;
		padding: 15px 0;
		font-size: 17px;
	}

	.nav__actions {
		margin-top: 26px;
	}

	.about,
	.contacts,
	.member-page {
		grid-template-columns: 1fr;
	}

	.member-page__side {
		position: static;
	}

	.tasks,
	.scheme__groups {
		grid-template-columns: 1fr;
	}

	.scheme__groups {
		gap: 34px;
	}

	.scheme__groups::before {
		display: none;
	}

	.branch + .branch {
		padding-top: 4px;
	}

	.news-list--archive .news__link {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.news-list--archive .news__title,
	.news-list--archive .news__excerpt,
	.news-list--archive .news__more {
		grid-column: 1;
	}

	.news-list--archive .news__meta {
		grid-auto-flow: column;
		justify-content: start;
		gap: 14px;
	}
}

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

	.hero {
		min-height: auto;
		padding-top: calc(var(--header-h) + 64px);
	}

	.hero__inner {
		padding-bottom: 54px;
	}

	.hero__facts {
		background: transparent;
		border-top: 0;
	}

	.hero__facts-inner {
		display: grid;
		gap: 10px;
		padding: 4px 0 30px;
	}

	.hero__fact {
		display: flex;
		align-items: center;
		gap: 12px;
		padding: 0;
		border: 0;
		font-size: 12px;
		letter-spacing: 0.14em;
		color: var(--on-dark);
		opacity: 0.9;
	}

	.hero__fact::before {
		content: "";
		flex: none;
		width: 18px;
		height: 2px;
		background: var(--accent);
	}

	.news-list,
	.why,
	.steps,
	.members {
		grid-template-columns: 1fr;
	}

	.principle {
		padding: 18px 0;
	}

	.why__item,
	.step {
		border-left: 0;
		padding-left: 0;
		border-top: 1px solid var(--line-dark-soft);
	}

	.step {
		border-top-color: var(--line-soft);
	}

	.why__item:first-child,
	.step:first-child {
		border-top: 0;
	}

	.form__grid {
		grid-template-columns: 1fr;
	}

	.doc {
		grid-template-columns: 52px 1fr;
	}

	.doc__meta {
		grid-column: 2;
		justify-items: start;
	}

	.post-nav {
		grid-template-columns: 1fr;
	}

	.post-nav__link--next {
		text-align: left;
	}

	.contacts__row,
	.member-page__row {
		grid-template-columns: 1fr;
		gap: 4px;
	}

	.site-footer__inner {
		gap: 30px;
	}

	.site-footer__col {
		flex: 1 1 100%;
	}

	.searchform {
		flex-direction: column;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		transition-duration: 0.001ms !important;
	}

	body.has-motion [data-reveal] {
		opacity: 1;
		transform: none;
	}
}

/* --- Кнопка «Наверх» --------------------------------------- */

.scroll-top {
	position: fixed;
	right: clamp(16px, 3vw, 32px);
	bottom: clamp(16px, 3vw, 32px);
	z-index: 91;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--ink);
	color: var(--on-dark);
	border: 1px solid var(--line-dark);
	border-radius: 50%;
	cursor: pointer;
	opacity: 0.7;
	transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), bottom 0.35s var(--ease);
}

.scroll-top:hover {
	opacity: 1;
	transform: translateY(-2px);
}

body.cookie-visible .scroll-top {
	bottom: calc(clamp(16px, 3vw, 32px) + var(--cookie-h, 54px));
}

/* --- Плашка cookie ----------------------------------------- */

.cookie-bar {
	position: fixed;
	inset-inline: 0;
	bottom: 0;
	z-index: 90;
	background: var(--ink);
	border-top: 1px solid var(--line-dark-soft);
	padding: 14px 0;
}

.cookie-bar__inner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
	flex-wrap: wrap;
}

.cookie-bar__text {
	color: var(--on-dark-muted);
	font-size: 13px;
	line-height: 1.5;
	text-align: center;
}

.cookie-bar__text a {
	color: var(--accent);
	border-bottom: 1px solid rgba(201, 162, 92, 0.3);
	transition: color 0.2s var(--ease);
}

.cookie-bar__text a:hover {
	color: var(--accent-2);
}

.cookie-bar__btn {
	flex: none;
	padding: 10px 24px;
	background: var(--accent);
	color: var(--ink);
	border: none;
	border-radius: var(--radius);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.02em;
	cursor: pointer;
	transition: background 0.2s var(--ease);
}

.cookie-bar__btn:hover {
	background: var(--accent-2);
}

@media (max-width: 600px) {
	.cookie-bar {
		padding: 12px 0;
	}

	.cookie-bar__inner {
		flex-direction: column;
		gap: 10px;
	}

	.cookie-bar__text {
		font-size: 11px;
		text-align: center;
	}

	.cookie-bar__detail {
		display: block;
	}

	.cookie-bar__btn {
		padding: 8px 28px;
		font-size: 12px;
	}
}

@media print {
	.site-header,
	.site-footer,
	.hero__facts,
	.burger {
		display: none !important;
	}

	body {
		color: #000;
		background: #fff;
	}
}
