/* ==========================================================================
   ЭНЕРГОКОНТУР — дочерняя тема Astra
   1. Токены      2. База       3. Раскладка    4. Шапка
   5. Герой       6. Секции     7. Карточки      8. Этапы
   9. Объекты    10. FAQ       11. Формы        12. Подвал
  13. Внутренние страницы      14. Адаптив
   ========================================================================== */

/* 1. ТОКЕНЫ ---------------------------------------------------------------- */
:root {
	--ink: #0b0f14;
	--ink-soft: #121923;
	--ink-3: #18222f;
	--ink-line: #223044;
	--line: #dfe3e9;
	--line-soft: #eceef2;
	--paper: #f2f4f6;
	--paper-soft: #e7eaee;
	--white: #ffffff;

	--text: #0f151c;
	--text-muted: #56626f;
	--on-dark: #e9edf2;
	--on-dark-muted: #96a3b4;

	--accent: #ffc61a;
	--accent-strong: #f2b300;
	--accent-ink: #0b0f14;

	--radius: 16px;
	--radius-sm: 10px;
	--radius-xs: 6px;
	--shadow: 0 24px 60px -28px rgba(11, 15, 20, 0.45);
	--shadow-soft: 0 12px 30px -18px rgba(11, 15, 20, 0.35);

	--container: 1220px;
	--gutter: clamp(18px, 4vw, 32px);

	--fs-h1: clamp(32px, 3.7vw, 56px);
	--fs-h2: clamp(27px, 2.9vw, 42px);
	--fs-h3: clamp(19px, 1.4vw, 23px);
	--fs-lead: clamp(16px, 1.15vw, 19px);
	--fs-body: 17px;
	--fs-small: 14px;
	--fs-mono: 12px;

	--font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	--font-display: "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--font-mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

	--header-h: 78px;
	--ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* 2. БАЗА ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body,
body.ast-separate-container,
body.ast-two-container {
	margin: 0;
	background: var(--white);
	color: var(--text);
	font-family: var(--font-body);
	font-size: var(--fs-body);
	line-height: 1.62;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6,
.entry-content h1, .entry-content h2, .entry-content h3 {
	font-family: var(--font-display);
	font-weight: 700;
	letter-spacing: -0.025em;
	line-height: 1.08;
	color: var(--text);
	margin: 0 0 0.5em;
}

h1 { font-size: var(--fs-h1); font-weight: 800; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); letter-spacing: -0.015em; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-decoration: none; transition: color 0.18s var(--ease); }
a:hover { color: var(--accent-strong); }

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

ul, ol { margin: 0 0 1.1em; padding-left: 1.2em; }
li { margin-bottom: 0.4em; }

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

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

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

.ek-skip-link:focus {
	position: fixed;
	top: 8px; left: 8px;
	z-index: 9999;
	padding: 10px 16px;
	background: var(--accent);
	color: var(--accent-ink);
	font-weight: 600;
	clip: auto;
	width: auto; height: auto;
}

/* 3. РАСКЛАДКА ------------------------------------------------------------- */
/* Astra-контейнеры для лендинг-шаблона превращаем в полноширинную обёртку */
.ek-landing .site-content,
.ek-landing .ast-container,
.ek-landing #primary,
.ek-landing .site-main {
	max-width: none !important;
	width: 100%;
	margin: 0 !important;
	padding: 0 !important;
	float: none;
}

.ek-landing .ast-container { display: block; }

.ek-landing .entry-content > * { max-width: none; }

.wrap {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding-left: var(--gutter);
	padding-right: var(--gutter);
}

.wrap--narrow { max-width: 880px; }

.section {
	position: relative;
	padding: clamp(58px, 6.4vw, 104px) 0;
	background: var(--white);
	color: var(--text);
}

.section--paper { background: var(--paper); }
.section--ink { background: var(--ink); color: var(--on-dark); }
.section--ink h2, .section--ink h3, .section--ink h4 { color: var(--on-dark); }
.section--ink p { color: var(--on-dark-muted); }
.section--tight { padding-top: clamp(40px, 4vw, 64px); padding-bottom: clamp(40px, 4vw, 64px); }
.section--flush-top { padding-top: 0; }
.section--flush-bottom { padding-bottom: 0; }

.section--grid::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
	background-size: 72px 72px;
	pointer-events: none;
	mask-image: radial-gradient(ellipse at 70% 10%, #000 20%, transparent 78%);
	-webkit-mask-image: radial-gradient(ellipse at 70% 10%, #000 20%, transparent 78%);
}

.section > .wrap { position: relative; z-index: 1; }

.section-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: clamp(30px, 3.4vw, 52px);
}

.section-head__text { max-width: 720px; }
.section-head h2 { margin-bottom: 14px; }
.section-head p { color: var(--text-muted); font-size: var(--fs-lead); max-width: 640px; margin-bottom: 0; }
.section--ink .section-head p { color: var(--on-dark-muted); }

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-mono);
	font-size: var(--fs-mono);
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--accent-strong);
	margin-bottom: 18px;
}

.eyebrow::before {
	content: "";
	display: block;
	width: 26px;
	height: 2px;
	background: var(--accent);
}

.hazard {
	display: inline-block;
	width: 100%;
	height: 6px;
	background: repeating-linear-gradient(
		135deg,
		var(--accent) 0 12px,
		transparent 12px 24px
	);
	opacity: 0.9;
}

/* 4. ШАПКА ----------------------------------------------------------------- */
.ek-header {
	position: sticky;
	top: 0;
	z-index: 900;
	background: var(--ink);
	color: var(--on-dark);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ek-topbar {
	background: #070a0e;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	font-family: var(--font-mono);
	font-size: 11.5px;
	letter-spacing: 0.06em;
	color: var(--on-dark-muted);
}

.ek-topbar .wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 38px;
	flex-wrap: wrap;
}

.ek-topbar__left,
.ek-topbar__right {
	display: flex;
	align-items: center;
	gap: 22px;
	flex-wrap: wrap;
}

.ek-topbar__item { display: inline-flex; align-items: center; gap: 8px; }
.ek-topbar__item svg { width: 14px; height: 14px; stroke: var(--accent); fill: none; stroke-width: 1.6; }
.ek-topbar a:hover { color: var(--accent); }

.ek-header__main { position: relative; }

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

.ek-logo {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	flex-shrink: 0;
	color: var(--white);
}

.ek-logo svg { width: 38px; height: 38px; flex-shrink: 0; }

.ek-logo__text { display: flex; flex-direction: column; line-height: 1.1; }

.ek-logo__name {
	font-family: var(--font-display);
	font-size: 21px;
	font-weight: 800;
	letter-spacing: -0.02em;
	text-transform: uppercase;
	color: var(--white);
}

.ek-logo__tag {
	font-family: var(--font-mono);
	font-size: 9.5px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--on-dark-muted);
	margin-top: 3px;
}

.ek-nav {
	display: flex;
	align-items: center;
	gap: 4px;
	flex: 1;
	justify-content: center;
}

.ek-nav a,
.ek-nav .menu-item > a {
	display: inline-flex;
	align-items: center;
	padding: 10px 14px;
	font-size: 15px;
	font-weight: 500;
	color: #d7dee8;
	border-radius: var(--radius-xs);
	transition: color 0.18s var(--ease), background 0.18s var(--ease);
}

.ek-nav a:hover,
.ek-nav .menu-item > a:hover,
.ek-nav .current-menu-item > a {
	color: var(--white);
	background: rgba(255, 255, 255, 0.07);
}

.ek-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.ek-nav li { position: relative; margin: 0; }

.ek-nav .sub-menu {
	position: absolute;
	top: calc(100% + 10px);
	left: 0;
	min-width: 290px;
	padding: 8px;
	background: var(--ink-soft);
	border: 1px solid rgba(255, 255, 255, 0.09);
	border-radius: var(--radius-sm);
	box-shadow: var(--shadow);
	display: flex;
	flex-direction: column;
	gap: 2px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: all 0.18s var(--ease);
}

.ek-nav li:hover > .sub-menu,
.ek-nav li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.ek-nav .sub-menu a { width: 100%; font-size: 14.5px; color: #c9d3df; }
.ek-nav .sub-menu li { margin: 0; }

.ek-header__actions {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-shrink: 0;
}

.ek-header__phone {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	line-height: 1.2;
}

.ek-header__phone a {
	font-family: var(--font-mono);
	font-size: 15px;
	font-weight: 500;
	color: var(--white);
	letter-spacing: -0.01em;
}

.ek-header__phone span {
	font-size: 11px;
	color: var(--on-dark-muted);
	margin-top: 3px;
}

.ek-burger {
	display: none;
	width: 44px;
	height: 44px;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: var(--radius-xs);
	color: var(--white);
	cursor: pointer;
	padding: 0;
}

.ek-burger svg { width: 20px; height: 20px; }

.ek-mobile {
	display: none;
	position: fixed;
	inset: var(--header-h) 0 0 0;
	background: var(--ink);
	z-index: 890;
	padding: 24px var(--gutter) 40px;
	overflow-y: auto;
	transform: translateY(-8px);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}

.ek-mobile.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }

.ek-mobile ul { list-style: none; margin: 0 0 24px; padding: 0; }
.ek-mobile ul li { border-bottom: 1px solid rgba(255, 255, 255, 0.08); margin: 0; }
.ek-mobile a {
	display: block;
	padding: 15px 0;
	font-size: 19px;
	font-weight: 500;
	color: var(--on-dark);
}
.ek-mobile .sub-menu { margin: 0 0 10px 14px; }
.ek-mobile .sub-menu a { font-size: 16px; color: var(--on-dark-muted); padding: 10px 0; }

.ek-mobile__contacts { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.ek-mobile__phone { font-family: var(--font-mono); font-size: 22px; color: var(--white); }

/* 5. ГЕРОЙ ----------------------------------------------------------------- */
.hero {
	position: relative;
	overflow: hidden;
	background: var(--ink);
	color: var(--on-dark);
	padding: clamp(48px, 5.2vw, 84px) 0 clamp(52px, 5.4vw, 88px);
}

.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
	background-size: 76px 76px;
	mask-image: radial-gradient(ellipse 90% 80% at 65% 0%, #000 10%, transparent 75%);
	-webkit-mask-image: radial-gradient(ellipse 90% 80% at 65% 0%, #000 10%, transparent 75%);
	pointer-events: none;
}

.hero::after {
	content: "";
	position: absolute;
	width: 720px;
	height: 720px;
	right: -220px;
	top: -300px;
	background: radial-gradient(circle, rgba(255, 198, 26, 0.16) 0%, transparent 62%);
	pointer-events: none;
}

.hero__inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
	gap: clamp(32px, 4vw, 64px);
	align-items: center;
}

.hero h1 {
	color: var(--white);
	font-size: var(--fs-h1);
	letter-spacing: -0.03em;
	margin-bottom: 22px;
}

.hero h1 em {
	font-style: normal;
	color: var(--accent);
	position: relative;
	white-space: nowrap;
}

.hero__lead {
	font-size: var(--fs-lead);
	color: var(--on-dark-muted);
	max-width: 560px;
	margin-bottom: 30px;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 38px; }

.hero__note {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	color: var(--on-dark-muted);
	margin-top: 16px;
}

.hero__note svg { width: 16px; height: 16px; stroke: var(--accent); fill: none; stroke-width: 1.8; flex-shrink: 0; }

.hero__stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	padding-top: 30px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero__stat b {
	display: block;
	font-family: var(--font-display);
	font-size: clamp(24px, 2.2vw, 32px);
	font-weight: 800;
	color: var(--white);
	letter-spacing: -0.02em;
	line-height: 1;
	margin-bottom: 8px;
}

.hero__stat b span { color: var(--accent); }

.hero__stat small {
	display: block;
	font-size: 12.5px;
	color: var(--on-dark-muted);
	line-height: 1.35;
}

.hero__visual { position: relative; }

.hero__diagram {
	background: linear-gradient(160deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.012));
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: var(--radius);
	padding: 22px;
	backdrop-filter: blur(2px);
}

.hero__diagram-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-family: var(--font-mono);
	font-size: 10.5px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--on-dark-muted);
	padding-bottom: 14px;
	border-bottom: 1px dashed rgba(255, 255, 255, 0.14);
	margin-bottom: 16px;
}

.hero__diagram-dot {
	width: 7px; height: 7px;
	border-radius: 50%;
	background: #35d07f;
	box-shadow: 0 0 0 4px rgba(53, 208, 127, 0.15);
	display: inline-block;
	margin-right: 8px;
}

.hero__diagram svg { width: 100%; height: auto; }

.hero__badge {
	position: absolute;
	left: -18px;
	bottom: -18px;
	background: var(--accent);
	color: var(--accent-ink);
	border-radius: var(--radius-sm);
	padding: 14px 18px;
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	box-shadow: var(--shadow);
	line-height: 1.45;
	max-width: 230px;
}

.hero__badge b { display: block; font-family: var(--font-display); font-size: 17px; letter-spacing: -0.01em; text-transform: none; margin-bottom: 2px; }

/* 6. СЕКЦИИ: списки, сетки ------------------------------------------------ */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--auto { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.card {
	display: flex;
	flex-direction: column;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 30px 28px 28px;
	transition: border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.card:hover {
	border-color: var(--accent);
	transform: translateY(-4px);
	box-shadow: var(--shadow-soft);
}

.card__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 24px;
}

.card__num {
	font-family: var(--font-mono);
	font-size: 12px;
	letter-spacing: 0.12em;
	color: var(--text-muted);
}

.card__icon {
	width: 52px; height: 52px;
	display: grid;
	place-items: center;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: 12px;
	color: var(--ink);
}

.card__icon svg { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 1.5; }

.card h3 { margin-bottom: 12px; }
.card p { color: var(--text-muted); font-size: 15.5px; margin-bottom: 18px; }

.card__list {
	list-style: none;
	margin: 0 0 22px;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
	font-size: 14.5px;
	color: var(--text-muted);
}

.card__list li { position: relative; padding-left: 20px; margin: 0; }
.card__list li::before {
	content: "";
	position: absolute;
	left: 0; top: 8px;
	width: 7px; height: 7px;
	border: 1.5px solid var(--accent-strong);
	border-radius: 1px;
	transform: rotate(45deg);
}

.card__link {
	margin-top: auto;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	font-size: 14.5px;
	color: var(--text);
	border-bottom: 1px solid var(--line);
	padding-bottom: 4px;
	align-self: flex-start;
	transition: gap 0.18s var(--ease), border-color 0.18s var(--ease), color 0.18s var(--ease);
}

.card__link::after { content: "→"; font-family: var(--font-mono); }
.card__link:hover { color: var(--accent-strong); border-color: var(--accent); gap: 12px; }

/* Список преимуществ */
.feature {
	padding: 26px 24px 24px;
	border-top: 2px solid var(--ink);
	background: transparent;
}

.feature__icon {
	width: 44px; height: 44px;
	display: grid;
	place-items: center;
	margin-bottom: 18px;
	color: var(--accent-strong);
}

.feature__icon svg { width: 28px; height: 28px; stroke: currentColor; fill: none; stroke-width: 1.5; }

.feature h3 { font-size: 18px; margin-bottom: 8px; letter-spacing: -0.01em; }
.feature p { font-size: 14.5px; color: var(--text-muted); margin: 0; }

.section--ink .feature { border-top-color: var(--accent); }
.section--ink .feature h3 { color: var(--white); }
.section--ink .feature p { color: var(--on-dark-muted); }
.section--ink .feature__icon { color: var(--accent); }

/* 7. ЦИФРЫ ----------------------------------------------------------------- */
.stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}

.stats__item {
	padding: 28px 24px;
	border-right: 1px solid var(--line);
}

.stats__item:last-child { border-right: 0; }

.stats__num {
	font-family: var(--font-display);
	font-size: clamp(30px, 3vw, 44px);
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1;
	margin-bottom: 10px;
	color: var(--text);
}

.stats__num span { color: var(--accent-strong); }
.stats__label { font-size: 13.5px; color: var(--text-muted); line-height: 1.4; }

.section--ink .stats { border-color: rgba(255, 255, 255, 0.12); }
.section--ink .stats__item { border-color: rgba(255, 255, 255, 0.12); }
.section--ink .stats__num { color: var(--white); }
.section--ink .stats__label { color: var(--on-dark-muted); }

/* 8. ЭТАПЫ ----------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: step; }

.step {
	position: relative;
	padding: 28px 26px 26px;
	border-left: 1px solid var(--line);
	background: var(--white);
}

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

.step__num {
	font-family: var(--font-mono);
	font-size: 13px;
	font-weight: 500;
	color: var(--accent-strong);
	letter-spacing: 0.12em;
	margin-bottom: 40px;
	display: block;
}

.step__num::after {
	content: "";
	display: block;
	width: 34px;
	height: 2px;
	background: var(--accent);
	margin-top: 12px;
}

.step h3 { font-size: 18px; margin-bottom: 10px; }
.step p { font-size: 14.5px; color: var(--text-muted); margin: 0; }

.section--ink .step { background: transparent; border-left-color: rgba(255, 255, 255, 0.12); }
.section--ink .step h3 { color: var(--white); }
.section--ink .step p { color: var(--on-dark-muted); }

/* 9. ОБЪЕКТЫ --------------------------------------------------------------- */
.obj-card {
	display: flex;
	flex-direction: column;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}

.obj-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); border-color: var(--ink-line); }

.obj-card__media {
	position: relative;
	aspect-ratio: 16 / 10;
	background:
		radial-gradient(circle at 78% 22%, rgba(255, 198, 26, 0.22), transparent 55%),
		linear-gradient(150deg, #141c27, #0b0f14);
	color: var(--on-dark);
	padding: 22px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	overflow: hidden;
}

.obj-card__media::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(to right, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
	background-size: 34px 34px;
	opacity: 0.7;
}

.obj-card__media > * { position: relative; z-index: 1; }

.obj-card__tag {
	font-family: var(--font-mono);
	font-size: 10.5px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--accent);
}

.obj-card__art { align-self: center; margin: 6px 0; opacity: 0.9; }
.obj-card__art svg { width: 100%; max-width: 210px; height: auto; }

.obj-card__year {
	font-family: var(--font-mono);
	font-size: 11px;
	color: var(--on-dark-muted);
	letter-spacing: 0.1em;
}

.obj-card__body { padding: 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.obj-card__body h3 { font-size: 19px; margin: 0; line-height: 1.25; }
.obj-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
	font-size: 13px;
	color: var(--text-muted);
	margin-top: auto;
	padding-top: 12px;
	border-top: 1px solid var(--line-soft);
}

.obj-card__meta b { color: var(--text); font-weight: 600; }

.obj-card__link {
	font-size: 14px;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.obj-card__link::after { content: "→"; font-family: var(--font-mono); }

/* Фильтры объектов */
.obj-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }

.obj-filter a {
	display: inline-flex;
	align-items: center;
	padding: 9px 16px;
	border: 1px solid var(--line);
	border-radius: 999px;
	font-size: 13.5px;
	color: var(--text-muted);
	background: var(--white);
	transition: all 0.18s var(--ease);
}

.obj-filter a:hover { border-color: var(--ink); color: var(--text); }
.obj-filter a.is-active { background: var(--ink); border-color: var(--ink); color: var(--white); }

/* 10. FAQ ------------------------------------------------------------------ */
.faq { border-top: 1px solid var(--line); }

.faq details {
	border-bottom: 1px solid var(--line);
	background: transparent;
}

.faq summary {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
	padding: 22px 0;
	cursor: pointer;
	list-style: none;
	font-family: var(--font-display);
	font-size: clamp(17px, 1.3vw, 20px);
	font-weight: 700;
	letter-spacing: -0.01em;
	line-height: 1.3;
	color: var(--text);
}

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

.faq summary::after {
	content: "+";
	font-family: var(--font-mono);
	font-size: 22px;
	font-weight: 400;
	line-height: 1;
	color: var(--accent-strong);
	flex-shrink: 0;
	transition: transform 0.2s var(--ease);
}

.faq details[open] summary::after { transform: rotate(45deg); }
.faq details[open] summary { color: var(--accent-strong); }

.faq__answer {
	padding: 0 0 24px;
	max-width: 820px;
	color: var(--text-muted);
	font-size: 15.5px;
}

.faq__answer p:last-child { margin-bottom: 0; }

.section--ink .faq { border-color: rgba(255, 255, 255, 0.12); }
.section--ink .faq details { border-color: rgba(255, 255, 255, 0.12); }
.section--ink .faq summary { color: var(--white); }
.section--ink .faq details[open] summary { color: var(--accent); }
.section--ink .faq__answer { color: var(--on-dark-muted); }

/* 11. КНОПКИ / ФОРМЫ ------------------------------------------------------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	height: 52px;
	padding: 0 26px;
	border-radius: var(--radius-sm);
	border: 1px solid transparent;
	font-family: var(--font-body);
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
	text-align: center;
	transition: all 0.18s var(--ease);
	white-space: nowrap;
}

.btn svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 2; }

.btn--primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn--primary:hover { background: var(--accent-strong); border-color: var(--accent-strong); color: var(--accent-ink); transform: translateY(-1px); }

.btn--outline { background: transparent; color: var(--on-dark); border-color: rgba(255, 255, 255, 0.25); }
.btn--outline:hover { border-color: var(--white); color: var(--white); background: rgba(255, 255, 255, 0.06); }

.btn--ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); color: var(--text); background: var(--paper); }

.btn--sm { height: 44px; padding: 0 18px; font-size: 14px; }
.btn--block { width: 100%; }

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	font-size: 15px;
	border-bottom: 1px solid var(--line);
	padding-bottom: 3px;
}

.link-arrow::after { content: "→"; font-family: var(--font-mono); }
.link-arrow:hover { border-color: var(--accent); color: var(--accent-strong); }

/* CF7 */
.wpcf7 { margin: 0; }
.wpcf7 form { display: grid; gap: 16px; }
.wpcf7 p { margin: 0; }
.wpcf7 label { display: block; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 7px; }

.wpcf7 input[type="text"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="email"],
.wpcf7 textarea,
.wpcf7 select {
	width: 100%;
	height: 50px;
	padding: 0 14px;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	font-family: var(--font-body);
	font-size: 15.5px;
	color: var(--text);
	transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
	appearance: none;
}

.wpcf7 textarea { height: auto; min-height: 110px; padding: 12px 14px; resize: vertical; }

.wpcf7 input:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
	border-color: var(--accent-strong);
	box-shadow: 0 0 0 3px rgba(255, 198, 26, 0.22);
	outline: none;
}

.wpcf7 input[type="submit"] {
	width: 100%;
	height: 54px;
	background: var(--accent);
	color: var(--accent-ink);
	border: 0;
	border-radius: var(--radius-sm);
	font-family: var(--font-body);
	font-size: 15.5px;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.18s var(--ease), transform 0.18s var(--ease);
}

.wpcf7 input[type="submit"]:hover { background: var(--accent-strong); transform: translateY(-1px); }

.wpcf7 .wpcf7-form-control-wrap { display: block; }
.wpcf7 .wpcf7-spinner { position: absolute; }

.ek-form-consent { display: flex; align-items: flex-start; gap: 10px; font-size: 12.5px; color: var(--text-muted); line-height: 1.45; }
.ek-form-consent input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--accent-strong); flex-shrink: 0; }
.ek-form-consent a { color: var(--text); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 2px; }

.wpcf7-response-output {
	margin: 4px 0 0 !important;
	padding: 12px 16px !important;
	border-radius: var(--radius-sm) !important;
	border: 1px solid var(--line) !important;
	font-size: 14px;
}

.wpcf7 form.sent .wpcf7-response-output { border-color: #35d07f !important; background: #f0fdf5; color: #1c6b42 !important; }
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output { border-color: #ff5a3c !important; background: #fff3f0; color: #8a2a17 !important; }
.wpcf7 form .wpcf7-not-valid-tip { color: #c2381d; font-size: 12.5px; margin-top: 4px; }

/* Форма в тёмной полосе */
.cta-band { position: relative; overflow: hidden; }
.cta-band::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
	background-size: 64px 64px;
	mask-image: radial-gradient(ellipse at 20% 50%, #000 20%, transparent 70%);
	-webkit-mask-image: radial-gradient(ellipse at 20% 50%, #000 20%, transparent 70%);
	pointer-events: none;
}

.cta-band__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
	gap: clamp(28px, 4vw, 64px);
	align-items: start;
}

.cta-band h2 { color: var(--white); margin-bottom: 16px; }
.cta-band p { color: var(--on-dark-muted); font-size: var(--fs-lead); max-width: 520px; }

.cta-band__points { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.cta-band__points li { margin: 0; padding-left: 30px; position: relative; color: var(--on-dark); font-size: 15px; }
.cta-band__points li::before {
	content: "";
	position: absolute;
	left: 0; top: 4px;
	width: 16px; height: 16px;
	border: 1px solid var(--accent);
	border-radius: 50%;
	background:
		linear-gradient(var(--accent), var(--accent)) center / 8px 1.5px no-repeat,
		linear-gradient(var(--accent), var(--accent)) center / 1.5px 8px no-repeat;
}

.form-card {
	background: var(--white);
	border-radius: var(--radius);
	padding: 30px;
	box-shadow: var(--shadow);
	color: var(--text);
}

.form-card__title { font-family: var(--font-display); font-size: 21px; font-weight: 700; letter-spacing: -0.015em; margin-bottom: 6px; }
.form-card__sub { font-size: 13.5px; color: var(--text-muted); margin-bottom: 20px; }

/* 12. ПОДВАЛ --------------------------------------------------------------- */
.ek-footer { background: var(--ink); color: var(--on-dark); padding-top: 56px; }

.ek-footer__top {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 0.85fr));
	gap: 40px;
	padding-bottom: 44px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ek-footer__brand p { color: var(--on-dark-muted); font-size: 14px; max-width: 340px; margin: 18px 0 22px; }

.ek-footer__contacts { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.ek-footer__contacts a { color: var(--on-dark); }
.ek-footer__phone { font-family: var(--font-mono); font-size: 20px; color: var(--white); }
.ek-footer__contacts .ek-muted { color: var(--on-dark-muted); font-size: 13px; }

.ek-footer h4 {
	font-family: var(--font-mono);
	font-size: 10.5px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--on-dark-muted);
	font-weight: 500;
	margin: 0 0 16px;
}

.ek-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.ek-footer ul a { color: #c4ceda; font-size: 14px; }
.ek-footer ul a:hover { color: var(--accent); }

.ek-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 24px;
	padding: 22px 0 26px;
	font-size: 12.5px;
	color: var(--on-dark-muted);
}

.ek-footer__legal { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.ek-footer__legal a { color: var(--on-dark-muted); }
.ek-footer__legal a:hover { color: var(--on-dark); }

/* 13. ВНУТРЕННИЕ СТРАНИЦЫ -------------------------------------------------- */
.page-hero {
	position: relative;
	background: var(--ink);
	color: var(--on-dark);
	padding: clamp(40px, 4.4vw, 68px) 0 clamp(40px, 4.4vw, 64px);
	overflow: hidden;
}

.page-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
	background-size: 68px 68px;
	mask-image: radial-gradient(ellipse 80% 100% at 80% 0%, #000 10%, transparent 78%);
	-webkit-mask-image: radial-gradient(ellipse 80% 100% at 80% 0%, #000 10%, transparent 78%);
	pointer-events: none;
}

.page-hero > .wrap { position: relative; z-index: 1; }

.breadcrumbs {
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--on-dark-muted);
	margin-bottom: 22px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}

.breadcrumbs a { color: var(--on-dark-muted); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs span.sep { opacity: 0.4; }

.page-hero h1 { color: var(--white); margin-bottom: 18px; max-width: 900px; }
.page-hero__lead { color: var(--on-dark-muted); font-size: var(--fs-lead); max-width: 720px; margin-bottom: 28px; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.page-hero--split .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 40px; align-items: end; }
.page-hero__aside { display: flex; flex-direction: column; gap: 14px; padding: 22px; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: var(--radius); background: rgba(255, 255, 255, 0.03); }
.page-hero__aside .row { display: flex; justify-content: space-between; gap: 14px; font-size: 14px; color: var(--on-dark-muted); padding-bottom: 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.page-hero__aside .row:last-child { border: 0; padding-bottom: 0; }
.page-hero__aside b { color: var(--white); font-weight: 600; }

/* Контентные страницы */
.prose { max-width: 860px; }
.prose h2 { margin-top: 1.4em; margin-bottom: 0.5em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.2em; }
.prose ul, .prose ol { color: var(--text); }
.prose li { margin-bottom: 0.5em; }
.prose > *:last-child { margin-bottom: 0; }

.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.two-col--wide-left { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }

/* Списки документов */
.docs { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }

.doc {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	padding: 20px;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	background: var(--white);
	transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.doc:hover { border-color: var(--accent); box-shadow: var(--shadow-soft); }

.doc__icon {
	width: 42px; height: 48px;
	flex-shrink: 0;
	display: grid;
	place-items: center;
	border: 1px solid var(--line);
	border-radius: 4px;
	font-family: var(--font-mono);
	font-size: 9.5px;
	letter-spacing: 0.06em;
	color: var(--text-muted);
	background: var(--paper);
}

.doc b { display: block; font-size: 15px; font-weight: 600; margin-bottom: 4px; color: var(--text); }
.doc small { font-size: 12.5px; color: var(--text-muted); }

/* Таблицы */
.ek-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.ek-table th,
.ek-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.ek-table th { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); font-weight: 500; background: var(--paper); }
.ek-table tr:last-child td { border-bottom: 0; }
.ek-table td:last-child { vertical-align: top; }
.ek-table--price td:last-child { white-space: nowrap; font-family: var(--font-mono); font-size: 13.5px; }
.ek-table tbody tr:hover { background: #fafbfc; }
.ek-table td:last-child { text-align: left; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); }

/* Инфо-полоса */
.info-strip {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 26px 30px;
	background: var(--ink);
	color: var(--on-dark);
	border-radius: var(--radius);
}

.info-strip strong { font-family: var(--font-display); font-size: 19px; color: var(--white); display: block; margin-bottom: 4px; }
.info-strip span { color: var(--on-dark-muted); font-size: 14px; }

/* Блог / архив */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }

.post-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--white); display: flex; flex-direction: column; gap: 10px; }
.post-card:hover { border-color: var(--accent); }
.post-card__date { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; color: var(--text-muted); text-transform: uppercase; }
.post-card h3 { font-size: 19px; margin: 0; line-height: 1.3; }
.post-card p { font-size: 14.5px; color: var(--text-muted); margin: 0; }

.pagination { display: flex; gap: 8px; justify-content: center; padding: 40px 0 0; }
.pagination .page-numbers { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--radius-xs); font-family: var(--font-mono); font-size: 13px; color: var(--text); }
.pagination .page-numbers.current { background: var(--ink); border-color: var(--ink); color: var(--white); }

/* Утилиты */
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.muted { color: var(--text-muted); }
.mono { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.flex { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* 14. АДАПТИВ -------------------------------------------------------------- */
@media (max-width: 1100px) {
	.ek-topbar { display: none; }
	.ek-nav { display: none; }
	.ek-burger { display: inline-flex; }
	.ek-mobile { display: block; }
	.hero__inner { grid-template-columns: 1fr; gap: 40px; }
	.hero__visual { max-width: 560px; }
	.hero__badge { left: auto; right: 12px; bottom: -14px; }
	.cta-band__inner { grid-template-columns: 1fr; }
	.page-hero--split .wrap { grid-template-columns: 1fr; }
	.stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.stats__item:nth-child(2n) { border-right: 0; }
	.stats__item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
	.steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.step:nth-child(3) { border-left: 0; }
	.step { border-top: 1px solid var(--line); }
	.ek-footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
	.grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ek-header__actions .btn { display: none; }
	.two-col, .two-col--wide-left { grid-template-columns: 1fr; }
	.ek-topbar__right { display: none; }
}

@media (max-width: 720px) {
	:root { --header-h: 66px; --fs-body: 16px; }
	.ek-header__phone { display: none; }
	.section-head { flex-direction: column; align-items: flex-start; }
	.grid--2, .grid--3, .grid--4, .grid--auto { grid-template-columns: 1fr; }
	.steps { grid-template-columns: 1fr; }
	.step { border-left: 0; }
	.hero__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
	.hero__actions .btn { flex: 1 1 100%; }
	.page-hero__actions .btn { flex: 1 1 100%; }
	.ek-footer__top { grid-template-columns: 1fr; gap: 32px; }
	.ek-footer__bottom { flex-direction: column; align-items: flex-start; }
	.ek-logo__tag { display: none; }
	.form-card { padding: 22px; }
	.obj-filter { gap: 6px; }
	.obj-filter a { padding: 8px 12px; font-size: 12.5px; }
	.ek-table th, .ek-table td { padding: 11px 12px; }
	.ek-table td:last-child { white-space: normal; }
	.info-strip { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
	.stats { grid-template-columns: 1fr; }
	.stats__item { border-right: 0; border-bottom: 1px solid var(--line); }
	.hero__stats { grid-template-columns: 1fr; }
	.ek-topbar__left { gap: 14px; font-size: 10.5px; }
}

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

/* Печать */
@media print {
	.ek-header, .ek-footer, .cta-band, .hero__visual { display: none !important; }
	body { color: #000; background: #fff; }
	.section { padding: 12px 0; }
}

/* Тень шапки при прокрутке */
.ek-header.is-scrolled {
	box-shadow: 0 14px 34px -20px rgba(0, 0, 0, 0.85);
}

/* ---------------------------------------------------------------------------
   Переопределения Astra и доработки компонентов
   --------------------------------------------------------------------------- */
.ek-landing .entry-content,
.ek-landing .ek-content {
	max-width: none;
	margin: 0;
	padding: 0;
}

.ek-landing #content .ast-container { padding: 0; }

.ek-landing .ast-article-post,
.ek-landing .ast-article-single,
.ek-landing .post-thumb-img-content {
	background: none;
	border: 0;
	box-shadow: none;
	padding: 0;
	margin: 0;
}

.hero h1 em { white-space: normal; }

/* Меню: маркер подменю */
.ek-nav .menu-item-has-children > a::after {
	content: "";
	width: 5px;
	height: 5px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg);
	margin-left: 7px;
	margin-top: -3px;
	opacity: 0.7;
}

/* Форма: две колонки */
.wpcf7 form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wpcf7 form > p.full { grid-column: 1 / -1; }

.wpcf7 select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2356626f' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 16px;
	padding-right: 38px;
}

/* Согласие на обработку ПД */
.wpcf7 .ek-consent label,
.wpcf7 .ek-consent .wpcf7-list-item-label {
	font-family: var(--font-body);
	font-size: 12.5px;
	line-height: 1.45;
	letter-spacing: 0;
	text-transform: none;
	color: var(--text-muted);
	display: inline;
	margin: 0;
}

.wpcf7 .ek-consent .wpcf7-list-item { margin: 0; display: block; }
.wpcf7 .ek-consent .wpcf7-list-item label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	cursor: pointer;
}

.wpcf7 .ek-consent input[type="checkbox"] {
	width: 18px;
	height: 18px;
	margin: 1px 0 0;
	accent-color: var(--accent-strong);
	flex-shrink: 0;
}

/* Тёмная полоса: форма на белой карточке — сброс наследования цвета */
.section--ink .form-card,
.section--ink .form-card p,
.section--ink .form-card label { color: var(--text); }
.section--ink .form-card .form-card__sub { color: var(--text-muted); }

/* Мобильная нижняя полоса связи */
.ek-callbar {
	display: none;
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 950;
	padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
	background: rgba(11, 15, 20, 0.96);
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	gap: 10px;
	backdrop-filter: blur(8px);
}

.ek-callbar .btn { flex: 1; height: 46px; font-size: 14px; }

@media (max-width: 720px) {
	.ek-callbar { display: flex; }
	body { padding-bottom: 70px; }
}

@media (max-width: 720px) {
	.wpcf7 form { grid-template-columns: 1fr; }
}

/* Адаптив таблиц и документов */
@media (max-width: 720px) {
	.table-wrap { border-radius: var(--radius-sm); }
	.docs { grid-template-columns: 1fr; }
}

/* Поля CF7: перекрываем стили совместимости Astra */
.wpcf7 input.wpcf7-form-control:not([type="submit"]),
.wpcf7 textarea.wpcf7-form-control,
.wpcf7 select.wpcf7-form-control {
	height: 50px;
	padding: 0 14px;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	font-family: var(--font-body);
	font-size: 15.5px;
	color: var(--text);
	box-shadow: none;
}

.wpcf7 textarea.wpcf7-form-control {
	height: auto;
	min-height: 112px;
	padding: 12px 14px;
	line-height: 1.5;
}

.wpcf7 select.wpcf7-form-control {
	padding-right: 38px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2356626f' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 16px;
}

.wpcf7 input.wpcf7-form-control:not([type="submit"]):focus,
.wpcf7 textarea.wpcf7-form-control:focus,
.wpcf7 select.wpcf7-form-control:focus {
	border-color: var(--accent-strong);
	box-shadow: 0 0 0 3px rgba(255, 198, 26, 0.22);
	outline: none;
}

.wpcf7 input.wpcf7-form-control.wpcf7-submit {
	width: 100%;
	height: 54px;
	padding: 0 24px;
	background: var(--accent);
	border: 0;
	border-radius: var(--radius-sm);
	color: var(--accent-ink);
	font-family: var(--font-body);
	font-size: 15.5px;
	font-weight: 700;
	cursor: pointer;
	box-shadow: none;
}

.wpcf7 input.wpcf7-form-control.wpcf7-submit:hover {
	background: var(--accent-strong);
}

/* Карточки и заголовки внутри секций: приоритет над .entry-content */
.section .card h3 { font-size: 20px; letter-spacing: -0.015em; }
.section .step h3 { font-size: 18px; }
.section .feature h3 { font-size: 18px; }
.section .obj-card__body h3 { font-size: 19px; }
.section .form-card__title { font-size: 21px; }

/* Шапка: аккуратные размеры, чтобы меню не переносилось на 1280px */
.ek-nav a,
.ek-nav .menu-item > a {
	padding: 10px 11px;
	font-size: 14.5px;
}

.ek-header__bar { gap: 18px; }

@media (max-width: 1300px) {
	.ek-logo__tag { display: none; }
	.ek-header__phone span { display: none; }
	.ek-logo__name { font-size: 19px; }
}

/* Фото объектов */
.obj-card__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
	transition: transform 0.4s var(--ease);
}

.obj-card:hover .obj-card__media img { transform: scale(1.04); }

.obj-card__media--photo::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	background: linear-gradient(to top, rgba(11, 15, 20, 0.9) 0%, rgba(11, 15, 20, 0.35) 55%, rgba(11, 15, 20, 0.05) 100%);
	pointer-events: none;
}

/* Обложка объекта на странице */
.obj-cover {
	margin: 0 0 32px;
	border-radius: var(--radius);
	overflow: hidden;
	aspect-ratio: 21 / 9;
	background: var(--paper);
}

.obj-cover img { width: 100%; height: 100%; object-fit: cover; }

/* Документ-ссылка */
a.doc { color: inherit; }
a.doc:hover b { color: var(--accent-strong); }
a.doc .doc__icon { transition: border-color 0.18s var(--ease), color 0.18s var(--ease); }
a.doc:hover .doc__icon { border-color: var(--accent); color: var(--text); }

/* Меню: третий уровень (направления электромонтажа) */
.ek-nav .sub-menu .sub-menu {
	top: -9px;
	left: calc(100% + 10px);
}

.ek-nav .sub-menu .menu-item-has-children > a::after {
	transform: rotate(-45deg);
	margin-top: 0;
	margin-left: auto;
	float: right;
}

.ek-nav .sub-menu .menu-item-has-children > a {
	justify-content: space-between;
	gap: 14px;
}

@media (max-width: 1100px) {
	.ek-mobile .sub-menu .sub-menu { margin-left: 14px; }
	.ek-mobile .sub-menu .menu-item-has-children > a::after { float: none; }
}

/* Карточки на тёмных секциях остаются светлыми */
.section--ink .card h3,
.section--ink .card h3 a { color: var(--text); }
.section--ink .card p,
.section--ink .card__list,
.section--ink .card__list li,
.section--ink .card__num { color: var(--text-muted); }
.section--ink .card__link { color: var(--text); border-color: var(--line); }
.section--ink .card:hover .card__link { color: var(--accent-strong); }
