/* ==========================================================================
   DezRus v2 — светлый деловой российский стиль
   Токены по design/design.md. Радиусы 2px, бордеры 1px.
   ========================================================================== */

:root {
	--bg: #FAF9F5;
	--bg-alt: #F4F3EC;
	--surface: #FFFFFF;
	--ink: #1F1F1C;
	--ink-60: rgba(31, 31, 28, .60);
	--ink-40: rgba(31, 31, 28, .40);
	--ink-85: rgba(31, 31, 28, .85);
	--line: rgba(31, 31, 28, .10);
	--line-strong: rgba(31, 31, 28, .22);
	--blue: #0066CC;
	--blue-dark: #004C99;
	--blue-tint: #EAF2FB;
	--red: #CE0019;
	--red-tint: #FBEDEF;
	--success: #1E7E46;
	--font-display: "Onest", sans-serif;
	--font-body: "Golos Text", sans-serif;
	--font-mono: "JetBrains Mono", monospace;
	--radius: 2px;
	--shadow-float: 0 8px 32px rgba(31, 31, 28, .08);
	--ease-out: cubic-bezier(0.16, 1, 0.3, 1);
	--navbar-h: 72px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue); text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
input, select, textarea { font: inherit; color: inherit; }

::selection { background: var(--blue); color: #fff; }

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

/* ---------- Типографика ---------- */
.mono { font-family: var(--font-mono); }
.mono-label {
	font-family: var(--font-mono);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--ink-40);
}
.display-l {
	font-family: var(--font-display);
	font-size: 44px;
	font-weight: 700;
	line-height: 1.08;
	letter-spacing: -0.015em;
}
.display-m {
	font-family: var(--font-display);
	font-size: 28px;
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -0.01em;
}

.container {
	max-width: 1440px;
	margin: 0 auto;
	padding: 0 48px;
}
.container--content { max-width: 960px; }

.section { padding: 140px 0; }
.section--plain { background: var(--bg); }
.section--surface { background: var(--surface); }
.section--alt { background: var(--bg-alt); }
.section--tight { padding: 70px 0; }

.site-main { min-height: 40vh; }

/* ---------- RollLink (3-слойный rollover) ---------- */
.roll {
	display: inline-block;
	overflow: hidden;
	height: 1.4em;
	vertical-align: middle;
}
.roll__in {
	display: flex;
	flex-direction: column;
	transition: transform 300ms ease-out;
}
.roll__row { display: block; height: 1.4em; line-height: 1.4em; white-space: nowrap; }
.roll__row--blue { color: var(--blue); }
a:hover .roll__in, button:hover .roll__in { transform: translateY(-1.4em); }

/* ---------- Кнопки (красный ЗАПРЕЩЁН) ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	border-radius: var(--radius);
	font-family: var(--font-body);
	font-size: 15px;
	font-weight: 500;
	letter-spacing: .01em;
	line-height: 1;
	padding: 16px 28px;
	border: 1px solid transparent;
	transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease;
	cursor: pointer;
	white-space: nowrap;
}
.btn__arrow { transition: transform 200ms ease; }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-dark); color: #fff; }
.btn--primary:hover .btn__arrow { transform: translateX(4px); }
.btn--secondary { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn--secondary:hover { border-color: var(--blue); color: var(--blue); }
.btn--ghost { padding: 16px 0; color: var(--blue); }
.btn--ghost:hover { color: var(--blue-dark); }

/* ---------- Chip ---------- */
.chip {
	display: inline-flex;
	align-items: center;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 8px 14px;
	font-family: var(--font-mono);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--ink);
	background: transparent;
	transition: border-color 200ms ease, color 200ms ease, background-color 200ms ease;
	white-space: nowrap;
}
a.chip:hover, button.chip:hover, .chip.is-active {
	border-color: var(--blue);
	color: var(--blue);
	background: var(--blue-tint);
}
.chip--rec { padding: 4px 10px; font-size: 10px; color: var(--blue); border-color: var(--blue); background: var(--blue-tint); }

/* ---------- SectionHeader ---------- */
.sec-head {
	position: relative;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 32px;
	flex-wrap: wrap;
	padding-bottom: 28px;
	margin-bottom: 48px;
}
.sec-head__label { display: block; margin-bottom: 14px; }
.sec-head__title {
	font-family: var(--font-display);
	font-size: 44px;
	font-weight: 700;
	line-height: 1.08;
	letter-spacing: -0.015em;
	max-width: 780px;
}
.sec-head__ghost { color: var(--blue); font-size: 15px; font-weight: 500; flex-shrink: 0; padding-bottom: 6px; }
.sec-head__note { flex-shrink: 0; padding-bottom: 8px; }
.sec-head__rule {
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 1px;
	background: var(--line);
}
.sec-head__dash {
	position: absolute;
	left: 0; bottom: 0;
	width: 32px; height: 1px;
	background: var(--blue);
	transform-origin: left;
}
.sec-head--center { justify-content: center; text-align: center; }
.sec-head--center .sec-head__title { margin: 0 auto; }

/* ==========================================================================
   Каркас: TricolorBar, TopUtilityBar, Navbar
   ========================================================================== */

.tricolor-bar { display: flex; height: 3px; width: 100%; }
.tricolor-bar__seg--white { flex: 0 0 40%; background: #FFFFFF; }
.tricolor-bar__seg--blue  { flex: 0 0 40%; background: var(--blue); }
.tricolor-bar__seg--red   { flex: 0 0 20%; background: var(--red); }

.top-utility {
	height: 36px;
	background: var(--bg-alt);
	border-bottom: 1px solid var(--line);
}
.top-utility__in {
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}
.top-utility__right { display: inline-flex; align-items: center; gap: 24px; }
.top-utility__phone { font-size: 13px; color: var(--ink-40); }

.navbar {
	position: sticky;
	top: 0;
	z-index: 100;
	height: var(--navbar-h);
	background: rgba(250, 249, 245, .85);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid transparent;
	transition: border-color 200ms ease, box-shadow 200ms ease;
}
.navbar.is-scrolled {
	border-bottom-color: var(--line);
	box-shadow: var(--shadow-float);
}
.navbar__in {
	height: var(--navbar-h);
	display: flex;
	align-items: center;
	gap: 40px;
}
.navbar__logo { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.navbar__logo-mark { width: 32px; height: 32px; }
.navbar__logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.navbar__logo-name {
	font-family: var(--font-display);
	font-size: 18px;
	font-weight: 700;
	letter-spacing: -0.01em;
	color: var(--ink);
}
.navbar__logo-rus { color: var(--blue); }
.navbar__logo-sub { font-size: 11px; }

.navbar__nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.navbar__menu { display: flex; align-items: center; gap: 28px; }
.navbar__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 15px;
	font-weight: 500;
	letter-spacing: .01em;
	color: var(--ink);
}
.navbar__chev { transition: transform 250ms ease; }
.navbar__mega-toggle[aria-expanded="true"] .navbar__chev { transform: rotate(180deg); }

.navbar__right { display: flex; align-items: center; gap: 24px; }
.navbar__phone { font-size: 15px; font-weight: 500; color: var(--ink); }
.navbar__phone:hover { color: var(--blue); }
.navbar__cta { padding: 12px 20px; }

.navbar__burger { display: none; }

/* Мегаменю «Услуги» */
.mega-menu {
	position: fixed;
	left: 0; right: 0;
	top: calc(var(--navbar-h) + 39px);
	z-index: 99;
	background: var(--surface);
	border-bottom: 1px solid var(--line);
	box-shadow: var(--shadow-float);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-8px);
	transition: opacity 250ms ease, transform 250ms ease, visibility 250ms;
}
.mega-menu.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-menu__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0 48px;
	padding: 32px 0 40px;
}
.mega-menu__link {
	display: grid;
	grid-template-columns: 32px 1fr auto;
	align-items: baseline;
	gap: 12px;
	padding: 10px 0;
	border-bottom: 1px solid var(--line);
	color: var(--ink);
}
.mega-menu__num { font-size: 11px; }
.mega-menu__name { font-family: var(--font-display); font-size: 16px; font-weight: 600; }
.mega-menu__count { font-size: 11px; }

/* Бургер-шторка */
.mobile-drawer {
	position: fixed;
	inset: 0;
	z-index: 98;
	background: var(--bg);
	padding: calc(var(--navbar-h) + 40px) 20px 40px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	opacity: 0;
	visibility: hidden;
	transition: opacity 300ms ease, visibility 300ms;
	overflow-y: auto;
}
.mobile-drawer.is-open { opacity: 1; visibility: visible; }
.mobile-drawer__nav { display: flex; flex-direction: column; gap: 8px; }
.mobile-drawer__link {
	font-family: var(--font-display);
	font-size: 32px;
	font-weight: 700;
	letter-spacing: -0.015em;
	color: var(--ink);
	padding: 10px 0;
	border-bottom: 1px solid var(--line);
	opacity: 0;
	transform: translateY(20px);
}
.mobile-drawer.is-open .mobile-drawer__link { opacity: 1; transform: none; transition: opacity 400ms ease, transform 400ms ease; }
.mobile-drawer__foot { display: flex; flex-direction: column; gap: 16px; padding-top: 32px; }
.mobile-drawer__phone { font-size: 20px; color: var(--ink); }
body.drawer-open { overflow: hidden; }

/* ==========================================================================
   01 · HERO
   ========================================================================== */

.hero {
	position: relative;
	background:
		radial-gradient(ellipse at 70% 20%, #EAF2FB 0%, transparent 60%),
		url("../img/topo-texture.svg") repeat;
	background-color: var(--bg);
}
.hero__in {
	display: grid;
	grid-template-columns: 7fr 5fr;
	gap: 48px;
	align-items: end;
	min-height: 88vh;
	padding-top: 64px;
	padding-bottom: 64px;
}
.hero__hud { display: flex; align-items: center; gap: 10px; margin-bottom: 28px; }
.hero__hud-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--red); flex-shrink: 0; }
.hero__h1 {
	font-family: var(--font-display);
	font-size: 64px;
	font-weight: 700;
	line-height: 1.04;
	letter-spacing: -0.02em;
	margin-bottom: 28px;
}
.hero__h1-blue { color: var(--blue); }
.hero__lead {
	font-size: 20px;
	line-height: 1.5;
	color: var(--ink-60);
	max-width: 520px;
	margin-bottom: 36px;
}
.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.hero__cta-note { margin-bottom: 48px; }
.hero__stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	border-top: 1px solid var(--line);
	max-width: 520px;
}
.hero__stat {
	padding: 20px 24px 4px;
	border-left: 1px solid var(--line);
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.hero__stat:first-child { border-left: 0; padding-left: 0; }
.hero__stat-num { font-size: 24px; font-weight: 700; }
.hero__stat-label { font-size: 14px; color: var(--ink-60); }

.hero__right { position: relative; align-self: end; }
.hero__art { max-width: 520px; margin-left: auto; }
.hero__art svg { width: 100%; height: auto; }
.hero__art .eng-line { stroke: rgba(31, 31, 28, .70); }
.hero__art .eng-star { fill: var(--red); }

.hud-card {
	position: absolute;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-float);
	padding: 16px 20px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.hud-card--status { top: 8px; right: 0; }
.hud-card--lead { bottom: -24px; left: -24px; }
.hud-card__label { font-size: 11px; }
.hud-card__row { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; }
.hud-card__ok { width: 8px; height: 8px; border-radius: 50%; background: var(--success); }
.hud-card__mono { font-size: 13px; color: var(--ink-60); }
.hud-card__phone { font-family: var(--font-mono); font-size: 18px; font-weight: 500; color: var(--ink); }
.hud-card__phone:hover { color: var(--blue); text-decoration: underline; text-decoration-color: var(--blue); }
.hud-card__ghost { font-size: 14px; color: var(--blue); }

.hero__trust {
	border-top: 1px solid var(--line);
	background: var(--bg);
}
.hero__trust-in {
	min-height: 56px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
	padding-top: 12px;
	padding-bottom: 12px;
}

/* ==========================================================================
   02 · КЛЮЧЕВЫЕ ЦИФРЫ (тёмно-синяя вставка)
   ========================================================================== */

.stats {
	background: linear-gradient(180deg, #003468 0%, #004C99 100%);
	padding: 80px 0 40px;
}
.stats__in {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
}
.stats__cell {
	padding: 0 40px;
	border-left: 1px solid rgba(255, 255, 255, .14);
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.stats__cell:first-child { border-left: 0; padding-left: 0; }
.stats__num {
	font-size: 56px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.02em;
	color: #fff;
}
.stats__plus { color: var(--red); }
.stats__label { color: rgba(255, 255, 255, .60); }
.stats__note {
	text-align: center;
	color: rgba(255, 255, 255, .50);
	margin-top: 48px;
}

/* ==========================================================================
   03 · ServiceRow (каталог направлений)
   ========================================================================== */

.svc-groups {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px 56px;
	align-items: start;
}
.svc-group { border-bottom: 1px solid var(--line); }
.svc-group__head {
	display: flex;
	align-items: baseline;
	gap: 16px;
	flex-wrap: wrap;
	padding-bottom: 16px;
}
.svc-group__note { width: 100%; }
.svc-group__name {
	font-family: var(--font-display);
	font-size: 24px;
	font-weight: 700;
	letter-spacing: -0.01em;
}
.svc-group__count { margin-left: auto; }
.svc-group__grid { display: flex; flex-direction: column; }

.svc-row { border-top: 1px solid var(--line); }
.svc-row__head {
	display: grid;
	grid-template-columns: 40px 1fr auto 24px;
	align-items: center;
	gap: 14px;
	width: 100%;
	padding: 18px 0;
	text-align: left;
	transition: background-color 250ms ease;
}
.svc-row__head:hover { background: var(--surface); }
.svc-row__head:hover .svc-row__name { transform: translateX(6px); }
.svc-row__head:hover .svc-row__arrow { color: var(--blue); }
.svc-row__num { font-size: 12px; }
.svc-row__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.svc-row__name {
	font-family: var(--font-display);
	font-size: 19px;
	font-weight: 600;
	letter-spacing: -0.01em;
	transition: transform 250ms ease;
}
.svc-row__desc { font-size: 13px; color: var(--ink-60); }
.svc-row__arrow { color: var(--ink-40); transition: color 250ms ease, transform 300ms ease; display: inline-flex; }
.svc-row__head[aria-expanded="true"] .svc-row__arrow { transform: rotate(180deg); color: var(--blue); }

.svc-row__panel {
	overflow: hidden;
	height: 0;
	transition: height 350ms ease-out;
}
.svc-row__panel-in {
	padding: 4px 0 24px 54px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
}
.svc-row__subs {
	display: grid;
	grid-template-columns: 1fr;
	gap: 8px;
	width: 100%;
}
.svc-row__sub { font-size: 14px; color: var(--ink); }
.svc-row__more { color: var(--blue); font-size: 14px; font-weight: 500; flex-shrink: 0; }

@media (max-width: 1023px) {
	.svc-groups { grid-template-columns: 1fr; gap: 40px; }
	.svc-row__head { grid-template-columns: 34px 1fr auto 24px; padding: 16px 0; }
	.svc-row__name { font-size: 18px; }
	.svc-row__panel-in { padding-left: 48px; }
}
@media (max-width: 640px) {
	.svc-group__name { font-size: 20px; }
	.svc-row__count { display: none; }
	.svc-row__head { grid-template-columns: 30px 1fr 24px; }
}

/* ==========================================================================
   04 · ФЕДЕРАЛЬНАЯ СЕТЬ — КАРТА (pinned)
   ========================================================================== */

.net__grid {
	display: grid;
	grid-template-columns: 5fr 7fr;
	gap: 48px;
	align-items: start;
}
.net__lead { font-size: 20px; line-height: 1.5; color: var(--ink-60); margin-bottom: 28px; }
.net__facts { margin-bottom: 36px; }
.net__facts li {
	position: relative;
	padding: 10px 0 10px 22px;
	font-size: 16px;
	border-bottom: 1px solid var(--line);
}
.net__facts li::before {
	content: "";
	position: absolute;
	left: 0; top: 18px;
	width: 6px; height: 6px;
	background: var(--blue);
}
.net__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.net__counter { color: var(--ink); }

.net__map {
	position: relative;
	aspect-ratio: 1000 / 560;
}
.net__map-base,
.net__map-relief,
.net__map-overlay {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}
.net__map-base svg { width: 100%; height: 100%; }
.net__map-relief { object-fit: fill; pointer-events: none; }
.net__map-overlay { overflow: visible; }
.net__arc { stroke: var(--blue); stroke-opacity: .4; stroke-width: 1; }
.net__dot { cursor: pointer; transition: opacity 300ms ease; }
.net__dot.is-dim { opacity: .3; }
.net__pt { fill: var(--blue); }
.net__hit { fill: transparent; }
.net__dot--capital .net__pt { fill: var(--red); }
.net__pulse {
	fill: none;
	stroke: var(--red);
	stroke-width: 1;
	opacity: 0;
	transform-origin: center;
	transform-box: fill-box;
}
.net__dot:hover .net__pt { stroke: var(--blue-dark); stroke-width: 4; stroke-opacity: .25; }
.net__dot--capital:hover .net__pt { stroke: var(--red); }

.net__tooltip {
	position: absolute;
	z-index: 5;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-float);
	padding: 10px 14px;
	display: flex;
	flex-direction: column;
	gap: 2px;
	pointer-events: none;
	opacity: 0;
	transform: translate(-50%, -100%) translateY(-8px);
	transition: opacity 200ms ease;
	white-space: nowrap;
}
.net__tooltip.is-visible { opacity: 1; }
.net__tooltip-city { font-size: 14px; font-weight: 600; }

/* ==========================================================================
   05 · ПРОТОКОЛ (ProcessCircle)
   ========================================================================== */

.process {
	position: relative;
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 24px;
}
.process__line {
	position: absolute;
	top: 36px;
	left: 36px;
	right: 36px;
	height: 1px;
	background: var(--line-strong);
}
.process__line-fill {
	display: block;
	height: 100%;
	width: 100%;
	background: var(--blue);
	transform: scaleX(0);
	transform-origin: left;
}
.process__step { position: relative; display: flex; flex-direction: column; gap: 24px; }
.process__circle {
	position: relative;
	width: 72px; height: 72px;
	border: 1px solid var(--line-strong);
	border-radius: 50%;
	background: var(--surface);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: border-color 300ms ease;
	z-index: 1;
}
.process__circle-num { font-size: 20px; font-weight: 500; color: var(--ink-60); transition: color 300ms ease; }
.process__circle-dot {
	position: absolute;
	width: 8px; height: 8px;
	border-radius: 50%;
	background: var(--blue);
	opacity: 0;
	transform: scale(0);
	transition: opacity 300ms ease, transform 300ms var(--ease-out);
}
.process__step.is-active .process__circle { border-color: var(--blue); }
.process__step.is-active .process__circle-num { color: var(--blue); }
.process__step.is-active .process__circle-dot { opacity: 1; transform: scale(1); }
.process__card {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	height: 100%;
	transition: border-color 250ms ease;
}
.process__card:hover { border-color: var(--blue); }
.process__name { font-family: var(--font-display); font-size: 20px; font-weight: 600; }
.process__desc { font-size: 14px; line-height: 1.5; color: var(--ink-60); flex: 1; }
.process__time { color: var(--blue); }

/* ==========================================================================
   06 · ОБЪЕКТЫ И ДО/ПОСЛЕ
   ========================================================================== */

.objects {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
	margin-bottom: 48px;
}
.object-card {
	position: relative;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	aspect-ratio: 4 / 3;
	background: var(--bg-alt);
}
.object-card__img {
	width: 100%; height: 100%;
	object-fit: cover;
	transition: transform 400ms ease;
}
.object-card:hover .object-card__img { transform: scale(1.03); }
.object-card__plate {
	position: absolute;
	left: 16px; right: 16px; bottom: 16px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 14px 18px;
	display: flex;
	flex-direction: column;
	gap: 2px;
	transition: transform 300ms ease;
}
.object-card:hover .object-card__plate { transform: translateY(-4px); }
.object-card__cat { font-size: 11px; color: var(--ink); }
.object-card__stat { font-size: 12px; color: var(--ink-60); }
.object-card__more {
	font-size: 13px;
	color: var(--blue);
	opacity: 0;
	max-height: 0;
	overflow: hidden;
	transition: opacity 300ms ease, max-height 300ms ease;
}
.object-card:hover .object-card__more { opacity: 1; max-height: 24px; }

/* До/после-слайдер */
.ba__frame {
	position: relative;
	aspect-ratio: 16 / 6;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--bg-alt);
	user-select: none;
	touch-action: pan-y;
}
.ba__after, .ba__before {
	position: absolute;
	inset: 0;
	width: 100%; height: 100%;
	object-fit: cover;
}
.ba__before { filter: saturate(.55) brightness(.82) contrast(.92); }
.ba__before-wrap {
	position: absolute;
	inset: 0;
	overflow: hidden;
	width: 50%;
}
.ba__before-wrap .ba__before { width: auto; height: 100%; min-width: 100%; }
.ba__before-wrap img { width: 100vw; max-width: none; }
.ba__handle {
	position: absolute;
	top: 0; bottom: 0;
	left: 50%;
	width: 2px;
	background: var(--blue);
	transform: translateX(-1px);
	cursor: ew-resize;
}
.ba__handle-circle {
	position: absolute;
	top: 50%; left: 50%;
	transform: translate(-50%, -50%);
	width: 40px; height: 40px;
	border-radius: 50%;
	background: var(--surface);
	border: 1px solid var(--blue);
	color: var(--blue);
	display: flex;
	align-items: center;
	justify-content: center;
}
.ba__tag {
	position: absolute;
	top: 16px;
	background: rgba(255, 255, 255, .92);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 6px 10px;
	font-size: 11px;
	color: var(--ink);
}
.ba__tag--before { left: 16px; }
.ba__tag--after { right: 16px; }

/* ==========================================================================
   07 · ДОКУМЕНТЫ
   ========================================================================== */

.docs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: start;
}
.docs__photo {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--surface);
}
.docs__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.docs__list { border-bottom: 1px solid var(--line); }
.docs__row {
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 20px 12px;
	border-top: 1px solid var(--line);
	transition: background-color 250ms ease;
}
.docs__row:hover { background: var(--surface); }
.docs__row:hover .docs__icon { color: var(--blue); }
.docs__icon { color: var(--ink-40); flex-shrink: 0; transition: color 250ms ease; }
.docs__row-body { display: flex; flex-direction: column; gap: 2px; }
.docs__name { font-family: var(--font-display); font-size: 20px; font-weight: 600; }
.docs__meta { font-size: 11px; }

/* ==========================================================================
   08 · КАРТА УГРОЗ
   ========================================================================== */

.threat {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 48px;
}
.threat__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
	margin-bottom: 40px;
}
.threat__select-wrap { display: flex; align-items: center; gap: 12px; }
.threat__select {
	height: 44px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
	padding: 0 36px 0 14px;
	font-size: 15px;
}
.threat__select:focus { border-color: var(--blue); outline: none; }
.threat__chips { display: flex; gap: 8px; flex-wrap: wrap; }
.threat__grid {
	display: grid;
	grid-template-columns: 5fr 7fr;
	gap: 48px;
}
.threat__indicators { display: flex; flex-direction: column; gap: 16px; }
.threat__card {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 20px 24px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.threat__name { color: var(--ink); }
.threat__scale { display: flex; gap: 4px; }
.threat__seg {
	height: 8px;
	flex: 1;
	background: var(--bg-alt);
	border: 1px solid var(--line);
	border-radius: 1px;
	transform-origin: left;
}
.threat__seg.is-on { background: var(--blue); border-color: var(--blue); }
.threat__seg.is-peak { background: var(--red); border-color: var(--red); }
.threat__status { color: var(--ink); }
.threat__hint { font-size: 14px; color: var(--ink-60); }

.threat__chart-wrap { position: relative; }
.threat__chart-label { display: block; margin-bottom: 16px; }
.threat__chart {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: 8px;
	align-items: end;
	height: 220px;
}
.threat__col { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 8px; height: 100%; }
.threat__bar {
	display: block;
	width: 100%;
	background: var(--blue-tint);
	border-radius: 1px 1px 0 0;
	transform-origin: bottom;
	position: relative;
	transition: background-color 200ms ease;
}
.threat__col.is-current .threat__bar { background: var(--blue); }
.threat__col.is-peak .threat__bar { background: var(--blue); }
.threat__col.is-peak .threat__bar::after {
	content: "";
	position: absolute;
	top: -7px; left: 50%;
	transform: translateX(-50%);
	width: 5px; height: 5px;
	border-radius: 50%;
	background: var(--red);
}
.threat__month { font-size: 10px; }
.threat__tooltip {
	position: absolute;
	top: 0;
	background: var(--ink);
	color: #fff;
	border-radius: var(--radius);
	padding: 6px 10px;
	font-size: 11px;
	pointer-events: none;
	opacity: 0;
	transform: translate(-50%, -100%);
	transition: opacity 150ms ease;
	white-space: nowrap;
	z-index: 3;
}
.threat__tooltip.is-visible { opacity: 1; }

/* ==========================================================================
   09 · ОДНА СТРАНА
   ========================================================================== */

.geo__cloud {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 20px;
}
a.geo__chip { color: var(--ink); text-transform: none; font-family: var(--font-body); font-size: 14px; letter-spacing: 0; padding: 8px 16px; }
a.geo__chip:hover { color: var(--blue); }
.geo__meta { margin-bottom: 56px; }
.geo__facts {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}
.geo__fact {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
	padding: 32px;
}
.geo__fact-name { font-family: var(--font-display); font-size: 22px; font-weight: 600; margin-bottom: 12px; }
.geo__fact-desc { font-size: 15px; color: var(--ink-60); }

/* ==========================================================================
   10 · FAQ (Accordion)
   ========================================================================== */

.faq { max-width: 880px; margin: 0 auto; border-bottom: 1px solid var(--line); }
.acc { border-top: 1px solid var(--line); }
.acc__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	width: 100%;
	text-align: left;
	padding: 22px 0;
}
.acc__title { font-family: var(--font-display); font-size: 20px; font-weight: 600; }
.acc__plus {
	position: relative;
	width: 18px; height: 18px;
	flex-shrink: 0;
	transition: transform 300ms ease;
}
.acc__plus::before, .acc__plus::after {
	content: "";
	position: absolute;
	top: 50%; left: 0;
	width: 100%; height: 1.5px;
	background: var(--ink);
	transform: translateY(-50%);
}
.acc__plus::after { transform: translateY(-50%) rotate(90deg); }
.acc__head[aria-expanded="true"] .acc__plus { transform: rotate(45deg); }
.acc__head[aria-expanded="true"] .acc__plus::before,
.acc__head[aria-expanded="true"] .acc__plus::after { background: var(--blue); }
.acc__panel { overflow: hidden; height: 0; transition: height 350ms ease-out; }
.acc__panel-in { padding: 0 64px 26px 0; }
.acc__panel-in p { color: var(--ink-60); font-size: 16px; line-height: 1.6; }

/* ==========================================================================
   11 · ФОРМЫ / CTA
   ========================================================================== */

.cta {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 64px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 64px;
}
.cta__label { display: block; margin-bottom: 16px; }
.cta__title {
	font-family: var(--font-display);
	font-size: 28px;
	font-weight: 600;
	letter-spacing: -0.01em;
	margin-bottom: 16px;
}
.cta__lead { font-size: 17px; line-height: 1.5; color: var(--ink-60); margin-bottom: 32px; max-width: 420px; }
.cta__phone { display: block; font-size: 24px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.cta__phone-note { color: var(--ink-40); }

.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form__label { font-size: 13px; font-weight: 500; color: var(--ink-60); }
.form__input {
	height: 52px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 0 16px;
	font-size: 15px;
	transition: border-color 200ms ease;
	width: 100%;
}
.form__input::placeholder { color: var(--ink-40); }
.form__input:focus { outline: none; border-color: var(--blue); }
.form__input.is-error { border-color: var(--red); }
.form__select {
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%231F1F1C' stroke-opacity='.6' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
	padding-right: 40px;
}
.form__error { font-size: 13px; color: var(--red); min-height: 0; display: none; }
.form__error.is-visible { display: block; }
.form__hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
}
.form__consent {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 4px 0 4px;
	cursor: pointer;
}
.form__checkbox { position: absolute; opacity: 0; width: 0; height: 0; }
.form__checkbox-box {
	flex-shrink: 0;
	width: 20px; height: 20px;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius);
	background: var(--surface);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background-color 200ms ease, border-color 200ms ease;
	margin-top: 2px;
}
.form__checkbox-box::after {
	content: "";
	width: 10px; height: 6px;
	border-left: 2px solid #fff;
	border-bottom: 2px solid #fff;
	transform: rotate(-45deg) translateY(-1px);
	opacity: 0;
	transition: opacity 150ms ease;
}
.form__checkbox:checked + .form__checkbox-box { background: var(--blue); border-color: var(--blue); }
.form__checkbox:checked + .form__checkbox-box::after { opacity: 1; }
.form__checkbox:focus-visible + .form__checkbox-box { outline: 2px solid var(--blue); outline-offset: 2px; }
.form__consent-text { font-size: 14px; color: var(--ink-60); line-height: 1.5; }
.form__submit { width: 100%; margin-top: 12px; }
.form__submit.is-loading { opacity: .7; pointer-events: none; }

.cta__success {
	position: absolute;
	inset: 0;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 20px;
	padding: 48px;
	text-align: center;
	z-index: 2;
}
.cta__success[hidden] { display: none; }
.cta__success-text { font-family: var(--font-display); font-size: 22px; font-weight: 600; }

/* ==========================================================================
   12 · MEGA-FOOTER
   ========================================================================== */

.footer {
	background: var(--ink);
	color: rgba(255, 255, 255, .60);
}
.footer__in {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 48px;
	padding-top: 80px;
	padding-bottom: 64px;
}
.footer__logo { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.footer__logo-name { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: #fff; }
.footer__logo-rus { color: var(--blue); }
.footer__tag { font-size: 15px; line-height: 1.6; max-width: 320px; margin-bottom: 20px; }
.footer__badge { color: rgba(255, 255, 255, .40); }

.footer__head { color: rgba(255, 255, 255, .40); margin-bottom: 18px; }
.footer__head--mt { margin-top: 32px; }
.footer__menu li { margin-bottom: 10px; }
.footer__link { color: rgba(255, 255, 255, .60); font-size: 15px; }
.footer__link:hover { color: #fff; }
.footer__link .roll__row--blue { color: var(--blue); }
.footer__link--blue { color: var(--blue); }
.footer__link--dim { font-size: 13px; color: rgba(255, 255, 255, .40); }

.footer__contacts { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.footer__phone { font-size: 20px; font-weight: 700; color: #fff; }
.footer__addr { font-size: 15px; }
.footer__hours { color: rgba(255, 255, 255, .40); }
.footer__cta { align-self: flex-start; }

.footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
	padding-top: 24px;
	padding-bottom: 28px;
	border-top: 1px solid rgba(255, 255, 255, .12);
}
.footer__copy { font-size: 13px; color: rgba(255, 255, 255, .40); }

/* ==========================================================================
   ШАБЛОН УСЛУГИ
   ========================================================================== */

/* 01 · Hero услуги */
.svc-hero {
	background:
		radial-gradient(ellipse at 70% 20%, #EAF2FB 0%, transparent 60%),
		url("../img/topo-texture.svg") repeat;
	background-color: var(--bg);
	padding: 56px 0 72px;
	border-bottom: 1px solid var(--line);
}
.svc-hero__grid {
	display: grid;
	grid-template-columns: 8fr 4fr;
	gap: 48px;
	align-items: start;
}
.breadcrumbs {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	font-size: 14px;
	margin-bottom: 32px;
}
.breadcrumbs__link { color: var(--ink-60); }
.breadcrumbs__link:hover { color: var(--blue); }
.breadcrumbs__sep { color: var(--ink-40); }
.breadcrumbs__current { color: var(--ink); }
.svc-hero__hud { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; color: var(--ink-40); }
.svc-hero__title {
	font-family: var(--font-display);
	font-size: 56px;
	font-weight: 700;
	line-height: 1.06;
	letter-spacing: -0.02em;
	margin-bottom: 12px;
}
.svc-hero__sub { margin-bottom: 24px; }
.svc-hero__lead {
	font-size: 20px;
	line-height: 1.5;
	color: var(--ink-60);
	max-width: 560px;
	margin-bottom: 32px;
}
.svc-hero__cta { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.svc-hero__chips { display: flex; gap: 10px; flex-wrap: wrap; }

.svc-card {
	position: sticky;
	top: 96px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-float);
	padding: 32px;
}
.svc-card__title { font-family: var(--font-display); font-size: 20px; font-weight: 600; margin-bottom: 14px; }
.svc-card__phone { display: block; font-size: 18px; font-weight: 500; color: var(--ink); }
.svc-card__phone-note { display: block; margin-bottom: 20px; }
.svc-card__note { display: block; font-size: 13px; color: var(--ink-60); margin-top: 12px; line-height: 1.5; }
.svc-card__success { display: flex; flex-direction: column; gap: 12px; align-items: center; text-align: center; padding: 16px 0; font-size: 14px; color: var(--ink-60); }
.svc-card__success[hidden] { display: none; }
.svc-card__foot { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 16px; }

/* 02 · Панель фактов */
.svc-facts { background: var(--surface); border-bottom: 1px solid var(--line); }
.svc-facts__in { display: grid; grid-template-columns: repeat(5, 1fr); }
.svc-facts__cell {
	padding: 24px 24px 24px;
	border-left: 1px solid var(--line);
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.svc-facts__cell:first-child { border-left: 0; }
.svc-facts__val { font-size: 20px; font-weight: 700; }

/* 03 · Таблица цен */
.price-table-wrap {
	overflow-x: auto;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
	-webkit-overflow-scrolling: touch;
}
.price-table {
	width: 100%;
	min-width: 720px;
	border-collapse: collapse;
}
.price-table th, .price-table td {
	padding: 16px 20px;
	text-align: left;
	border-bottom: 1px solid var(--line);
	font-size: 15px;
}
.price-table th {
	font-family: var(--font-body);
	font-weight: 600;
	background: var(--bg-alt);
}
.price-table tbody tr:hover { background: var(--bg-alt); }
.price-table tbody tr:last-child td { border-bottom: 0; }
.price-table td:first-child { font-weight: 600; }
.price-table .mono { font-size: 15px; }
.price-table__rec { background: var(--blue-tint); }
th.price-table__rec { background: var(--blue-tint); }
.price-note { margin-top: 16px; font-size: 14px; color: var(--ink-60); }

/* 04 · Типографская зона (контент услуги) */
.content-zone { font-size: 16px; line-height: 1.6; color: var(--ink-85); }
.content-zone > * + * { margin-top: 1em; }
.content-zone h2 {
	font-family: var(--font-display);
	font-size: 28px;
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -0.01em;
	color: var(--ink);
	margin-top: 56px;
	padding-left: 16px;
	border-left: 4px solid var(--blue);
}
.content-zone h3 {
	font-family: var(--font-display);
	font-size: 22px;
	font-weight: 600;
	color: var(--ink);
	margin-top: 40px;
}
.content-zone p { max-width: 720px; }
.content-zone ul, .content-zone ol { max-width: 720px; }
.content-zone ul li, .content-zone ol li { position: relative; padding-left: 22px; margin-bottom: 8px; }
.content-zone ul li::before {
	content: "";
	position: absolute;
	left: 0; top: 10px;
	width: 6px; height: 6px;
	background: var(--blue);
}
.content-zone ol { counter-reset: cz-ol; }
.content-zone ol li::before {
	counter-increment: cz-ol;
	content: counter(cz-ol) ".";
	position: absolute;
	left: 0;
	font-family: var(--font-mono);
	font-size: 13px;
	color: var(--blue);
}
.content-zone table {
	width: 100%;
	border-collapse: collapse;
	border: 1px solid var(--line);
	background: var(--surface);
	font-size: 15px;
}
.content-zone th, .content-zone td {
	padding: 12px 16px;
	border: 1px solid var(--line);
	text-align: left;
}
.content-zone th { background: var(--bg-alt); font-weight: 600; }
.content-zone td[data-num], .content-zone td.mono { font-family: var(--font-mono); }
.content-zone img {
	border: 1px solid var(--line);
	border-radius: var(--radius);
}
.content-zone figure { max-width: 720px; }
.content-zone figcaption {
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--ink-40);
	margin-top: 8px;
}
.content-zone blockquote,
.dez-quote {
	border-left: 3px solid var(--blue);
	background: var(--surface);
	padding: 32px;
	margin: 40px 0;
}
.content-zone blockquote p, .dez-quote p {
	font-family: var(--font-display);
	font-size: 22px;
	font-weight: 500;
	line-height: 1.4;
	color: var(--ink);
}
.dez-quote__cite { display: block; margin-top: 16px; font-style: normal; }
/* Врезка «Важно» (класс для редактора) */
.content-zone .warning,
.content-zone .vzuh {
	border-left: 3px solid var(--red);
	background: var(--red-tint);
	padding: 20px 24px;
	max-width: 720px;
}
.content-zone .warning strong, .content-zone .vzuh strong { color: var(--red); }
/* Чек-лист в контенте */
.content-zone .checklist {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 24px;
	max-width: 720px;
}
.content-zone__intro { font-size: 18px; color: var(--ink-85); }
.content-zone--outro { margin-bottom: 56px; }

/* 07 · Препараты и безопасность */
.safety {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: start;
}
.safety__list { border-bottom: 1px solid var(--line); margin-top: 24px; }
.safety__row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 24px;
	padding: 16px 0;
	border-top: 1px solid var(--line);
}
.safety__name { font-family: var(--font-display); font-size: 18px; font-weight: 600; }
.safety__meta { font-size: 11px; text-align: right; }
.safety__photo {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--surface);
}
.safety__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.safety__caption { padding: 10px 14px; border-top: 1px solid var(--line); }
.checklist {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 24px;
	margin-top: 24px;
}
.checklist__item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 8px 0;
	font-size: 15px;
}
.checklist__box {
	flex-shrink: 0;
	width: 20px; height: 20px;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 2px;
	background: var(--surface);
}

/* 08 · Галерея */
.dez-gallery {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}
.dez-gallery__item {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--bg-alt);
}
.dez-gallery__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 400ms ease; }
.dez-gallery__item:hover .dez-gallery__img { transform: scale(1.03); }

/* 09 · Гарантия */
.guarantee {
	background: var(--bg-alt);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 48px;
	display: flex;
	align-items: center;
	gap: 64px;
}
.guarantee__num {
	font-size: 64px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.02em;
	color: var(--blue);
	display: block;
}
.guarantee__label { display: block; margin-top: 8px; }
.guarantee__list { display: flex; flex-direction: column; gap: 12px; }
.guarantee__list li {
	position: relative;
	padding-left: 22px;
	font-size: 14px;
	color: var(--ink-60);
}
.guarantee__list li::before {
	content: "";
	position: absolute;
	left: 0; top: 8px;
	width: 6px; height: 6px;
	background: var(--blue);
}

/* 11 · Похожие услуги */
.related__title { margin-bottom: 32px; }
.related { border-bottom: 1px solid var(--line); }
.related__row {
	display: grid;
	grid-template-columns: 40px 1fr auto 32px;
	align-items: center;
	gap: 20px;
	padding: 20px 0;
	border-top: 1px solid var(--line);
	color: var(--ink);
	transition: background-color 250ms ease;
}
.related__row:hover { background: var(--surface); }
.related__row:hover .related__arrow { color: var(--blue); transform: translateX(4px); }
.related__name { font-family: var(--font-display); font-size: 20px; font-weight: 600; }
.related__price { font-size: 14px; color: var(--ink-60); }
.related__arrow { color: var(--ink-40); transition: color 250ms ease, transform 250ms ease; }

/* ==========================================================================
   Lightbox (галерея услуги)
   ========================================================================== */

.lightbox {
	position: fixed;
	inset: 0;
	z-index: 200;
	background: rgba(31, 31, 28, .85);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 48px;
	opacity: 0;
	visibility: hidden;
	transition: opacity 300ms ease, visibility 300ms;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__img {
	max-width: 100%;
	max-height: 80vh;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
}
.lightbox__close {
	position: absolute;
	top: 24px; right: 24px;
	color: #fff;
	font-size: 32px;
	line-height: 1;
	padding: 8px;
}
.lightbox__prev, .lightbox__next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	color: #fff;
	font-size: 40px;
	padding: 16px;
}
.lightbox__prev { left: 12px; }
.lightbox__next { right: 12px; }

/* ==========================================================================
   АДАПТИВ
   ========================================================================== */

@media (max-width: 1200px) {
	.navbar__phone { display: none; }
	.hero__h1 { font-size: 52px; }
	.svc-hero__title { font-size: 44px; }
	.process { grid-template-columns: repeat(5, 1fr); gap: 16px; }
	.process__card { padding: 18px; }
}

@media (max-width: 1023px) {
	.top-utility { display: none; }
	.navbar__nav { display: none; }
	.navbar__burger {
		display: inline-flex;
		flex-direction: column;
		justify-content: center;
		gap: 5px;
		width: 40px; height: 40px;
		align-items: center;
	}
	.navbar__burger span {
		display: block;
		width: 22px; height: 1.5px;
		background: var(--ink);
		transition: transform 300ms ease, opacity 200ms ease;
	}
	.navbar__burger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
	.navbar__burger.is-open span:nth-child(2) { opacity: 0; }
	.navbar__burger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
	.mega-menu { display: none; }

	.hero__in { grid-template-columns: 1fr; min-height: 0; padding-top: 48px; gap: 56px; }
	.hero__right { align-self: start; }
	.hero__art { margin: 0 auto; max-width: 480px; }
	.hud-card--lead { left: 0; bottom: -16px; }

	.stats__in { grid-template-columns: repeat(2, 1fr); gap: 40px 0; }
	.stats__cell:nth-child(3) { border-left: 0; padding-left: 0; }
	.stats__num { font-size: 40px; }

	.net__grid { grid-template-columns: 1fr; }
	.threat__grid { grid-template-columns: 1fr; }
	.docs { grid-template-columns: 1fr; }
	.safety { grid-template-columns: 1fr; }
	.cta { grid-template-columns: 1fr; gap: 48px; padding: 40px; }
	.footer__in { grid-template-columns: 1fr 1fr; }
	.svc-hero__grid { grid-template-columns: 1fr; }
	.svc-card { position: static; }
	.svc-facts__in { grid-template-columns: repeat(2, 1fr); }
	.svc-facts__cell { border-left: 0; border-top: 1px solid var(--line); }
	.svc-facts__cell:nth-child(-n+2) { border-top: 0; }
	.svc-facts__cell:last-child { grid-column: 1 / -1; }

	/* Процесс — вертикальный */
	.process { grid-template-columns: 1fr; gap: 32px; padding-left: 24px; }
	.process__line { top: 0; bottom: 0; left: 0; right: auto; width: 1px; height: auto; }
	.process__line-fill { transform: scaleY(0); transform-origin: top; height: 100%; width: 100%; }
	.process__step { flex-direction: row; align-items: flex-start; gap: 24px; }
	.process__circle { width: 48px; height: 48px; flex-shrink: 0; }
	.process__circle-num { font-size: 14px; }
	.process__card { flex: 1; }
}

@media (max-width: 640px) {
	.container { padding: 0 20px; }
	.section { padding: 88px 0; }
	.sec-head { margin-bottom: 36px; }
	.sec-head__title { font-size: 32px; }
	.sec-head__ghost { display: none; }
	.mono-label { font-size: 11px; }

	.navbar__cta { display: none; }

	.hero__h1 { font-size: 40px; }
	.hero__lead { font-size: 17px; }
	.hero__cta .btn { width: 100%; }
	.hero__trust-in { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }

	.svc-row__head { grid-template-columns: 30px 1fr; gap: 12px; }
	.svc-row__desc { display: none; }
	.svc-row__arrow { display: none; }
	.svc-row__name { font-size: 18px; }
	.svc-row__panel-in { padding-left: 42px; flex-direction: column; align-items: flex-start; gap: 16px; }
	.svc-row__subs { grid-template-columns: 1fr; }

	.net__chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 8px; -webkit-overflow-scrolling: touch; }
	.net__chips .chip { flex-shrink: 0; }

	.objects { grid-template-columns: 1fr; }
	.ba__frame { aspect-ratio: 4 / 3; }

	.threat { padding: 24px; }
	.threat__chart { height: 160px; gap: 4px; }

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

	.form__row { grid-template-columns: 1fr; gap: 0; }
	.cta { padding: 24px; gap: 32px; }

	.footer__in { grid-template-columns: 1fr; gap: 32px; padding-top: 56px; }

	.svc-hero__title { font-size: 36px; }
	.svc-facts__val { font-size: 18px; }
	.dez-gallery { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.guarantee { flex-direction: column; align-items: flex-start; gap: 32px; padding: 32px; }
	.guarantee__num { font-size: 40px; }
	.related__row { grid-template-columns: 32px 1fr auto; }
	.related__arrow { display: none; }

	.acc__title { font-size: 17px; }
	.acc__panel-in { padding-right: 0; }

	.mobile-drawer__link { font-size: 28px; }
}

/* 390×844 — контрольная точка: без горизонтального скролла */
@media (max-width: 390px) {
	html, body { overflow-x: hidden; }
	.hero__stats .hero__stat { padding: 16px 12px 4px; }
	.stats__cell { padding: 0 20px; }
	.stats__cell:nth-child(even) { padding-left: 20px; }
	.price-table { min-width: 640px; }
}

/* ==========================================================================
   prefers-reduced-motion: полный fallback
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
		scroll-behavior: auto !important;
	}
	[data-reveal], [data-reveal-fast] { opacity: 1 !important; transform: none !important; }
	.split-word { transform: none !important; }
	.process__line-fill { transform: none !important; }
	.net__pulse { display: none; }
	.threat__bar, .threat__seg { transform: none !important; }
}
