/* Альтсистемс — «Магистраль». Светлая холодная гамма, медь, линии инженерных трасс. */

/* ---------- Шрифты (локальные, OFL) ---------- */
@font-face { font-family: "Commissioner"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/commissioner-cyrillic-500-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Commissioner"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/commissioner-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Commissioner"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/commissioner-cyrillic-600-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Commissioner"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/commissioner-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Commissioner"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/commissioner-cyrillic-700-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Commissioner"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/commissioner-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/manrope-cyrillic-400-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/manrope-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/manrope-cyrillic-500-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/manrope-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/manrope-cyrillic-600-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/manrope-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Токены ---------- */
:root {
	--bg: #EEF2F6;
	--card: #FFFFFF;
	--ink: #14215B;
	--ink-2: #3D4874;
	--ink-3: #5C6690;
	--copper: #B86B3C;
	--copper-ink: #97522A;
	--copper-soft: #F3E4D9;
	--sky: #8FB8DE;
	--sky-soft: #DCE8F4;
	--line: #CBD5E2;
	--ok: #1F6B4A;
	--err: #A3262E;

	--f-head: "Commissioner", "Segoe UI", Arial, sans-serif;
	--f-text: "Manrope", "Segoe UI", Arial, sans-serif;

	--wrap: 1240px;
	--gut: clamp(16px, 4vw, 40px);
	--rail-w: 0px;
	--top-h: 68px;
	--radius: 14px;
	--ease: cubic-bezier(.22, .8, .24, 1);
}

@media (min-width: 1200px) {
	:root { --rail-w: 88px; }
}

/* ---------- Основа ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--top-h) + 16px); }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font: 400 clamp(16px, 1.05vw + 10px, 18px)/1.6 var(--f-text);
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-color: var(--copper); text-underline-offset: .18em; }
a:hover { color: var(--copper-ink); }
:focus-visible { outline: 3px solid var(--copper); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--f-head); font-weight: 700; line-height: 1.08; letter-spacing: -.01em; margin: 0; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
#main { outline: none; }

.skip {
	position: absolute; left: 16px; top: -100px; z-index: 100;
	background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip:focus { top: 12px; color: #fff; }

.wrap {
	width: 100%;
	max-width: calc(var(--wrap) + 2 * var(--gut));
	margin: 0 auto;
	padding: 0 var(--gut);
}
@media (min-width: 1200px) {
	body { padding-left: var(--rail-w); }
}

.section { padding: clamp(64px, 9vw, 128px) 0; }
.section--tight { padding: 32px 0 96px; }

/* ---------- Кнопки ---------- */
.btn {
	display: inline-flex; align-items: center; gap: 12px;
	min-height: 52px; padding: 0 26px;
	border-radius: 999px; border: 2px solid transparent;
	font: 600 16px/1 var(--f-text); text-decoration: none;
	cursor: pointer; position: relative; overflow: hidden; isolation: isolate;
	transition: transform .25s var(--ease), background-color .25s, color .25s, border-color .25s;
}
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn--copper, .btn--primary { background: var(--copper-ink); color: #fff; }
.btn--primary:hover { background: #84461F; color: #fff; }
.btn--copper::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent);
	transform: translateX(-110%);
}
.btn--copper:hover { color: #fff; background: #84461F; }
.btn--copper:hover::before { animation: current .8s var(--ease); }
.btn--line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn__arrow { transition: transform .3s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .6; cursor: progress; }

@keyframes current { to { transform: translateX(110%); } }

/* ---------- Шапка ---------- */
.top {
	position: sticky; top: 0; z-index: 40;
	background: rgba(238, 242, 246, .88);
	backdrop-filter: saturate(1.4) blur(10px);
	-webkit-backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid transparent;
	transition: border-color .3s, background-color .3s;
}
.top.is-stuck { border-bottom-color: var(--line); background: rgba(255, 255, 255, .92); }
.top__in {
	display: flex; align-items: center; gap: 24px;
	min-height: var(--top-h);
	max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut);
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand__name { font: 700 19px/1 var(--f-head); letter-spacing: .06em; }
.top__nav { margin-left: auto; }
.menu { display: flex; gap: 6px; list-style: none; }
.menu a {
	display: block; padding: 10px 14px; border-radius: 999px;
	font-weight: 500; font-size: 15px; text-decoration: none; color: var(--ink-2);
	transition: background-color .2s, color .2s;
}
.menu a:hover, .menu a.is-active { background: var(--card); color: var(--ink); }
.top__cta { margin-left: 4px; }

@media (max-width: 900px) {
	.top__nav { display: none; }
	.top__cta { margin-left: auto; }
}
.brand__mark { flex: none; }
.top__cta { white-space: nowrap; }
.top__cta-short { display: none; }
@media (max-width: 600px) {
	.top__in { gap: 12px; }
	.brand__name { font-size: 16px; }
	.top__cta { padding: 0 16px; }
	.top__cta .btn__arrow { display: none; }
	.top__cta-full { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	.top__cta-short { display: inline; }
}

/* ---------- Магистраль (вертикальная навигация, ≥1200px) ---------- */
.rail { display: none; }
@media (min-width: 1200px) {
	.rail {
		display: block; position: fixed; z-index: 30;
		left: 0; top: calc(var(--top-h) + 32px); bottom: 32px; width: var(--rail-w);
	}
	.rail__line {
		position: absolute; left: 43px; top: 6px; bottom: 6px; width: 2px;
		background: var(--line); border-radius: 2px; overflow: hidden;
	}
	.rail__fill {
		position: absolute; left: 0; top: 0; width: 100%; height: 100%;
		background: linear-gradient(var(--copper), var(--copper-ink));
		transform-origin: top; transform: scaleY(var(--progress, 0));
	}
	.rail__list {
		position: relative; height: 100%;
		display: flex; flex-direction: column; justify-content: space-between;
		list-style: none;
	}
	.rail__node {
		position: relative; display: block; width: 88px; height: 28px;
		text-decoration: none;
	}
	.rail__node::before {
		content: ""; position: absolute; left: 37px; top: 7px; width: 14px; height: 14px;
		border-radius: 50%; background: var(--bg); border: 2px solid var(--ink-3);
		transition: border-color .3s, background-color .3s, transform .3s var(--ease);
	}
	.rail__node.is-passed::before { border-color: var(--copper); }
	.rail__node.is-active::before { background: var(--copper); border-color: var(--copper); transform: scale(1.25); box-shadow: 0 0 0 6px rgba(184, 107, 60, .18); }
	.rail__label {
		position: absolute; left: 62px; top: 50%; transform: translate(-6px, -50%);
		white-space: nowrap; padding: 6px 10px; border-radius: 8px;
		background: var(--ink); color: #fff; font-size: 13px; font-weight: 600;
		opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
	}
	.rail__node:hover .rail__label, .rail__node:focus-visible .rail__label { opacity: 1; transform: translate(0, -50%); }
}

/* ---------- Нижняя панель (телефон) ---------- */
.dock { display: none; }
@media (max-width: 900px) {
	.dock {
		display: block; position: fixed; z-index: 45; left: 12px; right: 12px; bottom: 12px;
		background: var(--ink); border-radius: 18px; box-shadow: 0 10px 30px rgba(20, 33, 91, .28);
		padding-bottom: env(safe-area-inset-bottom);
		transition: transform .3s var(--ease), opacity .3s;
	}
	.dock.is-hidden { transform: translateY(140%); opacity: 0; }
	.dock ul { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; }
	.dock a {
		display: flex; align-items: center; justify-content: center; text-align: center;
		min-height: 52px; padding: 6px 4px; color: #DCE3F2; text-decoration: none;
		font: 600 13px/1.15 var(--f-text); white-space: nowrap;
	}
	@media (max-width: 380px) { .dock a { font-size: 12px; padding: 6px 2px; } }
	.dock a.is-active { color: #fff; box-shadow: inset 0 -3px 0 var(--copper); }
	body { padding-bottom: 84px; }
}

/* ---------- Первый экран ---------- */
.hero { position: relative; padding: clamp(24px, 4vw, 56px) 0 0; }
.hero__grid {
	display: grid; gap: clamp(24px, 4vw, 56px);
	grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
	align-items: start;
}
.hero__text { padding-top: clamp(8px, 3vw, 48px); }
.hero__eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	font: 600 14px/1.3 var(--f-text); letter-spacing: .04em; color: var(--ink-2);
	margin-bottom: 24px;
}
.hero__eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--copper); }
.hero__title { font-size: clamp(38px, 4.3vw, 66px); line-height: 1.02; letter-spacing: -.025em; margin-bottom: 24px; }
.hero__lead { font-size: clamp(17px, 1.25vw, 20px); color: var(--ink-2); max-width: 34em; margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__media {
	margin: 0; position: relative; border-radius: var(--radius); overflow: hidden;
	clip-path: polygon(0 0, calc(100% - 44px) 0, 100% 44px, 100% 100%, 0 100%);
	background: var(--sky-soft);
	aspect-ratio: 3 / 2;
}
.hero__img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(180deg, transparent 60%, rgba(20, 33, 91, .18));
}

@media (max-width: 1099px) {
	.hero__grid { grid-template-columns: 1fr; }
	.hero__text { padding-top: 8px; }
}
@media (max-width: 700px) {
	.hero__media { aspect-ratio: 4 / 5; clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%); }
	.hero__actions .btn { flex: 1 1 auto; justify-content: center; }
}

/* Три трассы через весь экран */
.traces {
	list-style: none; position: relative;
	margin-top: clamp(28px, 4vw, 48px);
	padding: 8px 0 clamp(16px, 3vw, 32px);
}
.trace { --c: var(--copper); }
.trace--ink { --c: var(--ink); }
.trace--sky { --c: #5E93C6; }
.trace__link {
	display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px;
	padding: 10px var(--gut); text-decoration: none; color: var(--ink);
	max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto;
}
.trace__label { font: 600 clamp(14px, 1.1vw, 16px)/1.2 var(--f-text); min-width: 0; }
.trace__wire {
	position: relative; height: 3px; border-radius: 3px;
	background: color-mix(in srgb, var(--c) 30%, transparent);
	overflow: hidden;
}
.trace__flow {
	position: absolute; inset: 0;
	background: repeating-linear-gradient(90deg, var(--c) 0 26px, transparent 26px 52px);
	animation: flow 2.6s linear infinite;
	animation-delay: calc(var(--i) * -.7s);
	opacity: .9;
}
.trace__end {
	width: 14px; height: 14px; border-radius: 50%; border: 3px solid var(--c); background: var(--bg);
	transition: background-color .25s, transform .25s var(--ease);
}
.trace__link:hover .trace__end, .trace__link:focus-visible .trace__end { background: var(--c); transform: scale(1.2); }
.trace__link:hover { color: var(--ink); }
.trace__link:hover .trace__label { text-decoration: underline; text-decoration-color: var(--c); text-decoration-thickness: 2px; }
@keyframes flow { from { transform: translateX(-52px); } to { transform: translateX(0); } }

@media (max-width: 600px) {
	.trace__link { grid-template-columns: 1fr auto; gap: 6px 12px; }
	.trace__wire { grid-column: 1 / -1; grid-row: 2; }
	.trace__end { grid-column: 2; grid-row: 1; }
}

/* ---------- Заголовки разделов ---------- */
.shead { position: relative; margin-bottom: clamp(32px, 5vw, 56px); max-width: 860px; }
.shead__node {
	display: block; width: 46px; height: 14px; margin-bottom: 18px; position: relative;
}
.shead__node::before { content: ""; position: absolute; left: 0; top: 6px; width: 32px; height: 2px; background: var(--copper); }
.shead__node::after { content: ""; position: absolute; left: 30px; top: 1px; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--copper); background: var(--bg); }
.shead__title { font-size: clamp(32px, 3.8vw, 54px); letter-spacing: -.02em; }
.shead__lead { margin: 18px 0 0; font-size: clamp(17px, 1.2vw, 19px); color: var(--ink-2); max-width: 40em; }
.shead--dark .shead__title { color: #fff; }
.shead--dark .shead__lead { color: #C9D2EA; }
.shead--dark .shead__node::after { background: var(--ink); }

/* ---------- Направления ---------- */
.dirs__list { display: grid; gap: clamp(20px, 3vw, 32px); }
.dir {
	--c: var(--copper);
	display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	background: var(--card); border-radius: var(--radius); overflow: hidden;
	box-shadow: 0 1px 0 var(--line), 0 18px 40px -28px rgba(20, 33, 91, .35);
	position: relative;
}
.dir--ink { --c: var(--ink); }
.dir--sky { --c: #5E93C6; }
.dir::before {
	content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--c); z-index: 1;
	transform-origin: top; transform: scaleY(0); transition: transform .9s var(--ease) .1s;
}
.dir.is-in::before { transform: scaleY(1); }
.dir:nth-child(even) { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.dir:nth-child(even) .dir__media { order: 2; }
.dir__media { position: relative; min-height: 280px; background: var(--sky-soft); }
.dir__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.dir:hover .dir__img { transform: scale(1.03); }
.dir__body { padding: clamp(24px, 3.5vw, 48px); }
.dir__num { font: 600 14px/1 var(--f-head); letter-spacing: .12em; color: var(--c); margin-bottom: 16px; }
.dir--ink .dir__num { color: var(--ink-2); }
.dir--sky .dir__num { color: #3F74A8; }
.dir__title { font-size: clamp(24px, 2.2vw, 32px); margin-bottom: 14px; }
.dir__lead { color: var(--ink-2); margin-bottom: 20px; }
.dir__works { list-style: none; display: grid; gap: 2px; border-top: 1px solid var(--line); }
.dir__works li {
	position: relative; padding: 11px 0 11px 30px; border-bottom: 1px solid var(--line);
	font-weight: 500;
}
.dir__works li::before {
	content: ""; position: absolute; left: 0; top: 50%; width: 16px; height: 2px; background: var(--c);
}
.dir__works li::after {
	content: ""; position: absolute; left: 14px; top: calc(50% - 3px); width: 8px; height: 8px; border-radius: 50%; background: var(--c);
}
@media (max-width: 860px) {
	.dir, .dir:nth-child(even) { grid-template-columns: 1fr; }
	.dir:nth-child(even) .dir__media { order: 0; }
	.dir__media { min-height: 0; aspect-ratio: 3 / 2; }
}

/* ---------- Этапы ---------- */
.steps { background: var(--card); }
.steps__list {
	list-style: none; position: relative;
	display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px;
}
.steps__list::before {
	content: ""; position: absolute; left: 0; right: 0; top: 23px; height: 2px;
	background: linear-gradient(90deg, var(--copper) var(--fill, 0%), var(--line) var(--fill, 0%));
	transition: --fill 1.6s var(--ease);
}
.steps__list.is-in { --fill: 100%; }
.step { position: relative; }
.step__node {
	position: relative; z-index: 1;
	display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
	background: var(--card); border: 2px solid var(--copper); color: var(--copper-ink);
	font: 700 15px/1 var(--f-head); margin-bottom: 20px;
	transition: background-color .4s, color .4s;
	transition-delay: calc(var(--i) * .25s + .2s);
}
.steps__list.is-in .step__node { background: var(--copper-ink); color: #fff; }
.step__title { font-size: 21px; margin-bottom: 8px; }
.step__text { color: var(--ink-2); font-size: 16px; margin: 0; }
@property --fill { syntax: "<percentage>"; inherits: true; initial-value: 0%; }

@media (max-width: 1000px) {
	.steps__list { grid-template-columns: 1fr; gap: 0; }
	.steps__list::before {
		left: 23px; right: auto; top: 0; bottom: 0; width: 2px; height: auto;
		background: linear-gradient(180deg, var(--copper) var(--fill, 0%), var(--line) var(--fill, 0%));
	}
	.step { display: grid; grid-template-columns: 48px 1fr; column-gap: 20px; padding-bottom: 28px; }
	.step__node { grid-row: span 2; margin: 0; }
	.step__title { align-self: end; padding-top: 4px; }
}

/* ---------- О компании ---------- */
.about__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.about__text { font-size: clamp(17px, 1.2vw, 19px); max-width: 38em; }
.card { background: var(--card); border-radius: var(--radius); padding: clamp(22px, 3vw, 36px); box-shadow: 0 1px 0 var(--line); }
.card__title { font-size: 22px; margin-bottom: 16px; }
.requisites, .contacts { margin: 0; display: grid; gap: 14px; }
.requisites div, .contacts div { display: grid; gap: 2px; }
.requisites dt, .contacts dt { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); }
.requisites dd, .contacts dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
@media (max-width: 900px) {
	.about__grid { grid-template-columns: 1fr; }
}

/* ---------- Запрос ---------- */
.request { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.request::before {
	content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
	background: linear-gradient(90deg, var(--copper) 0 33%, #fff 33% 66%, var(--sky) 66%);
	opacity: .9;
}
.request__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.request .contacts dt { color: #AEB9DA; }
.request .contacts a { color: #fff; }
.request__form { background: var(--card); color: var(--ink); border-radius: var(--radius); padding: clamp(22px, 3.5vw, 44px); }
.request-off p { margin-bottom: 16px; }
@media (max-width: 900px) {
	.request__grid { grid-template-columns: 1fr; }
}

/* Форма: поля без рамок, нижняя линия «заполняется током» при фокусе */
.field { position: relative; margin-bottom: 26px; }
.field__label { display: block; font: 600 15px/1.3 var(--f-text); margin-bottom: 8px; }
.field__input {
	display: block; width: 100%;
	font: 500 17px/1.5 var(--f-text); color: var(--ink);
	background: var(--bg); border: 0; border-radius: 10px 10px 0 0;
	padding: 14px 16px;
	box-shadow: inset 0 -2px 0 var(--line);
	background-image: linear-gradient(var(--copper), var(--copper));
	background-repeat: no-repeat; background-position: 0 100%; background-size: 0% 3px;
	transition: background-size .5s var(--ease), background-color .2s;
}
.field__input:focus { outline: none; background-size: 100% 3px; background-color: #E6ECF3; }
.field__input:focus-visible { outline: 2px solid transparent; }
.field__input--area { min-height: 150px; resize: vertical; }
.field__input[aria-invalid="true"] { box-shadow: inset 0 -2px 0 var(--err); }
.field__hint { font-size: 14px; color: var(--ink-3); margin: 8px 0 0; }
.field__error { font-size: 14px; font-weight: 600; color: var(--err); margin: 8px 0 0; }
.field--check { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; font-size: 15px; }
.field__check { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--copper-ink); }
.field--check .field__error { grid-column: 2; }
.request-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.request-form__actions { margin-top: 8px; }
.request-form__status p { margin: 18px 0 0; padding: 12px 16px; border-radius: 10px; font-weight: 600; }
.request-form__status .is-ok { background: #E3F2EA; color: var(--ok); }
.request-form__status .is-error { background: #F8E3E4; color: var(--err); }
.request-form.is-sending .btn { opacity: .7; }

/* ---------- Внутренние страницы ---------- */
.phead { padding: clamp(40px, 6vw, 88px) 0 24px; }
.phead__eyebrow { font-size: 14px; font-weight: 600; color: var(--ink-3); margin-bottom: 18px; }
.phead__eyebrow a { color: var(--ink-2); }
.phead__title { font-size: clamp(30px, 4vw, 52px); max-width: 20em; }
.phead__lead { margin-top: 16px; color: var(--ink-2); max-width: 40em; }
.prose { max-width: 820px; }
.prose h2 { font-size: clamp(20px, 2vw, 24px); margin: 32px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; margin-bottom: 1em; }
.prose li { margin-bottom: .4em; }
.e404 { padding-bottom: 96px; }
.e404__wire { max-width: 600px; margin: 32px 0; }

/* ---------- Подвал ---------- */
.foot { background: #0E1745; color: #C9D2EA; padding: 48px 0 40px; font-size: 15px; }
.foot__in { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 28px 40px; }
.foot__name { font: 700 18px/1.2 var(--f-head); color: #fff; margin-bottom: 8px; }
.foot__note { margin: 0; }
.foot__req p { margin: 0 0 6px; }
.foot a { color: #fff; }
.foot__links { list-style: none; display: grid; gap: 8px; }
.foot__copy { grid-column: 1 / -1; margin: 12px 0 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); color: #9AA6CC; }
@media (max-width: 900px) {
	.foot__in { grid-template-columns: 1fr; }
}

/* ---------- Появление ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .hero [data-reveal] { transition-delay: calc(var(--d, 0) * 90ms); }

/* ---------- Уменьшение движения ---------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.js [data-reveal] { opacity: 1; transform: none; }
	.dir::before { transform: scaleY(1); }
	.steps__list { --fill: 100%; }
	.steps__list .step__node { background: var(--copper-ink); color: #fff; }
}
