/* ==========================================================================
   Тема «Типография»
   Дизайн-система построена вокруг полиграфической метафоры CMYK:
   нейтральная белая «бумага», чёрный текст и четыре триадных акцента.
   Никаких внешних шрифтов — только системный стек, чтобы не было FOUT
   и лишнего запроса на рекламном трафике.
   ========================================================================== */

:root {
	/* Тираж красок */
	--c: #00a3e0;
	--m: #e6007e;
	--y: #ffcd00;
	--k: #14161a;

	/* Основная палитра */
	--brand: #1b3bdb;
	--brand-dark: #142ba6;
	--brand-soft: #eef1ff;

	--ink: #14161a;
	--ink-2: #3c4250;
	--muted: #6b7280;
	--line: #e6e8ee;
	--bg: #fff;
	--bg-soft: #f6f7fa;
	--bg-dark: #0f1116;

	--ok: #0f9d58;
	--warn: #b45309;
	--warn-bg: #fff7ed;

	--r-sm: 10px;
	--r: 16px;
	--r-lg: 24px;

	--sh-1: 0 1px 2px rgb(20 22 26 / 6%), 0 4px 12px rgb(20 22 26 / 5%);
	--sh-2: 0 2px 6px rgb(20 22 26 / 8%), 0 18px 40px rgb(20 22 26 / 8%);

	--container: 1180px;
	--gap: clamp(16px, 3vw, 28px);

	--font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", "Liberation Sans", Arial, sans-serif;
}

/* --- Сброс -------------------------------------------------------------- */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.6;
	color: var(--ink);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, textarea, select { font: inherit; color: inherit; }

h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; font-weight: 750; letter-spacing: -.02em; }
h1 { font-size: clamp(1.9rem, 1.15rem + 3.1vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 1.1rem + 1.7vw, 2.35rem); }
h3 { font-size: clamp(1.15rem, 1rem + .6vw, 1.4rem); }
p  { margin: 0 0 1em; }

:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }

.visually-hidden {
	position: absolute; width: 1px; height: 1px;
	margin: -1px; padding: 0; overflow: hidden;
	clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --- Каркас ------------------------------------------------------------- */

.container {
	width: 100%;
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: clamp(16px, 4vw, 28px);
}

.section { padding-block: clamp(48px, 7vw, 96px); }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--bg-dark); color: #fff; }
.section--tight { padding-block: clamp(32px, 4vw, 56px); }

.section__head { max-width: 46rem; margin-bottom: clamp(28px, 4vw, 48px); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head p { color: var(--muted); font-size: 1.06rem; margin-bottom: 0; }
.section--dark .section__head p { color: #a8afbd; }

.eyebrow {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: .8rem; font-weight: 700; letter-spacing: .09em;
	text-transform: uppercase; color: var(--brand);
	margin-bottom: 14px;
}
.eyebrow::before {
	content: ""; width: 26px; height: 3px; border-radius: 2px;
	background: linear-gradient(90deg, var(--c), var(--m) 50%, var(--y));
}
.section--dark .eyebrow { color: #fff; }

.grid { display: grid; gap: var(--gap); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }

/* --- Кнопки ------------------------------------------------------------- */

.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 15px 26px;
	border: 1px solid transparent; border-radius: var(--r-sm);
	font-weight: 650; font-size: 1rem; line-height: 1.2;
	text-align: center; text-decoration: none; cursor: pointer;
	transition: transform .12s ease, background-color .16s ease, box-shadow .16s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgb(27 59 219 / 26%); }
.btn--primary:hover { background: var(--brand-dark); color: #fff; }

.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }

.btn--light { background: rgb(255 255 255 / 12%); color: #fff; border-color: rgb(255 255 255 / 24%); }
.btn--light:hover { background: rgb(255 255 255 / 20%); color: #fff; }

.btn--wide { width: 100%; }
.btn--lg { padding: 18px 32px; font-size: 1.06rem; }

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

.site-header {
	position: sticky; top: 0; z-index: 60;
	background: rgb(255 255 255 / 92%);
	backdrop-filter: saturate(180%) blur(12px);
	border-bottom: 1px solid var(--line);
}
.site-header__bar {
	display: flex; align-items: center; gap: clamp(12px, 2vw, 28px);
	min-height: 68px;
}

.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); }
.logo:hover { text-decoration: none; }
.logo__mark { flex: 0 0 auto; display: block; line-height: 0; }
.logo__svg { display: block; }
.logo__text { display: block; }
.logo__name {
	display: block;
	font-size: 1.14rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.05;
	text-transform: uppercase;
}
/* Дескриптор набран разрядкой: в мелком кегле это читается лучше,
   чем уменьшенный обычный текст, и не спорит с названием. */
.logo__sub {
	display: block; margin-top: 4px;
	font-size: .62rem; font-weight: 600; line-height: 1;
	letter-spacing: .16em; text-transform: uppercase;
	color: var(--muted);
}
.site-footer .logo__sub { color: #7d8595; }

.nav { margin-left: auto; }
.nav ul { display: flex; align-items: center; gap: clamp(10px, 1.6vw, 24px); list-style: none; margin: 0; padding: 0; }
.nav a { color: var(--ink-2); font-size: .96rem; font-weight: 550; }
.nav a:hover { color: var(--brand); text-decoration: none; }
.nav .current-menu-item > a { color: var(--brand); }

.header__contacts { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.header__phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.header__phone:hover { color: var(--brand); text-decoration: none; }
.header__hours { font-size: .78rem; color: var(--muted); font-weight: 500; display: block; }

.burger {
	display: none; width: 44px; height: 44px; margin-left: auto;
	background: none; border: 1px solid var(--line); border-radius: var(--r-sm); cursor: pointer;
	align-items: center; justify-content: center;
}
.burger span { display: block; width: 18px; height: 2px; background: var(--ink); position: relative; border-radius: 2px; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }
.burger span::before { top: -6px; }
.burger span::after  { top: 6px; }

@media (max-width: 960px) {
	.burger { display: inline-flex; }
	.nav {
		position: fixed; inset: 68px 0 auto 0;
		background: #fff; border-bottom: 1px solid var(--line);
		padding: 12px clamp(16px, 4vw, 28px) 22px;
		box-shadow: var(--sh-2);
		display: none;
	}
	.nav.is-open { display: block; }
	.nav ul { flex-direction: column; align-items: stretch; gap: 0; }
	.nav li { border-bottom: 1px solid var(--line); }
	.nav li:last-child { border-bottom: 0; }
	.nav a { display: block; padding: 13px 0; font-size: 1.02rem; }
	.header__contacts { margin-left: auto; }
	.header__hours { display: none; }
}
@media (max-width: 620px) {
	.header__phone span { display: none; }
	.logo__sub { display: none; }
}

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

.hero {
	position: relative;
	padding-block: clamp(36px, 5vw, 72px) clamp(44px, 6vw, 86px);
	background:
		radial-gradient(1100px 460px at 12% -8%, var(--brand-soft), transparent 62%),
		radial-gradient(760px 380px at 96% 4%, #fff1f8, transparent 58%);
	overflow: hidden;
}
.hero__grid {
	display: grid; gap: clamp(28px, 4vw, 56px);
	grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
	align-items: start;
}
@media (max-width: 980px) { .hero__grid { grid-template-columns: 1fr; } }

.hero h1 { margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero__sub { font-size: clamp(1.02rem, .97rem + .3vw, 1.2rem); color: var(--ink-2); max-width: 34rem; margin-bottom: 22px; }

.badges { display: flex; flex-wrap: wrap; gap: 9px; list-style: none; margin: 0 0 26px; padding: 0; }
.badges li {
	display: inline-flex; align-items: center; gap: 7px;
	padding: 8px 14px; border-radius: 99px;
	background: #fff; border: 1px solid var(--line);
	font-size: .88rem; font-weight: 600; color: var(--ink-2);
	box-shadow: var(--sh-1);
}
.badges .ic { color: var(--ok); flex: 0 0 auto; }

.hero__price {
	display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
	margin-bottom: 24px;
}
.hero__price b { font-size: clamp(1.9rem, 1.4rem + 1.9vw, 2.7rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.hero__price small { color: var(--muted); font-size: .95rem; }
.hero__price .from { color: var(--muted); font-size: 1rem; font-weight: 600; }

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

.trust { display: flex; flex-wrap: wrap; gap: 10px 26px; list-style: none; margin: 0; padding: 0; }
.trust li { display: flex; align-items: center; gap: 9px; font-size: .92rem; color: var(--ink-2); }
.trust .ic { color: var(--brand); flex: 0 0 auto; }

/* Предупреждение о статусе услуги */
.notice-strip {
	display: flex; gap: 12px; align-items: flex-start;
	padding: 14px 18px; margin-bottom: 22px;
	background: var(--warn-bg); border: 1px solid #fed7aa;
	border-left: 4px solid #f59e0b; border-radius: var(--r-sm);
	font-size: .95rem; color: #7c2d12;
}
.notice-strip .ic { color: var(--warn); flex: 0 0 auto; margin-top: 2px; }
.notice-strip strong { display: block; margin-bottom: 2px; }

/* --- Форма -------------------------------------------------------------- */

.form-card {
	position: sticky; top: 88px;
	background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
	padding: clamp(22px, 3vw, 30px);
	box-shadow: var(--sh-2);
}
@media (max-width: 980px) { .form-card { position: static; } }

.form-card__title { font-size: 1.28rem; margin-bottom: 6px; }
.form-card__lead { color: var(--muted); font-size: .93rem; margin-bottom: 20px; }

.field { margin-bottom: 14px; }
.field label { display: block; font-size: .85rem; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.field input, .field textarea {
	width: 100%; padding: 14px 16px;
	background: var(--bg-soft);
	border: 1px solid var(--line); border-radius: var(--r-sm);
	transition: border-color .15s ease, background-color .15s ease;
}
.field input:focus, .field textarea:focus { background: #fff; border-color: var(--brand); outline: none; box-shadow: 0 0 0 3px rgb(27 59 219 / 12%); }
.field textarea { resize: vertical; min-height: 88px; }
.field--hp { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

.form-note { font-size: .78rem; color: var(--muted); margin: 12px 0 0; line-height: 1.45; }
.form-note a { color: var(--muted); text-decoration: underline; }

.form-alt { display: flex; gap: 8px; margin-top: 14px; padding-top: 16px; border-top: 1px solid var(--line); }
.form-alt a {
	flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
	padding: 11px; border: 1px solid var(--line); border-radius: var(--r-sm);
	font-size: .88rem; font-weight: 600; color: var(--ink-2);
}
.form-alt a:hover { border-color: var(--brand); color: var(--brand); text-decoration: none; }

.form-msg { margin-top: 14px; padding: 13px 16px; border-radius: var(--r-sm); font-size: .92rem; display: none; }
.form-msg.is-error { display: block; background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.form-success { text-align: center; padding: 20px 0; }
.form-success__ic {
	width: 60px; height: 60px; margin: 0 auto 16px; border-radius: 50%;
	background: #dcfce7; color: var(--ok); display: grid; place-items: center;
}
.form-success h3 { margin-bottom: 8px; }
.form-success p { color: var(--muted); margin: 0; }

.btn[aria-busy="true"] { opacity: .65; pointer-events: none; }

/* --- Карточки ----------------------------------------------------------- */

.card {
	background: #fff; border: 1px solid var(--line); border-radius: var(--r);
	padding: clamp(20px, 2.4vw, 28px);
	transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.card--hover:hover { border-color: transparent; box-shadow: var(--sh-2); transform: translateY(-3px); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .96rem; margin: 0; }

.card__ic {
	width: 46px; height: 46px; border-radius: 12px;
	background: var(--brand-soft); color: var(--brand);
	display: grid; place-items: center; margin-bottom: 16px;
}

/* Карточка услуги в каталоге */
.svc {
	display: flex; flex-direction: column;
	background: #fff; border: 1px solid var(--line); border-radius: var(--r);
	padding: clamp(20px, 2.4vw, 26px);
	color: inherit; height: 100%;
	transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.svc:hover { text-decoration: none; box-shadow: var(--sh-2); transform: translateY(-3px); border-color: transparent; }
.svc__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.svc__ic { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; flex: 0 0 auto; }
.svc h3 { font-size: 1.12rem; margin-bottom: 7px; }
.svc p { color: var(--muted); font-size: .93rem; margin: 0 0 16px; flex: 1; }
.svc__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.svc__price { font-weight: 750; font-size: 1.02rem; }
.svc__price small { display: block; font-weight: 500; font-size: .74rem; color: var(--muted); }
.svc__go { display: inline-flex; align-items: center; gap: 6px; color: var(--brand); font-weight: 650; font-size: .9rem; }
.svc__tag {
	font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
	padding: 4px 9px; border-radius: 6px; background: var(--warn-bg); color: var(--warn); white-space: nowrap;
}

/* --- Боли --------------------------------------------------------------- */

.pains { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.pain {
	display: flex; gap: 15px; align-items: flex-start;
	padding: 18px 20px; background: #fff;
	border: 1px solid var(--line); border-radius: var(--r);
}
.pain__mark {
	flex: 0 0 auto; width: 28px; height: 28px; border-radius: 8px;
	background: #fef2f2; color: #dc2626; display: grid; place-items: center;
	font-weight: 800; font-size: 15px; line-height: 1;
}
.pain b { display: block; margin-bottom: 3px; }
.pain span { color: var(--muted); font-size: .95rem; }

/* --- Шаги --------------------------------------------------------------- */

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--gap); counter-reset: step; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); } }

.step { position: relative; counter-increment: step; padding-top: 52px; }
.step::before {
	content: counter(step);
	position: absolute; top: 0; left: 0;
	width: 40px; height: 40px; border-radius: 11px;
	background: var(--k); color: #fff;
	display: grid; place-items: center;
	font-weight: 800; font-size: 1.05rem;
}
.step::after {
	content: ""; position: absolute; top: 19px; left: 52px; right: -14px; height: 2px;
	background: repeating-linear-gradient(90deg, var(--line) 0 7px, transparent 7px 14px);
}
.step:last-child::after { display: none; }
@media (max-width: 759px) { .step::after { display: none; } }
.step b { display: block; font-size: 1.08rem; margin-bottom: 6px; }
.step span { color: var(--muted); font-size: .96rem; }

/* --- Прайс -------------------------------------------------------------- */

.price-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.price-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.price-table th, .price-table td { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.price-table thead th {
	background: var(--bg-soft); font-size: .78rem; font-weight: 700;
	text-transform: uppercase; letter-spacing: .06em; color: var(--muted);
}
.price-table tbody tr:last-child td { border-bottom: 0; }
.price-table tbody tr:hover { background: #fbfcfe; }
.price-table .n { font-weight: 600; }
.price-table .u { color: var(--muted); font-size: .93rem; white-space: nowrap; }
.price-table .p { font-weight: 750; white-space: nowrap; font-size: 1.02rem; }
.price-table .p .from { color: var(--muted); font-weight: 500; font-size: .84rem; }
.price-table .note { color: var(--muted); font-size: .88rem; }
.price-legend { margin-top: 14px; color: var(--muted); font-size: .88rem; }

/* --- Характеристики ----------------------------------------------------- */

.specs { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.specs li { display: flex; gap: 16px; justify-content: space-between; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.specs li:last-child { border-bottom: 0; }
.specs dt, .specs .k { color: var(--muted); font-size: .95rem; }
.specs .v { font-weight: 620; text-align: right; }

/* --- Работы ------------------------------------------------------------- */

.works { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.work { position: relative; border-radius: var(--r); overflow: hidden; background: var(--bg-soft); aspect-ratio: 4 / 3; }
.work img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.work:hover img { transform: scale(1.04); }
.work__cap {
	position: absolute; inset: auto 0 0 0; padding: 26px 16px 14px;
	background: linear-gradient(to top, rgb(0 0 0 / 72%), transparent);
	color: #fff; font-size: .92rem; font-weight: 600;
}
.work--empty {
	display: grid; place-items: center; color: var(--muted);
	border: 1px dashed var(--line); font-size: .9rem; text-align: center; padding: 20px;
}

/* --- FAQ ---------------------------------------------------------------- */

.faq { display: grid; gap: 10px; max-width: 52rem; }
.faq details {
	background: #fff; border: 1px solid var(--line); border-radius: var(--r);
	overflow: hidden; transition: border-color .16s ease;
}
.faq details[open] { border-color: #c9d2f5; }
.faq summary {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	padding: 18px 22px; cursor: pointer; font-weight: 650; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
	content: ""; flex: 0 0 auto; width: 11px; height: 11px;
	border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
	transform: rotate(45deg) translate(-3px, -3px); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq .faq__a { padding: 0 22px 20px; color: var(--ink-2); font-size: .97rem; }

/* --- Отзывы ------------------------------------------------------------- */

.review { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: clamp(20px, 2.4vw, 26px); }
.review__stars { display: flex; gap: 2px; color: var(--y); margin-bottom: 12px; }
.review__stars .ic { fill: currentColor; }
.review p { font-size: .98rem; color: var(--ink-2); }
.review__who { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.review__ava { width: 40px; height: 40px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-weight: 750; }
.review__name { font-weight: 650; font-size: .95rem; }
.review__meta { color: var(--muted); font-size: .84rem; }

/* --- Финальный призыв --------------------------------------------------- */

.cta {
	position: relative; overflow: hidden;
	background: var(--bg-dark); color: #fff;
	border-radius: var(--r-lg);
	padding: clamp(32px, 5vw, 62px);
}
.cta::before {
	content: ""; position: absolute; inset: 0 0 auto 0; height: 6px;
	background: linear-gradient(90deg, var(--c) 0 25%, var(--m) 25% 50%, var(--y) 50% 75%, #fff 75%);
}
.cta__grid { display: grid; gap: clamp(20px, 3vw, 42px); grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: center; }
@media (max-width: 860px) { .cta__grid { grid-template-columns: 1fr; } }
.cta h2 { margin-bottom: 12px; }
.cta p { color: #a8afbd; margin-bottom: 0; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* --- Контакты ----------------------------------------------------------- */

.contacts-grid { display: grid; gap: var(--gap); grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: start; }
@media (max-width: 860px) { .contacts-grid { grid-template-columns: 1fr; } }

.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .ic { color: var(--brand); flex: 0 0 auto; margin-top: 2px; }
.contact-list b { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 700; margin-bottom: 2px; }
.contact-list a { color: var(--ink); font-weight: 600; }
.contact-list span { color: var(--ink-2); }

.map-holder {
	position: relative; border-radius: var(--r); overflow: hidden;
	background: var(--bg-soft); border: 1px solid var(--line); min-height: 340px;
}
.map-holder iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }
.map-stub { position: absolute; inset: 0; display: grid; place-items: center; gap: 12px; text-align: center; padding: 20px; cursor: pointer; }
.map-stub .ic { color: var(--brand); }
.map-stub span { color: var(--muted); font-size: .93rem; }

/* --- Хлебные крошки ----------------------------------------------------- */

.crumbs { border-bottom: 1px solid var(--line); background: #fff; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 12px 0; font-size: .85rem; }
.crumbs li + li::before { content: "/"; color: var(--line); margin-right: 8px; }
.crumbs a { color: var(--muted); }
.crumbs span { color: var(--ink-2); }

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

.site-footer { background: var(--bg-dark); color: #a8afbd; padding-block: clamp(40px, 5vw, 64px) 24px; font-size: .94rem; }
.site-footer a { color: #d4d8e0; }
.site-footer a:hover { color: #fff; }
.footer__grid { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); margin-bottom: 36px; }
.footer__title { color: #fff; font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .07em; margin-bottom: 14px; }
.footer__grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer .logo { color: #fff; margin-bottom: 14px; }
.site-footer .logo__sub { color: #7d8595; }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; padding-top: 22px; border-top: 1px solid rgb(255 255 255 / 10%); font-size: .84rem; color: #7d8595; }

/* --- Липкая панель на мобильных ---------------------------------------- */

.sticky-cta {
	position: fixed; inset: auto 0 0 0; z-index: 70;
	display: none; gap: 8px; padding: 9px 12px calc(9px + env(safe-area-inset-bottom));
	background: rgb(255 255 255 / 96%);
	backdrop-filter: blur(12px);
	border-top: 1px solid var(--line);
	box-shadow: 0 -4px 20px rgb(20 22 26 / 8%);
}
.sticky-cta a { flex: 1; padding: 13px 10px; font-size: .93rem; }
@media (max-width: 760px) {
	.sticky-cta { display: flex; }
	body { padding-bottom: 74px; }
}

/* --- Типовой контент страниц ------------------------------------------- */

.prose { max-width: 46rem; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose img { border-radius: var(--r); margin-block: 1.4em; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--brand); color: var(--ink-2); font-style: italic; }

/* --- Мелочи ------------------------------------------------------------- */

.ic { flex: 0 0 auto; }

.stats { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); }
.stat b { display: block; font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.6rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.stat span { color: var(--muted); font-size: .94rem; }
.section--dark .stat span { color: #a8afbd; }

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

@media print {
	.site-header, .sticky-cta, .form-card, .site-footer, .cta { display: none !important; }
	body { padding: 0; font-size: 12pt; }
}
