/* =====================================================================
   «Точка роста» - сайты для бизнеса
   Фирменный стиль: светлый холодный фон, сине-черный текст, лимонный акцент (тема tablo.css). Шрифты Onest и Fira Sans Extra Condensed.

   Содержание файла:
   1. Шрифт
   2. Токены: цвета, размеры, отступы, движение
   3. Темы секций: темная, глубокая, светлая
   4. Основа и типографика
   5. Сетка и контейнер
   6. Кнопки и ссылки
   7. Шапка и логотип
   8. Начало секции и общие списки
   9. Первый экран
   10. 01 Подход
   11. 02 Для кого
   12. 03 Что входит
   13. 04 Как работаю
   14. 05 С прицелом на рекламу
   15. 06 Примеры
   16. 07 Цены
   17. 08 Про нейросети
   18. 09 Кто делает
   19. 10 Вопросы
   20. Финальный CTA и подвал
   21. Закрепленная кнопка и cookie
   22. Анимации появления
   23. Печать и уменьшенное движение
   ===================================================================== */


/* ===================== 1. ШРИФТ =====================
   Onest и Fira Sans Extra Condensed подключаются из Google Fonts в <head> каждой страницы. */

/* ===================== 2. ТОКЕНЫ ===================== */

:root {
  /* Фирменные цвета */
  --gold: #F3B72C;            /* акцент: кнопки, важные цифры */
  --gold-hover: #FFC94A;
  --gold-active: #E0A50E;
  --on-gold: #171A1E;         /* текст на золоте */
  --graphite: #191B20;        /* основной фон */
  --deep: #111317;            /* самые глубокие блоки, финал, подвал */
  --light: #F5F3EE;           /* светлые секции */
  --white: #FFFFFF;

  /* Шрифт */
  --font: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* Размеры текста (desktop) */
  --fs-h1: clamp(44px, 4.1vw, 58px);
  --lh-h1: 1.08;
  --fs-h2: clamp(34px, 3vw, 40px);
  --fs-h3: 20px;
  --fs-statement: clamp(26px, 2.5vw, 34px);
  --fs-price: 38px;
  --fs-lead: 18px;
  --fs-body: 16.5px;
  --fs-small: 15px;
  --fs-label: 13px;

  /* Сетка и отступы */
  --container: 1200px;
  --pad: 40px;
  --gap: 24px;
  --section-y: 100px;
  --header-h: 72px;

  /* Формы */
  --r-btn: 10px;
  --r-card: 16px;
  --r-panel: 20px;

  /* Движение */
  --t-fast: 160ms;
  --t-press: 80ms;
  --t-base: 250ms;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* Узкий desktop: заголовок плавно растет от 54 до 64 px */
@media (min-width: 1024px) and (max-width: 1279px) {
  :root { --fs-h1: clamp(48px, 4.3vw, 58px); }
}

/* Tablet */
@media (max-width: 1023px) {
  :root {
    --fs-h1: 44px;
    --lh-h1: 1.08;
    --fs-h2: 34px;
    --fs-h3: 20px;
    --fs-statement: 30px;
    --fs-price: 36px;
    --fs-lead: 18px;
    --pad: 32px;
    --gap: 20px;
    --section-y: 80px;
    --header-h: 64px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  :root {
    --fs-h1: 34px;
    --lh-h1: 1.08;
    --fs-h2: 28px;
    --fs-h3: 19px;
    --fs-statement: 25px;
    --fs-price: 34px;
    --fs-lead: 17px;
    --fs-body: 16px;
    --fs-small: 14px;
    --pad: 20px;
    --gap: 16px;
    --section-y: 64px;
    --header-h: 60px;
    --r-card: 14px;
  }
}

/* Узкие телефоны: заголовок чуть меньше, чтобы он уложился в 3 строки,
   а кнопка MAX была видна без прокрутки */
@media (min-width: 375px) and (max-width: 389px) {
  :root { --fs-h1: 32px; }
}
@media (max-width: 374px) {
  :root {
    --fs-h1: 32px;
    --fs-lead: 16px;
  }
}


/* ===================== 3. ТЕМЫ СЕКЦИЙ =====================
   Секция получает класс темы, и все элементы внутри берут цвета из ее переменных.
   Золото как текст - только на темных темах: на светлом оно не читается. */

:root,
.t-dark {
  --bg: #16191D;
  --surface: #1E2227;
  --line: #2C3137;
  --line-strong: #626A72;   /* рамка вторичной кнопки */
  --ink: #F3F4F5;
  --ink-2: #A0A7AF;         /* подписи: 7:1 */
  --ink-body: #C9CED3;      /* пояснения: 10:1 */
  --mark: var(--gold);      /* номера и метки */
  --focus: #F3F4F5;
}
.t-deep {
  --bg: #0E1013;
  --surface: #171A1E;
  --line: #24282D;
  --line-strong: #6E757D;
  --ink: #F3F4F5;
  --ink-2: #A0A7AF;
  --ink-body: #C9CED3;
  --mark: var(--gold);
  --focus: #F3F4F5;
}
.t-light {
  --bg: #F5F3EE;
  --surface: #FFFFFF;
  --line: #E1DED6;
  --line-strong: #15181C;
  --ink: #202329;
  --ink-2: #585E65;         /* 5.7:1 */
  --ink-body: #363B41;      /* 9:1 */
  --mark: #15181C;
  --focus: #15181C;
}
.t-dark,
.t-deep,
.t-light {
  background-color: var(--bg);
  color: var(--ink);
}


/* ===================== 4. ОСНОВА И ТИПОГРАФИКА ===================== */

*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--graphite);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--fs-body);
  font-weight: 450;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; }
a { color: inherit; }

.h1,
.h2 {
  font-weight: 750;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.h1 { font-size: var(--fs-h1); line-height: var(--lh-h1); }
.h2 { font-size: var(--fs-h2); line-height: 1.1; }
.h3 {
  font-size: var(--fs-h3);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.008em;
  text-wrap: balance;
}

.lead {
  max-width: 620px;
  font-size: var(--fs-lead);
  font-weight: 500;
  line-height: 1.55;
  color: var(--ink-body);
}

.eyebrow {
  font-size: var(--fs-label);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mark);
}

/* Выделение маркером: темный текст на золоте читается (10:1) */
.hl {
  padding: 0 0.08em;
  background: linear-gradient(transparent 58%, var(--gold) 58%, var(--gold) 92%, transparent 92%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Текст только для скринридера */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.icon { width: 20px; height: 20px; flex: none; }
.icon--sm { width: 16px; height: 16px; }

.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 12px 16px;
  background: var(--gold);
  color: var(--on-gold);
  border-radius: var(--r-btn);
  font-size: var(--fs-small);
  font-weight: 700;
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

/* Видимый фокус для всего, что можно нажать */
:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

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


/* ===================== 5. СЕТКА И КОНТЕЙНЕР ===================== */

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--pad));
  margin: 0 auto;
  padding: 0 var(--pad);
}

.section { padding: var(--section-y) 0; }

/* Две секции одной темы подряд: разделяет линия, двойного отступа нет */
.section--joined { padding-top: 0; }


/* ===================== 6. КНОПКИ И ССЫЛКИ ===================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 56px;
  padding: 0 28px;
  border: 1.5px solid transparent;
  border-radius: var(--r-btn);
  font-family: var(--font);
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color var(--t-fast) var(--ease),
    border-color var(--t-fast) var(--ease),
    color var(--t-fast) var(--ease),
    transform var(--t-press) var(--ease);
}
.btn:active { transform: translateY(1px); }

/* Основная: золото, графитовый текст */
.btn--primary {
  background: var(--gold);
  color: var(--on-gold);
}
.btn--primary:active { background: var(--gold-active); }

/* Вторичная: контур */
.btn--secondary {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn--secondary:active { background: var(--line); }

/* Малая кнопка (шапка, cookie) */
.btn--sm {
  height: 44px;
  padding: 0 18px;
  font-size: 15px;
  gap: 8px;
}
.btn--sm .icon { width: 18px; height: 18px; }

/* Наведение только для мыши, на телефоне его нет */
@media (hover: hover) {
  .btn--primary:hover { background: var(--gold-hover); }
  .btn--primary:active { background: var(--gold-active); }
  .btn--secondary:hover { background: var(--surface); border-color: var(--ink-2); }
  .btn--secondary:active { background: var(--line); }
}

/* Текстовая ссылка: без постоянного подчёркивания */
.link {
  color: var(--ink);
  text-decoration: none;
  transition: color var(--t-fast) var(--ease);
}
.link:focus-visible { outline-offset: 3px; border-radius: 2px; }
@media (hover: hover) {
  .link:hover { color: var(--mark); }
}


/* ===================== 7. ШАПКА И ЛОГОТИП ===================== */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-base) var(--ease);
}
.header.is-scrolled { border-bottom-color: var(--line); }

.header__inner {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  align-items: center;
  height: var(--header-h);
}

/* Текстовый логотип «Ольга Шум» */
.logo {
  grid-column: 1 / 4;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  padding: 4px 0;
  text-decoration: none;
  border-radius: 4px;
}
.logo__text {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.01em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--ink);
}
.logo:focus-visible { outline-offset: 3px; }

/* Меню начинается на линии колонки 4, как заголовки секций */
.header__nav {
  grid-column: 4 / 10;
  display: flex;
  gap: clamp(20px, 2.2vw, 32px);
}
.header__link {
  padding: 12px 0;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1;
  color: var(--ink-2);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--t-fast) var(--ease);
}
.header__link.is-active { color: var(--ink); }
.header__link:focus-visible { outline-offset: 2px; border-radius: 2px; }
@media (hover: hover) {
  .header__link:hover { color: var(--ink); }
}

/* Кнопка в шапке: контурная, пока виден первый экран, потом золотая */
.header__cta {
  grid-column: 10 / 13;
  justify-self: end;
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
  transition:
    background-color var(--t-base) var(--ease),
    border-color var(--t-base) var(--ease),
    color var(--t-base) var(--ease),
    transform var(--t-press) var(--ease);
}
@media (hover: hover) {
  .header__cta:hover { background: var(--surface); }
}
.past-hero .header__cta {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--on-gold);
}
@media (hover: hover) {
  .past-hero .header__cta:hover { background: var(--gold-hover); border-color: var(--gold-hover); }
}

@media (max-width: 1023px) {
  .header__inner {
    display: flex;
    justify-content: space-between;
  }
  .header__nav { display: none; }
}

@media (max-width: 767px) {
  /* На телефоне шапка не закреплена, связь дает кнопка внизу */
  .header { position: relative; }
  .logo__text { font-size: 17px; }
  .header__cta { padding: 0 14px; }
  /* «Написать в» скрыто визуально, но читается скринридером */
  .header__cta-long {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }
}


/* ===================== 8. НАЧАЛО СЕКЦИИ И ОБЩИЕ СПИСКИ ===================== */

.section__head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  padding-top: 28px;
  border-top: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.section__label {
  grid-column: 1 / 4;
  align-self: start;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 12px;
  font-size: var(--fs-label);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.section__num {
  color: var(--mark);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}

.section__intro { grid-column: 4 / 13; }
.section__intro .lead { margin-top: 20px; }

.section__body {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  margin-top: 56px;
}

.span-main { grid-column: 4 / 13; min-width: 0; }
.span-full { grid-column: 1 / 13; min-width: 0; }

@media (max-width: 1023px) {
  .section__head,
  .section__body { display: block; }
  .section__label { padding-top: 0; margin-bottom: 16px; }
}

@media (max-width: 767px) {
  .section__head { padding-top: 22px; scroll-margin-top: 24px; }
  .section__label { margin-bottom: 14px; }
  .section__intro .lead { margin-top: 14px; }
  .section__body { margin-top: 36px; }
}

/* Нейтральный список с небольшими маркерами */
.bullet-list li {
  position: relative;
  padding-left: 22px;
  line-height: 1.5;
}
.bullet-list li + li { margin-top: 12px; }
.bullet-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.58em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mark);
}

/* Простой список с черточками */
.dash-list li {
  position: relative;
  padding-left: 22px;
  line-height: 1.5;
}
.dash-list li + li { margin-top: 8px; }
.dash-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 10px;
  height: 0;
  border-top: 2px solid var(--ink-2);
}

/* Две цифры опыта */
.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap);
}
.stats__item {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.stats__value {
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--mark);
}
.stats__label {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--ink-2);
}
@media (max-width: 767px) {
  .stats__value { font-size: 28px; }
  .stats__label { font-size: 13.5px; }
}


/* ===================== 9. ПЕРВЫЙ ЭКРАН ===================== */

.hero {
  position: relative;
  padding: 72px 0 88px;
  overflow: hidden;   /* запасной вариант для старых браузеров */
  overflow: clip;     /* панель с лисом уходит за правый край без горизонтального скролла */
}

.hero__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
}

.hero__text {
  grid-column: 1 / 8;
  position: relative;
  z-index: 2;
}

.hero__title { margin-top: 22px; }

.hero__lead {
  margin-top: 26px;
  max-width: 580px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}

.hero__alt {
  margin-top: 18px;
  font-size: var(--fs-small);
  color: var(--ink-2);
}
.hero__alt .link {
  display: inline-block;
  padding: 12px 0;
  margin: -12px 0;    /* зона касания больше, чем текст */
}

.hero__note {
  margin-top: 6px;
  font-size: var(--fs-small);
  color: var(--ink-2);
}

.hero__stats {
  max-width: 520px;
  margin-top: 44px;
}

/* ----- Визуал первого экрана: карточка подхода вместо макета переписки ----- */
.hero__visual {
  grid-column: 8 / 13;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
  min-height: 560px;
  padding: 10px 0 10px 18px;
}

.hero__process-card {
  width: min(100%, 450px);
  padding: clamp(24px, 2.2vw, 34px);
  border: 1px solid #343941;
  border-radius: 24px;
  background: linear-gradient(145deg, #20242a 0%, #1b1e23 100%);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.2);
}
.hero__process-kicker {
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .09em;
  line-height: 1.4;
}
.hero__process-title {
  max-width: 340px;
  margin-top: 14px;
  color: #F5F3EE;
  font-size: clamp(24px, 2.2vw, 30px);
  font-weight: 750;
  letter-spacing: -.035em;
  line-height: 1.16;
}
.hero__process-intro {
  margin-top: 12px;
  color: #B9BEC5;
  font-size: 14px;
  line-height: 1.65;
}
.hero__process-list {
  display: grid;
  gap: 21px;
  margin-top: 28px;
}
.hero__process-item {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: start;
  gap: 13px;
}
.hero__process-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(243, 183, 44, .36);
  border-radius: 11px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.hero__process-item-title {
  color: #F5F3EE;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.4;
}
.hero__process-item-text {
  margin-top: 3px;
  color: #AEB4BC;
  font-size: 13px;
  line-height: 1.55;
}
.hero__process-promise {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 27px;
  padding: 14px 15px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .045);
  color: #D9DCE0;
  font-size: 12.5px;
  line-height: 1.55;
}
.hero__process-dot {
  flex: 0 0 7px;
  width: 7px;
  height: 7px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(243, 183, 44, .10);
}

/* Узкий desktop: бережём место для основного заголовка */
@media (min-width: 1024px) and (max-width: 1279px) {
  .hero__text { grid-column: 1 / 8; }
  .hero__lead { max-width: 500px; }
  .hero__visual {
    grid-column: 8 / 13;
    min-height: 520px;
    padding-left: 8px;
  }
  .hero__process-card { padding: 24px; }
  .hero__process-list { gap: 17px; }
}

/* Невысокие ноутбуки: немного компактнее первый экран */
@media (min-width: 1024px) and (max-height: 880px) {
  .hero { padding-top: 56px; }
  .hero__visual { min-height: 520px; }
  .hero__stats { margin-top: 32px; }
  .hero__process-card { padding: 24px; }
  .hero__process-list { gap: 16px; margin-top: 22px; }
  .hero__process-promise { margin-top: 20px; }
}

/* Планшет: карточка идёт под описанием и не создаёт пустую панель */
@media (max-width: 1023px) {
  .hero { padding: 64px 0 72px; }
  .hero__grid { display: block; }
  .hero__text { max-width: 700px; }
  .hero__visual {
    min-height: 0;
    margin: 42px 0 0;
    padding: 0;
    justify-content: flex-start;
  }
  .hero__process-card { width: min(100%, 620px); }
}

/* Телефон */
@media (max-width: 767px) {
  .hero { padding-top: 28px; }
  .hero__title { margin-top: 14px; }
  .hero__lead { margin-top: 16px; }
  .hero__actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin-top: 26px;
  }
  .hero__actions .btn--primary { width: 100%; }
  /* Вторая кнопка на телефоне — текстовая ссылка, чтобы не спорила с MAX */
  .hero__actions .hero__examples {
    height: 44px;
    padding: 0;
    border: 0;
    background: none;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    color: var(--gold);
  }
  .hero__actions .hero__examples:active { background: none; }
  .hero__alt { margin-top: 4px; }
  .hero__stats { margin-top: 30px; }
  .hero__visual { margin-top: 32px; }
  .hero__process-card { padding: 22px; border-radius: 19px; }
  .hero__process-title { font-size: 25px; }
  .hero__process-list { gap: 18px; margin-top: 23px; }
  .hero__process-promise { margin-top: 22px; }
}

/* ===================== 10. 01 ПОДХОД ===================== */

.approach { grid-column: 4 / 13; }

.statement {
  max-width: 860px;
  font-size: var(--fs-statement);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.approach__cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  margin-top: 56px;
}
.approach__col > p { color: var(--ink-body); }
.approach__col > .approach__final {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-weight: 700;
  color: var(--ink);
}
.approach__col > .approach__list-title {
  margin-bottom: 16px;
  font-weight: 700;
  color: var(--ink);
}
.approach .bullet-list { color: var(--ink-body); }

@media (max-width: 767px) {
  .approach__cols {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 36px;
  }
}


/* ===================== 11. 02 ДЛЯ КОГО ===================== */

.situations {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap);
}
.situation {
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
}
.situation__text {
  margin-top: 12px;
  line-height: 1.55;
  color: var(--ink-body);
}

@media (max-width: 1023px) {
  .situation { padding: 28px; }
}
@media (max-width: 767px) {
  .situations { grid-template-columns: 1fr; gap: 12px; }
  .situation { padding: 22px; }
  .situation__text { margin-top: 8px; }
}


/* ===================== 12. 03 ЧТО ВХОДИТ ===================== */

.included {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: 8px;
}
.rule-item {
  padding: 22px 0 26px;
  border-top: 1px solid var(--line);
}
.rule-item__title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
}
.rule-item__text {
  margin-top: 8px;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--ink-body);
}

@media (max-width: 1023px) {
  .included { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .included { grid-template-columns: 1fr; row-gap: 0; }
  .rule-item { padding: 14px 0 16px; }
  .rule-item__text { margin-top: 4px; font-size: 15px; }
}


/* ===================== 13. 04 КАК РАБОТАЮ ===================== */

/* Внутренняя сетка из 9 колонок совпадает с колонками 4-12 страницы */
.process {
  grid-column: 4 / 13;
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  column-gap: var(--gap);
  align-items: start;
}
.process__steps { grid-column: 1 / 8; }

.step {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  padding: 24px 0 28px;
  border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step__num {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.7;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}
.step__title {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.35;
}
.step__text {
  margin-top: 6px;
  line-height: 1.55;
  color: var(--ink-body);
}
.step__result {
  margin-top: 10px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
}
.step__result span { color: var(--gold-ink, #8a6100); }
.process__timing {
  margin-top: 24px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-body);
}
.honest { margin-top: 12px; list-style: none; padding: 0; }
.honest li { font-size: 15px; line-height: 1.6; color: var(--ink-body); }
.honest li + li { margin-top: 10px; }
.honest strong { color: var(--ink); font-weight: 700; }
.process__note {
  margin-top: 24px;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--ink-2);
}

/* Переписка: закреплена, пока листаются шаги */
.chat {
  grid-column: 6 / 10;
  position: sticky;
  top: 112px;
}
.chat__caption {
  margin-bottom: 12px;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--ink-2);
}
.chat__panel {
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: 0 20px 40px -24px rgba(21, 24, 28, 0.25);
}
.chat__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.chat__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}
.chat__name { font-size: 15px; font-weight: 700; }
.chat__list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding-top: 16px;
}
.chat__msg {
  max-width: 88%;
  padding: 11px 15px;
  background: var(--bg);
  border-radius: 16px 16px 16px 4px;
  font-size: 15.5px;
  line-height: 1.4;
}

@media (max-width: 1023px) {
  .process { display: block; }
  .chat {
    position: static;
    max-width: 460px;
    margin-top: 44px;
  }
}
@media (max-width: 767px) {
  .step {
    grid-template-columns: 40px minmax(0, 1fr);
    padding: 16px 0 18px;
  }
  .step__title { font-size: 17.5px; }
  .chat { max-width: none; }
  .chat__panel { padding: 16px; }
  .chat__msg { font-size: 15px; }
}


/* ===================== 14. 05 С ПРИЦЕЛОМ НА РЕКЛАМУ ===================== */

.ads-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.ads-grid__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 88px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.35;
}
.ads-grid__dot {
  width: 7px;
  height: 7px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--gold);
  flex: none;
}

.ads-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 16px 48px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.ads-bottom__main {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.ads-bottom__note {
  font-size: var(--fs-small);
  line-height: 1.55;
  color: var(--ink-2);
}
.ads-bottom__link {
  grid-column: 1 / -1;
  justify-self: start;
  display: inline-block;
  padding: 10px 0;
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 1023px) {
  .ads-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ads-bottom { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .ads-grid { grid-template-columns: 1fr; gap: 8px; }
  .ads-grid__item { min-height: 0; padding: 16px; font-size: 16px; }
  .ads-bottom { margin-top: 32px; padding-top: 24px; }
  .ads-bottom__main { font-size: 19px; }
}


/* ===================== 15. 06 ПРИМЕРЫ ===================== */

.examples {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
}

.example {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  color: var(--ink);
  text-decoration: none;
  transition: border-color var(--t-fast) var(--ease);
}
.example:focus-visible { outline-offset: 3px; }

.example__frame {
  position: relative;
  height: 280px;
  overflow: hidden;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.example__bar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.example__url {
  padding: 2px 14px;
  background: var(--bg);
  border-radius: 999px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--ink-2);
}
.example__shot {
  width: 100%;
  height: auto;
  transform: translateY(0);
  transition: transform 600ms ease-in-out;
}

.example__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px;
}
.example__tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}
.tag {
  padding: 3px 10px;
  border: 1px solid var(--mark);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mark);
}
.example__label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.example__title { margin-top: 14px; }
.example__desc {
  margin-top: 6px;
  font-size: var(--fs-small);
  color: var(--ink-2);
}
.example__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 18px;
  font-size: 16px;
  font-weight: 700;
}

/* Наведение: скриншот медленно прокручивается, как настоящая страница */
@media (hover: hover) {
  .example:hover { border-color: var(--ink-2); }
  .example:hover .example__shot {
    transform: translateY(-120px);
    transition-duration: 1200ms;
  }
}

.examples__counter { display: none; }

/* Tablet и mobile: горизонтальная лента с прилипанием */
@media (max-width: 1023px) {
  .examples {
    display: flex;
    gap: 20px;
    margin: 0 calc(-1 * var(--pad));
    padding: 0 var(--pad) 4px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 var(--pad);
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }
  .examples::-webkit-scrollbar { display: none; }
  .example {
    flex: 0 0 60%;
    scroll-snap-align: start;
  }
  .examples__counter {
    display: block;
    margin-top: 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-2);
    font-variant-numeric: tabular-nums;
  }
}
@media (max-width: 767px) {
  .examples { gap: 14px; }
  .example { flex-basis: 85%; }
  .example__frame { height: 220px; }
  .example__body { padding: 20px; }
}


/* ===================== 16. 07 ЦЕНЫ ===================== */

.plans {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: var(--gap);
  align-items: stretch;
}

.plan {
  display: flex;
  flex-direction: column;
  padding: 36px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
}
.plan__name {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.plan__price {
  margin-top: 12px;
  font-size: var(--fs-price);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  white-space: nowrap;
}
.plan__term {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
}
.plan__desc {
  margin-top: 16px;
  line-height: 1.55;
  color: var(--ink-body);
}
.plan__list-title {
  margin-top: 24px;
  margin-bottom: 10px;
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--ink-2);
}
.plan .dash-list { font-size: 16px; color: var(--ink-body); }

/* Сайт с более глубокой проработкой, выделен графитом */
.plan--main {
  background: var(--bg);
  border-color: var(--bg);
  box-shadow: 0 30px 60px -30px rgba(21, 24, 28, 0.55);
}
.plan--main .plan__name { color: var(--gold); }
.plan--main .bullet-list {
  font-size: 16px;
  color: var(--ink);
}
.plan__note {
  margin-top: auto;
  padding-top: 24px;
  font-size: var(--fs-small);
  line-height: 1.55;
  color: var(--ink-2);
}

.plans__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  margin-top: 32px;
}
.plans__cta-note {
  font-size: var(--fs-small);
  color: var(--ink-2);
}

/* Директ - следующий шаг: без заливки, тише карточек сайта */
.direct {
  margin-top: 80px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.direct__label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.direct__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 24px 48px;
  margin-top: 24px;
}
.direct__title {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.direct__price {
  margin-top: 10px;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.direct__price span {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--ink-2);
}
.direct__desc {
  margin-top: 14px;
  line-height: 1.55;
  color: var(--ink-body);
}
.direct__desc strong {
  font-weight: 800;
  color: var(--ink);
}
.direct__list-title {
  margin-bottom: 10px;
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--ink-2);
}
.direct__list {
  columns: 2;
  column-gap: 32px;
  font-size: 15.5px;
  color: var(--ink-body);
}
.direct__list li { break-inside: avoid; }
.direct__note {
  margin-top: 16px;
  font-size: var(--fs-small);
  color: var(--ink-2);
}
.direct__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 28px;
  padding: 18px 22px;
  background: var(--surface);
  border-radius: 12px;
  font-size: var(--fs-small);
}
.direct__foot .link {
  display: inline-block;
  padding: 8px 0;
  font-weight: 700;
}

@media (max-width: 1023px) {
  .plan { padding: 30px; }
  .direct__grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .plans { grid-template-columns: 1fr; gap: 14px; }
  .plan { padding: 24px; }
  .plans__cta .btn { width: 100%; }
  .direct { margin-top: 56px; }
  .direct__list { columns: 1; }
  .direct__foot { padding: 16px; }
}


/* ===================== 17. 08 ПРО НЕЙРОСЕТИ ===================== */

.quote-title { max-width: 820px; }

.ai {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px 56px;
  align-items: start;
}
.ai__answer {
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--gold);
}
.ai__text { max-width: 640px; }
.ai__text p { color: var(--ink-body); }
.ai__text p + p { margin-top: 16px; }
.ai__text .ai__final {
  margin-top: 28px;
  padding-left: 20px;
  border-left: 3px solid var(--gold);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--ink);
}

@media (max-width: 767px) {
  .ai { grid-template-columns: 1fr; }
  .ai__answer { font-size: 34px; }
  .ai__text .ai__final { font-size: 18px; }
}


/* ===================== 18. 09 КТО ДЕЛАЕТ ===================== */

.about__photo {
  grid-column: 4 / 8;
  align-self: start;
}
.about__photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--r-card);
}
.about__text { grid-column: 8 / 13; }
.about__stats .stats__value { font-size: 44px; }
.about__role {
  margin-top: 8px;
  color: var(--gold);
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.01em;
}
.about__lead {
  max-width: 560px;
  margin-top: 36px;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.55;
  color: var(--ink);
}
.about__direct {
  max-width: 560px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--ink-2);
}

@media (max-width: 1023px) {
  .section__body:has(.about__photo) {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    column-gap: var(--gap);
  }
  .about__photo { grid-column: 1 / 4; }
  .about__text { grid-column: 4 / 9; }
}
@media (max-width: 767px) {
  .section__body:has(.about__photo) { display: block; }
  .about__photo img { aspect-ratio: 4 / 5; object-position: center 20%; }
  .about__text { margin-top: 24px; }
  .about__stats .stats__value { font-size: 34px; }
  .about__lead { margin-top: 24px; font-size: 17px; }
}




/* ===================== ПОРТФОЛИО САЙТОВ ===================== */
.portfolio { grid-column: 1 / -1; min-width: 0; }
.portfolio__subhead {
  margin: 0 0 20px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.015em;
}
.portfolio__subhead--ads { margin-top: 58px; }
.portfolio__lead {
  max-width: 760px;
  margin: -8px 0 24px;
  color: var(--ink-2);
  font-size: var(--fs-small);
  line-height: 1.6;
}
.site-projects {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
}
.site-project {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  color: var(--ink);
  text-decoration: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  transition: border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.site-project:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
.site-project__cover {
  position: relative;
  display: flex;
  min-height: 205px;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 22px 24px;
  isolation: isolate;
}
.site-project__cover--food { background: #F3EBD9; color: #273C29; }
.site-project__cover--dozoriki { background: #E9EAF6; color: #343B6A; }
.site-project__cover--auto { background: #202833; color: #F5F3EE; }
.site-project__eyebrow {
  position: relative;
  z-index: 1;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: .11em;
}
.site-project__wordmark {
  position: relative;
  z-index: 1;
  max-width: 100%;
  font-size: clamp(27px, 2.4vw, 36px);
  font-weight: 750;
  line-height: 1.05;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.site-project__cover-note {
  position: relative;
  z-index: 1;
  max-width: 75%;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  opacity: .82;
}
.site-project__ornament {
  position: absolute;
  z-index: 0;
  display: block;
  pointer-events: none;
}
.site-project__ornament--food {
  width: 155px; height: 155px; right: -25px; bottom: -58px;
  border: 1px solid rgba(39,60,41,.22); border-radius: 50%;
  box-shadow: 0 0 0 17px rgba(39,60,41,.045), 0 0 0 34px rgba(39,60,41,.04);
}
.site-project__ornament--dozoriki {
  width: 150px; height: 150px; right: -28px; top: 35px;
  border: 1px solid rgba(52,59,106,.23); border-radius: 44% 56% 51% 49%; transform: rotate(22deg);
  box-shadow: 0 0 0 16px rgba(52,59,106,.05), 0 0 0 32px rgba(52,59,106,.04);
}
.site-project__ornament--auto {
  width: 220px; height: 110px; right: -45px; bottom: 2px;
  border: 1px solid rgba(243,183,44,.42); border-radius: 50%; transform: rotate(-22deg);
  box-shadow: 0 0 0 12px rgba(243,183,44,.06), 0 0 0 26px rgba(243,183,44,.04);
}
.site-project__body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 22px 24px 24px; }
.site-project__type {
  font-size: 11px; font-weight: 750; line-height: 1.4; letter-spacing: .07em;
  text-transform: uppercase; color: var(--ink-2);
}
.site-project__title { margin-top: 7px; font-size: 21px; font-weight: 750; line-height: 1.3; letter-spacing: -.02em; }
.site-project__domain { margin-top: 4px; font-size: 14px; line-height: 1.45; color: var(--ink-2); overflow-wrap: anywhere; }
.site-project__link { margin-top: 22px; padding-top: 14px; width: 100%; border-top: 1px solid var(--line); font-size: 14px; font-weight: 750; line-height: 1.4; }
@media (hover: hover) {
  .site-project:hover { border-color: var(--mark); transform: translateY(-3px); box-shadow: 0 16px 36px -28px rgba(0,0,0,.4); }
}
.cases__item { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); }
.cases__link { border: 0; border-radius: 0; }
.cases__link:hover { transform: none; }
.cases__caption { padding: 17px 20px 20px; }
.cases__title { font-size: 17px; font-weight: 750; line-height: 1.35; letter-spacing: -.01em; }
.cases__result { margin-top: 6px; font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.process__assurance {
  margin-top: 28px;
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--r-card) var(--r-card) 0;
  background: rgba(255,255,255,.55);
}
.process__assurance-title { font-size: 18px; font-weight: 750; line-height: 1.4; letter-spacing: -.01em; }
.process__assurance p + p { margin-top: 7px; color: var(--ink-body); font-size: 15px; line-height: 1.6; }
@media (max-width: 1023px) {
  .site-projects { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-project__wordmark { font-size: clamp(27px, 4vw, 34px); }
}
@media (max-width: 767px) {
  .portfolio__subhead { font-size: 20px; }
  .portfolio__subhead--ads { margin-top: 42px; }
  .site-projects { grid-template-columns: 1fr; gap: 14px; }
  .site-project { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); }
  .site-project__cover { min-height: 188px; padding: 17px 15px; }
  .site-project__wordmark { font-size: 26px; }
  .site-project__cover-note { max-width: 100%; font-size: 11px; }
  .site-project__body { padding: 17px 15px; }
  .site-project__title { font-size: 18px; }
  .site-project__link { margin-top: auto; padding-top: 12px; }
  .cases { grid-template-columns: 1fr; gap: 14px; }
  .cases__caption { padding: 15px 16px 17px; }
  .process__assurance { padding: 19px 18px; }
}
@media (max-width: 360px) {
  .site-project { grid-template-columns: 1fr; }
  .site-project__cover { min-height: 150px; }
  .site-project__wordmark { font-size: 30px; }
}

/* ===================== 18а. 09 КЕЙСЫ ===================== */

.cases {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  list-style: none;
}
.cases__link {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  transition: border-color .2s, transform .2s;
}
.cases__link:hover { border-color: var(--mark); transform: translateY(-2px); }
.cases__link:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.cases__link img { display: block; width: 100%; height: auto; }

@media (max-width: 767px) {
  .cases { grid-template-columns: 1fr; gap: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .cases__link { transition: none; }
  .cases__link:hover { transform: none; }
}

/* ===================== 19. 10 ВОПРОСЫ ===================== */

.faq { grid-column: 4 / 11; }

.faq__item { border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }

.faq__btn {
  position: relative;
  display: block;
  width: 100%;
  min-height: 56px;
  padding: 22px 40px 22px 0;
  background: none;
  border: 0;
  border-radius: 4px;
  text-align: left;
  font-family: var(--font);
  font-size: 17.5px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
  cursor: pointer;
  text-underline-offset: 4px;
}
.faq__btn:focus-visible { outline-offset: 2px; }
@media (hover: hover) {
  .faq__btn:hover { color: var(--mark); }
}

.faq__icon {
  position: absolute;
  right: 0;
  top: 50%;
  width: 22px;
  height: 22px;
  margin-top: -11px;
  transition: transform var(--t-base) var(--ease);
}
.faq__item.is-open .faq__icon { transform: rotate(45deg); }

.faq__inner p {
  max-width: 620px;
  padding-bottom: 26px;
  line-height: 1.6;
  color: var(--ink-body);
}

/* Сворачивание работает только с JavaScript. Без него ответы открыты */
.js .faq__panel {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  opacity: 0;
  transition:
    grid-template-rows var(--t-base) var(--ease),
    opacity var(--t-base) var(--ease),
    visibility 0s linear var(--t-base);
}
.js .faq__item.is-open .faq__panel {
  grid-template-rows: 1fr;
  visibility: visible;
  opacity: 1;
  transition:
    grid-template-rows var(--t-base) var(--ease),
    opacity var(--t-base) var(--ease),
    visibility 0s;
}
.faq__inner { min-height: 0; overflow: hidden; }

@media (max-width: 1023px) {
  .faq { max-width: 720px; }
}
@media (max-width: 767px) {
  .faq__btn { padding: 18px 36px 18px 0; font-size: 16.5px; }
}


/* ===================== 20. ФИНАЛЬНЫЙ CTA И ПОДВАЛ ===================== */

.final {
  padding: var(--section-y) 0;
  text-align: center;
}
.final__inner { max-width: calc(760px + 2 * var(--pad)); }
.final__lead {
  margin: 20px auto 0;
  color: var(--ink-body);
}

.template {
  max-width: 560px;
  margin: 40px auto 0;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  text-align: left;
}
.template__caption {
  font-size: 14px;
  color: var(--ink-2);
}
.template__text {
  margin-top: 8px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
}
/* «Текст скопирован» появляется после нажатия кнопки */
.template__status {
  display: none;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gold);
}
.template__status.is-shown { display: flex; }

.final__actions {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}

.footer { font-size: 15px; }
.footer__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--gap);
  padding-top: 48px;
  padding-bottom: 40px;
}
/* Линия сверху только на ширину контента */
.footer__inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--pad);
  right: var(--pad);
  height: 1px;
  background: var(--line);
}
.footer .logo { margin-bottom: 8px; }
.footer__col > * + * { margin-top: 4px; }
.footer__muted {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-2);
}
.footer .link { display: inline-block; padding: 10px 0; }   /* зона касания 44 px */

@media (max-width: 767px) {
  .final__actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }
  .final__actions .btn { width: 100%; }
  .template { padding: 16px 18px; }
  .footer__inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 40px;
    padding-bottom: calc(32px + env(safe-area-inset-bottom));
  }
}

/* Страница политики конфиденциальности */
.policy__content { max-width: 680px; }
.policy__title { margin: 24px 0; }
.policy__content p + p { margin-top: 16px; }


/* ===================== 21. ЗАКРЕПЛЕННАЯ КНОПКА И COOKIE ===================== */

.sticky-cta { display: none; }

@media (max-width: 1023px) {
  .sticky-cta {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    padding: 12px var(--pad) calc(12px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    transform: translateY(100%);
    visibility: hidden;
    transition:
      transform var(--t-base) var(--ease),
      visibility 0s linear var(--t-base);
  }
  .sticky-cta .btn { width: 100%; }
  .sticky-cta.is-shown {
    transform: none;
    visibility: visible;
    transition:
      transform var(--t-base) var(--ease),
      visibility 0s;
  }
}

.cookie {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 60;
  width: min(360px, calc(100vw - 48px));
  padding: 16px 20px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  box-shadow: 0 20px 40px -16px rgba(0, 0, 0, 0.6);
}
.cookie[hidden] { display: none; }
.cookie__text {
  font-size: 14px;
  line-height: 1.5;
}
.cookie__btn { margin-top: 12px; }

@media (max-width: 767px) {
  .cookie {
    display: flex;
    z-index: 70;
    align-items: center;
    gap: 16px;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 12px var(--pad) calc(12px + env(safe-area-inset-bottom));
    border-width: 1px 0 0;
    border-radius: 0;
  }
  .cookie__btn { margin-top: 0; flex: none; }
}


/* ===================== 22. АНИМАЦИИ ПОЯВЛЕНИЯ =====================
   Работают только с классом .js на <html>. Текст первого экрана виден сразу,
   анимируются только лис и пузырь.
   --d: задержка, --dur: длительность, --y: сдвиг снизу. */

.js [data-hero] {
  opacity: 0;
  transform: translateY(var(--y, 12px));
  transition:
    opacity var(--dur, 500ms) var(--ease) var(--d, 0ms),
    transform var(--dur, 500ms) var(--ease) var(--d, 0ms);
}
.hero-ready [data-hero] {
  opacity: 1;
  transform: none;
}

/* Блоки при прокрутке. --i: порядковый номер в группе, --step: шаг задержки */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(var(--y, 14px));
  transition:
    opacity var(--dur, 550ms) var(--ease) calc(var(--base, 0ms) + var(--i, 0) * var(--step, 60ms)),
    transform var(--dur, 550ms) var(--ease) calc(var(--base, 0ms) + var(--i, 0) * var(--step, 60ms));
}
.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}
.js [data-reveal].reveal-instant { transition: none; }

/* Если script.js не загрузился - все видно */
.no-anim [data-hero],
.no-anim [data-reveal] {
  opacity: 1 !important;
  transform: none !important;
}


/* ===================== 23. ПЕЧАТЬ И УМЕНЬШЕННОЕ ДВИЖЕНИЕ ===================== */

@media print {
  .js [data-hero],
  .js [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .header,
  .sticky-cta,
  .cookie { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .js [data-hero],
  .js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-property: color, background-color, border-color, visibility !important;
    transition-duration: 0.01ms !important;
  }

  .btn:active { transform: none; }
  .example:hover .example__shot { transform: none; }
}

/* ===================== 18а. 09 КЕЙСЫ - карточки текстом ===================== */

.kases {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  list-style: none;
}
.kase {
  display: flex;
  flex-direction: column;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
}
.kase__tag {
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mark);
}
.kase__title { margin-top: 12px; font-size: 26px; font-weight: 800; line-height: 1.2; }
.kase__meta { margin-top: 8px; font-size: 15px; color: var(--ink-2); }
.kase__nums {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}
.kase__num {
  padding: 18px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.kase__num--wide { grid-column: 1 / 3; }
.kase__num b { display: block; font-size: 28px; font-weight: 800; line-height: 1.1; }
.kase__num b.kase__gold { color: var(--gold); }
.kase__num span { display: block; margin-top: 6px; font-size: 14px; line-height: 1.4; color: var(--ink-2); }
.kase__text { margin-top: 24px; }
.kase__h {
  margin-top: 16px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mark);
}
.kase__h:first-child { margin-top: 0; }
.kase__p, .kase__list li { margin-top: 6px; font-size: 16px; line-height: 1.5; color: var(--ink-body); }
.kase__list { list-style: none; }
.kase__list li { position: relative; padding-left: 22px; }
.kase__list li::before {
  content: ""; position: absolute; left: 0; top: 12px;
  width: 10px; height: 2px; background: var(--gold);
}
.kase__src { margin-top: auto; padding-top: 18px; font-size: 13px; color: var(--ink-2); }

@media (max-width: 1023px) {
  .kases { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .kases { gap: 16px; }
  .kase { padding: 22px 18px; border-radius: 16px; }
  .kase__title { font-size: 22px; }
  .kase__num { padding: 14px; }
  .kase__num b { font-size: 24px; }
}

/* ----- Первый экран: фото и карточка кейса ----- */
.hero__photo img { object-position: 50% 18%; }
.bubble--case { padding: 18px 20px; }
.bubble__label {
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2);
}
.bubble__big { margin-top: 6px; font-size: 40px; font-weight: 800; line-height: 1; color: #15181C; }
.bubble--case .bubble__text { margin-top: 8px; font-size: 14px; line-height: 1.4; color: var(--ink-2); }
.bubble__more {
  display: inline-block; margin-top: 12px; font-size: 14px; font-weight: 700; color: #15181C;
  text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 4px;
}
@media (max-width: 767px) {
  .hero__photo img { object-position: 50% 12%; }
  .bubble__big { font-size: 32px; }
}


/* ===================== 24. ДОПОЛНИТЕЛЬНЫЕ АНИМАЦИИ =====================
   Работают на компьютере и телефоне. При «уменьшить движение» в системе
   все отключается правилами раздела 23. */

/* Блоки при прокрутке: короткий подъем, чтобы при быстрой прокрутке не было пустот */
.js [data-reveal] { --y: 16px; --dur: 420ms; }

/* Цифры не прыгают по ширине, пока считают */
.stats__value { font-variant-numeric: tabular-nums; }

/* Пульсирующая точка в карточке «Мой подход» */
.hero__process-dot { position: relative; }
.hero__process-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--gold);
  animation: dot-pulse 2.2s ease-out infinite;
}
@keyframes dot-pulse {
  0%   { transform: scale(1);   opacity: .6; }
  70%  { transform: scale(3.2); opacity: 0; }
  100% { transform: scale(3.2); opacity: 0; }
}

/* Золотой блик пробегает по главной кнопке первого экрана после загрузки */
.hero .btn--primary { position: relative; overflow: hidden; isolation: isolate; }
.hero .btn--primary::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: -60%;
  width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-20deg);
  z-index: -1;
  pointer-events: none;
  opacity: 0;
}
.hero-ready .hero .btn--primary::after { animation: btn-shine 1.1s ease-out 1.3s 1 both; }
@keyframes btn-shine {
  0%   { left: -60%; opacity: 1; }
  100% { left: 130%; opacity: 1; }
}

/* Карточки приподнимаются при наведении - только там, где есть мышь */
@media (hover: hover) and (pointer: fine) {
  .kase,
  .plan,
  .situation,
  .hero__process-card {
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  }
  .kase:hover,
  .plan:hover,
  .situation:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0,0,0,.28);
  }
  .kase:hover { border-color: rgba(255,190,36,.45); }
  .hero__process-card:hover { transform: translateY(-4px); }
}

/* На телефоне карточку можно «нажать» - она чуть сжимается под пальцем */
@media (hover: none) {
  .kase, .plan, .situation { transition: transform .2s var(--ease); }
  .kase:active, .plan:active, .situation:active { transform: scale(.985); }
}

@media (prefers-reduced-motion: reduce) {
  .hero__process-dot::after,
  .btn--primary::after { animation: none !important; display: none; }
  .kase:hover, .plan:hover, .situation:hover, .hero__process-card:hover,
  .kase:active, .plan:active, .situation:active { transform: none; }
}


/* ===================== 25. ПРИМЕРЫ САЙТОВ - карточки со скриншотом и описанием ===================== */

.h2-gold { color: var(--gold); }

.works {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.work {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  text-decoration: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  transition: border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}
.work:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
.work__shot {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #141414;
  border-bottom: 1px solid var(--line);
}
.work__shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
  transition: transform .6s var(--ease);
}
.work__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 26px 28px 28px;
}
.work__kicker {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
}
.work__title { margin: 12px 0 0; font-size: 26px; font-weight: 800; line-height: 1.2; letter-spacing: -.01em; }
.work__text { margin-top: 14px; font-size: 16px; line-height: 1.6; color: var(--ink-body); }
.work__link {
  margin-top: auto;
  padding-top: 22px;
  font-size: 17px;
  font-weight: 800;
  color: var(--gold);
}
.work__link span { display: inline-block; transition: transform .3s var(--ease); }

@media (hover: hover) and (pointer: fine) {
  .work:hover { border-color: rgba(255,190,36,.45); transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0,0,0,.28); }
  .work:hover .work__shot img { transform: scale(1.04); }
  .work:hover .work__link span { transform: translateX(5px); }
}
@media (hover: none) {
  .work:active { transform: scale(.985); }
}

/* Как на Кликере: две широкие карточки в ряд, крупный текст, много воздуха */
.works { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.work__shot { aspect-ratio: 16 / 9.4; }
.work__body { padding: 30px 34px 34px; }
.work__kicker { font-size: 14px; }
.work__title { font-size: 30px; }
.work__text { margin-top: 14px; font-size: 18px; line-height: 1.6; }
.work__link { font-size: 18px; padding-top: 24px; }

/* Третья карточка - на всю ширину: скриншот слева, текст справа */
@media (min-width: 1024px) {
  .work--wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); }
  .work--wide .work__shot { aspect-ratio: auto; height: 100%; min-height: 340px; border-bottom: 0; border-right: 1px solid var(--line); }
  .work--wide .work__body { justify-content: center; padding: 40px 44px; }
  /* Скриншот целиком по ширине, снизу продолжается темный фон сайта */
  .work--wide .work__shot { background: #100F18; }
  .work--wide .work__shot img { object-fit: contain; object-position: center top; }
  .work--wide .work__link { margin-top: 0; }
}

/* Планшет и телефон: по одной карточке, скриншот сверху на всю ширину */
@media (max-width: 1023px) {
  .works { grid-template-columns: 1fr; max-width: 640px; }
}
@media (max-width: 767px) {
  .works { gap: 16px; }
  .work__body { padding: 20px 18px 22px; }
  .work__title { font-size: 22px; }
  .work__text { font-size: 15.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .work:hover, .work:active, .work:hover .work__shot img, .work:hover .work__link span { transform: none; }
}

/* ===================== БЕСПЛАТНЫЙ ЧЕК-ЛИСТ ===================== */
.lead-magnet__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(250px, .65fr);
  align-items: stretch;
  gap: clamp(28px, 4vw, 54px);
  padding: clamp(24px, 4vw, 44px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
}
.lead-magnet__copy { min-width: 0; }
.lead-magnet__title { max-width: 760px; margin-top: 14px; }
.lead-magnet__lead { margin-top: 18px; }
.lead-magnet__list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}
.lead-magnet__list li {
  position: relative;
  padding-left: 20px;
  color: var(--ink-body);
  line-height: 1.55;
}
.lead-magnet__list li::before {
  content: "";
  position: absolute;
  left: 1px;
  top: .62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
.lead-magnet__list strong { color: var(--ink); }
.lead-magnet__action {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 26px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
}
.lead-magnet__number {
  color: var(--gold);
  font-family: var(--display);
  font-size: clamp(54px, 5.5vw, 72px);
  font-weight: 700;
  letter-spacing: -.05em;
  line-height: 1;
}
.lead-magnet__number-label {
  margin-top: 8px;
  font-size: 16px;
  font-weight: 750;
  line-height: 1.35;
}
.lead-magnet__action-copy {
  margin-top: 18px;
  color: var(--ink-body);
  font-size: var(--fs-small);
  line-height: 1.5;
}
.lead-magnet__button {
  width: 100%;
  margin-top: 20px;
  padding: 0 16px;
  white-space: normal;
  line-height: 1.25;
  text-align: center;
}
.lead-magnet__note {
  margin-top: 12px;
  color: var(--ink-2);
  font-size: 12.5px;
  line-height: 1.45;
}
.lead-magnet__contact-label {
  margin-top: 18px;
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.45;
}
.lead-magnet__contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
}
.lead-magnet__contacts .link {
  color: var(--ink);
  font-size: 14px;
  font-weight: 750;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 3px;
}
@media (max-width: 900px) {
  .lead-magnet__inner { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .lead-magnet__action { padding: 24px; }
  .lead-magnet__number { font-size: 58px; }
}
@media (max-width: 767px) {
  .lead-magnet__inner { padding: 20px; gap: 24px; }
  .lead-magnet__title { margin-top: 12px; }
  .lead-magnet__lead { margin-top: 14px; }
  .lead-magnet__list { margin-top: 20px; gap: 10px; }
  .lead-magnet__action { padding: 20px; }
  .lead-magnet__button { height: auto; min-height: 54px; }
}

