/* ══════════════════════════════════════════════
   Danba — сайт-портфолио
   Палитра: холодный графит + костяной + латунь
   Шрифты: Unbounded (дисплей) · Golos Text (текст) · JetBrains Mono (метки)
   ══════════════════════════════════════════════ */

:root {
  /* цвет */
  --ink:        #0E1013;   /* фон, графит с холодным подтоном */
  --ink-2:      #14181E;   /* поднятые поверхности */
  --ink-3:      #1A1F27;   /* поверхности в наведении */
  --line:       #262C35;   /* границы и деления шкалы */
  --bone:       #E9E5DC;   /* основной текст, тёплый костяной */
  --bone-dim:   #8B919B;   /* вторичный текст */
  --brass:      #D6A94C;   /* акцент — латунь */
  --brass-soft: rgba(214, 169, 76, .10);

  /* светлые секции — тот же материал при дневном свете, не инверсия */
  --paper:      #EFE8D9;   /* фон светлых блоков, тёплый костяной */
  --paper-2:    #E3DAC3;   /* поднятые поверхности на светлом */
  --paper-3:    #D8CCAC;   /* поверхности в наведении на светлом */
  --paper-line: #D0C2A0;   /* границы на светлом */
  --charcoal:     #201C14; /* основной текст на светлом */
  --charcoal-dim: #5D5443; /* вторичный текст на светлом */
  --bronze:       #7A5A10; /* акцент — та же латунь, притемнённая под светлый фон */

  /* шрифт */
  --f-display: 'Unbounded', system-ui, sans-serif;
  --f-text:    'Golos Text', system-ui, sans-serif;
  --f-mono:    'JetBrains Mono', ui-monospace, monospace;

  /* ритм */
  --gap:   clamp(20px, 5vw, 48px);
  --pad-y: clamp(76px, 11vh, 148px);
  --r:     3px;
}

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

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

body {
  background: var(--ink);
  color: var(--bone);
  font-family: var(--f-text);
  font-size: 1.0625rem;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
ul, ol { list-style: none; padding: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
table { border-collapse: collapse; width: 100%; }

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

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

.skip {
  position: absolute; left: 50%; top: 0;
  transform: translate(-50%, -120%);
  background: var(--brass); color: var(--ink);
  padding: 10px 18px; z-index: 200;
  font-family: var(--f-mono); font-size: .8rem;
}
.skip:focus { transform: translate(-50%, 0); }

/* ─── каркас ─── */
.wrap {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: var(--gap);
}

.section { padding-block: var(--pad-y); }
.section--line { border-top: 1px solid var(--line); }

/* ─── светлые секции ───
   Не инверсия в один клик: пересобираем тот же набор токенов под дневной свет,
   всё, что ниже (карточки, таблица, отзывы, факты), само подхватывает цвета —
   компоненты нигде не хардкодят чёрный/белый, только эти переменные. */
.section--light {
  background: var(--paper);
  color: var(--charcoal);
  --ink:        var(--paper);
  --ink-2:      var(--paper-2);
  --ink-3:      var(--paper-3);
  --line:       var(--paper-line);
  --bone:       var(--charcoal);
  --bone-dim:   var(--charcoal-dim);
  --brass:      var(--bronze);
  --brass-soft: rgba(138, 100, 20, .12);
}

/* ─── типографика ─── */
.mono {
  font-family: var(--f-mono);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: lowercase;
}

.eyebrow {
  font-family: var(--f-mono);
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 22px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 22px; height: 1px;
  background: var(--brass);
  vertical-align: middle;
  margin-right: 12px;
}

.h2 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(1.85rem, 4.4vw, 3.15rem);
  line-height: 1.08;
  letter-spacing: -.02em;
}
.h2--wide { max-width: 18ch; }

.lead {
  font-size: clamp(1.02rem, 1.5vw, 1.22rem);
  line-height: 1.65;
  color: var(--bone-dim);
  max-width: 62ch;
}
.lead--top { margin-top: 26px; }

/* ─── кнопки ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: .82rem;
  letter-spacing: .04em;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: var(--r);
  transition: background-color .25s, color .25s, border-color .25s, transform .25s;
  white-space: nowrap;
}
.btn--solid { background: var(--brass); color: #14100A; font-weight: 500; }
.btn--solid:hover { background: #E7BE64; transform: translateY(-2px); }
.btn--ghost { border-color: var(--line); color: var(--bone); }
.btn--ghost:hover { border-color: var(--brass); color: var(--brass); }
.btn--sm { padding: 10px 18px; font-size: .76rem; }
.btn--lg { padding: 18px 38px; font-size: .9rem; }

/* ══════════════ ШАПКА ══════════════ */
.bar {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 16px var(--gap);
  background: rgba(14, 16, 19, .82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.mark { display: inline-flex; align-items: center; gap: 11px; }
.mark__glyph {
  width: 15px; height: 15px;
  border: 1.5px solid var(--brass);
  border-radius: 50%;
  position: relative;
  flex: none;
}
.mark__glyph::after {
  content: "";
  position: absolute; inset: 3px 3px auto auto;
  width: 5px; height: 5px;
  background: var(--brass);
  border-radius: 50%;
}
.mark__word {
  font-family: var(--f-display);
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: .01em;
}

.bar__right { display: flex; align-items: center; gap: 12px; }

/* на узких экранах кнопка в шапке сокращается до «Telegram» */
@media (max-width: 560px) {
  .bar { padding-block: 12px; }
  .btn__long { display: none; }
}

.burger {
  width: 42px; height: 42px;
  display: grid; place-content: center; gap: 5px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: border-color .25s;
  flex: none;
}
.burger:hover { border-color: var(--brass); }
.burger span {
  display: block; width: 17px; height: 1.5px;
  background: var(--bone);
  transition: transform .3s, opacity .3s;
}
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child  { transform: translateY(-3.25px) rotate(-45deg); }

/* ══════════════ МЕНЮ ══════════════ */
.menu {
  position: fixed; inset: 0; z-index: 99;
  background: rgba(14, 16, 19, .97);
  backdrop-filter: blur(20px);
  display: grid; place-items: center;
  opacity: 0; transition: opacity .3s;
}
.menu[hidden] { display: none; }
.menu.is-open { opacity: 1; }

.menu__inner {
  width: 100%; max-width: 1180px;
  padding: 90px var(--gap) 40px;
}
.menu__list { display: grid; gap: clamp(6px, 1.4vh, 14px); }
.menu__list a {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(2rem, 7vw, 4.2rem);
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--bone-dim);
  transition: color .25s, padding-left .25s;
  display: inline-block;
}
.menu__list a:hover { color: var(--bone); padding-left: 14px; }

.menu__foot {
  margin-top: clamp(32px, 6vh, 60px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: baseline;
}
.menu__foot .mono { color: var(--bone-dim); }
.menu__tg { font-family: var(--f-mono); font-size: .95rem; color: var(--brass); }
.menu__tg:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ══════════════ HERO ══════════════ */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(64px, 13vh, 130px) clamp(72px, 12vh, 132px);
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
  pointer-events: none;
}

/* тёмная дымка держит текст читаемым поверх плазмы: плотнее в левой
   текстовой колонке, прозрачнее справа, где остаётся чистый рисунок шейдера */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(100deg,
      rgba(10, 11, 13, .74) 0%,
      rgba(10, 11, 13, .74) 38%,
      rgba(10, 11, 13, .42) 58%,
      rgba(10, 11, 13, .1) 82%),
    linear-gradient(180deg,
      rgba(10, 11, 13, .3) 0%,
      rgba(10, 11, 13, .12) 28%,
      rgba(10, 11, 13, .4) 100%);
  pointer-events: none;
}

.hero .wrap { position: relative; z-index: 1; }

.hero__title {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(2.6rem, 8.4vw, 6.4rem);
  line-height: .98;
  letter-spacing: -.035em;
  margin-bottom: 34px;
}
.hero__title em {
  font-style: normal;
  font-weight: 500;
  color: var(--brass);
}

.hero__lead {
  font-size: clamp(1.04rem, 1.6vw, 1.28rem);
  line-height: 1.62;
  color: var(--bone-dim);
  max-width: 54ch;
  margin-bottom: 52px;
}

.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* ─── сигнатура: шкала сроков ─── */
.scale { max-width: 470px; margin-bottom: 54px; }

.scale__track {
  position: relative;
  height: 13px;
  border-bottom: 1px solid var(--line);
  background-image: repeating-linear-gradient(to right, var(--line) 0 1px, transparent 1px 20%);
  background-position: bottom;
  background-size: 100% 9px;
  background-repeat: repeat-x;
}
.scale__track::after {
  content: "";
  position: absolute; right: 0; bottom: 0;
  width: 1px; height: 9px;
  background: var(--line);
}
.scale__span {
  position: absolute;
  left: 40%; right: 0; bottom: -1px;
  height: 2px;
  background: var(--brass);
  box-shadow: 0 0 14px rgba(214, 169, 76, .5);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.1s cubic-bezier(.16, 1, .3, 1) .25s;
}
.is-in .scale__span { transform: scaleX(1); }

.scale__labels {
  display: flex; justify-content: space-between;
  margin-top: 9px;
  color: var(--bone-dim);
}
.scale__caption { margin-top: 18px; color: var(--brass); }
.scale__hint { color: var(--bone-dim); margin-left: 6px; }

/* дни на шкале — заметные «чипы» с рамкой, а не голый текст: сразу читаются
   как интерактивный элемент, а не как подпись к делениям */
.scale__day {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  margin: -9px -10px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--ink-2);
  cursor: help;
  transition: border-color .2s, background-color .2s, color .2s, transform .2s;
}

/* индикатор «здесь есть подсказка» — виден всегда, не только при наведении */
.scale__day::before {
  content: "";
  position: absolute;
  top: -4px;
  right: -4px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brass);
  opacity: .6;
  transition: opacity .2s, box-shadow .2s;
}
/* мягкий пульс на первом дне — один раз привлекает внимание, что дни кликабельны */
.scale__day:first-child::before {
  animation: scale-pulse 1.6s ease-out .8s 3;
}
@keyframes scale-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(214, 169, 76, .55); }
  70%  { box-shadow: 0 0 0 9px rgba(214, 169, 76, 0); }
  100% { box-shadow: 0 0 0 0 rgba(214, 169, 76, 0); }
}

.scale__day:hover,
.scale__day:focus-visible {
  border-color: var(--brass);
  background: var(--brass-soft);
  color: var(--brass);
  transform: translateY(-3px);
}
.scale__day:hover::before,
.scale__day:focus-visible::before { opacity: 1; }

.scale__tip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 11px);
  transform: translateX(-50%) translateY(4px);
  width: max-content;
  max-width: 196px;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 11px 13px;
  font-family: var(--f-text);
  font-size: .8rem;
  line-height: 1.5;
  letter-spacing: normal;
  text-transform: none;
  color: var(--bone);
  text-align: left;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s, transform .18s;
  z-index: 5;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .4);
}
.scale__tip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--ink-2);
}

/* крайние подсказки прижимаем к краю шкалы, чтобы не вылезали за viewport */
.scale__day:first-child .scale__tip { left: 0; transform: translateY(4px); }
.scale__day:first-child .scale__tip::after { left: 14px; transform: none; }
.scale__day:last-child .scale__tip { left: auto; right: 0; transform: translateY(4px); }
.scale__day:last-child .scale__tip::after { left: auto; right: 14px; transform: none; }

.scale__day:hover .scale__tip,
.scale__day:focus-visible .scale__tip {
  opacity: 1;
  transform: translateY(0);
}
.scale__day:not(:first-child):not(:last-child):hover .scale__tip,
.scale__day:not(:first-child):not(:last-child):focus-visible .scale__tip {
  transform: translateX(-50%) translateY(0);
}

/* ══════════════ ДОВЕРИЕ ══════════════ */
.split { display: grid; gap: clamp(32px, 5vw, 72px); }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, .82fr) minmax(0, 1fr); }
  .split__head { position: sticky; top: 110px; align-self: start; }
}

.facts { display: grid; gap: 1px; margin-top: 44px; background: var(--line); }
.fact { background: var(--ink); padding: 26px 0 26px; }
.fact:first-child { padding-top: 0; }
@media (min-width: 620px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .fact { padding: 28px clamp(20px, 3vw, 32px); }
  .fact:first-child { padding-top: 28px; }
}
.fact__t {
  font-family: var(--f-display);
  font-weight: 400; font-size: 1.02rem;
  line-height: 1.35; letter-spacing: -.01em;
  margin-bottom: 10px;
}
.fact__d { font-size: .95rem; line-height: 1.62; color: var(--bone-dim); }

/* ══════════════ КЕЙСЫ ══════════════ */
.head {
  display: flex; flex-wrap: wrap; gap: 24px;
  align-items: flex-end; justify-content: space-between;
  margin-bottom: 52px;
}
.head__act { flex: none; }

.grid {
  display: grid;
  gap: clamp(20px, 2.6vw, 34px);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 285px), 1fr));
}

.card__link { display: block; }

.thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  background-image: repeating-linear-gradient(135deg, var(--brass-soft) 0 1px, transparent 1px 11px);
  display: grid; place-items: center;
  overflow: hidden;
  transition: border-color .3s, background-color .3s;
}
.thumb__note {
  color: var(--bone-dim);
  letter-spacing: .2em;
  transition: color .3s;
}
.thumb__img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: var(--r);
}

.card__meta {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 14px; margin: 20px 0 9px;
}
.card__t {
  font-family: var(--f-display);
  font-weight: 400; font-size: 1.06rem;
  letter-spacing: -.01em;
  transition: color .25s;
}
.card__tag { color: var(--brass); flex: none; }
.card__d { font-size: .93rem; line-height: 1.6; color: var(--bone-dim); }

.card__link:hover .thumb { border-color: var(--brass); background-color: var(--ink-3); }
.card__link:hover .thumb__note { color: var(--brass); }
.card__link:hover .card__t { color: var(--brass); }

/* ══════════════ ЗАЧЕМ САЙТ ══════════════ */
.reasons {
  display: grid;
  gap: 1px;
  margin-top: 52px;
  background: var(--line);
}
@media (min-width: 760px) { .reasons { grid-template-columns: 1fr 1fr; } }

.reason {
  position: relative;
  background: var(--ink);
  padding: clamp(26px, 3.4vw, 40px) 0;
  transition: background-color .25s ease;
}
@media (min-width: 760px) { .reason { padding: clamp(28px, 3.4vw, 42px) clamp(24px, 3vw, 38px); } }

.reason:hover,
.reason:focus-within { background: var(--ink-2); }

/* акцентная полоса слева — только там, где есть паддинг под неё */
@media (min-width: 760px) {
  .reason::before {
    content: "";
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 0;
    background: var(--brass);
    transition: width .25s ease;
  }
  .reason:hover::before,
  .reason:focus-within::before { width: 3px; }
}

.reason__t {
  font-family: var(--f-display);
  font-weight: 400; font-size: clamp(1.06rem, 1.7vw, 1.28rem);
  line-height: 1.3; letter-spacing: -.015em;
  margin-bottom: 13px;
  transition: color .25s ease;
}
.reason:hover .reason__t,
.reason:focus-within .reason__t { color: var(--brass); }

.reason__d { font-size: .97rem; line-height: 1.66; color: var(--bone-dim); max-width: 46ch; }

/* ══════════════ ПРОЦЕСС ПО ДНЯМ ══════════════ */
.days { position: relative; margin-top: 56px; }
.days::before {
  content: "";
  position: absolute; top: 8px; bottom: 8px; left: 0;
  width: 1px; background: var(--line);
}
@media (min-width: 720px) { .days::before { left: 104px; } }

.day {
  position: relative;
  display: grid;
  gap: 6px 30px;
  padding: 0 0 clamp(34px, 4.4vw, 52px) 26px;
}
@media (min-width: 720px) {
  .day { grid-template-columns: 104px minmax(0, 1fr); padding-left: 0; gap: 0 46px; }
}

.day__mark { position: relative; }
.day__mark .mono {
  color: var(--brass);
  letter-spacing: .1em;
  white-space: nowrap;
}
/* засечка от вертикальной линии к содержимому */
.day__mark::before {
  content: "";
  position: absolute;
  top: .62em; left: -26px;
  width: 17px; height: 1px;
  background: var(--brass);
}
@media (min-width: 720px) {
  .day__mark::before { left: auto; right: -46px; width: 30px; }
}
.day__mark::after {
  content: "";
  position: absolute;
  top: calc(.62em - 2.5px); left: -29.5px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brass);
}
@media (min-width: 720px) {
  .day__mark::after { left: auto; right: -19px; }
}

.day__t {
  font-family: var(--f-display);
  font-weight: 400; font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.25; letter-spacing: -.02em;
  margin-bottom: 12px;
}
.day__d { font-size: .99rem; line-height: 1.68; color: var(--bone-dim); max-width: 58ch; }

.day--after { padding-bottom: 0; }
.day--after .day__mark .mono { color: var(--bone-dim); }
.day--after .day__mark::before,
.day--after .day__mark::after { background: var(--bone-dim); }

/* ══════════════ СРАВНЕНИЕ ══════════════ */
.compare {
  margin-top: 52px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r);
}

.tbl { min-width: 720px; font-size: .95rem; }

.tbl th, .tbl td {
  text-align: left;
  padding: 20px clamp(16px, 2vw, 26px);
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.tbl tbody tr:last-child th,
.tbl tbody tr:last-child td { border-bottom: 0; }

.tbl thead th {
  font-family: var(--f-display);
  font-weight: 400; font-size: 1.02rem;
  letter-spacing: -.01em;
  background: var(--ink-2);
  padding-block: 22px;
}
.tbl__sub {
  display: block;
  margin-top: 6px;
  color: var(--bone-dim);
  font-weight: 400;
  text-transform: lowercase;
  letter-spacing: .06em;
}

.tbl tbody th {
  font-family: var(--f-mono);
  font-size: .74rem;
  font-weight: 400;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--bone-dim);
  width: 128px;
}
.tbl td { color: var(--bone-dim); }

/* колонка Danba — акцентная */
.tbl__me { color: var(--bone) !important; background: rgba(214, 169, 76, .045); }
.tbl thead .tbl__me { color: var(--brass); background: rgba(214, 169, 76, .085); }
.tbl thead .tbl__me .tbl__sub { color: var(--brass); opacity: .72; }

/* ══════════════ ЦЕНА ══════════════ */
.price { text-align: center; }
.price .eyebrow { display: inline-block; }

.price__value {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(2.1rem, 5.5vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -.02em;
  margin-bottom: 24px;
}
.price__lead {
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  line-height: 1.65;
  color: var(--bone-dim);
  max-width: 54ch;
  margin: 0 auto 36px;
}

/* ══════════════ ОТЗЫВЫ ══════════════ */
.quotes {
  display: grid;
  gap: clamp(20px, 2.6vw, 30px);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  margin-top: 52px;
}

.quote {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: clamp(26px, 3vw, 36px);
  display: flex; flex-direction: column; gap: 22px;
}
.quote__text {
  font-size: 1.04rem; line-height: 1.62;
  flex: 1;
}
.quote__text::before { content: "«"; color: var(--brass); margin-right: 2px; }
.quote__text::after  { content: "»"; color: var(--brass); margin-left: 2px; }

.quote__who { display: flex; flex-direction: column; gap: 4px; }
.quote__name { font-family: var(--f-display); font-weight: 400; font-size: .98rem; }
.quote__role { color: var(--bone-dim); }

/* плейсхолдер отзыва — визуально «незаполненный» */
.quote--empty { border-style: dashed; }
.quote--empty .quote__text,
.quote--empty .quote__name { color: var(--bone-dim); }
.quote__flag {
  color: var(--brass);
  letter-spacing: .14em;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

/* ══════════════ FAQ ══════════════ */
.faq { margin-top: 48px; border-top: 1px solid var(--line); }

.qa { border-bottom: 1px solid var(--line); }

.qa__q {
  list-style: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 26px 0;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(1.02rem, 1.8vw, 1.22rem);
  line-height: 1.35;
  letter-spacing: -.015em;
  transition: color .25s;
}
.qa__q::-webkit-details-marker { display: none; }
.qa__q:hover { color: var(--brass); }

.qa__ic { position: relative; width: 13px; height: 13px; flex: none; }
.qa__ic::before, .qa__ic::after {
  content: "";
  position: absolute; inset: 50% 0 auto 0;
  height: 1.5px; background: var(--brass);
  transition: transform .3s;
}
.qa__ic::after { transform: rotate(90deg); }
.qa[open] .qa__ic::after { transform: rotate(0deg); }

.qa__a { padding-bottom: 28px; }
.qa__a p {
  font-size: .99rem; line-height: 1.7;
  color: var(--bone-dim);
  max-width: 68ch;
}

/* ══════════════ ФИНАЛЬНЫЙ CTA ══════════════ */
.cta {
  padding-block: clamp(88px, 14vh, 168px);
  border-top: 1px solid var(--line);
  background:
    radial-gradient(120% 80% at 50% 100%, rgba(214, 169, 76, .07), transparent 62%),
    var(--ink);
  text-align: center;
}
.cta .eyebrow { display: inline-block; }

.cta__title {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(2.3rem, 7vw, 5rem);
  line-height: 1;
  letter-spacing: -.035em;
  margin-bottom: 28px;
}
.cta__lead {
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  line-height: 1.65;
  color: var(--bone-dim);
  max-width: 54ch;
  margin: 0 auto 42px;
}
.cta__note { color: var(--bone-dim); margin-top: 22px; }

/* ══════════════ ФУТЕР ══════════════ */
.foot { border-top: 1px solid var(--line); padding-block: 44px; }
.foot__inner {
  display: flex; flex-wrap: wrap;
  gap: 22px 40px;
  align-items: center; justify-content: space-between;
}
.foot__brand { display: inline-flex; align-items: center; gap: 11px; }
.foot__nav { display: flex; flex-wrap: wrap; gap: 12px 26px; }
.foot__nav a {
  font-family: var(--f-mono); font-size: .78rem;
  color: var(--bone-dim);
  transition: color .25s;
}
.foot__nav a:hover { color: var(--brass); }
.foot__note { color: var(--bone-dim); }

/* ══════════════ СТРАНИЦА КЕЙСОВ ══════════════ */
.page-head {
  padding-block: clamp(56px, 10vh, 104px) clamp(40px, 6vh, 64px);
}
.page-head__title {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(2.4rem, 7.4vw, 5.2rem);
  line-height: 1;
  letter-spacing: -.035em;
  margin-bottom: 28px;
}
.page-head__lead {
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  line-height: 1.65;
  color: var(--bone-dim);
  max-width: 56ch;
}
.page-head__count {
  margin-top: 34px;
  color: var(--bone-dim);
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.cases { padding-block: 0 var(--pad-y); }

.back {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--f-mono); font-size: .78rem;
  color: var(--bone-dim);
  margin-bottom: 30px;
  transition: color .25s, gap .25s;
}
.back:hover { color: var(--brass); gap: 14px; }

/* ══════════════ ПОЯВЛЕНИЕ ══════════════ */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s cubic-bezier(.16, 1, .3, 1), transform .7s cubic-bezier(.16, 1, .3, 1);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* ══════════════ ДОСТУПНОСТЬ ══════════════ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .scale__span { transform: scaleX(1); }
}
