/* ============================================================
   ЭРАЛИДЕР — лендинг. Дизайн-система + секции.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* Dark (hero / dark sections) */
  --c-dark:        #0c0f0e;
  --c-dark-2:      #111513;
  --c-dark-soft:   #161b18;
  --c-dark-line:   rgba(255,255,255,.10);

  /* Light sections */
  --c-bg:          #FAF6F6;
  --c-bg-2:        #f0efe9;
  --c-card:        #ffffff;
  --c-card-soft:   #faf9f5;

  /* Text */
  --c-ink:         #16130f;
  --c-ink-2:       #44403a;
  --c-muted:       #837e75;
  --c-on-dark:     #f3f1ea;
  --c-on-dark-mut: #9aa09a;

  /* Accents */
  --c-accent:      #DCD5C8;
  --c-sand-1:      #cdb486;
  --c-sand-2:      #a98f5e;
  --c-green:       #8aa06a;
  --c-olive:       #a39b62;

  /* Lines */
  --c-line:        #e0dcd2;
  --c-line-soft:   #e8e5dc;

  /* Layout */
  --pad:           40px;
  --radius:        14px;
  --radius-lg:     20px;

  --ff: 'Akt', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ff);
  background: var(--c-bg);
  color: var(--c-ink);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
:focus-visible { outline: 2px solid var(--c-sand-2); outline-offset: 3px; border-radius: 4px; }

.container {
  width: 100%;
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* ---------- 12-column grid ---------- */
/* паддинги слева/справа 40px (через .container), гаттер 20px, 12 динамических колонок */
.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 20px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.02em;
  transition: transform .18s ease, background .2s ease, color .2s ease, border-color .2s ease, opacity .2s, filter .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn__text { display: inline-block; }
.btn__divider { width: 1px; height: 14px; background: rgba(22,22,22,.15); flex-shrink: 0; }
.btn__arrow { display: inline-flex; width: 16px; height: 16px; color: #161616; }

.btn--primary {
  background: #DCD5C8;
  color: #161616;
}
.btn--primary:hover { filter: brightness(1.04); }
.btn--outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.25);
}
.btn--outline:hover { border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.05); }
.btn--ghost {
  background: transparent;
  color: var(--c-ink);
  border: 1px solid var(--c-line);
}
.btn--ghost:hover { border-color: var(--c-ink); }
.btn--dark {
  background: var(--c-ink);
  color: var(--c-on-dark);
}
.btn--dark:hover { background: #2a2620; }
.btn--ghost-light {
  background: transparent;
  color: var(--c-on-dark);
  border: 1px solid rgba(255,255,255,.18);
  font-weight: 500;
}
.btn--ghost-light:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.4); }
.btn--block { width: 100%; }

/* ---------- Eyebrow / badges ---------- */
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: 22px;
}
.eyebrow--light { color: var(--c-on-dark-mut); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .02em;
  padding: 8px 16px;
  border-radius: 999px;
}
.badge--light {
  color: var(--c-on-dark);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(6px);
}
.badge__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--c-green);
  box-shadow: 0 0 10px 1px rgba(138,160,106,.8);
}

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; }
.logo__img { height: 34px; width: auto; display: block; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(12,15,14,0);
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s, transform .35s ease;
  border-bottom: 1px solid transparent;
}
.header.is-hidden { transform: translateY(-100%); }
.header.is-stuck {
  background: rgba(12, 15, 14, .4);
  backdrop-filter: blur(20px);
  border-bottom-color: var(--c-dark-line);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  height: 72px;
}
.header__inner .logo { flex-shrink: 0; }
.header .logo { color: var(--c-on-dark); }

.nav {
  flex: 1;                     /* занимает всё пространство между лого и кнопкой */
  display: flex;
  align-items: center;
  justify-content: center;     /* пункты по центру */
  gap: 22px;
}
.nav__link {
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.01em;
  color: #fff;
  text-decoration: underline transparent;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 6px;
  transition: text-decoration-color .2s, opacity .2s;
}
.nav__link:hover { text-decoration-color: rgba(255,255,255,.45); }

/* 8 пунктов в шапке: на узких десктопах уплотняем шаг, чтобы строка не переносилось */
@media (max-width: 1360px) and (min-width: 1201px) {
  .nav { gap: 13px; }
  .nav__link { font-size: 13px; }
}

.header__cta {
  flex-shrink: 0;
  font-size: 14px;
  padding: 12px 16px;
}

.burger { display: none; width: 40px; height: 40px; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.burger span { width: 22px; height: 2px; background: var(--c-on-dark); border-radius: 2px; transition: transform .25s, opacity .25s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* контент сверху, статистика снизу */
  background: var(--c-dark) url("../assets/bg-main.png") center / cover no-repeat;
  color: var(--c-on-dark);
  margin-top: -72px;
  padding-top: 196px;           /* 72px шапки + отступ до контента */
  padding-bottom: 56px;         /* от преимуществ до низа секции */
  overflow: hidden;
}
.hero__inner {
  position: relative;
  align-items: start;
  margin-bottom: 128px;         /* от основного контента до преимуществ */
}
.hero__col--right {
  grid-column: 1 / 7;           /* весь контент в левой колонке */
  grid-row: 3;
  margin-top: 44px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 38px;
}

.hero__label {
  grid-column: 1 / 7;
  grid-row: 1;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-radius: 100px;
  background: rgba(255,255,255,.06);
  font-size: 14px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  margin-bottom: 28px;
}
.hero__label-icon {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--c-accent);
  flex-shrink: 0;
}

.hero__title {
  grid-column: 1 / 7;
  grid-row: 2;
  font-size: 60px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.03em;
  color: #fff;
  margin: 0;
}
.hero__title span {
  font-weight: 300;
}
.hero__subtitle {
  font-size: 20px;
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: -.01em;
  color: #fff;
  max-width: 420px;
  margin: 0;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Stats / advantages bar ---------- */
.stats {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 40px;
  border-radius: 8px;
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
/* Полуградиентный бордер (не однородный белый) */
.stats::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;                 /* толщина бордера */
  background: linear-gradient(
    120deg,
    rgba(255,255,255,.05) 0%,
    rgba(255,255,255,.30) 35%,
    rgba(255,255,255,.05) 55%,
    rgba(255,255,255,.40) 100%
  );
  /* показываем только рамку: вычитаем внутреннюю область */
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
          mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
.stats__item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
}
.stats__num {
  font-size: 38px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -1px;
  color: #fff;
}
.stats__label {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: -.01em;
  color: #fff;
  opacity: .7;
  max-width: 200px;
}
.stats__sep {
  flex-shrink: 0;
  width: 1px;
  height: 24px;
  background: rgba(255,255,255,.3);
}

/* ---------- Section base ---------- */
.section { padding-block: clamp(64px, 8vw, 110px); }
.section--pad-top-0 { padding-top: 0; }
/* Светлые контентные блоки: 100px сверху, стыкуются встык (между блоками = 100px) */
.section--light { background: var(--c-bg); color: var(--c-ink); padding-top: 100px; padding-bottom: 0; }
.section--dark { background: var(--c-dark); color: var(--c-on-dark); position: relative; overflow: hidden; }
.section--dark::before {
  content: ""; position: absolute; top: 0; left: -10%; width: 60%; height: 60%;
  background: radial-gradient(ellipse at center, rgba(120,140,160,.10), transparent 70%);
  pointer-events: none;
}
.section--cta { background: var(--c-bg); }

.section__title {
  font-size: clamp(28px, 3.8vw, 46px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.02em;
  color: var(--c-ink);
}
.section__title--light { color: var(--c-on-dark); }
.section__lead {
  font-size: 16px; color: var(--c-ink-2); max-width: 440px; line-height: 1.6;
}
.section__head { margin-bottom: 48px; }
.section__head--split {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: start;
}
.section__head--end { align-items: end; }
.section__head-aside { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }

/* ---------- Cards grid (scenarios) ---------- */
/* ---------- Scenarios (block 2) ---------- */
.scenarios { align-items: start; }
.scenarios__intro { grid-column: 1 / 5; max-width: 420px; }

/* Переиспользуемая типографика заголовочной части блоков */
.block-eyebrow {
  display: block;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -.01em;
  text-transform: uppercase;
  color: rgba(22,22,22,.4);
  margin-bottom: 20px;
}
.block-title {
  font-size: 48px;
  font-weight: 300;             /* light */
  line-height: 1;
  letter-spacing: -.03em;
  color: #161616;
  margin: 0 0 30px;
}
.block-title .m { font-weight: 500; }   /* medium — первая часть */
.block-lead {
  font-size: 20px;
  font-weight: 300;
  line-height: 1.35;
  letter-spacing: -.01em;
  color: rgba(22,22,22,.5);
  margin: 0;
}
.block-lead .strong { color: #161616; }    /* первое предложение — полная непрозрачность */

/* Тёмный контекст — те же заголовки на белом тексте */
.on-dark .block-eyebrow { color: rgba(255,255,255,.5); }
.on-dark .block-title { color: #fff; }
.on-dark .block-lead { color: rgba(255,255,255,.5); }
.on-dark .block-lead .strong { color: #fff; }

.scenarios__cards {
  grid-column: 5 / 13;
  display: grid;
  grid-template-columns: repeat(2, 1fr);  /* 1 карточка = 4 колонки из 12 */
  grid-auto-rows: 1fr;                     /* все карточки одной (самой большой) высоты */
  gap: 20px;
}
.card {
  display: flex;
  flex-direction: column;
  padding: 30px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 12px 36px -24px rgba(22,19,15,.08);
  transition: background .2s ease, transform .25s ease, box-shadow .25s ease;
}
.card:hover {
  background: var(--c-accent);   /* фирменный песочный, как у кнопок */
  transform: translateY(-6px);
  box-shadow: 0 24px 50px -28px rgba(22,19,15,.22);
}
.card__num {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--c-accent);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -.01em;
  color: var(--c-accent);
  margin-bottom: 40px;
  transition: border-color .2s ease, color .2s ease;
}
.card__num-val { transition: opacity .2s ease; }
.card__num-arr {
  position: absolute; inset: 0; margin: auto;
  width: 16px; height: 16px; color: #161616;
  opacity: 0; transition: opacity .2s ease;
}
.card:hover .card__num { border-color: #161616; color: #161616; }
.card:hover .card__num-val { opacity: 0; }
.card:hover .card__num-arr { opacity: 1; }
.card__title {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -.01em;
  color: #161616;
  margin: 0 0 10px;
}
.card__text {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: -.01em;
  color: rgba(22,22,22,.5);
  max-width: 400px;
}

/* ---------- Process (block 3) ---------- */
.process { align-items: start; }
.process__head { grid-column: 1 / -1; margin-bottom: 48px; }   /* от заголовка до контента 48px */

.process__list {
  grid-column: 1 / 8;          /* список = 7 колонок */
  padding-right: 40px;          /* … минус 40px */
}
.process__item {
  display: flex;
  align-items: flex-start;      /* лейбл времени по верху */
  justify-content: space-between;
  gap: 30px;
  padding: 30px 0;              /* 30px от контента до линии и от линии до контента */
  border-bottom: 1px solid rgba(22,22,22,.1);
}
.process__item:first-child { padding-top: 0; }
.process__item:last-child { border-bottom: none; padding-bottom: 0; }

.process__title {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -.01em;
  color: #161616;
  margin-bottom: 10px;
}
.process__text {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: -.01em;
  color: rgba(22,22,22,.5);
  max-width: 460px;
}
.process__time {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-radius: 1000px;
  background: rgba(22,22,22,.06);
  font-size: 14px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #161616;
  white-space: nowrap;
}
.process__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--c-accent);
  flex-shrink: 0;
}
.process__aside {
  grid-column: 8 / 13;          /* изображение с 8-й колонки до конца */
  align-self: stretch;
  border-radius: 6px;
  overflow: hidden;
}
.process__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Methodology ---------- */
/* ---------- Methodology (block 4) ---------- */
#method { padding-bottom: 100px; }                     /* отступ снизу блока */
.method__head { margin-bottom: 48px; }                 /* до карточек 48px */
.method__head .block-lead { max-width: 560px; }        /* ширина описания */

.method { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.method__card {
  --bar: var(--c-accent);
  position: relative;
  overflow: hidden;
  height: 370px;
  padding: 30px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 12px 36px -24px rgba(22,19,15,.08);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
}
.method__card--1 { --bar: #95BD99; }
.method__card--2 { --bar: #C2B79F; }
.method__card--3 { --bar: #98A7D5; }

.method__bar {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--bar);
}
.method__label {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: rgba(22,22,22,.5);
  margin-bottom: 48px;
  transition: color .25s ease;
}
.method__title {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -.01em;
  color: #161616;
  margin-bottom: 10px;
  transition: color .25s ease;
}
.method__text {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: -.01em;
  color: rgba(22,22,22,.5);
  max-width: 380px;
  transition: color .25s ease;
}
.method__more {
  margin-top: auto;            /* прижать кнопку к низу */
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.02em;
  color: #161616;
  transition: color .25s ease;
}
.method__more .btn__divider { transition: background .25s ease; }
.method__more::after {       /* кликабельна вся карточка */
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.method__big {
  position: absolute;
  right: 30px;
  bottom: 20px;
  font-size: 83px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.1em;
  color: var(--bar);
  pointer-events: none;
  transition: color .25s ease;
}

/* Ховер — заливка цветом плашки, весь контент белый */
.method__card:hover { background: var(--bar); transform: translateY(-8px); box-shadow: 0 24px 50px -28px rgba(22,19,15,.22); }
.method__card:hover .method__label,
.method__card:hover .method__title,
.method__card:hover .method__text,
.method__card:hover .method__more { color: #fff; }
.method__card:hover .method__more .btn__arrow { color: #fff; }
.method__card:hover .method__more .btn__divider { background: rgba(255,255,255,.45); }
.method__card:hover .method__big { color: rgba(255,255,255,.28); }

/* ---------- Flagship case ---------- */
.section--case {
  position: relative;
  /* фон-картинка статична (фиксирована к окну), листается левая плашка вместе со страницей */
  background: var(--c-dark) url("../assets/flagman.jpg") center / cover no-repeat fixed;
}
/* левая плашка 50% — обычный поток, скроллится вся страница, фото остаётся статичным */
.case__panel {
  position: relative;
  width: 50%;
  min-height: 100vh;
  background: rgba(0,0,0,.4);
  -webkit-backdrop-filter: blur(80px);
  backdrop-filter: blur(80px);
}
.case__panel-inner { padding: 100px 56px 80px var(--pad); }

/* лейбл как на hero-блоке */
.case__label {
  display: inline-flex; align-items: center;
  padding: 10px 16px; border-radius: 100px;
  background: rgba(255,255,255,.06);
  font-size: 14px; font-weight: 300; line-height: 1;
  letter-spacing: .05em; text-transform: uppercase;
  color: rgba(255,255,255,1);
  margin: 0 0 40px;
}

.case__panel-inner .block-lead { max-width: 600px; }
.case__panel-inner .block-lead .strong { color: #fff; }

.case-steps { display: flex; flex-direction: column; margin-top: 100px; }
.case-step {
  display: grid; grid-template-columns: auto 1fr; gap: 24px;
  padding: 36px 0;
  border-top: 1px solid rgba(255,255,255,.12);
}
.case-step:first-child { border-top: none; padding-top: 0; }
.case-step__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: #DCD5C8; color: #000;
  font-size: 14px; font-weight: 400; line-height: 1.3; letter-spacing: -.01em;
  flex-shrink: 0;
}
.case-step__title { font-size: 20px; font-weight: 500; line-height: 1.3; letter-spacing: -.01em; color: #fff; margin-bottom: 16px; max-width: 500px; }
.case-step:first-child .case-step__title { max-width: 480px; }
.case-step__text { font-size: 16px; font-weight: 300; line-height: 1.4; letter-spacing: -.01em; color: rgba(255,255,255,.5); max-width: 580px; }

.case-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: 40px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  overflow: hidden;
}
.case-stat { padding: 24px 18px; border-right: 1px solid rgba(255,255,255,.14); }
.case-stat:last-child { border-right: none; }
.case-stat__num { display: block; font-size: 40px; font-weight: 700; line-height: 1; letter-spacing: -.03em; color: #fff; margin-bottom: 16px; }
.case-stat__label { display: block; font-size: 14px; font-weight: 300; line-height: 1.3; letter-spacing: -.01em; color: rgba(255,255,255,.5); }

/* ---------- More cases (block «Ещё кейсы») ---------- */
.morecases__head {
  align-items: start;
  margin-bottom: 48px;          /* до карточек 48px */
}
.morecases__head .block-eyebrow { grid-column: 1 / 7; grid-row: 1; }
.morecases__head .block-title   { grid-column: 1 / 7; grid-row: 2; margin: 0; }
.morecases__aside {
  grid-column: 7 / 13;          /* описание и кнопка по 7-й колонке */
  grid-row: 2;                   /* выравнивание по верху заголовка */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
}
.morecases__head .block-lead { max-width: 440px; }

.morecases__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;  /* 2 карточки по 6 колонок */
  gap: 40px 20px;
}
.case-card {
  background: #fff;
  border-radius: 6px;
  padding: 30px;
  box-shadow: 0 12px 36px -24px rgba(22,19,15,.08);
  display: flex; flex-direction: column;
}
.case-card__title {            /* заголовок — как заголовок карточки опросника */
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -.01em;
  color: #161616;
  margin: 0 0 12px;
}
.case-card__type {              /* формат кейса с «—» — как лейбл опросника */
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: rgba(22,22,22,.5);
  margin-bottom: 30px;
}
.case-card__type::before { content: "— "; }

.case-card__text {
  position: relative;
  padding-left: 22px;            /* плашка 2px + 20px до текста */
  font-size: 16px;
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: -.01em;
  color: #161616;
}
.case-card__text::before {       /* вертикальная плашка слева */
  content: "";
  position: absolute;
  left: 0;
  top: 3px; bottom: 3px;         /* на 6px ниже текста, по центру */
  width: 2px;
  background: var(--c-accent);
}

.case-card__stats {
  display: flex;
  gap: 80px;
  margin-top: 40px;              /* от текста до разделителя */
  padding-top: 30px;            /* от разделителя до фактов */
  border-top: 1px solid rgba(22,22,22,.15);
  flex-wrap: wrap;
}
.mini-stat { width: 120px; display: flex; flex-direction: column; gap: 12px; }
.mini-stat__num { font-size: 38px; font-weight: 500; line-height: 1; letter-spacing: -1px; color: #161616; }
.mini-stat__label { font-size: 14px; font-weight: 300; line-height: 1.3; letter-spacing: -.01em; color: rgba(22,22,22,.5); }

/* ---------- Advantages / compare table ---------- */
#advantages { padding-bottom: 100px; }
.advantages { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: start; }
.advantages .block-title { max-width: 480px; }
.advantages__text .block-lead { max-width: 500px; }

.compare { width: 100%; border-collapse: collapse; table-layout: fixed; }
.compare th {
  text-align: left;
  font-size: 13px; font-weight: 400; letter-spacing: .04em; text-transform: uppercase;
  color: rgba(22,22,22,.4);
  padding: 0 0 18px;
  border-bottom: 1px solid #161616;
}
.compare th:first-child, .compare td:first-child { width: 56%; }
.compare th:first-child { padding-left: 20px; }
.compare td {
  padding: 18px 0;
  border-bottom: 1px solid rgba(22,22,22,.08);
  vertical-align: middle;
  font-size: 16px;
  line-height: 1.3;
}
.compare td:first-child { color: #161616; padding-right: 24px; padding-left: 20px; }
.compare td:last-child { color: #161616; font-weight: 500; }
.compare tbody td:last-child::before {     /* знак ЭРАЛИДЕР перед значением */
  content: "";
  display: inline-block;
  width: 20px; height: 20px;
  margin-right: 10px;
  vertical-align: middle;
  background: url("../assets/logo-elem.svg") center / contain no-repeat;
}

/* ---------- Certification / «Единый реестр» ---------- */
#certification {
  background: #06090A;
}
.cert__bg {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;                 /* растянуто по высоте блока */
  width: auto;
  object-fit: cover;
  object-position: left center; /* прибито к левому краю экрана */
  z-index: 0;
  pointer-events: none;
  /* правый край бесшовно растворяется в фоне секции */
  -webkit-mask-image: linear-gradient(to right, #000 80%, transparent 100%);
          mask-image: linear-gradient(to right, #000 80%, transparent 100%);
}
.cert { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 20px; align-items: start; }
.reestr__card { grid-column: 1 / 7; width: 560px; }
.cert__text { grid-column: 7 / 13; }   /* правый контент с 7-й колонки */

.reestr__card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 50px 40px;
  border-radius: 8px;
  background: rgba(0,0,0,.1);
  -webkit-backdrop-filter: blur(40px);
  backdrop-filter: blur(40px);
}
/* Полуградиентный бордер — как у hero-плашки */
.reestr__card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    120deg,
    rgba(255,255,255,.05) 0%,
    rgba(255,255,255,.30) 35%,
    rgba(255,255,255,.05) 55%,
    rgba(255,255,255,.40) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
          mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
.reestr__card-logo { width: 44px; height: auto; margin-bottom: 40px; }  /* знак сверху, тело прижато вниз */
.reestr__card-body { display: flex; flex-direction: column; }
.reestr__card-eyebrow {
  font-size: 14px; font-weight: 400; line-height: 1.3; letter-spacing: .04em;
  text-transform: uppercase; color: rgba(255,255,255,.5);
  margin-bottom: 12px;
}
.reestr__card-title {
  font-size: 34px; font-weight: 500; line-height: 1; letter-spacing: -.03em;
  color: #fff;
}
.reestr__card-divider { height: 1px; background: rgba(255,255,255,.14); margin-top: 40px; margin-bottom: 20px; }
.reestr__card-meta { font-size: 16px; font-weight: 500; line-height: 1.3; letter-spacing: -.01em; color: rgba(255,255,255,.5); }

.cert__text { display: flex; flex-direction: column; align-items: flex-start; }
.cert__text .block-lead { max-width: 560px; }
.cert__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 50px; max-width: 560px; }
.cert__links .btn {
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: .04em;
  padding: 12px 16px;
}

/* ---------- CTA + form ---------- */
.cta { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 20px; align-items: start; }
.cta__text { grid-column: 1 / 7; }
.cta__text .block-lead { margin: 24px 0 50px; max-width: 510px; }
.contacts { display: flex; flex-direction: column; gap: 18px; font-size: 18px; font-weight: 500; letter-spacing: -.01em; }
.contacts__item { display: flex; align-items: center; gap: 16px; }
.contacts__icon { width: 36px; height: 36px; flex-shrink: 0; }
.contacts a { transition: color .2s; }
.contacts a:hover { color: var(--c-sand-2); }

.form {
  grid-column: 7 / 13;
  margin-right: calc(-1 * var(--pad));   /* правый край уходит в край экрана */
  background: var(--c-card);
  border-radius: 6px 0 0 6px;            /* скругление только по левой стороне */
  padding: 40px;
  box-shadow: 0 18px 50px -34px rgba(22,19,15,.08);
}
.form__title { font-size: 20px; font-weight: 500; line-height: 1.3; letter-spacing: -.01em; color: #000; margin-bottom: 10px; }
.form__sub { font-size: 16px; font-weight: 300; line-height: 1.3; letter-spacing: -.01em; color: #000; margin-bottom: 36px; }
.field { display: block; margin-bottom: 28px; }
.field__label {
  display: block; font-size: 13px; font-weight: 500; letter-spacing: .04em;
  text-transform: uppercase; color: var(--c-muted); margin-bottom: 12px;
}
.field__input {
  width: 100%; padding: 0 0 12px; font-size: 17px; font-family: inherit;
  border: none; border-bottom: 1px solid var(--c-line); border-radius: 0; background: transparent;
  color: var(--c-ink); transition: border-color .2s;
}
.field__input::placeholder { color: #b3afa6; }
.field__input:focus { outline: none; border-bottom-color: var(--c-ink); }
.form__submit { justify-content: space-between; padding: 20px 24px; border-radius: 8px; margin-top: 14px; }
.form__note { font-size: 12px; color: var(--c-muted); line-height: 1.5; margin-top: 20px; }
.form__success { font-size: 14px; font-weight: 600; color: var(--c-green); margin-top: 16px; }

/* ---------- Footer ---------- */
.footer { background: #000; color: #fff; padding-top: 70px; }
.footer__inner {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 20px;
  padding-bottom: 100px;                         /* 100px до разделителя */
}
.footer__logo { grid-column: 1 / 7; align-self: start; }
.footer__logo .logo__img { height: 34px; width: auto; }   /* как в хедере */
.footer__col--product  { grid-column: 7 / 9; }
.footer__col--company  { grid-column: 9 / 11; }
.footer__col--contacts { grid-column: 11 / 13; }

.footer__heading {
  font-size: 14px; font-weight: 400; line-height: 1.3; letter-spacing: .02em;
  text-transform: uppercase; color: #fff; margin-bottom: 24px;
}
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col a {
  font-size: 14px; font-weight: 300; line-height: 1.3; letter-spacing: -.01em;
  color: rgba(255,255,255,.5); transition: color .2s;
}
.footer__col a:hover { color: #fff; }

.footer__bottom {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 20px;
  padding-top: 28px; padding-bottom: 40px;
  border-top: 1px solid rgba(255,255,255,.2);    /* разделитель #fff 0.2 */
}
.footer__legal  { grid-column: 1 / 7; }
.footer__docs   { grid-column: 9 / 11; display: flex; flex-direction: column; gap: 10px; }
.footer__policy { grid-column: 11 / 13; display: flex; flex-direction: column; gap: 10px; }
.footer__legal p,
.footer__bottom a {
  font-size: 14px; font-weight: 300; line-height: 1.4; letter-spacing: -.01em;
  color: rgba(255,255,255,.5);
}
.footer__bottom a { transition: color .2s; }
.footer__bottom a:hover { color: #fff; }

/* ============================================================
   Страница «Кейсы» (cases.html)
   ============================================================ */

/* Активный пункт меню */
.nav__link.is-active { opacity: 1; color: #fff; font-weight: 500; text-decoration-color: #fff; }

/* ---------- Page hero (тёмный, под белым хедером) ---------- */
.page-hero {
  position: relative;
  background: var(--c-dark) url("../assets/bg-main.png") center / cover no-repeat;
  color: var(--c-on-dark);
  margin-top: -72px;            /* хедер ложится поверх, как на главной */
  padding-top: 160px;
  padding-bottom: 80px;
  overflow: hidden;
}
.page-hero .block-eyebrow { color: rgba(255,255,255,.5); }
.page-hero__breadcrumb {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; letter-spacing: .04em; text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-bottom: 40px;
}
.page-hero__breadcrumb a { color: rgba(255,255,255,.45); transition: color .2s; }
.page-hero__breadcrumb a:hover { color: #fff; }
.page-hero__title {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 300; line-height: 1; letter-spacing: -.03em;
  color: #fff; margin: 0 0 28px; max-width: 18ch;
}
.page-hero__title .m { font-weight: 500; }
.page-hero__lead {
  font-size: 20px; font-weight: 300; line-height: 1.4; letter-spacing: -.01em;
  color: rgba(255,255,255,.6); max-width: 640px; margin: 0 0 56px;
}
.page-hero__lead .strong { color: #fff; }

/* ---------- Фильтры ---------- */
.cp-filters {
  background: var(--c-bg-2);
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  padding: 22px 0;
}
.cp-filters__inner { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }
.cp-filter-group { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.cp-filter-label {
  font-size: 12px; font-weight: 400; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(22,22,22,.4); margin-right: 4px;
}
.cp-filter-btn {
  font-size: 13px; font-weight: 400; line-height: 1; letter-spacing: -.01em;
  color: rgba(22,22,22,.6); background: #fff;
  border: 1px solid var(--c-line); border-radius: 999px; padding: 9px 16px;
  transition: background .2s, color .2s, border-color .2s;
}
.cp-filter-btn:hover { border-color: var(--c-ink); color: var(--c-ink); }
.cp-filter-btn.is-active { background: var(--c-ink); color: #fff; border-color: var(--c-ink); }

/* ---------- Общая шапка секции на странице ---------- */
.cp-section-head { max-width: 720px; margin-bottom: 56px; }
.cp-section-head .block-lead { max-width: 640px; }

/* ---------- Флагманские кейсы ---------- */
.cp-flagship__list { display: flex; flex-direction: column; gap: 24px; }
.fcase {
  background: #fff;
  border-radius: 6px;
  padding: 40px;
  box-shadow: 0 12px 36px -24px rgba(22,19,15,.08);
}
.fcase__top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; margin-bottom: 28px;
}
.fcase__counter { font-size: 14px; font-weight: 400; letter-spacing: .08em; color: rgba(22,22,22,.35); }
.fcase__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.fcase__tag {
  display: inline-flex; gap: 6px;
  font-size: 13px; font-weight: 300; line-height: 1; letter-spacing: -.01em;
  color: #161616; background: rgba(22,22,22,.05);
  border-radius: 999px; padding: 8px 14px;
}
.fcase__tag span { color: rgba(22,22,22,.4); }
.fcase__org {
  display: block;
  font-size: 14px; font-weight: 400; letter-spacing: .04em; text-transform: uppercase;
  color: rgba(22,22,22,.45); margin-bottom: 12px;
}
.fcase__title {
  font-size: 26px; font-weight: 500; line-height: 1.18; letter-spacing: -.02em;
  color: #161616; max-width: 780px; margin-bottom: 18px;
}
.fcase__desc {
  font-size: 17px; font-weight: 300; line-height: 1.45; letter-spacing: -.01em;
  color: rgba(22,22,22,.6); max-width: 780px; margin-bottom: 28px;
}
.fcase__quote {
  position: relative; padding-left: 22px;
  font-size: 16px; font-weight: 300; font-style: italic; line-height: 1.5; letter-spacing: -.01em;
  color: #161616; max-width: 780px; margin-bottom: 32px;
}
.fcase__quote::before {
  content: ""; position: absolute; left: 0; top: 4px; bottom: 4px;
  width: 2px; background: var(--c-sand-1);
}
.fcase__author {
  display: block; font-style: normal;
  font-size: 13px; font-weight: 400; letter-spacing: .02em; text-transform: uppercase;
  color: rgba(22,22,22,.4); margin-top: 12px;
}
.fcase__stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--c-line); border-radius: 8px; overflow: hidden;
}
.fcase__stat { padding: 22px 20px; border-right: 1px solid var(--c-line); }
.fcase__stat:last-child { border-right: none; }
.fcase__stat-num { display: block; font-size: 36px; font-weight: 500; line-height: 1; letter-spacing: -.03em; color: #161616; margin-bottom: 12px; }
.fcase__stat-label { display: block; font-size: 14px; font-weight: 300; line-height: 1.3; letter-spacing: -.01em; color: rgba(22,22,22,.5); }

.cp-empty { font-size: 18px; font-weight: 300; color: rgba(22,22,22,.5); padding: 20px 0; }

/* ---------- Стена благодарностей ---------- */
.cp-wall__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.wcard {
  display: flex; flex-direction: column; gap: 16px;
  background: #fff; border-radius: 6px; padding: 30px;
  box-shadow: 0 12px 36px -24px rgba(22,19,15,.08);
}
.wcard__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.wtag {
  font-size: 12px; font-weight: 400; letter-spacing: .04em; text-transform: uppercase;
  color: #5f6f43; background: rgba(138,160,106,.14);
  border-radius: 999px; padding: 5px 12px;
}
.wtag--industry { color: rgba(22,22,22,.55); background: rgba(22,22,22,.05); }
.wcard__quote {
  flex: 1;
  font-size: 16px; font-weight: 300; line-height: 1.45; letter-spacing: -.01em;
  color: #161616;
}
.wcard__author {
  display: flex; align-items: center; gap: 10px;
  padding-top: 16px; border-top: 1px solid rgba(22,22,22,.1);
  font-size: 14px; font-weight: 300; letter-spacing: -.01em; color: rgba(22,22,22,.5);
}
.wcard__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--c-green); flex-shrink: 0; }

/* ---------- CTA страницы ---------- */
.cp-cta { padding-bottom: 110px; }
.cp-cta__inner {
  display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center;
  background: #fff; border-radius: 6px; padding: 56px;
  box-shadow: 0 18px 50px -34px rgba(22,19,15,.12);
}
.cp-cta__text { min-width: 0; }   /* 1fr-колонка должна сжиматься */
.cp-cta__text .block-lead { max-width: 520px; }
.cp-cta__actions { display: flex; gap: 14px; flex-wrap: wrap; flex-shrink: 0; }

/* ============================================================
   Страница «Публикации» (publications.html)
   ============================================================ */

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

/* ---------- Категории «О разделе» (используют базу .card) ---------- */
.pub-cats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.pub-cat { text-align: left; }
.pub-cat .card__text { max-width: none; }

/* ---------- Choice of editors ---------- */
.pub-featured {
  display: grid; grid-template-columns: 1.2fr 1fr;
  background: #fff; border-radius: 6px; overflow: hidden;
  box-shadow: 0 12px 36px -24px rgba(22,19,15,.08);
  margin-bottom: clamp(48px, 6vw, 72px);
}
.pub-featured__visual {
  position: relative; overflow: hidden;
  min-height: clamp(300px, 24vw, 430px);
  background: var(--c-dark-2);
}
/* размытая подложка из самой обложки — полосы по краям выглядят как кадр, а не пустота */
.pub-featured__visual::before {
  content: ""; position: absolute; inset: -60px; z-index: 0;
  background: url("../assets/publications/obzor-issledovaniya.webp") center / cover no-repeat;
  filter: blur(30px) saturate(.85) brightness(.75);
}
.pub-featured__visual svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pub-featured__visual img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.pub-featured__ph {
  position: absolute; right: 20px; bottom: 16px;
  font-size: 12px; letter-spacing: .04em; color: rgba(255,255,255,.35);
}
.pub-featured__body { padding: 48px 44px; display: flex; flex-direction: column; gap: 18px; justify-content: center; }
.pub-featured__body .pub-tag { align-self: flex-start; }
.pub-featured__title { font-size: 26px; font-weight: 500; line-height: 1.2; letter-spacing: -.02em; color: #161616; }
.pub-featured__text { font-size: 16px; font-weight: 300; line-height: 1.45; letter-spacing: -.01em; color: rgba(22,22,22,.6); }
.pub-featured__body .btn { align-self: flex-start; }

/* ---------- Чип типа публикации ---------- */
.pub-tag {
  display: inline-flex; align-items: center;
  font-size: 12px; font-weight: 400; line-height: 1; letter-spacing: .04em; text-transform: uppercase;
  color: #161616; background: rgba(220,213,200,.85);
  border-radius: 999px; padding: 8px 14px;
}

/* ---------- Поиск в панели фильтров ---------- */
.pub-search { position: relative; margin-left: auto; flex: 0 1 320px; min-width: 220px; }
.pub-search input {
  width: 100%; font-family: inherit; font-size: 14px; color: var(--c-ink);
  background: #fff; border: 1px solid var(--c-line); border-radius: 999px;
  padding: 9px 16px 9px 40px;
  transition: border-color .2s;
}
.pub-search input::placeholder { color: rgba(22,22,22,.4); }
.pub-search input:focus { outline: none; border-color: var(--c-ink); }
.pub-search svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: rgba(22,22,22,.4); }

/* ---------- Сетка карточек публикаций ---------- */
.pub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pub-card {
  display: flex; flex-direction: column;
  background: #fff; border-radius: 6px; overflow: hidden;
  box-shadow: 0 12px 36px -24px rgba(22,19,15,.08);
  transition: transform .25s ease, box-shadow .25s ease;
}
.pub-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -28px rgba(22,19,15,.22); }
.pub-card[hidden] { display: none; }
.pub-grid .cp-empty { grid-column: 1 / -1; }

/* Превью: три варианта фирменного элемента (сопряжённые плоскости) */
.pub-thumb { position: relative; aspect-ratio: 16 / 10; background: var(--c-dark-2); overflow: hidden; }
.pub-thumb::before, .pub-thumb::after { content: ""; position: absolute; inset: 0; }
.pub-thumb::before { background: radial-gradient(120% 90% at 72% 62%, #b6bcb4 0%, var(--c-on-dark-mut) 26%, rgba(17,21,19,0) 60%); }
.pub-thumb::after  { background: var(--c-accent); }
.pub-thumb.v1::before { clip-path: polygon(0 0, 46% 0, 72% 62%, 0 62%); }
.pub-thumb.v1::after  { clip-path: polygon(74% 62%, 100% 62%, 100% 100%, 90% 100%); }
.pub-thumb.v2::before { clip-path: polygon(34% 0, 100% 0, 100% 30%, 34% 68%); }
.pub-thumb.v2::after  { clip-path: polygon(0 86%, 32% 70%, 32% 100%, 0 100%); background: var(--c-bg-2); }
.pub-thumb.v3::before { clip-path: polygon(54% 0, 100% 0, 100% 58%, 30% 58%); }
.pub-thumb.v3::after  { clip-path: polygon(0 60%, 28% 60%, 12% 100%, 0 100%); }
.pub-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.pub-thumb .pub-tag { position: absolute; left: 14px; top: 14px; z-index: 1; }
.pub-thumb__ph {
  position: absolute; right: 14px; bottom: 12px; z-index: 1;
  font-size: 11px; letter-spacing: .04em; color: rgba(255,255,255,.4);
}

.pub-card__body { padding: 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.pub-card__title { font-size: 19px; font-weight: 500; line-height: 1.25; letter-spacing: -.02em; color: #161616; }
.pub-card__text  { font-size: 15px; font-weight: 300; line-height: 1.4; letter-spacing: -.01em; color: rgba(22,22,22,.55); }
.pub-card__meta  { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 14px;
  font-size: 13px; font-weight: 300; letter-spacing: -.01em; color: rgba(22,22,22,.4); }
.pub-featured__body .pub-card__meta { margin-top: 0; padding-top: 0; }
.pub-card__author {
  display: flex; align-items: center; gap: 12px;
  margin-top: auto; padding-top: 14px; border-top: 1px solid rgba(22,22,22,.08);
}
.pub-avatar {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  background: var(--c-bg-2); border: 1px solid var(--c-line);
  display: grid; place-items: center; font-size: 12px; color: var(--c-muted);
}
.pub-card__author b { display: block; font-size: 14px; font-weight: 500; color: #161616; }
.pub-card__author small { display: block; font-size: 12px; font-weight: 300; color: rgba(22,22,22,.45); }

.pub-more { display: flex; justify-content: center; padding-top: 48px; }

/* ============================================================
   Страница «Партнёры» (partners.html)
   ============================================================ */

/* Кнопка в герое */
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 56px; }

/* ---------- Преимущества партнёрства ---------- */
.pp-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pp-benefit {
  display: flex; flex-direction: column;
  padding: 30px; background: #fff; border-radius: 6px;
  box-shadow: 0 12px 36px -24px rgba(22,19,15,.08);
}
.pp-benefit__icon {
  width: 48px; height: 48px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--c-line); background: var(--c-bg); color: #161616; margin-bottom: 24px;
}
.pp-benefit__icon svg { width: 24px; height: 24px; }
.pp-benefit__title { font-size: 20px; font-weight: 500; line-height: 1.3; letter-spacing: -.01em; color: #161616; margin-bottom: 10px; }
.pp-benefit__text { font-size: 16px; font-weight: 300; line-height: 1.4; letter-spacing: -.01em; color: rgba(22,22,22,.5); }

/* ---------- Статусы партнёра ---------- */
/* Система статусов — восходящая «лестница роста» */
/* Система статусов — кривая роста через 5 колонок (по Figma 3120:54) */
.pp-curve {
  position: relative;
  aspect-ratio: 1707 / 391;
  min-height: 280px;
  margin-bottom: 28px;
}
.pp-curve__svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.pp-curve__item { position: static; }
.pp-curve__dot {
  position: absolute; width: 16px; height: 16px; border-radius: 50%;
  background: var(--c-bg); border: 2px solid #a98f5e;
  left: var(--dx); top: var(--dy);
  transform: translate(-50%, -50%); z-index: 2;
}
.pp-curve__label {
  position: absolute; left: var(--lx); top: 72.4%;
  display: flex; flex-direction: column; gap: 6px;
}
.pp-curve__num { font-size: 14px; letter-spacing: .02em; color: rgba(0,0,0,.34); }
.pp-curve__name { font-size: clamp(16px, 1.4vw, 22px); font-weight: 500; line-height: 1.2; color: #000; white-space: nowrap; }

/* Планшет: компактная кривая, имена переносятся */
@media (max-width: 1100px) and (min-width: 768px) {
  .pp-curve {
    aspect-ratio: auto;
    min-height: 0;
    height: 320px;
  }
  .pp-curve__name {
    white-space: normal;
    font-size: 14px;
    max-width: 92%;
  }
  .pp-curve__num { font-size: 12px; }
}

/* Мобилка: вертикальный timeline, золотая линия проходит сквозь центры точек */
@media (max-width: 767.98px) {
  .pp-curve {
    aspect-ratio: auto;
    min-height: 0;
    height: auto;
    padding-left: 36px;
  }
  .pp-curve__svg { display: none; }
  .pp-curve::before {
    content: ""; position: absolute;
    left: 18px; top: 20px; bottom: 20px;
    width: 2px;
    background: #a98f5e;
  }
  .pp-curve__item {
    position: relative;
    display: block;
    padding: 18px 0;
  }
  .pp-curve__dot {
    transform: none;
    background: var(--c-bg);
    border-color: #a98f5e;
  }
  /* Центры всех точек на x = 19px от .pp-curve (line center) → left = -17 - W/2 от item */
  .pp-curve__item:nth-of-type(1) .pp-curve__dot { width: 12px; height: 12px; left: -23px; top: 26px; }
  .pp-curve__item:nth-of-type(2) .pp-curve__dot { width: 14px; height: 14px; left: -24px; top: 25px; }
  .pp-curve__item:nth-of-type(3) .pp-curve__dot { width: 16px; height: 16px; left: -25px; top: 24px; }
  .pp-curve__item:nth-of-type(4) .pp-curve__dot { width: 18px; height: 18px; left: -26px; top: 23px; }
  .pp-curve__item:nth-of-type(5) .pp-curve__dot { width: 20px; height: 20px; left: -27px; top: 22px; background: #a98f5e; }
  .pp-curve__label {
    position: static;
  }
  .pp-curve__num { font-size: 15px; }
  .pp-curve__name { white-space: normal; font-size: 21px; line-height: 1.25; }
}
.pp-statuses-note { font-size: 14px; font-weight: 300; line-height: 1.4; color: rgba(22,22,22,.45); margin-bottom: 24px; }

/* ---------- Как стать партнёром ---------- */
.pp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 24px; }
.pp-step {
  background: #fff; border-radius: 6px; padding: 30px;
  box-shadow: 0 12px 36px -24px rgba(22,19,15,.08);
}
.pp-step__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--c-accent); color: var(--c-sand-2);
  font-size: 14px; line-height: 1; margin-bottom: 40px;
}
.pp-step__title { font-size: 20px; font-weight: 500; line-height: 1.3; letter-spacing: -.01em; color: #161616; margin-bottom: 10px; }
.pp-step__text { font-size: 16px; font-weight: 300; line-height: 1.4; letter-spacing: -.01em; color: rgba(22,22,22,.5); }

.pp-notice {
  position: relative; background: #fff; border-radius: 6px;
  padding: 30px 30px 30px 34px; box-shadow: 0 12px 36px -24px rgba(22,19,15,.08);
  display: flex; align-items: center; gap: 32px;
}
.pp-notice::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 3px; border-radius: 3px; background: var(--c-sand-1); }
.pp-notice__body { flex: 1; min-width: 0; }
.pp-notice__label { font-size: 13px; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; color: var(--c-sand-2); margin-bottom: 12px; }
.pp-notice__text { font-size: 16px; font-weight: 300; line-height: 1.5; letter-spacing: -.01em; color: rgba(22,22,22,.7); max-width: 760px; }
.pp-notice__cta { flex-shrink: 0; }
@media (max-width: 767.98px) {
  .pp-notice { flex-direction: column; align-items: flex-start; gap: 20px; }
}

/* ---------- Официальные партнёры ---------- */
.pp-partners { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pp-partner {
  display: flex; flex-direction: column; gap: 14px;
  background: #fff; border-radius: 6px; padding: 26px;
  box-shadow: 0 12px 36px -24px rgba(22,19,15,.08);
}
.pp-partner__photo {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--c-bg-2); border: 1px solid var(--c-line);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: rgba(22,22,22,.35); flex-shrink: 0;
}
.pp-partner__photo--company { border-radius: 10px; }
img.pp-partner__photo { object-fit: cover; object-position: center top; border: none; }
.pp-partner__type { font-size: 13px; font-weight: 400; letter-spacing: .04em; text-transform: uppercase; color: var(--c-sand-2); margin-bottom: 6px; }
.pp-partner__name { font-size: 17px; font-weight: 500; line-height: 1.25; letter-spacing: -.01em; color: #161616; }
.pp-partner__cert { display: flex; align-items: center; gap: 8px; margin-top: auto; font-size: 13px; font-weight: 300; line-height: 1.3; color: rgba(22,22,22,.45); }
.pp-partner__cert::before { content: ""; width: 16px; height: 16px; flex-shrink: 0; background: url("../assets/logo-elem.svg") center / contain no-repeat; opacity: .6; }

/* ---------- FAQ ---------- */
.pp-faq__item { border-top: 1px solid var(--c-line); }
.pp-faq__item:last-child { border-bottom: 1px solid var(--c-line); }
.pp-faq__q { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 0; cursor: pointer; }
.pp-faq__q-text { font-size: 18px; font-weight: 500; line-height: 1.35; letter-spacing: -.01em; color: #161616; }
.pp-faq__icon { position: relative; width: 18px; height: 18px; flex-shrink: 0; }
.pp-faq__icon::before, .pp-faq__icon::after { content: ""; position: absolute; background: var(--c-ink); transition: transform .25s ease, opacity .25s ease; }
.pp-faq__icon::before { left: 0; right: 0; top: 50%; height: 1.5px; transform: translateY(-50%); }
.pp-faq__icon::after { top: 0; bottom: 0; left: 50%; width: 1.5px; transform: translateX(-50%); }
.pp-faq__item.open .pp-faq__icon::after { transform: translateX(-50%) scaleY(0); opacity: 0; }
.pp-faq__a {
  max-height: 0; overflow: hidden; opacity: 0;
  padding: 0 40px 0 0;
  font-size: 16px; font-weight: 300; line-height: 1.55; letter-spacing: -.01em;
  color: rgba(22,22,22,.6); max-width: 840px;
  transition: max-height .4s ease, opacity .3s ease, padding-bottom .4s ease;
}
.pp-faq__item.open .pp-faq__a { max-height: 500px; opacity: 1; padding-bottom: 28px; }

/* FAQ в две колонки (certification) */
.pp-faq--cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; align-items: start; }
.pp-faq--cols .pp-faq__a { max-width: none; padding-right: 24px; }

/* нижний отступ последней светлой секции перед тёмным CTA */
.pp-pad-bottom { padding-bottom: clamp(64px, 8vw, 110px); }

/* ---------- Финальный CTA (тёмный) ---------- */
.pp-final {
  position: relative; overflow: hidden;
  background: var(--c-dark); color: var(--c-on-dark);
  padding-block: clamp(64px, 8vw, 110px);
}
.pp-final::before {
  content: ""; position: absolute; top: 0; left: -10%; width: 60%; height: 70%;
  background: radial-gradient(ellipse at center, rgba(120,140,160,.10), transparent 70%);
  pointer-events: none;
}
.pp-final__inner { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 56px; align-items: center; }
.pp-final__title { font-size: clamp(26px, 3vw, 38px); font-weight: 300; line-height: 1.12; letter-spacing: -.02em; color: #fff; max-width: 780px; }
.pp-final__actions { display: flex; flex-direction: column; gap: 12px; flex-shrink: 0; }

/* ============================================================
   Страница «Эксперты» (experts.html)
   ============================================================ */

/* Аватар с инициалами */
.ep-avatar {
  width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 500; letter-spacing: -.01em;
  background: rgba(220,213,200,.5); color: var(--c-sand-2);
}
.ep-avatar--dark { background: var(--c-dark); color: #fff; }
.ep-avatar--photo { display: block; padding: 0; object-fit: cover; object-position: center top; }

/* ---------- Архитекторы методологии ---------- */
.ep-dev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ep-dev {
  display: flex; flex-direction: column;
  background: #fff; border-radius: 6px; padding: 30px;
  box-shadow: 0 12px 36px -24px rgba(22,19,15,.08);
}
.ep-dev__num { font-size: 14px; letter-spacing: .04em; text-transform: uppercase; color: rgba(22,22,22,.35); margin-bottom: 24px; }
.ep-dev .ep-avatar { margin-bottom: 18px; }
.ep-dev__name { font-size: 20px; font-weight: 500; line-height: 1.25; letter-spacing: -.01em; color: #161616; margin-bottom: 8px; }
.ep-dev__title { font-size: 15px; font-weight: 300; line-height: 1.35; letter-spacing: -.01em; color: #161616; margin-bottom: 14px; }
.ep-dev__bio { font-size: 16px; font-weight: 300; line-height: 1.45; letter-spacing: -.01em; color: rgba(22,22,22,.5); }

/* ---------- Карточки экспертов ---------- */
.ep-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ep-card {
  display: flex; flex-direction: column;
  background: #fff; border-radius: 6px; padding: 28px;
  box-shadow: 0 12px 36px -24px rgba(22,19,15,.08);
  transition: transform .25s ease, box-shadow .25s ease;
}
.ep-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -28px rgba(22,19,15,.18); }
.ep-card__top { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 22px; }
.ep-card__head { min-width: 0; }
.ep-card__spec { font-size: 13px; font-weight: 400; letter-spacing: .04em; text-transform: uppercase; color: var(--c-sand-2); margin-bottom: 6px; }
.ep-card__name { font-size: 18px; font-weight: 500; line-height: 1.25; letter-spacing: -.01em; color: #161616; margin-bottom: 6px; }
.ep-card__title { font-size: 14px; font-weight: 300; line-height: 1.4; letter-spacing: -.01em; color: #161616; max-width: 320px; }
.ep-roles { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; flex: 1; }
.ep-roles li { position: relative; padding-left: 18px; font-size: 14px; font-weight: 300; line-height: 1.45; letter-spacing: -.01em; color: rgba(22,22,22,.6); }
.ep-roles li::before { content: "—"; position: absolute; left: 0; color: var(--c-sand-1); }
.ep-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.ep-tag { font-size: 12px; font-weight: 300; line-height: 1; letter-spacing: -.01em; color: #161616; background: rgba(22,22,22,.05); border-radius: 999px; padding: 8px 13px; }

/* ============================================================
   Страница «Задачи / Сценарии применения» (tasks.html)
   ============================================================ */

/* Малая кнопка */
.btn--sm { padding: 12px 18px; font-size: 14px; }

/* ---------- Раскладка: липкий сайдбар + контент ---------- */
.tk-layout { display: grid; grid-template-columns: 240px 1fr; gap: 64px; padding-bottom: 110px; }
.tk-sidebar { position: sticky; top: 96px; align-self: start; }
.tk-sidebar__label {
  font-size: 12px; font-weight: 400; letter-spacing: .04em; text-transform: uppercase;
  color: rgba(22,22,22,.4); padding-bottom: 14px; margin-bottom: 8px;
  border-bottom: 1px solid var(--c-line);
}
.tk-sidebar__nav { display: flex; flex-direction: column; }
.tk-sidebar__item {
  font-size: 14px; font-weight: 400; line-height: 1.3; letter-spacing: -.01em;
  color: rgba(22,22,22,.55);
  border-left: 2px solid transparent;
  transition: color .15s, border-color .15s;
}
.tk-sidebar__item a { display: flex; gap: 10px; padding: 12px 0 12px 16px; }
.tk-sidebar__item:hover { color: #161616; }
.tk-sidebar__item.is-active { color: #161616; border-left-color: var(--c-green); font-weight: 500; }
.tk-sidebar__num { color: rgba(22,22,22,.35); }
.tk-sidebar__item.is-active .tk-sidebar__num { color: #161616; }

.tk-body { display: flex; flex-direction: column; gap: 28px; min-width: 0; }

/* ---------- Сценарий как обособленная панель ---------- */
.tk-scenario { scroll-margin-top: 96px; padding: 52px; border-radius: 8px; }
.tk-scenario:nth-child(odd) { background: #fff; box-shadow: 0 18px 50px -34px rgba(22,19,15,.12); }
.tk-scenario:nth-child(even) { border: 1px solid var(--c-line); }

/* ---------- Заголовок сценария ---------- */
.tk-scenario__head { margin-bottom: 36px; padding-bottom: 36px; border-bottom: 1px solid var(--c-line); }
.tk-title {
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 300; line-height: 1.05; letter-spacing: -.03em;
  color: #161616; margin: 0 0 18px; text-transform: none;
}
.tk-title .m { font-weight: 500; }
.tk-scenario__lead {
  font-size: 18px; font-weight: 300; line-height: 1.4; letter-spacing: -.01em;
  color: rgba(22,22,22,.55); max-width: 720px; margin: 0 0 28px;
}

/* meta-сетка (Для кого / Срок / Формат / Отчёты) */
.tk-meta {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--c-line); border-radius: 8px; overflow: hidden;
  max-width: 920px; margin-bottom: 30px;
}
.tk-meta__cell { padding: 20px; border-right: 1px solid var(--c-line); }
.tk-meta__cell:last-child { border-right: none; }
.tk-meta__label { font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: rgba(22,22,22,.4); margin-bottom: 10px; }
.tk-meta__value { font-size: 16px; font-weight: 500; line-height: 1.3; letter-spacing: -.01em; color: #161616; }

/* ---------- Контентные блоки сценария ---------- */
.tk-blocks { display: flex; flex-direction: column; }
.tk-block {
  display: grid; grid-template-columns: 200px 1fr; gap: 40px;
  padding: 30px 0; border-bottom: 1px solid rgba(22,22,22,.1); align-items: start;
}
.tk-block:first-child { padding-top: 0; }
.tk-block:last-child { border-bottom: none; padding-bottom: 0; }
.tk-block__label { font-size: 14px; letter-spacing: .02em; text-transform: uppercase; color: rgba(22,22,22,.4); padding-top: 2px; }
.tk-block__body h3 { font-size: 20px; font-weight: 500; line-height: 1.3; letter-spacing: -.01em; color: #161616; margin-bottom: 14px; max-width: 540px; }
.tk-block__body p { font-size: 16px; font-weight: 300; line-height: 1.45; letter-spacing: -.01em; color: rgba(22,22,22,.6); max-width: 720px; margin-bottom: 12px; }
.tk-block__body p:last-child { margin-bottom: 0; }
.tk-block__body ul { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; max-width: 720px; }
.tk-block__body li { position: relative; padding-left: 22px; font-size: 15px; font-weight: 300; line-height: 1.45; letter-spacing: -.01em; color: rgba(22,22,22,.6); }
.tk-block__body li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; background: #95BD99; }
.tk-block__body li:nth-child(3n+2)::before { background: #98A7D5; }
.tk-block__body li:nth-child(3n)::before { background: #C2B79F; }
.tk-block__body li strong { color: #161616; font-weight: 500; }

/* отзыв клиента */
.tk-quote {
  position: relative;
  background: rgba(152,167,213,.10);
  border-left: 3px solid #98A7D5;
  padding: 24px 28px; max-width: 760px;
}
.tk-quote__text { font-size: 17px; font-weight: 300; font-style: italic; line-height: 1.5; letter-spacing: -.01em; color: #161616; margin-bottom: 12px; }
.tk-quote__author { font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: rgba(22,22,22,.4); }

/* ============================================================
   Страница «Отчёты» (reports.html)
   Раскладка переиспользует примитивы страницы задач:
   .tk-layout / .tk-sidebar / .tk-title / .tk-scenario__lead
   ============================================================ */

/* Шапка формата + двухколоночный блок */
.rp-format { scroll-margin-top: 96px; padding: 52px; border-radius: 8px; }
.rp-format:nth-child(odd) { background: #fff; box-shadow: 0 18px 50px -34px rgba(22,19,15,.12); }
.rp-format:nth-child(even) { border: 1px solid var(--c-line); }
.rp-format__head { margin-bottom: 0; }
.rp-format__head .block-eyebrow { margin-bottom: 18px; }

.rp-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  align-items: start; margin-top: 28px;
}
.rp-grid--reverse .rp-info { order: 2; }
.rp-grid--reverse .rp-mock { order: 1; }
.rp-grid--solo { grid-template-columns: 1fr; }
.rp-info { display: flex; flex-direction: column; }
.rp-mock { display: flex; align-items: flex-start; justify-content: center; }
.rp-mock--full img { width: 100%; height: auto; display: block; }

/* meta-сетка 2×2 */
.rp-meta {
  display: grid; grid-template-columns: 1fr 1fr;
  border: 1px solid var(--c-line); border-radius: 8px; overflow: hidden;
  margin-bottom: 28px;
}
.rp-meta__cell { padding: 18px 20px; border-right: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); }
.rp-meta__cell:nth-child(2n) { border-right: none; }
.rp-meta__cell:nth-last-child(-n+2) { border-bottom: none; }
.rp-meta__label { font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: rgba(22,22,22,.4); margin-bottom: 8px; }
.rp-meta__value { font-size: 15px; font-weight: 500; line-height: 1.35; letter-spacing: -.01em; color: #161616; }

/* список «В этом отчёте» */
.rp-subhead { font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: rgba(22,22,22,.4); margin-bottom: 16px; }
.rp-features { display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; }
.rp-features li { position: relative; padding-left: 24px; font-size: 15px; font-weight: 300; line-height: 1.5; letter-spacing: -.01em; color: rgba(22,22,22,.6); }
.rp-features li::before { content: ""; position: absolute; left: 0; top: 9px; width: 12px; height: 6px; background: #95BD99; }
.rp-features li:nth-child(3n+2)::before { background: #98A7D5; }
.rp-features li:nth-child(3n)::before { background: #C2B79F; }
.rp-features li strong { color: #161616; font-weight: 500; }

.rp-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: auto;
  font-size: 14px; font-weight: 400; letter-spacing: -.01em; color: #161616;
}
.rp-link::after { content: "→"; transition: transform .18s ease; }
.rp-link:hover::after { transform: translateX(3px); }
/* Кнопка «Пример отчёта» — прижата к низу колонки, по контенту */
.rp-info .btn { align-self: flex-start; margin-top: auto; }

/* ---------- Мокапы отчётов ---------- */
.rp-mock-card {
  width: 100%; background: #fff; border: 1px solid var(--c-line); border-radius: 8px;
  overflow: hidden; box-shadow: 0 30px 60px -30px rgba(22,19,15,.18), 0 8px 20px -10px rgba(22,19,15,.08);
}

/* Обложка-изображение отчёта */
.rp-cover-img { max-width: 420px; }
.rp-cover-img img { display: block; width: 100%; height: auto; }

/* Обложка */
.rp-cover { max-width: 420px; position: relative; aspect-ratio: 1 / 1.32; display: flex; flex-direction: column; }
.rp-cover__accent { position: absolute; left: 0; top: 0; width: 4px; height: 100px; background: #95BD99; }
.rp-cover__top { padding: 34px 30px 0; }
.rp-cover__tag { font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: rgba(22,22,22,.4); margin-bottom: 14px; }
.rp-cover__title { font-size: 34px; font-weight: 500; line-height: 1; letter-spacing: -.03em; color: #161616; }
.rp-cover__title .lite { font-weight: 300; display: block; }
.rp-cover__body { padding: 30px; flex: 1; display: flex; flex-direction: column; justify-content: flex-end; }
.rp-cover__disclaimer { font-size: 11px; color: rgba(22,22,22,.55); line-height: 1.5; max-width: 280px; margin-bottom: 20px; }
.rp-cover__meta { display: flex; flex-direction: column; gap: 4px; font-size: 10px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: rgba(22,22,22,.4); }
.rp-cover__footer { display: flex; align-items: center; justify-content: space-between; padding: 16px 30px; border-top: 1px solid var(--c-line); background: #fff; }
.rp-cover__footer img { height: 18px; width: auto; }
.rp-cover__footer-sub { font-size: 9px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: rgba(22,22,22,.4); }

/* Профиль по шкалам */
.rp-profile { max-width: 480px; }
.rp-profile__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 18px 24px 16px; border-bottom: 1px solid var(--c-line); }
.rp-profile__head-title { font-size: 13px; font-weight: 500; line-height: 1.3; letter-spacing: -.01em; color: #161616; }
.rp-profile__head-logo img { height: 16px; width: auto; }
.rp-profile__legend { display: flex; flex-wrap: wrap; gap: 14px; padding: 12px 24px; border-bottom: 1px solid var(--c-line); }
.rp-legend { display: flex; align-items: center; gap: 6px; font-size: 9px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: rgba(22,22,22,.45); }
.rp-legend__swatch { display: inline-flex; gap: 2px; }
.rp-legend__swatch span { width: 14px; height: 8px; }
.rp-profile__body { padding: 18px 24px 20px; }
.rp-pgroup { margin-bottom: 16px; }
.rp-pgroup:last-child { margin-bottom: 0; }
.rp-pgroup__title { font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #161616; margin-bottom: 10px; }
.rp-prow { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.rp-prow__label { width: 108px; flex-shrink: 0; text-align: right; font-size: 9px; font-weight: 500; letter-spacing: .02em; text-transform: uppercase; color: rgba(22,22,22,.6); }
.rp-prow__track { flex: 1; display: flex; gap: 2px; }
.rp-prow__track span { height: 11px; width: 8.8%; }
.rp-prow__val { width: 14px; text-align: right; font-size: 11px; font-weight: 600; letter-spacing: -.02em; color: #161616; }
.rp-profile__foot { display: flex; justify-content: space-between; padding: 10px 24px; border-top: 1px solid var(--c-line); font-size: 9px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: rgba(22,22,22,.4); }

/* Командный профиль */
.rp-team { max-width: 460px; }
.rp-team__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 22px; background: var(--c-dark); color: #fff; }
.rp-team__head-tag { font-size: 9px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.rp-team__head-title { font-size: 13px; font-weight: 500; letter-spacing: .01em; }
.rp-team__body { padding: 22px 24px; }
.rp-team__sub { font-size: 11px; color: rgba(22,22,22,.6); margin-bottom: 18px; }
.rp-team__sec-title { font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #161616; margin-bottom: 10px; }
.rp-team__heat { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; margin-bottom: 14px; }
.rp-team__cell { height: 24px; border-radius: 2px; }
.rp-team__note { font-size: 11px; color: rgba(22,22,22,.6); line-height: 1.5; padding: 12px 14px; background: var(--c-bg-2); border-left: 2px solid #95BD99; margin-bottom: 18px; }
.rp-team__note--sky { border-left-color: #98A7D5; }
.rp-team__foot { display: flex; justify-content: space-between; padding: 10px 24px; border-top: 1px solid var(--c-line); font-size: 9px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: rgba(22,22,22,.4); }

/* ---------- Принципы отчётов ---------- */
.rp-principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rp-principle {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  background: #fff; border-radius: 6px; padding: 34px 30px 30px;
  box-shadow: 0 12px 36px -24px rgba(22,19,15,.08);
}
.rp-principle::before { content: ""; position: absolute; top: 0; left: 0; width: 56px; height: 3px; background: #95BD99; }
.rp-principle:nth-child(3n+2)::before { background: #98A7D5; }
.rp-principle:nth-child(3n)::before { background: #C2B79F; }
.rp-principle__icon {
  width: 48px; height: 48px; margin-bottom: 26px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--c-line); border-radius: 10px; background: var(--c-bg); color: #161616;
}
.rp-principle__icon svg { width: 22px; height: 22px; }
.rp-principle h3 { font-size: 18px; font-weight: 500; line-height: 1.3; letter-spacing: -.01em; color: #161616; margin-bottom: 12px; }
.rp-principle p { font-size: 15px; font-weight: 300; line-height: 1.5; letter-spacing: -.01em; color: rgba(22,22,22,.55); }

/* ============================================================
   Страница «Сертификация» (certification.html)
   Переиспользует: .page-hero / .stats / .cp-section-head /
   .ep-dev (преподаватели) / .pp-faq (FAQ) / .pp-final (CTA)
   ============================================================ */

/* Кому подходит */
#audience .cp-section-head { max-width: 860px; }
.cf-audience { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cf-aud {
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  background: #fff; border-radius: 6px; padding: 34px 30px 30px;
  box-shadow: 0 12px 36px -24px rgba(22,19,15,.08);
}
.cf-aud::before { content: ""; position: absolute; top: 0; left: 0; width: 56px; height: 3px; background: #95BD99; }
.cf-aud:nth-child(2)::before { background: #98A7D5; }
.cf-aud:nth-child(3)::before { background: #C2B79F; }
.cf-aud__num { font-size: 13px; letter-spacing: .04em; color: rgba(22,22,22,.4); margin-bottom: 22px; }
.cf-aud h3 { font-size: 18px; font-weight: 500; line-height: 1.3; letter-spacing: -.01em; color: #161616; margin-bottom: 12px; }
.cf-aud p { font-size: 15px; font-weight: 300; line-height: 1.5; letter-spacing: -.01em; color: rgba(22,22,22,.55); margin-bottom: 24px; }
.cf-aud__req { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--c-line); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: rgba(22,22,22,.5); }

/* Блок «Важно» — фон-фото + стеклянный блюр (как флагманский кейс) */
.cf-important {
  position: relative; overflow: hidden; border-radius: 8px; margin-top: 48px;
  display: flex; min-height: 560px;
  background: var(--c-dark) url("../assets/girl-with-reports.png") right center / auto 100% no-repeat;
}
.cf-important__panel {
  position: relative; width: 50%; flex-shrink: 0;
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 52px 48px;
  background: rgba(12, 15, 14, .55);
  -webkit-backdrop-filter: blur(30px) saturate(120%);
  backdrop-filter: blur(30px) saturate(120%);
}
.cf-important__tag {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 16px; border-radius: 100px;
  background: rgba(255,255,255,.08);
  font-size: 12px; font-weight: 400; letter-spacing: .08em; text-transform: uppercase;
  color: #fff; margin-bottom: 20px;
}
.cf-important__tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #98A7D5; }
.cf-important p { font-size: 15px; font-weight: 300; line-height: 1.55; letter-spacing: -.01em; color: rgba(255,255,255,.72); max-width: 600px; margin-bottom: 12px; }
.cf-important p:last-of-type { margin-bottom: 0; }
.cf-important p strong { color: #fff; font-weight: 400; }
.cf-important__action { margin-top: auto; padding-top: 32px; }

/* Результат программы */
.cf-results { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.cf-result {
  display: grid; grid-template-columns: 48px 1fr; gap: 22px; align-items: start;
  background: #fff; border-radius: 6px; padding: 32px 30px;
  box-shadow: 0 12px 36px -24px rgba(22,19,15,.08);
}
.cf-result__icon { width: 48px; height: 48px; border-radius: 10px; border: 1px solid var(--c-line); background: var(--c-bg); display: inline-flex; align-items: center; justify-content: center; color: #161616; }
.cf-result__icon svg { width: 22px; height: 22px; }
.cf-result h3 { font-size: 18px; font-weight: 500; line-height: 1.3; letter-spacing: -.01em; color: #161616; margin-bottom: 10px; }
.cf-result p { font-size: 15px; font-weight: 300; line-height: 1.5; letter-spacing: -.01em; color: rgba(22,22,22,.55); }

/* Программа — уровни */
#results { padding-bottom: 100px; }
#program { padding-bottom: 100px; }   /* фон унаследован от section--light (var(--c-bg)) — как у #results */
.cf-program-lead { font-size: 18px; font-weight: 300; line-height: 1.5; letter-spacing: -.01em; color: rgba(22,22,22,.55); max-width: 880px; margin-bottom: 48px; }
.cf-levels { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; align-items: stretch; }
.cf-level {
  position: relative; display: flex; flex-direction: column;
  padding: 40px; border-radius: 14px;
  background: #fff; border: 1px solid var(--c-line);
}
.cf-level--featured { background: var(--c-dark); border-color: var(--c-dark); }
.cf-level__badge {
  position: absolute; top: 36px; right: 36px;
  padding: 7px 14px; border-radius: 100px;
  background: var(--c-sand-1); color: #161616;
  font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
}
.cf-level__badge--base { background: rgba(22,19,15,.08); color: var(--c-ink-2); }

.cf-level__head { padding-bottom: 26px; margin-bottom: 26px; border-bottom: 1px solid var(--c-line); }
.cf-level--featured .cf-level__head { border-bottom-color: rgba(255,255,255,.14); }
.cf-level__tag { display: inline-block; font-size: 12px; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; color: var(--c-sand-2); margin-bottom: 14px; }
.cf-level--featured .cf-level__tag { color: var(--c-sand-1); }
.cf-level__name { font-size: 26px; font-weight: 500; line-height: 1; letter-spacing: -.02em; color: #161616; margin-bottom: 18px; }
.cf-level--featured .cf-level__name { color: #fff; }
.cf-level__price { font-size: 34px; font-weight: 500; line-height: 1; letter-spacing: -.02em; color: #161616; }
.cf-level--featured .cf-level__price { color: #fff; }

.cf-level__sub { font-size: 12px; font-weight: 400; letter-spacing: .04em; text-transform: uppercase; color: rgba(22,22,22,.4); margin-bottom: 16px; }
.cf-level--featured .cf-level__sub { color: rgba(255,255,255,.45); }

.cf-level__list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; min-height: 140px; }
.cf-level__list li { position: relative; padding-left: 30px; font-size: 15px; font-weight: 300; line-height: 1.45; letter-spacing: -.01em; color: #161616; }
.cf-level--featured .cf-level__list li { color: rgba(255,255,255,.9); }
.cf-level__list li::before {
  content: ""; position: absolute; left: 5px; top: 3px;
  width: 6px; height: 11px; border: solid var(--c-green); border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.cf-level__divider { padding-top: 24px; border-top: 1px solid var(--c-line); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: rgba(22,22,22,.4); margin-bottom: 16px; }
.cf-level--featured .cf-level__divider { border-top-color: rgba(255,255,255,.14); color: rgba(255,255,255,.45); }
.cf-level__opts { display: flex; flex-direction: column; gap: 10px; margin-bottom: 30px; }
.cf-level__opts li { position: relative; padding-left: 18px; font-size: 14px; font-weight: 300; line-height: 1.4; letter-spacing: -.01em; color: rgba(22,22,22,.55); }
.cf-level__opts li::before { content: "—"; position: absolute; left: 0; color: var(--c-sand-1); }
.cf-level--featured .cf-level__opts li { color: rgba(255,255,255,.6); }
.cf-level__sample { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 400; letter-spacing: -.01em; color: #161616; transition: color .15s; }
.cf-level__sample:hover { color: var(--c-sand-2); }
.cf-level--featured .cf-level__sample { color: #fff; }
.cf-level--featured .cf-level__sample:hover { color: var(--c-sand-1); }

/* Серая плашка-заметка (партнёрство / расписание) */
.cf-note { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; background: var(--c-bg-2); border-radius: 6px; padding: 30px 36px; }
.cf-note--plain { display: block; }
.cf-note p { font-size: 15px; font-weight: 300; line-height: 1.5; letter-spacing: -.01em; color: rgba(22,22,22,.6); max-width: 820px; }
.cf-note .btn { flex-shrink: 0; }

/* Отзывы — слайдер */
/* Отзывы: слева заголовок, справа слайдер */
.cf-reviews-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.cf-reviews-head .block-title { margin-bottom: 0; }
.cf-reviews-cta { margin-top: 36px; }
.cf-reviews { position: relative; min-width: 0; }   /* grid-элемент должен сжиматься, иначе flex-трек распирает страницу */
.cf-reviews__viewport { overflow: hidden; border-radius: 6px; }
.cf-reviews__track { display: flex; transition: transform .45s cubic-bezier(.4,0,.2,1); }
.cf-review { flex: 0 0 100%; min-width: 0; }
.cf-review__card {
  position: relative; display: flex; flex-direction: column; justify-content: center;
  min-height: 220px; padding: 48px 64px 48px 72px;
  background: rgba(152,167,213,.10); border-left: 3px solid #98A7D5; border-radius: 0 6px 6px 0;
}
.cf-review__card::before { content: "“"; position: absolute; top: 20px; left: 28px; font-size: 4rem; line-height: 1; color: #98A7D5; opacity: .5; }
.cf-review__text { font-size: 18px; font-weight: 400; line-height: 1.5; letter-spacing: -.01em; color: #161616; margin-bottom: 22px; max-width: 880px; }
.cf-review__author { font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: rgba(22,22,22,.4); }
.cf-reviews__controls { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 24px; flex-wrap: wrap; }
.cf-reviews__counter { font-size: 14px; font-weight: 500; letter-spacing: .04em; color: rgba(22,22,22,.4); }
.cf-reviews__counter .current { color: #161616; }
.cf-reviews__dots { display: flex; align-items: center; gap: 8px; }
.cf-dot { width: 8px; height: 8px; padding: 0; border: none; cursor: pointer; background: rgba(22,22,22,.14); border-radius: 2px; transition: all .2s; }
.cf-dot.is-active { width: 28px; background: #161616; }
.cf-reviews__arrows { display: flex; gap: 10px; }
.cf-arrow { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--c-line); border-radius: 6px; cursor: pointer; color: #161616; font-size: 18px; transition: all .15s; }
.cf-arrow:hover { background: #161616; color: #fff; border-color: #161616; }
.cf-arrow:disabled { opacity: .3; cursor: not-allowed; }
.cf-arrow:disabled:hover { background: #fff; color: #161616; border-color: var(--c-line); }
.cf-reviews__cta { text-align: center; margin-top: 32px; }

/* Расписание семинаров */
/* Расписание — список по датам (агенда) */
.cf-sched { display: flex; flex-direction: column; margin-bottom: 24px; border-top: 1px solid var(--c-line); }
.cf-sched__row {
  display: grid; grid-template-columns: 150px 1fr auto; gap: 40px; align-items: center;
  padding: 26px 4px; border-bottom: 1px solid var(--c-line);
  transition: background .15s ease;
}
.cf-sched__row:hover { background: rgba(22,19,15,.02); }
.cf-sched__date { position: relative; padding-left: 18px; }
.cf-sched__date::before { content: ""; position: absolute; left: 0; top: 7px; width: 7px; height: 7px; border-radius: 50%; background: var(--c-green); }
.cf-sched__date-day { display: block; font-size: 22px; font-weight: 500; line-height: 1.1; letter-spacing: -.02em; color: #161616; }
.cf-sched__date-year { display: block; font-size: 13px; font-weight: 300; color: rgba(22,22,22,.45); margin-top: 3px; }
.cf-sched__info { min-width: 0; }
.cf-sched__city { font-size: 20px; font-weight: 500; line-height: 1.2; letter-spacing: -.01em; color: #161616; margin-bottom: 6px; }
.cf-sched__meta { font-size: 14px; font-weight: 300; line-height: 1.4; letter-spacing: -.01em; color: rgba(22,22,22,.55); }
.cf-sched__actions { display: flex; gap: 10px; }

/* Ведущие — критерии */
.cf-teachers-intro { font-size: 18px; font-weight: 300; line-height: 1.5; letter-spacing: -.01em; color: rgba(22,22,22,.55); max-width: 720px; margin-bottom: 32px; }
.cf-criteria { background: var(--c-bg-2); border-radius: 6px; padding: 32px 36px; margin-bottom: 40px; }
.cf-criteria__tag { font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: rgba(22,22,22,.4); margin-bottom: 22px; }
.cf-criteria__list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 48px; }
.cf-criteria__list li { position: relative; padding-left: 30px; font-size: 15px; font-weight: 300; line-height: 1.45; letter-spacing: -.01em; color: #161616; }
.cf-criteria__list li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px;
  background: url("../assets/logo-elem.svg") center / contain no-repeat;
}

/* Доп. опции — split */
.cf-extras { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cf-extra {
  display: flex; flex-direction: column;
  padding: 44px; border-radius: 14px;
  background: #fff; border: 1px solid var(--c-line);
}
.cf-extra--dark { background: var(--c-dark); border-color: var(--c-dark); }
.cf-extra__icon {
  width: 48px; height: 48px; border-radius: 10px; margin-bottom: 26px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--c-line); background: var(--c-bg); color: #161616;
}
.cf-extra--dark .cf-extra__icon { background: rgba(255,255,255,.08); color: #fff; }
.cf-extra__icon svg { width: 24px; height: 24px; }
.cf-extra__eyebrow { font-size: 12px; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; color: var(--c-sand-2); margin-bottom: 14px; }
.cf-extra--dark .cf-extra__eyebrow { color: var(--c-sand-1); }
.cf-extra h3 { font-size: clamp(22px, 2.2vw, 28px); font-weight: 500; line-height: 1.15; letter-spacing: -.02em; color: #161616; margin-bottom: 14px; max-width: 340px; }
.cf-extra--dark h3 { color: #fff; }
.cf-extra h3 .lite { font-weight: 300; }
.cf-extra p { font-size: 16px; font-weight: 300; line-height: 1.5; letter-spacing: -.01em; color: rgba(22,22,22,.55); max-width: 420px; margin-bottom: 32px; }
.cf-extra--dark p { color: rgba(255,255,255,.6); }
.cf-extra .btn { align-self: flex-start; margin-top: auto; }

/* ============================================================
   Страница «Методология» (methodology.html)
   Переиспользует: .page-hero / .stats / .tk-layout / .tk-sidebar /
   .tk-title / .tk-quote / .ep-avatar / .cp-section-head / .pp-final
   ============================================================ */

/* Блок раздела */
.mt-block { scroll-margin-top: 96px; padding: 52px; border-radius: 8px; }
.mt-block:nth-child(odd) { background: #fff; box-shadow: 0 18px 50px -34px rgba(22,19,15,.12); }
.mt-block:nth-child(even) { border: 1px solid var(--c-line); }
.mt-block__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; padding-bottom: 28px; margin-bottom: 32px; border-bottom: 1px solid var(--c-line); }
.mt-block__head .block-eyebrow { margin-bottom: 14px; }
.mt-block__num { flex-shrink: 0; font-size: clamp(2rem, 3vw, 2.6rem); font-weight: 500; line-height: 1; letter-spacing: -.03em; color: rgba(22,22,22,.18); }
.mt-block > p { font-size: 16px; font-weight: 300; line-height: 1.55; letter-spacing: -.01em; color: rgba(22,22,22,.6); margin-bottom: 28px; max-width: 780px; }
.mt-block > p strong { color: #161616; font-weight: 500; }
.mt-block > p:last-child { margin-bottom: 0; }
.mt-subhead { font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: rgba(22,22,22,.4); margin: 56px 0 24px; }
.mt-subhead--gap { margin-bottom: 44px; }

/* Описание в две колонки (блоки 01–04) */
.mt-desc { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 56px; }
.mt-desc p { margin: 0; max-width: none; font-size: 16px; font-weight: 300; line-height: 1.55; letter-spacing: -.01em; color: rgba(22,22,22,.6); }
.mt-desc p strong { color: #161616; font-weight: 500; }

/* Блок 05: описание слева, таблица справа */
.mt-relia { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start; }
.mt-relia__desc { display: flex; flex-direction: column; gap: 14px; }
.mt-relia__desc p { margin: 0; max-width: none; font-size: 16px; font-weight: 300; line-height: 1.55; letter-spacing: -.01em; color: rgba(22,22,22,.6); }
.mt-relia .mt-alpha { margin-top: 0; }

/* Таблица шкал */
.mt-table { width: 100%; border-collapse: collapse; }
.mt-table th { font-size: 12px; font-weight: 400; letter-spacing: .04em; text-transform: uppercase; color: rgba(22,22,22,.4); text-align: left; padding: 0 18px 14px; border-bottom: 1px solid #161616; }
.mt-table td { padding: 20px 18px; font-size: 16px; font-weight: 300; line-height: 1.5; letter-spacing: -.01em; color: rgba(22,22,22,.7); border-bottom: 1px solid var(--c-line); vertical-align: top; }
.mt-table tbody tr:first-child td { padding-top: 32px; }   /* больше отступ после шапки таблицы */
.mt-table tr:last-child td { border-bottom: none; }
.mt-table td:first-child { position: relative; padding-left: 24px; width: 32%; font-weight: 500; color: #161616; }
.mt-table tbody tr td:first-child::before { content: ""; position: absolute; left: 0; top: 29px; width: 7px; height: 7px; background: #95BD99; }
.mt-table tbody tr:first-child td:first-child::before { top: 41px; }
.mt-table tbody tr:nth-child(3n+2) td:first-child::before { background: #98A7D5; }
.mt-table tbody tr:nth-child(3n) td:first-child::before { background: #C2B79F; }
/* Однотонные буллеты по блокам опросников */
#hexaco .mt-table tbody tr td:first-child::before { background: #95BD99; }
#destructors .mt-table tbody tr td:first-child::before { background: #C2B79F; }
#motivation .mt-table tbody tr td:first-child::before { background: #98A7D5; }

/* Таблица α-Кронбаха */
.mt-alpha { width: 100%; border-collapse: collapse; max-width: 920px; margin-top: 24px; }
.mt-alpha th { font-size: 12px; font-weight: 400; letter-spacing: .04em; text-transform: uppercase; color: rgba(22,22,22,.4); text-align: left; padding: 0 0 14px; border-bottom: 1px solid #161616; }
.mt-alpha th:last-child { text-align: right; }
.mt-alpha td { padding: 14px 0; font-size: 14px; font-weight: 300; letter-spacing: -.01em; color: rgba(22,22,22,.7); border-bottom: 1px solid var(--c-line); }
.mt-alpha tr:last-child td { border-bottom: none; }
.mt-alpha td:first-child { color: #161616; }
.mt-alpha td:last-child { width: 140px; text-align: right; font-weight: 600; letter-spacing: -.01em; color: #161616; }
.mt-alpha__group td { padding: 32px 0 14px; font-size: 12px; font-weight: 400; letter-spacing: .04em; text-transform: uppercase; color: rgba(22,22,22,.4); border-bottom: 1px solid #161616; }
.mt-alpha tbody tr:first-child.mt-alpha__group td { padding-top: 28px; }

/* Полоса метрик (3 кол.) */
.mt-stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--c-line); border-left: 1px solid var(--c-line); max-width: 920px; margin: 24px 0 8px; }
.mt-stat { position: relative; padding: 28px 26px; background: #fff; border-right: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); }
.mt-stat::before { content: ""; position: absolute; top: 0; left: 0; width: 48px; height: 3px; background: #95BD99; }
.mt-stat:nth-child(2)::before { background: #98A7D5; }
.mt-stat:nth-child(3)::before { background: #C2B79F; }
.mt-stat__num { font-size: clamp(1.6rem, 2.4vw, 2rem); font-weight: 500; line-height: 1; letter-spacing: -.02em; color: #161616; margin-bottom: 12px; }
.mt-stat__label { font-size: 13px; font-weight: 300; line-height: 1.4; letter-spacing: -.01em; color: rgba(22,22,22,.55); }

/* Таблица отраслей с барами */
.mt-industry { width: 100%; border-collapse: collapse; max-width: 920px; }
.mt-industry th { font-size: 12px; font-weight: 400; letter-spacing: .04em; text-transform: uppercase; color: rgba(22,22,22,.4); text-align: left; padding: 0 0 14px; border-bottom: 1px solid #161616; }
.mt-industry th:last-child { text-align: right; }
.mt-industry td { padding: 16px 0; font-size: 14px; font-weight: 300; letter-spacing: -.01em; color: rgba(22,22,22,.7); border-bottom: 1px solid var(--c-line); vertical-align: middle; }
.mt-industry tr:last-child td { border-bottom: none; }
.mt-industry td:first-child { width: 32%; color: #161616; }
.mt-industry td:nth-child(2) { padding: 16px 24px; }
.mt-industry td:last-child { width: 70px; text-align: right; font-weight: 600; letter-spacing: -.01em; color: #161616; }
.mt-bar { height: 4px; background: var(--c-line); border-radius: 2px; overflow: hidden; }
.mt-bar__fill { height: 100%; background: #95BD99; }

/* Пользователи — кольцевая диаграмма */
.mt-users { display: flex; align-items: center; gap: 64px; flex-wrap: wrap; padding-top: 8px; }
.mt-users__chart { position: relative; width: 200px; height: 200px; flex-shrink: 0; }
.mt-users__legend { display: flex; flex-direction: column; gap: 20px; }
.mt-users__row { display: flex; align-items: center; gap: 14px; }
.mt-users__dot { width: 12px; height: 12px; flex-shrink: 0; }
.mt-users__pct { font-size: 1.6rem; font-weight: 500; letter-spacing: -.02em; color: #161616; }
.mt-users__cap { font-size: 13px; color: rgba(22,22,22,.55); margin-left: 10px; }

/* Карточки соответствия */
.mt-compliance { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 8px; }
.mt-comp { position: relative; overflow: hidden; display: flex; flex-direction: column; background: #fff; border-radius: 6px; padding: 34px 28px 28px; box-shadow: 0 12px 36px -24px rgba(22,19,15,.08); }
.mt-comp::before { content: ""; position: absolute; top: 0; left: 0; width: 48px; height: 3px; background: #95BD99; }
.mt-comp:nth-child(2)::before { background: #98A7D5; }
.mt-comp:nth-child(3)::before { background: #C2B79F; }
.mt-comp__tag { font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: rgba(22,22,22,.4); margin-bottom: 14px; }
.mt-comp h4 { font-size: 16px; font-weight: 500; line-height: 1.3; letter-spacing: -.01em; color: #161616; margin-bottom: 12px; }
.mt-comp p { font-size: 14px; font-weight: 300; line-height: 1.5; letter-spacing: -.01em; color: rgba(22,22,22,.55); margin-bottom: 22px; flex: 1; }
.mt-comp__link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; letter-spacing: -.01em; color: #161616; }
.mt-comp__link::after { content: "→"; transition: transform .18s ease; }
.mt-comp__link:hover::after { transform: translateX(3px); }

/* Команда — архитекторы */
.mt-team { padding-top: 0; }
.mt-dev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mt-dev { display: flex; flex-direction: column; background: #fff; border-radius: 6px; padding: 32px 30px; box-shadow: 0 12px 36px -24px rgba(22,19,15,.08); }
.mt-dev__num { font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: rgba(22,22,22,.35); margin-bottom: 24px; }
.mt-dev .ep-avatar { margin-bottom: 18px; }
.mt-dev__photo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; object-position: top center; margin-bottom: 18px; background: var(--c-bg-2); }
.mt-dev__name { font-size: 18px; font-weight: 500; line-height: 1.25; letter-spacing: -.01em; color: #161616; margin-bottom: 6px; }
.mt-dev__title { font-size: 14px; font-weight: 400; line-height: 1.35; letter-spacing: -.01em; color: #161616; margin-bottom: 6px; }
.mt-dev__role { font-size: 14px; font-weight: 300; line-height: 1.4; letter-spacing: -.01em; color: rgba(22,22,22,.5); margin-bottom: 20px; max-width: 320px; }
.mt-dev__quote { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--c-line); font-size: 14px; font-weight: 300; font-style: italic; line-height: 1.5; letter-spacing: -.01em; color: rgba(22,22,22,.6); }

/* ============================================================
   Responsive
   ============================================================ */
/* ===== Планшет: 768–1200 ===== */
@media (max-width: 1200px) {
  /* Хедер -> бургер-меню (7 пунктов не помещаются в ряд на планшете) */
  .nav {
    position: fixed; inset: 72px 0 auto 0;
    flex: none;
    flex-direction: column; justify-content: flex-start; gap: 0;
    background: rgba(12,15,14,.97); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--c-dark-line);
    padding: 8px var(--pad) 20px;
    transform: translateY(-120%); transition: transform .3s ease;
    height: auto;
  }
  .nav.is-open { transform: translateY(0); }
  .nav__link { padding: 15px 0; border-bottom: 1px solid var(--c-dark-line); width: 100%; font-size: 16px; }
  .header__cta { display: none; }
  .burger { display: flex; }

  .hero__inner {
    grid-template-columns: 1fr;
    row-gap: 32px;
    margin-bottom: 64px;
  }
  .hero__label,
  .hero__title,
  .hero__col--right { grid-column: 1 / -1; grid-row: auto; }
  .hero__title { font-size: clamp(40px, 7vw, 60px); }
  .hero__col--right { gap: 28px; margin-top: 4px; }
  .stats { flex-wrap: wrap; row-gap: 28px; padding: 24px 28px; }
  .stats__item { flex: 1 1 40%; min-width: 200px; }
  .scenarios { row-gap: 40px; }
  .scenarios__intro { grid-column: 1 / -1; }
  .scenarios__cards { grid-column: 1 / -1; }
  .section__head--split { grid-template-columns: 1fr; gap: 20px; }
  .process__head,
  .process__list,
  .process__aside { grid-column: 1 / -1; }
  .process__list { padding-right: 0; }
  .process__aside { min-height: 220px; margin-top: 40px; }
  .morecases__head .block-eyebrow,
  .morecases__head .block-title,
  .morecases__aside { grid-column: 1 / -1; grid-row: auto; }
  .morecases__head .block-title { margin-bottom: 24px; }
  .method { grid-template-columns: 1fr; }
  .method__card { height: auto; min-height: 320px; }
  .case__panel { width: 64%; }
  .case-stats { grid-template-columns: repeat(2, 1fr); }   /* 4-в-ряд тесно в 64% панели */
  .case-stat:nth-child(2n) { border-right: none; }
  .case-stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.14); }
  .advantages { grid-template-columns: 1fr; gap: 36px; }
  .cert { grid-template-columns: 1fr; gap: 28px; }
  .reestr__card, .cert__text { grid-column: auto; }   /* сброс 1/7 и 7/13 — иначе плодятся неявные колонки */
  .reestr__card { width: 100%; max-width: 560px; }   /* была фикс. 560px -> переполнение на узких */
  .cert__bg { opacity: .25; }
  .cta { grid-template-columns: 1fr; gap: 36px; }
  .cta__text { grid-column: 1 / -1; }
  .form { grid-column: 1 / -1; margin-right: 0; border-radius: var(--radius-lg); }
  .footer__inner { grid-template-columns: repeat(3, 1fr); row-gap: 40px; padding-bottom: 64px; }
  .footer__logo { grid-column: 1 / -1; }
  .footer__col--product,
  .footer__col--company,
  .footer__col--contacts { grid-column: auto; }
  .footer__bottom { grid-template-columns: 1fr; row-gap: 18px; }
  .footer__legal, .footer__docs, .footer__policy { grid-column: 1 / -1; }

  /* Cases page */
  .fcase__stats { grid-template-columns: repeat(2, 1fr); }
  .fcase__stat:nth-child(2) { border-right: none; }
  .fcase__stat:nth-child(1), .fcase__stat:nth-child(2) { border-bottom: 1px solid var(--c-line); }
  .cp-wall__grid { grid-template-columns: 1fr 1fr; }
  .cp-cta__inner { grid-template-columns: 1fr; gap: 32px; padding: 40px; }

  /* Publications page */
  .pub-cats { grid-template-columns: 1fr 1fr; }
  .pub-cats .pub-cat:last-child { grid-column: 1 / -1; }
  .pub-grid { grid-template-columns: 1fr 1fr; }
  .pub-featured { grid-template-columns: 1fr; }
  .pub-featured__visual { aspect-ratio: 1600 / 535; min-height: 0; }
  .pub-featured__visual img { object-fit: cover; }
  .pub-featured__body { padding: 36px; }

  /* Partners page */
  .pp-benefits { grid-template-columns: repeat(2, 1fr); }
  .pp-curve__name { white-space: normal; }
  .pp-partners { grid-template-columns: repeat(2, 1fr); }
  .pp-final__inner { grid-template-columns: 1fr; gap: 32px; }

  /* Experts page */
  .ep-dev-grid { grid-template-columns: 1fr; }
  .ep-grid { grid-template-columns: repeat(2, 1fr); }

  /* Tasks page */
  .tk-layout { grid-template-columns: 1fr; gap: 40px; }
  .tk-sidebar { display: none; }
  .tk-scenario { padding: 36px; }
  .tk-meta { grid-template-columns: repeat(2, 1fr); }
  .tk-block { grid-template-columns: 1fr; gap: 14px; }
  .tk-block__label { padding-top: 0; }

  /* Reports page */
  .rp-format { padding: 36px; }
  .rp-grid { grid-template-columns: 1fr; gap: 32px; }
  .rp-grid--reverse .rp-info { order: 2; }
  .rp-grid--reverse .rp-mock { order: 1; }
  .rp-mock { justify-content: flex-start; }
  .rp-principles { grid-template-columns: repeat(2, 1fr); }

  /* Certification page */
  .cf-audience { grid-template-columns: 1fr; }
  .cf-important__panel { width: 66%; padding: 40px; }
  .cf-results { grid-template-columns: 1fr; }
  .cf-levels { grid-template-columns: 1fr; }
  .cf-sched__row { grid-template-columns: 120px 1fr; gap: 6px 24px; }
  .cf-sched__actions { grid-column: 2; justify-self: start; margin-top: 12px; }
  .cf-criteria__list { grid-template-columns: 1fr; }
  .cf-note { grid-template-columns: 1fr; gap: 20px; }
  .cf-extras { grid-template-columns: 1fr; }
  .cf-reviews-layout { grid-template-columns: 1fr; gap: 40px; }

  /* Methodology page */
  .mt-block { padding: 36px; }
  .mt-stats { grid-template-columns: 1fr; }
  .mt-compliance { grid-template-columns: 1fr; }
  .mt-dev-grid { grid-template-columns: 1fr; }
  .mt-users { gap: 32px; }
}

/* ===== Мобильные: 360–768 ===== */
@media (max-width: 767.98px) {
  :root { --pad: 20px; }   /* было 40px — давало всего ~280px контента на 360px */

  /* Заголовки секций — 48px слишком крупно для телефона (длинные слова не влезают) */
  .block-title { font-size: clamp(28px, 7vw, 38px); }

  /* Hero: на телефоне не на весь экран, меньше отступ сверху */
  .hero { min-height: auto; padding-top: 116px; padding-bottom: 40px; }
  .hero__inner { margin-bottom: 48px; }

  .stats { flex-direction: column; align-items: stretch; gap: 20px; padding: 24px; }
  .stats__item { flex: none; min-width: 0; }
  .stats__sep { display: none; }
  .stats__num { font-size: 24px; min-width: 64px; }
  .stats__label { max-width: none; }

  .scenarios__cards { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .card { padding: 24px; }
  .scenarios__title { font-size: clamp(34px, 7vw, 48px); }

  .process__item { flex-direction: column; align-items: flex-start; gap: 12px; }
  .section--case { background-attachment: scroll; }
  .case__panel { width: 100%; }
  .case__panel-inner { padding: 90px var(--pad) 64px; }
  .case-stats { grid-template-columns: 1fr; }
  .case-stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,.14); }
  .case-stat:last-child { border-bottom: none; }
  .morecases__cards { grid-template-columns: 1fr; gap: 20px; }
  .case-card { padding: 26px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .form { padding: 26px; }

  /* Прелоадер — компактнее, чтобы логотип влезал на узких */
  .preloader__mark { width: 38px; height: 38px; }
  .preloader__word { font-size: 26px; }

  /* Cases page */
  .page-hero { padding-top: 132px; padding-bottom: 56px; }
  .page-hero__lead { margin-bottom: 40px; }
  .fcase { padding: 28px; }
  .cp-wall__grid { grid-template-columns: 1fr; }
  .cp-cta__inner { padding: 32px 20px; }
  .cp-section-head { margin-bottom: 40px; }

  /* Publications page */
  .pub-cats, .pub-grid { grid-template-columns: 1fr; }
  .pub-cats .pub-cat:last-child { grid-column: auto; }
  .pub-featured__body { padding: 28px 22px; }
  .pub-search { flex: 1 1 100%; min-width: 0; margin-left: 0; }
  .cf-note { padding: 24px 20px; }

  /* Partners page */
  .pp-benefits { grid-template-columns: 1fr; }
  .pp-steps { grid-template-columns: 1fr; }
  .pp-curve__name { font-size: 15px; }
  .pp-final__title { font-size: clamp(24px, 6vw, 32px); }

  /* Experts page */
  .ep-grid { grid-template-columns: 1fr; }

  /* Tasks page */
  .tk-scenario { padding: 28px 22px; }
  .tk-meta { grid-template-columns: 1fr; }

  /* Reports page */
  .rp-format { padding: 28px 22px; }
  .rp-principles { grid-template-columns: 1fr; }
  .rp-meta { grid-template-columns: 1fr; }
  .rp-meta__cell { border-right: none; }
  .rp-meta__cell:nth-last-child(2) { border-bottom: 1px solid var(--c-line); }
  .rp-meta__cell:last-child { border-bottom: none; }

  /* Certification page */
  .cf-review__card { padding: 40px 28px 32px 48px; }
  .cf-review__text { font-size: 16px; }
  .cf-extra { padding: 32px; }
  .pp-faq--cols { grid-template-columns: 1fr; gap: 0; }
  .cf-important { min-height: 0; }
  .cf-important__panel { width: 100%; padding: 32px; }

  /* Длинные слова (напр. «Стрессоустойчивость») не должны распирать таблицу */
  .compare td, .mt-table td, .mt-alpha td, .mt-industry td { overflow-wrap: anywhere; }

  /* Таблица сравнения (index) — ужимаем паддинги/шрифт */
  .compare th:first-child, .compare td:first-child { padding-left: 4px; }
  .compare td:first-child { padding-right: 12px; width: 52%; }
  .compare th, .compare td { font-size: 14px; }
  .compare tbody td:last-child::before { width: 16px; height: 16px; margin-right: 8px; }

  /* Methodology page */
  .mt-block { padding: 28px 22px; }
  .mt-block__num { font-size: 1.8rem; }
  .mt-desc { grid-template-columns: 1fr; gap: 14px; }
  .mt-relia { grid-template-columns: 1fr; gap: 28px; }
  /* Таблицы методологии — компактнее по горизонтали */
  .mt-table th { padding: 0 10px 12px; }
  .mt-table td { padding: 16px 10px; font-size: 15px; }
  .mt-table td:first-child { width: 40%; padding-left: 20px; }
  .mt-alpha td:last-child { width: 96px; }
  .mt-industry td:nth-child(2) { display: none; }
  .mt-industry td:last-child { width: 64px; }
}

/* ===== Малые телефоны: 360–460 ===== */
@media (max-width: 460px) {
  :root { --pad: 16px; }

  .footer__inner { grid-template-columns: 1fr; }
  .case-card__stats { gap: 20px; }
  .btn { width: 100%; white-space: normal; }   /* длинный текст кнопки переносится, а не распирает контейнер */
  .hero__actions { width: 100%; }

  /* Cases page */
  .fcase__stats { grid-template-columns: 1fr; }
  .fcase__stat { border-right: none; border-bottom: 1px solid var(--c-line); }
  .fcase__stat:last-child { border-bottom: none; }
  .cp-cta__actions { width: 100%; }

  /* Partners page */
  .pp-partners { grid-template-columns: 1fr; }
}

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

/* ============================================================
   Прелоадер — сборка логотипа на тёмном фоне
   ============================================================ */
.preloader {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--c-dark);
  display: flex; align-items: center; justify-content: center;
  transition: transform .7s cubic-bezier(.76, 0, .24, 1);
  will-change: transform;
}
.preloader.is-hidden { transform: translateY(100%); }   /* уходит сверху вниз */
.preloader__logo { display: flex; align-items: center; }
.preloader__mark {
  width: 46px; height: 46px; display: block;
  transform-origin: center;
  animation: pl-mark 1.4s cubic-bezier(.5, 0, .15, 1) both;
}
.preloader__word {
  overflow: hidden; white-space: nowrap;
  max-width: 0; margin-left: 0; opacity: 0;
  font-family: var(--ff); font-weight: 500; font-size: 32px;
  line-height: 1; letter-spacing: .01em; text-transform: uppercase; color: #fff;
  animation: pl-word .7s cubic-bezier(.5, 0, .15, 1) .9s both;
}
.preloader__word-light { font-weight: 300; }
@keyframes pl-mark {
  0%   { transform: scale(3) rotate(-300deg); opacity: 0; }
  25%  { opacity: 1; }
  100% { transform: scale(1) rotate(0deg); opacity: 1; }
}
@keyframes pl-word {
  0%   { max-width: 0; margin-left: 0; opacity: 0; }
  100% { max-width: 360px; margin-left: 14px; opacity: 1; }
}

/* --- Cookie banner --- */
.cookie-banner {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9000;
  width: 380px;
  max-width: calc(100vw - 40px);
  background: #fff;
  color: var(--c-ink);
  border: 1px solid var(--c-line);
  border-radius: 10px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .12);
  padding: 14px 16px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .3s ease, transform .3s ease;
}
.cookie-banner.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner__inner {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cookie-banner__text {
  flex: 1;
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--c-ink-2);
}
.cookie-banner__link {
  color: var(--c-sand-2);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color .2s;
}
.cookie-banner__link:hover { color: var(--c-ink); }
.cookie-banner__close {
  flex-shrink: 0;
  background: var(--c-dark);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s;
}
.cookie-banner__close:hover { background: var(--c-dark-2); }

@media (max-width: 640px) {
  .cookie-banner { right: 12px; left: 12px; bottom: 12px; width: auto; }
}

/* --- Встроенная форма Битрикс24 в блоке CTA на главной --- */
.cta__form {
  grid-column: 7 / 13;
  align-self: stretch;
  margin-right: calc(-1 * var(--pad));   /* как у прежней .form — уходит в край */
  background: var(--c-card);
  border-radius: 6px 0 0 6px;
  padding: 40px;
  box-shadow: 0 18px 50px -34px rgba(22,19,15,.08);
  min-height: 200px;
}

/* --- Поп-ап с формой Битрикс24 --- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 9500;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 20px;
  overflow-y: auto;
  opacity: 0;
  transition: opacity .3s ease;
}
.modal[hidden] { display: none; }
.modal.is-open { opacity: 1; }
.modal__overlay {
  position: fixed;
  inset: 0;
  background: rgba(12, 15, 14, .55);
}
.modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 620px;
  margin: auto;
  background: var(--c-card);
  border-radius: 14px;
  box-shadow: 0 30px 80px -30px rgba(12, 15, 14, 0.1);
  padding: 68px 44px 48px;
  transform: translateY(20px) scale(.985);
  transition: transform .3s ease;
}
.modal.is-open .modal__dialog { transform: translateY(0) scale(1); }
.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--c-bg-2);
  color: var(--c-ink);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.modal__close:hover { background: var(--c-ink); color: var(--c-on-dark); }
.modal__body { min-height: 120px; }

@media (max-width: 1200px) {
  .cta__form { grid-column: 1 / -1; margin-right: 0; border-radius: var(--radius-lg); }
}
@media (max-width: 640px) {
  .modal { padding: 0; align-items: stretch; }
  .modal__dialog {
    max-width: none;
    min-height: 100%;
    border-radius: 0;
    padding: 64px 20px 40px;
  }
}

/* --- Кастомизация формы Битрикс24 под дизайн ЭРАЛИДЕР --- */
.b24-form-padding-side { padding: 0 !important; }
.b24-form-header-padding { padding: 0 !important; }
.b24-form-sign { display: none !important; }
.b24-form-wrapper { max-width: 100% !important; }
.b24-form-wrapper.b24-form-border-bottom { border-bottom: 0 !important; }
.b24-form-field { margin-bottom: 10px !important; }
/* поля ввода: заливка #f5f7f9 + скругление 4px у всех форм — как у эталонной формы.
   Двойной .b24-form-wrapper поднимает специфичность выше темы Битрикс24.
   Чекбоксы и радио — без фона. */
.b24-form-wrapper.b24-form-wrapper input.b24-form-control:not([type="checkbox"]):not([type="radio"]),
.b24-form-wrapper.b24-form-wrapper select.b24-form-control,
.b24-form-wrapper.b24-form-wrapper textarea.b24-form-control {
  background: #f5f7f9 !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 4px !important;
}
/* автозаполнение браузера не перекрашивает поле */
.b24-form-wrapper.b24-form-wrapper input.b24-form-control:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #f5f7f9 inset !important;
  box-shadow: 0 0 0 1000px #f5f7f9 inset !important;
}
/* поля чекбоксов и радио — без заливки */
.b24-form-wrapper.b24-form-wrapper .b24-form-control-container:has(input[type="checkbox"]),
.b24-form-wrapper.b24-form-wrapper .b24-form-control-container:has(input[type="radio"]) {
  background: transparent !important;
}
.b24-form-btn-block { margin-top: 20px !important; }
.b24-form-field-agreement a.b24-form-field-agreement-link {
  color: #161616 !important;
  text-decoration: none !important;
}
.b24-form-btn {
  background: #DED5C8 !important;
  color: #161616 !important;
  box-shadow: none !important;
  font-weight: 500 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}
/* стрелка справа — как в прежнем дизайне формы */
.b24-form-btn::after {
  content: "";
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-left: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3 8h9M9 4l4 4-4 4' stroke='%23161616' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
/* --- согласия (чекбоксы) --- */
/* отступ только над первым чекбоксом (над блоком согласий) */
.b24-form-field-agreement { margin-top: 0 !important; }
:not(.b24-form-field-agreement) + .b24-form-field-agreement { margin-top: 16px !important; }

/* строка: чекбокс слева, текст справа — текст не заходит под бокс */
.b24-form-field-agreement:has(> input[type="checkbox"]),
.b24-form-field-agreement :has(> input[type="checkbox"]) {
  display: flex !important;
  align-items: flex-start !important;
}
.b24-form-field-agreement .b24-form-control-desc {
  flex: 1 1 auto;
  opacity: 1 !important;
}
.b24-form-field-agreement .b24-form-field-agreement-link {
  font-size: 14px !important;
  line-height: 1.3 !important;
}
.b24-form-field-agreement input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  width: 20px !important;
  height: 20px !important;
  min-width: 20px;
  margin: 1px 10px 0 0 !important;
  flex-shrink: 0;
  border: 1px solid #b3afa6 !important;
  border-radius: 4px !important;
  background: #fff !important;
  cursor: pointer;
  position: relative;
  transition: background .15s, border-color .15s;
}
.b24-form-field-agreement input[type="checkbox"]:checked {
  background: #DED5C8 !important;
  border-color: #DED5C8 !important;
}
.b24-form-field-agreement input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid #161616;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* ============================================================
   Страница статьи (article-analiz-krovi.html)
   ============================================================ */

/* Заголовок в героe статьи — крупный текст, поэтому компактнее обычный page-hero__title */
.art-hero__title { max-width: 22ch; font-size: clamp(32px, 4.5vw, 56px); line-height: 1.06; }
.art-hero__meta {
  display: flex; flex-wrap: wrap; gap: 10px;
  font-size: 13px; letter-spacing: .04em; text-transform: uppercase;
  color: rgba(255,255,255,.45); margin-top: 8px;
}

/* ---------- Раскладка: липкое оглавление + текст ---------- */
.art-layout { display: grid; grid-template-columns: 240px minmax(0, 760px); gap: 64px; justify-content: start; padding-bottom: 110px; }
.art-sidebar { position: sticky; top: 96px; align-self: start; }
.art-sidebar__label {
  font-size: 12px; font-weight: 400; letter-spacing: .04em; text-transform: uppercase;
  color: rgba(22,22,22,.4); padding-bottom: 14px; margin-bottom: 8px;
  border-bottom: 1px solid var(--c-line);
}
.art-sidebar__nav { display: flex; flex-direction: column; }
.art-sidebar__item {
  font-size: 14px; font-weight: 400; line-height: 1.3; letter-spacing: -.01em;
  color: rgba(22,22,22,.55);
  border-left: 2px solid transparent;
  transition: color .15s, border-color .15s;
}
.art-sidebar__item:hover { color: #161616; }
.art-sidebar__item.is-active { color: #161616; border-left-color: var(--c-green); font-weight: 500; }

/* ---------- Типографика текста статьи ---------- */
.art-body { min-width: 0; }
.art-body h2 {
  scroll-margin-top: 96px;
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 500; line-height: 1.15; letter-spacing: -.02em;
  color: #161616; margin: 56px 0 20px;
}
.art-body h2:first-child { margin-top: 0; }
.art-body h3 {
  font-size: 20px; font-weight: 500; line-height: 1.3; letter-spacing: -.01em;
  color: #161616; margin: 36px 0 14px;
}
.art-body p {
  font-size: 17px; font-weight: 300; line-height: 1.65; letter-spacing: -.01em;
  color: var(--c-ink-2); margin-bottom: 16px;
}
.art-body ul { display: flex; flex-direction: column; gap: 10px; margin: 18px 0 22px; }
.art-body li {
  position: relative; padding-left: 22px;
  font-size: 16px; font-weight: 300; line-height: 1.55; letter-spacing: -.01em;
  color: var(--c-ink-2);
}
.art-body li::before { content: ""; position: absolute; left: 0; top: 10px; width: 6px; height: 6px; background: #95BD99; }
.art-body li:nth-child(3n+2)::before { background: #98A7D5; }
.art-body li:nth-child(3n)::before { background: #C2B79F; }
.art-body strong { color: #161616; font-weight: 500; }

/* ---------- Таблица измерения ---------- */
.art-table {
  width: 100%; border-collapse: collapse;
  border: 1px solid var(--c-line); border-radius: 8px; overflow: hidden;
  margin: 24px 0 28px;
  font-size: 15px;
}
.art-table th, .art-table td {
  text-align: left; vertical-align: top;
  padding: 14px 18px; border-bottom: 1px solid var(--c-line);
}
.art-table th {
  font-size: 12px; font-weight: 400; letter-spacing: .06em; text-transform: uppercase;
  color: rgba(22,22,22,.5); background: var(--c-bg-2);
}
.art-table td { color: var(--c-ink-2); font-weight: 300; line-height: 1.45; }
.art-table td:first-child { color: #161616; font-weight: 500; white-space: nowrap; }
.art-table tr:last-child td { border-bottom: none; }

/* ---------- Врезка «Важно» ---------- */
.art-callout {
  background: rgba(138,160,106,.10);
  border-left: 3px solid var(--c-green);
  border-radius: 0 8px 8px 0;
  padding: 22px 26px; margin: 26px 0;
}
.art-callout__title {
  font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  color: var(--c-green); margin-bottom: 8px !important;
}
.art-callout p { margin-bottom: 0; color: var(--c-ink); }

/* ---------- Нумерованные списки, цитаты, ссылки в тексте ---------- */
.art-body ol { list-style: decimal; padding-left: 24px; display: flex; flex-direction: column; gap: 10px; margin: 18px 0 22px; }
.art-body ol li { padding-left: 6px; color: var(--c-ink-2); }
.art-body ol li::before { display: none; }
.art-body ol li::marker { color: var(--c-sand-2); font-weight: 500; }

.art-quote {
  border-left: 3px solid var(--c-sand-2);
  padding: 8px 0 8px 24px; margin: 26px 0;
  font-size: 20px; font-weight: 500; font-style: italic; line-height: 1.4; letter-spacing: -.01em;
  color: #161616;
}

.art-figure {
  margin: 32px 0; padding: 28px 28px 18px;
  border: 1px solid var(--c-line); border-radius: 8px; background: #fff;
}
.art-figure svg { width: 100%; height: auto; display: block; }
.art-figure img { max-width: 100%; height: auto; margin-inline: auto; }
.art-figure__caption {
  font-size: 13px; color: var(--c-muted); text-align: center; margin-top: 12px;
}

.art-link { color: #161616; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; transition: color .2s; }
.art-link:hover { color: var(--c-sand-2); }
.art-links-line { margin-top: 28px; }
.art-note { font-size: 14px; color: var(--c-muted); }

/* ---------- Финальный блок статьи ---------- */
.art-end {
  margin-top: 56px; padding: 36px 40px;
  border: 1px solid var(--c-line); border-radius: 8px;
  background: #fff;
}
.art-end__question { font-size: 20px; font-weight: 500; line-height: 1.3; letter-spacing: -.01em; color: #161616; margin-bottom: 10px !important; }
.art-end__text { color: var(--c-ink-2); margin-bottom: 24px !important; }
.art-end__back { margin: 22px 0 0 !important; }
.art-end__back a { color: rgba(22,22,22,.55); text-decoration: underline; text-underline-offset: 4px; transition: color .2s; }
.art-end__back a:hover { color: #161616; }

/* ---------- Адаптив ---------- */
@media (max-width: 1200px) {
  .art-layout { grid-template-columns: 200px minmax(0, 680px); gap: 40px; }
}
@media (max-width: 1024px) {
  .art-layout { display: block; }
  .art-sidebar { position: static; margin-bottom: 40px; }
  .art-sidebar__nav { flex-direction: row; flex-wrap: wrap; gap: 8px; }
  .art-sidebar__item {
    border: 1px solid var(--c-line); border-left-width: 1px; border-radius: 999px;
    background: #fff; padding: 0;
  }
  .art-sidebar__item { padding: 9px 16px; }
  .art-sidebar__item.is-active { border-color: var(--c-ink); }
}
@media (max-width: 640px) {
  .art-layout { padding-bottom: 70px; }
  .art-body p { font-size: 16px; }
  .art-table { display: block; overflow-x: auto; white-space: normal; font-size: 14px; }
  .art-table th, .art-table td { padding: 12px 14px; }
  .art-table td:first-child { white-space: nowrap; }
  .art-end { padding: 26px 22px; }
}
