/* ==========================================================================
   ЭнергоПромТ — дизайн-система
   Dark Premium Industrial Tech. Mobile-first.
   Фирменный мотив — измерительная шкала (деления прибора).
   ========================================================================== */

/* ---------- 1. Токены ---------- */
:root {
	--c-bg: #0B1018;
	--c-bg2: #111A27;
	--c-card: #172231;
	--c-accent: #3285FF;
	--c-ice: #68C7FF;
	--c-text: #F5F7FB;
	--c-muted: #95A6BC;
	--c-line: rgba(149, 166, 188, .18);
	--c-line-2: color-mix(in srgb, var(--c-muted) 34%, transparent);
	--c-accent-soft: color-mix(in srgb, var(--c-accent) 16%, transparent);
	--c-ok: #3ccf91;
	--c-err: #ff6b6b;
	--metal: linear-gradient(135deg, #d8e3f2 0%, #8fa3bd 38%, #e9f0fa 52%, #7f93ad 70%, #c7d4e6 100%);

	--ff: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--fs-base: 16px;
	--fw-head: 800;
	--h-scale: 1;

	--wrap: 1440px;
	--gut: clamp(16px, 4.2vw, 64px);
	--sec: clamp(80px, 11vw, 168px);
	--r-sm: 4px;
	--r-md: 8px;
	--hdr-h: 64px;
	--logo-h: 36px;
	--logo-h-m: 28px;
	--hdr-bg: rgba(11, 16, 24, .78);
	--hdr-blur: 16px;
	--ease: cubic-bezier(.2, .7, .1, 1);
	--ease-io: cubic-bezier(.65, 0, .35, 1);
}
@media (min-width: 1024px) { :root { --hdr-h: 80px; } }

/* ---------- 2. База ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr-h) + 16px); }
body {
	margin: 0;
	background: var(--c-bg);
	color: var(--c-text);
	font-family: var(--ff);
	font-size: var(--fs-base);
	line-height: 1.65;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--c-ice); }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: var(--fw-head); line-height: 1.08; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
dl, dd { margin: 0; }
figure { margin: 0; }
::selection { background: var(--c-accent); color: #fff; }
:focus-visible { outline: 2px solid var(--c-ice); outline-offset: 3px; border-radius: 2px; }
[hidden] { display: none !important; }
.sr-only { 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-link { position: fixed; left: 16px; top: -60px; z-index: 1000; background: var(--c-accent); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 16px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
.site-main { display: block; outline: none; }
body:not(.has-overlay-header) .site-main { padding-top: var(--hdr-h); }

.h2 { font-size: clamp(1.75rem, 3vw, 2.6rem); }
.h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 700; }
.muted { color: var(--c-muted); }
.lead { font-size: clamp(1.125rem, 1.4vw, 1.3rem); line-height: 1.55; color: var(--c-text); font-weight: 500; }
.i { width: 1.25em; height: 1.25em; flex: none; }
.i.is-flip { transform: scaleX(-1); }

.admin-hint { border: 1px dashed var(--c-accent); color: var(--c-ice); padding: 12px 16px; border-radius: var(--r-sm); font-size: .875rem; background: var(--c-accent-soft); }
.admin-flag { display: block; margin-top: 4px; font-size: .75rem; color: #ffcf6b; }

/* ---------- 3. Фирменная шкала и сетки ---------- */
.scale {
	height: 14px;
	width: 100%;
	background-image:
		linear-gradient(to right, var(--c-line-2) 1px, transparent 1px),
		linear-gradient(to right, var(--c-line) 1px, transparent 1px);
	background-size: 80px 14px, 8px 6px;
	background-repeat: repeat-x;
	background-position: 0 0, 0 0;
	transform-origin: left center;
	transition: transform 1.4s var(--ease);
}
.js .scale[data-draw]:not(.is-in) { transform: scaleX(0); }

.eng-grid {
	position: absolute; inset: 0; pointer-events: none; z-index: 0;
	background-image:
		linear-gradient(var(--c-line) 1px, transparent 1px),
		linear-gradient(90deg, var(--c-line) 1px, transparent 1px);
	background-size: 96px 96px;
	background-position: center top;
	mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 0%, transparent 72%);
	-webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 0%, transparent 72%);
	opacity: .55;
	animation: grid-drift 40s linear infinite;
}
.eng-grid--fine { background-size: 32px 32px; opacity: .35; mask-image: radial-gradient(ellipse 60% 70% at 20% 60%, #000, transparent 70%); -webkit-mask-image: radial-gradient(ellipse 60% 70% at 20% 60%, #000, transparent 70%); }
@keyframes grid-drift { to { background-position: center 96px; } }

/* ---------- 4. Кнопки, ссылки, поля ---------- */
.btn {
	--b-bg: transparent; --b-c: var(--c-text); --b-bd: var(--c-line-2);
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 48px; padding: 0 22px;
	border: 1px solid var(--b-bd); border-radius: var(--r-sm);
	background: var(--b-bg); color: var(--b-c);
	font-weight: 600; font-size: .9375rem; letter-spacing: .005em; line-height: 1.2; text-align: center;
	text-decoration: none; cursor: pointer; position: relative; overflow: hidden; isolation: isolate;
	transition: background-color .25s, border-color .25s, color .25s, transform .35s var(--ease);
	-webkit-tap-highlight-color: transparent;
}
.btn > span { position: relative; z-index: 1; }
.btn--primary { --b-bg: var(--c-accent); --b-c: #fff; --b-bd: var(--c-accent); }
.btn--primary::after {
	content: ""; position: absolute; inset: 0; z-index: 0;
	background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%);
	transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn--primary:hover { --b-bg: color-mix(in srgb, var(--c-accent) 88%, #fff); color: #fff; }
.btn--primary:hover::after { transform: translateX(120%); }
.btn--ghost:hover { --b-bd: var(--c-ice); color: var(--c-text); background: rgba(104,199,255,.06); }
.btn--text { border: 0; color: var(--c-muted); }
.btn--text:hover { color: var(--c-text); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: .875rem; }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn .i { width: 18px; height: 18px; position: relative; z-index: 1; }
.btn:disabled { opacity: .6; cursor: progress; }

.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none; color: var(--c-text); }
.link-arrow .i { transition: transform .3s var(--ease); color: var(--c-accent); }
.link-arrow:hover .i { transform: translateX(5px); }

.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r-sm); border: 1px solid var(--c-line); background: transparent; color: var(--c-muted); cursor: pointer; }
.icon-btn:hover, .icon-btn.is-active { color: var(--c-text); border-color: var(--c-line-2); background: var(--c-bg2); }
.icon-btn .i { width: 20px; height: 20px; }

.input {
	width: 100%; min-height: 50px; padding: 12px 14px;
	background: rgba(11, 16, 24, .55); color: var(--c-text);
	border: 1px solid var(--c-line-2); border-radius: var(--r-sm);
	font: inherit; font-size: 1rem; line-height: 1.4;
	transition: border-color .2s, background-color .2s, box-shadow .2s;
	-webkit-appearance: none; appearance: none;
}
.input::placeholder { color: color-mix(in srgb, var(--c-muted) 70%, transparent); }
.input:hover { border-color: var(--c-muted); }
.input:focus { outline: none; border-color: var(--c-accent); box-shadow: 0 0 0 3px var(--c-accent-soft); background: rgba(11,16,24,.8); }
.input[aria-invalid="true"] { border-color: var(--c-err); }
textarea.input { resize: vertical; min-height: 96px; }
select.input { padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2395A6BC' stroke-width='1.6'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; }
.input--sm { min-height: 40px; padding: 8px 12px; font-size: .875rem; }
input[type="date"].input, input[type="time"].input { color-scheme: dark; }

.check { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-size: .875rem; line-height: 1.5; color: var(--c-muted); position: relative; }
.check input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; cursor: pointer; }
.check__box { flex: none; width: 22px; height: 22px; border: 1px solid var(--c-line-2); border-radius: 3px; display: grid; place-items: center; transition: background .2s, border-color .2s; margin-top: 1px; }
.check__box .i { width: 16px; height: 16px; opacity: 0; transform: scale(.6); transition: .2s var(--ease); color: #fff; }
.check input:checked + .check__box { background: var(--c-accent); border-color: var(--c-accent); }
.check input:checked + .check__box .i { opacity: 1; transform: none; }
.check input:focus-visible + .check__box { outline: 2px solid var(--c-ice); outline-offset: 2px; }
.check a { color: var(--c-text); }
.check--sm { font-size: .875rem; align-items: center; padding: 5px 0; }
.check--sm .check__box { width: 18px; height: 18px; margin: 0; }
.check--sm input { width: 18px; height: 18px; }
.check__text { flex: 1; }
.check__count { color: color-mix(in srgb, var(--c-muted) 70%, transparent); font-size: .8125rem; font-variant-numeric: tabular-nums; }
.check--sm:hover { color: var(--c-text); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px; border: 1px solid var(--c-line-2); border-radius: 40px; font-size: .875rem; color: var(--c-muted); transition: .2s; line-height: 1.25; }
.chip input:checked + span { background: var(--c-accent-soft); border-color: var(--c-accent); color: var(--c-text); }
.chip input:focus-visible + span { outline: 2px solid var(--c-ice); outline-offset: 2px; }
.chip:hover span { color: var(--c-text); }

/* Подсветка за курсором (Product Spotlight) */
.spot { position: relative; isolation: isolate; }
.spot::before {
	content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
	background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--c-accent) 16%, transparent), transparent 60%);
	opacity: 0; transition: opacity .35s;
}
.spot:hover::before { opacity: 1; }
.no-spotlight .spot::before { display: none; }

/* ---------- 5. Шапка ---------- */
.site-header {
	position: fixed; top: 0; left: 0; right: 0; z-index: 100;
	height: var(--hdr-h);
	transition: background-color .4s, transform .45s var(--ease), border-color .4s, color .4s;
	border-bottom: 1px solid transparent;
}
.site-header:not(.is-sticky) { position: absolute; }
.site-header.is-solid, .site-header.is-scrolled {
	background: var(--hdr-bg);
	-webkit-backdrop-filter: blur(var(--hdr-blur)) saturate(140%);
	backdrop-filter: blur(var(--hdr-blur)) saturate(140%);
	border-bottom-color: var(--c-line);
}
.site-header.is-overlay:not(.is-scrolled) { background: linear-gradient(to bottom, rgba(11,16,24,.55), transparent); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header.scrolled-light.is-scrolled { background: rgba(245, 247, 251, .86); color: #0B1018; border-bottom-color: rgba(11,16,24,.08); }
.site-header.scrolled-light.is-scrolled .menu__link, .site-header.scrolled-light.is-scrolled .header__phone { color: #0B1018; }
.logo__img--dark { display: none; }
.site-header.scrolled-light.is-scrolled .logo__img--light { display: none; }
.site-header.scrolled-light.is-scrolled .logo__img--dark { display: block; }

.header__bar { height: 100%; display: flex; align-items: center; gap: clamp(16px, 2.4vw, 40px); }
.logo { display: inline-flex; align-items: center; text-decoration: none; color: var(--c-text); flex: none; }
.logo__img { height: var(--logo-h-m); width: auto; }
.logo__text { font-weight: 800; font-size: 1.125rem; letter-spacing: .02em; }
@media (min-width: 1024px) { .logo__img { height: var(--logo-h); } .logo__text { font-size: 1.25rem; } }

.nav { display: none; margin-right: auto; }
@media (min-width: 1200px) { .nav { display: block; } }
.menu { list-style: none; display: flex; align-items: center; gap: 4px; }
.menu__item { position: relative; display: flex; align-items: center; }
.menu__link { display: inline-flex; align-items: center; height: 44px; padding: 0 12px; font-size: .9375rem; font-weight: 500; text-decoration: none; color: color-mix(in srgb, var(--c-text) 86%, transparent); position: relative; }
.menu__link::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 1px; background: var(--c-accent); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.menu__link:hover, .menu__item.is-current > .menu__link { color: var(--c-text); }
.menu__link:hover::after, .menu__item.is-current > .menu__link::after { transform: scaleX(1); }
.menu__toggle { width: 28px; height: 28px; margin-left: -8px; display: grid; place-items: center; border: 0; background: transparent; cursor: pointer; color: var(--c-muted); }
.menu__toggle .i { width: 16px; height: 16px; transition: transform .3s; }
.has-sub.is-open > .menu__toggle .i { transform: rotate(180deg); }

.nav .sub-menu {
	list-style: none; position: absolute; top: 100%; left: 0; min-width: 260px; padding: 10px;
	background: color-mix(in srgb, var(--c-bg2) 96%, transparent); border: 1px solid var(--c-line); border-radius: var(--r-md);
	box-shadow: 0 24px 60px rgba(0,0,0,.45);
	opacity: 0; visibility: hidden; transform: translateY(8px); transition: .25s var(--ease);
	-webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
.nav .sub-menu .sub-menu { top: -11px; left: 100%; margin-left: 6px; }
.nav .menu__item:hover > .sub-menu, .nav .menu__item:focus-within > .sub-menu, .nav .menu__item.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.nav .sub-menu .menu__item { display: flex; justify-content: space-between; }
.nav .sub-menu .menu__link { height: auto; padding: 10px 12px; width: 100%; border-radius: var(--r-sm); font-size: .9rem; }
.nav .sub-menu .menu__link::after { display: none; }
.nav .sub-menu .menu__link:hover { background: var(--c-card); }
.nav .sub-menu .menu__toggle .i { transform: rotate(-90deg); }

.header__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
@media (min-width: 1200px) { .header__actions { margin-left: 0; } }
.msg { display: none; align-items: center; justify-content: center; gap: 8px; min-width: 40px; height: 40px; padding: 0 8px; border: 1px solid var(--c-line); border-radius: var(--r-sm); text-decoration: none; color: var(--c-text); transition: border-color .2s, background .2s; }
.msg:hover { border-color: var(--c-ice); background: rgba(104,199,255,.06); color: var(--c-text); }
.msg__icon { width: 22px; height: 22px; object-fit: contain; }
.msg__mark { font-size: .6875rem; font-weight: 700; letter-spacing: .06em; }
.msg--labeled { display: inline-flex; padding: 0 14px 0 10px; }
.msg__label { font-size: .875rem; font-weight: 500; }
@media (min-width: 1200px) { .header__actions .msg { display: inline-flex; } }
.header__phone { display: none; align-items: center; gap: 8px; padding: 0 6px; font-weight: 600; font-size: .9375rem; text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums; }
.header__phone .i { width: 18px; height: 18px; color: var(--c-accent); }
@media (min-width: 900px) { .header__phone { display: inline-flex; } }
.header__cta { display: none; }
@media (min-width: 640px) { .header__cta { display: inline-flex; } }

.burger { width: 44px; height: 44px; border: 1px solid var(--c-line-2); border-radius: var(--r-sm); background: transparent; display: grid; place-content: center; gap: 6px; cursor: pointer; }
.burger span { display: block; width: 20px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease); }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
@media (min-width: 1200px) { .burger { display: none; } }

/* Мобильное меню */
.mnav { position: fixed; inset: 0; z-index: 99; background: var(--c-bg); padding-top: var(--hdr-h); overflow-y: auto; overscroll-behavior: contain; }
.mnav::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--c-line) 1px, transparent 1px), linear-gradient(90deg, var(--c-line) 1px, transparent 1px); background-size: 64px 64px; opacity: .25; pointer-events: none; }
.mnav__inner { position: relative; display: flex; flex-direction: column; min-height: calc(100svh - var(--hdr-h)); padding-top: 24px; padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
.menu--mobile { flex-direction: column; align-items: stretch; gap: 0; }
.menu--mobile .menu__item { flex-wrap: wrap; border-bottom: 1px solid var(--c-line); }
.menu--mobile > .menu__item > .menu__link { font-size: clamp(1.5rem, 6vw, 2rem); font-weight: 700; height: auto; padding: 14px 0; flex: 1; }
.menu--mobile .menu__link::after { display: none; }
.menu--mobile .menu__toggle { width: 48px; height: 48px; margin: 0; border-left: 1px solid var(--c-line); }
.menu--mobile .sub-menu { list-style: none; width: 100%; padding: 0 0 12px 16px; display: none; }
.menu--mobile .is-open > .sub-menu { display: block; }
.menu--mobile .sub-menu .menu__item { border: 0; }
.menu--mobile .sub-menu .menu__link { height: auto; padding: 8px 0; font-size: 1.0625rem; color: var(--c-muted); flex: 1; }
.mnav__foot { margin-top: auto; padding-top: 32px; display: grid; gap: 16px; }
.mnav__phone { font-size: 1.5rem; font-weight: 700; text-decoration: none; }
.mnav__msg { display: flex; gap: 8px; flex-wrap: wrap; }
.mnav-open { overflow: hidden; }

/* Нижняя панель на телефоне */
.dock { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 90; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 6px; border-radius: 10px; background: rgba(17, 26, 39, .86); border: 1px solid var(--c-line); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 12px 40px rgba(0,0,0,.4); transition: transform .4s var(--ease); }
.dock__btn { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 6px; border: 0; background: transparent; color: var(--c-text); text-decoration: none; font-weight: 600; font-size: .9375rem; cursor: pointer; }
.dock__btn--primary { background: var(--c-accent); color: #fff; }
.dock__btn .i { width: 20px; height: 20px; }
.dock.is-away { transform: translateY(calc(100% + 24px)); }
@media (min-width: 900px) { .dock { display: none; } }
@media (max-width: 899px) { .site-footer { padding-bottom: 88px; } }

/* ---------- 6. HERO ---------- */
.hero { position: relative; height: max(100svh, 560px); background: var(--c-bg); }
.hero--seq { height: var(--hero-len, 400vh); }
.hero__stage { position: sticky; top: 0; height: 100svh; min-height: 560px; overflow: hidden; }
.hero__media, .hero__media > * { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__poster { object-fit: cover; }
.hero__canvas { opacity: 0; transition: opacity .6s; }
.hero.is-ready .hero__canvas { opacity: 1; }
.hero__media { transform-origin: 50% 55%; will-change: transform; }
.hero__shade { background: var(--hero-shade-c, #0B1018); opacity: var(--hero-shade, .45); }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,16,24,.25) 0%, transparent 30%, transparent 55%, var(--c-bg) 100%); pointer-events: none; }
.hero__grid {
	background-image: linear-gradient(rgba(104,199,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(104,199,255,.07) 1px, transparent 1px);
	background-size: calc(100% / 12) calc(100% / 8);
	mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent);
	-webkit-mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent);
}
.hero--bare .hero__media { background: radial-gradient(ellipse 70% 80% at 72% 40%, color-mix(in srgb, var(--c-accent) 22%, transparent), transparent 60%), linear-gradient(160deg, var(--c-bg2), var(--c-bg) 70%); }
.hero__blueprint { color: var(--c-ice); opacity: .55; }
.hero__blueprint svg { width: 100%; height: 100%; }
.hero__needle { transform-origin: 860px 330px; animation: needle 6s var(--ease-io) infinite alternate; }
@keyframes needle { from { transform: rotate(-35deg); } to { transform: rotate(48deg); } }

.hero__content {
	position: absolute; inset: 0; z-index: 2;
	display: flex; flex-direction: column; justify-content: flex-end;
	padding-top: calc(var(--hdr-h) + 32px); padding-bottom: clamp(96px, 16vh, 160px);
	pointer-events: none;
}
.hero__content > * { pointer-events: auto; max-width: 1100px; }
.hero__content > .hero__title { max-width: none; }
.hero--v-center .hero__content { justify-content: center; }
.hero--v-top .hero__content { justify-content: flex-start; padding-top: calc(var(--hdr-h) + 8vh); }
.hero--center .hero__content { align-items: center; text-align: center; }
.hero--right .hero__content { align-items: flex-end; text-align: right; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 14px; font-size: .75rem; font-weight: 600; letter-spacing: .24em; color: var(--c-ice); margin-bottom: clamp(16px, 2.5vh, 28px); }
.hero__eyebrow::before { content: ""; width: 40px; height: 1px; background: currentColor; }
.hero--center .hero__eyebrow::after { content: ""; width: 40px; height: 1px; background: currentColor; }
.hero__title {
	font-size: calc(clamp(2.4rem, 7.4vw, 7.6rem) * var(--hero-size, 1) * var(--h-scale));
	line-height: .94; letter-spacing: -.04em; font-weight: 800; color: var(--hero-title-c, var(--c-text));
	text-transform: uppercase; margin-bottom: clamp(18px, 3vh, 32px);
}
.ln { display: block; overflow: hidden; padding-bottom: .04em; }
.ln__in { display: block; }
.hero__sub { font-size: clamp(1rem, 1.35vw, 1.25rem); line-height: 1.55; color: var(--hero-text-c, #C9D4E3); max-width: 640px; font-weight: 500; margin-bottom: clamp(24px, 4vh, 40px); }
.hero--center .hero__sub { margin-left: auto; margin-right: auto; }
.hero--right .hero__sub { margin-left: auto; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.hero--center .hero__btns { justify-content: center; }
.hero--right .hero__btns { justify-content: flex-end; }
@media (max-width: 479px) { .hero__btns .btn { width: 100%; } }

/* Оркестрованное появление первого экрана */
.js .hero .ln__in { transform: translateY(105%); }
.js .hero .hero__eyebrow, .js .hero .hero__sub, .js .hero .hero__btns { opacity: 0; transform: translateY(16px); }
.hero.is-loaded .ln__in { transform: none; transition: transform 1.1s var(--ease); }
.hero.is-loaded .ln:nth-child(2) .ln__in { transition-delay: .08s; }
.hero.is-loaded .ln:nth-child(3) .ln__in { transition-delay: .16s; }
.hero.is-loaded .hero__eyebrow { opacity: 1; transform: none; transition: .9s var(--ease) .1s; }
.hero.is-loaded .hero__sub { opacity: 1; transform: none; transition: .9s var(--ease) .35s; }
.hero.is-loaded .hero__btns { opacity: 1; transform: none; transition: .9s var(--ease) .5s; }

.hero__captions { list-style: none; position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.cap { position: absolute; display: flex; align-items: center; gap: 14px; opacity: 0; transform: translateY(14px); transition: opacity .5s, transform .7s var(--ease); max-width: min(420px, 80vw); }
.cap.is-on { opacity: 1; transform: none; }
.cap__num { font-size: .75rem; font-weight: 600; color: var(--c-ice); font-variant-numeric: tabular-nums; }
.cap__line { width: 0; height: 1px; background: var(--c-ice); transition: width .8s var(--ease) .1s; flex: none; }
.cap.is-on .cap__line { width: 48px; }
.cap__text { font-size: clamp(.8125rem, 1vw, .9375rem); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--c-text); text-shadow: 0 2px 20px rgba(0,0,0,.6); }
.cap--tr { top: 22%; right: var(--gut); }
.cap--tl { top: 22%; left: var(--gut); }
.cap--br { bottom: 26%; right: var(--gut); }
.cap--bl { bottom: 34%; left: var(--gut); }
.cap--c { top: 46%; left: 50%; transform: translate(-50%, 14px); text-align: center; }
.cap--c.is-on { transform: translate(-50%, 0); }
@media (max-width: 767px) {
	.cap { max-width: calc(100vw - var(--gut) * 2); }
	.cap--tr, .cap--tl, .cap--c { top: calc(var(--hdr-h) + 24px); left: var(--gut); right: auto; transform: translateY(14px); }
	.cap--br, .cap--bl { top: calc(var(--hdr-h) + 24px); bottom: auto; left: var(--gut); right: auto; }
	.cap.is-on { transform: none; }
}

.hero__progress { position: absolute; z-index: 3; left: var(--gut); right: var(--gut); bottom: 28px; height: 14px; display: none; }
@media (min-width: 768px) { .hero__progress { display: block; } }
.hero__ticks { position: absolute; left: 0; right: 120px; top: 0; bottom: 0; background-image: linear-gradient(to right, rgba(245,247,251,.35) 1px, transparent 1px), linear-gradient(to right, rgba(245,247,251,.15) 1px, transparent 1px); background-size: 80px 14px, 8px 6px; background-repeat: repeat-x; }
.hero__bar { position: absolute; left: 0; bottom: 0; height: 2px; width: calc(100% - 120px); background: var(--c-accent); transform-origin: left; transform: scaleX(var(--p, 0)); box-shadow: 0 0 16px var(--c-accent); }
.hero__count { position: absolute; right: 0; top: -4px; font-size: .75rem; font-weight: 600; letter-spacing: .08em; color: var(--c-muted); font-variant-numeric: tabular-nums; }
.hero__indicator { position: absolute; z-index: 3; left: 50%; bottom: 60px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: .6875rem; letter-spacing: .2em; color: var(--c-muted); text-decoration: none; transition: opacity .4s; }
.hero__mouse { width: 22px; height: 34px; border: 1px solid rgba(245,247,251,.5); border-radius: 12px; display: flex; justify-content: center; padding-top: 6px; }
.hero__mouse i { width: 2px; height: 7px; border-radius: 2px; background: var(--c-ice); animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(10px); opacity: 0; } 100% { opacity: 0; } }
.hero.is-scrolling .hero__indicator { opacity: 0; }
.hero__hint { position: absolute; z-index: 4; top: calc(var(--hdr-h) + 12px); right: var(--gut); max-width: 380px; margin: 0; }
@media (max-width: 767px) { .hero__indicator, .hero__hint { display: none; } }

/* ---------- 7. Секции ---------- */
.section { position: relative; padding: var(--sec) 0; }
.section--tight { padding: clamp(40px, 6vw, 80px) 0; }
.section > .wrap { position: relative; z-index: 1; }

.sec-head { position: relative; margin-bottom: clamp(40px, 6vw, 88px); max-width: 1080px; }
.sec-num {
	display: block; font-size: clamp(4.5rem, 11vw, 10rem); font-weight: 800; line-height: .8; letter-spacing: -.05em;
	margin-bottom: clamp(16px, 2vw, 28px); font-variant-numeric: tabular-nums;
	/* Заливка градиентом вместо обводки: у вариативного шрифта контуры перекрываются. */
	background: linear-gradient(180deg, color-mix(in srgb, var(--c-muted) 30%, transparent), transparent 92%);
	-webkit-background-clip: text; background-clip: text; color: transparent;
	background-size: 100% 200%; background-position: 0 100%;
	transition: background-position 1.4s var(--ease);
}
.sec-num { background-image: linear-gradient(180deg, var(--c-accent) 0%, color-mix(in srgb, var(--c-accent) 30%, transparent) 45%, color-mix(in srgb, var(--c-muted) 26%, transparent) 55%, transparent 100%); }
.sec-head.is-in .sec-num { background-position: 0 0; }
.sec-title { font-size: calc(clamp(2rem, 5vw, 4.75rem) * var(--h-scale)); line-height: .98; letter-spacing: -.035em; text-transform: uppercase; }
.sec-sub { margin: clamp(16px, 2vw, 28px) 0 0; max-width: 640px; color: var(--c-muted); font-size: clamp(1rem, 1.2vw, 1.175rem); }

/* Reveal */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--d, 0) * 80ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .sec-head[data-reveal] { opacity: 1; transform: none; }
.js .sec-head .ln__in { transform: translateY(105%); transition: transform 1.1s var(--ease); }
.js .sec-head.is-in .ln__in { transform: none; }
.js .sec-head .ln:nth-child(2) .ln__in { transition-delay: .08s; }
.js .sec-head .sec-sub { opacity: 0; transition: opacity 1s .3s; }
.js .sec-head.is-in .sec-sub { opacity: 1; }
.no-reveal [data-reveal], .no-reveal .sec-head .ln__in, .no-reveal .sec-head .sec-sub { opacity: 1 !important; transform: none !important; }

/* Image Mask Reveal */
.mask-reveal { clip-path: inset(0 0 0 0); }
.js .mask-reveal[data-reveal] { opacity: 1; transform: none; clip-path: inset(100% 0 0 0); transition: clip-path 1.3s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .mask-reveal[data-reveal] img { transform: scale(1.18); transition: transform 1.8s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .mask-reveal.is-in { clip-path: inset(0 0 0 0); }
.js .mask-reveal.is-in img { transform: scale(1); }

/* --- О компании --- */
.about__body { display: grid; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (min-width: 1024px) { .about__body { grid-template-columns: 1.05fr 1fr; } .about--noimg .about__body { grid-template-columns: 1fr; max-width: 900px; } }
.about__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-md); }
.about__media img { width: 100%; height: 100%; object-fit: cover; }
.about__frame { position: absolute; inset: 14px; border: 1px solid rgba(245,247,251,.25); border-radius: 4px; pointer-events: none; }
.about__text p { color: var(--c-muted); }
.about__text .lead { color: var(--c-text); }
.about__scale { margin: clamp(48px, 7vw, 96px) 0 0; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-left: 1px solid var(--c-line); }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: 28px clamp(16px, 2vw, 32px) 8px; border-right: 1px solid var(--c-line); }
.stat__value { font-size: clamp(2.75rem, 6vw, 5.25rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; display: flex; align-items: baseline; gap: 2px; font-variant-numeric: tabular-nums; background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__suffix { font-size: .6em; }
.stat__label { margin-top: 14px; color: var(--c-muted); font-size: .9375rem; line-height: 1.45; max-width: 240px; }
.stat--pending { outline: 1px dashed #ffcf6b55; outline-offset: -1px; }

/* --- Продукция --- */
.dirs { display: grid; gap: 0; }
@media (min-width: 1024px) { .dirs { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 4vw, 72px); } }
.dirs__list { list-style: none; border-top: 1px solid var(--c-line); }
.dir { border-bottom: 1px solid var(--c-line); }
.dir__link { display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; padding: 28px 8px; text-decoration: none; color: var(--c-text); border-radius: 2px; transition: padding .5s var(--ease); }
.dir__num { font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 800; line-height: 1; letter-spacing: -.04em; color: color-mix(in srgb, var(--c-muted) 26%, transparent); transition: color .4s; grid-row: span 2; min-width: 2.2ch; font-variant-numeric: tabular-nums; }
.dir__icon { display: none; color: var(--c-accent); }
.dir__main { display: grid; gap: 10px; min-width: 0; }
.dir__title { font-size: clamp(1.25rem, 2.2vw, 1.875rem); font-weight: 700; line-height: 1.15; letter-spacing: -.015em; }
.dir__text { color: var(--c-muted); font-size: .9688rem; max-width: 560px; }
.dir__meta { display: inline-flex; align-items: center; gap: 10px; font-size: .875rem; font-weight: 600; color: var(--c-ice); }
.dir__meta .i { transition: transform .3s var(--ease); }
.dir__thumb { grid-column: 1 / -1; margin-top: 16px; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--r-md); background: #fff; }
.dir__thumb img { width: 100%; height: 100%; object-fit: contain; }
.dir.is-active .dir__num, .dir__link:hover .dir__num { color: var(--c-accent); }
.dir__link:hover .dir__meta .i { transform: translateX(5px); }
.dirs__stage { display: none; }
@media (min-width: 1024px) {
	.dir__link { grid-template-columns: auto auto 1fr; align-items: start; padding: 32px 16px; }
	.dir__icon { display: block; padding-top: 6px; }
	.dir__num { grid-row: auto; }
	.dir__text { max-height: 0; overflow: hidden; opacity: 0; transition: max-height .6s var(--ease), opacity .4s; }
	.dir.is-active .dir__text { max-height: 140px; opacity: 1; }
	.dir__thumb { display: none; }
	.dir.is-active .dir__link { padding-left: 28px; }
	.dirs__stage { display: block; }
	.dirs__frame { position: sticky; top: calc(var(--hdr-h) + 40px); aspect-ratio: 4 / 5; max-height: calc(100svh - var(--hdr-h) - 80px); border-radius: var(--r-md); overflow: hidden; background: radial-gradient(circle at 50% 40%, #fff 0%, #e7edf5 60%, #c9d4e3 100%); }
	.dirs__img { position: absolute; inset: 0; display: grid; place-items: center; padding: 10%; opacity: 0; transform: scale(1.06); transition: opacity .6s, transform 1.2s var(--ease); }
	.dirs__img.is-active { opacity: 1; transform: none; }
	.dirs__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
	.dirs__icon-big .epx-icon { width: 40%; height: auto; color: var(--c-accent); }
	.dirs__corner { position: absolute; width: 28px; height: 28px; border: 1px solid rgba(11,16,24,.35); }
	.dirs__corner--tl { top: 16px; left: 16px; border-right: 0; border-bottom: 0; }
	.dirs__corner--br { bottom: 16px; right: 16px; border-left: 0; border-top: 0; }
	.dirs__label { position: absolute; left: 20px; bottom: 16px; font-size: .75rem; font-weight: 700; letter-spacing: .12em; color: #0B1018; font-variant-numeric: tabular-nums; }
}
.products__more { margin: clamp(32px, 4vw, 56px) 0 0; }

/* --- Преимущества --- */
.adv__wrap { display: grid; gap: clamp(32px, 5vw, 80px); }
@media (min-width: 1100px) { .adv__wrap { grid-template-columns: .85fr 1.15fr; } .adv__aside { position: sticky; top: calc(var(--hdr-h) + 40px); align-self: start; } }
.adv__scheme { width: min(360px, 100%); color: var(--c-accent); opacity: .7; margin-top: 8px; }
.adv__scheme path, .adv__scheme rect, .adv__scheme circle { stroke-dasharray: 600; stroke-dashoffset: 0; transition: stroke-dashoffset 2.4s var(--ease); }
.js .adv__scheme:not(.is-in) path, .js .adv__scheme:not(.is-in) rect, .js .adv__scheme:not(.is-in) circle { stroke-dashoffset: 600; }
.adv__grid { list-style: none; display: grid; border-top: 1px solid var(--c-line); }
@media (min-width: 640px) { .adv__grid { grid-template-columns: 1fr 1fr; border-left: 1px solid var(--c-line); } }
.adv__item { padding: clamp(24px, 3vw, 40px); border-bottom: 1px solid var(--c-line); }
@media (min-width: 640px) { .adv__item { border-right: 1px solid var(--c-line); } }
.adv__icon { display: inline-flex; color: var(--c-ice); margin-bottom: 28px; }
.adv__title { font-size: 1.1875rem; font-weight: 700; line-height: 1.25; margin-bottom: 10px; letter-spacing: -.01em; }
.adv__text { color: var(--c-muted); font-size: .9375rem; margin: 0; }

/* --- Галерея (masonry) --- */
.masonry { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 8px; gap: 12px; padding: 0 var(--gut); grid-auto-flow: dense; }
@media (min-width: 900px) { .masonry { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.masonry__item { position: relative; overflow: hidden; border-radius: var(--r-md); grid-row: span 32; background: var(--c-card); }
.masonry__item--tall { grid-row: span 52; }
.masonry__item--wide { grid-column: span 2; grid-row: span 34; }
@media (min-width: 900px) { .masonry__item { grid-row: span 36; } .masonry__item--tall { grid-row: span 60; } .masonry__item--wide { grid-row: span 40; } .masonry__item:nth-child(5n+1):not(.masonry__item--tall) { grid-column: span 2; grid-row: span 44; } }
.masonry__item a { display: block; height: 100%; }
.masonry__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; }
.masonry__item:hover img { transform: scale(1.06); }
.masonry figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 16px 14px; background: linear-gradient(transparent, rgba(11,16,24,.85)); font-size: .875rem; font-weight: 600; display: flex; gap: 10px; pointer-events: none; }
.masonry figcaption span { color: var(--c-ice); font-variant-numeric: tabular-nums; }
.prod__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(32px, 4vw, 56px); }
.prod__head .sec-head { margin-bottom: 0; }

/* --- Видео --- */
.video__frame { position: relative; margin: 0 var(--gut); aspect-ratio: 16 / 9; max-height: 88svh; border-radius: var(--r-md); overflow: hidden; background: var(--c-card); }
.video__poster, .video__teaser { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video__frame::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at center, transparent 30%, rgba(11,16,24,.55)); pointer-events: none; }
.video__play { position: absolute; z-index: 2; left: 50%; top: 50%; translate: -50% -50%; width: clamp(88px, 11vw, 140px); aspect-ratio: 1; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; background: rgba(245,247,251,.12); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff; transition: background .3s, transform .4s var(--ease); }
.video__play:hover { background: var(--c-accent); }
.video__play .i { width: 34%; height: 34%; margin-left: 6%; fill: currentColor; }
.video__ring { position: absolute; inset: -10px; border-radius: 50%; border: 1px solid rgba(245,247,251,.4); animation: ring 2.6s var(--ease) infinite; }
@keyframes ring { 0% { transform: scale(.9); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }

/* --- Надёжность (Sticky Product Story) --- */
.rel__wrap { display: grid; gap: clamp(32px, 5vw, 80px); }
@media (min-width: 1024px) { .rel__wrap { grid-template-columns: 1fr 1fr; align-items: start; } .rel__media { align-self: stretch; } }
.rel__notes { list-style: none; margin-top: clamp(32px, 5vw, 64px); border-top: 1px solid var(--c-line); }
.rel__note { display: grid; grid-template-columns: 56px 1fr; padding: clamp(24px, 4vw, 48px) 0; border-bottom: 1px solid var(--c-line); font-size: clamp(1.125rem, 1.9vw, 1.6rem); font-weight: 700; line-height: 1.2; color: color-mix(in srgb, var(--c-text) 38%, transparent); transition: color .5s; }
@media (min-width: 1024px) { .rel__note { min-height: 34vh; align-items: center; } }
.rel__note.is-active { color: var(--c-text); }
.rel__idx { font-size: .8125rem; font-weight: 600; color: var(--c-ice); padding-top: .4em; font-variant-numeric: tabular-nums; }
.rel__sticky { position: relative; aspect-ratio: 1; border-radius: var(--r-md); overflow: hidden; background: radial-gradient(circle at 50% 45%, #fff, #dfe7f1 65%, #b9c7da); }
@media (min-width: 1024px) { .rel__sticky { position: sticky; top: calc(var(--hdr-h) + 40px); } }
.rel__img { position: absolute; inset: 0; display: grid; place-items: center; padding: 12%; opacity: 0; transform: scale(.94) rotate(-2deg); transition: opacity .7s, transform 1.2s var(--ease); }
.rel__img.is-active { opacity: 1; transform: none; }
.rel__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.rel__img figcaption { position: absolute; left: 20px; bottom: 16px; right: 20px; font-size: .8125rem; font-weight: 600; color: #3b4a5e; }
.rel__marks { position: absolute; inset: 16px; width: calc(100% - 32px); height: calc(100% - 32px); color: #0B1018; opacity: .45; pointer-events: none; }

/* --- Отрасли --- */
.ind__grid { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--c-line); border: 1px solid var(--c-line); border-radius: var(--r-md); overflow: hidden; }
@media (min-width: 900px) { .ind__grid { grid-template-columns: repeat(4, 1fr); } }
.ind__grid > li { background: var(--c-bg); }
.ind__item { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; height: 100%; min-height: clamp(160px, 18vw, 240px); padding: clamp(18px, 2.4vw, 32px); text-decoration: none; color: var(--c-text); }
.ind__icon { color: var(--c-ice); transition: transform .5s var(--ease), color .3s; }
.ind__title { font-weight: 700; font-size: clamp(.9375rem, 1.4vw, 1.1875rem); line-height: 1.25; }
.ind__go { position: absolute; top: 18px; right: 18px; color: var(--c-muted); transition: transform .4s var(--ease), color .3s; }
.ind__item:hover .ind__go { transform: translate(3px, -3px); color: var(--c-ice); }
.ind__item:hover .ind__icon { transform: translateY(-4px); color: var(--c-accent); }

/* --- CTA --- */
.cta { overflow: hidden; background: var(--c-bg2); }
.cta__bg { position: absolute; inset: 0; color: var(--c-accent); }
.cta__bg svg { width: 100%; height: 100%; opacity: .45; }
.cta__bg path { stroke-dasharray: 2400; stroke-dashoffset: 0; transition: stroke-dashoffset 3s var(--ease); }
.js .cta__bg svg:not(.is-in) path { stroke-dashoffset: 2400; }
.cta__glow { position: absolute; width: 70vw; height: 70vw; max-width: 1000px; max-height: 1000px; right: -18vw; top: 50%; translate: 0 -50%; background: radial-gradient(circle, color-mix(in srgb, var(--c-accent) 28%, transparent), transparent 62%); filter: blur(10px); }
.cta__inner { text-align: left; }
.cta__btns { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 479px) { .cta__btns .btn { width: 100%; } }

/* ---------- 8. Внутренние страницы ---------- */
.phero { position: relative; padding: clamp(32px, 6vw, 80px) 0 0; overflow: hidden; }
.phero > .wrap { position: relative; z-index: 1; }
.phero__row { display: flex; align-items: center; gap: 20px; }
.phero__icon { flex: none; color: var(--c-ice); display: inline-flex; padding: 14px; border: 1px solid var(--c-line); border-radius: var(--r-md); background: var(--c-bg2); }
.phero__icon .epx-icon { width: clamp(36px, 5vw, 56px); height: auto; }
.phero__title { font-size: calc(clamp(2rem, 5.4vw, 4.75rem) * var(--h-scale)); line-height: 1; letter-spacing: -.035em; text-transform: uppercase; }
.phero__text { margin-top: 20px; max-width: 760px; color: var(--c-muted); font-size: clamp(1rem, 1.25vw, 1.15rem); }
.phero__text p:last-child { margin-bottom: 0; }
.phero__btns { margin: 28px 0 0; }
.phero__note { color: var(--c-muted); margin-top: 16px; }
.phero__scale { margin-top: clamp(32px, 5vw, 56px); opacity: .9; }
.crumbs { margin-bottom: clamp(20px, 3vw, 36px); font-size: .8125rem; color: var(--c-muted); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 0; }
.crumbs li { display: inline-flex; align-items: center; }
.crumbs li + li::before { content: ""; width: 14px; height: 1px; background: var(--c-line-2); margin: 0 10px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--c-text); }
.crumbs [aria-current] { color: var(--c-text); }

.prose { max-width: 760px; color: color-mix(in srgb, var(--c-text) 86%, var(--c-muted)); }
.prose--wide { max-width: 980px; }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin: 2em 0 .7em; text-transform: none; }
.prose h3 { font-size: 1.25rem; margin: 1.6em 0 .6em; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose ul { list-style: none; padding: 0; }
.prose ul li { position: relative; padding-left: 22px; margin-bottom: .45em; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .78em; width: 10px; height: 1px; background: var(--c-accent); }
.prose ol li { margin-bottom: .45em; }
.prose a { color: var(--c-ice); }
.prose img { border-radius: var(--r-md); }
.prose table, .wp-block-table table { width: 100%; border-collapse: collapse; font-size: .9375rem; margin: 0 0 1.5em; }
.prose th, .prose td { border-bottom: 1px solid var(--c-line); padding: 10px 12px 10px 0; text-align: left; vertical-align: top; }
.prose th { font-weight: 500; color: var(--c-muted); width: 55%; }
.prose figure.wp-block-table { overflow-x: auto; }
.page-cover { margin-bottom: 40px; border-radius: var(--r-md); overflow: hidden; }

.empty { border: 1px dashed var(--c-line-2); border-radius: var(--r-md); padding: clamp(28px, 4vw, 56px); max-width: 760px; }
.empty__title { font-size: 1.375rem; font-weight: 700; margin-bottom: 10px; }
.empty p { color: var(--c-muted); }
.empty__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 0; }

/* ---------- 9. Каталог ---------- */
.catalog__heading { margin-bottom: 24px; }
.tiles { list-style: none; display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 560px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .tiles { grid-template-columns: repeat(3, 1fr); gap: 16px; } .tiles--root { grid-template-columns: repeat(4, 1fr); } }
.tile { border: 1px solid var(--c-line); border-radius: var(--r-md); background: var(--c-bg2); overflow: hidden; transition: border-color .3s, transform .5s var(--ease); }
.tile:hover { border-color: color-mix(in srgb, var(--c-accent) 55%, transparent); }
.tile__link { position: relative; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto 1fr auto; gap: 12px 16px; height: 100%; min-height: 168px; padding: 22px; text-decoration: none; color: var(--c-text); }
.tile__icon { color: var(--c-ice); grid-column: 1; }
.tile__name { grid-column: 1; font-weight: 700; font-size: 1.0625rem; line-height: 1.25; }
.tile__short { grid-column: 1; color: var(--c-muted); font-size: .875rem; line-height: 1.45; }
.tile__meta { grid-column: 1; align-self: end; display: flex; flex-wrap: wrap; gap: 4px 12px; color: var(--c-muted); font-size: .8125rem; }
.tile__kids { color: var(--c-ice); }
.tile__img { grid-column: 2; grid-row: 1 / -1; width: 104px; align-self: center; aspect-ratio: 1; border-radius: 6px; background: #fff; overflow: hidden; }
.tile__img img { width: 100%; height: 100%; object-fit: contain; transition: transform .8s var(--ease); }
.tile:hover .tile__img img { transform: scale(1.08); }

.catalog { display: grid; gap: 32px; align-items: start; }
@media (min-width: 1100px) { .catalog { grid-template-columns: 300px minmax(0, 1fr); gap: 40px; } }
.catalog__side { position: fixed; z-index: 120; inset: 0 auto 0 0; width: min(380px, 92vw); background: var(--c-bg2); border-right: 1px solid var(--c-line); padding: 20px; overflow-y: auto; overscroll-behavior: contain; transform: translateX(-102%); transition: transform .45s var(--ease); }
.catalog__side.is-open { transform: none; box-shadow: 30px 0 80px rgba(0,0,0,.5); }
.catalog__backdrop { position: fixed; inset: 0; z-index: 110; background: rgba(5,8,12,.6); }
.catalog__side-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.catalog__side-title { font-weight: 700; font-size: 1.25rem; margin: 0; }
@media (min-width: 1100px) {
	.catalog__side { position: sticky; top: calc(var(--hdr-h) + 20px); inset: auto; width: auto; transform: none; padding: 0; background: transparent; border: 0; max-height: calc(100svh - var(--hdr-h) - 40px); }
	.catalog__side-head { display: none; }
	.catalog__backdrop { display: none; }
}
.filters { display: grid; gap: 4px; }
.filters__search { position: relative; margin-bottom: 12px; }
.filters__search .i { position: absolute; left: 14px; top: 50%; translate: 0 -50%; color: var(--c-muted); width: 18px; height: 18px; pointer-events: none; }
.filters__search .input { padding-left: 42px; }
.filters__block { border: 0; border-top: 1px solid var(--c-line); padding: 14px 0 10px; margin: 0; min-width: 0; }
.filters__h { font-size: .8125rem; font-weight: 700; letter-spacing: .04em; color: var(--c-muted); margin: 0 0 8px; padding: 0; }
.facet__toggle { display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 8px; background: none; border: 0; padding: 4px 0; cursor: pointer; color: var(--c-text); font-weight: 600; font-size: .9375rem; letter-spacing: 0; text-align: left; }
.facet__toggle .i { width: 18px; height: 18px; transition: transform .3s; color: var(--c-muted); }
.facet.is-open .facet__toggle .i { transform: rotate(180deg); }
.facet__body { display: none; padding-top: 6px; }
.facet.is-open .facet__body { display: block; }
.facet__body.is-long:not(.is-all) > label:nth-child(n+9) { display: none; }
.facet__more { background: none; border: 0; color: var(--c-ice); font-size: .8125rem; padding: 6px 0; cursor: pointer; display: none; }
.facet.is-open .facet__more { display: block; }
.filters__actions { position: sticky; bottom: 0; display: grid; gap: 6px; padding: 14px 0 4px; background: linear-gradient(transparent, var(--c-bg2) 30%); }
@media (min-width: 1100px) { .filters__actions { background: linear-gradient(transparent, var(--c-bg) 30%); } .js .filters__actions .btn--primary { display: none; } }

.tree { list-style: none; }
.tree .tree { display: none; padding-left: 14px; border-left: 1px solid var(--c-line); margin: 2px 0 6px 10px; }
.tree__item.is-open > .tree { display: block; }
.tree__row { display: flex; align-items: center; }
.tree__row a { flex: 1; display: flex; align-items: center; gap: 10px; padding: 7px 4px; text-decoration: none; font-size: .9063rem; color: color-mix(in srgb, var(--c-text) 82%, transparent); border-radius: var(--r-sm); line-height: 1.3; }
.tree__row a:hover { color: var(--c-text); background: rgba(104,199,255,.05); }
.tree__row a[aria-current] { color: var(--c-ice); font-weight: 600; }
.tree__icon { color: var(--c-ice); display: inline-flex; }
.tree__name { flex: 1; }
.tree__count { font-size: .75rem; color: var(--c-muted); font-variant-numeric: tabular-nums; }
.tree__item.is-empty > .tree__row a { opacity: .55; }
.tree__toggle { width: 30px; height: 30px; flex: none; border: 0; background: none; color: var(--c-muted); display: grid; place-items: center; cursor: pointer; }
.tree__toggle .i { width: 16px; height: 16px; transition: transform .3s; }
.tree__toggle[aria-expanded="true"] .i { transform: rotate(180deg); }

.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--c-line); }
.toolbar__count { margin: 0 auto 0 0; color: var(--c-muted); font-size: .9375rem; font-variant-numeric: tabular-nums; }
.toolbar__filters { order: -1; width: 100%; }
@media (min-width: 560px) { .toolbar__filters { width: auto; order: 0; } }
@media (min-width: 1100px) { .toolbar__filters { display: none; } }
.toolbar__sort select { width: auto; min-width: 180px; }
.toolbar__view { display: none; gap: 4px; }
@media (min-width: 700px) { .toolbar__view { display: flex; } }
.active-filters { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.active-filters a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 40px; background: var(--c-accent-soft); color: var(--c-text); font-size: .8125rem; text-decoration: none; border: 1px solid color-mix(in srgb, var(--c-accent) 40%, transparent); }
.active-filters .i { width: 14px; height: 14px; }
.catalog__main { min-width: 0; transition: opacity .25s; }
.catalog.is-loading .catalog__main { opacity: .45; pointer-events: none; }

.pgrid { display: grid; gap: 12px; }
.pgrid--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 760px) { .pgrid--grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1440px) { .pgrid--grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .catalog .pgrid--grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1700px) { .catalog .pgrid--grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.pcard { display: flex; flex-direction: column; border: 1px solid var(--c-line); border-radius: var(--r-md); background: var(--c-bg2); overflow: hidden; transition: border-color .3s; }
.pcard:hover { border-color: color-mix(in srgb, var(--c-accent) 50%, transparent); }
.pcard__media { position: relative; display: block; aspect-ratio: 1; background: #fff; overflow: hidden; }
.pcard__media img { width: 100%; height: 100%; object-fit: contain; padding: 8%; transition: transform .9s var(--ease); }
.pcard__media::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(50,133,255,.16), transparent 55%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.pcard:hover .pcard__media img { transform: scale(1.06); }
.pcard:hover .pcard__media::after { opacity: 1; }
.pcard__ph { position: absolute; inset: 0; display: grid; place-items: center; color: #8ea2bb; background: linear-gradient(160deg, #f4f7fb, #dfe6ef); }
.pcard__body { display: flex; flex-direction: column; gap: 8px; padding: 14px; flex: 1; }
@media (min-width: 760px) { .pcard__body { padding: 18px; } }
.pcard__cat { margin: 0; font-size: .75rem; color: var(--c-ice); font-weight: 600; letter-spacing: .02em; }
.pcard__title { font-size: .9375rem; font-weight: 700; line-height: 1.3; letter-spacing: -.005em; overflow-wrap: anywhere; }
@media (min-width: 760px) { .pcard__title { font-size: 1rem; } }
.pcard__title a { text-decoration: none; color: var(--c-text); }
.pcard__title a::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.pcard__sku { margin: 0; font-size: .8125rem; color: var(--c-muted); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.pcard__sku span { opacity: .7; }
.pcard__specs { display: none; font-size: .8125rem; border-top: 1px solid var(--c-line); padding-top: 8px; }
@media (min-width: 760px) { .pcard__specs { display: grid; gap: 4px; } }
.pcard__specs div { display: flex; justify-content: space-between; gap: 12px; }
.pcard__specs dt { color: var(--c-muted); }
.pcard__specs dd { text-align: right; font-weight: 500; }
.pcard__foot { margin-top: auto; padding-top: 8px; display: grid; gap: 10px; }
.pcard__price { margin: 0; font-weight: 700; font-size: .9375rem; }
.pcard__price span { font-weight: 500; color: var(--c-muted); font-size: .8125rem; }
.pcard__btns { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr; gap: 6px; }
@media (min-width: 480px) { .pcard__btns { grid-template-columns: 1fr 1fr; } }
.pcard__btns .btn { padding: 0 8px; font-size: .8125rem; }
.pcard__media, .pcard__btns, .pcard__title a { position: relative; }

.pgrid--list { grid-template-columns: 1fr; }
.pcard--list { flex-direction: row; }
.pcard--list .pcard__media { width: 132px; flex: none; aspect-ratio: auto; }
@media (min-width: 760px) {
	.pcard--list .pcard__media { width: 200px; }
	.pcard--list .pcard__body { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; grid-template-areas: "cat specs foot" "title specs foot" "sku specs foot"; align-items: start; column-gap: 28px; }
	.pcard--list .pcard__cat { grid-area: cat; }
	.pcard--list .pcard__title { grid-area: title; font-size: 1.0625rem; }
	.pcard--list .pcard__sku { grid-area: sku; }
	.pcard--list .pcard__specs { grid-area: specs; border: 0; padding: 0; }
	.pcard--list .pcard__foot { grid-area: foot; margin: 0; padding: 0; min-width: 220px; }
	.pcard--list .pcard__btns { grid-template-columns: 1fr; }
}
.pgrid--row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1024px) { .pgrid--row { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.pagination { margin-top: 40px; }
.pagination__links { display: flex; flex-wrap: wrap; gap: 6px; }
.page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 10px; border: 1px solid var(--c-line); border-radius: var(--r-sm); text-decoration: none; font-weight: 600; font-variant-numeric: tabular-nums; }
.page-numbers.current { background: var(--c-accent); border-color: var(--c-accent); color: #fff; }
.page-numbers:hover:not(.current) { border-color: var(--c-ice); color: var(--c-text); }
.page-numbers.dots { border: 0; }

/* ---------- 10. Паспорт товара ---------- */
.product__top { position: relative; padding: clamp(24px, 4vw, 56px) 0 clamp(40px, 5vw, 72px); overflow: hidden; }
.product__top > .wrap { position: relative; z-index: 1; }
.product__head { display: grid; gap: clamp(28px, 4vw, 72px); }
@media (min-width: 1024px) { .product__head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.pgallery__main { position: relative; aspect-ratio: 1; border-radius: var(--r-md); background: #fff; overflow: hidden; }
.pgallery__slide { position: absolute; inset: 0; display: grid; place-items: center; padding: 8%; opacity: 0; visibility: hidden; transition: opacity .5s; }
.pgallery__slide.is-active { opacity: 1; visibility: visible; }
.pgallery__slide img { width: 100%; height: 100%; object-fit: contain; }
.pgallery__ph { position: absolute; inset: 0; display: grid; place-items: center; color: #8ea2bb; background: linear-gradient(160deg, #f4f7fb, #dfe6ef); }
.pgallery__marks { position: absolute; inset: 14px; pointer-events: none; background:
	linear-gradient(#0B101855, #0B101855) left top / 20px 1px no-repeat, linear-gradient(#0B101855, #0B101855) left top / 1px 20px no-repeat,
	linear-gradient(#0B101855, #0B101855) right bottom / 20px 1px no-repeat, linear-gradient(#0B101855, #0B101855) right bottom / 1px 20px no-repeat; }
.pgallery__thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 4px; }
.pgallery__thumb { flex: none; width: 72px; height: 72px; padding: 4px; border-radius: 6px; border: 1px solid var(--c-line); background: #fff; cursor: pointer; opacity: .6; transition: opacity .2s, border-color .2s; }
.pgallery__thumb img { width: 100%; height: 100%; object-fit: contain; }
.pgallery__thumb.is-active, .pgallery__thumb:hover { opacity: 1; border-color: var(--c-accent); }
.product__cat { display: inline-flex; align-items: center; gap: 8px; color: var(--c-ice); font-size: .875rem; font-weight: 600; text-decoration: none; margin-bottom: 16px; }
.product__title { font-size: clamp(1.625rem, 3.2vw, 2.75rem); line-height: 1.1; letter-spacing: -.025em; overflow-wrap: anywhere; }
.product__ids { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 20px 0 0; padding: 16px 0; border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); font-size: .875rem; }
.product__ids dt { color: var(--c-muted); font-size: .75rem; margin-bottom: 2px; }
.product__ids dd { font-weight: 600; display: flex; align-items: center; gap: 10px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.copy-btn { border: 1px solid var(--c-line); background: none; border-radius: 3px; padding: 2px 8px; font-size: .75rem; color: var(--c-muted); cursor: pointer; }
.copy-btn:hover { color: var(--c-text); border-color: var(--c-ice); }
.product__lead { margin: 20px 0 0; color: var(--c-muted); }
.keyspecs { margin: 24px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1px; background: var(--c-line); border: 1px solid var(--c-line); border-radius: var(--r-sm); overflow: hidden; }
.keyspecs div { background: var(--c-bg); padding: 12px 14px; }
.keyspecs dt { font-size: .75rem; color: var(--c-muted); line-height: 1.35; margin-bottom: 4px; }
.keyspecs dd { font-weight: 700; font-size: .9375rem; line-height: 1.3; overflow-wrap: anywhere; }
.keyspecs dd span { color: var(--c-muted); font-weight: 500; }
.product__buy { margin-top: 28px; display: grid; gap: 16px; }
.product__price { margin: 0; font-size: 1.375rem; font-weight: 700; }
.product__btns { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 479px) { .product__btns .btn { width: 100%; } }

.subnav { position: sticky; top: var(--hdr-h); z-index: 40; background: rgba(11,16,24,.86); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); transition: top .45s var(--ease); }
.header-hidden .subnav { top: 0; }
.subnav__in { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.subnav__in::-webkit-scrollbar { display: none; }
.subnav a { flex: none; padding: 14px 14px; font-size: .875rem; font-weight: 600; color: var(--c-muted); text-decoration: none; position: relative; white-space: nowrap; }
.subnav a.is-active, .subnav a:hover { color: var(--c-text); }
.subnav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 2px; background: var(--c-accent); transform: scaleX(0); transition: transform .3s var(--ease); }
.subnav a.is-active::after { transform: scaleX(1); }

.product__body { padding-bottom: clamp(40px, 6vw, 96px); }
.psec { padding: clamp(40px, 6vw, 80px) 0 0; }
.psec__title { font-size: clamp(1.5rem, 2.6vw, 2.25rem); letter-spacing: -.025em; margin-bottom: clamp(20px, 3vw, 36px); }
.psec__grid { display: grid; gap: 40px; }
@media (min-width: 1024px) { .psec__grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); } }
.pros { border: 1px solid var(--c-line); border-radius: var(--r-md); padding: 24px; background: var(--c-bg2); align-self: start; }
.pros__title { font-size: 1.0625rem; margin-bottom: 16px; }
.pros ul { list-style: none; display: grid; gap: 12px; }
.pros li { display: flex; gap: 12px; color: color-mix(in srgb, var(--c-text) 88%, transparent); font-size: .9375rem; line-height: 1.45; }
.pros .i { color: var(--c-accent); margin-top: 1px; }
.spec-scroll { overflow-x: auto; border: 1px solid var(--c-line); border-radius: var(--r-md); }
.spec-table { width: 100%; border-collapse: collapse; min-width: 520px; font-size: .9375rem; }
.spec-table th, .spec-table td { padding: 14px 20px; border-bottom: 1px solid var(--c-line); text-align: left; vertical-align: top; }
.spec-table tbody:last-child tr:last-child > * { border-bottom: 0; }
.spec-table th { width: 48%; font-weight: 500; color: var(--c-muted); }
.spec-table td { font-weight: 600; }
.spec-table tr:nth-child(even) > * { background: rgba(23,34,49,.45); }
.spec-table__unit { color: color-mix(in srgb, var(--c-muted) 70%, transparent); }
.spec-table__group th { background: var(--c-card) !important; color: var(--c-ice); font-weight: 700; font-size: .8125rem; letter-spacing: .04em; }
.apps { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.apps li { padding: 10px 16px; border: 1px solid var(--c-line-2); border-radius: 40px; font-weight: 500; font-size: .9375rem; }
.docs { display: grid; gap: 28px; }
@media (min-width: 900px) { .docs { grid-template-columns: 1fr 1fr; } }
.docs__h { font-size: .875rem; color: var(--c-muted); font-weight: 600; margin-bottom: 10px; }
.docs ul, .docs__list { list-style: none; display: grid; gap: 8px; }
.doc { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--c-line); border-radius: var(--r-sm); text-decoration: none; color: var(--c-text); background: var(--c-bg2); transition: border-color .3s; }
.doc:hover { border-color: var(--c-ice); color: var(--c-text); }
.doc__ext { flex: none; min-width: 46px; padding: 4px 6px; border-radius: 3px; background: var(--c-accent-soft); color: var(--c-ice); font-size: .6875rem; font-weight: 700; text-align: center; letter-spacing: .04em; }
.doc__name { flex: 1; font-weight: 600; font-size: .9375rem; line-height: 1.35; }
.doc__size { color: var(--c-muted); font-size: .8125rem; white-space: nowrap; }
.doc .i { color: var(--c-accent); }
.analogs { display: grid; gap: 1px; background: var(--c-line); border: 1px solid var(--c-line); border-radius: var(--r-md); overflow: hidden; }
.analogs div { display: grid; gap: 6px; padding: 18px 20px; background: var(--c-bg); }
@media (min-width: 700px) { .analogs div { grid-template-columns: 240px 1fr; } }
.analogs dt { color: var(--c-muted); }
.analogs dd { font-weight: 600; }
.analogs ul { list-style: none; }
.quote { display: grid; gap: 32px; padding: clamp(24px, 4vw, 56px); border: 1px solid var(--c-line); border-radius: var(--r-md); background: linear-gradient(140deg, var(--c-bg2), var(--c-bg)); position: relative; overflow: hidden; }
@media (min-width: 1024px) { .quote { grid-template-columns: .8fr 1.2fr; gap: 56px; } }
.quote__intro p { color: var(--c-muted); }
.quote__item { padding: 16px; border-left: 2px solid var(--c-accent); background: var(--c-accent-soft); color: var(--c-text) !important; }
.quote__item span { color: var(--c-muted); font-size: .875rem; }
.related { padding-top: clamp(40px, 6vw, 80px); border-top: 1px solid var(--c-line); }

/* Услуги */
.svc-grid { display: grid; gap: 12px; margin-top: 24px; }
@media (min-width: 700px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .svc-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.svc { border: 1px solid var(--c-line); border-radius: var(--r-md); background: var(--c-bg2); }
.svc__link { display: flex; flex-direction: column; gap: 12px; height: 100%; padding: 28px; text-decoration: none; color: var(--c-text); }
.svc__icon { color: var(--c-ice); }
.svc__title { font-size: 1.25rem; }
.svc__text { color: var(--c-muted); font-size: .9375rem; margin: 0; }
.svc__date { color: var(--c-muted); font-size: .8125rem; }
.svc .link-arrow { margin-top: auto; }
.stages { list-style: none; display: grid; gap: 1px; background: var(--c-line); border: 1px solid var(--c-line); border-radius: var(--r-md); overflow: hidden; }
@media (min-width: 900px) { .stages { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); } }
.stage { background: var(--c-bg); padding: 28px; }
.stage__num { display: block; font-size: 2.5rem; font-weight: 800; line-height: 1; color: var(--c-accent); opacity: .85; margin-bottom: 20px; }
.stage__title { font-size: 1.0625rem; margin-bottom: 8px; }
.stage p { color: var(--c-muted); font-size: .9375rem; margin: 0; }

/* Поиск */
.search-line { display: flex; gap: 8px; max-width: 640px; margin-top: 24px; }
.search-line .input { flex: 1; }
.search__h { margin: 8px 0 20px; }
.search__h + .search-list, .pgrid + .search__h { margin-top: 48px; }
.search-list { list-style: none; border-top: 1px solid var(--c-line); }
.search-list a { display: grid; gap: 4px; padding: 20px 0; border-bottom: 1px solid var(--c-line); text-decoration: none; }
.search-list__type { font-size: .75rem; color: var(--c-ice); font-weight: 600; }
.search-list__title { font-size: 1.125rem; font-weight: 700; }
.search-list__text { color: var(--c-muted); font-size: .9375rem; }

/* 404 */
.e404 { position: relative; min-height: calc(100svh - var(--hdr-h)); display: flex; align-items: center; overflow: hidden; padding: 60px 0; }
.e404__in { position: relative; display: grid; gap: 24px; align-items: center; }
@media (min-width: 1024px) { .e404__in { grid-template-columns: 1fr 1fr; } }
.e404__code { font-size: clamp(8rem, 28vw, 22rem); font-weight: 800; line-height: .8; letter-spacing: -.06em; margin: 0; background: linear-gradient(180deg, var(--c-accent), transparent 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.e404__title { font-size: clamp(1.75rem, 3vw, 2.75rem); margin-bottom: 16px; }
.e404__text p { color: var(--c-muted); }
.e404__links { display: flex; gap: 28px; margin-top: 28px; }

/* Контакты */
.ccards { display: grid; gap: 12px; }
@media (min-width: 640px) { .ccards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .ccards { grid-template-columns: repeat(4, 1fr); } }
.ccard { display: flex; flex-direction: column; gap: 8px; padding: 24px; border: 1px solid var(--c-line); border-radius: var(--r-md); background: var(--c-bg2); text-decoration: none; color: var(--c-text); min-height: 200px; }
a.ccard:hover { border-color: var(--c-accent); color: var(--c-text); }
.ccard__icon { color: var(--c-accent); margin-bottom: auto; }
.ccard__icon .i { width: 28px; height: 28px; }
.ccard__label { color: var(--c-muted); font-size: .8125rem; margin-top: 24px; }
.ccard__value { font-size: clamp(1.125rem, 1.6vw, 1.375rem); font-weight: 700; line-height: 1.25; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.ccard__value--sm { font-size: 1rem; }
.ccard__hint { color: var(--c-ice); font-size: .8125rem; text-decoration: none; }
.ccard__hours div { display: flex; justify-content: space-between; gap: 12px; font-size: .9375rem; padding: 3px 0; }
.ccard__hours dt { color: var(--c-muted); }
.ccard__hours dd { font-weight: 600; }
.contacts__row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 24px; }
.contacts__extra { text-decoration: none; font-weight: 600; display: grid; }
.contacts__extra span { color: var(--c-muted); font-size: .75rem; font-weight: 500; }
.contacts__msg { display: flex; gap: 8px; }
.contacts__msg .msg { display: inline-flex; }
.map { position: relative; height: clamp(360px, 52vw, 560px); background: var(--c-bg2); border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.25) contrast(1.05); }
.map__ph { position: absolute; inset: 0; display: grid; place-items: center; }
.contacts__split { display: grid; gap: 56px; }
@media (min-width: 1100px) { .contacts__split { grid-template-columns: 1.3fr 1fr; } }
.contacts__form .h2 { margin-bottom: 10px; }
.contacts__form .lead-form { margin-top: 28px; }
.req { display: grid; border-top: 1px solid var(--c-line); margin: 20px 0 24px; }
.req div { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--c-line); }
@media (min-width: 560px) { .req div { grid-template-columns: 180px 1fr; } }
.req dt { color: var(--c-muted); font-size: .875rem; }
.req dd { font-weight: 600; font-variant-numeric: tabular-nums; }
.contacts__content { margin-top: 32px; }
.legal { display: grid; gap: 40px; }
@media (min-width: 1024px) { .legal { grid-template-columns: 260px 1fr; } .legal__meta { position: sticky; top: calc(var(--hdr-h) + 24px); align-self: start; } }
.legal__meta { color: var(--c-muted); font-size: .875rem; }

/* ---------- 11. Формы и модальные окна ---------- */
.lead-form { display: grid; gap: 18px; }
.lead-form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead-form__grid { display: grid; gap: 14px; }
@media (min-width: 600px) { .lead-form__grid { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field__label { font-size: .8125rem; font-weight: 600; color: var(--c-muted); padding: 0; }
.field__req { color: var(--c-accent); }
.field__error { margin: 0; font-size: .8125rem; color: var(--c-err); }
.lead-form__context { padding: 12px 14px; border-left: 2px solid var(--c-accent); background: var(--c-accent-soft); font-size: .875rem; }
.lead-form__context strong { display: block; font-size: .9375rem; }
.lead-form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
@media (max-width: 599px) { .lead-form__actions .btn { width: 100%; } }
.lead-form__status { margin: 0; font-size: .875rem; color: var(--c-muted); }
.lead-form__status.is-error { color: var(--c-err); }
.lead-done { text-align: left; padding: 8px 0; outline: none; }
.lead-done__mark { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--c-accent); color: #fff; margin-bottom: 24px; animation: pop .6s var(--ease); }
.lead-done__mark .i { width: 32px; height: 32px; stroke-width: 2.2; }
.lead-done__title { font-size: 1.75rem; font-weight: 800; margin-bottom: 10px; letter-spacing: -.02em; }
.lead-done__text { color: var(--c-muted); }
@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 60% { transform: scale(1.08); } 100% { transform: none; opacity: 1; } }

dialog { color: var(--c-text); }
.modal { width: min(1040px, calc(100vw - 24px)); max-width: none; max-height: calc(100svh - 24px); padding: 0; border: 1px solid var(--c-line); border-radius: 12px; background: var(--c-bg2); overflow: hidden; }
.modal::backdrop { background: rgba(4, 7, 11, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.modal[open] { animation: modal-in .45s var(--ease); }
.modal[open]::backdrop { animation: fade-in .35s; }
@keyframes modal-in { from { opacity: 0; transform: translateY(24px) scale(.98); } }
@keyframes fade-in { from { opacity: 0; } }
.modal__panel { display: grid; max-height: calc(100svh - 26px); overflow-y: auto; overscroll-behavior: contain; }
@media (min-width: 900px) { .modal__panel { grid-template-columns: 300px 1fr; } }
.modal__close { position: absolute; z-index: 3; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--c-line); background: var(--c-bg2); display: grid; place-items: center; cursor: pointer; }
.modal__close:hover { border-color: var(--c-ice); }
.modal__aside { display: none; position: relative; padding: 40px 32px; background: linear-gradient(170deg, color-mix(in srgb, var(--c-accent) 26%, var(--c-bg)), var(--c-bg) 70%); overflow: hidden; }
@media (min-width: 900px) { .modal__aside { display: flex; flex-direction: column; justify-content: flex-end; } }
.modal__grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); background-size: 28px 28px; }
.modal__aside-text { position: relative; font-weight: 600; font-size: 1.0625rem; line-height: 1.4; }
.modal__aside-phone { position: relative; margin: 0; font-size: 1.25rem; font-weight: 800; }
.modal__body { padding: 28px 20px 24px; }
@media (min-width: 600px) { .modal__body { padding: 40px 40px 32px; } }
.modal__title { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; margin: 0 48px 24px 0; }

.lightbox { width: 100vw; height: 100svh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(5,8,12,.96); }
.lightbox::backdrop { background: rgba(5,8,12,.9); }
.lightbox[open] { display: grid; place-items: center; animation: fade-in .3s; }
.lightbox__stage { width: calc(100vw - 32px); height: calc(100svh - 120px); display: grid; place-items: center; }
@media (min-width: 900px) { .lightbox__stage { width: calc(100vw - 200px); } }
.lightbox__stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 4px; }
.lightbox__stage figcaption { margin-top: 12px; color: var(--c-muted); text-align: center; font-size: .9375rem; }
.lightbox__stage video, .lightbox__stage iframe { width: min(100%, calc((100svh - 140px) * 16 / 9)); aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 6px; background: #000; }
.lightbox__close { position: fixed; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--c-line-2); background: rgba(17,26,39,.8); display: grid; place-items: center; cursor: pointer; z-index: 2; }
.lightbox__nav { position: fixed; top: 50%; translate: 0 -50%; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--c-line-2); background: rgba(17,26,39,.8); display: grid; place-items: center; cursor: pointer; }
.lightbox__nav--prev { left: 16px; }
.lightbox__nav--next { right: 16px; }
@media (max-width: 899px) { .lightbox__nav { top: auto; bottom: 20px; translate: none; } .lightbox__nav--prev { left: calc(50% - 64px); } .lightbox__nav--next { right: calc(50% - 64px); } }
.lightbox__count { position: fixed; top: 28px; left: 24px; margin: 0; color: var(--c-muted); font-size: .8125rem; font-variant-numeric: tabular-nums; }
.lightbox.is-single .lightbox__nav, .lightbox.is-single .lightbox__count { display: none; }

/* ---------- 12. Подвал ---------- */
.site-footer { position: relative; overflow: hidden; background: #070b11; border-top: 1px solid var(--c-line); padding-top: clamp(56px, 8vw, 112px); }
.footer__grid-bg { position: absolute; inset: 0; background-image: linear-gradient(var(--c-line) 1px, transparent 1px), linear-gradient(90deg, var(--c-line) 1px, transparent 1px); background-size: 120px 120px; opacity: .35; mask-image: linear-gradient(to bottom, #000, transparent 80%); -webkit-mask-image: linear-gradient(to bottom, #000, transparent 80%); pointer-events: none; }
.site-footer > .wrap { position: relative; z-index: 1; }
.footer__top { display: grid; gap: 48px; padding-bottom: 48px; }
@media (min-width: 1100px) { .footer__top { grid-template-columns: 340px 1fr; gap: 64px; } }
.footer__text { color: var(--c-muted); margin: 20px 0 24px; font-size: .9375rem; max-width: 340px; }
.footer__msg { display: flex; gap: 8px; flex-wrap: wrap; }
.footer__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 24px; }
@media (min-width: 900px) { .footer__cols { grid-template-columns: 1.6fr repeat(3, 1fr); } }
.footer__col--wide { grid-column: 1 / -1; }
@media (min-width: 900px) { .footer__col--wide { grid-column: auto; } }
.footer__h { font-size: .8125rem; font-weight: 700; color: var(--c-muted); letter-spacing: .04em; margin-bottom: 14px; }
.footer__h a { text-decoration: none; color: inherit; }
.footer__list { list-style: none; display: grid; gap: 8px; font-size: .9375rem; }
.footer__list a { text-decoration: none; color: color-mix(in srgb, var(--c-text) 85%, transparent); }
.footer__list a:hover { color: var(--c-ice); }
.footer__list--2col { columns: 1; display: block; }
@media (min-width: 560px) { .footer__list--2col { columns: 2; column-gap: 24px; } }
.footer__list--2col li { margin-bottom: 8px; break-inside: avoid; }
.footer__phone { white-space: nowrap; font-weight: 700; font-size: 1.0625rem; font-variant-numeric: tabular-nums; }
.footer__addr { color: var(--c-muted); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding: 24px 0; border-top: 1px solid var(--c-line); font-size: .8125rem; color: var(--c-muted); }
.footer__legal-name { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 16px; }
.footer__legal { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer__legal a { text-decoration: none; }
.footer__word {
	position: relative; margin: 0 0 -.18em; padding: 0; white-space: nowrap; text-align: center;
	font-size: clamp(3rem, 12.6vw, 18rem); font-weight: 800; letter-spacing: -.055em; line-height: .82;
	background: linear-gradient(180deg, rgba(149,166,188,.24), rgba(149,166,188,.02) 85%); -webkit-background-clip: text; background-clip: text; color: transparent;
	user-select: none; pointer-events: none;
}

/* ---------- 13. Курсор ---------- */
.tcursor { position: fixed; z-index: 200; left: 0; top: 0; pointer-events: none; width: 86px; height: 86px; margin: -43px 0 0 -43px; border-radius: 50%; border: 1px solid rgba(104,199,255,.7); display: grid; place-items: center; font-size: .6875rem; font-weight: 700; letter-spacing: .1em; color: var(--c-text); background: rgba(11,16,24,.35); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; transform: scale(.4); transition: opacity .3s, transform .4s var(--ease); }
.tcursor.is-on { opacity: 1; transform: scale(1); }
.tcursor::before, .tcursor::after { content: ""; position: absolute; background: rgba(104,199,255,.7); }
.tcursor::before { width: 1px; height: 10px; top: -10px; left: 50%; }
.tcursor::after { width: 10px; height: 1px; left: -10px; top: 50%; }

/* ---------- 14. Уменьшение движения ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
	.js [data-reveal], .js .hero .ln__in, .js .sec-head .ln__in, .js .hero .hero__eyebrow, .js .hero .hero__sub, .js .hero .hero__btns, .js .sec-head .sec-sub { opacity: 1 !important; transform: none !important; }
	.js .mask-reveal[data-reveal] { clip-path: none !important; }
	.js .mask-reveal[data-reveal] img { transform: none !important; }
	.eng-grid { animation: none; }
	.tcursor { display: none; }
}

/* ---------- 15. Печать ---------- */
@media print {
	.site-header, .dock, .site-footer, .subnav, .lead-form, .quote, .mnav, .hero__media { display: none !important; }
	body { background: #fff; color: #000; }
	.site-main { padding: 0 !important; }
	.phero__title, .product__title { color: #000; }
}

/* Компактные плитки категорий на телефоне */
@media (max-width: 559px) {
	.tiles { grid-template-columns: 1fr 1fr; gap: 8px; }
	.tile__link { min-height: 0; padding: 14px; grid-template-columns: 1fr; gap: 8px; }
	.tile__img, .tile__short { display: none; }
	.tile__name { font-size: .9063rem; }
	.tile__meta { font-size: .75rem; }
	.tile__icon .epx-icon { width: 28px; height: 28px; }
}

/* Открытая мобильная панель фильтров — поверх шапки и нижней панели */
body.filters-open .section > .wrap { z-index: auto; }
body.filters-open .dock { display: none; }
body.filters-open .catalog__side { z-index: 130; padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
body.filters-open .catalog__backdrop { z-index: 125; }
