/* ==========================================================================
   ЭНТЕК — версия 3. Компоненты страниц: герой, доказательные блоки,
   структура цены, схема поставки, таймлайны, таблицы, тепловая карта.
   ========================================================================== */

/* -------------------------------------------------- герой главной */

.hero {
  position: relative;
  min-height: 640px;
  height: 94vh;
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.03); filter: saturate(1.02) contrast(1.03); }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, oklch(20% 0.02 250 / 0.5) 0%, oklch(20% 0.02 250 / 0.1) 32%, oklch(13% 0.01 250 / 0.68) 100%);
}
.hero__mark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(58px, 26vw, 330px);
  line-height: 0.84;
  letter-spacing: -0.05em;
  color: #fff;
  text-align: center;
  margin: clamp(84px, 10vh, 130px) 0 0;
  padding-inline: var(--pad);
  text-shadow: 0 2px 40px oklch(20% 0.02 250 / 0.25);
}
.hero .mark-sub { color: #fff; text-shadow: 0 1px 14px oklch(20% 0.02 250 / 0.55); }

.hero__foot {
  margin-top: auto;
  padding-bottom: clamp(24px, 4vh, 44px);
  display: grid;
  grid-template-columns: minmax(180px, 220px) 1fr auto;
  align-items: end;
  gap: 28px;
}
.hero__jump { display: grid; gap: 2px; }
.hero__jump a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 2px;
  border-bottom: 1px solid oklch(100% 0 0 / 0.3);
  color: #fff;
  text-decoration: none;
  font-size: 14.5px;
  transition: padding-left .2s ease, border-color .2s ease;
}
.hero__jump a:hover { padding-left: 8px; border-color: #fff; color: #fff; }
.hero__lines { display: grid; gap: 14px; }
.hero__claim {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(22px, 2.4vw, 38px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #fff;
  max-width: 24ch;
  text-wrap: balance;
}
.hero__claim .dim { color: oklch(100% 0 0 / 0.58); }
.hero__blurb { max-width: 48ch; color: oklch(97% 0 0 / 0.93); font-size: 15.5px; line-height: 1.55; }
.hero__actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* -------------------------------------------------- герой внутренней страницы */

.page-hero { padding-top: clamp(110px, 12vw, 168px); padding-bottom: clamp(36px, 4vw, 62px); }
.page-hero__grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(28px, 4vw, 68px); align-items: end; }
.page-hero h1 { margin-top: 22px; }
.page-hero .body-text { font-size: 17px; }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.crumbs a { text-decoration: none; color: var(--muted); border-bottom: 1px solid transparent; }
.crumbs a:hover { color: var(--fg); border-bottom-color: var(--border); }
.crumbs span[aria-current] { color: var(--fg); }
.crumbs i { font-style: normal; opacity: .45; }

.page-hero__meta { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; }
.page-hero__meta li { background: var(--bg); padding: 14px 18px; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.page-hero__meta dt, .page-hero__meta .k { font-size: 13.5px; color: var(--muted); }
.page-hero__meta .v { font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -0.03em; text-align: right; }

/* -------------------------------------------------- полоса фактов */

.facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border-block: 1px solid var(--border);
}
.facts li { background: var(--bg); padding: 26px 22px; display: grid; gap: 8px; align-content: start; }
.facts b { font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 2.1vw, 30px); letter-spacing: -0.035em; line-height: 1.05; }
.facts span { font-size: 14px; color: var(--muted); }

/* -------------------------------------------------- бенто рамочных условий
   Три плоскости вместо четырёх текстовых колонок: синяя, тёмная и голубая.
   Крупные числа — единственное место в теле страницы, где типографика
   выходит на дисплейный кегль. */

.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.bento__card {
  border-radius: var(--r-lg);
  padding: clamp(24px, 2.4vw, 30px);
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 26px;
  overflow: hidden;
  position: relative;
}
.bento__card h3 { font-size: clamp(19px, 1.7vw, 23px); }

.bento__card--accent { background: var(--accent); color: #fff; }
.bento__card--accent .bento__meta { color: oklch(100% 0 0 / 0.88); }
.bento__card--accent .bento__note { color: oklch(100% 0 0 / 0.88); }

.bento__card--ink { background: var(--ink); color: var(--on-dark); }
.bento__card--ink .bento__meta { color: var(--ink-muted); }
.bento__card--ink .bento__note { color: var(--ink-muted); }

.bento__card--soft { background: var(--accent-soft); color: var(--fg); }
.bento__card--soft .bento__meta { color: oklch(40% 0.06 258); }
.bento__card--soft .bento__note { color: oklch(35% 0.03 255); }
.bento__card--soft .bento__value { font-size: clamp(32px, 3.2vw, 46px); }

.bento__meta { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.bento__value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(38px, 4.2vw, 60px);
  letter-spacing: -0.045em;
  line-height: 0.95;
  margin-top: 8px;
}
.bento__value small { font-size: 0.34em; font-weight: 600; letter-spacing: -0.01em; margin-left: 8px; }
.bento__note { font-size: 14.5px; line-height: 1.45; }

.bento__rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; }
.bento__rows li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 0;
  border-top: 1px solid oklch(30% 0.03 255 / 0.16);
  font-size: 14.5px;
}
.bento__rows li:last-child { border-bottom: 1px solid oklch(30% 0.03 255 / 0.16); }
.bento__rows span { color: oklch(35% 0.03 255); }
.bento__rows b { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.07em; text-transform: uppercase; color: oklch(40% 0.06 258); font-weight: 500; }

.tag {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 7px 13px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.tag--onaccent { background: oklch(99% 0 0 / 0.94); color: var(--accent-hover); }
.tag--onink { background: oklch(100% 0 0 / 0.13); color: var(--on-dark); }
.tag--onsoft { background: oklch(100% 0 0 / 0.66); color: oklch(30% 0.03 255); }

/* -------------------------------------------------- структура цены */

.costbar { display: grid; gap: 18px; }
.costbar__track { display: flex; height: 74px; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--border); }
.costbar__seg {
  display: grid;
  align-content: center;
  gap: 3px;
  padding: 0 16px;
  color: #fff;
  min-width: 0;
}
.costbar__seg b { font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -0.03em; }
.costbar__seg span { font-size: 12.5px; line-height: 1.25; opacity: .9; }
.costbar__seg--a { background: var(--accent); flex: 0 0 35%; }
.costbar__seg--b { background: oklch(72% 0.005 250); flex: 0 0 35%; color: var(--fg); }
.costbar__seg--b span, .costbar__seg--d span { opacity: .75; }
.costbar__seg--c { background: var(--accent-line); flex: 0 0 25%; color: var(--fg); }
.costbar__seg--d { background: var(--surface-2); flex: 0 0 5%; color: var(--fg); padding: 0 8px; }
.costbar__seg--d b { font-size: 17px; }
.costbar__seg--d span { display: none; }

.costbar__legend { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 26px; }
.costbar__legend li { display: grid; grid-template-columns: 12px 1fr; gap: 12px; align-items: start; font-size: 14.5px; color: var(--muted); }
.costbar__legend i { width: 12px; height: 12px; border-radius: 3px; margin-top: 5px; }
.costbar__legend b { color: var(--fg); font-weight: 600; }

/* -------------------------------------------------- «меняется / не меняется» */

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.compare__col { border-radius: var(--r-lg); padding: 28px; display: grid; gap: 20px; align-content: start; }
.compare__col--change { background: var(--accent); color: #fff; }
.compare__col--keep { background: var(--surface); border: 1px solid var(--border); }
.compare__col h3 { font-size: 23px; }
.compare__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.compare__col li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; font-size: 15.5px; line-height: 1.45; }
.compare__col--change li { color: oklch(100% 0 0 / 0.92); }
.compare__col--keep li { color: var(--muted); }
.compare__col svg { margin-top: 3px; flex: none; }
.compare__col--keep svg { color: var(--accent); }
.compare__note { font-size: 14px; line-height: 1.5; padding-top: 16px; border-top: 1px solid; }
.compare__col--change .compare__note { border-top-color: oklch(100% 0 0 / 0.25); color: oklch(100% 0 0 / 0.85); }
.compare__col--keep .compare__note { border-top-color: var(--border); color: var(--muted); }

/* -------------------------------------------------- схема поставки с переключателем */

.flow { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 38px); display: grid; gap: 28px; }
.flow__head { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

.switch { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); }
.switch button {
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: none;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease;
}
.switch button:hover { color: var(--fg); }
.switch button[aria-selected="true"] { background: var(--fg); color: var(--on-dark); }

.chain { display: flex; align-items: stretch; gap: 10px; overflow-x: auto; padding-bottom: 6px; }
.chain__node {
  flex: 1 1 0;
  min-width: 132px;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  background: var(--bg);
  padding: 16px;
  display: grid;
  gap: 6px;
  align-content: start;
}
.chain__node b { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.chain__node span { font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.chain__node--hl { background: var(--accent); border-color: var(--accent); color: #fff; }
.chain__node--hl span { color: oklch(100% 0 0 / 0.85); }
.chain__node--fix { border-style: dashed; }
.chain__arrow { align-self: center; color: oklch(72% 0.004 250); flex: none; }
.flow__caption { font-size: 14.5px; color: var(--muted); max-width: 74ch; }
.flow__caption b { color: var(--fg); font-weight: 600; }

/* -------------------------------------------------- карточки направлений */

.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.cards > li { display: grid; }
.card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
  padding: 26px;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  text-decoration: none;
  color: var(--fg);
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
a.card:hover { border-color: oklch(74% 0.004 250); box-shadow: 0 14px 34px oklch(20% 0.01 250 / 0.08); }
.card__kicker { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); }
.card h3 { font-size: 21px; }
.card p { font-size: 14.5px; color: var(--muted); line-height: 1.5; }
.card__foot { margin-top: auto; padding-top: 6px; display: flex; align-items: center; justify-content: space-between; gap: 14px; font-size: 13.5px; color: var(--muted); }
.card__foot svg { color: var(--fg); transition: transform .18s ease; flex: none; }
a.card:hover .card__foot svg { transform: translate(2px, -2px); }
.card__meta { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }

.card--photo { padding: 0; overflow: hidden; }
.card--photo figure { margin: 0; aspect-ratio: 16 / 10; background: var(--surface-2); overflow: hidden; }
.card--photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.6,.2,1); }
.card--photo:hover img { transform: scale(1.04); }
.card--photo .card__inner { padding: 22px 26px 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }

/* акцентная карточка направления: единственная залитая плоскость в сетке */
.card--accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.card--accent .card__kicker { color: oklch(100% 0 0 / 0.86); }
.card--accent p { color: oklch(100% 0 0 / 0.88); }
.card--accent .card__foot { color: oklch(100% 0 0 / 0.9); border-top: 1px solid oklch(100% 0 0 / 0.24); padding-top: 16px; }
.card--accent .card__rows + .card__foot { margin-top: 4px; }
.card--accent .card__foot svg { color: #fff; }
a.card--accent:hover { background: var(--accent-hover); border-color: var(--accent-hover); box-shadow: 0 14px 34px oklch(35% 0.12 262 / 0.24); }

/* -------------------------------------------------- таймлайн */

.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; }
.timeline__step { background: var(--bg); padding: 24px 22px 26px; display: grid; gap: 10px; align-content: start; }
.timeline__bar { height: 6px; border-radius: 999px; background: var(--accent); }
.timeline__step:nth-child(2) .timeline__bar { background: oklch(58% 0.16 262); }
.timeline__step:nth-child(3) .timeline__bar { background: oklch(68% 0.13 260); }
.timeline__step:nth-child(4) .timeline__bar { background: oklch(78% 0.09 258); }
.timeline__when { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); }
.timeline__step h4 { font-size: 17px; }
.timeline__step p { font-size: 14px; color: var(--muted); line-height: 1.45; }

/* -------------------------------------------------- нумерованные шаги */

.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; }
.steps li {
  counter-increment: s;
  background: var(--bg);
  padding: 22px 24px;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 20px;
  align-items: start;
}
.steps li::before {
  content: counter(s, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  padding-top: 3px;
}
.steps h4 { font-size: 17px; margin-bottom: 5px; }
.steps p { font-size: 14.5px; color: var(--muted); line-height: 1.5; max-width: 74ch; }
.steps--cards { grid-template-columns: repeat(3, 1fr); background: transparent; border: 0; gap: 14px; }
.steps--cards li { border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); grid-template-columns: 1fr; gap: 14px; padding: 30px 26px 28px; }
.steps--cards li::before {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 3vw, 44px);
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--muted-display);
  padding: 0 0 4px;
  border-bottom: 1px solid var(--border);
}
.steps--cards li:first-child::before { color: var(--fg); }

/* -------------------------------------------------- чек-лист документов */

.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checklist li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 14px;
  align-items: start;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--surface);
  font-size: 15px;
}
.checklist svg { color: var(--accent); margin-top: 3px; }
.checklist small { display: block; font-size: 13px; color: var(--muted); margin-top: 3px; }

/* -------------------------------------------------- врезка-примечание */

.note {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface);
  padding: 22px 24px;
  display: grid;
  gap: 8px;
  max-width: 76ch;
}
.note__label { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); }
.note p { font-size: 14.5px; color: var(--muted); line-height: 1.55; }
.note--accent { background: var(--accent-soft); border-color: transparent; }
.note--accent p { color: oklch(33% 0.035 258); }
.note--accent .note__label { color: oklch(40% 0.06 258); }

/* -------------------------------------------------- таблица */

.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); }
table.data { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 560px; }
table.data th, table.data td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--border); vertical-align: top; }
table.data thead th { font-family: var(--font-mono); font-size: 10.5px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); background: var(--bg); }
table.data tbody tr:last-child td { border-bottom: 0; }
table.data td b { font-weight: 600; }
table.data td.num-cell { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; white-space: nowrap; }
.table-caption { font-size: 12.5px; color: var(--muted); margin-top: 10px; }

/* -------------------------------------------------- аккордеон */

.acc { border-top: 1px solid var(--border); }
.acc__item { border-bottom: 1px solid var(--border); }
.acc__head {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 38px;
  align-items: center;
  gap: 20px;
  padding: 22px 4px;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  color: var(--fg);
  font: inherit;
  transition: padding-left .2s ease;
}
.acc__head:hover { padding-left: 10px; }
.acc__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(17px, 1.6vw, 21px); letter-spacing: -0.024em; }
.acc__icon {
  justify-self: end;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: grid; place-items: center;
  transition: background-color .2s ease, border-color .2s ease, transform .25s ease, color .2s ease;
}
.acc__head:hover .acc__icon { background: var(--fg); border-color: var(--fg); color: var(--on-dark); }
.acc__item[data-open="true"] .acc__icon { background: var(--fg); border-color: var(--fg); color: var(--on-dark); transform: rotate(45deg); }
.acc__panel { display: none; padding: 0 4px 26px; }
.acc__item[data-open="true"] .acc__panel { display: block; }

/* -------------------------------------------------- вкладки и тепловая карта */

.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 20px; }
.tabs button {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.tabs button:hover { color: var(--fg); border-color: oklch(76% 0.004 250); }
.tabs button[aria-selected="true"] { background: var(--fg); border-color: var(--fg); color: var(--on-dark); }

.heat-scroll { overflow-x: auto; padding-bottom: 8px; }
.heat { display: grid; grid-template-columns: 46px repeat(12, minmax(30px, 1fr)); gap: 3px; min-width: 560px; }
.heat__corner, .heat__month, .heat__hour { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.04em; color: var(--muted); text-transform: uppercase; }
.heat__month { text-align: center; padding-bottom: 4px; }
.heat__hour { display: flex; align-items: center; }
.heat__cell { height: 13px; border-radius: 3px; background: var(--surface-2); }
.heat__legend { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.heat__scale { display: flex; gap: 3px; }
.heat__scale i { width: 22px; height: 10px; border-radius: 2px; }

/* -------------------------------------------------- фото-блок с оверлеем */

.showcase {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  color: #fff;
  isolation: isolate;
}
.showcase__bg { position: absolute; inset: 0; z-index: -2; }
.showcase__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); filter: blur(1.2px) saturate(0.96); }
.showcase::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, oklch(18% 0.02 250 / 0.42) 0%, oklch(18% 0.02 250 / 0.18) 40%, oklch(13% 0.01 250 / 0.8) 100%);
}
.showcase__top { display: flex; justify-content: space-between; gap: 16px; padding: 22px; flex-wrap: wrap; }
.showcase__body {
  margin-top: auto;
  padding: 22px 22px 30px;
  display: grid;
  grid-template-columns: minmax(260px, 360px) 1fr;
  gap: 34px;
  align-items: end;
}
.showcase__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(23px, 2.5vw, 38px); line-height: 1.14; letter-spacing: -0.028em; text-wrap: balance; }
.showcase__title .dim { color: oklch(100% 0 0 / 0.6); }
.showcase__text { font-size: 15px; color: oklch(100% 0 0 / 0.87); max-width: 54ch; text-wrap: pretty; }

.glass-card {
  background: oklch(100% 0 0 / 0.92);
  backdrop-filter: blur(16px);
  border-radius: var(--r-md);
  padding: 20px;
  color: var(--fg);
  display: grid;
  gap: 14px;
  box-shadow: 0 18px 40px oklch(15% 0.02 250 / 0.28);
}
.glass-card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.glass-card__value { font-family: var(--font-display); font-weight: 700; font-size: 30px; letter-spacing: -0.04em; }
.glass-card__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.glass-card__steps span { height: 6px; border-radius: 999px; background: var(--surface-2); }
.glass-card__steps span[data-done] { background: var(--accent); }
.glass-card__legend { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.glass-card p { font-size: 13.5px; color: var(--muted); line-height: 1.45; }

/* -------------------------------------------------- блок «мы небольшие» */

.honest { background: var(--ink); color: var(--on-dark); border-radius: var(--r-lg); padding: clamp(28px, 4vw, 56px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 60px); align-items: start; }
.honest h2 { font-size: clamp(26px, 2.9vw, 42px); font-weight: 600; }
.honest h2 .dim { color: oklch(100% 0 0 / 0.42); }
.honest__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.honest__list li { display: grid; gap: 6px; padding-bottom: 18px; border-bottom: 1px solid var(--ink-border); }
.honest__list li:last-child { border-bottom: 0; padding-bottom: 0; }
.honest__list h4 { font-size: 17px; }
.honest__list p { font-size: 14.5px; color: var(--ink-muted); line-height: 1.5; }

/* -------------------------------------------------- офисы и подтверждения */

.offices { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r-sm); overflow: hidden; }
.offices li { background: var(--bg); padding: 18px; display: grid; gap: 5px; }
.offices b { font-weight: 600; font-size: 16px; }
.offices span { font-size: 12.5px; color: var(--muted); font-family: var(--font-mono); letter-spacing: 0.05em; }

.proof { display: grid; gap: 12px; }
.proof__item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 22px;
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 16px;
  align-items: start;
}
.proof__item svg { color: var(--accent); }
.proof__item p { font-size: 14.5px; color: var(--muted); margin-top: 6px; line-height: 1.5; }

/* -------------------------------------------------- конверсионный блок */

.cta {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: clamp(26px, 3.4vw, 52px);
  display: grid;
  grid-template-columns: minmax(280px, 430px) 1fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
  border: 1px solid var(--border);
}
.cta-list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }
.cta-list li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; font-size: 15px; color: var(--muted); align-items: start; line-height: 1.45; }
.cta-list svg { color: var(--accent); margin-top: 3px; }

/* -------------------------------------------------- смежные услуги */

.related { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.related a {
  display: grid;
  gap: 8px;
  padding: 26px;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  text-decoration: none;
  color: var(--fg);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.related a:hover { border-color: oklch(74% 0.004 250); box-shadow: 0 14px 34px oklch(20% 0.01 250 / 0.08); }
.related .card__kicker { margin-bottom: 4px; }
.related h3 { font-size: 20px; }
.related p { font-size: 14.5px; color: var(--muted); line-height: 1.5; }

/* -------------------------------------------------- правовой документ */

.doc { max-width: 78ch; display: grid; gap: 26px; }
.doc section { display: grid; gap: 12px; }
.doc h2 { font-size: clamp(21px, 2vw, 27px); }
.doc p, .doc li { font-size: 15.5px; color: var(--muted); line-height: 1.6; }
.doc ul, .doc ol { margin: 0; padding-left: 22px; display: grid; gap: 8px; }
.doc-toc { position: sticky; top: 104px; display: grid; gap: 8px; align-content: start; }
.doc-toc a { font-size: 14px; color: var(--muted); text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent; }
.doc-toc a:hover { color: var(--fg); border-bottom-color: var(--border); }

/* -------------------------------------------------- строки характеристик в карточке */

.card__rows { display: grid; gap: 9px; margin-top: 4px; padding-top: 16px; border-top: 1px solid var(--border); }
.card__rows div { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; font-size: 13.5px; color: var(--muted); }
.card__rows b { color: var(--fg); font-weight: 600; text-align: right; }

/* строки характеристик на залитой акцентной карточке */
.card--accent .card__rows { margin-top: auto; border-top-color: oklch(100% 0 0 / 0.24); }
.card--accent .card__rows div { color: oklch(100% 0 0 / 0.84); }
.card--accent .card__rows b { color: #fff; }
.card--accent .ph { color: inherit; border-bottom-color: oklch(100% 0 0 / 0.45); }

/* -------------------------------------------------- конверсионная полоса внутренних страниц */

.cta-band {
  background: var(--ink);
  color: var(--on-dark);
  border-radius: var(--r-lg);
  padding: clamp(28px, 4vw, 54px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}
.cta-band h2 { font-size: clamp(24px, 2.6vw, 38px); font-weight: 600; }
.cta-band h2 .dim { color: oklch(100% 0 0 / 0.42); }
.cta-band p { color: var(--ink-muted); font-size: 15px; margin-top: 14px; max-width: 56ch; line-height: 1.55; }
.cta-band__side { display: grid; gap: 12px; justify-items: start; }

/* -------------------------------------------------- документ с оглавлением */

.doc-grid { display: grid; grid-template-columns: 1fr minmax(190px, 240px); gap: clamp(28px, 4vw, 64px); align-items: start; }

/* -------------------------------------------------- адаптив компонентов */

@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento__card--soft { grid-column: 1 / -1; min-height: 0; }
  .bento__card--soft .bento__value { margin-top: 0; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .steps--cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
  .hero { height: auto; min-height: 0; padding-bottom: 26px; }
  .hero__mark { margin-top: 104px; }
  .hero__foot { grid-template-columns: 1fr; gap: 24px; margin-top: 52px; }
  .page-hero__grid, .showcase__body, .honest, .cta, .flow__head { grid-template-columns: 1fr; }
  .page-hero { padding-top: 104px; }
  .compare { grid-template-columns: 1fr; }
  .offices { grid-template-columns: 1fr; }
  .costbar__legend { grid-template-columns: 1fr; }
  .doc-toc { position: static; }
  .cta-band { grid-template-columns: 1fr; }
  .doc-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .cards, .cards--2, .related, .steps--cards, .timeline, .facts { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .bento__card { min-height: 0; grid-column: auto; }
  .costbar__track { height: auto; flex-direction: column; }
  .costbar__seg { flex: none !important; padding: 14px 16px; }
  .costbar__seg--d span { display: block; }
  .costbar__seg--d b { font-size: 22px; }
  .steps li { grid-template-columns: 34px 1fr; gap: 14px; padding: 20px 18px; }
  .chain { display: grid; grid-template-columns: 1fr; }
  .chain__arrow { transform: rotate(90deg); justify-self: center; }
  .showcase { min-height: 440px; }
  .heat { grid-template-columns: 40px repeat(12, 30px); }
}
