@charset "utf-8";
/* ============================================================================
   АГЕНТСТВО ЭЛИТНОЙ НЕДВИЖИМОСТИ ЕЛЕНЫ КУЗНЕЦОВОЙ
   Дизайн-система по фирменному брендбуку (BRANDBOOK_Елена Кузнецова.pdf).

   Палитра и шрифт взяты из брендбука дословно:
     #eae1d8 бежевый · #2c211b шоколад · #81684a коричневый · #ddb77f золото
     Шрифт: Arsenal (заголовки и основной текст)
   Слоган: «СЛОГАН АГЕНТСТВА»

   Главный принцип светлой темы: базовые токены — светлые. Тёмная секция
   переопределяет ТЕ ЖЕ семантические токены внутри себя. Компоненты не знают,
   на каком фоне стоят, — поэтому «тёмный текст на светлом» невозможен by design.
   ========================================================================= */

/* ---------- Шрифт бренда ---------- */
@font-face {
  font-family: 'Arsenal';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/arsenal-cyr-400.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Arsenal';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/arsenal-cyrext-400.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Arsenal';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/arsenal-lat-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Arsenal';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/arsenal-cyr-700.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Arsenal';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/arsenal-cyrext-700.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Arsenal';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/arsenal-lat-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Arsenal';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/arsenal-cyr-400i.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Arsenal';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/arsenal-lat-400i.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Токены ---------- */
:root {
  /* фирменные цвета — дословно из брендбука */
  --sand: #eae1d8;
  --choco: #2c211b;
  --brown: #81684a;
  --gold: #ddb77f;

  /* производные оттенки той же гаммы */
  --cream: #f6f2ec;
  --white: #ffffff;
  --gold-soft: #f0e2cb;
  --gold-deep: #c49a5e;
  --brown-text: #6b5334;   /* тёмный тон коричневого: 5.6:1 на бежевом, проходит AA */
  --choco-2: #3b2d24;

  /* семантика светлой темы (база) */
  --bg: var(--sand);
  --surface: var(--white);
  --fg: var(--choco);
  --fg-2: rgba(44, 33, 27, 0.72);
  --fg-3: rgba(44, 33, 27, 0.52);
  --hair: rgba(44, 33, 27, 0.14);
  --edge: rgba(44, 33, 27, 0.34);
  --accent: var(--brown-text);
  --accent-fill: var(--gold);
  --ring: var(--brown-text);
  --error: #8e2f26;
  --ok: #4d6b3c;

  /* типографика */
  --ff: 'Arsenal', 'Segoe UI', system-ui, sans-serif;
  /* 0309: заголовки чуть меньше — d1 было clamp(2.25rem, 1.6rem + 2.667vw, 4rem),
     d2 было clamp(1.75rem, 1.425rem + 1.333vw, 2.625rem); d3 не менялся */
  --fs-d1: clamp(2rem, 1.5rem + 2vw, 3.25rem);
  --fs-d2: clamp(1.5rem, 1.3rem + 1vw, 2.125rem);
  --fs-d3: clamp(1.3125rem, 1.196rem + 0.476vw, 1.625rem);
  --fs-h4: clamp(1.0625rem, 1.016rem + 0.19vw, 1.1875rem);
  --fs-lead: clamp(1.0625rem, 1.016rem + 0.19vw, 1.1875rem);
  --fs-body: clamp(1rem, 0.977rem + 0.095vw, 1.0625rem);
  --fs-small: clamp(0.875rem, 0.852rem + 0.095vw, 0.9375rem);
  --fs-caption: 0.8125rem;
  --fs-eyebrow: clamp(0.6875rem, 0.664rem + 0.095vw, 0.75rem);
  --fs-num: clamp(2.75rem, 2.03rem + 2.95vw, 4.75rem);

  /* сетка и ритм */
  /* 0309: плотнее — контейнер было 1360px, pad-x было clamp(20px, 4.5vw, 80px),
     sec-y было clamp(64px, 6.5vw, 112px) */
  --container: 1240px;
  --pad-x: clamp(20px, 4vw, 56px);
  --sec-y: clamp(40px, 4.5vw, 72px);
  --sec-y-tight: calc(var(--sec-y) * 0.5); /* верх секции, идущей за секцией того же тона */
  --measure: 62ch;                          /* предел ширины абзаца */
  --hl-bg: var(--gold-soft);                /* подложка выделенной фразы .hl */
  --hdr-top: 76px;
  --hdr-nav: 50px;
  --radius: 8px;        /* карточки, кадры, панели */
  --radius-btn: 999px;  /* кнопки — скруглённые «пилюли» */
  --radius-field: 10px; /* поля ввода и варианты ответа */

  /* моушен */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 160ms;
  --dur-base: 240ms;
  --dur-line: 320ms;
  --dur-panel: 400ms;
  --dur-reveal: 700ms;
}

/* Тёмная секция переопределяет ТЕ ЖЕ токены — компоненты не меняются.
   Шапка обязана быть в этом списке: она лежит поверх фотографии, и без
   переопределения кнопка «Перезвонить мне» получала тёмную рамку по тёмному фону. */
.section--choco,
.hero,
.hdr,
.mnav,
.foot,
.modal__panel {
  --bg: var(--choco);
  --surface: var(--choco-2);
  --fg: var(--cream);
  --fg-2: rgba(246, 242, 236, 0.78);
  --fg-3: rgba(246, 242, 236, 0.58);
  --hair: rgba(246, 242, 236, 0.16);
  --edge: rgba(246, 242, 236, 0.44);
  --accent: var(--gold);
  --ring: var(--gold);
  --error: #e29a90;
  --ok: #b9d6a4;
  --hl-bg: rgba(221, 183, 127, 0.26); /* 0309: подложка .hl на тёмном фоне */
}

/* ---------- Сброс ---------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--sand);
  color: var(--choco);
  font-family: var(--ff);
  font-size: var(--fs-body);
  line-height: 1.55; /* 0309: было 1.65 */
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }

/* Авторский display на .btn перебивал UA-правило [hidden] — кнопки квиза
   не скрывались. Явный сброс чинит это раз и навсегда. */
[hidden] { display: none !important; }

::selection { background: var(--gold); color: var(--choco); }

/* ---------- Фокус ---------- */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 14px 24px;
  background: var(--choco);
  color: var(--cream);
  font-size: var(--fs-small);
}
.skip:focus { left: 12px; top: 12px; }

.vh {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ---------- Каркас ---------- */
.wrap {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.section {
  position: relative;
  background: var(--bg);
  color: var(--fg);
  padding-block: var(--sec-y);
  scroll-margin-top: calc(var(--hdr-nav) + 8px);
}
.section--sand { --bg: var(--sand); }
.section--cream { --bg: var(--cream); }
.section--white { --bg: var(--white); }

/* ---------- Типографика ---------- */
.eyebrow {
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.d1, .d2, .d3 {
  font-weight: 400;
  hyphens: none;
  text-wrap: balance;
  color: var(--fg);
}
/* 0309: интерлиньяж плотнее — d1 было 1.1, d2 было 1.15; d3 размер прежний, line-height было 1.25 */
.d1 { font-size: var(--fs-d1); line-height: 1.04; letter-spacing: -0.012em; }
.d2 { font-size: var(--fs-d2); line-height: 1.1; letter-spacing: -0.01em; max-width: 22ch; }
.d3 { font-size: var(--fs-d3); line-height: 1.2; }

/* 0309: было line-height 1.6, max-width 60ch */
.lead {
  font-size: var(--fs-lead);
  line-height: 1.5;
  max-width: var(--measure);
  color: var(--fg-2);
}
.small { font-size: var(--fs-small); }
.caption { font-size: var(--fs-caption); line-height: 1.5; color: var(--fg-2); }
.num { font-variant-numeric: lining-nums tabular-nums; }

/* слоган бренда */
.slogan {
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
}

.link {
  position: relative;
  display: inline-block;
  color: var(--accent);
  text-decoration: none;
  padding-bottom: 3px;
  font-weight: 700;
  transition: color var(--dur-fast) var(--ease-out);
}
.link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-line) var(--ease-out);
}
.link:hover::after,
.link:focus-visible::after { transform: scaleX(1); }
.link__arrow { margin-left: 8px; }

/* ---------- Кнопки ---------- */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--fg);
  --btn-edge: var(--edge);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;   /* 0309: было 54px */
  padding: 13px 30px; /* 0309: было 15px 38px */
  border: 1px solid var(--btn-edge);
  border-radius: var(--radius-btn);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  transition: background-color var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out),
              color var(--dur-base) var(--ease-out);
}
.btn--primary {
  --btn-bg: var(--gold);
  --btn-fg: var(--choco);
  --btn-edge: var(--gold);
}
.btn--primary:hover { --btn-bg: var(--gold-deep); --btn-edge: var(--gold-deep); }

.btn--dark { --btn-bg: var(--choco); --btn-fg: var(--cream); --btn-edge: var(--choco); }
.btn--dark:hover { --btn-bg: var(--brown); --btn-edge: var(--brown); }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--fg); --btn-edge: var(--edge); }
.btn--ghost:hover { --btn-edge: var(--accent); --btn-fg: var(--accent); }

/* Золотой контур — для действий поверх фотографии, где обычная рамка теряется */
.btn--gold {
  --btn-bg: rgba(221, 183, 127, 0.1);
  --btn-fg: var(--gold);
  --btn-edge: var(--gold);
}
.btn--gold:hover { --btn-bg: var(--gold); --btn-fg: var(--choco); }

.btn--sm { min-height: 44px; padding: 10px 24px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; }

/* ---------- Изображения ---------- */
.figure {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--gold-soft);
}
.figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease-out);
}
.figure--4x3 { aspect-ratio: 4 / 3; }
.figure--16x9 { aspect-ratio: 16 / 9; }
.figure--3x4 { aspect-ratio: 3 / 4; }
a:hover > .figure img,
.card:hover .figure img { transform: scale(1.04); }

.figure__cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 18px 20px;
  background: linear-gradient(to top, rgba(44, 33, 27, 0.82), rgba(44, 33, 27, 0));
  color: var(--cream);
  font-size: var(--fs-small);
}

/* ---------- Шапка ---------- */
.hdr {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 90;
  background: rgba(44, 33, 27, 0);
  transform: translateY(0);
  transition: transform var(--dur-panel) var(--ease-in-out),
              background-color var(--dur-panel) var(--ease-out);
  color: var(--cream);
}
/* Шапка лежит поверх фотографии: без подложки её читаемость зависит от того,
   что оказалось под ней в кадре. Тонкая градиентная вуаль решает это раз и навсегда. */
.hdr::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: calc(var(--hdr-top) + var(--hdr-nav) + 40px);
  background: linear-gradient(to bottom, rgba(24, 18, 14, 0.82) 0%, rgba(24, 18, 14, 0.55) 55%, rgba(24, 18, 14, 0) 100%);
  pointer-events: none;
  transition: opacity var(--dur-panel) var(--ease-out);
}
.hdr.is-stuck::before { opacity: 0; }
.hdr__top, .hdr__nav { position: relative; }

.hdr.is-compact { transform: translateY(calc(var(--hdr-top) * -1)); }
.hdr.is-stuck {
  background: rgba(44, 33, 27, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.hdr__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: var(--hdr-top);
  min-width: 0;
}
.hdr__actions { display: flex; align-items: center; gap: 18px; min-width: 0; }

/* две подчёркнутые ссылки рядом с логотипом — как в прототипе */
.hdr__toplinks { display: grid; gap: 4px; justify-items: start; margin-right: auto; min-width: 0; }
.hdr__toplinks a {
  font-size: var(--fs-caption);
  color: var(--fg-2);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  white-space: nowrap;
  transition: color var(--dur-fast) var(--ease-out);
}
.hdr__toplinks a:hover { color: var(--gold); }
@media (max-width: 1100px) { .hdr__toplinks { display: none; } }

.hdr__phone {
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--cream);
  text-decoration: none;
  font-variant-numeric: lining-nums tabular-nums;
  white-space: nowrap;
  transition: color var(--dur-fast) var(--ease-out);
}
.hdr__phone:hover { color: var(--gold); }

.hdr__nav {
  height: var(--hdr-nav);
  border-top: 1px solid rgba(246, 242, 236, 0.16);
  border-bottom: 1px solid rgba(246, 242, 236, 0.16);
}
.hdr.is-stuck .hdr__nav { border-top-color: transparent; }
.hdr__nav .wrap { display: flex; align-items: center; height: 100%; gap: clamp(14px, 2.2vw, 38px); }

.navlink {
  position: relative;
  display: inline-block;
  padding: 6px 0;
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(246, 242, 236, 0.82);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--dur-fast) var(--ease-out);
}
.navlink::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-line) var(--ease-out);
}
.navlink:hover, .navlink.is-active { color: var(--gold); }
.navlink:hover::after, .navlink.is-active::after, .navlink:focus-visible::after { transform: scaleX(1); }
.hdr :focus-visible { outline-color: var(--gold); }
.hdr__nav-phone { margin-left: auto; }

.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.logo img { width: clamp(150px, 15vw, 196px); height: auto; }

.burger {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border: 1px solid rgba(246, 242, 236, 0.44);
  border-radius: var(--radius);
}
.burger span { display: block; width: 18px; height: 1px; background: var(--cream); position: relative; }
.burger span::before, .burger span::after {
  content: ''; position: absolute; left: 0; width: 18px; height: 1px; background: var(--cream);
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }

/* ---------- Первый экран ---------- */
.hero {
  position: relative;
  min-height: min(72svh, 680px); /* 0309: было 100svh — первый экран компактный, не «на весь экран» */
  display: grid;
  grid-template-rows: 1fr auto;
  padding-top: calc(var(--hdr-top) + var(--hdr-nav));
  background: var(--choco);
  color: var(--cream);
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; background: var(--choco); }
.hero__bg img,
.hero__bg video { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(30, 22, 17, 0.94) 0%, rgba(34, 25, 20, 0.8) 38%, rgba(44, 33, 27, 0.28) 72%),
    linear-gradient(to top, rgba(30, 22, 17, 0.8), rgba(44, 33, 27, 0) 42%);
}

.hero__main { position: relative; z-index: 1; display: flex; align-items: center; padding-block: clamp(28px, 3.4vw, 48px); } /* 0309: было clamp(40px, 5vw, 72px) */
.hero__col { max-width: 760px; }
.hero__h1 { margin-top: 18px; }
.hero__lead { margin-top: 20px; color: rgba(246, 242, 236, 0.82); }

.hero__claims { display: grid; gap: 12px; margin-top: 32px; }
.hero__claims li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-size: var(--fs-lead);
  color: rgba(246, 242, 236, 0.92);
}
.hero__claims li::before {
  content: '';
  flex: none;
  width: 18px; height: 1px;
  background: var(--gold);
  transform: translateY(-0.35em);
}

.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

/* ---------- Первый экран по прототипу: текст слева, портрет в круге справа ---------- */
.hero--proto {
  /* светлая база брендбука: возвращаем светлые токены поверх тёмных из .hero */
  --fg: var(--choco);
  --fg-2: rgba(44, 33, 27, 0.72);
  --fg-3: rgba(44, 33, 27, 0.52);
  --hair: rgba(44, 33, 27, 0.14);
  --edge: rgba(44, 33, 27, 0.34);
  --accent: var(--brown-text);
  --ring: var(--brown-text);
  background: var(--sand);
  color: var(--choco);
  min-height: min(68svh, 640px); /* 0309: было min(100svh, 880px) */
}
/* Видео живёт в правой половине и растворяется в бежевом там, где текст,
   иначе первый экран читается пустым. */
.hero--proto .hero__bg { display: block; }
.hero--proto .hero__bg video,
.hero--proto .hero__bg img { filter: saturate(0.96) brightness(1.03); }
.hero--proto .hero__bg::after {
  background:
    linear-gradient(96deg,
      var(--sand) 0%, var(--sand) 30%,
      rgba(234, 225, 216, 0.9) 46%,
      rgba(234, 225, 216, 0.42) 72%,
      rgba(234, 225, 216, 0.18) 100%),
    linear-gradient(to bottom, rgba(234, 225, 216, 0.92) 0%, rgba(234, 225, 216, 0) 22%),
    linear-gradient(to top, rgba(234, 225, 216, 0.75) 0%, rgba(234, 225, 216, 0) 30%);
}
/* полоса цифр остаётся тёмной планкой под светлым первым экраном */
.hero--proto .figures {
  background: var(--choco);
  border-top: 0;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.ph__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(28px, 4vw, 72px);
  align-items: center;
  padding-block: clamp(24px, 3vw, 44px); /* 0309: было clamp(36px, 4.4vw, 72px) */
}
.ph__h1 { max-width: 17ch; }
.ph__claims { display: grid; gap: 12px; margin-top: 24px; }
.ph__claims li { display: flex; align-items: flex-start; gap: 14px; font-size: var(--fs-lead); color: var(--fg); }
.ph__claims svg { flex: none; width: 20px; height: 20px; margin-top: 3px; stroke: var(--accent); fill: none; stroke-width: 2; }
.ph__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 22px; margin-top: 32px; }

.yandex { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-caption); line-height: 1.3; color: var(--fg-2); }
.yandex u { text-decoration: none; display: block; }
.yandex i { display: block; color: var(--gold-deep); font-style: normal; letter-spacing: 0.1em; }

.ph__side { display: grid; justify-items: center; gap: 16px; }
.ph__circle { position: relative; width: min(100%, 380px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; }
.ph__circle img { width: 100%; height: 100%; object-fit: cover; }
.hero--proto .ph__circle { box-shadow: 0 0 0 1px var(--gold-deep), 0 0 0 13px rgba(221, 183, 127, 0.28); }
.ph__name { text-align: center; }
/* подпись лежит поверх видео — даём ей собственную подложку, иначе контраст
   зависит от того, что оказалось в кадре */
.hero--proto .ph__name {
  padding: 12px 24px;
  border-radius: 999px;
  background: rgba(246, 242, 236, 0.86);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.ph__name b { display: block; font-size: var(--fs-d3); font-weight: 700; }
.ph__name span { display: block; margin-top: 2px; font-size: var(--fs-small); color: var(--fg-2); }
.ph__badge { padding: 13px 24px; border-radius: 999px; text-align: center; font-size: var(--fs-small); line-height: 1.4; background: var(--choco); color: var(--cream); }
.ph__badge b { font-weight: 700; color: var(--gold); }

@media (max-width: 1000px) {
  .ph__grid { grid-template-columns: 1fr; }
  .ph__side { margin-top: 22px; }
}
@media (max-width: 620px) {
  .ph__cta .btn { width: 100%; }
  .ph__circle { width: min(100%, 290px); }
}

/* ---------- Мультилендинг: разделы-продукты подменяют друг друга ---------- */
.ptabs {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--cream);
  border-block: 1px solid var(--hair);
}
.ptabs__in { display: flex; gap: clamp(18px, 3vw, 48px); overflow-x: auto; scrollbar-width: none; }
.ptabs__in::-webkit-scrollbar { display: none; }
.ptab {
  padding: 18px 0;
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-2);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.ptab:hover { color: var(--accent); }
.ptab.is-on { color: var(--accent); border-bottom-color: var(--accent); }

/* ---------- Экран 2 по прототипу: три ветки, все видны сразу ---------- */
.callout {
  max-width: var(--measure);
  margin-top: 16px;   /* 0309: было 20px */
  padding: 16px 20px; /* 0309: было 22px 26px */
  background: var(--gold-soft);
  border: 1px solid var(--gold-deep);
  border-radius: var(--radius);
  font-size: var(--fs-lead);
  line-height: 1.5;
}
/* Экран 2 — три направления переключаются кнопками слева, меняется только середина.
   Без JS секция остаётся тем, чем была: три полосы подряд, ничего не теряется. */
.branches { display: grid; }
.branches__nav { display: none; }

.branches.is-ready {
  /* Колонка кнопок фиксированной ширины: всё лишнее отдаём карточкам,
     иначе ветка из пяти карточек становится колонкой тесных полосок. */
  grid-template-columns: minmax(0, 252px) minmax(0, 1fr);
  gap: clamp(20px, 2.2vw, 36px);
  align-items: start;
  border-top: 1px solid var(--hair);
  padding-top: clamp(18px, 2vw, 28px); /* 0309: было clamp(28px, 3vw, 44px) */
}
.branches.is-ready .branches__nav {
  display: block;
  position: sticky;
  top: calc(var(--hdr-nav) + 24px);
  border-top: 1px solid var(--hair);
}
.branches.is-ready .branch { display: block; padding-block: 0; border-top: 0; }
.branches.is-ready .branch__t { position: static; clip-path: inset(50%); position: absolute; width: 1px; height: 1px; overflow: hidden; }
.branches.is-ready .branch[hidden] { display: none; }

.btab {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 14px 4px 14px 0; /* 0309: было 20px 4px 20px 0 */
  border: 0;
  border-bottom: 1px solid var(--hair);
  background: none;
  font: inherit;
  color: var(--fg-2);
  text-align: left;
  cursor: pointer;
  transition: color var(--dur-base) var(--ease-out), padding-left var(--dur-base) var(--ease-out);
}
.btab__t { flex: 1; font-size: clamp(15px, 1.15vw, 18px); line-height: 1.35; }
.btab__t b { font-weight: 700; }
.btab__chev {
  flex: none;
  width: 9px; height: 9px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(-45deg);
  opacity: .5;
  transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-base) var(--ease-out);
}
.btab:hover { color: var(--fg); padding-left: 8px; }
.btab:hover .btab__chev { opacity: 1; }
.btab[aria-selected="true"] {
  color: var(--fg);
  padding-left: 14px;
  box-shadow: inset 2px 0 0 var(--gold-deep);
}
.btab[aria-selected="true"] .btab__chev { opacity: 1; color: var(--gold-deep); transform: rotate(-45deg) translate(2px, 2px); }

/* Смена панели: карточки въезжают, а не мигают. */
@keyframes branch-in {
  from { opacity: 0; transform: translateX(18px); }
  to   { opacity: 1; transform: none; }
}
.branches.is-ready .branch:not([hidden]) { animation: branch-in var(--dur-slow, 520ms) var(--ease-out) both; }
@media (prefers-reduced-motion: reduce) {
  .branches.is-ready .branch:not([hidden]) { animation: none; }
  .btab, .btab__chev { transition: none; }
}

.branch {
  display: grid;
  grid-template-columns: 3fr 9fr;
  gap: clamp(20px, 3vw, 52px);
  align-items: start;
  padding-block: clamp(20px, 2.4vw, 32px); /* 0309: было clamp(32px, 3.4vw, 52px) */
  border-top: 1px solid var(--hair);
}
.branch__t { font-size: var(--fs-d3); position: sticky; top: calc(var(--hdr-nav) + 24px); }
.branch__t b { font-weight: 700; }
/* Каждая ветка — одна ровная полоса: колонок ровно столько, сколько карточек,
   поэтому рядов-обрывков и дыр в сетке не возникает. */
.branch__grid {
  display: grid;
  grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 22px);
  align-items: stretch;
}
.bcard { height: 100%; }

.bcard {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}
.bcard__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--gold-soft); }
.bcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 800ms var(--ease-out); }
.bcard__media::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--gold-deep);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-line) var(--ease-out);
}
.bcard:hover { border-color: var(--gold-deep); }
.bcard:hover .bcard__media img { transform: scale(1.07); }
.bcard:hover .bcard__media::after { transform: scaleX(1); }
.bcard__body { padding: 14px 15px 18px; }
.bcard h4 { font-size: clamp(15px, 1.15vw, 18px); font-weight: 700; line-height: 1.25; }
.bcard p { margin-top: 7px; font-size: 13px; line-height: 1.45; color: var(--fg-2); }

@media (max-width: 1240px) { .branch__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .branch { grid-template-columns: 1fr; gap: 18px; }
  .branch__t { position: static; }
  .branch__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* На узком экране колонок нет: кнопки сверху, карточки под ними. */
  .branches.is-ready { grid-template-columns: 1fr; gap: 24px; }
  .branches.is-ready .branches__nav { position: static; }
  .btab { padding-block: 16px; }
  .branches.is-ready .branch:not([hidden]) { animation-name: none; }
}
@media (max-width: 560px) { .branch__grid { grid-template-columns: 1fr; } }

/* полоса цифр */
.figures {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(246, 242, 236, 0.16);
  background: rgba(44, 33, 27, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.figures__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2.4vw, 40px);
  padding-block: clamp(24px, 2.6vw, 38px);
}
.figures__cell { position: relative; padding-left: clamp(16px, 2vw, 32px); }
.figures__cell:first-child { padding-left: 0; }
.figures__cell + .figures__cell::before {
  content: '';
  position: absolute;
  left: 0; top: 4px; bottom: 4px;
  width: 1px;
  background: rgba(246, 242, 236, 0.16);
}
.figures__n {
  display: block;
  font-size: var(--fs-num);
  line-height: 1;
  color: var(--gold);
  font-variant-numeric: lining-nums tabular-nums;
}
.figures__l { margin-top: 10px; font-size: var(--fs-small); color: rgba(246, 242, 236, 0.78); }
.sup { font-size: 0.36em; vertical-align: super; line-height: 0; }

/* ---------- Полоса доверия ---------- */
.trust { background: var(--choco-2); color: var(--cream); }
.trust__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 56px);
  padding-block: clamp(26px, 3vw, 38px);
}
.trust__cell { position: relative; }
.trust__cell + .trust__cell::before {
  content: '';
  position: absolute;
  left: calc(clamp(20px, 3vw, 56px) / -2);
  top: 2px; bottom: 2px;
  width: 1px;
  background: rgba(246, 242, 236, 0.16);
}
.trust__cell .eyebrow { color: var(--gold); }
.trust__val { margin-top: 10px; font-size: var(--fs-small); color: rgba(246, 242, 236, 0.82); line-height: 1.5; }

/* ---------- Колонтитул раздела ---------- */
.runhead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 10px;                   /* 0309: было 14px */
  border-bottom: 1px solid var(--hair);
  margin-bottom: clamp(18px, 2vw, 28px);  /* 0309: было clamp(28px, 3.4vw, 48px) */
}
.runhead__no, .runhead__slug {
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1;
}
.runhead__no { color: var(--accent); }
.runhead__slug { color: var(--fg-3); }

/* ---------- Раздел: картинка + содержание ---------- */
.split {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(24px, 3.2vw, 56px); /* 0309: было clamp(28px, 4vw, 72px) */
  align-items: stretch;           /* 0309: было start — фото тянется на высоту блока */
}
.split--flip > .split__media { order: 2; }

.head { max-width: 900px; }
.head__lead { margin-top: 12px; } /* 0309: было 18px */

.bullets { margin-top: 18px; display: grid; gap: 10px; } /* 0309: было 26px / 16px */
.bullets li {
  position: relative;
  padding-left: 26px;
  line-height: 1.6;
  color: var(--fg-2);
}
.bullets li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.72em;
  width: 14px; height: 1px;
  background: var(--accent);
}
.bullets strong { color: var(--fg); font-weight: 700; }

/* плашка-оффер */
.offer {
  display: block;
  margin-top: 20px;   /* 0309: было 32px */
  padding: 16px 20px; /* 0309: было 22px 26px */
  background: var(--gold-soft);
  border: 1px solid var(--gold-deep);
  border-radius: var(--radius);
  color: var(--choco);
}
.section--choco .offer { background: rgba(221, 183, 127, 0.14); color: var(--cream); }
.offer__label {
  display: block;
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brown-text);
}
.section--choco .offer__label { color: var(--gold); }
.offer__val { margin-top: 6px; line-height: 1.45; } /* 0309: было 8px / 1.5 */

/* «С нами вы получаете» */
.gains { margin-top: clamp(22px, 2.4vw, 32px); } /* 0309: было clamp(32px, 3.4vw, 52px) */
.gains__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); /* 0309: было 240px */
  border-top: 1px solid var(--hair);
  margin-top: 12px; /* 0309: было 18px */
  align-items: stretch;
}
.gains__item {
  padding: 14px 16px 16px; /* 0309: было 22px 22px 26px */
  border-bottom: 1px solid var(--hair);
  border-right: 1px solid var(--hair);
}
.gains__item:first-child { padding-left: 0; }
.gains__item::before {
  content: '';
  display: block;
  width: 16px; height: 1px;
  margin-bottom: 10px; /* 0309: было 14px */
  background: var(--accent);
}
.gains__txt { font-size: var(--fs-small); line-height: 1.45; color: var(--fg-2); } /* 0309: было 1.55 */
.gains__txt strong { display: block; margin-bottom: 4px; color: var(--fg); }       /* 0309: было 6px */

/* Этапы */
.steps { margin-top: 12px; display: grid; grid-template-columns: repeat(3, 1fr); align-items: stretch; } /* 0309: было 18px */
.steps__item { border-top: 1px solid var(--hair); padding: 14px 18px 16px 0; } /* 0309: было 20px 26px 28px 0 */
.steps__no {
  font-size: var(--fs-d3);
  color: var(--accent);
  line-height: 1;
  font-variant-numeric: lining-nums tabular-nums;
}
.steps__txt { margin-top: 8px; font-size: var(--fs-small); line-height: 1.45; color: var(--fg-2); } /* 0309: было 12px / 1.55 */

.terms { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; } /* 0309: было 32px / 10px */
.terms__item {
  padding: 8px 16px; /* 0309: было 11px 20px */
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  font-size: var(--fs-small);
  color: var(--fg-2);
  background: var(--surface);
}
.section--choco .terms__item { background: rgba(246, 242, 236, 0.06); }

.note-line {
  margin-top: 18px;          /* 0309: было 28px */
  padding: 8px 0 8px 18px;   /* 0309: было 16px 0 16px 22px */
  border-left: 2px solid var(--gold-deep);
  font-size: var(--fs-small);
  color: var(--fg-2);
}

/* ---------- Каталог ---------- */
.catalog { margin-top: clamp(28px, 3vw, 44px); } /* 0309: было clamp(40px, 4.4vw, 72px) */
.catalog__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--hair);
}
.catalog__title { font-size: var(--fs-d3); }
.catalog__stamp { font-size: var(--fs-caption); letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-3); }

.cards {
  margin-top: 20px; /* 0309: было 26px */
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto auto auto;
  gap: clamp(16px, 2vw, 28px); /* 0309: было clamp(18px, 2.2vw, 34px) */
  align-items: stretch;
}
.card { display: flex; flex-direction: column; }
@supports (grid-template-rows: subgrid) {
  .card { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; }
}
.card__kind {
  position: absolute;
  left: 14px; top: 14px;
  z-index: 1;
  padding: 5px 11px;
  border-radius: var(--radius);
  background: rgba(44, 33, 27, 0.72);
  color: var(--gold);
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.card__name { margin-top: 12px; font-size: var(--fs-d3); font-weight: 400; } /* 0309: было 16px */
.card__spec { margin-top: 10px; border-top: 1px solid var(--hair); }          /* 0309: было 12px */
.card__spec div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 0;
  border-bottom: 1px solid var(--hair);
  font-size: var(--fs-small);
  font-variant-numeric: lining-nums tabular-nums;
}
.card__spec dt { color: var(--fg-3); font-size: var(--fs-caption); letter-spacing: 0.08em; text-transform: uppercase; }
.card__spec dd { color: var(--fg-2); text-align: right; }
.card__more { margin-top: 14px; }

/* ---------- Реестр «что мы делаем» ---------- */
.reg { margin-top: clamp(22px, 2.4vw, 32px); border-top: 1px solid var(--hair); } /* 0309: было clamp(32px, 3.4vw, 52px) */
.reg__row { border-bottom: 1px solid var(--hair); }
.reg__btn {
  display: grid;
  grid-template-columns: minmax(96px, auto) 1fr 26px;
  align-items: center;
  gap: 22px;
  width: 100%;
  padding: 16px 0; /* 0309: было 24px 0 */
  text-align: left;
  color: inherit;
}
.reg__idx {
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
}
.reg__name { font-size: var(--fs-d3); }
.reg__sign { position: relative; width: 14px; height: 14px; justify-self: end; }
.reg__sign::before, .reg__sign::after {
  content: ''; position: absolute; inset: 0; margin: auto; background: var(--accent);
}
.reg__sign::before { width: 14px; height: 1px; }
.reg__sign::after { width: 1px; height: 14px; transition: transform var(--dur-line) var(--ease-out); }
.reg__btn[aria-expanded='true'] .reg__sign::after { transform: scaleY(0); }

.reg__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--dur-panel) var(--ease-in-out); }
.reg__row.is-open .reg__panel { grid-template-rows: 1fr; }
.reg__inner { overflow: hidden; }
.reg__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  border-top: 1px solid var(--hair);
  margin-bottom: 24px;
}
.reg__cell { padding: 20px 22px 24px; border-bottom: 1px solid var(--hair); border-right: 1px solid var(--hair); }
.reg__cell:first-child { padding-left: 0; }
.reg__cell h4 { font-size: var(--fs-h4); font-weight: 700; }
.reg__cell p { margin-top: 8px; font-size: var(--fs-small); line-height: 1.55; color: var(--fg-2); }

/* ---------- Кейсы ---------- */
/* 0309: было gap clamp(18px, 2.2vw, 34px), margin-top 26px */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); margin-top: 20px; align-items: stretch; }
.case {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  padding: 20px 20px 22px; /* 0309: было 26px 24px 28px */
}
.case__sum { font-size: var(--fs-d3); color: var(--accent); font-variant-numeric: lining-nums tabular-nums; }
.case__t { margin-top: 10px; font-weight: 700; }
.case__d { margin-top: 10px; font-size: var(--fs-small); color: var(--fg-2); line-height: 1.55; }

/* ---------- Отзывы ---------- */
/* 0309: было margin-top 26px */
.revs { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(16px, 2vw, 28px); margin-top: 20px; align-items: stretch; }
.rev {
  background: var(--surface);
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  padding: 18px 18px 20px; /* 0309: было 24px 22px 26px */
}
.rev__stars { color: var(--gold-deep); letter-spacing: 0.16em; font-size: var(--fs-small); }
.rev__txt { margin-top: 12px; font-size: var(--fs-small); line-height: 1.6; color: var(--fg-2); }
.rev__who { margin-top: 14px; font-weight: 700; font-size: var(--fs-small); }
.rev__src { font-size: var(--fs-caption); color: var(--fg-3); }

/* ---------- Эксперт ---------- */
.expert { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(24px, 3.2vw, 56px); align-items: center; } /* 0309: gap было clamp(28px, 4vw, 72px) */
.credits { margin-top: 18px; border-top: 1px solid var(--hair); } /* 0309: было 24px */
.credits li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 16px;
  padding: 11px 0; /* 0309: было 16px 0 */
  border-bottom: 1px solid var(--hair);
  line-height: 1.55;
  color: var(--fg-2);
}
.credits__m { position: relative; }
.credits__m::before {
  content: ''; position: absolute; left: 0; top: 0.72em;
  width: 16px; height: 1px; background: var(--accent);
}
.credits strong { color: var(--fg); font-weight: 700; }
.expert__cta { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; } /* 0309: было 30px / 14px 28px */

/* ---------- Квиз ---------- */
.quiz { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.quiz__steps { display: grid; margin-top: 22px; }
.quiz__step-row {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 14px;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--hair);
  font-size: var(--fs-small);
  color: var(--fg-3);
  transition: color var(--dur-fast) var(--ease-out);
}
.quiz__step-row.is-done, .quiz__step-row.is-current { color: var(--fg); }
.quiz__step-no { font-size: var(--fs-eyebrow); font-weight: 700; letter-spacing: 0.14em; color: var(--accent); }
.quiz__echo { display: block; margin-top: 3px; font-size: var(--fs-caption); color: var(--fg-2); font-style: italic; }

.quiz__panel {
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  background: var(--white);
  padding: clamp(24px, 3vw, 40px);
}
.quiz__meter { height: 2px; background: var(--hair); margin-bottom: 24px; }
.quiz__meter i {
  display: block; height: 2px; background: var(--gold-deep);
  transform: scaleX(0.2); transform-origin: left;
  transition: transform var(--dur-line) var(--ease-out);
}
.quiz__q { font-size: var(--fs-d3); }
.quiz__opts { margin-top: 22px; display: grid; gap: 10px; }
.opt {
  display: flex; align-items: center; gap: 14px;
  padding: 15px 20px;
  min-height: 56px;
  border: 1px solid var(--hair);
  border-radius: var(--radius-field);
  cursor: pointer;
  transition: border-color var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out);
}
.opt:hover { border-color: var(--gold-deep); background: var(--gold-soft); }
.opt input { position: absolute; opacity: 0; width: 0; height: 0; }
.opt__box { flex: none; width: 16px; height: 16px; border: 1px solid var(--edge); border-radius: 50%; position: relative; }
.opt input:checked + .opt__box { border-color: var(--brown-text); }
.opt input:checked + .opt__box::after { content: ''; position: absolute; inset: 3px; background: var(--brown-text); border-radius: 50%; }
.opt input:focus-visible + .opt__box { outline: 2px solid var(--ring); outline-offset: 3px; }
.quiz__nav { margin-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.quiz__count { font-size: var(--fs-caption); letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-2); }
.quiz__hint { margin-top: 10px; font-size: var(--fs-caption); letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-2); }

/* ---------- Формы ---------- */
.field { display: block; margin-top: 20px; }
.field__label { display: block; font-size: var(--fs-caption); letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-2); margin-bottom: 8px; }
.field input, .field textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  background: var(--surface);
  border: 1px solid var(--edge);
  border-radius: var(--radius-field);
  color: var(--fg);
  transition: border-color var(--dur-base) var(--ease-out);
}
.field input:hover, .field textarea:hover { border-color: var(--accent); }
.field input::placeholder, .field textarea::placeholder { color: var(--fg-3); }
.field textarea { min-height: 96px; resize: vertical; }

.consent { display: flex; align-items: flex-start; gap: 12px; margin-top: 22px; cursor: pointer; }
.consent input { position: absolute; opacity: 0; width: 0; height: 0; }
.consent__box { flex: none; width: 18px; height: 18px; margin-top: 2px; border: 1px solid var(--edge); border-radius: var(--radius); position: relative; }
.consent input:checked + .consent__box::after { content: ''; position: absolute; inset: 3px; background: var(--accent); }
.consent input:focus-visible + .consent__box { outline: 2px solid var(--ring); outline-offset: 3px; }
.consent__txt { font-size: var(--fs-caption); line-height: 1.5; color: var(--fg-2); }
.consent__txt a { color: var(--accent); }

.form__status { margin-top: 16px; font-size: var(--fs-small); min-height: 1.4em; }
.form__status.is-err { color: var(--error); }
.form__status.is-ok { color: var(--ok); }

/* ---------- Аналитика ---------- */
.posts {
  margin-top: 20px; /* 0309: было 26px */
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto auto auto auto;
  gap: clamp(16px, 2vw, 26px); /* 0309: было clamp(18px, 2.2vw, 30px) */
  align-items: stretch;
}
.post { display: flex; flex-direction: column; }
@supports (grid-template-rows: subgrid) {
  .post { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 0; }
}
.post__date { margin-top: 14px; font-size: var(--fs-caption); letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.post__t { margin-top: 8px; font-size: var(--fs-h4); font-weight: 700; line-height: 1.35; }
.post__d { margin-top: 10px; font-size: var(--fs-small); line-height: 1.55; color: var(--fg-2); }
.channels { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; } /* 0309: было 32px / 14px 32px */

/* ---------- Контакты ---------- */
.contacts { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(24px, 3.2vw, 56px); align-items: start; } /* 0309: gap было clamp(28px, 4vw, 64px) */
.cnt__list { border-top: 1px solid var(--hair); margin-top: 16px; } /* 0309: было 22px */
.cnt__row { display: grid; grid-template-columns: 128px 1fr; gap: 18px; padding: 11px 0; border-bottom: 1px solid var(--hair); align-items: baseline; } /* 0309: padding было 16px 0 */
.cnt__k { font-size: var(--fs-caption); letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-3); }
.cnt__v a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--hair); }
.cnt__v a:hover { border-bottom-color: var(--accent); }
.map { border: 1px solid var(--hair); border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; background: var(--gold-soft); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Подвал ---------- */
.foot { background: var(--choco); color: var(--cream); padding-block: clamp(32px, 3.4vw, 48px); } /* 0309: было clamp(44px, 4.6vw, 68px) */
/* Страховка: у картинки в подвале атрибут height не должен задавать высоту,
   иначе логотип растягивается по вертикали. */
.foot img { height: auto; }
.foot__grid { display: grid; grid-template-columns: 5fr 4fr 3fr; gap: clamp(26px, 3.4vw, 56px); }
.foot__req { margin-top: 20px; font-size: var(--fs-caption); line-height: 1.8; color: rgba(246, 242, 236, 0.58); font-variant-numeric: lining-nums tabular-nums; }
.foot__links { display: grid; gap: 10px; }
.foot__links a { font-size: var(--fs-caption); color: rgba(246, 242, 236, 0.78); text-decoration: none; }
.foot__links a:hover { color: var(--gold); }
.foot__bottom { margin-top: 24px; padding-top: 16px; /* 0309: было 34px / 20px */ border-top: 1px solid rgba(246, 242, 236, 0.16); font-size: var(--fs-caption); color: rgba(246, 242, 236, 0.58); display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.foot :focus-visible { outline-color: var(--gold); }

/* ---------- Модалка ---------- */
.modal { position: fixed; inset: 0; z-index: 120; }
.modal__scrim { position: absolute; inset: 0; background: rgba(20, 15, 12, 0.78); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.modal__panel {
  position: relative;
  max-width: 600px;
  margin: min(7vh, 64px) auto;
  background: var(--choco);
  color: var(--cream);
  border: 1px solid rgba(246, 242, 236, 0.16);
  border-radius: var(--radius);
  padding: clamp(26px, 3.4vw, 44px);
  max-height: 86vh;
  overflow-y: auto;
}
.modal__close {
  position: absolute; top: 14px; right: 14px;
  width: 44px; height: 44px;
  border: 1px solid rgba(246, 242, 236, 0.44);
  border-radius: var(--radius);
  color: var(--cream);
  display: flex; align-items: center; justify-content: center;
}
.modal__close:hover { border-color: var(--gold); color: var(--gold); }
.modal__src { margin-top: 8px; font-size: var(--fs-caption); letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }

/* ---------- Мобильное меню ---------- */
.mnav { position: fixed; inset: 0; z-index: 110; background: var(--choco); color: var(--cream); padding: 92px var(--pad-x) 40px; overflow-y: auto; }
.mnav__list { border-top: 1px solid rgba(246, 242, 236, 0.16); }
.mnav__list a { display: flex; align-items: baseline; gap: 14px; padding: 18px 0; border-bottom: 1px solid rgba(246, 242, 236, 0.16); text-decoration: none; color: var(--cream); }
.mnav__idx { font-size: var(--fs-eyebrow); font-weight: 700; letter-spacing: 0.14em; color: var(--gold); }
.mnav__name { font-size: var(--fs-d3); }
.mnav :focus-visible { outline-color: var(--gold); }

/* ---------- Появление при скролле ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--dur-reveal) var(--ease-out), transform var(--dur-reveal) var(--ease-out);
  transition-delay: calc(var(--i, 0) * 60ms);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* ============================================================================
   ДВИЖЕНИЕ
   Три источника: живой кадр в герое, проявление секций при скролле и счётчики.
   Анимируем только transform и opacity. Всё выключается prefers-reduced-motion.
   ========================================================================= */

/* 1. Кадр героя медленно дышит — сайт не выглядит статичной картинкой */
@keyframes heroDrift {
  from { transform: scale(1.0) translate3d(0, 0, 0); }
  to   { transform: scale(1.09) translate3d(-1.4%, -1%, 0); }
}
/* Если вместо видео стоит статичный кадр — он дышит сам. При живом видео
   правило не срабатывает: движение уже есть, второе было бы лишним. */
.hero__bg > img:only-child {
  will-change: transform;
  animation: heroDrift 32s ease-in-out infinite alternate;
}

/* 2. Первый экран собирается один раз, по очереди */
@keyframes riseIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}
.js .hero__col > * {
  animation: riseIn 900ms var(--ease-out) both;
}
.js .hero__col > :nth-child(1) { animation-delay: 80ms; }
.js .hero__col > :nth-child(2) { animation-delay: 200ms; }
.js .hero__col > :nth-child(3) { animation-delay: 340ms; }
.js .hero__col > :nth-child(4) { animation-delay: 460ms; }
.js .hero__col > :nth-child(5) { animation-delay: 600ms; }
.js .figures { animation: riseIn 900ms var(--ease-out) 760ms both; }

/* 3. Кадр раздела раскрывается шторкой снизу вверх и живёт параллаксом.
      Мелкая картинка с лёгким наездом читается как шаблон — здесь кадр
      занимает почти всю высоту экрана и двигается медленнее страницы. */
/* 0309: было height clamp(420px, 78vh, 760px). Теперь кадр тянется на высоту
   соседней колонки (.split — align-items: stretch), а минимум задаёт нижний предел. */
.split__media .figure {
  height: 100%;
  min-height: clamp(340px, 50vh, 560px);
  aspect-ratio: auto;
}
.split__media .figure img {
  position: absolute;
  left: 0;
  top: -12%;
  width: 100%;
  height: 124%;
  transform: translate3d(0, var(--py, 0px), 0);
  transition: none;
  will-change: transform;
}
.js .split__media .figure {
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1100ms var(--ease-out);
}
.js .split__media.is-in .figure { clip-path: inset(0 0 0 0); }

/* тонкая золотая рамка со сдвигом — деталь издательской вёрстки */
.split__media { position: relative; }
.split__media::before {
  content: '';
  position: absolute;
  inset: 22px -22px -22px 22px;
  border: 1px solid var(--gold-deep);
  opacity: 0;
  transition: opacity 900ms var(--ease-out) 300ms;
  pointer-events: none;
}
.split--flip .split__media::before { inset: 22px 22px -22px -22px; }
.js .split__media.is-in::before { opacity: 0.5; }

/* мелкие карточки остаются спокойными: наезд только по наведению */
.js .reveal .card .figure img,
.js .reveal .post .figure img { transform: none; }

/* 4. Волосяная линия колонтитула вырастает слева направо */
.runhead { position: relative; border-bottom-color: transparent; }
.runhead::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--hair);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 900ms var(--ease-out);
}
.reveal .runhead::after,
.section .runhead::after { transform: scaleX(1); }
.js .section:not(.is-seen) .runhead::after { transform: scaleX(0); }
.js .section.is-seen .runhead::after { transform: scaleX(1); }

/* 5. Тонкая золотая нить прогресса чтения */
.progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 2px;
  z-index: 130;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
}

/* 6. Карточки и плашки чуть подаются на наведении — только тень цвета, без сдвига */
.case, .rev, .terms__item, .quiz__panel {
  transition: border-color var(--dur-base) var(--ease-out), background-color var(--dur-base) var(--ease-out);
}
.case:hover, .rev:hover { border-color: var(--gold-deep); }

/* 7. Счётчики: пока не досчитали, ширина не должна прыгать */
.figures__n { font-variant-numeric: lining-nums tabular-nums; }

/* ---------- Адаптив ---------- */
@media (max-width: 1180px) {
  .split, .expert, .contacts, .quiz { grid-template-columns: 1fr; }
  .split--flip > .split__media { order: 0; }
  /* 0309: было height clamp(320px, 52vh, 520px) */
  .split__media .figure { height: auto; min-height: 0; aspect-ratio: 16 / 10; max-height: clamp(240px, 42vh, 420px); }
  .split__media::before { inset: 16px -16px -16px 16px; }
  .split--flip .split__media::before { inset: 16px 16px -16px -16px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .cards, .cases, .posts { grid-template-columns: repeat(2, 1fr); }
  .figures__grid { grid-template-columns: repeat(2, 1fr); }
  .foot__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .hdr__nav { display: none; }
  .burger { display: flex; }
  .hdr.is-compact { transform: none; }
  .hdr__actions [data-modal-open] { display: none; }
  .hero { min-height: 0; padding-top: calc(var(--hdr-top) + 20px); }
  .trust__grid, .steps, .cards, .cases, .posts { grid-template-columns: 1fr; }
  .trust__cell { padding-block: 16px; border-top: 1px solid rgba(246, 242, 236, 0.16); }
  .trust__cell:first-child { border-top: 0; padding-top: 0; }
  .trust__cell + .trust__cell::before { display: none; }
  .steps__item, .gains__item, .reg__cell { padding-inline: 0; }
  .cnt__row { grid-template-columns: 1fr; gap: 4px; }
  .foot__grid { grid-template-columns: 1fr; }
  .hero__cta .btn { width: 100%; }
}

@media (max-width: 640px) {
  .figures__grid { grid-template-columns: 1fr; gap: 0; }
  .figures__cell { padding-left: 0; padding-block: 16px; border-top: 1px solid rgba(246, 242, 236, 0.16); }
  .figures__cell:first-child { border-top: 0; }
  .figures__cell + .figures__cell::before { display: none; }
  .logo img { width: 132px; }
}

@media (max-width: 440px) {
  .logo img { width: 112px; }
  .hdr__phone { font-size: 0.8125rem; }
}

/* ---------- Доступность и печать ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .figure img, .js .reveal .figure img { transform: none !important; }
  .hero__bg img { animation: none !important; }
  .js .hero__col > *, .js .figures { animation: none !important; opacity: 1 !important; transform: none !important; }
  .runhead::after { transform: scaleX(1) !important; }
  .progress { display: none; }
  .js .split__media .figure { clip-path: none !important; }
  .split__media .figure img { transform: none !important; }
  .js .split__media::before { opacity: 0.5 !important; transition: none !important; }
}

@media (forced-colors: active) {
  .hero__bg::after, .figure__cap { display: none; }
  .btn, .card, .case, .rev, .terms__item, .opt, .quiz__panel, .modal__panel { border: 1px solid CanvasText; }
  .btn { forced-color-adjust: none; background: ButtonFace; color: ButtonText; border-color: ButtonText; }
}

@media print {
  html, body { background: #fff !important; color: #000 !important; }
  .hdr, .mnav, .modal, .burger, .map, .skip, .quiz__panel, .hero__bg { display: none !important; }
  .section, .hero, .foot, .trust { background: #fff !important; color: #000 !important; padding-block: 14pt !important; }
  .hero { min-height: 0 !important; }
  .d1, .d2, .d3, .eyebrow, .figures__n, .runhead__no, .steps__no, .case__sum { color: #6b5334 !important; }
  .lead, .caption, .small, .bullets li, .gains__txt, .steps__txt, .cnt__v, .foot__req, .figures__l { color: #000 !important; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .reg__panel { grid-template-rows: 1fr !important; }
  a[href^='http']::after, a[href^='tel']::after { content: ' (' attr(href) ')'; font-size: 9pt; color: #444; }
  .section { break-inside: avoid; }
}

/* ============================================================================
   PRAVKI-0309 — start
   Глобальная плотность и типографика (группа G7, письмо заказчика от 03.09.2026).
   Здесь только добавления: стык секций, утилиты выделения, ширина абзацев,
   выравнивание сеток. Значения существующих правил изменены на месте и помечены
   комментарием «0309: было …». Блок стоит последним, чтобы выигрывать каскад
   у базовых правил; файлы групп (_parts/css/*) подклеиваются после него.
   ========================================================================= */

/* --- Стык секций.
       Секции разного тона отделены цветом — им нужен свой отступ с каждой
       стороны, «двойного» там нет. Две подряд секции одного тона сливаются в
       одно полотно, и тогда верхний отступ второй — половинный. --- */
.section--cream + .section--cream,
.section--sand  + .section--sand,
.section--white + .section--white,
.section--choco + .section--choco { padding-top: var(--sec-y-tight); }

/* --- Ключевые фразы. Используются другими группами внутри заголовков и лидов.
       .hl        — мягкая золотая подложка под нижней частью строки
       .hl--line  — тонкое золотое подчёркивание вместо подложки
       .hl--gold  — золотой текст без фона (для тёмных секций и hero) --- */
.hl {
  background: linear-gradient(transparent 60%, var(--hl-bg) 60%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding-inline: 0.06em;
  color: var(--fg);
}
.hl--line {
  background: none;
  padding-inline: 0;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}
.hl--gold { background: none; padding-inline: 0; color: var(--gold-deep); font-weight: 700; }
.section--choco .hl--gold,
.hero .hl--gold,
.foot .hl--gold { color: var(--gold); }

/* --- Лиды. .lead уже есть; модификаторы дают «оживить» фразу без новой разметки.
       .lead--line — тонкая золотая линия слева (П.6 письма)
       .lead--dark — основной цвет текста вместо приглушённого --- */
.lead--line { padding-left: 18px; border-left: 2px solid var(--gold); }
.lead--dark { color: var(--fg); }
.lead strong, .lead b { color: var(--fg); font-weight: 700; }
.lead--center { margin-inline: auto; text-align: center; }

/* --- Ширина абзацев: длинная строка на широком экране — главная причина
       «висящего в воздухе» текста. Предел ~62ch на всё, что читается как абзац. --- */
.measure { max-width: var(--measure); }
.section p:not([class]),
.head p,
.bullets li,
.credits li,
.note-line,
.offer,
.callout { max-width: var(--measure); }
p, li, dd { text-wrap: pretty; } /* последняя строка абзаца не остаётся одним словом */

/* --- Ритм заголовков: одинаковые поля вокруг .d2/.d3, где бы они ни стояли --- */
.eyebrow + .d1,
.eyebrow + .d2,
.eyebrow + .d3 { margin-top: 10px; }
.d3 + p:not([class]) { margin-top: 8px; }
.d2 + p:not([class]) { margin-top: 12px; }

/* --- Выравнивание. Текст в колонках — по левому краю, колонки не распирает
       длинным словом (390 px), карточки в ряду одной высоты. --- */
.split, .expert, .contacts, .head { text-align: left; }
.split > *, .expert > *, .contacts > *, .quiz > * { min-width: 0; }
.cards, .cases, .revs, .posts, .gains__grid, .steps, .branch__grid, .reg__list { align-items: stretch; }
.case, .rev, .bcard { height: 100%; }

/* --- Мобильная плотность: на 390 px секции ещё компактнее --- */
@media (max-width: 640px) {
  .section { padding-block: 36px; }
  .section--cream + .section--cream,
  .section--sand  + .section--sand,
  .section--white + .section--white,
  .section--choco + .section--choco { padding-top: 18px; }
  .lead--line { padding-left: 14px; }
  .d2 { max-width: none; }
}

/* PRAVKI-0309 — end */

/* Правки заказчика от 03.09.2026: стили блоков, собранные из _parts/css */
/* ==== PRAVKI-0309 START ==== */
/* ── 10-g1.css ── */
/* ============================================================================
   G1 — шапка, первый экран, подвал, кнопка «наверх» (правки от 03.09.2026).
   Подключается сборкой ПОСЛЕ assets/styles.css, поэтому переопределяет базу
   теми же селекторами и токенами. Ничего из базы не удаляем.
   ========================================================================= */

/* ---------- Шапка: логотип крупнее, воздух до пары ссылок ---------- */
.hdr .logo img { width: clamp(200px, 20vw, 300px); } /* подпись «Елены Кузнецовой» должна читаться */
.hdr__toplinks { margin-left: clamp(28px, 4.5vw, 72px); gap: 6px; }
.hdr__toplinks a { font-size: var(--fs-small); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color var(--dur-fast) var(--ease-out); }
.hdr__toplinks a:hover, .hdr__toplinks a:focus-visible { border-bottom-color: currentColor; }

/* ---------- Мобильное меню: телефон + вопрос брокеру одним столбцом ---------- */
.mnav__cta { display: grid; gap: 12px; margin-top: 28px; }

/* ---------- Первый экран: компактный и светлый ----------
   .hero задаёт grid «контент / полоса цифр» и min-height на весь экран,
   .hero--proto — светлые токены и градиент поверх видео. Здесь снимаем высоту
   и вторую строку сетки: экран становится не выше ~70vh на десктопе. */
.hero--lite {
  display: block;
  min-height: 0;
  padding-bottom: clamp(24px, 2.8vw, 32px);
}
.hero--lite .hero__col {
  position: relative;
  z-index: 1;
  max-width: 680px;
  padding-top: clamp(24px, 3vw, 40px);
}

/* H1 вдвое меньше базового .d1 (64 px → 32 px на десктопе) */
.top__h1 {
  font-size: clamp(1.5rem, 1.15rem + 1.1vw, 2rem);
  font-weight: 400;
  line-height: 1.22;
  letter-spacing: -0.005em;
  max-width: 30ch;
  text-wrap: balance;
  color: var(--fg);
}

/* лид про доверенного брокера: тонкая золотая линия слева, ключевое выделено */
.top__lead {
  margin-top: 18px;
  padding-left: 18px;
  border-left: 2px solid var(--gold);
  max-width: 56ch;
  line-height: 1.55;
}
.top__em {
  font-style: normal;
  font-weight: 700;
  color: var(--fg);
  background: linear-gradient(to top, var(--gold-soft) 0 36%, transparent 36%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* три принципа — одной строкой через золотые точки, а не столбиком */
.top__claims {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 0;
  margin-top: 12px;
  font-size: var(--fs-small);
  color: var(--fg-2);
}
.top__claims li { display: inline-flex; align-items: center; }
.top__claims li + li::before {
  content: '';
  flex: none;
  width: 4px; height: 4px;
  margin: 0 12px;
  border-radius: 50%;
  background: var(--gold-deep);
}

.top__cta { display: flex; flex-wrap: wrap; gap: 12px 14px; margin-top: 26px; }

/* шильдик Яндекс Карт — внизу слева, небольшой */
.top__badge { margin-top: clamp(22px, 2.6vw, 28px); }
.top__badge img {
  height: clamp(100px, 8vw, 116px);
  width: auto;
  /* картинка с прозрачным фоном — тень ложится по силуэту, поэтому совсем лёгкая */
  filter: drop-shadow(0 2px 5px rgba(44, 33, 27, 0.14));
}

@media (max-width: 900px) {
  /* на узком экране текст лежит поверх видео на всю ширину — вуаль сверху вниз */
  .hero--lite .hero__bg::after {
    background: linear-gradient(to bottom, var(--sand) 0%, rgba(234, 225, 216, 0.94) 55%, rgba(234, 225, 216, 0.74) 100%);
  }
  .hero--lite .hero__col { padding-top: 16px; }
}
@media (max-width: 640px) {
  .hdr .logo img { width: 176px; }
  .hdr__actions .hdr__phone { display: none; } /* номер есть в меню-бургере, логотипу нужнее место */
  .top__cta .btn { width: 100%; }
  .top__claims { display: grid; gap: 6px; }
  .top__claims li + li::before { display: none; }
}
@media (max-width: 440px) {
  .hdr .logo img { width: 164px; }
}

/* ---------- Подвал: без слогана и сноски, плотнее ---------- */
.foot { padding-block: clamp(32px, 3.6vw, 52px); }
.foot__req { margin-top: 16px; }
.foot__bottom { margin-top: 26px; }
.foot__tel { color: inherit; }

/* ---------- Кнопка «наверх» ---------- */
.totop {
  position: fixed;
  right: clamp(16px, 2.4vw, 28px);
  bottom: clamp(16px, 2.4vw, 28px);
  z-index: 100; /* ниже мобильного меню (110) и модалок (120) */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--choco);
  box-shadow: 0 6px 18px rgba(44, 33, 27, 0.22);
  text-decoration: none;
  transition: opacity var(--dur-base) var(--ease-out),
              transform var(--dur-base) var(--ease-out),
              background-color var(--dur-fast) var(--ease-out),
              visibility 0s linear var(--dur-base); /* при скрытии ждём конец фейда */
}
.totop.is-on { transition-delay: 0s; }
.totop svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.totop:hover { background: var(--gold-deep); }
.totop:focus-visible { outline-color: var(--choco); }
/* кнопка скрыта до ~600 px прокрутки; класс is-on ставит 10-g1.js */
.totop:not(.is-on) { opacity: 0; visibility: hidden; transform: translateY(10px); pointer-events: none; }
/* после клика фокус уходит на первый экран — рамка вокруг всего экрана не нужна */
#top:focus-visible { outline: none; }

@media print { .totop { display: none !important; } }

/* ── 20-g2.css ── */
/* ============================================================================
   G2 · Квиз во всплывающем окне (#quizModal, П.16)
   Каркас берём у общей модалки (.modal / .modal__scrim / .modal__panel /
   .modal__close), но панель светлая: квиз рисован под белую карточку —
   варианты ответа, поля, согласия читаются на белом, а не на шоколаде.
   ========================================================================= */

.modal--quiz { overflow-y: auto; -webkit-overflow-scrolling: touch; }

.modal__panel.modal__panel--quiz {
  /* возвращаем светлые токены :root — .modal__panel переключает их на тёмные */
  --bg: var(--white);
  --surface: var(--white);
  --fg: var(--choco);
  --fg-2: rgba(44, 33, 27, 0.72);
  --fg-3: rgba(44, 33, 27, 0.52);
  --hair: rgba(44, 33, 27, 0.14);
  --edge: rgba(44, 33, 27, 0.34);
  --accent: var(--brown-text);
  --accent-fill: var(--gold);
  --ring: var(--brown-text);

  max-width: 720px;
  background: var(--white);
  color: var(--choco);
  border-color: rgba(44, 33, 27, 0.12);
  padding: clamp(22px, 3vw, 36px) clamp(20px, 3.4vw, 40px) clamp(20px, 3vw, 32px);
  box-shadow: 0 24px 64px rgba(20, 15, 12, 0.28);
}

.modal__panel--quiz .modal__close {
  top: 12px; right: 12px;
  width: 40px; height: 40px;
  border-color: rgba(44, 33, 27, 0.22);
  color: var(--choco);
}
.modal__panel--quiz .modal__close:hover { border-color: var(--gold-deep); color: var(--gold-deep); }
.modal__panel--quiz :focus-visible { outline-color: var(--brown-text); }

/* Шапка окна: заголовок + короткий лид вместо левой колонки-описания */
.qm__head { padding-right: 52px; } /* не заезжаем под крестик */
.qm__lead {
  margin-top: 8px;
  max-width: 62ch;
  font-size: var(--fs-small);
  line-height: 1.5;
  color: var(--fg-2);
}
.qm__time {
  display: inline-block;
  margin-left: 4px;
  padding: 2px 9px;
  border: 1px solid var(--hair);
  border-radius: 999px;
  font-size: var(--fs-caption);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-3);
  white-space: nowrap;
  vertical-align: 1px;
}

/* Шаги — горизонтальный степпер вместо вертикального списка.
   Базовые .quiz__step-row / .is-done / .is-current / .quiz__echo — из styles.css,
   ими управляет модуль «quiz» в app.js. */
.qm__steps {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  margin-top: 18px;
}
.qm__steps .quiz__step-row {
  display: block;
  padding: 8px 0 0;
  border-bottom: 0;
  border-top: 2px solid var(--hair);
  font-size: var(--fs-caption);
  line-height: 1.3;
  transition: color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.qm__steps .quiz__step-row.is-done,
.qm__steps .quiz__step-row.is-current { border-top-color: var(--gold-deep); }
.qm__steps .quiz__step-no { display: block; margin-bottom: 2px; }
.qm__steps .quiz__echo {
  margin-top: 1px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Сама форма: плотнее, чем секционная версия; варианты — в две колонки */
.qm__form { margin-top: 18px; }
.qm__form .quiz__meter { margin-bottom: 18px; }
.qm__form .quiz__opts {
  margin-top: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.qm__form .quiz__opts--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.qm__form .opt {
  padding: 12px 16px;
  min-height: 50px;
  font-size: var(--fs-small);
}
.qm__form .opt input:checked ~ .opt__txt { color: var(--fg); }
.qm__form .opt:has(input:checked) { border-color: var(--gold-deep); background: var(--gold-soft); }

.qm__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 16px;
}
.qm__form .field { margin-top: 16px; }
.qm__form .consent { margin-top: 12px; gap: 10px; }
.qm__form .consent + .consent { margin-top: 8px; }

.qm__form .quiz__nav {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--hair);
}
.quiz__btns { display: flex; gap: 10px; flex-wrap: wrap; }
.qm__form .form__status { margin-top: 10px; }

/* Появление: короткое, только opacity/transform */
.modal--quiz.is-open .modal__scrim { animation: qmFade var(--dur-base) var(--ease-out) both; }
.modal--quiz.is-open .modal__panel { animation: qmRise var(--dur-panel) var(--ease-out) both; }
@keyframes qmFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes qmRise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .modal--quiz.is-open .modal__scrim,
  .modal--quiz.is-open .modal__panel { animation: none; }
}

/* Мобильный: панель на весь экран, прокрутка внутри .modal--quiz */
@media (max-width: 640px) {
  .modal__panel.modal__panel--quiz {
    max-width: none;
    min-height: 100%;
    max-height: none;
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
    padding: 64px 20px 28px;
  }
  .modal__panel--quiz .modal__close { top: 12px; right: 16px; }
  .qm__head { padding-right: 0; }
  .qm__steps { gap: 4px; }
  .qm__steps .quiz__echo { display: none; }
  .qm__form .quiz__opts,
  .qm__form .quiz__opts--3,
  .qm__fields { grid-template-columns: 1fr; }
  .quiz__btns { width: 100%; }
  .quiz__btns .btn { flex: 1 1 auto; }
}

/* ── 30-g3.css ── */
/* =====================================================================
   G3 — «Что мы делаем» (#praktika), правки от 03.09.
   Задача: убрать .runhead, уплотнить блок, сделать карточки одинаковыми
   во всех вкладках и кликабельными целиком. Файл дописывается после
   assets/styles.css, поэтому одинаковые селекторы здесь перекрывают базу.

   Второй раунд (по VERIFY-0309, п.7 и замечание арт-директора):
   - высота карточки одинакова и внутри вкладки, и между вкладками: фото 4:3,
     под текст зарезервировано 2 строки заголовка + 3 строки описания;
   - стрелка прижата к низу карточки (margin-top:auto), а не висит в углу;
   - никакого «выцветания»: фото без фильтров и прозрачности, заголовок —
     цвет текста (--choco), описание — --brown-text; карточки больше не .reveal
     (в первом раунде именно незавершённая reveal-анимация давала блёклый вид);
   - на телефоне карточка-строка фиксированной минимальной высоты, шевроны у
     вкладок скрыты (иначе шеврон на вкладке + шеврон на карточке = «двойные»).
   ===================================================================== */

/* Секция ниже общих: сама по себе она невысокая, и большие поля вокруг
   выглядели бы пустотой. */
.section--praktika { padding-block: clamp(36px, 4vw, 64px); }

/* ---------- Каркас: слева заголовок + вкладки, справа карточки ---------- */
.branches--tight.is-ready {
  grid-template-columns: minmax(0, 236px) minmax(0, 1fr);
  gap: clamp(20px, 2.6vw, 44px);
  align-items: start;
  border-top: 0;          /* линия и отступ над блоком больше не нужны — шапки-«шильдика» нет */
  padding-top: 0;
}
/* Липнет вся левая колонка целиком (заголовок + вкладки), а не только список. */
.branches--tight.is-ready .branches__aside {
  position: sticky;
  top: calc(var(--hdr-nav) + 20px);
}
.branches--tight.is-ready .branches__nav {
  position: static;
  margin-top: 16px;
  border-top: 1px solid var(--hair);
}
.branches__h { max-width: none; }

/* Вкладки компактнее: 13px по вертикали вместо 20px, шрифт чуть меньше. */
.branches--tight .btab { gap: 12px; padding: 13px 4px 13px 0; }
.branches--tight .btab__t { font-size: clamp(14px, 1.05vw, 16px); line-height: 1.3; }
.branches--tight .btab[aria-selected="true"] { padding-left: 12px; }

/* ---------- Единая сетка: пять колонок в каждой вкладке ----------
   Ширина карточки не зависит от их количества — во вкладке с двумя
   карточками они такие же, как во вкладке с пятью. Пустые ячейки закрывает
   плашка .bnote. Ряд тянется по самой высокой карточке (stretch), а сама
   высота задана снизу через min-height текстовой части — см. .bcard__body. */
.branches--tight .branch__grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(10px, 1.2vw, 16px);
  align-items: stretch;
}

/* ---------- Карточка — ссылка или кнопка целиком ---------- */
.branches--tight .bcard {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  font: inherit;
  color: var(--choco);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
/* сброс кнопочной обвязки браузера; фон, рамка и радиус приходят от .bcard из базы */
.bcard--btn { appearance: none; -webkit-appearance: none; }

/* Фото: фиксированная пропорция 4:3 (из базы), полная насыщенность — никаких
   opacity/filter ни на картинке, ни на обёртке. */
.branches--tight .bcard__media { display: block; flex: none; opacity: 1; filter: none; }
.branches--tight .bcard__media img { opacity: 1; filter: none; }

/* Текстовая часть. min-height резервирует 2 строки заголовка + 3 строки
   описания, поэтому карточка с коротким текстом такой же высоты, как с длинным,
   а ряд «Экспертизы» такой же, как ряд «Купить». box-sizing: content-box —
   чтобы в расчёте не учитывать поля и не зависеть от глобального border-box. */
.branches--tight .bcard__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 5px;
  box-sizing: content-box;
  min-height: calc(2 * 1.25 * clamp(14px, 1.05vw, 16px) + 5px + 3 * 1.4 * 13px);
  padding: 11px 13px 0;
}
.bcard__t {
  display: block;
  font-size: clamp(14px, 1.05vw, 16px);
  font-weight: 700;
  line-height: 1.25;
  color: var(--choco);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: text-decoration-color var(--dur-base) var(--ease-out);
}
/* Описание: не серое, а фирменный коричневый; не длиннее трёх строк —
   лишнее обрезается многоточием, чтобы высота ряда не «поплыла». */
.bcard__p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  font-size: 13px;
  line-height: 1.4;
  color: var(--brown-text);
}
/* Стрелка: тонкий шеврон, как у вкладок, прижат к правому нижнему углу
   (margin-top:auto в flex-колонке карточки), а не позиционирован абсолютно —
   так у коротких карточек нет «пустоты над стрелкой», она всегда последняя. */
.bcard__arrow {
  position: static;
  display: block;
  flex: none;
  align-self: flex-end;
  width: 8px;
  height: 8px;
  margin: 10px 14px 14px 0;
  border-top: 1.5px solid var(--gold-deep);
  border-right: 1.5px solid var(--gold-deep);
  transform: rotate(45deg);
  opacity: .7;
  transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}
.branches--tight .bcard:hover .bcard__t,
.branches--tight .bcard:focus-visible .bcard__t { text-decoration-color: var(--gold-deep); }
.branches--tight .bcard:hover .bcard__arrow,
.branches--tight .bcard:focus-visible .bcard__arrow { opacity: 1; transform: rotate(45deg) translate(2px, -2px); }
.branches--tight .bcard:focus-visible { border-color: var(--gold-deep); }

/* ---------- Плашка на месте пустых ячеек ----------
   Та же гамма, что у .callout/.offer: песочная подложка, золотая рамка. */
.bnote {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 18px 20px;
  background: var(--gold-soft);
  border: 1px solid var(--gold-deep);
  border-radius: var(--radius);
}
.bnote__t { display: block; font-size: var(--fs-h4); font-weight: 700; line-height: 1.25; color: var(--choco); }
.bnote__p { margin: 0; max-width: 46ch; font-size: var(--fs-small); line-height: 1.5; color: var(--brown-text); }
.bnote .btn { align-self: flex-start; margin-top: 4px; }
.bnote--wide { grid-column: 3 / -1; }        /* «Экспертиза»: две карточки + плашка на три ячейки */
.bnote--cell { padding: 16px 14px; gap: 6px; } /* «Продать»: плашка в одну ячейку */
.bnote--cell .bnote__t { font-size: clamp(14px, 1.05vw, 16px); }
.bnote--cell .bnote__p { font-size: 13px; line-height: 1.4; }

/* ---------- Адаптив ---------- */
/* Планшет и узкий десктоп (901–1240): три колонки. «Экспертиза» — две карточки
   и плашка в третьей ячейке; «Продать» — 3 + 1 карточка, плашка закрывает две
   пустые ячейки второго ряда. */
@media (max-width: 1240px) {
  .branches--tight .branch__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bnote--wide { grid-column: 3 / -1; }
  .branches--tight .bnote--cell { grid-column: 2 / -1; }
}
/* Одна колонка каркаса: заголовок, вкладки, карточки друг под другом;
   карточки — в две колонки, обе плашки на всю ширину ряда (важно: при двух
   колонках grid-column: 3 / -1 создавал бы третью, неявную колонку и вылезал
   за край). */
@media (max-width: 900px) {
  .branches--tight.is-ready { grid-template-columns: 1fr; gap: 16px; }
  .branches--tight.is-ready .branches__aside { position: static; }
  .branches--tight.is-ready .branches__nav { margin-top: 10px; }
  .branches--tight .btab { padding-block: 11px; }
  .branches--tight .branch__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bnote--wide,
  .branches--tight .bnote--cell { grid-column: 1 / -1; }
}
/* Без «двойных шевронов» на телефоне: у вкладок шеврон убираем, остаётся
   только стрелка на карточке. Выбранную вкладку по-прежнему показывает
   золотая полоса слева и цвет текста. */
@media (max-width: 640px) {
  .branches--tight .btab__chev { display: none; }
  .branches--tight .btab { gap: 0; }
}
/* Телефон: карточка ложится в строку — фото слева, текст справа. Все строки
   одной высоты (min-height), фото растянуто на высоту строки (object-fit: cover
   из базы), описание — до трёх строк. Пять карточек занимают ~570px. */
@media (max-width: 600px) {
  .branches--tight .branch__grid { grid-template-columns: 1fr; gap: 10px; }
  .branches--tight .bcard { flex-direction: row; align-items: stretch; min-height: 104px; }
  .branches--tight .bcard__media { flex: 0 0 112px; align-self: stretch; aspect-ratio: auto; min-height: 0; }
  .branches--tight .bcard__body {
    justify-content: center;
    box-sizing: border-box;
    min-height: 0;
    padding: 10px 30px 10px 12px;   /* справа — место под стрелку по центру строки */
  }
  .bcard__arrow { position: absolute; right: 13px; top: 50%; margin: -4px 0 0; align-self: auto; }
  .bnote--wide, .bnote--cell { grid-column: 1 / -1; padding: 16px 16px; }
  .bnote--cell .bnote__t { font-size: var(--fs-h4); }
  .bnote--cell .bnote__p { font-size: var(--fs-small); }
}

@media (prefers-reduced-motion: reduce) {
  .bcard__t, .bcard__arrow { transition: none; }
}

/* Заголовок карточки не длиннее двух строк — иначе ряд «Экспертизы» выше остальных */
.branches--tight .bcard__t { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }

/* ── 40-g4.css ── */
/* ============================================================================
   G4 — продуктовые блоки (#novostroyki, #vtorichka, #kommercheskaya, #zagorodnaya)
   Одна компоновка на все четыре раздела: слева фото-ячейка (галерея),
   справа плотная инфографика. Плюс витрина лотов, лента кейсов и лайтбокс.
   Токены и базовые классы — из assets/styles.css.
   ========================================================================= */

/* ---------- Каркас блока ---------- */
.prod__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(20px, 2.6vw, 40px);
  align-items: stretch;
}

/* Фото тянется на всю высоту инфографики: кнопка лежит абсолютно внутри
   обёртки, высоту обёртке даёт сетка. */
.prod__media { position: relative; min-height: 380px; }
.prod__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--gold-soft);
  cursor: zoom-in;
  text-align: left;
}
.prod__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease-out);
}
.prod__photo:hover img,
.prod__photo:focus-visible img { transform: scale(1.04); }
.prod__photo:focus-visible { outline-offset: -3px; }
.prod__photo::after {
  /* мягкое затемнение снизу — подложка под подпись */
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 38%;
  background: linear-gradient(to top, rgba(44, 33, 27, 0.62), rgba(44, 33, 27, 0));
  pointer-events: none;
}
.prod__hint {
  position: absolute;
  left: 14px; bottom: 14px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px 7px 10px;
  border: 1px solid rgba(246, 242, 236, 0.35);
  border-radius: var(--radius-btn);
  background: rgba(44, 33, 27, 0.66);
  color: var(--cream);
  font-size: var(--fs-caption);
  line-height: 1;
  letter-spacing: 0.02em;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: background-color var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}
.prod__hint svg { flex: none; fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
.prod__photo:hover .prod__hint,
.prod__photo:focus-visible .prod__hint { background: var(--choco); border-color: var(--gold); }

/* ---------- Инфографика справа ---------- */
.prod__info { min-width: 0; display: flex; flex-direction: column; }
.prod__title { max-width: 26ch; }
.prod__title + .chips { margin-top: 12px; }

/* чипы — вместо белых кнопок и отдельных строк-«обломков» */
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border: 1px solid var(--hair);
  border-radius: var(--radius-btn);
  background: var(--surface);
  color: var(--fg-2);
  font-size: var(--fs-caption);
  line-height: 1.25;
}
/* Одна система: базовый чип — кремовый с тонкой рамкой, единственный акцент —
   золотой для выгоды. Точки и прочие вариации убраны: в одном ряду они
   читались как разнобой. */
.chip { background: var(--cream); color: var(--choco); font-weight: 500; }
.chip--gold { background: var(--gold-soft); border-color: var(--gold-deep); color: var(--choco); font-weight: 600; }
.chip--gift { background: var(--cream); color: var(--choco); }
.chip--gift::before { content: none; }

/* тезисы с тире */
.prod__pts { margin-top: 14px; display: grid; gap: 6px; }
.prod__pts li {
  position: relative;
  padding-left: 22px;
  font-size: var(--fs-small);
  line-height: 1.5;
  color: var(--fg-2);
}
.prod__pts li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.72em;
  width: 12px; height: 1px;
  background: var(--gold-deep);
}

/* плашка вознаграждения — одна строка */
.prod__fee {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  margin-top: 14px;
  padding: 9px 14px;
  border: 1px solid var(--gold-deep);
  border-radius: var(--radius);
  background: var(--gold-soft);
  color: var(--choco);
  font-size: var(--fs-small);
  line-height: 1.45;
}
.prod__fee-l {
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brown-text);
  white-space: nowrap;
}

/* подпись группы с линией вправо — заменяет крупные подзаголовки */
.prod__block { margin-top: 16px; }
.prod__label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.prod__label::after { content: ''; flex: 1; height: 1px; background: var(--hair); }

/* «С нами вы получаете» — плотная сетка карточек */
.prod__gains {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-top: 10px;
}
.prod__gains--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.prod__gains li {
  position: relative;
  padding: 8px 10px 8px 22px;
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  background: var(--surface);
  font-size: var(--fs-caption);
  line-height: 1.4;
  color: var(--fg-2);
}
.prod__gains li::before {
  content: '';
  position: absolute;
  left: 9px; top: 15px;
  width: 8px; height: 1px;
  background: var(--gold-deep);
}

/* этапы — сетка мелких шагов */
.prod__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 16px;
  margin-top: 10px;
}
.prod__steps li { padding: 8px 0; border-top: 1px solid var(--hair); }
.prod__steps b {
  display: block;
  font-size: var(--fs-small);
  font-weight: 700;
  line-height: 1;
  color: var(--gold-deep);
  font-variant-numeric: lining-nums tabular-nums;
}
.prod__steps span {
  display: block;
  margin-top: 4px;
  font-size: var(--fs-caption);
  line-height: 1.4;
  color: var(--fg-2);
}

/* кнопка + ссылка на гайд в одну строку */
.prod__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  margin-top: 18px;
}
.prod__cta .link { text-align: left; }

/* ---------- Витрина «Топ предложений» ---------- */
.lots { margin-top: clamp(26px, 3vw, 40px); }
.lots__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--hair);
}
.lots__title { font-size: var(--fs-d3); font-weight: 400; }
.lots__stamp { font-size: var(--fs-caption); letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-3); }

.lots__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 22px);
  margin-top: 16px;
  align-items: stretch;
}
.lot {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--dur-base) var(--ease-out);
}
.lot:hover { border-color: var(--gold-deep); }
.lot__photo {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--gold-soft);
  cursor: zoom-in;
}
.lot__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease-out);
}
.lot__photo:hover img,
.lot__photo:focus-visible img { transform: scale(1.05); }
.lot__photo:focus-visible { outline-offset: -3px; }
.lot__count {
  position: absolute;
  left: 10px; top: 10px;
  padding: 4px 9px;
  border-radius: var(--radius-btn);
  background: rgba(44, 33, 27, 0.66);
  color: var(--cream);
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: 0.06em;
}
.lot__body { display: flex; flex-direction: column; flex: 1; padding: 12px 14px 14px; }
.lot__name { font-size: var(--fs-h4); font-weight: 700; line-height: 1.3; }
.lot__spec {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--hair);
}
.lot__spec dt {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.lot__spec dd { margin-top: 2px; font-size: var(--fs-caption); line-height: 1.35; color: var(--fg-2); }
.lot__more { margin-top: auto; padding-top: 12px; }

/* ---------- Лента кейсов (вторичка) ---------- */
.cstrip { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.cstrip__stage {
  position: relative;
  flex: 1;
  min-height: 320px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--gold-soft);
}
.cstrip__view {
  position: absolute;
  inset: 0;
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.cstrip__view::-webkit-scrollbar { display: none; }
.cstrip__slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  overflow: hidden;
  cursor: zoom-in;
}
.cstrip__slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cstrip__slide:focus-visible { outline-offset: -4px; }
.cstrip__tag {
  position: absolute;
  left: 12px; bottom: 12px;
  padding: 5px 10px;
  border-radius: var(--radius-btn);
  background: rgba(44, 33, 27, 0.66);
  color: var(--cream);
  font-size: var(--fs-caption);
  line-height: 1.2;
}
.cstrip__n {
  position: absolute;
  left: 12px; top: 12px;
  padding: 5px 10px;
  border-radius: var(--radius-btn);
  background: rgba(44, 33, 27, 0.66);
  color: var(--cream);
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.cstrip__n b { font-weight: 700; color: var(--gold); font-variant-numeric: lining-nums tabular-nums; }
.cstrip__arr {
  position: absolute;
  top: 50%;
  width: 40px; height: 40px;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  border: 1px solid rgba(246, 242, 236, 0.32);
  border-radius: 50%;
  background: rgba(44, 33, 27, 0.62);
  color: var(--cream);
  transition: background-color var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}
.cstrip__arr--prev { left: 12px; }
.cstrip__arr--next { right: 12px; }
.cstrip__arr:hover { background: var(--choco); border-color: var(--gold); }
.cstrip__arr svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
/* без JS листать нечем — стрелки не показываем, лента листается свайпом/скроллом */
html:not(.js) .cstrip__arr { display: none; }

.cstrip__info {
  padding: 12px 16px 14px;
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  background: var(--surface);
}
.cstrip__dots { display: flex; gap: 6px; margin-bottom: 8px; }
.cstrip__dots:empty { display: none; }
.cstrip__dot { position: relative; width: 24px; height: 14px; }
.cstrip__dot::before {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 6px;
  height: 2px;
  border-radius: 2px;
  background: var(--hair);
  transition: background-color var(--dur-base) var(--ease-out);
}
.cstrip__dot:hover::before { background: var(--edge); }
.cstrip__dot.is-on::before { background: var(--gold-deep); }
.cstrip__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; }
.cstrip__sum { font-size: var(--fs-d3); font-weight: 700; line-height: 1.15; color: var(--gold-deep); }
.cstrip__kind {
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.cstrip__t { margin-top: 2px; font-size: var(--fs-small); font-weight: 700; }
.cstrip__d { margin-top: 4px; font-size: var(--fs-caption); line-height: 1.45; color: var(--fg-2); }

/* ---------- Лайтбокс (один на все блоки, разметку создаёт JS) ---------- */
.gal {
  position: fixed;
  inset: 0;
  z-index: 125;
  color: var(--cream);
}
.gal__scrim {
  position: absolute;
  inset: 0;
  background: rgba(20, 15, 12, 0.92);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.gal__fig {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  margin: 0;
  padding: 68px clamp(64px, 8vw, 110px) 24px;
  touch-action: pan-y;
}
.gal__img {
  max-width: 100%;
  max-height: calc(100vh - 150px);
  max-height: calc(100svh - 150px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
  transition: opacity var(--dur-base) var(--ease-out);
}
.gal.is-loading .gal__img { opacity: 0.35; }
.gal__cap {
  max-width: 72ch;
  margin-top: 12px;
  text-align: center;
  font-size: var(--fs-small);
  line-height: 1.5;
  color: rgba(246, 242, 236, 0.86);
}
.gal__count {
  position: absolute;
  left: 20px; top: 22px;
  font-size: var(--fs-caption);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(246, 242, 236, 0.72);
  font-variant-numeric: lining-nums tabular-nums;
}
.gal__close,
.gal__nav {
  position: absolute;
  display: grid;
  place-items: center;
  border: 1px solid rgba(246, 242, 236, 0.44);
  color: var(--cream);
  background: rgba(44, 33, 27, 0.5);
  transition: border-color var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out), background-color var(--dur-base) var(--ease-out);
}
.gal__close { top: 14px; right: 14px; width: 44px; height: 44px; border-radius: var(--radius); }
.gal__nav { top: 50%; width: 48px; height: 48px; transform: translateY(-50%); border-radius: 50%; }
.gal__nav--prev { left: 16px; }
.gal__nav--next { right: 16px; }
.gal__close:hover, .gal__nav:hover { border-color: var(--gold); color: var(--gold); background: rgba(44, 33, 27, 0.85); }
.gal :focus-visible { outline-color: var(--gold); }
.gal svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Адаптив ---------- */
@media (max-width: 1180px) {
  .prod__grid { grid-template-columns: minmax(0, 1fr); }
  /* фото над инфографикой: обычная пропорция, не «на всю высоту» */
  .prod__media { min-height: 0; aspect-ratio: 16 / 9; }
  .cstrip__stage { flex: none; min-height: 0; aspect-ratio: 16 / 10; }
  .prod__title { max-width: 30ch; }
}
@media (max-width: 900px) {
  .lots__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prod__gains--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .prod__media { aspect-ratio: 4 / 3; }
  .lots__grid { grid-template-columns: minmax(0, 1fr); }
  .prod__gains, .prod__gains--3 { grid-template-columns: minmax(0, 1fr); }
  .prod__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prod__steps--3 { grid-template-columns: minmax(0, 1fr); }
  .prod__cta .btn { width: 100%; }
  .gal__fig { padding: 64px 12px 4px; }
  .gal__img { max-height: calc(100vh - 170px); max-height: calc(100svh - 170px); }
  .gal__nav { width: 40px; height: 40px; }
  .gal__nav--prev { left: 8px; }
  .gal__nav--next { right: 8px; }
  .gal__cap { padding-inline: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .prod__photo img, .lot__photo img { transition: none; }
  .cstrip__view { scroll-behavior: auto; }
}

@media (forced-colors: active) {
  .chip, .prod__gains li, .lot, .cstrip__info, .gal__close, .gal__nav, .cstrip__arr { border: 1px solid CanvasText; }
}

@media print {
  .gal, .cstrip__arr, .prod__hint, .lot__count { display: none !important; }
  .prod__media { aspect-ratio: 4 / 3; min-height: 0; }
}

/* ── 50-g5.css ── */
/* ============================================================================
   G5 — Кейсы (#cases) и Отзывы (#otzyvy). Правки от 03.09.2026, П.14–15.
   Задача: убрать колонтитул раздела, уплотнить, карточки ровные, сдержанный «богатый»
   декор: крупная золотая цифра, категория, короткая золотая линия, золотые
   звёзды. Базовые .case / .rev из assets/styles.css сохранены, здесь только
   модификаторы --g5. Итоговая высота двух блоков — примерно на 40 % меньше.
   ========================================================================== */

/* Локальный тон золота для крупного текста: --gold-deep на белом даёт ~2.4:1,
   этот оттенок — ~3.1:1 (AA для крупного текста), визуально тот же тёплый золотой. */
.section--g5 { --g5-gold-text: #b0874a; }

/* Обе секции компактнее общего --sec-y: у заказчика главная претензия — пустоты */
.section--g5 { padding-block: clamp(24px, 2.8vw, 40px); }

/* ---------- Шапка секции: заголовок слева, короткая подпись справа ---------- */
.head--g5 {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 32px;
  flex-wrap: wrap;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--hair);
}
.head--g5 .d2 { max-width: 44ch; } /* на десктопе — одной строкой */
.head--g5 .head__note {
  position: relative;
  padding-left: 22px;
  padding-bottom: 4px;       /* подпись сидит на базовой линии заголовка */
  white-space: nowrap;
}
/* короткое золотое тире перед подписью */
.head--g5 .head__note::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 14px; height: 1px;
  margin-top: -3px;
  background: var(--gold-deep);
}

/* ---------- Кейсы ---------- */
.cases--g5 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 24px);
  margin-top: clamp(18px, 2.2vw, 28px);
  align-items: stretch;
}
.case--g5 {
  position: relative;
  padding: 22px 22px 24px;
  box-shadow: 0 1px 2px rgba(44, 33, 27, 0.04), 0 8px 24px -16px rgba(44, 33, 27, 0.18);
  transition: border-color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.case--g5:hover { box-shadow: 0 1px 2px rgba(44, 33, 27, 0.04), 0 14px 30px -16px rgba(44, 33, 27, 0.26); }

/* категория: тонкая подпись капителью с золотой точкой */
.case__cat {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--fg-3);
}
.case__cat::before {
  content: '';
  flex: none;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

/* крупная золотая цифра + короткая золотая линия под ней */
.case--g5 .case__sum {
  margin-top: 14px;
  font-size: clamp(1.75rem, 1.05rem + 1.5vw, 2.625rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--g5-gold-text);
  white-space: nowrap;
}
.case--g5 .case__sum::after {
  content: '';
  display: block;
  width: 36px; height: 2px;
  margin-top: 12px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold));
  border-radius: 1px;
}
.case--g5 .case__t { margin-top: 12px; line-height: 1.3; }
.case--g5 .case__d { margin-top: 8px; }

/* ---------- Отзывы: шапка с рейтингом ---------- */
.revs-head {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 36px);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--hair);
}
.revs-head__score {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding-right: clamp(18px, 2.6vw, 36px);
  border-right: 1px solid var(--hair);
}
.revs-head__n {
  font-size: clamp(2.5rem, 1.7rem + 2vw, 3.75rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--g5-gold-text);
}
.revs-head__stars {
  font-size: var(--fs-small);
  letter-spacing: 0.14em;
  color: var(--gold-deep);
  white-space: nowrap;
}
.revs-head__txt { min-width: 0; }
.revs-head__txt .d2 { max-width: 44ch; } /* на десктопе — одной строкой */
.revs-head__txt .caption { margin-top: 8px; }

/* ---------- Отзывы: карточки 4 в ряд, одной высоты ---------- */
.revs--g5 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 24px);
  margin-top: clamp(18px, 2.2vw, 28px);
  align-items: stretch;
}
.rev--g5 {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 20px 20px 20px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(44, 33, 27, 0.04), 0 8px 24px -16px rgba(44, 33, 27, 0.18);
  transition: border-color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.rev--g5:hover { box-shadow: 0 1px 2px rgba(44, 33, 27, 0.04), 0 14px 30px -16px rgba(44, 33, 27, 0.26); }
/* тихая декоративная кавычка в углу */
.rev--g5::before {
  content: '\201C';
  position: absolute;
  right: 14px; top: -6px;
  font-size: 84px;
  line-height: 1;
  color: var(--gold);
  opacity: 0.35;
  pointer-events: none;
}
.rev--g5 .rev__stars {
  display: block;
  font-size: var(--fs-small);
  letter-spacing: 0.14em;
  color: var(--gold-deep);
}
.rev--g5 .rev__txt { margin-top: 10px; }
/* автор прижат к низу карточки — имена в ряду на одной линии */
.rev--g5 .rev__who {
  margin-top: auto;
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-weight: 400;
  border-top: 1px solid var(--hair);
}
.rev--g5 .rev__txt { margin-bottom: 14px; } /* зазор до подписи, когда текст короткий */
.rev__name { font-weight: 700; font-size: var(--fs-small); color: var(--fg); }
.rev--g5 .rev__src {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-caption);
  color: var(--fg-3);
}
.rev--g5 .rev__src::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

/* ---------- Адаптив ---------- */
@media (max-width: 1180px) {
  .cases--g5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } /* не 2+1: третья карточка не должна остаться одна */
  .revs--g5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }  /* 2×2 без «одинокой» четвёртой */
}
@media (max-width: 760px) {
  .cases--g5 { grid-template-columns: 1fr; }
  .head--g5 .head__note { white-space: normal; padding-bottom: 0; }
}
@media (max-width: 640px) {
  .revs--g5 { grid-template-columns: 1fr; }
  .revs-head { align-items: flex-start; }
  .revs-head__score { padding-right: 16px; }
  .revs-head__n { font-size: 2.25rem; }
  .revs-head__stars { font-size: var(--fs-caption); letter-spacing: 0.1em; }
  .case--g5, .rev--g5 { padding: 18px 18px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .case--g5, .rev--g5 { transition: none; }
}

/* Компактнее: на телефоне отзывы занимали ~1300px */
.cases--g5 { gap: clamp(12px, 1.4vw, 18px); }
.revs--g5 { gap: clamp(12px, 1.4vw, 18px); }
.rev { padding: clamp(16px, 1.6vw, 20px); }
@media (max-width: 640px) {
  .section--g5 { padding-block: 22px; }
  .rev__txt { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
  .rev { padding: 14px 16px; }
  .case { padding: 16px; }
  .revs-head { gap: 12px; }
}
@media (min-width: 600px) and (max-width: 900px) {
  .revs--g5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ── 60-g6.css ── */
/* ============================================================================
   G6 — эксперт, бизнес, материалы, контакты (правки заказчика от 03.09.2026)
   Дополняет assets/styles.css: только новые классы и модификаторы,
   базовые правила не переписываются. Токены — из :root / .section--choco.
   ========================================================================= */

/* ---------- Эксперт (#expert): фото и регалии рядом, кнопки в строку ---------- */
.xp {
  display: grid;
  grid-template-columns: minmax(200px, 300px) minmax(0, 1fr);
  gap: clamp(24px, 3.5vw, 56px);
  align-items: center;
}
.xp__photo { aspect-ratio: 3 / 4; }
.xp__photo img { object-position: 50% 0; } /* голова всегда в кадре */
.xp__title { max-width: 18ch; }
.xp__role { margin-top: 10px; font-size: var(--fs-small); line-height: 1.5; color: var(--fg-2); max-width: 62ch; }

/* регалии — плотная сетка 2×2 с золотыми штрихами */
.xp__credits {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 clamp(20px, 2.5vw, 36px);
  border-top: 1px solid var(--hair);
}
.xp__credits li {
  padding: 12px 0;
  border-bottom: 1px solid var(--hair);
  font-size: var(--fs-small);
  line-height: 1.5;
  color: var(--fg-2);
}
.xp__credits li::before {
  content: '';
  display: block;
  width: 16px; height: 1px;
  margin-bottom: 8px;
  background: var(--accent);
}
.xp__credits strong { color: var(--fg); font-weight: 700; }
.xp__cta { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px 12px; }

/* ---------- Бизнес (#biznes): фото на всю высоту текста, всё «в корсете» ---------- */
.split--compact { align-items: stretch; }
.split--compact .split__media .figure { height: 100%; min-height: 360px; aspect-ratio: auto; }

.bullets--tight { margin-top: 18px; gap: 10px; }
.bullets--tight li { line-height: 1.5; }

/* направления — три ровные плитки */
.bz__dirs {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.bz__dir {
  padding: 12px 14px;
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  background: rgba(246, 242, 236, 0.05);
  font-size: var(--fs-caption);
  line-height: 1.45;
  color: var(--fg-2);
}
.bz__dir strong { display: block; margin-bottom: 4px; font-size: var(--fs-small); color: var(--fg); }

/* оффер и кнопка в одной плашке */
.bz__offer {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 16px 24px;
  padding: 18px 22px;
}
.bz__offer-txt { flex: 1 1 260px; min-width: 0; }
.bz__offer .offer__val { margin-top: 4px; font-size: var(--fs-small); }
.bz__offer .btn { flex: none; }
.bz__guide { margin-top: 14px; }

/* ---------- Материалы (#analitika): заголовок и лид в строку, дайджест — плашка ---------- */
.mat__head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 12px clamp(24px, 4vw, 64px);
  align-items: end;
}
.mat__lead { max-width: none; padding-bottom: 4px; }
.posts--tight { margin-top: clamp(20px, 2.4vw, 32px); }

.digest {
  margin-top: clamp(24px, 3vw, 40px);
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 16px clamp(24px, 3.5vw, 48px);
  align-items: start;
  padding: clamp(18px, 2.4vw, 28px);
  background: var(--cream);
  border: 1px solid var(--hair);
  border-radius: var(--radius);
}
.digest__t { max-width: 20ch; }
.digest__note { margin-top: 8px; max-width: 46ch; }
.digest__note a { color: var(--accent); }

.digest__row { display: flex; gap: 10px; align-items: stretch; }
.digest__field { flex: 1 1 240px; min-width: 0; margin-top: 0; }
.digest__field input { min-height: 54px; }
.digest__row .btn { flex: none; }

/* согласия — мелко, в две колонки под полем */
.digest__consents {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 20px;
}
.digest__consents .consent { margin-top: 0; gap: 10px; }
.digest .form__status { margin-top: 8px; min-height: 0; }
.digest .form__status:empty { display: none; }

/* ---------- Контакты (#kontakty): плотный список, плашки каналов, карта в рост колонки ---------- */
.ct { align-items: stretch; }
.ct__list { margin-top: 18px; border-top: 1px solid var(--hair); }
.ct__row {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--hair);
  align-items: baseline;
}
.ct__k { font-size: var(--fs-caption); letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-3); }
.ct__v { line-height: 1.45; }
.ct__v a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--hair); }
.ct__v a:hover { border-bottom-color: var(--accent); }
.ct__v--big { font-size: var(--fs-d3); }
.ct__v--big a { border-bottom: 0; }
.ct__hint { font-size: var(--fs-small); color: var(--fg-3); white-space: nowrap; }

/* фирменные плашки каналов: золотой контур, монограмма в кружке, заливка по наведению */
.chans { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.chan {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 5px 16px 5px 5px;
  border: 1px solid rgba(221, 183, 127, 0.55);
  border-radius: var(--radius-btn);
  background: rgba(221, 183, 127, 0.1);
  color: var(--fg);
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background-color var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out),
              color var(--dur-base) var(--ease-out);
}
.chan:hover, .chan:focus-visible { background: var(--gold); border-color: var(--gold); color: var(--choco); }
.chan__ic {
  flex: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: var(--gold);
  color: var(--choco);
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  line-height: 1;
  transition: background-color var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out);
}
.chan:hover .chan__ic, .chan:focus-visible .chan__ic { background: var(--choco); color: var(--gold); }

.ct__actions { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.ct__mkt { color: var(--fg-3); }
.ct__mkt .link { padding-bottom: 1px; }

.ct__map { aspect-ratio: auto; min-height: 320px; }

/* ---------- Адаптив ---------- */
@media (max-width: 1180px) {
  /* в одну колонку фото и карта возвращаются к фиксированной пропорции */
  .split--compact .split__media .figure { height: auto; min-height: 0; aspect-ratio: 16 / 10; }
  .ct__map { aspect-ratio: 16 / 10; min-height: 0; }
}

@media (max-width: 900px) {
  .mat__head, .digest { grid-template-columns: 1fr; }
  .digest__consents { grid-template-columns: 1fr; }
  .ct__row { grid-template-columns: 1fr; gap: 2px; }
}

@media (max-width: 720px) {
  .xp { grid-template-columns: 1fr; gap: 20px; }
  .xp__photo { max-width: 240px; aspect-ratio: 1 / 1; }
  .xp__credits { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .bz__dirs { grid-template-columns: 1fr; gap: 8px; }
  .bz__offer { flex-direction: column; align-items: stretch; }
  .bz__offer .btn, .xp__cta .btn, .ct__actions .btn { width: 100%; }
  .digest__row { flex-direction: column; }
  .digest__row .btn { width: 100%; }
  .ct__hint { white-space: normal; }
}

/* Телефон: в колонке flex-basis превращается в высоту — из-за этого были дыры ~200px */
@media (max-width: 640px) {
  .bz__offer-txt { flex: 1 1 auto; }
  .digest__field { flex: 1 1 auto; }
}

/* ── 90-alive.css ── */
/* ============================================================================
   «Живой и фирменный» — направление после замечания заказчика 07.09.2026:
   «сайт без дизайна, неживой, голый, триггеры не видны, тексты мелкие».
   Опора: сайт-эталон заказчика ek-realestate.ru (фото в каждом блоке, золотые
   линейные иконки, крупные заголовки), Sminex (видео на весь экран, крупный
   дисплейный текст, стрелка в круге), Whitewill (галереи и доказательства).
   Подключается сборкой ПОСЛЕ всех остальных файлов частей — переопределяет.
   Ничего не удаляем; только меняем значения и добавляем.
   ========================================================================= */

/* ---------- Шкала: текст крупнее, второстепенный — не бледный ---------- */
:root {
  --fs-body: clamp(1.0625rem, 1.03rem + 0.15vw, 1.125rem);   /* 17–18 px */
  --fs-small: clamp(0.9375rem, 0.9rem + 0.15vw, 1rem);        /* 15–16 px */
  --fs-caption: 0.875rem;                                     /* 14 px */
  --fs-lead: clamp(1.1875rem, 1.1rem + 0.35vw, 1.3125rem);    /* 19–21 px */
  --fs-h4: clamp(1.125rem, 1.05rem + 0.3vw, 1.3125rem);       /* 18–21 px */
  --fs-d3: clamp(1.5rem, 1.3rem + 0.7vw, 2rem);               /* 24–32 px */
  --fs-d2: clamp(1.9rem, 1.4rem + 1.6vw, 2.75rem);            /* 30–44 px */
  --fs-d1: clamp(2.1rem, 1.55rem + 1.7vw, 2.9rem);            /* 34–46 px: крупно, но не «орёт» */
  --fg-2: rgba(44, 33, 27, 0.8);
  --fg-3: rgba(44, 33, 27, 0.64);
}
.hero--proto { --fg-2: rgba(44, 33, 27, 0.8); --fg-3: rgba(44, 33, 27, 0.64); }
.caption, .eyebrow { letter-spacing: 0.02em; }
.eyebrow { letter-spacing: 0.12em; }

/* ---------- Первый экран: видео на всю ширину, текст на кремовой вуали ---------- */
.hero--alive { min-height: min(78svh, 760px); }
.hero--alive .hero__bg video,
.hero--alive .hero__bg img { filter: none; }
.hero--alive .hero__bg::after {
  background:
    linear-gradient(95deg,
      rgba(246, 242, 236, 0.97) 0%,
      rgba(246, 242, 236, 0.93) 34%,
      rgba(246, 242, 236, 0.62) 50%,
      rgba(246, 242, 236, 0.1) 66%,
      rgba(246, 242, 236, 0) 100%),
    linear-gradient(to bottom, rgba(44, 33, 27, 0.38) 0%, rgba(44, 33, 27, 0) 20%);
}
.hero--alive .hero__col {
  max-width: 720px;
  padding-top: clamp(28px, 3.6vw, 52px);
  padding-bottom: clamp(24px, 3vw, 40px);
}
.hero--alive .top__h1 {
  font-size: var(--fs-d1);
  line-height: 1.06;
  letter-spacing: -0.015em;
  font-weight: 400;
  max-width: 19ch;
}
/* лид без декоративной полосы слева — выделение делает золотая подложка в .top__em */
.hero--alive .top__lead {
  margin-top: 22px;
  padding-left: 0;
  border-left: 0;
  max-width: 46ch;
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: var(--fg-2);
}

/* триггеры — золотые плашки с линейной иконкой (как иконки на сайте-эталоне) */
.top__triggers { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.top__triggers li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px 10px 12px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--gold-deep);
  border-radius: 999px;
  font-size: var(--fs-small);
  font-weight: 600;
  line-height: 1.2;
  color: var(--choco);
  box-shadow: 0 6px 18px rgba(44, 33, 27, 0.08);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.top__triggers svg { flex: none; width: 22px; height: 22px; fill: none; stroke: var(--gold-deep); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.hero--alive .top__cta { margin-top: 24px; gap: 14px; }
.hero--alive .top__cta .btn { min-height: 56px; padding-inline: 30px; font-size: 15px; }

.hero--alive .top__foot { display: flex; align-items: center; gap: 18px; margin-top: clamp(26px, 3vw, 40px); }
.hero--alive .top__badge { margin: 0; }
.hero--alive .top__badge img { height: clamp(96px, 7.6vw, 112px); }
.top__rating { max-width: 24ch; margin: 0; font-size: var(--fs-small); line-height: 1.4; color: var(--fg-2); }
.top__rating b { display: block; margin-bottom: 4px; font-size: 24px; line-height: 1; letter-spacing: -0.01em; color: var(--choco); }
.top__rating b span { color: var(--gold-deep); font-size: 15px; letter-spacing: 0.08em; vertical-align: 2px; }

/* ---------- «Что мы делаем»: фото-плитки вместо белых карточек ---------- */
.branches--alive .branches__h { font-size: var(--fs-d2); }
.branches--alive .btab__t { font-size: clamp(17px, 1.3vw, 20px); }
.branches--alive .branch__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.branches--alive .bcard {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  height: auto;
  border: 0;
  border-radius: 12px;
  overflow: hidden;
  background: var(--choco);
  color: #fff;
  box-shadow: 0 14px 34px rgba(44, 33, 27, 0.16);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.branches--alive .bcard:hover { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(44, 33, 27, 0.22); }
.branches--alive .bcard__media { position: absolute; inset: 0; aspect-ratio: auto; flex: none; min-height: 0; }
.branches--alive .bcard__media img { width: 100%; height: 100%; object-fit: cover; filter: none; opacity: 1; }
/* затемнение только снизу, где текст; верх фото остаётся чистым */
.branches--alive .bcard__media::after {
  content: '';
  position: absolute; inset: 0;
  transform: none;
  background: linear-gradient(to top, rgba(28, 21, 16, 0.94) 0%, rgba(28, 21, 16, 0.6) 36%, rgba(28, 21, 16, 0) 66%);
}
.branches--alive .bcard__body {
  position: absolute; left: 0; right: 0; bottom: 0;
  box-sizing: border-box;
  min-height: 0;
  padding: 18px 18px 20px;
  gap: 6px;
}
.branches--alive .bcard__t {
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.2;
  color: #fff;
  text-decoration: none;
}
.branches--alive .bcard__p { font-size: 14px; line-height: 1.4; color: rgba(255, 255, 255, 0.84); }
/* стрелка в круге, как у Sminex; по наведению — золотая */
.branches--alive .bcard__arrow {
  position: absolute; top: 14px; right: 14px;
  width: 38px; height: 38px;
  margin: 0;
  display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  opacity: 1;
  transform: none;
  transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.branches--alive .bcard__arrow::before { display: none; }
.branches--alive .bcard__arrow::after { content: '\2197'; font-size: 17px; line-height: 1; }
.branches--alive .bcard:hover .bcard__arrow,
.branches--alive .bcard:focus-visible .bcard__arrow { background: var(--gold); border-color: var(--gold); color: var(--choco); opacity: 1; transform: none; }

/* плашки-приглашения — шоколадные с золотым заголовком, в масть плиткам */
.branches--alive .bnote {
  border-radius: 12px;
  border: 0;
  background: var(--choco);
  color: var(--cream);
  padding: 22px;
  box-shadow: 0 14px 34px rgba(44, 33, 27, 0.16);
}
.branches--alive .bnote__t { color: var(--gold); font-size: clamp(17px, 1.35vw, 21px); line-height: 1.2; }
.branches--alive .bnote__p { color: rgba(246, 242, 236, 0.82); font-size: 15px; }
.branches--alive .bnote .btn--dark { background: var(--gold); color: var(--choco); border-color: var(--gold); }

@media (max-width: 1100px) {
  .branches--alive .branch__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hero--alive .hero__bg::after {
    background: linear-gradient(to bottom, rgba(246, 242, 236, 0.97) 0%, rgba(246, 242, 236, 0.92) 55%, rgba(246, 242, 236, 0.7) 100%);
  }
  .branches--alive .branch__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .branches--alive .bcard { aspect-ratio: 4 / 3; }
}
@media (max-width: 640px) {
  .hero--alive { min-height: 0; }
  .top__triggers li { width: 100%; }
  .hero--alive .top__cta .btn { width: 100%; }
  .hero--alive .top__foot { gap: 14px; }
  .branches--alive .branch__grid { gap: 10px; }
  .branches--alive .bcard { aspect-ratio: 1; flex-direction: column; min-height: 0; }
  .branches--alive .bcard__body { padding: 12px 12px 14px; }
  .branches--alive .bcard__t { font-size: 16px; }
  .branches--alive .bcard__p { display: none; }
  .branches--alive .bcard__arrow { width: 32px; height: 32px; top: 10px; right: 10px; }
}

/* ---------- «Что мы делаем»: вкладки строкой сверху, плитки на всю ширину ----------
   В левой колонке плитки получались 160px шириной — текст не помещался.
   Теперь заголовок и переключатель стоят в одну строку, а ряд из пяти плиток
   занимает всю ширину контейнера (~215×290 px на 1440). */
.branches--alive { display: block; }
.branches--alive .branches__aside {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 16px 32px; margin-bottom: clamp(18px, 2vw, 26px);
}
.branches--alive .branches__h { margin: 0; max-width: none; }
.branches--alive .branches__nav { display: flex; flex-wrap: wrap; gap: 8px; }
.branches--alive .btab {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--hair);
  border-radius: 999px;
  background: transparent;
  color: var(--fg-2);
}
.branches--alive .btab:hover { padding-left: 18px; color: var(--choco); border-color: var(--gold-deep); }
.branches--alive .btab[aria-selected="true"] { background: var(--choco); border-color: var(--choco); color: var(--cream); }
.branches--alive .btab[aria-selected="true"] b { color: var(--gold); }
.branches--alive .btab__t { font-size: 15px; line-height: 1.2; }
.branches--alive .btab__chev { display: none; }
.branches--alive .branches__stage { width: 100%; }
.branches--alive .branch__t { display: none; } /* заголовок вкладки дублирует кнопку */
.branches--alive .branch__grid { gap: 14px; }
.branches--alive .bcard__body { padding: 18px 18px 20px; }
.branches--alive .bcard__p { -webkit-line-clamp: 3; }
@media (max-width: 900px) {
  .branches--alive .branches__aside { display: grid; }
  .branches--alive .branches__nav { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .branches--alive .btab { white-space: nowrap; }
}

/* вкладки — компактные пилюли в одну линию, а не на всю ширину */
.branches--alive .btab { width: auto; flex: 0 0 auto; min-height: 0; }
.branches--alive .btab__t { flex: none; }

/* ── 95-power.css ── */
/* ============================================================================
   Правки заказчика 23.09.2026 — «мощный» дизайн преимуществ, текст крупнее,
   шапка и подвал светлые.
   Замечания дословно: «цвет вверху и внизу нужно сделать светлее», «размер
   шрифта как на ekuznecova.ru», «преимущества нужно выделить так, чтобы они
   выделялись», «это выглядит как просто текст», «добавь что-то ОЧЕНЬ МОЩНОЕ
   по дизайну, чтобы выделялись преимущества, и текст ещё больше», «вот такой
   цвет не нравится» (тёмно-коричневые контакты и подвал).
   Подключается сборкой ПОСЛЕ 90-alive.css — переопределяет, ничего не удаляет.
   Приём: преимущества живут на золотых «досках» с белыми плашками и крупными
   знаками, этапы — золотые номера-медальоны, первый экран — те же доски.
   ========================================================================= */

/* ---------- Шкала: ещё крупнее (тело 18–19, лид 20–24, заголовки 34–52) ---------- */
:root {
  --fs-body: clamp(1.125rem, 1.08rem + 0.2vw, 1.1875rem);    /* 18–19 px */
  --fs-small: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);        /* 16–17 px */
  --fs-caption: 0.9375rem;                                    /* 15 px */
  --fs-lead: clamp(1.25rem, 1.15rem + 0.45vw, 1.5rem);        /* 20–24 px */
  --fs-h4: clamp(1.1875rem, 1.1rem + 0.4vw, 1.4375rem);       /* 19–23 px */
  --fs-d3: clamp(1.625rem, 1.35rem + 1vw, 2.25rem);           /* 26–36 px */
  --fs-d2: clamp(2.125rem, 1.5rem + 2vw, 3.25rem);            /* 34–52 px */
  --fs-d1: clamp(2.5rem, 1.9rem + 1.9vw, 3.375rem);           /* 40–54 px */
  --gold-board: linear-gradient(135deg, #f5e9d3 0%, #ead5ad 55%, #dfc08d 100%);
  --gold-shadow: 0 16px 38px rgba(196, 154, 94, 0.28);
}

/* ---------- Светлая шапка: кремовая подложка, коричневый логотип крупнее ---------- */
.hdr {
  --bg: var(--cream); --surface: #fff; --fg: var(--choco);
  --fg-2: rgba(44, 33, 27, 0.8); --fg-3: rgba(44, 33, 27, 0.64);
  --hair: rgba(44, 33, 27, 0.14); --edge: rgba(44, 33, 27, 0.44);
  --accent: var(--gold-deep); --ring: var(--gold-deep);
  color: var(--choco);
  background: rgba(246, 242, 236, 0.97);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(44, 33, 27, 0.08);
}
.hdr::before { display: none; }
.hdr.is-stuck { background: rgba(246, 242, 236, 0.97); }
.hdr .logo img { width: clamp(230px, 22vw, 320px); }
.hdr__nav { border-top-color: rgba(44, 33, 27, 0.1); border-bottom-color: rgba(44, 33, 27, 0.1); }
.hdr.is-stuck .hdr__nav { border-top-color: rgba(44, 33, 27, 0.1); }
.navlink { color: var(--choco); font-size: var(--fs-caption); }
.navlink:hover, .navlink.is-active { color: var(--gold-deep); }
/* Пара ссылок «Об агентстве / Статьи автора» у логотипа: на тёмной шапке была
   почти незаметной, на светлой стала бросаться в глаза — заказчик: «так точно
   не было». Убираем; оба раздела остаются в подвале и по прокрутке. */
.hdr__toplinks { display: none; }
.hdr__phone { color: var(--choco); font-size: var(--fs-lead); }
.hdr__phone:hover { color: var(--gold-deep); }
.burger span, .burger span::before, .burger span::after { background: var(--choco); }
/* шапка стала непрозрачной — тёмная полоса под ней на первом экране больше не нужна */
.hero--alive .hero__bg::after {
  background: linear-gradient(95deg,
    rgba(246, 242, 236, 0.96) 0%,
    rgba(246, 242, 236, 0.93) 24%,
    rgba(246, 242, 236, 0.72) 40%,
    rgba(246, 242, 236, 0.32) 52%,
    rgba(246, 242, 236, 0.06) 62%,
    rgba(246, 242, 236, 0) 70%);
}
/* заказчик: «картинка слишком затуманена» — вуаль уже, видео сочнее, текст с лёгкой светлой тенью */
.hero--alive .hero__bg video { filter: saturate(1.12) contrast(1.05); }
.hero--alive .top__h1, .hero--alive .top__lead { text-shadow: 0 1px 0 rgba(246, 242, 236, 0.75), 0 0 18px rgba(246, 242, 236, 0.55); }

/* ---------- Первый экран: заголовок крупнее, триггеры — золотые доски ---------- */
.hero--alive .top__h1 { font-size: clamp(2.375rem, 1.8rem + 1.7vw, 3.125rem); max-width: 24ch; line-height: 1.06; }
.hero--alive .top__lead { font-size: var(--fs-lead); max-width: 44ch; }
/* три доски одной ширины столбиком — ровная колонна читается как список выгод */
.top__triggers { display: grid; gap: 10px; margin-top: 28px; max-width: 540px; }
.top__triggers li {
  width: 100%;
  gap: 14px;
  padding: 14px 24px 14px 14px;
  background: var(--gold-board);
  border: 1px solid var(--gold-deep);
  border-radius: 14px;
  font-size: clamp(17px, 1.3vw, 20px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--choco);
  box-shadow: var(--gold-shadow);
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
.top__triggers svg {
  width: 40px; height: 40px; padding: 8px;
  background: #fff; border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--gold-deep);
  stroke: var(--choco); stroke-width: 1.8;
}
.hero--alive .top__cta .btn { min-height: 60px; padding-inline: 34px; font-size: 16px; }
.top__rating { font-size: var(--fs-small); }
.top__rating b { font-size: 28px; }

/* ---------- Разделы практики: «С нами вы получаете» — золотая доска ---------- */
.prod__block { margin-top: 24px; }
.prod__label {
  font-size: var(--fs-d3);
  font-weight: 400;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--choco);
  gap: 16px;
}
.prod__label::after { height: 2px; background: var(--gold-deep); opacity: 0.55; }
.prod__pts { margin-top: 18px; gap: 10px; }
.prod__pts li { font-size: var(--fs-body); color: var(--choco); padding-left: 26px; }
.prod__pts li::before { width: 14px; height: 2px; top: 0.75em; }
.prod__fee { margin-top: 18px; padding: 14px 18px; font-size: var(--fs-small); border-width: 1px; box-shadow: 0 8px 22px rgba(196, 154, 94, 0.16); }
.prod__fee-l { font-size: 13px; }
.prod__fee span { font-weight: 600; }

.prod__gains {
  gap: 12px;
  margin-top: 16px;
  padding: 14px;
  border-radius: 18px;
  background: var(--gold-board);
  border: 1px solid var(--gold-deep);
  box-shadow: var(--gold-shadow);
}
.prod__gains li {
  padding: 16px 18px 16px 66px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.86);
  font-size: clamp(16px, 1.2vw, 18px);
  font-weight: 600;
  line-height: 1.35;
  color: var(--choco);
  box-shadow: 0 2px 10px rgba(44, 33, 27, 0.06);
  display: flex; align-items: center; min-height: 72px;
}
.prod__gains li::before {
  content: '';
  left: 16px; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--gold-deep) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232c211b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E") center / 18px no-repeat;
  box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--gold-deep);
}

/* ---------- Этапы покупки: номера-медальоны ---------- */
.prod__steps { gap: 16px 18px; margin-top: 16px; }
.prod__steps li { position: relative; padding: 2px 0 0 54px; border-top: 0; min-height: 44px; }
.prod__steps b {
  position: absolute; left: 0; top: 0;
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--gold-board);
  color: var(--choco);
  font-size: 15px; font-weight: 700;
  border: 1px solid var(--gold-deep);
  box-shadow: 0 6px 14px rgba(196, 154, 94, 0.3);
}
.prod__steps span {
  margin-top: 0;
  font-size: clamp(15px, 1.1vw, 17px);
  font-weight: 600;
  line-height: 1.35;
  color: var(--choco);
}
.prod__cta { margin-top: 26px; }

/* ---------- Контакты и подвал: светлые (тёмно-коричневый заказчику не нравится) ---------- */
#kontakty.section--choco, .foot {
  --bg: var(--sand); --surface: #fff; --fg: var(--choco);
  --fg-2: rgba(44, 33, 27, 0.8); --fg-3: rgba(44, 33, 27, 0.64);
  --hair: rgba(44, 33, 27, 0.14); --edge: rgba(44, 33, 27, 0.44);
  --accent: var(--gold-deep); --ring: var(--gold-deep);
  --hl-bg: rgba(221, 183, 127, 0.35);
  color: var(--choco);
}
#kontakty.section--choco { background: var(--sand); }
#kontakty .ct__k { color: var(--fg-3); }
#kontakty .ct__v a { color: var(--choco); }
#kontakty .ct__hint, #kontakty .ct__mkt { color: var(--fg-3); }
#kontakty .ct__mkt .link { color: var(--brown-text); }
.chan { background: #fff; border-color: var(--gold-deep); color: var(--choco); }
.chan__ic { background: var(--gold); color: var(--choco); }
.chan:hover, .chan:focus-visible { background: var(--gold-soft); border-color: var(--gold-deep); color: var(--choco); }
.chan:hover .chan__ic, .chan:focus-visible .chan__ic { background: var(--choco); color: var(--gold); }
#kontakty .ct__map { border: 1px solid rgba(44, 33, 27, 0.12); }

.foot { background: var(--cream); border-top: 1px solid rgba(44, 33, 27, 0.1); }
.foot__req { color: rgba(44, 33, 27, 0.66); }
.foot__links a { color: var(--choco); font-size: var(--fs-small); }
.foot__links a:hover { color: var(--gold-deep); }
.foot__bottom { border-top-color: rgba(44, 33, 27, 0.12); color: rgba(44, 33, 27, 0.66); }
.foot__tel { color: var(--choco); }

/* ---------- Раздел «Бизнес»: тоже светлый, направления — на золотой доске ----------
   Заказчик: «вот такой цвет не нравится» про тёмно-коричневые контакты и подвал;
   единственная оставшаяся тёмная секция — эта, приводим к общему светлому строю. */
#biznes.section--choco {
  --bg: var(--sand); --surface: #fff; --fg: var(--choco);
  --fg-2: rgba(44, 33, 27, 0.8); --fg-3: rgba(44, 33, 27, 0.64);
  --hair: rgba(44, 33, 27, 0.14); --edge: rgba(44, 33, 27, 0.44);
  --accent: var(--gold-deep); --ring: var(--gold-deep);
  --hl-bg: rgba(221, 183, 127, 0.35);
  background: var(--sand);
  color: var(--choco);
}
#biznes .bullets li, #biznes .bullets strong { color: var(--choco); }
#biznes .bz__dirs {
  gap: 10px; padding: 12px; border-radius: 16px;
  background: var(--gold-board);
  border: 1px solid var(--gold-deep);
  box-shadow: var(--gold-shadow);
}
#biznes .bz__dir {
  background: rgba(255, 255, 255, 0.86);
  border: 0; border-radius: 12px;
  box-shadow: 0 2px 10px rgba(44, 33, 27, 0.06);
}
#biznes .bz__dir strong { color: var(--choco); font-size: var(--fs-h4); }
#biznes .bz__dir span { color: var(--fg-2); font-size: var(--fs-small); }
#biznes .offer { background: var(--gold-soft); color: var(--choco); border-color: var(--gold-deep); }
#biznes .offer__label { color: var(--brown-text); }
#biznes .offer__val { color: var(--choco); }
#biznes .bz__guide .link { color: var(--brown-text); }

/* ---------- Адаптив ---------- */
@media (max-width: 1100px) {
  .hdr .logo img { width: clamp(190px, 24vw, 240px); }
}
@media (max-width: 900px) {
  .prod__steps { gap: 12px 14px; }
}
@media (max-width: 640px) {
  .top__triggers li { padding: 12px 16px 12px 12px; font-size: 16px; }
  .top__triggers svg { width: 34px; height: 34px; padding: 7px; }
  .prod__gains { padding: 10px; gap: 8px; }
  .prod__gains li { padding: 12px 14px 12px 58px; min-height: 60px; font-size: 16px; }
  .prod__gains li::before { left: 12px; width: 32px; height: 32px; background-size: 16px; }
  .prod__steps li { padding-left: 48px; }
  .prod__steps b { width: 38px; height: 38px; font-size: 14px; }
}

/* ---------- Широкие мониторы (≥1600px): контейнер шире, база шрифта крупнее ----------
   Заказчик на 1920px: «почему слева такой отступ большой?» — контейнер 1240px оставлял
   по 340px пустоты с каждой стороны. */
@media (min-width: 1600px) {
  :root { --container: 1560px; --pad-x: 48px; }
  html { font-size: 106.25%; }   /* 17px база: все rem-размеры вырастают на ~6% */
}

/* ---------- Иконки преимуществ: отрисованы в Higgsfield (матовое золото) ----------
   Заказчик: «галки везде прикольно, но мы в состоянии отрисовать качественные
   иконки везде — премиальный сайт». Файлы /img/icons/*.webp (176px),
   отдаются воркером с /img/icons/. Кружок белый с золотым кольцом, картинка
   заполняет круг (object-fit: cover через background-size). */
.prod__gains li { padding-left: 84px; min-height: 76px; }
.prod__gains li::before {
  left: 14px; width: 54px; height: 54px;
  background-color: #fff; background-size: cover; background-position: center;
  box-shadow: 0 0 0 1px var(--gold-deep), 0 6px 14px rgba(196, 154, 94, 0.25);
}
.prod__gains li[data-ico="key-house"]::before, #biznes .bz__dir[data-ico="key-house"]::before { background-image: url("/img/icons/key-house.webp"); }
.prod__gains li[data-ico="tag-percent"]::before, #biznes .bz__dir[data-ico="tag-percent"]::before { background-image: url("/img/icons/tag-percent.webp"); }
.prod__gains li[data-ico="diamond-search"]::before, #biznes .bz__dir[data-ico="diamond-search"]::before { background-image: url("/img/icons/diamond-search.webp"); }
.prod__gains li[data-ico="vault"]::before, #biznes .bz__dir[data-ico="vault"]::before { background-image: url("/img/icons/vault.webp"); }
.prod__gains li[data-ico="stopwatch"]::before, #biznes .bz__dir[data-ico="stopwatch"]::before { background-image: url("/img/icons/stopwatch.webp"); }
.prod__gains li[data-ico="shield-scales"]::before, #biznes .bz__dir[data-ico="shield-scales"]::before { background-image: url("/img/icons/shield-scales.webp"); }
.prod__gains li[data-ico="staging"]::before, #biznes .bz__dir[data-ico="staging"]::before { background-image: url("/img/icons/staging.webp"); }
.prod__gains li[data-ico="coins-growth"]::before, #biznes .bz__dir[data-ico="coins-growth"]::before { background-image: url("/img/icons/coins-growth.webp"); }
.prod__gains li[data-ico="helmet-blueprint"]::before, #biznes .bz__dir[data-ico="helmet-blueprint"]::before { background-image: url("/img/icons/helmet-blueprint.webp"); }
.prod__gains li[data-ico="handshake"]::before, #biznes .bz__dir[data-ico="handshake"]::before { background-image: url("/img/icons/handshake.webp"); }
.prod__gains li[data-ico="gift-checklist"]::before, #biznes .bz__dir[data-ico="gift-checklist"]::before { background-image: url("/img/icons/gift-checklist.webp"); }
.prod__gains li[data-ico="briefcase"]::before, #biznes .bz__dir[data-ico="briefcase"]::before { background-image: url("/img/icons/briefcase.webp"); }
.prod__gains li[data-ico="pie-share"]::before, #biznes .bz__dir[data-ico="pie-share"]::before { background-image: url("/img/icons/pie-share.webp"); }
.prod__gains li[data-ico="exit-chart"]::before, #biznes .bz__dir[data-ico="exit-chart"]::before { background-image: url("/img/icons/exit-chart.webp"); }
.prod__gains li[data-ico="building-rent"]::before, #biznes .bz__dir[data-ico="building-rent"]::before { background-image: url("/img/icons/building-rent.webp"); }
.top__ico { flex: none; width: 54px; height: 54px; border-radius: 50%; object-fit: cover; background: #fff; box-shadow: 0 0 0 1px var(--gold-deep); }
#biznes .bz__dir { position: relative; padding-top: 74px; }
#biznes .bz__dir::before {
  content: ''; position: absolute; left: 14px; top: 12px; width: 50px; height: 50px; border-radius: 50%;
  background: #fff center / cover no-repeat; box-shadow: 0 0 0 1px var(--gold-deep), 0 6px 14px rgba(196, 154, 94, 0.25);
}
@media (max-width: 640px) {
  .prod__gains li { padding-left: 72px; min-height: 64px; }
  .prod__gains li::before { left: 12px; width: 46px; height: 46px; }
  .top__ico { width: 42px; height: 42px; }
}

/* ---------- Правки по итогам проверки 23.09 ----------
   1) «С нами вы получаете» в три колонки (Вторичка, Коммерческая) — при крупном
   шрифте длинные пункты вылезали за плитку: две колонки и перенос длинных слов. */
.prod__gains--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.prod__gains li { min-width: 0; overflow-wrap: anywhere; }
/* 2) Карта Яндекса у части посетителей не грузится — под iframe подпись с адресом. */
#kontakty .ct__map { position: relative; background: var(--gold-soft); }
#kontakty .ct__map::before {
  content: 'Москва, 4-я улица 8 Марта, 6А — карта откроется в Яндекс Картах';
  position: absolute; inset: 0; z-index: 0; display: grid; place-items: center;
  padding: 24px; text-align: center; font-size: var(--fs-small); color: var(--brown-text);
}
#kontakty .ct__map iframe { position: relative; z-index: 1; }
/* 3) «Что мы делаем»: в направлении alive строка заголовка и вкладок стоит над плитками
   на всю ширину — липкой (sticky) ей быть нельзя: без подложки она наезжала на фото. */
.branches--alive.is-ready .branches__aside { position: static; }

/* ---------- Проверка 23.09, вторая волна ----------
   1) «С нами вы получаете» --3: на телефоне одна колонка (общее правило 2 колонок
      перебивало старую мобильную ветку 40-g4). */
@media (max-width: 640px) { .prod__gains--3 { grid-template-columns: minmax(0, 1fr); } }
/* 2) «Что мы делаем» на телефоне: пилюли переносятся, а не режутся краем контейнера;
      последняя нечётная плитка — на всю ширину, а не сирота на полширины. */
@media (max-width: 900px) {
  .branches--alive .branches__nav { flex-wrap: wrap; overflow: visible; }
  .branches--alive .btab { white-space: normal; }
  .branches--alive .bcard:last-child:nth-child(odd) { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
}
/* 3) Подписи на плитках «Что мы делаем»: затемнение снизу на всю высоту (в базе
      ::after был полоской 2px), подпись крупнее и белее. */
.branches--alive .bcard__media::after {
  height: auto; width: auto; transform: none;
  background: linear-gradient(to top, rgba(28, 21, 16, 0.94) 0%, rgba(28, 21, 16, 0.7) 36%, rgba(28, 21, 16, 0.25) 66%, rgba(28, 21, 16, 0) 100%);
}
.branches--alive .bcard__p { font-size: 15px; color: rgba(255, 255, 255, 0.94); }
/* 4) Подвал: ссылки не растягиваются на высоту самой длинной колонки. */
.foot__links { align-content: start; }
/* 5) Подписи характеристик в «Топ предложений» чуть крупнее. */
.lot__spec dt { font-size: 12.5px; }
/* Чипы условий: все преимущества равны — без выделения заливкой (заказчик 23.09) */
.chip--gold { background: var(--cream); border-color: var(--hair); color: var(--choco); font-weight: 500; }

/* ---------- Мягкий тёмный (заказчик 23.09: «везде где чёрный — сделать мягче») ----------
   Вместо шоколада #2c211b — тёплое какао #6f5740 (контраст с кремовым текстом 6.4:1). */
/* Единый цвет вместо чёрного — фирменный коричневый из брендбука (тот, что был на наведении):
   заказчик: «коричневенький при наведении нравится, чёрный — нет, нужен единый цвет везде». */
:root { --soft: var(--brown); --soft-2: #927a5c; --soft-grad: linear-gradient(135deg, #8f7656 0%, #76603f 100%); }
.btn--dark { --btn-bg: var(--soft); --btn-edge: var(--soft); --btn-fg: var(--cream); }
.btn--dark:hover, .btn--dark:focus-visible { --btn-bg: var(--soft-2); --btn-edge: var(--soft-2); }
.branches--alive .btab[aria-selected="true"] { background: var(--soft); border-color: var(--soft); }
.branches--alive .bnote { background: var(--soft-grad); }
.ph__badge { background: var(--soft); }
.lot__count, .prod__hint, .cstrip__info, .cstrip__arr { background: rgba(129, 104, 74, 0.88); }
.prod__photo:focus-visible .prod__hint, .cstrip__arr:hover { background: var(--soft); }
.gal__close, .gal__nav { background: rgba(129, 104, 74, 0.75); }
.gal__close:hover, .gal__nav:hover { background: rgba(129, 104, 74, 0.96); }
.branches--alive .bcard__media::after {
  background: linear-gradient(to top, rgba(84, 66, 46, 0.94) 0%, rgba(84, 66, 46, 0.7) 36%, rgba(84, 66, 46, 0.25) 66%, rgba(84, 66, 46, 0) 100%);
}
/* мобильное меню и модальные окна — светлые, как остальной сайт */
.mnav, .modal__panel {
  --bg: var(--cream); --surface: #fff; --fg: var(--choco);
  --fg-2: rgba(44, 33, 27, 0.8); --fg-3: rgba(44, 33, 27, 0.64);
  --hair: rgba(44, 33, 27, 0.14); --edge: rgba(44, 33, 27, 0.44);
  --accent: var(--gold-deep); --ring: var(--gold-deep);
  background: var(--cream); color: var(--choco);
}
.modal__panel { border-color: rgba(44, 33, 27, 0.12); box-shadow: 0 30px 80px rgba(44, 33, 27, 0.3); }
.mnav__list, .mnav__list a { border-color: rgba(44, 33, 27, 0.14); }
.mnav__list a, .mnav__name { color: var(--choco); }
.mnav__idx { color: var(--gold-deep); }
.modal__close { color: var(--choco); border-color: rgba(44, 33, 27, 0.3); }

/* ---------- Объём у чипов и пилюль (заказчик 23.09: «кнопкам в кружочках добавить объём везде») ---------- */
.chip, .chip--gold, .chip--gift,
.branches--alive .btab:not([aria-selected="true"]) {
  background: linear-gradient(180deg, #ffffff 0%, #f2eadc 100%);
  border: 1px solid rgba(196, 154, 94, 0.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 4px 10px rgba(44, 33, 27, 0.1), 0 1px 2px rgba(44, 33, 27, 0.08);
  color: var(--choco);
}
.branches--alive .btab[aria-selected="true"] {
  background: linear-gradient(180deg, #927a5c 0%, #74593f 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 6px 14px rgba(44, 33, 27, 0.22);
}
.btn--dark {
  background: linear-gradient(180deg, #927a5c 0%, #74593f 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 8px 18px rgba(44, 33, 27, 0.2);
}
.btn--dark:hover, .btn--dark:focus-visible { background: linear-gradient(180deg, #9d856a 0%, #7f6449 100%); }

/* ── 97-pravki-0910.css ── */
/* ============================================================================
   Правки Татьяны 06–07.10.2026 (см. _parts/SPEC-0910.md).
   Подключается сборкой ПОСЛЕ 95-power.css — переопределяет, ничего не удаляет.
   Общие стили форм и модалок действуют и на промо: оно тоже грузит styles.css.
   ========================================================================= */

/* ---------- Основной, п.1: логотип крупнее, заголовок первого экрана шире ---------- */
:root { --hdr-top: 100px; }
.hdr .logo img { width: clamp(260px, 26vw, 380px); }
@media (max-width: 1100px) {
  :root { --hdr-top: 84px; }
  .hdr .logo img { width: clamp(210px, 30vw, 280px); }
}
@media (max-width: 640px) {
  :root { --hdr-top: 72px; }
  .hdr .logo img { width: 210px; }
}

.hero--alive .hero__col { max-width: 980px; }
.hero--alive .top__h1 { max-width: 37ch; }
.hero--alive .top__lead { max-width: 56ch; }
.hero--alive .top__foot { margin-top: clamp(28px, 3vw, 44px); }
/* плашки и кнопки убраны — экран по высоте содержимого, без пустоты под рейтингом */
.hero--alive { min-height: 0; }
.hero--alive .hero__col { padding-bottom: clamp(36px, 4vw, 60px); }
/* текст стал шире — вуаль держит его на всю длину строк, правая часть кадра чистая */
.hero--alive .hero__bg::after {
  background: linear-gradient(95deg,
    rgba(246, 242, 236, 0.96) 0%,
    rgba(246, 242, 236, 0.92) 34%,
    rgba(246, 242, 236, 0.78) 52%,
    rgba(246, 242, 236, 0.42) 64%,
    rgba(246, 242, 236, 0.1) 74%,
    rgba(246, 242, 236, 0) 82%);
}
@media (max-width: 900px) {
  .hero--alive .hero__bg::after {
    background: linear-gradient(to bottom, rgba(246, 242, 236, 0.96) 0%, rgba(246, 242, 236, 0.9) 60%, rgba(246, 242, 236, 0.72) 100%);
  }
}

/* ---------- Основной, п.2: вкладки — продолжение заголовка ----------
   Не пилюли, а строка крупного текста под «Что мы делаем»: активная — шоколадом
   с золотым подчёркиванием, остальные — коричневым с пунктиром (видно, что
   нажимаются). Между ними — золотая точка. */
#praktika .branches__aside { display: block; margin-bottom: clamp(20px, 2.2vw, 30px); }
#praktika .branches__nav {
  display: flex; flex-wrap: wrap; align-items: baseline;
  gap: 6px 34px; margin-top: 12px; padding: 0; border: 0; overflow: visible; position: static;
}
#praktika .btab,
#praktika .btab:not([aria-selected="true"]),
#praktika .btab[aria-selected="true"] {
  position: relative;
  display: inline-flex; align-items: baseline;
  padding: 2px 0 6px;
  border: 0; border-bottom: 2px solid transparent; border-radius: 0;
  background: none; box-shadow: none;
  color: var(--brown-text);
  white-space: normal;
  width: auto; min-height: 0; margin: 0;
}
.branches--alive .btab__t { font-size: clamp(22px, 2.1vw, 30px); line-height: 1.15; letter-spacing: -0.005em; }
.branches--alive .btab b { font-weight: 400; color: inherit; }
.branches--alive .btab:not([aria-selected="true"]) .btab__t {
  text-decoration: underline dashed rgba(129, 104, 74, 0.55);
  text-decoration-thickness: 1px; text-underline-offset: 7px;
}
#praktika .btab:hover { padding-left: 0; color: var(--choco); }
#praktika .btab[aria-selected="true"] { color: var(--choco); border-bottom-color: var(--gold-deep); }
.branches--alive .btab[aria-selected="true"] b { color: var(--choco); }
.branches--alive .btab + .btab::before {
  content: ''; position: absolute; left: -20px; top: 50%;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold-deep); transform: translateY(-50%);
}
.branches--alive .btab:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 4px; }
@media (max-width: 900px) {
  #praktika .branches__nav { gap: 4px 26px; }
  .branches--alive .btab__t { font-size: clamp(19px, 5vw, 24px); }
  .branches--alive .btab + .btab::before { display: none; }
}

/* ---------- Основной, п.3–5: кнопка гайда и подпись «Кейсы клиентов» ---------- */
.prod__guide { font-weight: 600; }

/* ---------- Основной, п.6: «Бизнес» — плитки компактно под заголовком, фразы крупно ---------- */
#biznes .bz__dirs { margin-top: 18px; padding: 8px; gap: 8px; }
#biznes .bz__dir { position: relative; padding: 12px 14px 12px 64px; min-height: 0; display: grid; align-content: center; }
#biznes .bz__dir::before { left: 12px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; }
#biznes .bz__dir strong { margin-bottom: 2px; font-size: var(--fs-small); line-height: 1.25; }
#biznes .bz__dir span { font-size: 13px; line-height: 1.35; }
#biznes .bz__pts { margin-top: 20px; display: grid; gap: 10px; }
#biznes .bz__pts li {
  position: relative;
  padding: 14px 18px 14px 46px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(196, 154, 94, 0.4);
  border-radius: 12px;
  font-size: var(--fs-lead);
  line-height: 1.4;
  color: var(--choco);
  box-shadow: 0 6px 16px rgba(196, 154, 94, 0.12);
}
#biznes .bz__pts li::before {
  left: 20px; top: 1.15em;
  width: 9px; height: 9px;
  background: var(--gold-deep);
  transform: rotate(45deg);
}
#biznes .bz__pts strong { color: var(--brown-text); }
@media (max-width: 640px) {
  #biznes .bz__pts li { padding: 12px 14px 12px 38px; font-size: var(--fs-body); }
  #biznes .bz__pts li::before { left: 15px; }
}

/* ---------- Основной, п.7: Елена — фото крупнее, регалии с золотыми ромбами ---------- */
.xp { grid-template-columns: minmax(240px, 380px) minmax(0, 1fr); align-items: start; }
.xp__title { max-width: none; }
.xp__role { margin-top: 12px; max-width: none; font-size: var(--fs-lead); line-height: 1.35; color: var(--brown-text); }
.xp__credits { margin-top: 22px; gap: 0 clamp(22px, 2.6vw, 40px); }
.xp__credits li {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 13px 0;
  font-size: var(--fs-small); line-height: 1.5; color: var(--choco);
}
.xp__credits li::before {
  flex: none; display: block;
  width: 9px; height: 9px; margin: 0.5em 0 0;
  background: var(--gold-deep);
  transform: rotate(45deg);
}
@media (max-width: 900px) {
  .xp { grid-template-columns: 1fr; }
  .xp__photo { max-width: 320px; aspect-ratio: 4 / 5; }
}

/* ---------- Основной, п.10 и промо, п.10: плашки каналов — матовые, рамка замкнута ---------- */
.chan,
.chans .chan {
  background: linear-gradient(180deg, #faf5ec 0%, #efe4d2 100%);
  border: 1px solid var(--gold-deep);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75), 0 3px 8px rgba(44, 33, 27, 0.08);
  color: var(--choco);
  overflow: visible;
}
.chan:hover, .chan:focus-visible,
.chans .chan:hover, .chans .chan:focus-visible { background: linear-gradient(180deg, #f5e9d3 0%, #e8d3ad 100%); border-color: var(--gold-deep); }

/* ---------- Формы обоих сайтов: обязательные поля и завершённый вид ---------- */
.field:has(> input[required]) .field__label::after,
.field:has(> textarea[required]) .field__label::after,
.consent:has(> input[required]) .consent__txt::after {
  content: '\00a0*';
  color: var(--gold-deep);
  font-weight: 700;
}
.form__note { margin-top: 12px; font-size: 13px; line-height: 1.4; color: var(--fg-3); }
.form__status.is-ok { color: var(--choco); }
.form__status.is-err { color: #9b3d2c; }

form.is-sent > :not(.form__done) { display: none !important; }
.form__done {
  display: grid; justify-items: center; gap: 8px;
  padding: clamp(18px, 3vw, 32px) 8px;
  text-align: center;
}
.form__done-ico {
  width: 64px; height: 64px; border-radius: 50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232c211b' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E") center / 28px no-repeat,
              linear-gradient(135deg, #f5e9d3 0%, #ead5ad 55%, #dfc08d 100%);
  border: 1px solid var(--gold-deep);
  box-shadow: 0 10px 24px rgba(196, 154, 94, 0.3);
}
.form__done-t { margin-top: 6px; font-size: var(--fs-d3); line-height: 1.15; color: var(--choco); }
.form__done-p { max-width: 36ch; font-size: var(--fs-body); line-height: 1.5; color: var(--fg-2); }
.modal__panel.is-sent > h2,
.modal__panel.is-sent > .eyebrow,
.modal__panel.is-sent > .modal__lead { display: none; }

/* ---------- Модальное окно заявки: целиком в экране, без прокрутки ---------- */
.modal:not(.modal--quiz) {
  display: flex; align-items: center; justify-content: center;
  padding: 16px; overflow-y: auto;
}
.modal:not(.modal--quiz)[hidden] { display: none !important; }
.modal:not(.modal--quiz) .modal__panel {
  width: 100%; max-width: 560px;
  margin: auto;
  max-height: none; overflow: visible;
  padding: clamp(22px, 2.6vw, 30px) clamp(20px, 2.6vw, 32px) clamp(20px, 2.4vw, 26px);
}
.modal:not(.modal--quiz) .modal__close { top: 12px; right: 12px; width: 40px; height: 40px; }
.modal:not(.modal--quiz) .d3 { margin: 0; padding-right: 48px; }
.modal__lead { margin-top: 8px; font-size: var(--fs-small); line-height: 1.45; color: var(--fg-2); }
.modal:not(.modal--quiz) .field { margin-top: 12px; }
.modal:not(.modal--quiz) .field__label { margin-bottom: 6px; }
.modal:not(.modal--quiz) .field input { min-height: 46px; padding: 10px 14px; }
.modal:not(.modal--quiz) .field textarea { min-height: 66px; padding: 10px 14px; }
.modal:not(.modal--quiz) .consent { margin-top: 10px; gap: 10px; }
.modal:not(.modal--quiz) .consent__txt { font-size: 13px; line-height: 1.4; }
.modal:not(.modal--quiz) .form__note { margin-top: 10px; }
.form__send { margin-top: 14px; }
.modal:not(.modal--quiz) .form__status { margin-top: 8px; min-height: 0; }
.modal:not(.modal--quiz) .form__status:empty { display: none; }
.form__call { margin-top: 10px; }
.form__call a { color: var(--brown-text); }

/* ---------- Доводка по итогам проверки 10.10 ---------- */
/* контакты: четыре плашки каналов в один ряд */
@media (min-width: 901px) {
  #kontakty .chans { gap: 6px; }
  #kontakty .chan { padding: 4px 12px 4px 4px; gap: 7px; font-size: 15px; letter-spacing: 0; }
  #kontakty .chan__ic { width: 26px; height: 26px; }
}
/* «С нами вы получаете»: нечётный последний пункт — на всю ширину, без пустой ячейки */
.prod__gains--3 li:last-child:nth-child(odd) { grid-column: 1 / -1; }
#biznes .bz__guide { text-align: left; }

/* ── 98-pravki-2310.css ── */
/* ============================================================================
   Финальные правки Татьяны 23.10.2026 («финал финалов», основной сайт).
   Подключается сборкой ПОСЛЕДНИМ (после 97-pravki-0910.css) — только
   переопределения и стили новых блоков: цифры, «Наши ценности», «Наши отличия».
   ========================================================================= */

/* ---------- П.1–3: первый экран — яркий фон, фото Елены, крупная фраза ----------
   Раньше текст лежал на сплошной кремовой вуали, и кадр «терялся» (на телефоне
   вуаль закрывала его целиком). Теперь вуали почти нет: фраза — на тёплом
   затемнении слева, портрет — на светлой карточке, правая часть кадра чистая. */
.hero--2310 { background: #3a2c22; }
.hero--2310 .hero__bg { background: #3a2c22; }
.hero--2310 .hero__bg picture { display: block; width: 100%; height: 100%; }
.hero--2310 .hero__bg img {
  display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 45%;
  filter: none;
}
.hero--2310 .hero__bg::after {
  background:
    linear-gradient(90deg,
      rgba(30, 22, 16, 0.72) 0%,
      rgba(30, 22, 16, 0.62) 30%,
      rgba(30, 22, 16, 0.56) 52%,
      rgba(30, 22, 16, 0.44) 72%,
      rgba(30, 22, 16, 0.14) 88%,
      rgba(30, 22, 16, 0) 97%),
    linear-gradient(to top, rgba(30, 22, 16, 0.32) 0%, rgba(30, 22, 16, 0) 30%);
}

.hero--2310 .hero__grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: clamp(240px, 18vw, 300px) minmax(0, 1fr);
  gap: clamp(28px, 3vw, 56px);
  align-items: center;
  padding-block: clamp(28px, 3.2vw, 48px);
}
.hero--2310 .hero__col { max-width: 1000px; padding: 0; }

/* портрет: светлая карточка, подпись под фото */
.hero__person {
  margin: 0;
  background: rgba(246, 242, 236, 0.96);
  border: 1px solid rgba(221, 183, 127, 0.7);
  border-radius: 16px;
  padding: 8px;
  box-shadow: 0 26px 60px rgba(14, 10, 7, 0.38);
}
.hero__photo { display: block; overflow: hidden; border-radius: 10px; aspect-ratio: 4 / 5; background: var(--gold-soft); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.hero__cap { display: grid; gap: 6px; padding: 14px 10px 10px; }
.hero__name { font-size: clamp(20px, 1.6vw, 24px); line-height: 1.15; font-weight: 700; color: var(--choco); }
.hero__role {
  position: relative; padding-left: 16px;
  font-size: clamp(14px, 1.02vw, 15.5px); line-height: 1.38; color: var(--brown-text);
}
.hero__role::before {
  content: ''; position: absolute; left: 1px; top: 0.55em;
  width: 7px; height: 7px; background: var(--gold-deep); transform: rotate(45deg);
}

/* фраза: шире и крупнее, светлым по тёплому затемнению */
.hero--2310 .top__h1 {
  max-width: none;
  /* px, а не rem: на ≥1600 корневой кегль крупнее, и фраза снова ломалась на 4 строки */
  font-size: clamp(36px, 21px + 2.4vw, 66px);
  line-height: 1.05;
  letter-spacing: -0.012em;
  color: #fffaf3;
  text-shadow: 0 1px 2px rgba(14, 10, 7, 0.35), 0 2px 28px rgba(14, 10, 7, 0.55);
  text-wrap: balance;
}
.hero--2310 .top__lead {
  max-width: 46ch;
  margin-top: clamp(16px, 1.8vw, 24px);
  color: rgba(255, 250, 243, 0.92);
  text-shadow: 0 1px 2px rgba(14, 10, 7, 0.4), 0 1px 16px rgba(14, 10, 7, 0.6);
}
.hero--2310 .top__em { color: var(--gold); background: none; }
.hero--2310 .top__foot { margin-top: clamp(22px, 2.6vw, 36px); gap: 14px; }
/* у шильдика прозрачный фон и чёрный текст — даём ему светлую плашку */
.hero--2310 .top__badge {
  display: inline-flex; padding: 6px 8px;
  background: rgba(246, 242, 236, 0.95); border-radius: 12px;
  box-shadow: 0 10px 24px rgba(14, 10, 7, 0.3);
}
.hero--2310 .top__badge img { height: clamp(84px, 6.4vw, 100px); filter: none; }
.hero--2310 .top__rating { color: rgba(255, 250, 243, 0.86); text-shadow: 0 1px 10px rgba(14, 10, 7, 0.5); }
.hero--2310 .top__rating b { color: #fffaf3; }
.hero--2310 .top__rating b span { color: var(--gold); }

@media (max-width: 1100px) {
  .hero--2310 .hero__grid { grid-template-columns: 230px minmax(0, 1fr); }
}
/* телефон и узкий планшет: свой вертикальный кадр; фраза сверху на затемнении,
   под ней — карточка Елены (фото слева, подпись справа), лид и рейтинг */
@media (max-width: 760px) {
  .hero--2310 .hero__bg img { object-position: 50% 40%; }
  .hero--2310 .hero__bg::after {
    background:
      linear-gradient(to bottom,
        rgba(30, 22, 16, 0.58) 0%,
        rgba(30, 22, 16, 0.46) 34%,
        rgba(30, 22, 16, 0.24) 58%,
        rgba(30, 22, 16, 0.5) 100%);
  }
  .hero--2310 .hero__grid { grid-template-columns: 1fr; gap: 0; padding-block: 26px 30px; }
  .hero--2310 .hero__col { display: contents; }
  .hero--2310 .top__h1 { order: 1; font-size: clamp(2.125rem, 1.2rem + 4.6vw, 2.75rem); max-width: none; }
  .hero__person {
    order: 2; margin-top: 22px;
    display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 4px; align-items: center;
    padding: 7px; border-radius: 14px;
  }
  .hero__photo { border-radius: 9px; }
  .hero__cap { padding: 4px 8px 4px 10px; gap: 5px; }
  .hero__name { font-size: 19px; }
  .hero__role { font-size: 13.5px; line-height: 1.32; padding-left: 13px; }
  .hero__role::before { width: 6px; height: 6px; }
  .hero--2310 .top__lead { order: 3; margin-top: 20px; }
  .hero--2310 .top__foot { order: 4; margin-top: 20px; }
}

/* ---------- П.4: экран с цифрами — «кубик пополам», цифра слева ---------- */
.cifry { padding-block: clamp(28px, 3.4vw, 52px); }
.cifry__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 22px);
}
.cifra {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: clamp(112px, 9vw, 136px);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 1.5px solid #c9a467;
  box-shadow: 0 14px 32px rgba(166, 128, 72, 0.2);
}
.cifra__n {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 12px 14px;
  text-align: center;
  color: var(--choco);
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0) 30%, rgba(255, 249, 232, 0.55) 46%, rgba(255, 255, 255, 0) 62%),
    linear-gradient(135deg, #b8924f 0%, #e3c487 32%, #c8a264 58%, #ecd39c 82%, #c39b5c 100%);
}
.cifra__n b { font-size: clamp(2.5rem, 1.7rem + 2.4vw, 3.75rem); line-height: 0.95; font-weight: 700; letter-spacing: -0.01em; }
.cifra__n small { margin-top: 4px; font-size: clamp(13px, 1vw, 16px); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.cifra__t {
  display: flex; align-items: center;
  padding: 14px clamp(16px, 1.8vw, 28px);
  font-size: clamp(18px, 1.45vw, 23px); line-height: 1.3; color: var(--choco);
}
@media (max-width: 900px) {
  .cifry__grid { grid-template-columns: 1fr; gap: 10px; }
}
@media (max-width: 760px) {
  .cifra { grid-template-columns: 40% 60%; min-height: 96px; border-radius: 14px; }
  .cifra__n b { font-size: 2.5rem; }
  .cifra__t { font-size: 17px; }
}

/* ---------- П.5: «Что мы делаем» — вкладки стали кнопками, плитки вдвое ниже ---------- */
#praktika .branches__nav { gap: 12px; margin-top: 16px; }
#praktika .btab,
#praktika .btab:not([aria-selected="true"]),
#praktika .btab[aria-selected="true"] {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 58px;
  padding: 10px 30px;
  border-radius: var(--radius-btn);
  border: 1.5px solid #c49a5e;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s var(--ease-out), color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}
#praktika .btab:not([aria-selected="true"]) {
  background: linear-gradient(180deg, #ffffff 0%, #f3ead9 100%);
  color: var(--choco);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 6px 14px rgba(44, 33, 27, 0.1);
}
#praktika .btab[aria-selected="true"] {
  background: linear-gradient(180deg, #927a5c 0%, #74593f 100%);
  border-color: #74593f;
  color: #fffaf3;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 8px 18px rgba(44, 33, 27, 0.24);
}
#praktika .btab:hover { padding-left: 30px; transform: translateY(-1px); }
#praktika .btab:not([aria-selected="true"]):hover { color: var(--choco); border-color: #a9824b; box-shadow: inset 0 1px 0 #fff, 0 10px 20px rgba(44, 33, 27, 0.14); }
#praktika .btab:active { transform: translateY(0) scale(0.98); }
.branches--alive .btab__t,
.branches--alive .btab:not([aria-selected="true"]) .btab__t {
  font-size: clamp(17px, 1.3vw, 20px); line-height: 1.2; font-weight: 700;
  text-decoration: none; letter-spacing: 0.005em;
}
.branches--alive .btab + .btab::before { display: none; }

/* плитки: вдвое ниже, надпись — на всю площадь картинки */
.branches--alive .bcard { aspect-ratio: 3 / 2; min-height: 0; }
.branches--alive .bcard__media::after { background: rgba(44, 33, 27, 0.5); transition: background-color 0.25s var(--ease-out); }
.branches--alive .bcard:hover .bcard__media::after { background: rgba(44, 33, 27, 0.38); }
.branches--alive .bcard__body {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 14px 16px; text-align: center;
}
.branches--alive .bcard__t { font-size: clamp(18px, 1.45vw, 22px); line-height: 1.15; color: #fff; text-shadow: 0 1px 10px rgba(14, 10, 7, 0.4); }
.branches--alive .bcard__p { margin-top: 6px; font-size: 13.5px; line-height: 1.3; color: rgba(255, 255, 255, 0.92); -webkit-line-clamp: 3; }
.branches--alive .bcard__arrow { width: 30px; height: 30px; top: 8px; right: 8px; }
.branches--alive .bnote--cell { padding: 14px 16px; gap: 8px; justify-content: center; }
.branches--alive .bnote--cell .bnote__p { display: none; }
.branches--alive .bnote--cell .bnote__t { font-size: clamp(16px, 1.2vw, 19px); }
.branches--alive .bnote--cell .btn { min-height: 38px; padding: 8px 18px; }
@media (max-width: 1100px) {
  .branches--alive .bcard__p { display: none; }
}
@media (max-width: 760px) {
  #praktika .branches__nav { display: grid; grid-template-columns: 1fr; gap: 10px; }
  #praktika .btab, #praktika .btab:not([aria-selected="true"]), #praktika .btab[aria-selected="true"] { width: 100%; min-height: 54px; padding: 10px 20px; }
  #praktika .btab:hover { padding-left: 20px; }
  .branches--alive .bcard { aspect-ratio: 16 / 9; }
  .branches--alive .bcard:last-child:nth-child(odd) { aspect-ratio: 32 / 9; }
  .branches--alive .bcard__t { font-size: 16px; }
  .branches--alive .bcard__arrow { display: none; }
}

/* ---------- П.6: «Наши ценности» ---------- */
.vals { padding-block: clamp(36px, 4vw, 64px); }
.vals__h { max-width: none; }
.vals__grid {
  margin-top: clamp(18px, 2vw, 28px);
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(12px, 1.4vw, 20px);
}
.val { grid-column: span 2; }
.val:nth-child(-n+2) { grid-column: span 3; }
.val {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: clamp(18px, 1.8vw, 26px) clamp(18px, 2vw, 30px);
  text-align: center;
  background: #fff;
  border: 1.5px solid rgba(196, 154, 94, 0.75);
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(166, 128, 72, 0.14);
}
.val__t { font-size: clamp(17px, 1.25vw, 20px); line-height: 1.2; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--choco); }
.val__p { font-size: var(--fs-small); line-height: 1.45; color: var(--fg-2); max-width: 40ch; }
@media (max-width: 900px) {
  .vals__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .val, .val:nth-child(-n+2) { grid-column: span 1; }
  .val:last-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .vals__grid { grid-template-columns: 1fr; gap: 10px; }
  .val:last-child { grid-column: auto; }
  .val { padding: 16px 18px; gap: 6px; }
}

/* ---------- П.7: «Наши отличия» — полоса на фотографии, как на образце ---------- */
.otl { position: relative; overflow: hidden; background: #2f241c; color: #fffaf3; padding-block: clamp(44px, 5vw, 80px); }
.otl__bg { position: absolute; inset: 0; z-index: 0; }
.otl__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.otl__bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(30, 22, 16, 0.72) 0%, rgba(30, 22, 16, 0.6) 50%, rgba(30, 22, 16, 0.74) 100%);
}
.otl .wrap { position: relative; z-index: 1; }
.otl__h {
  max-width: none; text-align: center;
  color: var(--gold);
  letter-spacing: 0.08em; text-transform: uppercase;
}
.otl__grid {
  margin: clamp(20px, 2.4vw, 34px) auto 0;
  max-width: 1100px;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 1.4vw, 20px);
}
.otl__item {
  display: flex; align-items: center; justify-content: center;
  min-height: 96px;
  padding: 18px clamp(18px, 2.2vw, 34px);
  text-align: center;
  font-size: var(--fs-lead); line-height: 1.35;
  color: var(--choco);
  background: rgba(255, 252, 247, 0.96);
  border: 1px solid rgba(221, 183, 127, 0.8);
  border-radius: 16px;
  box-shadow: 0 16px 36px rgba(10, 7, 5, 0.3);
}
.otl__item--wide { grid-column: 1 / -1; min-height: 72px; }
.otl .nw { white-space: nowrap; }
@media (max-width: 760px) {
  .otl__grid { grid-template-columns: 1fr; gap: 10px; }
  .otl__item { min-height: 0; padding: 16px 18px; font-size: var(--fs-body); }
}

/* ---------- П.10: «Бизнес» — без фото, только текст, компактнее ---------- */
#biznes .bz--text { display: block; }
#biznes .bz--text .d2 { max-width: none; }
#biznes .bz--text .bz__dirs { margin-top: clamp(16px, 1.8vw, 24px); }
#biznes .bz--text .bz__pts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
#biznes .bz--text .bz__pts li { max-width: none; }
#biznes .bz--text .bz__offer { margin-top: 16px; max-width: none; padding: 18px 24px; }
@media (max-width: 900px) {
  #biznes .bz--text .bz__pts { grid-template-columns: 1fr; gap: 10px; }
}
/* ==== PRAVKI-0309 END ==== */
