/* Balanso — лендинг для spółek и JDG
   Палитра: ночь #1a1a1c, графит #242426 / #2d2d30, золото #c9a96e / #ddc08a, крем #e8dfc8, белый #faf7f2
   Шрифты: Cormorant Garamond (заголовки, голос клиента), Golos Text (текст; у DM Sans нет кириллицы) */

:root {
  --night: #1a1a1c;
  --ink-2: #222224;
  --graphite: #2d2d30;
  --gold: #c9a96e;
  --gold-light: #ddc08a;
  --gold-dark: #a8854a;
  --cream: #e8dfc8;
  --white: #faf7f2;
  --muted: #aaa293;
  --line: rgba(232, 223, 200, 0.14);

  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Golos Text', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --pad: 22px;          /* левое поле */
  --gutter: 62px;       /* правое поле на телефоне: здесь идёт канат */
  --section: clamp(88px, 11vw, 168px);
  --bar-h: 0px;         /* высота нижней плашки, ставит скрипт */
  --banner-h: 0px;      /* высота баннера cookies, ставит скрипт */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; }
body {
  margin: 0;
  background: var(--night);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; font-weight: 500; color: var(--white); }
h1, h2 { font-family: var(--serif); }
h3 { font-family: var(--sans); }
[hidden] { display: none !important; }

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

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

/* ---------- Сетка ---------- */
.wrap {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--pad);
}
.section > .wrap { padding-right: var(--gutter); }
.col { max-width: 660px; }
.section { padding: 0 0 var(--section); }
.section--alt { background: var(--ink-2); padding-top: var(--section); margin-bottom: var(--section); }

/* оффер 2 (utm_content=perehod_p): своя кнопка WhatsApp вместо обычной */
html:not([data-hero="perehod_p"]) .only-p { display: none; }
html[data-hero="perehod_p"] div.only-p { display: block; }
html[data-hero="perehod_p"] .hero .contacts-row { grid-template-columns: 1fr; }
html[data-hero="perehod_p"] .hero .contacts-row .not-p, html[data-hero="perehod_p"] .plan-cta.not-p { display: none; }
.contacts .only-p { width: 100%; min-height: 50px; text-align: center; line-height: 1.25; padding: 10px 18px; }
.plan-cta .btn--call { min-width: 240px; }
.plan-cta .btn--line { text-align: center; line-height: 1.25; padding: 12px 26px; max-width: 420px; width: 100%; }

/* версии страницы: spółki (по умолчанию) и JDG; ставит скрипт в <head> */
html[data-v="jdg"] [data-for="spolki"] { display: none; }
html:not([data-v="jdg"]) [data-for="jdg"] { display: none; }

/* ---------- Типографика ---------- */
.h2 {
  font-size: clamp(2rem, 1.35rem + 2.6vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.005em;
  margin-bottom: 0.7em;
  max-width: 17ch;
}
.lede { color: var(--muted); margin-top: -0.5rem; margin-bottom: 2.6rem; max-width: 34em; }
.serif-text {
  font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.3rem);
  line-height: 1.55;
  color: var(--cream);
}
.muted { color: var(--muted); }
strong { font-weight: 500; color: var(--white); }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 56px; padding: 0 28px;
  font: 500 1.0625rem/1 var(--sans);
  letter-spacing: 0.01em;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn--call { background: var(--gold); color: var(--night); }
.btn--call:hover { background: var(--gold-light); }
.btn--line { border-color: rgba(201, 169, 110, 0.5); color: var(--cream); background: transparent; }
.btn--line:hover { border-color: var(--gold); color: var(--white); }
.btn svg { width: 18px; height: 18px; flex: none; }

.contacts { display: grid; gap: 10px; max-width: 420px; }
.contacts .btn--call { width: 100%; }
.contacts-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.contacts-row .btn { min-height: 50px; padding: 0 16px; font-size: 1rem; }
.note { margin-top: 14px; color: var(--muted); font-size: 1rem; line-height: 1.5; max-width: 26em; }

/* ---------- Шапка и первый экран (по центру) ---------- */
.top { position: relative; display: flex; justify-content: center; padding-block: 12px 4px; }
.logo { display: flex; flex-direction: column; align-items: center; gap: 4px; text-decoration: none; }
.emblem--logo { width: 92px; margin: 0; }
.logo-word { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; letter-spacing: 0.22em; padding-left: 0.22em; color: var(--cream); line-height: 1; }
.top-phone { display: none; position: absolute; right: 0; top: 30px; text-decoration: none; color: var(--cream); font-size: 1rem; }
.top-phone:hover { color: var(--gold-light); }

.hero { padding-bottom: clamp(72px, 9vw, 128px); }
.hero-main { text-align: center; max-width: 820px; margin: 0 auto; padding-top: clamp(28px, 5vh, 56px); }
.hero h1 {
  font-size: clamp(2.2rem, 1.3rem + 4.2vw, 4.6rem);
  line-height: 1.05;
  letter-spacing: -0.012em;
  max-width: 18ch; margin-inline: auto;
}
.hero-paths span { display: block; }
.hero-paths span + span { margin-top: 12px; }
.hero-paths b { color: var(--white); font-weight: 500; }
.for-line { margin: 14px auto 0; color: var(--gold); font-weight: 500; font-size: 1.05rem; letter-spacing: .01em; }
.for-line + .hero-sub { margin-top: 18px; }
.hero-sub { margin: 16px auto 0; color: var(--muted); max-width: 32em; font-size: 1.0625rem; }
.theses { margin: 14px auto 0; max-width: 40em; display: grid; gap: 6px; color: var(--cream); }
.theses li { line-height: 1.45; }
.theses li::before { content: ""; display: block; width: 18px; height: 1px; background: var(--gold); margin: 0 auto 6px; }
.theses li:first-child::before { display: none; }
.hero .contacts { margin: 34px auto 0; }
.hero .note { margin-inline: auto; }
.hero-copy { display: none; }
html:not([data-hero]) .hero-copy[data-v="default"],
html[data-hero="default"] .hero-copy[data-v="default"],
html[data-hero="perehod"] .hero-copy[data-v="perehod"],
html[data-hero="transport"] .hero-copy[data-v="transport"],
html[data-hero="stroyka"] .hero-copy[data-v="stroyka"],
html[data-hero="obshchiy"] .hero-copy[data-v="obshchiy"],
html[data-hero="jdg"] .hero-copy[data-v="jdg"],
html[data-hero="jdg2"] .hero-copy[data-v="jdg2"],
html[data-hero="perehod_p"] .hero-copy[data-v="perehod_p"] { display: block; }

.emblem { position: relative; display: block; aspect-ratio: 660 / 385; }
.emblem-art { width: 100%; height: 100%; fill: var(--gold); overflow: visible; }
.emblem-spot { position: absolute; left: 11.515%; top: 1.558%; width: 70.909%; height: 97.662%; fill: var(--gold); }

/* ---------- Канатоходец ---------- */
.walker, .lane { display: none; }
.walk .walker {
  display: block;
  position: fixed; left: 0; top: 0; z-index: 30;
  width: 100px; height: 80.34px;
  transform-origin: 0 0;
  pointer-events: none;
  will-change: transform;
}
.walker svg { width: 100%; height: 100%; fill: var(--gold); overflow: visible; }
.walker-tilt, .walker-sway { width: 100%; height: 100%; transform-origin: 47.86% 99%; }
.walk .walker-sway { animation: sway 3.8s ease-in-out infinite; }
@keyframes sway { 0%, 100% { transform: rotate(-1.6deg); } 50% { transform: rotate(1.6deg); } }

.walk .lane { display: block; position: fixed; inset: 0; z-index: 20; pointer-events: none; opacity: 0; }
.lane i { position: absolute; left: 0; width: 1px; display: block; transform-origin: 0 0; }
.lane .lane-done { background: var(--gold); top: 0; }
.lane .lane-rest { background: rgba(201, 169, 110, 0.26); top: 0; }

/* на первом экране фигура — статичный SVG в логотипе; .walker показывается только после начала прокрутки */
.walk .walker { visibility: hidden; }
.walk .walker.is-moving { visibility: visible; }

/* при загрузке канат коротко дотягивается к краям; фигура и буквы видны сразу */
.hero .emblem-rope { animation: rope-in .5s cubic-bezier(.65, 0, .35, 1); }
@keyframes rope-in { from { clip-path: inset(0 30% 0 30%); } to { clip-path: inset(0 0 0 0); } }

/* ---------- Узнавание ---------- */
.pains li { padding-block: 26px; border-top: 1px solid var(--line); }
.pains li:last-child { border-bottom: 1px solid var(--line); }
.pains b {
  display: block;
  font-weight: 500;
  font-size: clamp(1.2rem, 1.1rem + 0.4vw, 1.35rem); line-height: 1.35;
  color: var(--white); margin-bottom: 6px;
}
.pains span { color: var(--muted); }

/* ---------- Шаги (последовательности) ---------- */
.steps { counter-reset: step; }
.steps > li {
  counter-increment: step;
  display: grid; grid-template-columns: 1.9rem 1fr; column-gap: 14px;
  padding-bottom: 30px;
}
.steps > li::before {
  content: counter(step);
  font-weight: 500; font-size: 1.05rem; line-height: 1; color: var(--gold);
  width: 1.9rem; height: 1.9rem; border: 1px solid rgba(201,169,110,.55); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.steps > li > div { padding-top: 3px; }
.steps b { display: block; color: var(--white); font-weight: 500; margin-bottom: 4px; }
.steps span { color: var(--muted); }

/* ---------- Списки определений ---------- */
.plain > li { padding-block: 14px; }
.plain > li + li { border-top: 1px solid var(--line); }
.plain > li:first-child { padding-top: 4px; }
.plain b { color: var(--white); font-weight: 500; }
.after li {
  font-size: clamp(1.1rem, 1.02rem + 0.35vw, 1.25rem); line-height: 1.5;
  color: var(--cream); padding-left: 28px; position: relative; margin-bottom: 18px;
}
.after li::before {
  content: ""; position: absolute; left: 0; top: 0.72em; width: 14px; height: 1px; background: var(--gold);
}
.list-h { font-size: 1rem; font-weight: 500; color: var(--gold); letter-spacing: .02em; margin: 0 0 6px; }
.plain + .list-h { margin-top: 30px; }
.accent-line { margin-top: 26px; padding-left: 16px; border-left: 1px solid var(--gold); color: var(--cream); max-width: 34em; }
.accent-line b, .who-p b { color: var(--white); font-weight: 500; }
.who-p { color: var(--cream); max-width: 34em; }
.price-line, .also { margin-top: 24px; color: var(--cream); max-width: 34em; }
.price-line .list-h, .also .list-h { display: block; margin-bottom: 4px; }
.also { color: var(--muted); }
.list-intro { color: var(--cream); margin-bottom: 8px; }
.steps--short > li { padding-bottom: 18px; }
.price-note { margin-top: 26px; color: var(--muted); max-width: 32em; }

/* состав платежей (шаг 4) */
.pay { margin: 14px 0 4px; border-left: 1px solid var(--gold); padding-left: 16px; display: grid; gap: 8px; }
.pay li { display: block; line-height: 1.4; }
.pay li span { display: block; font-size: .95rem; }
.pay b { display: inline; margin: 0; color: var(--white); font-weight: 500; letter-spacing: .02em; }
.pay span { color: var(--muted); }
.steps .pay + span { display: block; margin-top: 10px; }
.plain .pay { margin-bottom: 0; }

.who { display: grid; gap: 30px; }
.who h3 { font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.3rem); line-height: 1.3; margin-bottom: 6px; }
.who p { color: var(--muted); }

.okres { margin-top: 56px; padding-left: 20px; border-left: 1px solid var(--gold); max-width: 600px; }
.okres h3 { font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.3rem); line-height: 1.3; margin-bottom: 12px; }
.okres p { color: var(--cream); }
.plan-cta { margin-top: 40px; }
.plan-cta .note { margin-top: 12px; }

/* ---------- Доверие ---------- */

/* ---------- Вопросы ---------- */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 16px;
  padding-block: 20px; min-height: 44px;
  font-weight: 500; font-size: clamp(1.05rem, 1rem + 0.25vw, 1.15rem); line-height: 1.4; color: var(--white);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 13px; height: 13px; margin-top: 0.45em;
  background:
    linear-gradient(var(--gold), var(--gold)) center / 13px 1px no-repeat,
    linear-gradient(var(--gold), var(--gold)) center / 1px 13px no-repeat;
  transition: transform .25s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 22px; color: var(--muted); max-width: 36em; }

/* ---------- Блок после первого экрана: тезисы и основатели ---------- */
.intro .theses { margin: 0; max-width: none; display: grid; gap: 14px; color: var(--cream); font-size: 1.05rem; }
.intro .theses li { padding-left: 26px; position: relative; line-height: 1.45; }
.intro .theses li::before { content: ""; position: absolute; left: 0; top: .72em; width: 14px; height: 1px; margin: 0; background: var(--gold); display: block; }
.intro .theses li:first-child::before { display: block; }
.photo--duo { margin-top: 34px; max-width: 640px; }
.note--off:empty { display: none; }

/* ---------- Фото команды ---------- */
.photo { margin: 0; }
.photo img { display: block; width: 100%; height: auto; border-radius: 14px; filter: brightness(.94) saturate(.92); box-shadow: 0 0 0 1px rgba(201,169,110,.18); }
.photo--call { max-width: 420px; margin: 0; }
.photo figcaption { margin-top: 10px; color: var(--muted); font-size: .95rem; line-height: 1.45; }
.final-about { margin: 12px 0 28px; color: var(--muted); font-size: .95rem; line-height: 1.5; max-width: 34em; }

/* ---------- Финал ---------- */
.phones { display: grid; gap: 4px; margin: 10px 0 8px; justify-items: start; }
.phone2 { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 18px; }
.phone2-links { display: inline-flex; gap: 16px; font-size: 1rem; }
.phone2-links a { color: var(--gold-light); text-underline-offset: 3px; display: inline-flex; align-items: center; min-height: 44px; }
.big-phone {
  display: inline-block;
  font-family: var(--serif); font-weight: 500; font-size: clamp(2.3rem, 1.6rem + 3.4vw, 4.2rem);
  line-height: 1.05; letter-spacing: 0.01em; color: var(--white); text-decoration: none; white-space: nowrap;
}
.big-phone:hover { color: var(--gold-light); }
.final .contacts { margin-top: 28px; }
.to-form { display: inline-block; margin-top: 34px; color: var(--cream); text-underline-offset: 4px; text-decoration-color: rgba(201,169,110,.6); min-height: 44px; }

/* ---------- Форма ---------- */
.form { display: grid; gap: 22px; max-width: 520px; }
.field label, .field legend { display: block; margin-bottom: 8px; color: var(--cream); font-size: 1rem; }
.field fieldset { border: 0; margin: 0; padding: 0; }
.field input[type=text], .field input[type=tel], .field textarea {
  width: 100%; min-height: 52px; padding: 13px 16px;
  font: 400 1.0625rem/1.4 var(--sans); color: var(--white);
  background: var(--graphite); border: 1px solid var(--line); border-radius: 10px;
  -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 104px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #8a8478; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { margin: 0; position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips span {
  display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px;
  border: 1px solid var(--line); border-radius: 999px; color: var(--cream); background: var(--graphite);
  transition: border-color .2s, background-color .2s, color .2s;
}
.chips input:checked + span { border-color: var(--gold); background: rgba(201,169,110,.14); color: var(--white); }
.chips input:focus-visible + span { outline: 2px solid var(--gold-light); outline-offset: 2px; }
.consent { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; color: var(--muted); font-size: 1rem; line-height: 1.5; }
.consent input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--gold); }
.err { display: none; margin-top: 6px; color: #e9a58f; font-size: 0.95rem; }
.field.has-err .err, .consent-wrap.has-err .err, .form-fail.is-on { display: block; }
.field.has-err input, .field.has-err .chips span { border-color: #e9a58f; }
.submit-wrap { position: relative; padding-top: 70px; }
.form-spot { position: absolute; right: 22px; bottom: calc(100% - 70px); width: 84px; aspect-ratio: 468 / 376; }
.btn--send { width: 100%; background: var(--graphite); color: var(--white); border-color: var(--gold); }
.btn--send:hover { background: #38383c; }
.btn--send:disabled { opacity: .6; cursor: progress; }
.form-fail { display: none; color: #e9a58f; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Подвал ---------- */
.foot { border-top: 1px solid var(--line); padding-block: 56px calc(56px + var(--bar-h)); color: var(--muted); font-size: 1rem; }
.foot .wrap { padding-right: var(--gutter); }
.foot .tagline { font-size: 1.1rem; line-height: 1.4; color: var(--cream); margin-bottom: 22px; }
.foot p { margin-bottom: 10px; }
.foot a { color: var(--cream); text-underline-offset: 3px; }
.foot .legal { margin-top: 22px; font-size: 0.95rem; line-height: 1.6; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--cream); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ---------- Нижняя плашка звонка ---------- */
.callbar {
  position: fixed; left: 0; right: 0; bottom: var(--banner-h); z-index: 40;
  display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 8px;
  padding: 10px 10px calc(10px + env(safe-area-inset-bottom));
  background: rgba(26, 26, 28, 0.94);
  border-top: 1px solid var(--line);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transform: translateY(110%); transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.callbar.is-on { transform: none; }
.callbar .btn { min-height: 50px; padding: 0 10px; font-size: 1rem; }

/* ---------- Cookies ---------- */
.cookie {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: #232325; border-top: 1px solid rgba(201,169,110,.35);
  padding: 14px var(--pad) calc(14px + env(safe-area-inset-bottom));
  font-size: 0.95rem; line-height: 1.45;
}
.cookie p { max-width: 640px; margin-bottom: 12px; }
.cookie-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 420px; }
.cookie-btns .btn { min-height: 44px; padding: 0 12px; font-size: 1rem; }
.cookie a { color: var(--gold-light); }
.cookie-more { display: inline-block; margin-top: 10px; }
.cookie-panel { margin: 4px 0 14px; display: grid; gap: 12px; max-width: 640px; }
.cookie-panel label { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; }
.cookie-panel input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--gold); }
.cookie-btns--3 { grid-template-columns: 1fr 1fr 1fr; max-width: 560px; }

/* ---------- Простые страницы ---------- */
.page { padding-block: 24px 96px; }
.page .wrap { max-width: 860px; }
.page h1 { font-size: clamp(2.3rem, 1.6rem + 3vw, 3.8rem); line-height: 1.06; margin: 48px 0 22px; max-width: 16ch; }
.page h2 { font-size: clamp(1.55rem, 1.3rem + 1vw, 2.05rem); line-height: 1.15; margin: 44px 0 12px; }
.page ul.bul { list-style: none; padding: 0; margin: 0 0 1em; }
.page ul.bul li { padding-left: 22px; position: relative; margin-bottom: 6px; }
.page ul.bul li::before { content: ""; position: absolute; left: 0; top: .8em; width: 10px; height: 1px; background: var(--gold); }
.notice { border-left: 1px solid var(--gold); padding: 6px 0 6px 18px; color: var(--cream); margin: 0 0 36px; }
.lang-switch { display: flex; gap: 18px; margin-top: 8px; }
.thanks .emblem { margin: 40px 0 8px; width: 220px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 600; font-size: 1.25rem; letter-spacing: 0.16em; color: var(--cream); text-decoration: none; }
.wordmark svg, .wordmark img { width: 30px; height: auto; fill: var(--gold); }
.page .top { justify-content: flex-start; }

/* ---------- Планшет и компьютер ---------- */
@media (min-width: 900px) {
  :root { --pad: 48px; --gutter: 48px; }
  body { font-size: 18px; }
  .top-phone { display: inline-block; }
  .emblem--logo { width: 100px; }
  .logo-word { font-size: 1.3rem; }
  .hero { min-height: min(88vh, 860px); display: flex; flex-direction: column; }
  .hero > .wrap { flex: 1; display: flex; flex-direction: column; width: 100%; }
  .hero-main { flex: 1; display: flex; flex-direction: column; justify-content: center; padding-block: 32px 48px; }
  .hero h1 { font-size: clamp(2.8rem, 1.2rem + 3vw, 4.1rem); }
  .hero .contacts { margin-top: 38px; width: 100%; max-width: 420px; }
  .form-spot { width: 108px; }
    .callbar { grid-template-columns: 220px 160px 160px; justify-content: center; }
  .pay li { display: grid; grid-template-columns: 10rem 1fr; gap: 14px; align-items: baseline; }
  .pay li span { font-size: inherit; }
  .submit-wrap { padding-top: 90px; }
  .form-spot { bottom: calc(100% - 90px); }
  /* основной текст — колонка по центру страницы, внутри по левому краю; справа от неё канат */
  .section > .wrap { max-width: calc(720px + 2 * var(--pad)); padding-right: var(--pad); }
  .col, .section .wrap > .h2 { max-width: 720px; }
  .foot .wrap { max-width: calc(720px + 2 * var(--pad)); padding-right: var(--pad); }
  .who { grid-template-columns: 1fr 1fr; column-gap: 48px; row-gap: 36px; }
}
@media (min-width: 1400px) {
  .callbar {
    left: auto; right: 24px; bottom: calc(18px + var(--banner-h));
    grid-template-columns: auto auto auto; gap: 8px; padding: 8px;
    border: 1px solid var(--line); border-radius: 999px;
    transform: translateY(160%);
  }
  .callbar .btn { padding: 0 20px; min-height: 46px; }
}
@media (min-width: 900px) {
  .cookie { padding-inline: var(--pad); display: flex; gap: 32px; align-items: center; justify-content: space-between; }
  .cookie p { margin: 0; }
  .cookie.is-panel { display: block; }
}


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

/* 28.10.2026: ровные отступы между кнопками первого экрана, тезисами и фото */
.hero { padding-bottom: clamp(40px, 6vw, 96px); }
.intro .col > .photo--duo { margin-top: 32px; }

/* 28.10.2026: цены «от» отдельными строками */
.prices { margin-top: 28px; max-width: 34em; }
.prices .list-h { display: block; margin-bottom: 10px; }
.price { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; }
.price + .price { border-top: 1px solid var(--line); }
.price-name { color: var(--cream); }
.price-val { font-family: var(--font-display, 'Cormorant Garamond', serif); font-size: 1.6rem; color: var(--gold); white-space: nowrap; line-height: 1; }
.price-val small { font-family: var(--font-body, 'Golos Text', sans-serif); font-size: .8rem; color: var(--muted); margin-left: 2px; }
.price-note { margin-top: 10px; color: var(--muted); font-size: .95rem; }
@media (max-width: 420px) { .price { flex-direction: column; align-items: flex-start; gap: 6px; } }

/* ================= «Золотое стекло» — единая система (28.10.2026) =================
   Переменные: один набор граней, бликов и теней для всех стеклянных элементов.
   Классы-роли перечислены списками селекторов — свойства не дублируются. */
:root {
  --lg-blur: blur(18px) saturate(160%);
  --lg-edge: rgba(201, 169, 110, .30);           /* золотая грань */
  --lg-edge-strong: rgba(221, 192, 138, .55);
  --lg-tint: linear-gradient(160deg, rgba(255, 236, 200, .10), rgba(255, 255, 255, .03) 45%, rgba(201, 169, 110, .09));
  --lg-panel: linear-gradient(160deg, rgba(255, 236, 200, .06), rgba(255, 255, 255, .02) 50%, rgba(201, 169, 110, .06));
  --lg-shine: linear-gradient(180deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, 0));
  --lg-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), inset 0 -1px 0 rgba(0, 0, 0, .25), 0 10px 28px rgba(0, 0, 0, .38);
  --lg-gold: linear-gradient(110deg, #b89559 0%, #d8bb84 22%, #efd9a8 38%, #c9a96e 55%, #ab884d 72%, #dcc08a 88%, #b89559 100%);
  --lg-gold-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), inset 0 -1px 0 rgba(0, 0, 0, .14), 0 8px 24px rgba(201, 169, 110, .22), 0 4px 12px rgba(0, 0, 0, .35);
  --lg-radius: 18px;
  --lg-fallback: #232326;
}

/* --- роль 1: золотое стекло главных кнопок (с переливом) --- */
.btn--call, .btn--send, .plan-cta.only-p .btn {
  background: var(--lg-gold); background-size: 260% 100%;
  border: 1px solid rgba(255, 240, 210, .5);
  color: #17171a;
  box-shadow: var(--lg-gold-shadow);
  animation: goldflow 8s ease-in-out infinite alternate;
}
.btn--call:hover, .btn--send:hover, .plan-cta.only-p .btn:hover { background: var(--lg-gold); background-size: 260% 100%; color: #17171a; filter: brightness(1.05); }
.btn--call::after, .btn--send::after, .plan-cta.only-p .btn::after {
  content: ""; position: absolute; inset: -2px; z-index: -1; pointer-events: none; border-radius: inherit;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 249, 232, .42) 50%, transparent 62%);
  transform: translateX(-120%);
  animation: goldsheen 5s ease-in-out infinite;
}
@keyframes goldflow { 0% { background-position: 0% 50%; } 100% { background-position: 100% 50%; } }
@keyframes goldsheen { 0%, 55% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }

/* --- роль 2: стеклянные кнопки и поверхности с золотой гранью --- */
.btn--line, .callbar, .cookie, .field input[type=text], .field input[type=tel], .field textarea, .chips span {
  background: var(--lg-tint);
  border: 1px solid var(--lg-edge);
  -webkit-backdrop-filter: var(--lg-blur);
  backdrop-filter: var(--lg-blur);
}
.btn--line { color: var(--cream); box-shadow: var(--lg-shadow); }
.btn--line:hover { border-color: var(--lg-edge-strong); color: var(--white); background: var(--lg-tint); }
.callbar { background: linear-gradient(180deg, rgba(40, 36, 30, .62), rgba(26, 26, 28, .70)); border-width: 1px 0 0; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .10), 0 -8px 24px rgba(0, 0, 0, .3); }
.cookie { background: linear-gradient(180deg, rgba(40, 36, 30, .80), rgba(26, 26, 28, .88)); border-width: 1px 0 0; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .10), 0 -8px 24px rgba(0, 0, 0, .3); }

/* общие блик и «вдавливание» у кнопок */
.btn { position: relative; isolation: isolate; overflow: hidden; transition: transform .15s ease, border-color .2s ease, filter .2s ease; }
.btn--line::before, .btn--call::before, .btn--send::before, .plan-cta.only-p .btn::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 48%;
  border-radius: inherit; pointer-events: none; z-index: -1; background: var(--lg-shine);
}
.btn--call::before, .btn--send::before, .plan-cta.only-p .btn::before { background: linear-gradient(180deg, rgba(255, 255, 255, .3), rgba(255, 255, 255, 0)); }
.btn:active { transform: scale(.98); }
.btn:active::before { filter: brightness(1.4); }
.btn:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }

/* --- роль 3: стеклянные панели-карточки (без перелива) --- */
.pains li, .prices, .okres, .faq details, .intro .theses {
  position: relative;
  background: var(--lg-panel);
  border: 1px solid var(--lg-edge);
  border-radius: var(--lg-radius);
  box-shadow: var(--lg-shadow);
  -webkit-backdrop-filter: var(--lg-blur);
  backdrop-filter: var(--lg-blur);
}
.pains li, .prices, .okres, .intro .theses { padding: 20px 20px; }
.pains { display: grid; gap: 12px; }
.pains li, .pains li:last-child { border-top-width: 1px; border-bottom-width: 1px; padding-block: 18px; }
.okres { border-left-width: 1px; padding-left: 20px; }
.intro .theses { gap: 12px; }
.prices .price + .price { border-top-color: rgba(201, 169, 110, .18); }
.faq { display: grid; gap: 10px; }
.faq details, .faq details:last-child { border-top-width: 1px; border-bottom-width: 1px; padding: 0 20px; }
.faq summary { padding-block: 16px; }
/* плавное раскрытие вопросов (где браузер умеет) */
@supports selector(::details-content) {
  .faq { interpolate-size: allow-keywords; }
  .faq details::details-content { block-size: 0; overflow: hidden; transition: block-size .3s ease, content-visibility .3s allow-discrete; }
  .faq details[open]::details-content { block-size: auto; }
}

/* --- роль 4: золотые стеклянные «капли» номеров шагов --- */
.steps > li::before {
  background: radial-gradient(circle at 35% 28%, rgba(255, 246, 220, .55), rgba(221, 192, 138, .28) 45%, rgba(168, 133, 74, .22));
  border: 1px solid var(--lg-edge-strong);
  color: var(--white);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 4px 10px rgba(0, 0, 0, .35);
}

/* --- форма: стекло полей, выбранный чипс — золото, золотая галочка --- */
.field input[type=text], .field input[type=tel], .field textarea { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); }
.field input:focus, .field textarea:focus { border-color: var(--gold); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 0 0 3px rgba(201, 169, 110, .18); }
.chips span { box-shadow: var(--lg-shadow); }
.chips input:checked + span { background: var(--lg-gold); background-size: 260% 100%; border-color: rgba(255, 240, 210, .5); color: #17171a; box-shadow: var(--lg-gold-shadow); }
.consent input {
  -webkit-appearance: none; appearance: none; width: 22px; height: 22px; border-radius: 7px; cursor: pointer;
  background: var(--lg-tint); border: 1px solid var(--lg-edge-strong); box-shadow: var(--lg-shadow);
  display: grid; place-content: center;
}
.consent input::after { content: ""; width: 6px; height: 11px; border: solid #17171a; border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -1px); opacity: 0; }
.consent input:checked { background: var(--lg-gold); border-color: rgba(255, 240, 210, .6); }
.consent input:checked::after { opacity: 1; }
.consent input:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }

/* --- фото: стеклянная рамка с золотой гранью --- */
.photo picture {
  display: block; position: relative; padding: 7px; border-radius: 20px;
  background: var(--lg-tint);
  border: 1px solid var(--lg-edge);
  -webkit-backdrop-filter: var(--lg-blur);
  backdrop-filter: var(--lg-blur);
  box-shadow: var(--lg-shadow), 0 14px 34px rgba(0, 0, 0, .45);
}
.photo picture::before {
  content: ""; position: absolute; left: 7px; right: 7px; top: 7px; height: 38%;
  border-radius: 14px 14px 0 0; pointer-events: none; z-index: 1; background: var(--lg-shine); opacity: .75;
}
.photo img { box-shadow: none; }

/* --- фолбэки --- */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .btn--line, .cookie, .field input[type=text], .field input[type=tel], .field textarea, .chips span,
  .pains li, .prices, .okres, .faq details, .intro .theses, .photo picture { background: var(--lg-fallback); }
  .callbar { background: rgba(26, 26, 28, .96); }
}
@media (prefers-reduced-transparency: reduce) {
  .btn--line, .callbar, .cookie, .field input[type=text], .field input[type=tel], .field textarea, .chips span,
  .pains li, .prices, .okres, .faq details, .intro .theses, .photo picture { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--lg-fallback); }
  .callbar, .cookie { background: rgba(26, 26, 28, .97); }
}
@media (prefers-reduced-motion: reduce) {
  .btn--call, .btn--send, .plan-cta.only-p .btn, .btn--call::after, .btn--send::after, .plan-cta.only-p .btn::after { animation: none !important; }
  .btn--call::after, .btn--send::after, .plan-cta.only-p .btn::after { display: none; }
  .btn:active { transform: none; }
  .faq details::details-content { transition: none; }
}
@media (min-width: 1400px) { .callbar { border-width: 1px; border-radius: 999px; } }

/* 28.10.2026: тезисы после первого экрана — без стеклянной рамки */
.intro .theses, .intro .theses::before, .intro .theses::after {
  background: none !important; border: 0 !important; box-shadow: none !important;
  -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
}
.intro .theses { padding: 0 !important; }
.intro .theses::before, .intro .theses::after { content: none !important; }

/* 28.10.2026: рамка фото тоньше */
.photo picture { padding: 3px !important; border-radius: 17px !important; }
.photo picture::before { left: 3px !important; right: 3px !important; top: 3px !important; }

/* 28.10.2026: после формы фигура не идёт — вопросы и подвал на всю ширину и по центру */
.after-walker > .wrap, .foot .wrap { padding-right: var(--pad) !important; }
.after-walker .h2 { text-align: center; }
.after-walker .faq, .after-walker .col { margin-inline: auto; }
.foot, .foot .wrap { text-align: center; }
.foot .wrap > * { margin-inline: auto; }

/* 28.10.2026: нижняя плашка — без фона, три кнопки парят над текстом */
.callbar {
  background: none !important; border: 0 !important; box-shadow: none !important;
  -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
}
.callbar .btn { box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 10px 26px rgba(0,0,0,.55), 0 2px 6px rgba(0,0,0,.45) !important; }
.callbar .btn--line { background: rgba(38, 34, 28, .55) !important; }
.callbar .btn--line { background: rgba(34, 31, 26, .82) !important; -webkit-backdrop-filter: blur(14px) saturate(150%) !important; backdrop-filter: blur(14px) saturate(150%) !important; }

/* таблица cookies в политике */
.table-wrap { overflow-x: auto; margin: 6px 0 18px; -webkit-overflow-scrolling: touch; }
.ck { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .95rem; line-height: 1.45; }
.ck th, .ck td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.ck th { color: var(--gold); font-weight: 500; }
.ck td code { color: var(--white); font-size: .9em; }
.ck .ck-group { color: var(--muted); padding-top: 16px; }
@media (max-width: 600px) {
  .ck { min-width: 0; }
  .ck thead { display: none; }
  .ck tr, .ck td { display: block; }
  .ck tr { padding: 10px 0; border-bottom: 1px solid var(--line); }
  .ck td { border: 0; padding: 3px 0; }
  .ck td[data-label]::before { content: attr(data-label); display: block; color: var(--gold); font-size: .85rem; }
  .ck .ck-group { padding: 14px 0 0; border: 0; }
}
