/* =========================================================
   KUTAMIZ — стили сайта. Тёмная премиальная тема.
   ========================================================= */
:root {
  --bg: #0F1013; --bg-2: #141519; --surface: #1A1B20; --surface-2: #202127;
  --ink: #EDE7DC; --ink-2: #C6BFB2; --muted: #8B877F;
  --gold: #D4B26A; --gold-2: #EBD394; --gold-3: #9C7F44;
  --accent: var(--gold); --white: var(--surface);
  --line: rgba(255,255,255,.08); --line-2: rgba(255,255,255,.05);
  --shadow-sm: 0 2px 8px rgba(0,0,0,.35); --shadow-md: 0 14px 34px rgba(0,0,0,.45); --shadow-lg: 0 40px 90px rgba(0,0,0,.6);
  --r-sm: 8px; --r: 14px; --r-lg: 22px;
  --container: 1220px; --gutter: 24px;
  --ease: cubic-bezier(.2, .7, .2, 1); --ease-out: cubic-bezier(.16, 1, .3, 1);
  --font-display: "Playfair Display", "Cormorant Garamond", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-body); font-size: 16px; line-height: 1.55; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
img, svg, video, iframe { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
p { margin: 0; }
::selection { background: var(--gold); color: #111; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(900px 500px at 85% -10%, rgba(212,178,106,.08), transparent 60%), radial-gradient(700px 500px at 0% 100%, rgba(212,178,106,.05), transparent 60%); }

/* ---------- Типографика ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.01em; line-height: 1.08; margin: 0; }
h1 { font-size: clamp(40px, 5.6vw, 76px); }
h2 { font-size: clamp(30px, 4vw, 52px); }
h3 { font-size: clamp(20px, 2vw, 26px); line-height: 1.25; }
h1 em, h2 em { color: var(--gold-2); }
.kicker { font-family: var(--font-body); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); display: inline-flex; align-items: center; gap: 12px; }
.kicker::before { content: ""; width: 24px; height: 1px; background: var(--gold); opacity: .7; }
.lead { font-size: clamp(16px, 1.3vw, 18px); color: var(--ink-2); line-height: 1.65; }
.section-head { max-width: 720px; margin: 0 auto clamp(34px, 5vw, 56px); text-align: center; }
.section-head h2 { margin-top: 14px; }
.section-head p { margin-top: 14px; color: var(--ink-2); font-size: 16px; }
.section-head.left { text-align: left; margin-left: 0; }

/* ---------- Раскладка ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
section { padding-block: clamp(60px, 8vw, 110px); position: relative; }
section.tight { padding-block: clamp(36px, 5vw, 64px); }
section.tinted { background: var(--bg-2); }
section.dark { background: #0A0B0D; }

/* ---------- Кнопки ---------- */
.btn { --btn-bg: var(--ink); --btn-fg: #111; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 26px; min-height: 48px; background: var(--btn-bg); color: var(--btn-fg); border-radius: 4px; font-weight: 500; font-size: 14px; letter-spacing: .02em; border: 1px solid transparent; white-space: nowrap; transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); }
.btn svg { width: 17px; height: 17px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { --btn-bg: var(--gold); --btn-fg: #15120A; }
.btn-primary:hover { --btn-bg: var(--gold-2); }
.btn-dark { --btn-bg: var(--ink); --btn-fg: #111; }
.btn-dark:hover { --btn-bg: #fff; }
.btn-ghost { --btn-bg: transparent; --btn-fg: var(--ink); border-color: rgba(255,255,255,.22); }
.btn-ghost:hover { --btn-bg: var(--ink); --btn-fg: #111; border-color: var(--ink); }
.btn-gold { --btn-bg: var(--gold); --btn-fg: #15120A; }
.btn-gold:hover { --btn-bg: var(--gold-2); }
.btn-light { --btn-bg: transparent; --btn-fg: var(--ink); border-color: rgba(255,255,255,.22); }
.btn-light:hover { --btn-bg: var(--ink); --btn-fg: #111; }
.btn-tg { --btn-bg: transparent; --btn-fg: var(--ink); border-color: rgba(255,255,255,.22); }
.btn-tg:hover { --btn-bg: #2AABEE; --btn-fg: #fff; border-color: #2AABEE; }
.btn-lg { padding: 18px 32px; font-size: 15px; min-height: 56px; }
.btn-sm { padding: 10px 18px; font-size: 13px; min-height: 40px; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .55; pointer-events: none; }

/* ---------- Шапка ---------- */
.site-header { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); background: rgba(15,16,19,.72); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; }
.site-header.is-scrolled { border-color: var(--line); background: rgba(15,16,19,.9); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 22px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.logo .mark { width: 34px; height: 34px; color: var(--gold); flex: none; transition: transform .8s var(--ease-out); }
.logo:hover .mark { transform: rotate(180deg); }
.logo .mark svg { width: 100%; height: 100%; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: 13px; font-weight: 500; color: var(--ink-2); padding: 6px 0; position: relative; transition: color .25s; letter-spacing: .02em; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--gold); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.lang-switch { display: inline-flex; background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 4px; padding: 3px; }
.lang-switch button { padding: 6px 10px; font-size: 12px; font-weight: 600; letter-spacing: .06em; border-radius: 3px; color: var(--muted); transition: color .25s, background .25s; }
.lang-switch button.active { background: var(--gold); color: #15120A; }
.menu-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 4px; }
.menu-toggle span { position: relative; width: 18px; height: 1.5px; background: var(--ink); transition: background .25s; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; width: 100%; height: 1.5px; background: var(--ink); transition: transform .25s, top .25s; }
.menu-toggle span::before { top: -6px; } .menu-toggle span::after { top: 6px; }
.menu-toggle.is-open span { background: transparent; }
.menu-toggle.is-open span::before { top: 0; transform: rotate(45deg); }
.menu-toggle.is-open span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Герой ---------- */
.hero { padding-block: clamp(40px, 6vw, 80px) clamp(30px, 5vw, 70px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.hero h1 { font-size: clamp(42px, 5.4vw, 78px); margin-top: 20px; }
.hero .lead { margin-top: 22px; max-width: 520px; }
.hero .cta { margin-top: 34px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero .trust { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 13px; color: var(--muted); }
.hero .trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero .trust svg { width: 14px; height: 14px; color: var(--gold); }
.hero .trust i { font-style: normal; }

.phone-stage { position: relative; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.phone-stage::before { content: ""; position: absolute; inset: -15% -25%; z-index: -1; pointer-events: none; background: radial-gradient(circle at 50% 45%, rgba(212,178,106,.18), transparent 55%); }
.phone { width: min(340px, 82vw); aspect-ratio: 390 / 800; border-radius: 46px; background: #0f1114; padding: 12px; box-shadow: var(--shadow-lg), inset 0 0 0 2px #2b2f36; position: relative; }
.phone::before { content: ""; position: absolute; top: 22px; left: 50%; transform: translateX(-50%); width: 90px; height: 26px; background: #0f1114; border-radius: 20px; z-index: 3; }
.phone .screen { width: 100%; height: 100%; border-radius: 36px; overflow: hidden; background: #fff; position: relative; }
.phone .screen iframe { width: 100%; height: 100%; border: 0; }
.phone .screen img { width: 100%; height: 100%; object-fit: cover; }
.phone.small { width: min(240px, 60vw); border-radius: 34px; padding: 8px; }
.phone.small .screen { border-radius: 26px; }
.phone.small::before { width: 60px; height: 18px; top: 14px; }
.phone-loader { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-style: italic; color: #999; background: #f4f4f2; transition: opacity .5s; }
.phone-loader.hide { opacity: 0; pointer-events: none; }
.stage-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; max-width: 380px; }
.chip { padding: 8px 14px; border-radius: 4px; font-size: 12px; font-weight: 500; letter-spacing: .04em; border: 1px solid var(--line); background: rgba(255,255,255,.03); color: var(--ink-2); transition: background .25s, color .25s, border-color .25s; }
.chip:hover { border-color: rgba(255,255,255,.3); color: var(--ink); }
.chip.active { background: var(--gold); color: #15120A; border-color: var(--gold); }
.stage-note { font-size: 12px; color: var(--muted); text-align: center; }
.stage-note a { color: var(--gold); border-bottom: 1px solid rgba(212,178,106,.4); }

/* ---------- Бегущая строка ---------- */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 16px 0; overflow: hidden; white-space: nowrap; background: var(--bg-2); }
.marquee-track { display: inline-flex; gap: 40px; animation: marquee 40s linear infinite; font-family: var(--font-display); font-style: italic; font-size: 20px; color: var(--ink-2); }
.marquee-track span::before { content: "•"; color: var(--gold); margin-right: 40px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Цифры ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stats div { text-align: center; padding: 26px 20px; border: 1px solid var(--line); border-radius: 6px; background: rgba(255,255,255,.02); }
.stats b { display: block; font-family: var(--font-display); font-size: clamp(38px, 4.6vw, 60px); font-weight: 400; line-height: 1; color: var(--gold-2); font-variant-numeric: lining-nums; }
.stats span { display: block; margin-top: 10px; font-size: 13px; color: var(--muted); }

/* ---------- Карточки шаблонов (сцены) ---------- */
.tpl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tpl-card { display: block; position: relative; border-radius: 6px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.tpl-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(255,255,255,.16); }
.tpl-card .scene { display: block; aspect-ratio: 9 / 11; overflow: hidden; position: relative; background: #222; }
.tpl-card .scene img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.55); transition: transform .9s var(--ease-out), filter .5s; }
.tpl-card:hover .scene img { transform: scale(1.04); filter: saturate(1); }
.tpl-card .scene .over { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 22px 18px; background: linear-gradient(180deg, transparent, rgba(0,0,0,.65)); color: #fff; opacity: 0; transition: opacity .35s; }
.tpl-card:hover .scene .over { opacity: 1; }
.tpl-card .scene .over b { display: block; font-family: var(--font-display); font-style: italic; font-size: 24px; font-weight: 400; }
.tpl-card .scene .over span { font-size: 12px; opacity: .8; }
.tpl-card .cap { padding: 18px 22px 20px; }
.tpl-card .cap .cat-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tpl-card .cap .cat { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.tpl-card .cap .palette { display: inline-flex; gap: 5px; }
.tpl-card .cap .palette i { width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.tpl-card .cap .feats { display: flex; gap: 6px; margin-top: 12px; }
.tpl-card .cap .feats span { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--gold); background: rgba(255,255,255,.02); transition: border-color .25s, background .25s; }
.tpl-card .cap .feats span:hover { border-color: rgba(212,178,106,.5); background: rgba(212,178,106,.08); }
.tpl-card .cap .feats svg { width: 14px; height: 14px; }
.tpl-card .cap b { display: block; font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: 24px; margin-top: 8px; }
.tpl-card .cap .price { margin-top: 8px; font-size: 15px; font-weight: 600; color: var(--gold-2); font-variant-numeric: lining-nums; }
.tpl-card .cap .price small { font-weight: 400; color: var(--muted); font-size: 13px; }
.tpl-card .cap .desc { margin-top: 8px; font-size: 13px; color: var(--ink-2); line-height: 1.5; }
.tpl-card .cap .row { display: flex; gap: 8px; margin-top: 14px; }
.tpl-card .cap .row .btn { flex: 1; }
.tpl-card .badge { position: absolute; top: 14px; left: 14px; z-index: 2; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; padding: 6px 10px; border-radius: 3px; background: rgba(0,0,0,.6); color: var(--gold-2); border: 1px solid rgba(212,178,106,.4); backdrop-filter: blur(6px); }
.tpl-card[data-hidden="true"] { display: none; }
.showcase .more { display: flex; justify-content: center; margin-top: 34px; }

/* ---------- Интерактивный опыт ---------- */
.exp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.exp-list { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 22px; }
.exp-list li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.exp-list li:last-child { border-bottom: 0; }
.exp-list .n { font-family: var(--font-display); font-style: italic; font-size: 22px; color: var(--gold); line-height: 1.3; }
.exp-list h4 { font-family: var(--font-body); font-size: 16px; font-weight: 600; }
.exp-list p { margin-top: 4px; font-size: 14px; color: var(--ink-2); line-height: 1.55; }
.exp-scene { border-radius: 8px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.exp-scene img { width: 100%; }

/* ---------- Как это работает ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 22px; height: 1px; background: var(--line); }
.step { position: relative; padding: 0 22px 0 0; }
.step .n { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--gold); display: grid; place-items: center; font-family: var(--font-display); font-style: italic; font-size: 18px; color: var(--gold); background: var(--bg); position: relative; }
section.tinted .step .n { background: var(--bg-2); }
.step h3 { margin-top: 22px; font-size: 22px; }
.step p { margin-top: 10px; font-size: 14px; color: var(--ink-2); line-height: 1.55; }
.step .t { display: inline-block; margin-top: 12px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }

/* ---------- Возможности ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feat { padding: 26px; border-radius: 6px; background: var(--surface); border: 1px solid var(--line); transition: border-color .3s, transform .3s; }
.feat:hover { border-color: rgba(212,178,106,.4); transform: translateY(-3px); }
.feat .ic { width: 44px; height: 44px; border-radius: 4px; border: 1px solid rgba(212,178,106,.35); color: var(--gold); display: grid; place-items: center; }
.feat .ic svg { width: 20px; height: 20px; }
.feat h3 { margin-top: 18px; font-size: 22px; }
.feat p { margin-top: 8px; font-size: 14px; color: var(--ink-2); line-height: 1.55; }

/* ---------- Тарифы ---------- */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 960px; margin-inline: auto; align-items: stretch; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 34px 30px; display: flex; flex-direction: column; position: relative; }
.plan.featured { border-color: rgba(212,178,106,.55); background: linear-gradient(180deg, rgba(212,178,106,.08), rgba(212,178,106,.02)), var(--surface); }
.plan .badge { position: absolute; top: -12px; left: 30px; background: var(--gold); color: #15120A; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; padding: 6px 12px; border-radius: 3px; font-weight: 600; }
.plan .name { font-family: var(--font-display); font-size: 30px; line-height: 1; }
.plan .sub { font-family: var(--font-display); font-style: italic; font-size: 17px; color: var(--gold-2); margin-top: 8px; }
.plan .price { margin-top: 26px; display: flex; align-items: baseline; gap: 8px; }
.plan .price .num { font-family: var(--font-display); font-size: clamp(44px, 4.6vw, 58px); line-height: 1; font-variant-numeric: lining-nums; color: var(--ink); }
.plan .price .cur { font-size: 14px; color: var(--muted); }
.plan .per { font-size: 13px; color: var(--muted); margin-top: 6px; }
.plan ul { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 11px; }
.plan li { display: flex; gap: 12px; font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.plan li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 8px; background: var(--gold); transform: rotate(45deg); }
.plan li b { font-weight: 600; color: var(--ink); }
.plan .btn { margin-top: 28px; width: 100%; }
.plan .fine { margin-top: 12px; font-size: 12px; color: var(--muted); text-align: center; }
.pricing-note { max-width: 960px; margin: 22px auto 0; text-align: center; font-size: 13px; color: var(--muted); }

/* ---------- Кабинет (тизер) ---------- */
.cabinet-teaser { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.cabinet-teaser .shot { border-radius: 8px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-lg); background: var(--surface); }
.cabinet-teaser .shot img { width: 100%; }
.stat-strip { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 26px; }
.stat-strip b { display: block; font-family: var(--font-display); font-size: 40px; line-height: 1; font-weight: 400; color: var(--gold-2); font-variant-numeric: lining-nums; }
.stat-strip span { font-size: 12px; color: var(--muted); }

/* ---------- Отзывы ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.review { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 26px; display: flex; flex-direction: column; }
.review .stars { color: var(--gold); letter-spacing: 2px; font-size: 13px; }
.review p { margin-top: 14px; font-family: var(--font-display); font-size: 19px; line-height: 1.4; font-style: italic; flex: 1; color: var(--ink); }
.review .who { margin-top: 18px; display: flex; align-items: center; gap: 12px; }
.review .ava { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #15120A; font-weight: 600; font-size: 14px; background: var(--gold); }
.review .who b { display: block; font-size: 14px; font-weight: 600; }
.review .who span { font-size: 12px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; font-family: var(--font-display); font-size: 22px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 9px; height: 9px; border-right: 1px solid var(--gold); border-bottom: 1px solid var(--gold); transform: translateY(-70%) rotate(45deg); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .a { padding: 0 0 24px; color: var(--ink-2); font-size: 15px; line-height: 1.6; max-width: 640px; }
.faq .a a { color: var(--gold); }

/* ---------- Заявка (CTA + форма) ---------- */
.cta-band { background: #0A0B0D; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 15% 20%, rgba(212,178,106,.12), transparent 45%); pointer-events: none; }
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: start; position: relative; }
.cta-grid h2 { font-size: clamp(38px, 5vw, 66px); font-style: italic; }
.cta-grid .lead { margin-top: 18px; max-width: 460px; }
.cta-grid .btns { margin-top: 30px; display: flex; gap: 12px; flex-wrap: wrap; }
.cta-grid .small { margin-top: 18px; font-size: 12px; color: var(--muted); }
.lead-form { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 26px; display: grid; gap: 14px; }
.lead-form label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 8px; }
.lead-form input, .lead-form textarea { width: 100%; padding: 13px 14px; border-radius: 4px; border: 1px solid var(--line); background: var(--bg-2); color: var(--ink); outline: none; font-size: 14px; transition: border-color .25s; }
.lead-form textarea { min-height: 110px; resize: vertical; }
.lead-form input:focus, .lead-form textarea:focus { border-color: var(--gold); }
.lead-form .btn { margin-top: 4px; }
.lead-form .ok { display: none; padding: 14px; border: 1px solid rgba(212,178,106,.4); border-radius: 4px; font-size: 14px; color: var(--gold-2); }
.lead-form.sent .ok { display: block; }

/* ---------- Подвал ---------- */
.site-footer { background: #0A0B0D; color: var(--ink); padding: 56px 0 28px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.footer-brand .logo { color: var(--ink); }
.footer-brand p { margin-top: 14px; color: var(--muted); font-size: 14px; max-width: 320px; line-height: 1.6; }
.footer-col h4 { font-family: var(--font-body); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.footer-col ul { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 9px; }
.footer-col a { font-size: 14px; color: var(--ink-2); transition: color .25s; }
.footer-col a:hover { color: var(--gold-2); }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 14px 24px; justify-content: space-between; font-size: 12px; color: var(--muted); }
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--gold-2); }
.socials { display: flex; gap: 8px; }
.socials a { width: 34px; height: 34px; border-radius: 4px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); transition: background .25s, border-color .25s, color .25s; }
.socials a:hover { background: var(--gold); border-color: var(--gold); color: #15120A; }
.socials svg { width: 15px; height: 15px; }

/* ---------- Появление ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.in-view { opacity: 1; transform: none; }

/* =========================================================
   КАТАЛОГ
   ========================================================= */
.page-hero { padding-block: clamp(40px, 6vw, 80px) clamp(20px, 3vw, 40px); }
.page-hero h1 { margin-top: 16px; }
.page-hero p { margin-top: 14px; color: var(--ink-2); max-width: 620px; font-size: 16px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.filters .lbl { font-size: 12px; color: var(--muted); margin-right: 4px; }
.filter-row + .filter-row { margin-top: 12px; }
.style-desc { margin-top: 14px; font-family: var(--font-display); font-style: italic; font-size: 18px; color: var(--gold-2); min-height: 24px; }
.catalog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 34px; }
.catalog-empty { text-align: center; padding: 60px 20px; color: var(--muted); display: none; }
.catalog-empty.shown { display: block; }

/* =========================================================
   ЗАКАЗ / КОНСТРУКТОР
   ========================================================= */
.order-grid { display: grid; grid-template-columns: 1fr 420px; gap: clamp(30px, 4vw, 60px); align-items: start; }
.order-form { display: grid; gap: 22px; }
.fieldset { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 24px; }
.fieldset h3 { font-size: 22px; display: flex; align-items: center; gap: 12px; }
.fieldset h3 .n { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold); font-family: var(--font-display); font-style: italic; font-size: 15px; display: grid; place-items: center; }
.fieldset .hint { font-size: 13px; color: var(--muted); margin-top: 6px; }
.fields { display: grid; gap: 14px; margin-top: 18px; }
.fields.two { grid-template-columns: 1fr 1fr; }
.field label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border-radius: 4px; border: 1px solid var(--line); background: var(--bg-2); color: var(--ink); font-size: 15px; outline: none; transition: border-color .25s; -webkit-appearance: none; appearance: none; }
.field select { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%23999' stroke-width='1.6' stroke-linecap='round'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.field select option { background: #1A1B20; color: var(--ink); }
.field textarea { min-height: 84px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); }
.field.full { grid-column: 1 / -1; }
.type-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 18px; }
.type-btn { padding: 14px 10px; border-radius: 4px; border: 1px solid var(--line); background: var(--bg-2); text-align: center; font-size: 13px; font-weight: 500; display: flex; flex-direction: column; align-items: center; gap: 8px; transition: border-color .25s, background .25s, color .25s; }
.type-btn svg { width: 22px; height: 22px; color: var(--gold); }
.type-btn.active { background: var(--gold); color: #15120A; border-color: var(--gold); }
.type-btn.active svg { color: #15120A; }
.tpl-pick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 18px; }
.tpl-opt { border-radius: 6px; overflow: hidden; border: 2px solid transparent; background: var(--bg-2); position: relative; aspect-ratio: 3 / 4; transition: border-color .25s, transform .25s; }
.tpl-opt img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.tpl-opt span { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 8px 8px; font-size: 11px; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.7)); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tpl-opt.active { border-color: var(--gold); transform: scale(1.02); }
.tpl-opt.active::after { content: ""; position: absolute; top: 8px; right: 8px; width: 20px; height: 20px; border-radius: 50%; background: var(--gold) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M3.5 8.5l3 3 6-6' fill='none' stroke='%23111' stroke-width='2.2' stroke-linecap='round'/></svg>") center/12px no-repeat; }
.tariff-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.tariff-opt { border: 1px solid var(--line); border-radius: 6px; padding: 16px; background: var(--bg-2); cursor: pointer; transition: border-color .25s, background .25s; }
.tariff-opt b { display: block; font-family: var(--font-display); font-size: 22px; font-weight: 400; }
.tariff-opt .p { font-size: 15px; font-weight: 600; margin-top: 4px; color: var(--gold-2); font-variant-numeric: lining-nums; }
.tariff-opt span { display: block; font-size: 12px; color: var(--muted); margin-top: 4px; }
.tariff-opt.active { border-color: var(--gold); background: rgba(212,178,106,.08); }
.order-summary { position: sticky; top: 90px; display: grid; gap: 16px; }
.order-summary .phone { width: 100%; max-width: 330px; margin: 0 auto; }
.summary-card { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 22px; }
.summary-card .row { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; padding: 8px 0; border-bottom: 1px solid var(--line-2); }
.summary-card .row:last-of-type { border-bottom: 0; }
.summary-card .row span { color: var(--muted); }
.summary-card .row b { font-weight: 500; text-align: right; }
.summary-card .total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.summary-card .total .sum { font-family: var(--font-display); font-size: 34px; color: var(--gold-2); font-variant-numeric: lining-nums; }
.summary-card .total .sum small { font-family: var(--font-body); font-size: 13px; color: var(--muted); margin-left: 4px; }
.summary-card .btns { display: grid; gap: 8px; margin-top: 16px; }
.summary-card .fine { font-size: 12px; color: var(--muted); margin-top: 10px; text-align: center; line-height: 1.5; }
.order-done { display: none; text-align: center; padding: 36px 24px; }
.order-done.shown { display: block; }
.order-done .ic { width: 64px; height: 64px; border-radius: 50%; background: var(--gold); color: #15120A; display: grid; place-items: center; margin: 0 auto 16px; }
.order-done .ic svg { width: 30px; height: 30px; }
.order-done pre { text-align: left; white-space: pre-wrap; font: 13px/1.5 var(--font-body); background: var(--bg-2); border-radius: 6px; padding: 14px; margin: 18px 0; color: var(--ink-2); max-height: 260px; overflow: auto; }

/* =========================================================
   ДОКУМЕНТЫ
   ========================================================= */
.doc { max-width: 760px; margin-inline: auto; }
.doc h1 { font-size: clamp(34px, 4.2vw, 52px); }
.doc .updated { margin-top: 10px; font-size: 13px; color: var(--muted); }
.doc h2 { font-size: 26px; margin-top: 44px; }
.doc p, .doc li { color: var(--ink-2); line-height: 1.65; margin-top: 12px; font-size: 15px; }
.doc ul { padding-left: 20px; }
.doc a { color: var(--gold); }
.doc .note { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 16px 18px; margin-top: 18px; font-size: 14px; }

/* ---------- Тост ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px); background: var(--ink); color: #111; border-radius: 6px; padding: 13px 18px; display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow-lg); z-index: 95; opacity: 0; pointer-events: none; max-width: calc(100% - 32px); font-size: 14px; transition: opacity .35s var(--ease), transform .35s var(--ease); }
.toast.shown { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast svg { width: 18px; height: 18px; color: var(--gold-3); flex: none; }

/* =========================================================
   АДАПТИВ
   ========================================================= */
@media (max-width: 1080px) {
  .tpl-grid, .catalog-grid { grid-template-columns: repeat(2, 1fr); }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 30px 20px; }
  .steps::before { display: none; }
  .order-grid { grid-template-columns: 1fr 360px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav-links { position: fixed; top: 72px; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 16px; display: none; box-shadow: var(--shadow-md); }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 12px 0; font-size: 16px; border-bottom: 1px solid var(--line-2); }
  .nav-links a.active::after { display: none; }
  .menu-toggle { display: inline-flex; }
  .nav-actions .btn { display: none; }
  .hero-grid, .exp-grid, .cabinet-teaser, .cta-grid { grid-template-columns: 1fr; }
  .hero .phone-stage { margin-top: 10px; }
  .plans, .reviews { grid-template-columns: 1fr; }
  .order-grid { grid-template-columns: 1fr; }
  .order-summary { position: static; }
  .tpl-pick { grid-template-columns: repeat(3, 1fr); }
  .stats { grid-template-columns: 1fr; gap: 10px; }
}
@media (max-width: 600px) {
  :root { --gutter: 18px; }
  .tpl-grid, .catalog-grid { grid-template-columns: 1fr; }
  .feat-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .fields.two { grid-template-columns: 1fr; }
  .tariff-pick { grid-template-columns: 1fr; }
  .hero .cta .btn { width: 100%; }
  .marquee-track { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  html { scroll-behavior: auto; }
}
