/* d7 — «Ар-деко / геометрический люкс». Всё оформление на шести переменных генератора. */

: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: Didot, 'Bodoni MT', 'Times New Roman', Georgia, serif;
	--ink: var(--color-text);
	/* «золото» — акцент, подмешанный к тексту: читается и на светлой, и на тёмной палитре */
	--gold: color-mix(in srgb, var(--color-accent) 76%, var(--color-text));
	--gold-2: color-mix(in srgb, var(--gold) 46%, transparent);
	--line: color-mix(in srgb, var(--gold) 40%, transparent);
	--line-2: color-mix(in srgb, var(--color-text) 20%, transparent);
	--soft: color-mix(in srgb, var(--color-accent) 9%, var(--color-bg));
	--muted: color-mix(in srgb, var(--color-text) 66%, var(--color-bg));
	--flute: color-mix(in srgb, var(--color-text) 9%, transparent);
	/* --radius управляет высотой арочных завершений блоков — главный параметр стиля */
	--arch: clamp(26px, calc(16px + var(--radius) * 2.2), 62px);
	--r: clamp(0px, calc(var(--radius) / 3), 4px);
	--wrap: 1180px;
	--pad: clamp(14px, 3.6vw, 48px);
	--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: 16.5px;
	line-height: 1.66;
	-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(--gold); }

::selection { background: var(--gold); color: var(--color-bg); }
:focus-visible { outline: 2px solid var(--gold); 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; }
.skip:focus { left: 0; }

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

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

.arch { border-top-left-radius: 50% var(--arch); border-top-right-radius: 50% var(--arch); }

.kick {
	font-family: var(--font-alt); font-size: 12px; font-weight: 700; line-height: 1.5;
	letter-spacing: .32em; text-transform: uppercase; color: var(--gold);
}

.rule { display: flex; align-items: center; justify-content: center; gap: 9px; width: min(100%, 26rem); margin-inline: auto; }
.rule::before, .rule::after { content: ''; flex: 1 1 auto; height: 5px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.rule i { flex: none; width: 7px; height: 7px; border: 1px solid var(--gold); transform: rotate(45deg); }
.rule i:nth-child(2) { background: var(--gold); }
.rule--hero { width: min(100%, 34rem); }

/* номер в ромбе */
.dnum {
	display: grid; place-items: center; width: 46px; height: 46px; flex: none;
	border: 1px solid var(--gold); background: var(--color-bg); transform: rotate(45deg);
}
.dnum > span { font-family: var(--font-alt); font-size: 14px; font-weight: 700; letter-spacing: .06em; color: var(--gold); transform: rotate(-45deg); }
.dnum--sh { width: 38px; height: 38px; }
.dnum--sh > span { font-size: 12.5px; }

/* заголовки секций — строгая симметрия */

.sh { display: grid; justify-items: center; gap: 14px; margin-bottom: clamp(30px, 4vw, 56px); text-align: center; }
.sh__t {
	font-family: var(--font-alt); font-size: clamp(25px, 3.9vw, 46px); font-weight: 700;
	line-height: 1.1; letter-spacing: .05em; text-transform: uppercase; text-wrap: balance;
	max-width: 26ch;
}

.prose p { margin-bottom: 1.05em; text-wrap: pretty; }
.prose p:last-child { margin-bottom: 0; }
.prose--mid { max-width: 62ch; margin-inline: auto; text-align: center; }
.prose--mid p { font-size: 16px; }

/* секции */

.sec { padding-block: clamp(48px, 6.6vw, 100px); scroll-margin-top: 74px; }
.sec + .sec { border-top: 1px solid var(--line-2); }
.sec--hero { position: relative; overflow: hidden; padding-top: clamp(34px, 4.6vw, 66px); }
.sec--seo { font-size: 15px; }

/* пилястры героя: вертикальная каннелюра, ноль запросов */
.sec--hero::before, .sec--hero::after {
	content: ''; position: absolute; top: 0; bottom: 0; width: 46px;
	background: repeating-linear-gradient(90deg, var(--flute) 0 1px, transparent 1px 9px);
	border-top: 3px double var(--line); border-bottom: 3px double var(--line);
}
.sec--hero::before { left: 0; }
.sec--hero::after { right: 0; }

/* шапка */

.hdr { position: sticky; top: 0; z-index: 30; background: var(--color-bg); border-bottom: 3px double var(--line); }
.hdr__in { display: flex; align-items: center; gap: clamp(10px, 2vw, 24px); min-height: 66px; }
.hdr__logo { font-family: var(--font-alt); font-size: clamp(17px, 2.2vw, 22px); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin-right: auto; }
.hdr__nav { display: flex; align-items: center; gap: clamp(10px, 1.8vw, 26px); }
.hdr__link { font-family: var(--font-alt); font-size: 12.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; padding-block: 6px; border-bottom: 1px solid transparent; }
.hdr__link:hover { border-bottom-color: var(--gold); }
.hdr__link--cta { display: none; }
.hdr__cta {
	padding: 11px 20px; background: var(--ink); color: var(--color-bg);
	font-family: var(--font-alt); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
	white-space: nowrap; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--gold);
	transition: background .2s, color .2s;
}
.hdr__cta:hover { background: var(--gold); color: var(--color-bg); }

.burger { display: none; width: 44px; height: 42px; flex: none; background: var(--color-bg); border: 1px solid var(--line); border-radius: var(--r); padding: 9px 10px; cursor: pointer; }
.burger span { display: block; height: 1.5px; 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: 1px solid transparent; border-radius: var(--r);
	font-family: var(--font-alt); font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
	cursor: pointer; transition: background .2s, color .2s, box-shadow .2s;
}
.btn--primary, .cta__call { background: var(--ink); color: var(--color-bg); box-shadow: inset 0 0 0 1px var(--gold); }
.btn--primary:hover, .cta__call:hover { background: var(--gold); color: var(--color-bg); box-shadow: inset 0 0 0 1px var(--color-bg); }
.btn--ghost { border-color: var(--gold); color: var(--color-text); background: transparent; }
.btn--ghost:hover { background: var(--soft); color: var(--color-text); }

/* ссылка-звонок, которой генератор подменяет форму без Telegram-бота */
.cta__call {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 54px; padding: 14px 30px; margin-top: 12px; border-radius: var(--r);
	font-family: var(--font-alt); font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
}

/* герой */

.hero { display: grid; justify-items: center; text-align: center; }
.hero__t {
	margin: 20px 0 22px; max-width: 22ch;
	font-family: var(--font-alt); font-size: clamp(30px, 5.4vw, 62px); font-weight: 700;
	line-height: 1.06; letter-spacing: .035em; text-transform: uppercase; text-wrap: balance;
}
.hero__s { margin-top: 24px; max-width: 52ch; font-size: clamp(15.5px, 1.4vw, 18.5px); color: var(--muted); text-wrap: pretty; }
.hero__acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: clamp(26px, 3vw, 38px); }
.hero__fig { position: relative; width: min(100%, 58rem); margin-top: clamp(32px, 4.4vw, 56px); padding: 10px; border: 1px solid var(--line); background: var(--color-bg); overflow: hidden; }
.hero__fig img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-top-left-radius: 50% calc(var(--arch) - 10px); border-top-right-radius: 50% calc(var(--arch) - 10px); }

/* факты в герое: значения из footer, разделённые ромбами */
.facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 0; margin-top: clamp(30px, 3.6vw, 46px); padding-top: clamp(22px, 2.6vw, 30px); border-top: 1px solid var(--line-2); width: min(100%, 58rem); }
.facts__i { display: flex; align-items: center; gap: 22px; font-family: var(--font-alt); font-size: 13.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.facts__i + .facts__i { margin-left: 22px; }
.facts__i + .facts__i::before { content: ''; flex: none; width: 6px; height: 6px; border: 1px solid var(--gold); transform: rotate(45deg); }

/* о нас */

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(11rem, 100%), 1fr)); gap: clamp(12px, 1.6vw, 22px); margin-top: clamp(34px, 4.2vw, 56px); }
.stat { text-align: center; padding: 22px 14px 20px; border-top: 3px double var(--gold); border-bottom: 1px solid var(--line-2); background: var(--color-bg); }
.stat__v { display: block; font-family: var(--font-alt); font-size: clamp(28px, 3.6vw, 42px); font-weight: 700; line-height: 1.04; letter-spacing: .02em; color: var(--gold); }
.stat__l { display: block; margin-top: 8px; font-size: 11.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }

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

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

.card {
	position: relative; padding: clamp(22px, 2.4vw, 32px); text-align: center;
	border: 1px solid var(--line); background: var(--color-bg);
	transition: background .2s, box-shadow .2s;
}
.card:hover { background: var(--soft); box-shadow: 0 0 0 1px var(--gold-2); }
.card.arch { padding-top: calc(var(--arch) + 34px); }
.card.arch > .dnum { position: absolute; top: 14px; left: calc(50% - 23px); }
.card__t { font-family: var(--font-alt); font-size: clamp(16.5px, 1.7vw, 19px); font-weight: 700; line-height: 1.26; letter-spacing: .07em; text-transform: uppercase; margin-bottom: 12px; }
.card__x { font-size: 14.5px; line-height: 1.66; color: var(--muted); text-wrap: pretty; }

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

.list { max-width: 62rem; margin-inline: auto; border-top: 3px double var(--gold); border-bottom: 3px double var(--gold); }
.row { display: grid; grid-template-columns: 3.2rem minmax(0, 1fr); gap: 0 clamp(10px, 1.6vw, 20px); padding: 18px 2px; }
.row + .row { border-top: 1px solid var(--line-2); }
.row__n { font-family: var(--font-alt); font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--gold); padding-top: .25em; }
.row__h { display: flex; align-items: baseline; gap: 12px; }
.row__t { font-family: var(--font-alt); font-size: clamp(16px, 1.7vw, 19px); font-weight: 700; line-height: 1.3; letter-spacing: .07em; text-transform: uppercase; }
.lead { flex: 1 1 1.5rem; min-width: 1rem; height: 0; border-bottom: 1px dotted var(--line); transform: translateY(-.32em); }
.row__p { flex: none; font-family: var(--font-alt); font-size: 16.5px; font-weight: 700; letter-spacing: .02em; color: var(--gold); white-space: nowrap; }
.row__x { margin-top: 7px; max-width: 68ch; font-size: 14.5px; line-height: 1.62; color: var(--muted); text-wrap: pretty; }

/* этапы — ось с ромбами */

.steps { position: relative; max-width: 58rem; margin-inline: auto; display: grid; gap: clamp(14px, 2vw, 24px); }
.steps::before { content: ''; position: absolute; top: 30px; bottom: 30px; left: 23px; border-left: 1px solid var(--line); }
.step { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: clamp(14px, 2vw, 28px); align-items: start; }
.step > .dnum { position: relative; }
.step__b { padding-top: 4px; }
.step__t { font-family: var(--font-alt); font-size: clamp(16px, 1.7vw, 19px); font-weight: 700; line-height: 1.28; letter-spacing: .07em; text-transform: uppercase; }
.step__x { margin-top: 7px; font-size: 14.5px; line-height: 1.64; color: var(--muted); text-wrap: pretty; }

/* кейсы */

.case { display: flex; flex-direction: column; }
.case > .kick { margin-bottom: 14px; }
.case__r { font-family: var(--font-alt); font-size: clamp(28px, 3.6vw, 42px); font-weight: 700; line-height: 1.06; letter-spacing: .02em; color: var(--gold); margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }

/* отзывы */

.quote { display: flex; flex-direction: column; gap: 14px; }
.quote__m { font-family: var(--font-alt); font-size: 40px; line-height: .8; color: var(--gold-2); }
.quote blockquote { font-size: 15px; line-height: 1.72; text-wrap: pretty; }
.quote blockquote::after { content: '\00A0\00BB'; }
.quote figcaption { margin-top: auto; padding-top: 16px; }
.quote__n { display: block; font-family: var(--font-alt); font-size: 15.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.quote__r { display: block; margin-top: 4px; font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; 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; padding: 8px; border: 1px solid var(--line); background: var(--color-bg); }
.gal__i img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gal__i figcaption { padding: 12px 4px 2px; text-align: center; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.gal__i--1 { grid-column: span 4; border-top-left-radius: 50% var(--arch); border-top-right-radius: 50% var(--arch); }
.gal__i--1 img { aspect-ratio: 16 / 9; border-top-left-radius: 50% calc(var(--arch) - 8px); border-top-right-radius: 50% calc(var(--arch) - 8px); }

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

.duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%), 1fr)); gap: var(--gap); }
.duo__c { padding: calc(var(--arch) + 26px) clamp(22px, 2.4vw, 34px) clamp(24px, 2.6vw, 34px); border: 1px solid var(--line); background: var(--color-bg); }
.duo__c--tip { background: var(--soft); }
.duo__c > .kick { display: block; text-align: center; margin-bottom: 24px; }
.duo__i + .duo__i { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line-2); }
.duo__t { display: flex; gap: 14px; align-items: flex-start; font-family: var(--font-alt); font-size: 16.5px; font-weight: 700; line-height: 1.3; letter-spacing: .05em; text-transform: uppercase; }
/* ромб под знаком: сам знак остаётся вертикальным */
.duo__m { position: relative; display: grid; place-items: center; flex: none; width: 26px; height: 26px; margin-top: 1px; color: var(--gold); font-family: var(--font-base); font-size: 12px; line-height: 1; }
.duo__m::before { content: ''; position: absolute; inset: 1px; border: 1px solid var(--gold); transform: rotate(45deg); }
.duo__x { margin-top: 9px; padding-left: 38px; font-size: 14.5px; line-height: 1.62; color: var(--muted); text-wrap: pretty; }

/* таблицы */

.tbl-wrap { max-width: 68rem; margin-inline: auto; overflow-x: auto; border-bottom: 3px double var(--gold); }
@media (min-width: 861px) { .tbl-wrap { overflow-x: visible; } }
.tbl { width: 100%; border-collapse: collapse; }
.tbl th {
	padding: 15px 16px; text-align: left; background: var(--ink); color: var(--color-bg);
	font-family: var(--font-alt); font-size: 11.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; white-space: nowrap;
}
.tbl th.is-us { background: var(--gold); }
.tbl td { padding: 14px 16px; font-size: 14.5px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl td:first-child { font-family: var(--font-alt); font-size: 15.5px; font-weight: 700; letter-spacing: .04em; }
.tbl td.is-us { background: var(--soft); font-weight: 700; color: var(--gold); }
.tbl tbody tr:hover td { background: var(--color-surface); }
.tbl tbody tr:hover td.is-us { background: var(--soft); }

/* FAQ */

.faq { max-width: 56rem; margin-inline: auto; border-top: 1px solid var(--line); }
.faq__i { border-bottom: 1px solid var(--line); }
.faq__q { display: flex; align-items: baseline; gap: 16px; padding: 20px 6px; cursor: pointer; list-style: none; }
.faq__q::-webkit-details-marker { display: none; }
.faq__n { flex: none; font-family: var(--font-alt); font-size: 12.5px; font-weight: 700; letter-spacing: .14em; color: var(--gold); }
.faq__qt { font-family: var(--font-alt); font-size: clamp(15.5px, 1.6vw, 18.5px); font-weight: 700; line-height: 1.38; letter-spacing: .05em; }
.faq__q::after { content: ''; flex: none; align-self: center; margin-left: auto; width: 9px; height: 9px; border: 1px solid var(--gold); transform: rotate(45deg); transition: background .2s; }
.faq__i[open] .faq__q::after { background: var(--gold); }
.faq__a { padding: 0 6px 24px 2.4rem; }
.faq__a p { max-width: 72ch; font-size: 14.5px; line-height: 1.72; 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: 68rem; margin-inline: auto; }
.prose--cols p { font-size: 14.5px; line-height: 1.78; color: var(--muted); }

/* заявка */

.cta {
	position: relative; max-width: 46rem; margin-inline: auto; text-align: center;
	padding: calc(var(--arch) + 30px) clamp(22px, 3.4vw, 56px) clamp(30px, 3.6vw, 52px);
	border: 1px solid var(--gold); background: var(--soft);
}
.cta > .kick { display: block; }
.cta__t { margin: 16px auto 16px; max-width: 22ch; font-family: var(--font-alt); font-size: clamp(24px, 3.6vw, 42px); font-weight: 700; line-height: 1.08; letter-spacing: .05em; text-transform: uppercase; text-wrap: balance; }
.cta__s { margin: 20px auto 0; max-width: 44ch; font-size: 15.5px; color: var(--muted); text-wrap: pretty; }
.cta__form { display: grid; gap: 14px; max-width: 26rem; margin: clamp(24px, 3vw, 34px) auto 0; }
.cta__input { width: 100%; min-height: 54px; padding: 15px 18px; font: inherit; font-size: 16px; text-align: center; color: var(--color-text); background: var(--color-bg); border: 1px solid var(--line); border-radius: var(--r); }
.cta__input::placeholder { color: var(--muted); }
.cta__input:focus { outline: none; border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
.cta__form .btn { margin-top: 4px; width: 100%; }
.cta__privacy { margin: 16px auto 0; max-width: 34rem; font-size: 11.5px; line-height: 1.6; letter-spacing: .06em; color: var(--muted); }
.cta__msg:not(:empty) { margin: 16px auto 0; max-width: 26rem; padding: 13px 16px; font-size: 14px; border: 1px solid var(--gold); background: var(--color-bg); }
.cta__msg.is-err { border-color: var(--line-2); background: var(--color-surface); }

/* подвал */

.ftr { border-top: 3px double var(--gold); padding-top: clamp(36px, 4.6vw, 62px); background: var(--color-bg); }
.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: 21px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 14px; }
.ftr__x { max-width: 46ch; font-size: 14.5px; line-height: 1.68; color: var(--muted); text-wrap: pretty; }
.ftr__h { font-family: var(--font-alt); font-size: 11.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.ftr__l { display: grid; gap: 10px; }
.ftr__l li { font-size: 14.5px; }
.ftr__b { margin-top: clamp(30px, 3.8vw, 50px); padding-block: 20px; border-top: 1px solid var(--line-2); }
.ftr__b p { display: flex; align-items: center; justify-content: center; gap: 14px; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); text-align: center; }
.ftr__b p::before, .ftr__b p::after { content: ''; flex: none; width: 6px; height: 6px; border: 1px solid var(--gold); transform: rotate(45deg); }

/* адаптив */

@media (max-width: 1180px) {
	.sec--hero::before, .sec--hero::after { display: none; }
}

@media (max-width: 1000px) {
	.ftr__in { grid-template-columns: 1fr 1fr; }
	.ftr__c--about { grid-column: 1 / -1; }
	.stats { grid-template-columns: repeat(auto-fit, minmax(min(9.5rem, 100%), 1fr)); }
}

@media (max-width: 860px) {
	.hdr__nav {
		position: fixed; inset: 0; z-index: 40;
		flex-direction: column; align-items: stretch; justify-content: center;
		gap: 2px; padding: 88px var(--pad) 40px; background: var(--color-bg);
		transform: translateX(100%); transition: transform .28s ease; overflow-y: auto; text-align: center;
	}
	.hdr__nav.is-open { transform: none; }
	.hdr__link { padding: 17px 18px; border: 1px solid var(--line-2); font-size: clamp(14px, 3.4vw, 17px); }
	.hdr__link:hover { border-color: var(--gold); }
	.hdr__link--cta { display: block; background: var(--ink); color: var(--color-bg); border-color: var(--ink); }
	.hdr__link--cta:hover { background: var(--gold); border-color: var(--gold); 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(6.5px) rotate(45deg); }
	body.nav-open .burger span:nth-child(2) { opacity: 0; }
	body.nav-open .burger span:nth-child(3) { transform: translateY(-6.5px) 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; }
	.facts__i, .facts__i + .facts__i { margin-left: 0; gap: 16px; }
}

@media (max-width: 680px) {
	body { font-size: 16px; }
	.hero__t { letter-spacing: .02em; }
	.facts { flex-direction: column; align-items: center; gap: 12px; }
	.facts__i + .facts__i::before { display: none; }

	/* таблицы разворачиваются в карточки */
	.tbl-wrap { border-bottom: 0; overflow: visible; }
	.tbl, .tbl tbody, .tbl tr, .tbl td { display: block; width: 100%; }
	.tbl thead { display: none; }
	.tbl tr { border: 1px solid var(--line); padding: 6px 16px; margin-bottom: 14px; background: var(--color-bg); }
	.tbl td { padding: 12px 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: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; line-height: 1.7; color: var(--muted); }
	.tbl td.is-us::before { color: var(--gold); }

	.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 { grid-template-columns: 38px minmax(0, 1fr); gap: 14px; }
	.step > .dnum { width: 38px; height: 38px; }
	.steps::before { left: 19px; }
	.row { grid-template-columns: 2.6rem minmax(0, 1fr); }
	.row__h { flex-wrap: wrap; gap: 4px 10px; }
	.lead { display: none; }
}

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

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

/* === Custom overrides === */
:root {
	--color-bg: #f7f2e8;
	--color-surface: #eee4d3;
	--color-text: #1d1b1a;
	--color-accent: #00a676;
	--font-base: 'Playfair Display', system-ui, sans-serif;
	--radius: 12px;
}
