/* ==========================================================================
   Rhino Carbon — основные стили
   Все цвета, шрифты и размеры — через переменные --l-*.
   Значения переменных приходят из «Внешний вид → Настроить» (inline-стиль),
   ниже — запасные значения из дизайн-макета.
   ========================================================================== */

:root {
	--l-accent: #1F3B73;
	--l-accent-hover: #152B55;
	--l-accent-soft: #7F9BD3;
	--l-on-accent: #FFFFFF;
	--l-ink: #111214;
	--l-text: #24262A;
	--l-muted: #4A4D52;
	--l-bg: #F1F1EE;
	--l-surface: #F7F7F4;
	--l-surface-alt: #E9EAE6;
	--l-line: #CDCEC9;
	--l-dark: #111214;

	--l-font-body: 'Geologica', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
	--l-font-heading: var(--l-font-body);
	--l-font-mono: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;
	--l-font-logo: 'Unbounded', var(--l-font-body);
	--l-font-size: 16px;
	--l-heading-weight: 600;
	--l-heading-tracking: -0.035em;

	--l-container: 1440px;
	--l-gutter: clamp(18px, 4.5vw, 64px);
	--l-section: clamp(56px, 7vw, 88px);
	--l-radius: 0px;

	/* Производные оттенки — вычисляются из основных, поэтому меняются вместе с ними. */
	--l-line-strong: color-mix(in srgb, var(--l-line) 70%, var(--l-ink));
	--l-subtle: color-mix(in srgb, var(--l-muted) 82%, var(--l-bg));
	--l-accent-tint: color-mix(in srgb, var(--l-accent) 14%, var(--l-surface));
	--l-accent-tint-2: color-mix(in srgb, var(--l-accent) 8%, var(--l-surface));
	--l-ph: color-mix(in srgb, var(--l-ink) 7%, var(--l-bg));
	--l-dark-2: color-mix(in srgb, var(--l-dark) 92%, #fff);
	--l-dark-line: color-mix(in srgb, var(--l-dark) 80%, #fff);
	--l-dark-text: color-mix(in srgb, #fff 70%, var(--l-dark));
	--l-dark-muted: color-mix(in srgb, #fff 60%, var(--l-dark));
	--l-header-h: 76px;
	--l-ease: cubic-bezier(.2, .7, .2, 1);
}

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

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

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

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
	margin: 0;
	background: var(--l-bg);
	color: var(--l-text);
	font-family: var(--l-font-body);
	font-size: var(--l-font-size);
	line-height: 1.6;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}

body.is-locked { overflow: hidden; }

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

a { color: var(--l-accent); text-underline-offset: .18em; transition: color .15s; }
a:hover { color: var(--l-accent-hover); }

:focus-visible { outline: 2px solid var(--l-accent); outline-offset: 2px; }
.l-dark :focus-visible { outline-color: var(--l-accent-soft); }

h1, h2, h3, h4 {
	margin: 0;
	color: var(--l-ink);
	font-family: var(--l-font-heading);
	font-weight: var(--l-heading-weight);
	letter-spacing: var(--l-heading-tracking);
	text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
dl, dd { margin: 0; }
figure { margin: 0; }
address { font-style: normal; }
button { font: inherit; color: inherit; cursor: pointer; }

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

.l-skip {
	position: absolute;
	left: 12px; top: -60px;
	z-index: 1000;
	padding: 12px 18px;
	background: var(--l-accent);
	color: var(--l-on-accent);
	text-decoration: none;
	font-weight: 600;
}
.l-skip:focus { top: 12px; color: var(--l-on-accent); }

.l-main { display: block; outline: none; }

.l-container {
	width: 100%;
	max-width: var(--l-container);
	margin-inline: auto;
	padding-inline: var(--l-gutter);
}

/* ---------- Типографика ---------- */

.l-h1 {
	font-size: clamp(36px, 4.2vw, 60px);
	line-height: 1.04;
}
.l-h1--xl { font-size: clamp(40px, 4.8vw, 68px); line-height: 1.02; letter-spacing: calc(var(--l-heading-tracking) - .005em); }
.l-h2 { font-size: clamp(28px, 3.3vw, 48px); line-height: 1.06; }
.l-h3 { font-size: clamp(20px, 1.6vw, 23px); line-height: 1.25; letter-spacing: -0.02em; }

.l-lead { color: var(--l-muted); font-size: 17px; line-height: 1.6; max-width: 640px; }
.l-lead--lg { font-size: clamp(16px, 1.3vw, 18px); max-width: 580px; }
.l-lead p + p { margin-top: .6em; }

.l-note {
	margin-top: 16px;
	font-family: var(--l-font-mono);
	font-size: 12px;
	color: var(--l-subtle);
}

.l-eyebrow {
	display: flex;
	align-items: center;
	gap: 12px;
	font-family: var(--l-font-mono);
	font-size: 13px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: color-mix(in srgb, var(--l-ink) 80%, var(--l-bg));
}
.l-eyebrow__num { color: var(--l-accent); font-weight: 700; white-space: nowrap; }
.l-dark .l-eyebrow { color: var(--l-dark-text); }
.l-dark .l-eyebrow__num { color: var(--l-accent-soft); }

.l-mt-24 { margin-top: 24px; }

/* ---------- Кнопки и ссылки ---------- */

.l-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 0 24px;
	border: 1px solid transparent;
	border-radius: var(--l-radius);
	font-family: var(--l-font-body);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	text-align: center;
	cursor: pointer;
	transition: background-color .15s, color .15s, border-color .15s;
}
.l-btn--sm { min-height: 46px; padding: 0 20px; font-size: 14px; }
.l-btn--xs { min-height: 40px; padding: 0 16px; font-size: 14px; }
.l-btn--lg { min-height: 58px; padding: 0 28px; font-size: 16px; }
.l-btn--block { display: flex; width: 100%; }

.l-btn--primary { background: var(--l-accent); color: var(--l-on-accent); }
.l-btn--primary:hover { background: var(--l-accent-hover); color: var(--l-on-accent); }
.l-btn--outline { border-color: var(--l-accent); color: var(--l-accent); background: transparent; }
.l-btn--outline:hover { background: var(--l-accent); color: var(--l-on-accent); }
.l-btn--dark { background: var(--l-dark); color: #fff; }
.l-btn--dark:hover { background: var(--l-accent); color: #fff; }

.l-link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}
.l-link-arrow svg { transition: transform .2s var(--l-ease); }
.l-link-arrow:hover svg { transform: translateX(3px); }

.l-link-underline {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding-bottom: 3px;
	border-bottom: 1px solid currentColor;
	color: var(--l-ink);
	font-size: 15px;
	font-weight: 500;
	text-decoration: none;
}
.l-link-underline:hover { color: var(--l-accent); }

.l-icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid transparent;
	border-radius: var(--l-radius);
	background: transparent;
	color: inherit;
	text-decoration: none;
	transition: background-color .15s, color .15s, border-color .15s;
}
.l-icon-btn--outline { width: 46px; height: 46px; border-color: var(--l-line); color: var(--l-ink); }
.l-icon-btn--outline:hover { border-color: var(--l-ink); }
.l-icon-btn--ink { width: 46px; height: 46px; border-color: var(--l-ink); color: var(--l-ink); }
.l-icon-btn--dark { width: 46px; height: 46px; background: var(--l-dark); color: #fff; }
.l-icon-btn--on-dark,
.l-social--dark .l-icon-btn { border-color: var(--l-dark-line); color: #fff; }
.l-icon-btn--on-dark:hover,
.l-social--dark .l-icon-btn:hover { border-color: var(--l-accent-soft); color: var(--l-accent-soft); }

/* ---------- Верхняя полоса ---------- */

.l-topbar {
	background: var(--l-dark);
	color: var(--l-dark-text);
	font-family: var(--l-font-mono);
	font-size: 12px;
}
.l-topbar__inner {
	min-height: 38px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px 32px;
}
.l-topbar__group { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 28px; }
.l-topbar__note { display: flex; align-items: center; gap: 8px; }
.l-topbar__dot { width: 6px; height: 6px; background: var(--l-accent-soft); }
.l-topbar__link { color: var(--l-dark-text); text-decoration: none; }
.l-topbar__link:hover { color: #fff; }
.l-topbar__phone { color: #fff; font-weight: 700; text-decoration: none; white-space: nowrap; }
.l-topbar__phone:hover { color: var(--l-accent-soft); }

@media (max-width: 900px) {
	.l-topbar__hours,
	.l-topbar__email,
	.l-topbar__tg { display: none; }
	.l-topbar__inner { min-height: 36px; flex-direction: row-reverse; }
	.l-topbar__group:first-child { justify-content: flex-end; }
}

/* ---------- Шапка ---------- */

.l-header {
	position: relative;
	z-index: 50;
	background: var(--l-bg);
	border-bottom: 1px solid var(--l-line);
}
.has-sticky-header .l-header { position: sticky; top: 0; }
.admin-bar.has-sticky-header .l-header { top: var(--wp-admin--admin-bar--height, 32px); }
@media (max-width: 600px) { .admin-bar.has-sticky-header .l-header { top: 0; } }
.l-header.is-scrolled { box-shadow: 0 6px 24px -18px rgba(0, 0, 0, .45); }

.l-header__inner {
	min-height: var(--l-header-h);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px 32px;
}
.l-header__actions { display: flex; align-items: center; gap: 10px; }
.l-header__burger { display: none; }

/* Логотип */
.l-logo {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	color: var(--l-ink);
	text-decoration: none;
	flex-shrink: 0;
}
.l-logo:hover { color: var(--l-ink); }
.l-logo__img { max-height: 48px; width: auto; }
.l-logo__text { display: flex; flex-direction: column; gap: 5px; }
.l-logo__name {
	font-family: var(--l-font-logo);
	font-size: 21px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: .14em;
}
.l-logo__tagline {
	font-family: var(--l-font-mono);
	font-size: 9px;
	line-height: 1;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--l-subtle);
}
.l-logo__mark--dark .l-logo__weft { fill: var(--l-ink); }
.l-logo__mark--dark .l-logo__warp { fill: var(--l-accent); }
.l-logo--light,
.l-logo--light:hover { color: #fff; }
.l-logo__mark--light .l-logo__weft { fill: var(--l-bg); }
.l-logo__mark--light .l-logo__warp { fill: var(--l-accent-soft); }
.l-logo--light .l-logo__tagline { color: var(--l-dark-muted); }

/* Меню */
.l-nav__list { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 34px; }
.l-nav__item { position: relative; display: flex; align-items: center; }
.l-nav__link {
	display: flex;
	align-items: center;
	gap: 6px;
	height: 44px;
	border-bottom: 2px solid transparent;
	color: var(--l-text);
	font-size: 15px;
	font-weight: 500;
	text-decoration: none;
}
.l-nav__link:hover,
.l-nav__item.is-current > .l-nav__link {
	color: var(--l-accent);
	border-bottom-color: var(--l-accent);
}
.l-nav__item.is-current > .l-nav__link { font-weight: 600; }
.l-nav__toggle { display: none; }

.l-nav--desktop .l-nav__sub {
	position: absolute;
	top: 100%;
	left: -20px;
	min-width: 280px;
	padding: 10px 0;
	list-style: none;
	background: var(--l-surface);
	border: 1px solid var(--l-ink);
	box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .5);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity .15s, transform .15s, visibility .15s;
}
.l-nav--desktop .has-sub:hover > .l-nav__sub,
.l-nav--desktop .has-sub:focus-within > .l-nav__sub,
.l-nav--desktop .has-sub.is-open > .l-nav__sub { opacity: 1; visibility: visible; transform: none; }
.l-nav--desktop .l-nav__chev { transition: transform .15s; }
.l-nav--desktop .has-sub:hover .l-nav__chev { transform: rotate(180deg); }
.l-nav--desktop .l-nav__sub .l-nav__item { display: block; }
.l-nav__sublink {
	display: block;
	padding: 9px 20px;
	color: var(--l-text);
	font-size: 15px;
	text-decoration: none;
}
.l-nav__sublink:hover { background: var(--l-accent-tint-2); color: var(--l-accent); }
.l-nav__item--all .l-nav__sublink {
	margin-top: 6px;
	border-top: 1px solid var(--l-line);
	font-family: var(--l-font-mono);
	font-size: 13px;
	color: var(--l-accent);
}

/* Поиск */
.l-search { border-top: 1px solid var(--l-line); background: var(--l-surface); padding-block: 16px; }
.l-searchform { display: flex; gap: 8px; max-width: 760px; }
.l-searchform .l-input { flex: 1; }
.l-search-inline { margin-bottom: 32px; }
.l-404 .l-search-inline { margin: 28px 0 0; }

@media (max-width: 1180px) {
	.l-nav--desktop { display: none; }
	.l-header__burger { display: inline-flex; }
}
@media (max-width: 720px) {
	:root { --l-header-h: 64px; }
	.l-header__cta { width: 46px; padding: 0; }
	.l-header__cta-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.l-header__search-btn { display: none; }
	.l-header .l-logo__tagline { display: none; }
	.l-header .l-logo__name { font-size: 18px; }
	.l-header .l-logo__mark { width: 28px; height: 28px; }
	.l-header .l-logo { gap: 10px; }
}

/* ---------- Мобильное меню ---------- */

.l-mmenu {
	position: fixed;
	inset: 0;
	z-index: 200;
	display: flex;
	flex-direction: column;
	background: var(--l-bg);
	overflow-y: auto;
	overscroll-behavior: contain;
}
.l-mmenu[hidden] { display: none; }
.l-mmenu.is-open { animation: l-fade-in .2s var(--l-ease); }
@keyframes l-fade-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

.l-mmenu__head {
	flex-shrink: 0;
	min-height: 64px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-inline: var(--l-gutter);
	border-bottom: 1px solid var(--l-line);
}
.l-mmenu__head .l-logo__name { font-size: 18px; }

.l-nav--mobile { flex: 1; padding: 8px var(--l-gutter) 24px; }
.l-nav--mobile .l-nav__list { display: block; }
.l-nav--mobile .l-nav__item { flex-wrap: wrap; border-bottom: 1px solid var(--l-line); }
.l-nav--mobile .l-nav__link {
	flex: 1;
	height: 60px;
	border: 0;
	font-size: 22px;
	font-weight: 600;
	letter-spacing: -0.02em;
	color: var(--l-ink);
}
.l-nav--mobile .l-nav__chev { display: none; }
.l-nav--mobile .l-nav__toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 0;
	background: none;
	color: var(--l-ink);
	transition: transform .2s;
}
.l-nav--mobile .l-nav__toggle[aria-expanded="true"] { transform: rotate(180deg); color: var(--l-accent); }
.l-nav--mobile .l-nav__sub {
	display: none;
	width: 100%;
	list-style: none;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 2px 12px;
	padding-bottom: 12px;
}
.l-nav--mobile .l-nav__sub.is-open { display: grid; }
.l-nav--mobile .l-nav__sub .l-nav__item { border: 0; }
.l-nav--mobile .l-nav__sublink { min-height: 40px; display: flex; align-items: center; padding: 0; font-size: 15px; }
.l-nav--mobile .l-nav__sublink:hover { background: none; }
.l-nav--mobile .l-nav__item--all { grid-column: 1 / -1; }
.l-nav--mobile .l-nav__item--all .l-nav__sublink { border: 0; margin: 0; }

.l-mmenu__foot {
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 20px var(--l-gutter) 24px;
	background: var(--l-dark);
	color: var(--l-dark-text);
}
.l-mmenu__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.l-mmenu__phone { color: #fff; font-size: 20px; font-weight: 600; text-decoration: none; }
.l-mmenu__meta {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 6px 16px;
	font-family: var(--l-font-mono);
	font-size: 12px;
	color: var(--l-dark-muted);
}
.l-mmenu__meta a { color: inherit; text-decoration: none; }

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

.l-section { padding-block: var(--l-section); }
.l-section--tight { padding-block: clamp(32px, 4vw, 48px) var(--l-section); }
.l-section--compact { padding-block: clamp(40px, 5vw, 64px); }
.l-section--alt { background: var(--l-surface-alt); border-block: 1px solid var(--l-line); }
.l-section--bordered { border-top: 1px solid var(--l-line); }
.l-section + .l-section--alt,
.l-section--alt + .l-section { border-top: 0; }

.l-dark { background: var(--l-dark); color: var(--l-dark-text); }
.l-dark .l-h2,
.l-dark .l-h3,
.l-dark h2,
.l-dark h3 { color: #fff; }

.l-section-head { display: flex; flex-direction: column; gap: 18px; margin-bottom: 40px; }
.l-section-head__main { display: flex; flex-direction: column; gap: 18px; max-width: 860px; }
.l-section-head--split { flex-direction: row; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; }
.l-section-head--split .l-h3 { margin: 0; }

/* Две колонки: контент и фото/аккордеон */
.l-split { display: flex; flex-wrap: wrap; gap: 48px 64px; align-items: stretch; }
.l-split--top { align-items: flex-start; }
.l-split__main { flex: 1 1 560px; min-width: 0; }
.l-split__aside { flex: 1 1 440px; min-width: 0; display: flex; }
.l-split__side { flex: 1 1 340px; min-width: 0; }
.l-split__wide { flex: 2 1 600px; min-width: 0; }
.l-split--faq .l-section-head { margin-bottom: 0; }

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

.l-hero { border-bottom: 1px solid var(--l-line); }
.l-hero__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 48px 56px;
	padding-block: clamp(36px, 5.5vw, 72px);
}
.l-page-hero .l-hero__inner { padding-block: 28px 0; }
.l-hero__content { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.l-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 10px; }

.l-hero__figure {
	position: relative;
	flex: 1 1 480px;
	max-width: 616px;
	aspect-ratio: 616 / 550;
	background-color: var(--l-bg);
	background-image:
		linear-gradient(color-mix(in srgb, var(--l-ink) 7%, transparent) 1px, transparent 1px),
		linear-gradient(90deg, color-mix(in srgb, var(--l-ink) 7%, transparent) 1px, transparent 1px);
	background-size: 24px 24px;
}
.l-hero__media {
	position: absolute;
	left: 2.1%;
	top: 0;
	width: 95.8%;
	height: 99.6%;
	object-fit: contain;
	mix-blend-mode: multiply;
}
video.l-hero__media { object-fit: cover; mix-blend-mode: normal; }
.l-hero__marks { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.l-hero__corners { fill: none; stroke: var(--l-ink); stroke-width: 1.5; }
.l-hero__leaders { fill: none; stroke: var(--l-accent); stroke-width: 1.5; }
.l-hero__callout {
	position: absolute;
	font-family: var(--l-font-mono);
	font-size: 12px;
	font-weight: 500;
	white-space: nowrap;
	color: var(--l-ink);
}
.l-hero__callout b { color: var(--l-accent); }
.l-hero__dots { fill: var(--l-accent); stroke: #fff; stroke-width: 2; }
.l-hero__callout--1 { left: 32.1%; top: 2.5%; }
.l-hero__callout--2 { left: 78.1%; top: 57.3%; white-space: normal; max-width: 21%; }
.l-hero__callout--3 { right: 71.9%; top: 88%; text-align: right; white-space: normal; max-width: 28%; }
.l-hero__caption {
	position: absolute;
	right: 14px; bottom: 12px;
	font-family: var(--l-font-mono);
	font-size: 11px;
	color: var(--l-subtle);
}
@media (max-width: 1100px) {
	.l-hero__figure { max-width: none; flex-basis: 100%; }
}
@media (max-width: 600px) {
	.l-hero__callout { font-size: 10px; }
	.l-hero__callout--2 { left: 70%; max-width: 30%; }
}

.l-hero__inner--cat .l-hero__figure,
.l-hero__inner--product .l-hero__figure { aspect-ratio: 680 / 500; max-width: 680px; flex: 1 1 520px; background: none; }
.l-hero__inner--product { align-items: flex-start; }

/* Характеристики «название — значение» */
.l-specs { font-family: var(--l-font-mono); font-size: 13px; max-width: 600px; border-bottom: 1px solid var(--l-line); }
.l-specs__row {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 16px;
	padding: 10px 0;
	border-top: 1px solid var(--l-line);
}
.l-specs__row dt { width: 170px; flex-shrink: 0; color: var(--l-subtle); }
.l-specs__row dd { flex: 1; min-width: 140px; }
.l-specs--hero { margin-top: 14px; }
.l-specs--cta { border-color: var(--l-line-strong); max-width: 520px; }
.l-specs--cta .l-specs__row { padding: 12px 0; border-color: var(--l-line-strong); }
.l-specs--cta .l-specs__row dt { width: 120px; }
.l-specs--product { max-width: none; }

/* ---------- Преимущества ---------- */

.l-advantages__list {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
	gap: 24px 40px;
	padding-block: 36px;
}
.l-advantage { display: flex; gap: 16px; align-items: flex-start; }
.l-advantage__icon {
	width: 42px; height: 42px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--l-dark-line);
	color: var(--l-accent-soft);
}
.l-advantage__body { display: flex; flex-direction: column; gap: 4px; }
.l-advantage__title { color: #fff; font-size: 16px; font-weight: 600; }
.l-advantage__text { color: var(--l-dark-muted); font-size: 13px; line-height: 1.5; }

/* ---------- Заглушки и медиа ---------- */

.l-media { position: relative; overflow: hidden; background: var(--l-ph); border-radius: var(--l-radius); }
.l-media__img { width: 100%; height: 100%; object-fit: cover; }
.l-media--fill { flex: 1; width: 100%; height: 100%; min-height: 100%; }
.l-media--fill .l-media__img { position: absolute; inset: 0; }

.l-ph {
	display: flex;
	align-items: flex-end;
	padding: 12px;
	background-color: var(--l-ph);
	background-image: repeating-linear-gradient(135deg, color-mix(in srgb, var(--l-ink) 7%, transparent) 0 1px, transparent 1px 11px);
}
.l-ph__label {
	padding: 4px 8px;
	background: var(--l-bg);
	color: color-mix(in srgb, var(--l-ink) 80%, var(--l-bg));
	font-family: var(--l-font-mono);
	font-size: 11px;
	line-height: 1.4;
}
.l-ph__label:empty { display: none; }
.l-ph--dark,
.l-dark .l-ph {
	background-color: var(--l-dark-2);
	background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, .06) 0 1px, transparent 1px 11px);
}
.l-ph--dark .l-ph__label,
.l-dark .l-ph__label { background: var(--l-dark); color: var(--l-dark-text); }

.l-split__aside .l-media { min-height: 460px; }

/* ---------- Сетки и карточки ---------- */

.l-grid { display: grid; gap: 24px; }
.l-grid--cards { grid-template-columns: repeat(auto-fill, minmax(min(360px, 100%), 1fr)); }
.l-grid--projects { grid-template-columns: repeat(auto-fill, minmax(min(360px, 100%), 1fr)); row-gap: 40px; }
.l-grid--links { grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 16px; margin-top: 24px; }

.l-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--l-surface);
	border: 1px solid var(--l-line);
	border-radius: var(--l-radius);
	transition: border-color .15s, transform .2s var(--l-ease), box-shadow .2s;
}
.l-card:hover { border-color: var(--l-ink); box-shadow: 0 18px 36px -30px rgba(0, 0, 0, .6); }
.l-card[hidden] { display: none; }
.l-card__media { height: 220px; flex-shrink: 0; border-radius: var(--l-radius) var(--l-radius) 0 0; }
.l-card__body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 24px; }
.l-card__eyebrow { font-family: var(--l-font-mono); font-size: 12px; color: var(--l-accent); }
.l-card__title { font-size: 23px; line-height: 1.2; letter-spacing: -0.02em; }
.l-card__link { color: var(--l-ink); text-decoration: none; }
.l-card__link::after { content: ""; position: absolute; inset: 0; }
.l-card__link:hover { color: var(--l-ink); }
.l-card__text { font-size: 15px; line-height: 1.55; color: var(--l-muted); }
.l-card__more {
	margin-top: auto;
	padding-top: 8px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--l-accent);
	font-size: 14px;
	font-weight: 600;
}
.l-card:hover .l-card__more svg { transform: translateX(3px); }
.l-card__more svg { transition: transform .2s var(--l-ease); }

/* Мобильная главная: компактные плитки 2 в ряд, как в макете */
@media (max-width: 600px) {
	.l-grid--home-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.l-grid--home-cards .l-card__media { height: 120px; }
	.l-grid--home-cards .l-card__body { padding: 12px; gap: 4px; }
	.l-grid--home-cards .l-card__title { font-size: 15px; line-height: 1.25; letter-spacing: -0.01em; }
	.l-grid--home-cards .l-card__text,
	.l-grid--home-cards .l-card__more,
	.l-grid--home-cards .l-card__eyebrow { display: none; }
	.l-grid--home-cards .l-ph__label { font-size: 9px; padding: 2px 5px; }
}

/* Проекты */
.l-project { position: relative; display: flex; flex-direction: column; gap: 14px; }
.l-project[hidden] { display: none; }
.l-project__media { height: 300px; }
.l-project__media .l-media__img { transition: transform .5s var(--l-ease); }
.l-project:hover .l-project__media .l-media__img { transform: scale(1.03); }
.l-project__eyebrow { font-family: var(--l-font-mono); font-size: 12px; text-transform: uppercase; color: var(--l-accent); }
.l-project__title { font-size: 22px; line-height: 1.25; letter-spacing: -0.02em; }
.l-project__link { color: var(--l-ink); text-decoration: none; }
.l-project__link::after { content: ""; position: absolute; inset: 0; }
.l-project__link:hover { color: var(--l-accent); }
.l-project__text { color: var(--l-muted); font-size: 15px; line-height: 1.55; }

/* Избранный проект */
.l-featured {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
	border: 1px solid var(--l-ink);
	background: var(--l-surface);
}
.l-featured__media { min-height: 420px; }
.l-featured__body { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding: clamp(24px, 3vw, 44px); }
.l-featured__eyebrow { font-family: var(--l-font-mono); font-size: 12px; text-transform: uppercase; color: var(--l-accent); }
.l-featured__title { font-size: clamp(26px, 2.6vw, 38px); }
.l-featured--single .l-featured__body { justify-content: center; }
@media (max-width: 900px) {
	.l-featured { grid-template-columns: 1fr; }
	.l-featured__media { min-height: 260px; }
}

.l-case { width: 100%; border-top: 1px solid var(--l-line); }
.l-case__row { display: grid; grid-template-columns: 130px 1fr; gap: 8px 20px; padding: 14px 0; border-bottom: 1px solid var(--l-line); }
.l-case__row dt { font-family: var(--l-font-mono); font-size: 12px; text-transform: uppercase; color: var(--l-subtle); padding-top: 2px; }
.l-case__row dd { font-size: 15px; line-height: 1.55; color: var(--l-text); }
@media (max-width: 480px) { .l-case__row { grid-template-columns: 1fr; } }

/* Ссылки «Смотрите также» */
.l-xlink {
	min-height: 92px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 16px 24px;
	border: 1px solid var(--l-ink);
	border-radius: var(--l-radius);
	color: var(--l-ink);
	text-decoration: none;
	transition: background-color .15s, color .15s;
}
.l-xlink svg { color: var(--l-accent); }
.l-xlink:hover { background: var(--l-ink); color: #fff; }
.l-xlink:hover svg { color: var(--l-accent-soft); }
.l-xlink__body { display: flex; flex-direction: column; gap: 4px; }
.l-xlink__meta { font-family: var(--l-font-mono); font-size: 11px; color: var(--l-subtle); }
.l-xlink:hover .l-xlink__meta { color: var(--l-dark-muted); }
.l-xlink__title { font-size: 19px; font-weight: 600; line-height: 1.25; }

/* Плашка «Нет нужного изделия?» */
.l-banner {
	margin-top: 24px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 32px;
	padding: 24px 28px;
	background: var(--l-dark);
	color: var(--l-dark-text);
	border-radius: var(--l-radius);
}
.l-banner__title { color: #fff; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.l-banner p { margin-top: 4px; font-size: 15px; }

/* ---------- Этапы, определения, отрасли ---------- */

.l-steps {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
	gap: 32px;
}
.l-steps__item { padding-top: 17px; border-top: 1px solid var(--l-line-strong); }
.l-steps__item:first-child { padding-top: 16px; border-top: 2px solid var(--l-accent); }
.l-steps__num { display: block; font-family: var(--l-font-mono); font-size: 13px; font-weight: 700; color: var(--l-subtle); }
.l-steps__item:first-child .l-steps__num { color: var(--l-accent); }
.l-steps .l-h3 { margin-top: 10px; font-size: 22px; }
.l-steps p { margin-top: 10px; font-size: 15px; line-height: 1.55; color: var(--l-muted); }

.l-deflist { border-bottom: 1px solid var(--l-line); }
.l-deflist__row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
	gap: 4px 24px;
	padding: 16px 0;
	border-top: 1px solid var(--l-line);
}
.l-deflist__row dt { font-family: var(--l-font-mono); font-size: 14px; font-weight: 700; color: var(--l-ink); }
.l-deflist__row.is-accent dt { color: var(--l-accent); }
.l-deflist__row dd { font-size: 15px; line-height: 1.5; color: var(--l-text); }

.l-industries { list-style: none; border-top: 1px solid var(--l-dark-line); }
.l-industries__item {
	position: relative;
	display: flex;
	align-items: center;
	gap: 24px;
	min-height: 76px;
	padding: 10px 16px;
	border-bottom: 1px solid var(--l-dark-line);
	transition: background-color .15s;
}
.l-industries__item:hover { background: var(--l-dark-2); }
.l-industries__num { width: 28px; font-family: var(--l-font-mono); font-size: 13px; color: var(--l-dark-muted); }
.l-industries__item:hover .l-industries__num { color: var(--l-accent-soft); }
.l-industries__body { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.l-industries__title { color: #fff; font-size: clamp(18px, 1.6vw, 22px); font-weight: 600; text-decoration: none; }
a.l-industries__title::after { content: ""; position: absolute; inset: 0; }
a.l-industries__title:hover { color: #fff; }
.l-industries__tags { font-family: var(--l-font-mono); font-size: 12px; color: var(--l-dark-muted); }
.l-industries__arrow { color: var(--l-accent-soft); }

/* ---------- Таблицы ---------- */

.l-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.l-table-wrap:focus-visible { outline-offset: 4px; }
.l-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.l-table thead tr { border-bottom: 1px solid var(--l-ink); }
.l-table thead th {
	padding: 14px 16px;
	text-align: left;
	font-size: 16px;
	font-weight: 600;
	color: var(--l-ink);
}
.l-table thead th:first-child {
	padding-left: 0;
	font-family: var(--l-font-mono);
	font-size: 12px;
	font-weight: 500;
	text-transform: uppercase;
	color: var(--l-subtle);
}
.l-table thead th.is-hl { background: var(--l-accent); color: var(--l-on-accent); }
.l-table tbody tr { border-bottom: 1px solid color-mix(in srgb, var(--l-line) 80%, var(--l-ink)); }
.l-table tbody th { padding: 16px 16px 16px 0; text-align: left; font-weight: 500; color: var(--l-ink); }
.l-table td { padding: 16px; vertical-align: top; }
.l-table td.is-hl { background: var(--l-accent-tint); font-weight: 600; color: var(--l-ink); }

.l-table--sizes { min-width: 860px; }
.l-table--sizes thead tr { border-top: 1px solid var(--l-ink); }
.l-table--sizes thead th {
	font-family: var(--l-font-mono);
	font-size: 12px;
	font-weight: 500;
	text-transform: uppercase;
	color: color-mix(in srgb, var(--l-ink) 80%, var(--l-bg));
}
.l-table--sizes tbody { font-family: var(--l-font-mono); }
.l-table--sizes tbody th { padding: 10px 16px 10px 0; font-family: var(--l-font-body); font-size: 17px; font-weight: 600; }
.l-table--sizes tbody th a { color: var(--l-ink); text-decoration: none; }
.l-table--sizes tbody th a:hover { color: var(--l-accent); text-decoration: underline; }
.l-table--sizes td { padding: 10px 16px; vertical-align: middle; }
.l-table--sizes tbody tr { border-bottom-color: var(--l-line); }
.l-table--sizes tbody tr:hover { background: var(--l-accent-tint-2); }
.l-table--sizes tr[hidden] { display: none; }
.l-table__price { text-align: right !important; white-space: nowrap; padding-right: 0 !important; }
.l-table__price .l-btn { font-family: var(--l-font-body); }
.l-price { margin-right: 12px; font-weight: 700; color: var(--l-ink); }

/* Вкладки и фильтры */
.l-tabs { display: inline-flex; flex-wrap: wrap; border: 1px solid var(--l-ink); border-radius: var(--l-radius); }
.l-tabs__tab {
	min-height: 44px;
	padding: 0 18px;
	border: 0;
	border-left: 1px solid var(--l-ink);
	background: transparent;
	color: var(--l-ink);
	font-size: 14px;
}
.l-tabs__tab:first-child { border-left: 0; }
.l-tabs__tab[aria-selected="true"] { background: var(--l-ink); color: #fff; }

.l-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.l-chip {
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	padding: 0 18px;
	border: 1px solid var(--l-line-strong);
	border-radius: var(--l-radius);
	color: var(--l-ink);
	font-size: 14px;
	text-decoration: none;
	transition: border-color .15s, background-color .15s, color .15s;
}
.l-chip:hover { border-color: var(--l-ink); color: var(--l-ink); }
.l-chip[aria-current="true"] { background: var(--l-ink); border-color: var(--l-ink); color: #fff; }

.l-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.l-tags li,
.l-tags a {
	min-height: 34px;
	display: inline-flex;
	align-items: center;
	padding: 0 12px;
	border: 1px solid var(--l-line-strong);
	color: var(--l-ink);
	font-size: 14px;
	text-decoration: none;
}
.l-tags li:has(a) { padding: 0; border: 0; }
.l-tags--mono li { font-family: var(--l-font-mono); font-size: 12px; }

/* Счётчики в шапке каталога */
.l-page-hero__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; }
.l-counters { display: flex; gap: 40px; }
.l-counters div { display: flex; flex-direction: column-reverse; gap: 2px; }
.l-counters dt { font-family: var(--l-font-mono); font-size: 12px; text-transform: uppercase; color: var(--l-subtle); }
.l-counters dd { font-size: 44px; font-weight: 600; line-height: 1; letter-spacing: -0.03em; color: var(--l-ink); }

/* Цифры на тёмной полосе */
.l-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
	gap: 32px 48px;
	padding-block: 56px;
}
.l-stats__item { padding-top: 18px; border-top: 1px solid var(--l-dark-line); }
.l-stats__value { color: #fff; font-size: 44px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
.l-stats__text { margin-top: 8px; color: var(--l-dark-muted); font-size: 15px; line-height: 1.5; }

/* ---------- Вопросы ---------- */

.l-faq { border-top: 1px solid var(--l-ink); }
.l-faq__item { border-bottom: 1px solid var(--l-line); }
.l-faq__q {
	min-height: 68px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 12px 0;
	list-style: none;
	cursor: pointer;
}
.l-faq__q::-webkit-details-marker { display: none; }
.l-faq__title { font-size: 19px; line-height: 1.35; letter-spacing: -0.01em; }
.l-faq__q:hover .l-faq__title { color: var(--l-accent); }
.l-faq__icon { position: relative; width: 20px; height: 20px; flex-shrink: 0; }
.l-faq__icon::before,
.l-faq__icon::after {
	content: "";
	position: absolute;
	left: 3px; right: 3px; top: 9px;
	height: 2px;
	background: var(--l-ink);
	transition: transform .2s var(--l-ease), background-color .2s;
}
.l-faq__icon::after { transform: rotate(90deg); }
.l-faq__item[open] .l-faq__icon::before,
.l-faq__item[open] .l-faq__icon::after { background: var(--l-accent); }
.l-faq__item[open] .l-faq__icon::after { transform: rotate(0); }
.l-faq__a { max-width: 720px; padding-bottom: 22px; color: var(--l-muted); font-size: 16px; line-height: 1.6; }
.l-faq__a p + p { margin-top: .7em; }

/* ---------- Блок расчёта ---------- */

.l-cta { border-top: 1px solid var(--l-ink); background-color: var(--l-bg); }
.l-cta.has-grid {
	background-image:
		linear-gradient(color-mix(in srgb, var(--l-ink) 5.5%, transparent) 1px, transparent 1px),
		linear-gradient(90deg, color-mix(in srgb, var(--l-ink) 5.5%, transparent) 1px, transparent 1px);
	background-size: 24px 24px;
}
.l-cta__inner { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 48px 72px; padding-block: var(--l-section); }
.l-cta__info { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.l-cta__form { flex: 1 1 540px; min-width: 0; }
.l-cta__contacts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; }
.l-cta__phone { color: var(--l-ink); font-size: 22px; font-weight: 600; text-decoration: none; }
.l-cta__phone:hover { color: var(--l-accent); }
.l-cta__tg { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; text-decoration: none; }

.l-form {
	padding: clamp(20px, 3vw, 40px);
	background: var(--l-surface);
	border: 1px solid var(--l-ink);
	border-radius: var(--l-radius);
}
.l-form--fallback { display: flex; flex-direction: column; gap: 16px; }
.l-form__fallback-title { font-size: 18px; font-weight: 600; color: var(--l-ink); }
.l-form__phone { font-size: 20px; font-weight: 600; color: var(--l-ink); text-decoration: none; }
.l-form__admin-note { padding: 12px; border: 1px dashed var(--l-accent); font-size: 13px; color: var(--l-muted); }

/* Поля ввода (используются и в CF7) */
.l-input,
.l-form input[type="text"],
.l-form input[type="email"],
.l-form input[type="tel"],
.l-form input[type="number"],
.l-form input[type="url"],
.l-form select,
.l-form textarea {
	width: 100%;
	min-height: 52px;
	padding: 0 14px;
	border: 1px solid color-mix(in srgb, var(--l-line) 75%, var(--l-ink));
	border-radius: var(--l-radius);
	background: #fff;
	color: var(--l-ink);
	font: inherit;
	font-size: 15px;
	transition: border-color .15s, box-shadow .15s;
}
.l-form textarea { min-height: 110px; padding: 14px; resize: vertical; }
.l-form select { appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23111214' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.l-input:focus,
.l-form input:focus,
.l-form select:focus,
.l-form textarea:focus { outline: none; border-color: var(--l-accent); box-shadow: 0 0 0 3px var(--l-accent-tint); }
.l-input::placeholder,
.l-form ::placeholder { color: color-mix(in srgb, var(--l-muted) 75%, var(--l-bg)); }

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

.l-page-hero { padding-block: 32px clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--l-line); }
.l-page-hero--media { padding-bottom: clamp(40px, 5vw, 64px); }
.l-page-hero__head { display: flex; flex-direction: column; gap: 20px; max-width: 900px; margin-top: 28px; }
.l-page-hero__row .l-page-hero__head { flex: 1 1 560px; }

.l-crumbs ol {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 4px 8px;
	font-family: var(--l-font-mono);
	font-size: 12px;
	color: var(--l-subtle);
}
.l-crumbs li { display: inline-flex; align-items: center; gap: 8px; }
.l-crumbs li + li::before { content: "/"; }
.l-crumbs a { color: var(--l-subtle); }
.l-crumbs a:hover { color: var(--l-accent); }
.l-crumbs [aria-current] { color: var(--l-ink); }

.l-banner-media { position: relative; margin-top: 40px; height: clamp(260px, 36vw, 520px); display: flex; }
.l-banner-media__tags {
	position: absolute;
	left: 16px; bottom: 16px;
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.l-banner-media__tags li {
	padding: 8px 12px;
	background: var(--l-dark);
	color: #fff;
	font-family: var(--l-font-mono);
	font-size: 12px;
}
.l-banner-media .l-ph { align-items: flex-start; }

/* Покупка в карточке изделия */
.l-buybox {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 24px;
	padding: 20px;
	border: 1px solid var(--l-ink);
	background: var(--l-surface);
}
.l-buybox__price { display: flex; flex-direction: column; gap: 4px; }
.l-buybox__value { font-size: 26px; font-weight: 600; letter-spacing: -0.02em; color: var(--l-ink); }
.l-buybox__stock { font-family: var(--l-font-mono); font-size: 12px; color: var(--l-subtle); }

/* Контакты */
.l-contacts { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 40px 64px; }
.l-contacts__form { flex: 2 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.l-contacts__aside { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; border-top: 1px solid var(--l-ink); }
.l-contact { display: flex; flex-direction: column; gap: 6px; padding: 20px 0; border-bottom: 1px solid var(--l-line); }
.l-contact__label { font-family: var(--l-font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--l-subtle); }
.l-contact__big { color: var(--l-ink); font-size: clamp(22px, 2vw, 28px); font-weight: 600; text-decoration: none; letter-spacing: -0.01em; }
.l-contact__big:hover { color: var(--l-accent); }
.l-contact__link { font-size: 16px; font-weight: 500; text-decoration: none; }
.l-contact__link--icon { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; }
.l-contact__text { color: var(--l-ink); font-size: 16px; }
.l-contact__text--mono { font-family: var(--l-font-mono); font-size: 13px; line-height: 1.7; }
.l-contact__note { color: var(--l-muted); font-size: 14px; }

/* Карта */
.l-map { position: relative; border-top: 1px solid var(--l-line); }
.l-map__canvas { position: relative; height: clamp(320px, 36vw, 440px); background: color-mix(in srgb, var(--l-ink) 9%, var(--l-bg)); overflow: hidden; }
.l-map__canvas iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.l-map__scheme { position: absolute; inset: 0; width: 100%; height: 100%; }
.l-map__roads { stroke: #fff; }
.l-map__blocks { fill: color-mix(in srgb, var(--l-ink) 16%, var(--l-bg)); }
.l-map__target { fill: var(--l-accent-tint); stroke: var(--l-accent); stroke-width: 2; }
.l-map__pin {
	position: absolute;
	right: 18%; top: 18%;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 14px;
	background: var(--l-accent);
	color: var(--l-on-accent);
	font-family: var(--l-font-mono);
	font-size: 12px;
	text-transform: uppercase;
}
.l-map__load { position: absolute; right: var(--l-gutter); bottom: 24px; }
.l-map__card-wrap { position: absolute; left: 0; right: 0; bottom: 24px; pointer-events: none; }
.l-map__card {
	pointer-events: auto;
	max-width: 400px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 22px;
	background: var(--l-surface);
	border: 1px solid var(--l-ink);
}
.l-map.is-loaded .l-map__scheme,
.l-map.is-loaded .l-map__pin,
.l-map.is-loaded .l-map__load { display: none; }
@media (max-width: 700px) {
	.l-map__card-wrap { position: static; padding-block: 20px; }
	.l-map__card { max-width: none; }
	.l-map__load { bottom: 16px; left: var(--l-gutter); right: var(--l-gutter); }
	.l-map__pin { right: 10%; }
}

/* ---------- Контент редактора ---------- */

.l-prose { max-width: 820px; color: var(--l-text); font-size: 17px; line-height: 1.7; }
.l-prose > * + * { margin-top: 1.1em; }
.l-prose h2 { margin-top: 1.8em; font-size: clamp(24px, 2.2vw, 32px); line-height: 1.15; letter-spacing: -0.025em; }
.l-prose h3 { margin-top: 1.5em; font-size: 22px; line-height: 1.25; letter-spacing: -0.02em; }
.l-prose h4 { margin-top: 1.4em; font-size: 18px; }
.l-prose > :first-child { margin-top: 0; }
.l-prose ul,
.l-prose ol { padding-left: 1.3em; }
.l-prose li + li { margin-top: .4em; }
.l-prose ul li::marker { color: var(--l-accent); }
.l-prose blockquote {
	margin-inline: 0;
	padding: 4px 0 4px 24px;
	border-left: 2px solid var(--l-accent);
	color: var(--l-ink);
	font-size: 19px;
}
.l-prose figure img { width: 100%; }
.l-prose figcaption { margin-top: 8px; font-family: var(--l-font-mono); font-size: 12px; color: var(--l-subtle); }
.l-prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.l-prose th,
.l-prose td { padding: 12px 14px 12px 0; border-bottom: 1px solid var(--l-line); text-align: left; }
.l-prose thead th { border-bottom-color: var(--l-ink); font-family: var(--l-font-mono); font-size: 12px; font-weight: 500; text-transform: uppercase; color: var(--l-subtle); }
.l-prose code { font-family: var(--l-font-mono); font-size: .9em; }
.l-prose .alignwide { max-width: none; }
.l-prose--columns { max-width: none; columns: 2 420px; column-gap: 48px; font-size: 15px; color: var(--l-muted); }
.l-prose--columns > * { break-inside: avoid; }
.l-prose--columns h2 { column-span: all; margin: 0 0 22px; color: var(--l-ink); font-size: clamp(22px, 2.2vw, 32px); }
.l-prose--columns > * + * { margin-top: 0; margin-bottom: 1em; }

.l-article__meta { display: flex; flex-wrap: wrap; gap: 6px 20px; font-family: var(--l-font-mono); font-size: 12px; color: var(--l-subtle); }
.l-article__layout { display: flex; flex-wrap: wrap; gap: 48px; }
.l-article__layout .l-prose { flex: 1 1 640px; }
.l-article__aside { flex: 0 1 300px; }
.l-article__cover { margin-bottom: 32px; }
.l-postnav { display: block; padding-bottom: var(--l-section); }
.l-postnav .nav-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 16px; }
.l-postnav a { display: flex; flex-direction: column; gap: 4px; padding: 20px 24px; border: 1px solid var(--l-ink); color: var(--l-ink); text-decoration: none; }
.l-postnav a:hover { background: var(--l-ink); color: #fff; }
.l-postnav__label { font-family: var(--l-font-mono); font-size: 11px; color: var(--l-subtle); }
.l-postnav__title { font-size: 18px; font-weight: 600; }

.l-widget + .l-widget { margin-top: 32px; }
.l-widget__title { margin-bottom: 12px; font-size: 18px; }

/* Блочные секции из паттернов (Производство, Контакты): полоса на всю ширину */
.l-blocks--sections > * { margin: 0; }
.l-band {
	padding-block: var(--l-section);
	padding-inline: max(var(--l-gutter), calc((100% - var(--l-container)) / 2 + var(--l-gutter)));
}
.l-band.has-surface-alt-background-color { border-block: 1px solid var(--l-line); }
.l-band + .l-band:not([class*="background-color"]) { padding-top: 0; }
.l-band > * + * { margin-top: 24px; }
.l-band > .l-band__eyebrow + * { margin-top: 18px; }
.l-band .wp-block-heading { max-width: 900px; }
.l-band h2.wp-block-heading { font-size: clamp(28px, 3.3vw, 48px); line-height: 1.06; }
.l-band h3.wp-block-heading { font-size: 22px; line-height: 1.25; letter-spacing: -0.02em; }
.l-band p { max-width: 720px; color: var(--l-muted); font-size: 17px; }
.l-band.l-dark p { color: var(--l-dark-muted); }

.l-band__eyebrow {
	font-family: var(--l-font-mono);
	font-size: 13px !important;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: color-mix(in srgb, var(--l-ink) 80%, var(--l-bg)) !important;
}
.l-band__eyebrow strong { color: var(--l-accent); font-weight: 700; margin-right: 8px; }

.l-band .wp-block-columns { gap: 32px; margin-top: 40px; }

.l-steps-blocks.wp-block-columns { flex-wrap: wrap !important; gap: 32px 24px; }
.l-steps-blocks > .wp-block-column { flex: 1 1 200px !important; padding-top: 16px; border-top: 1px solid var(--l-line-strong); }
.l-steps-blocks > .wp-block-column:first-child { border-top: 2px solid var(--l-accent); }
.l-steps-blocks .l-num { font-family: var(--l-font-mono); font-size: 13px; font-weight: 700; color: var(--l-subtle); }
.l-steps-blocks > .wp-block-column:first-child .l-num { color: var(--l-accent); }
.l-steps-blocks h3 { margin-top: 10px !important; }
.l-steps-blocks p { margin-top: 10px; font-size: 15px; }

.l-cards-blocks.wp-block-columns { flex-wrap: wrap !important; gap: 24px; }
.l-cards-blocks > .wp-block-column {
	flex: 1 1 300px !important;
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 0 0 28px;
	border: 1px solid var(--l-line);
	background: var(--l-surface);
}
.l-cards-blocks > .wp-block-column > *:not(figure) { margin: 0 28px; }
.l-cards-blocks > .wp-block-column > figure { margin: 0; }
.l-cards-blocks figure img { width: 100%; height: 220px; object-fit: cover; }
.l-cards-blocks .l-num { font-family: var(--l-font-mono); font-size: 12px; color: var(--l-accent); margin-top: 24px !important; }
.l-cards-blocks figure + .l-num { margin-top: 0 !important; }
.l-cards-blocks p { font-size: 15px; }
.l-cards-blocks .l-when {
	margin-top: auto !important;
	padding-top: 12px;
	border-top: 1px solid var(--l-line);
	font-family: var(--l-font-mono);
	font-size: 12px;
	color: color-mix(in srgb, var(--l-ink) 80%, var(--l-bg));
}

.l-deflist-table.wp-block-table { margin-top: 28px; }
.l-deflist-table table { width: 100%; border-collapse: collapse; }
.l-deflist-table td { padding: 16px 24px 16px 0; border: 0; border-top: 1px solid var(--l-line); vertical-align: top; font-size: 15px; color: var(--l-text); }
.l-deflist-table tr:last-child td { border-bottom: 1px solid var(--l-line); }
.l-deflist-table td:first-child { width: 38%; font-family: var(--l-font-mono); font-size: 14px; font-weight: 700; color: var(--l-ink); }

.l-quality.wp-block-columns { flex-wrap: wrap !important; gap: 24px; }
.l-quality > .wp-block-column { flex: 1 1 240px !important; padding: 24px; background: var(--l-dark-2); border-top: 2px solid var(--l-accent-soft); }
.l-quality h3 { color: #fff !important; }
.l-quality p { margin-top: 8px; font-size: 15px; }

.l-values { list-style: none !important; padding: 0 !important; border-top: 1px solid var(--l-line); }
.l-values li { padding: 14px 0; border-bottom: 1px solid var(--l-line); color: var(--l-muted); font-size: 15px; }
.l-values li strong { display: block; color: var(--l-ink); font-size: 17px; }

.l-band .wp-block-image img { width: 100%; }
.l-band .is-style-l-photo img { aspect-ratio: 4 / 3; object-fit: cover; }

.l-band--bordered { border-top: 1px solid var(--l-line); }
.l-band.l-dark .l-band__eyebrow { color: var(--l-dark-text) !important; }
.l-band.l-dark .l-band__eyebrow strong { color: var(--l-accent-soft); }
.l-band.l-dark h2,
.l-band.l-dark h3 { color: #fff; }
.l-chips-list { list-style: none !important; padding: 0 !important; display: flex; flex-wrap: wrap; gap: 10px; }
.l-chips-list li { min-height: 44px; display: inline-flex; align-items: center; padding: 0 16px; background: var(--l-surface); border: 1px solid var(--l-line); font-size: 15px; }
.l-text-cols p { font-size: 15px; line-height: 1.7; }

/* Кнопки блоков ядра в стиле темы */
.wp-block-button__link {
	border-radius: var(--l-radius);
	background: var(--l-accent);
	color: var(--l-on-accent);
	font-weight: 600;
	padding: 16px 28px;
}
.wp-block-button__link:hover { background: var(--l-accent-hover); color: var(--l-on-accent); }
.is-style-outline .wp-block-button__link { border: 1px solid var(--l-accent); color: var(--l-accent); background: transparent; }
.wp-block-details { border-bottom: 1px solid var(--l-line); padding: 18px 0; }
.wp-block-details summary { cursor: pointer; font-size: 19px; font-weight: 600; color: var(--l-ink); }
.wp-block-details[open] summary { margin-bottom: 12px; color: var(--l-accent); }

/* Контент категории каталога */
.l-term-content > *:not(.l-band) { max-width: var(--l-container); margin-inline: auto; padding-inline: var(--l-gutter); }
.l-term-content > p:first-child { padding-top: var(--l-section); }

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

.l-footer { background: var(--l-dark); color: var(--l-dark-text); font-size: 14px; }
.l-footer__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
	gap: 40px;
	padding-top: 64px;
}
.l-footer__col { display: flex; flex-direction: column; gap: 12px; }
.l-footer__about { gap: 20px; }
.l-footer__text { max-width: 320px; color: var(--l-dark-muted); line-height: 1.6; }
.l-footer__title {
	margin-bottom: 6px;
	font-family: var(--l-font-mono);
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: var(--l-dark-muted);
}
.l-footer__list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.l-footer a { color: color-mix(in srgb, #fff 90%, var(--l-dark)); text-decoration: none; }
.l-footer a:hover { color: var(--l-accent-soft); }
.l-footer__phone { color: #fff !important; font-size: 20px; font-weight: 600; }
.l-footer__address { line-height: 1.55; }
.l-footer .l-btn { margin-top: 6px; color: var(--l-on-accent); }
.l-footer .l-btn:hover { color: var(--l-on-accent); }
.l-social { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.l-footer__bottom {
	margin-top: 56px;
	padding: 22px 0 28px;
	border-top: 1px solid var(--l-dark-line);
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px 32px;
	font-family: var(--l-font-mono);
	font-size: 12px;
	color: var(--l-dark-muted);
}
.l-footer__legal { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.l-footer__legal-list { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 28px; }
.l-footer__bottom a { color: var(--l-dark-muted); text-decoration: underline; }

/* ---------- Прочее ---------- */

.l-pagination { margin-top: 40px; }
.l-pagination ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.l-pagination a,
.l-pagination span {
	min-width: 44px;
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 14px;
	border: 1px solid var(--l-line-strong);
	color: var(--l-ink);
	text-decoration: none;
}
.l-pagination .current { background: var(--l-ink); border-color: var(--l-ink); color: #fff; }
.l-pagination a:hover { border-color: var(--l-ink); }

.l-more { margin-top: 40px; display: flex; justify-content: center; }
.l-more .l-btn { min-width: 280px; }
.l-more .l-btn[aria-busy="true"] { opacity: .6; pointer-events: none; }

.l-empty { padding: 40px 0; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; color: var(--l-muted); font-size: 17px; }

.l-404__code { font-family: var(--l-font-mono); font-size: clamp(64px, 12vw, 140px); font-weight: 700; line-height: 1; color: var(--l-accent); margin-top: 28px; }
.l-404 .l-h1 { margin-top: 16px; }
.l-404 .l-lead { margin-top: 16px; }

.l-comments { list-style: none; padding: 0; }
.l-comments .comment-body { padding: 16px 0; border-bottom: 1px solid var(--l-line); }

/* Появление при прокрутке (только если поддерживается) */
@supports (animation-timeline: view()) {
	@media (prefers-reduced-motion: no-preference) {
		.l-card,
		.l-project,
		.l-steps__item {
			animation: l-rise linear both;
			animation-timeline: view();
			animation-range: entry 0% entry 30%;
		}
	}
}
@keyframes l-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* Печать: только содержимое */
@media print {
	.l-topbar, .l-header, .l-footer, .l-cta, .l-mmenu, .l-map { display: none !important; }
	body { background: #fff; }
}
