/* d8 — «Органический / терракота». Всё оформление на шести переменных генератора. */

:root {
	/* базовые — перезаписываются блоком Custom overrides в конце файла */
	--color-bg: #ffffff;
	--color-surface: #f7f7f7;
	--color-text: #1a1a1a;
	--color-accent: #2563eb;
	--font-base: 'Segoe UI', system-ui, sans-serif;
	--radius: 8px;

	/* производные — считаются от базовых, поэтому подхватывают любую палитру */
	--font-alt: 'Iowan Old Style', 'Palatino Linotype', Palatino, 'Book Antiqua', Georgia, serif;
	--ink: var(--color-text);
	/* «терракота» — акцент, подмешанный к тексту: контраст к фону держится на любой палитре */
	--terra: color-mix(in srgb, var(--color-accent) 78%, var(--color-text));
	--clay: color-mix(in srgb, var(--color-accent) 13%, var(--color-bg));
	--clay-2: color-mix(in srgb, var(--color-accent) 24%, var(--color-bg));
	--wave-c: color-mix(in srgb, var(--color-accent) 58%, var(--color-bg));
	--line: color-mix(in srgb, var(--color-text) 17%, transparent);
	--line-2: color-mix(in srgb, var(--color-text) 9%, transparent);
	--muted: color-mix(in srgb, var(--color-text) 68%, var(--color-bg));
	--sh: 0 2px 4px color-mix(in srgb, var(--color-text) 5%, transparent), 0 14px 30px -18px color-mix(in srgb, var(--color-text) 26%, transparent);
	/* --radius управляет «капельными» скруглениями — главный параметр стиля */
	--rb: clamp(9px, calc(4px + var(--radius) * 1.1), 26px);
	--rl: clamp(20px, calc(8px + var(--radius) * 2.8), 68px);
	--pill: 999px;
	--wrap: 1160px;
	--pad: clamp(15px, 3.6vw, 46px);
	--gap: clamp(16px, 2vw, 26px);
}

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

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

body {
	margin: 0;
	background: var(--color-bg);
	color: var(--color-text);
	font-family: var(--font-base);
	font-size: 17px;
	line-height: 1.72;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, ul, ol, blockquote, figure, table { margin: 0; padding: 0; }
h1, h2, h3 { overflow-wrap: break-word; hyphens: auto; }
ul, ol { list-style: none; }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--terra); }

::selection { background: var(--clay-2); color: var(--color-text); }
:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; }

.skip { position: absolute; left: -9999px; top: 0; z-index: 100; padding: 12px 18px; background: var(--ink); color: var(--color-bg); font-weight: 700; border-radius: 0 0 var(--rb) 0; }
.skip:focus { left: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }

/* примитивы стиля: капля, волна, кикер */

.pod { border-radius: var(--rl) var(--rb) var(--rl) var(--rb); }
.pod--alt { border-radius: var(--rb) var(--rl) var(--rb) var(--rl); }

.kick {
	font-family: var(--font-base); font-size: 12.5px; font-weight: 700; line-height: 1.5;
	letter-spacing: .2em; text-transform: uppercase; color: var(--terra);
}

/* волнистая линейка: два радиальных градиента, ноль запросов */
.wv {
	height: 10px; width: min(100%, 10rem); background-repeat: repeat-x; background-size: 20px 10px;
	background-image:
		radial-gradient(circle at 5px 10px, transparent 4.1px, var(--wave-c) 4.1px 5.3px, transparent 5.5px),
		radial-gradient(circle at 15px 0, transparent 4.1px, var(--wave-c) 4.1px 5.3px, transparent 5.5px);
}
.wv--hero { width: min(100%, 15rem); }

/* номер в круге */
.num {
	display: grid; place-items: center; flex: none; width: 44px; height: 44px;
	border-radius: var(--pill); background: var(--clay-2); color: var(--terra);
	font-family: var(--font-alt); font-size: 15px; font-weight: 700; letter-spacing: .02em;
}
.num--sm { width: 34px; height: 34px; font-size: 13px; }

/* заголовки секций */

.sh { display: grid; justify-items: start; gap: 12px; margin-bottom: clamp(30px, 4vw, 54px); max-width: 34rem; }
.sh__r { display: flex; align-items: center; gap: 14px; }
.sh__t {
	font-family: var(--font-alt); font-size: clamp(27px, 4.2vw, 48px); font-weight: 400;
	line-height: 1.12; letter-spacing: -.008em; text-wrap: balance; max-width: 24ch;
}

.prose p { margin-bottom: 1.05em; text-wrap: pretty; }
.prose p:last-child { margin-bottom: 0; }
.prose--mid { max-width: 60ch; }
.prose--mid p { font-size: 17px; }
.prose--mid p:first-child::first-letter { font-family: var(--font-alt); font-size: 1.05em; font-weight: 700; color: var(--terra); }

/* секции — все на --color-bg, разделяются волной */

.sec { position: relative; padding-block: clamp(52px, 6.8vw, 104px); scroll-margin-top: 76px; }
.sec > .wrap { position: relative; z-index: 1; }
.sec + .sec::before {
	content: ''; position: absolute; left: 0; right: 0; top: -5px; height: 10px; z-index: 0;
	background-repeat: repeat-x; background-size: 20px 10px;
	background-image:
		radial-gradient(circle at 5px 10px, transparent 4.1px, var(--wave-c) 4.1px 5.3px, transparent 5.5px),
		radial-gradient(circle at 15px 0, transparent 4.1px, var(--wave-c) 4.1px 5.3px, transparent 5.5px);
	opacity: .6;
}
.sec--hero { overflow: hidden; padding-top: clamp(30px, 4vw, 60px); }
/* мягкое глиняное пятно за героем: один градиент, ноль запросов */
.sec--hero::after {
	content: ''; position: absolute; z-index: 0; right: -14vw; top: -16vw;
	width: min(74vw, 860px); aspect-ratio: 1;
	border-radius: 46% 54% 58% 42% / 52% 44% 56% 48%;
	background: var(--clay);
}
.sec--seo { font-size: 16px; }

/* шапка */

.hdr { position: sticky; top: 0; z-index: 30; background: var(--color-bg); border-bottom: 1px solid var(--line-2); }
.hdr__in { display: flex; align-items: center; gap: clamp(10px, 2vw, 24px); min-height: 68px; }
.hdr__logo { font-family: var(--font-alt); font-size: clamp(19px, 2.3vw, 24px); font-weight: 700; letter-spacing: -.01em; margin-right: auto; }
.hdr__nav { display: flex; align-items: center; gap: clamp(8px, 1.6vw, 22px); }
.hdr__link { font-size: 14.5px; padding: 8px 2px; border-bottom: 1.5px solid transparent; }
.hdr__link:hover { border-bottom-color: var(--terra); }
.hdr__link--cta { display: none; }
.hdr__cta {
	padding: 11px 22px; background: var(--ink); color: var(--color-bg); border-radius: var(--pill);
	font-size: 14px; font-weight: 700; white-space: nowrap; transition: background .2s, color .2s;
}
.hdr__cta:hover { background: var(--terra); color: var(--color-bg); }

.burger { display: none; width: 46px; height: 44px; flex: none; background: var(--clay); border: 0; border-radius: var(--pill); padding: 10px 11px; cursor: pointer; }
.burger span { display: block; height: 2px; border-radius: 2px; background: var(--ink); margin: 5px 0; transition: transform .25s, opacity .2s; }

/* кнопки */

.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 54px; padding: 14px 30px; border: 1.5px solid transparent; border-radius: var(--pill);
	font-family: var(--font-base); font-size: 16px; font-weight: 700; cursor: pointer;
	transition: background .2s, color .2s, transform .2s, box-shadow .2s;
}
.btn--primary, .cta__call { background: var(--ink); color: var(--color-bg); }
.btn--primary:hover, .cta__call:hover { background: var(--terra); transform: translateY(-2px); box-shadow: var(--sh); }
.btn--ghost { border-color: var(--line); color: var(--color-text); }
.btn--ghost:hover { background: var(--clay); border-color: var(--clay-2); }

/* ссылка-звонок, которой генератор подменяет форму без Telegram-бота */
.cta__call {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 54px; padding: 14px 32px; margin-top: 14px; border-radius: var(--pill);
	font-size: 16px; font-weight: 700;
}

/* герой */

.hero { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(26px, 4vw, 64px); align-items: center; }
.hero:not(:has(.hero__fig)) { grid-template-columns: minmax(0, 1fr); max-width: 46rem; }
.hero > .kick, .hero__t, .hero .wv, .hero__s, .hero__acts { grid-column: 1; }
.hero__t {
	margin: 18px 0 20px; max-width: 20ch;
	font-family: var(--font-alt); font-size: clamp(34px, 6vw, 68px); font-weight: 400;
	line-height: 1.04; letter-spacing: -.015em; text-wrap: balance;
}
.hero__s { margin-top: 22px; max-width: 46ch; font-size: clamp(16.5px, 1.4vw, 19px); color: var(--muted); text-wrap: pretty; }
.hero__acts { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(26px, 3vw, 36px); }
.hero__fig { grid-column: 2; grid-row: 1 / span 5; overflow: hidden; box-shadow: var(--sh); border-radius: 54% 46% 50% 50% / 42% 42% 58% 58%; }
.hero__fig img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* факты в герое: значения из footer */
.facts { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: clamp(30px, 3.6vw, 48px); padding-top: clamp(20px, 2.4vw, 28px); border-top: 1px solid var(--line-2); }
.facts__i { display: flex; align-items: center; gap: 12px; font-size: 14.5px; color: var(--muted); }
.facts__i::before { content: ''; flex: none; width: 9px; height: 9px; border-radius: 60% 40% 55% 45%; background: var(--terra); }

/* о нас */

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(11rem, 100%), 1fr)); gap: clamp(12px, 1.6vw, 20px); margin-top: clamp(34px, 4.2vw, 56px); }
.stat { padding: 24px 22px 22px; background: var(--clay); border-radius: var(--rl) var(--rb) var(--rl) var(--rb); }
.stat:nth-child(even) { border-radius: var(--rb) var(--rl) var(--rb) var(--rl); }
.stat__v { display: block; font-family: var(--font-alt); font-size: clamp(30px, 3.8vw, 44px); font-weight: 400; line-height: 1.02; letter-spacing: -.01em; color: var(--terra); }
.stat__l { display: block; margin-top: 8px; font-size: 13.5px; line-height: 1.5; color: var(--muted); }

/* карточки: 6 / 9 / 12 ложатся одинаково */

.grid { display: grid; gap: var(--gap); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(17rem, 100%), 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(21rem, 100%), 1fr)); }

.card {
	padding: clamp(24px, 2.4vw, 34px); background: var(--color-bg); border: 1px solid var(--line-2);
	border-radius: var(--rl) var(--rb) var(--rl) var(--rb);
	transition: transform .22s, box-shadow .22s, border-color .22s;
}
.card:nth-child(even) { border-radius: var(--rb) var(--rl) var(--rb) var(--rl); }
.card:hover { transform: translateY(-3px); box-shadow: var(--sh); border-color: var(--clay-2); }
.card > .num { margin-bottom: 18px; }
.card__t { font-family: var(--font-alt); font-size: clamp(19px, 1.9vw, 22px); font-weight: 400; line-height: 1.24; margin-bottom: 10px; }
.card__x { font-size: 15.5px; line-height: 1.7; color: var(--muted); text-wrap: pretty; }

/* услуги — строки-прайс */

.list { max-width: 60rem; }
.row { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 0 clamp(14px, 1.8vw, 22px); padding: clamp(18px, 2vw, 24px) 0; }
.row + .row { border-top: 1px solid var(--line-2); }
.row__n { grid-row: 1 / span 2; }
.row__b { display: grid; gap: 6px; }
.row__h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; }
.row__t { font-family: var(--font-alt); font-size: clamp(19px, 2vw, 23px); font-weight: 400; line-height: 1.24; }
.row__p { margin-left: auto; flex: none; padding: 4px 16px; background: var(--clay); border-radius: var(--pill); font-size: 15.5px; font-weight: 700; color: var(--terra); white-space: nowrap; }
.row__x { max-width: 66ch; font-size: 15.5px; line-height: 1.68; color: var(--muted); text-wrap: pretty; }

/* этапы — ось с каплями */

.steps { position: relative; max-width: 56rem; display: grid; gap: clamp(18px, 2.4vw, 30px); }
.steps::before { content: ''; position: absolute; top: 34px; bottom: 34px; left: 22px; border-left: 2px dotted var(--clay-2); }
.step { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: clamp(14px, 2vw, 26px); align-items: start; }
.step > .num { position: relative; }
.step__b { padding-top: 5px; }
.step__t { font-family: var(--font-alt); font-size: clamp(19px, 1.9vw, 23px); font-weight: 400; line-height: 1.24; }
.step__x { margin-top: 6px; max-width: 62ch; font-size: 15.5px; line-height: 1.68; color: var(--muted); text-wrap: pretty; }

/* кейсы */

.case { display: flex; flex-direction: column; }
.case > .kick { margin-bottom: 12px; }
.case__r { font-family: var(--font-alt); font-size: clamp(30px, 3.8vw, 44px); font-weight: 400; line-height: 1.04; letter-spacing: -.012em; color: var(--terra); margin-bottom: 16px; }

/* отзывы */

.quote { display: flex; flex-direction: column; gap: 12px; background: var(--clay); border-color: transparent; }
.quote__m { font-family: var(--font-alt); font-size: 44px; line-height: .7; color: var(--terra); }
.quote blockquote { font-size: 16px; line-height: 1.74; text-wrap: pretty; }
.quote figcaption { margin-top: auto; padding-top: 18px; display: flex; align-items: center; gap: 12px; }
.quote figcaption::before { content: ''; flex: none; width: 34px; height: 34px; border-radius: 60% 40% 55% 45%; background: var(--clay-2); }
.quote__n { display: block; font-weight: 700; font-size: 15.5px; }
.quote__r { display: block; font-size: 13.5px; color: var(--muted); }

/* галерея: 5 кадров — 4 + 2 + 2 + 2 */

.gal { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(12px, 1.6vw, 20px); align-items: start; }
.gal__i { grid-column: span 2; overflow: hidden; border-radius: var(--rl) var(--rb) var(--rl) var(--rb); background: var(--clay); }
.gal__i:nth-child(even) { border-radius: var(--rb) var(--rl) var(--rb) var(--rl); }
.gal__i img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gal__i figcaption { padding: 12px 18px 14px; font-size: 13.5px; color: var(--muted); }
.gal__i--1 { grid-column: span 4; }
.gal__i--1 img { aspect-ratio: 16 / 10; }

/* ошибки и решения */

.duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%), 1fr)); gap: var(--gap); }
.duo__c { padding: clamp(24px, 2.6vw, 36px); border-radius: var(--rl) var(--rb) var(--rl) var(--rb); }
.duo__c--error { border: 1px solid var(--line); }
.duo__c--tip { background: var(--clay); border-radius: var(--rb) var(--rl) var(--rb) var(--rl); }
.duo__c > .kick { display: block; margin-bottom: 22px; }
.duo__i + .duo__i { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line-2); }
.duo__t { display: flex; gap: 13px; align-items: flex-start; font-family: var(--font-alt); font-size: 18.5px; font-weight: 400; line-height: 1.3; }
.duo__m { flex: none; display: grid; place-items: center; width: 26px; height: 26px; margin-top: 2px; border-radius: 60% 40% 55% 45%; background: var(--clay-2); color: var(--terra); font-family: var(--font-base); font-size: 12px; line-height: 1; }
.duo__c--error .duo__m { background: color-mix(in srgb, var(--color-text) 12%, transparent); color: var(--color-text); }
.duo__x { margin-top: 8px; padding-left: 39px; font-size: 15.5px; line-height: 1.66; color: var(--muted); text-wrap: pretty; }

/* таблицы */

.tbl-wrap { max-width: 66rem; overflow-x: auto; border-radius: var(--rb); border: 1px solid var(--line-2); }
@media (min-width: 861px) { .tbl-wrap { overflow-x: visible; } }
.tbl { width: 100%; border-collapse: collapse; }
.tbl th { padding: 16px 18px; text-align: left; background: var(--ink); color: var(--color-bg); font-size: 13.5px; font-weight: 700; letter-spacing: .04em; white-space: nowrap; }
.tbl th.is-us { background: var(--terra); }
.tbl td { padding: 15px 18px; font-size: 15.5px; border-top: 1px solid var(--line-2); vertical-align: top; }
.tbl td:first-child { font-family: var(--font-alt); font-size: 17px; }
.tbl td.is-us { background: var(--clay); font-weight: 700; color: var(--terra); }
.tbl tbody tr:hover td { background: var(--color-surface); }
.tbl tbody tr:hover td.is-us { background: var(--clay-2); }

/* FAQ */

.faq { max-width: 54rem; }
.faq__i { border-top: 1px solid var(--line-2); }
.faq__i:last-child { border-bottom: 1px solid var(--line-2); }
.faq__q { display: flex; align-items: center; gap: 16px; padding: 22px 4px; cursor: pointer; list-style: none; }
.faq__q::-webkit-details-marker { display: none; }
.faq__n { flex: none; font-family: var(--font-alt); font-size: 14.5px; font-weight: 700; color: var(--terra); }
.faq__qt { font-family: var(--font-alt); font-size: clamp(17.5px, 1.8vw, 21px); font-weight: 400; line-height: 1.34; }
.faq__q::after {
	content: '+'; flex: none; margin-left: auto; display: grid; place-items: center;
	width: 32px; height: 32px; border-radius: var(--pill); background: var(--clay);
	color: var(--terra); font-size: 18px; line-height: 1; transition: background .2s;
}
.faq__i[open] .faq__q::after { content: '\2013'; background: var(--clay-2); }
.faq__a { padding: 0 4px 26px 2.4rem; }
.faq__a p { max-width: 70ch; font-size: 15.5px; line-height: 1.76; color: var(--muted); text-wrap: pretty; }
.faq__i[open] .faq__a { animation: fade .22s ease-out; }
@keyframes fade { from { opacity: 0; transform: translateY(-4px); } }

/* SEO-текст */

.prose--cols { columns: 2; column-gap: clamp(26px, 3.6vw, 56px); max-width: 66rem; }
.prose--cols p { font-size: 15.5px; line-height: 1.8; color: var(--muted); }

/* заявка */

.cta {
	max-width: 44rem; margin-inline: auto; padding: clamp(30px, 4vw, 60px) clamp(22px, 3.4vw, 56px);
	background: var(--clay); border-radius: var(--rl) var(--rb) var(--rl) var(--rb); text-align: center;
}
.cta > .kick { display: block; }
.cta .wv { margin-inline: auto; }
.cta__t { margin: 14px auto 16px; max-width: 22ch; font-family: var(--font-alt); font-size: clamp(27px, 3.8vw, 44px); font-weight: 400; line-height: 1.08; letter-spacing: -.012em; text-wrap: balance; }
.cta__s { margin: 18px auto 0; max-width: 42ch; font-size: 16.5px; color: var(--muted); text-wrap: pretty; }
.cta__form { display: grid; gap: 12px; max-width: 25rem; margin: clamp(24px, 3vw, 34px) auto 0; }
.cta__input { width: 100%; min-height: 54px; padding: 15px 22px; font: inherit; font-size: 16px; text-align: center; color: var(--color-text); background: var(--color-bg); border: 1.5px solid transparent; border-radius: var(--pill); }
.cta__input::placeholder { color: var(--muted); }
.cta__input:focus { outline: none; border-color: var(--terra); }
.cta__form .btn { margin-top: 4px; width: 100%; }
.cta__privacy { margin: 16px auto 0; max-width: 32rem; font-size: 13px; line-height: 1.6; color: var(--muted); }
.cta__msg:not(:empty) { margin: 16px auto 0; max-width: 25rem; padding: 14px 18px; font-size: 14.5px; background: var(--color-bg); border-radius: var(--rb); }
.cta__msg.is-err { background: var(--color-surface); box-shadow: inset 0 0 0 1.5px var(--line); }

/* подвал */

.ftr { position: relative; padding-top: clamp(38px, 4.6vw, 64px); background: var(--color-bg); }
.ftr::before {
	content: ''; position: absolute; left: 0; right: 0; top: -5px; height: 10px;
	background-repeat: repeat-x; background-size: 20px 10px;
	background-image:
		radial-gradient(circle at 5px 10px, transparent 4.1px, var(--wave-c) 4.1px 5.3px, transparent 5.5px),
		radial-gradient(circle at 15px 0, transparent 4.1px, var(--wave-c) 4.1px 5.3px, transparent 5.5px);
	opacity: .6;
}
.ftr__in { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr)); gap: clamp(24px, 3.2vw, 48px); }
.ftr__logo { font-family: var(--font-alt); font-size: 23px; font-weight: 700; letter-spacing: -.01em; margin-bottom: 12px; }
.ftr__x { max-width: 44ch; font-size: 15.5px; line-height: 1.7; color: var(--muted); text-wrap: pretty; }
.ftr__h { font-size: 12.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--terra); margin-bottom: 14px; }
.ftr__l { display: grid; gap: 9px; }
.ftr__l li { font-size: 15.5px; color: var(--muted); }
.ftr__l a:hover { color: var(--terra); }
.ftr__b { margin-top: clamp(30px, 3.8vw, 52px); padding-block: 22px; border-top: 1px solid var(--line-2); }
.ftr__b p { font-size: 13.5px; color: var(--muted); }

/* адаптив */

@media (max-width: 1000px) {
	.hero { grid-template-columns: minmax(0, 1fr); }
	.hero__fig { grid-column: 1; grid-row: auto; order: 9; width: min(100%, 34rem); }
	.hero__fig img { aspect-ratio: 3 / 2; }
	.ftr__in { grid-template-columns: 1fr 1fr; }
	.ftr__c--about { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
	.hdr__nav {
		position: fixed; inset: 0; z-index: 40;
		flex-direction: column; align-items: stretch; justify-content: center;
		gap: 8px; padding: 92px var(--pad) 40px; background: var(--color-bg);
		transform: translateX(100%); transition: transform .28s ease; overflow-y: auto;
	}
	.hdr__nav.is-open { transform: none; }
	.hdr__link { padding: 17px 22px; border: 0; border-radius: var(--pill); background: var(--clay); font-size: clamp(15px, 3.4vw, 18px); text-align: center; }
	.hdr__link:hover { background: var(--clay-2); }
	.hdr__link--cta { display: block; background: var(--ink); color: var(--color-bg); }
	.hdr__link--cta:hover { background: var(--terra); color: var(--color-bg); }
	.hdr__cta { display: none; }
	.burger { display: block; position: relative; z-index: 41; }
	body.nav-open { overflow: hidden; }
	body.nav-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
	body.nav-open .burger span:nth-child(2) { opacity: 0; }
	body.nav-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

	.gal { grid-template-columns: repeat(2, 1fr); }
	.gal__i { grid-column: span 1; }
	.gal__i--1 { grid-column: span 2; }
	.gal__i img, .gal__i--1 img { aspect-ratio: 3 / 2; }
	.prose--cols { columns: 1; }
	.sec--hero::after { right: -30vw; top: -30vw; }
}

@media (max-width: 680px) {
	body { font-size: 16.5px; }

	/* таблицы разворачиваются в карточки */
	.tbl-wrap { border: 0; overflow: visible; }
	.tbl, .tbl tbody, .tbl tr, .tbl td { display: block; width: 100%; }
	.tbl thead { display: none; }
	.tbl tr { padding: 8px 20px; margin-bottom: 14px; background: var(--color-bg); border: 1px solid var(--line-2); border-radius: var(--rb); }
	.tbl td { padding: 13px 0; border-top: 0; border-bottom: 1px solid var(--line-2); }
	.tbl tbody tr td:last-child { border-bottom: 0; }
	.tbl td.is-us, .tbl tbody tr:hover td { background: none; }
	.tbl td:not(:first-child) { display: grid; grid-template-columns: 44% 1fr; gap: 12px; align-items: baseline; }
	.tbl td::before { content: attr(data-l); display: block; font-size: 12.5px; line-height: 1.6; color: var(--muted); }
	.tbl td.is-us::before { color: var(--terra); }

	.duo__x { padding-left: 0; }
	.faq__a { padding-left: 2px; }
	.ftr__in { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
	.gal { grid-template-columns: 1fr; }
	.gal__i--1 { grid-column: span 1; }
	.hero__acts .btn { width: 100%; }
	.step, .row { grid-template-columns: 34px minmax(0, 1fr); gap: 12px; }
	.step > .num, .row__n { width: 34px; height: 34px; font-size: 13px; }
	.steps::before { left: 17px; }
	.row__p { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
	.card:hover, .btn--primary:hover { transform: none; }
}

@media print {
	.hdr, .burger, .cta__form, .skip { display: none; }
	body { font-size: 12pt; }
	.sec--hero::after, .sec + .sec::before, .ftr::before { display: none; }
	.card:hover { transform: none; box-shadow: none; }
}

/* === Custom overrides === */
:root {
	--color-bg: #fff5ea;
	--color-surface: #fde7d0;
	--color-text: #2b1a14;
	--color-accent: #b64bff;
	--font-base: 'Baloo 2', system-ui, sans-serif;
	--radius: 14px;
}
