/* =========================================================================
   ХУК-МЕДИА — стили сайта. Один файл на весь сайт.
   Собран по новому дизайну. Здесь лежит ВСЁ: цвета, шрифты, сетка, блоки.

   КАК ЭТИМ ПОЛЬЗОВАТЬСЯ
   1. Цвета и ширина сайта — в самом верху, в блоке :root. Поменяете там —
      поменяется везде.
   2. Дальше идут блоки в том же порядке, в каком они на странице.
   3. Тексты здесь НЕ живут. Тексты — в папке content/.
   ========================================================================= */

/* ===== ШРИФТЫ (лежат у нас, ничего не грузится со стороны) ===== */
@font-face {
  font-family: 'Unbounded';
  src: url('/assets/fonts/unbounded/Unbounded-cyrillic.woff2') format('woff2');
  font-weight: 200 900; font-style: normal; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Unbounded';
  src: url('/assets/fonts/unbounded/Unbounded-cyrillic-ext.woff2') format('woff2');
  font-weight: 200 900; font-style: normal; font-display: swap;
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Unbounded';
  src: url('/assets/fonts/unbounded/Unbounded-latin.woff2') format('woff2');
  font-weight: 200 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Unbounded';
  src: url('/assets/fonts/unbounded/Unbounded-latin-ext.woff2') format('woff2');
  font-weight: 200 900; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  src: url('/assets/fonts/manrope/Manrope-cyrillic.woff2') format('woff2');
  font-weight: 200 800; font-style: normal; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  src: url('/assets/fonts/manrope/Manrope-cyrillic-ext.woff2') format('woff2');
  font-weight: 200 800; font-style: normal; font-display: swap;
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Manrope';
  src: url('/assets/fonts/manrope/Manrope-latin.woff2') format('woff2');
  font-weight: 200 800; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  src: url('/assets/fonts/manrope/Manrope-latin-ext.woff2') format('woff2');
  font-weight: 200 800; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* =========================================================================
   ЦВЕТА И РАЗМЕРЫ САЙТА — меняются здесь, применяются везде
   ========================================================================= */
:root {
  --ink:        #0d0d0f;  /* главный чёрный (заголовки, тёмные плашки) */
  --ink-2:      #15151a;  /* текст потемнее */
  --gray:       #7c7c88;  /* обычный серый текст */
  --gray-2:     #6c6c78;  /* серый потемнее (подписи) */
  --gray-3:     #a3a3ae;  /* светло-серый */
  --line:       #e2e2ea;  /* линии и рамки на белом */
  --line-2:     #e7e7ee;  /* линии посветлее */
  --surface:    #f4f4f8;  /* светлая подложка */
  --blue:       #2b2bf5;  /* фирменный синий — кнопки, акценты */
  --lime:       #c4f52a;  /* фирменный лаймовый */
  --lime-ink:   #141a02;  /* текст на лаймовом */
  --card:       #101012;  /* фон тёмной карточки */
  --card-2:     #17171b;  /* фон внутри тёмной карточки */
  --card-line:  #22222a;  /* рамка тёмной карточки */
  --card-line-2:#2b2b33;  /* рамка посветлее */
  --card-text:  #a9a9b4;  /* серый текст на тёмном */
  --card-mute:  #8b8b95;  /* приглушённый текст на тёмном */
  --card-label: #6a6a74;  /* подписи-рубрики на тёмном */
  --plc:        #1b1b1f;  /* фон заглушки под фото */
  --plc-mark:   #e0b76a;  /* подпись на заглушке */

  /* ШИРИНА САЙТА — из нового дизайна */
  --site-width: 1300px;
  --site-pad:   clamp(16px, 3vw, 40px);

  --radius:     26px;     /* скругление крупных карточек */
  --radius-sm:  14px;     /* скругление кнопок */
}

/* =========================================================================
   БАЗА
   ========================================================================= */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: #fff;
  /* Фирменная «точечная» подложка из дизайна */
  background-image: radial-gradient(#e9e9ef 1px, transparent 1px);
  background-size: 26px 26px;
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  color: var(--ink-2);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
/* Прячем боковой вылет, НО не превращая страницу в область прокрутки —
   иначе на телефонах ломается «залипание» блоков. */
@supports (overflow: clip) { body { overflow-x: clip; } }

img, svg, video { max-width: 100%; }
img { height: auto; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Unbounded', 'Manrope', sans-serif;
  margin: 0;
  overflow-wrap: break-word;  /* длинное слово переносится, а не лезет за край */
}

p { margin: 0; }
button { font-family: inherit; }

::selection { background: var(--blue); color: #fff; }

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

/* =========================================================================
   СЕТКА. Одна ширина и одни отступы для ВСЕХ блоков сайта.
   ========================================================================= */
.container-site {
  width: 100%;
  max-width: calc(var(--site-width) + var(--site-pad) * 2);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--site-pad);
  padding-right: var(--site-pad);
}

/* Отступ между крупными блоками страницы — тоже один на весь сайт */
.section        { margin-top: clamp(72px, 9vw, 140px); }
.section--tight { margin-top: clamp(56px, 7vw, 110px); }

main { flex: 1 0 auto; padding-bottom: clamp(56px, 7vw, 90px); }

/* =========================================================================
   ПОВТОРЯЮЩИЕСЯ ЭЛЕМЕНТЫ (кнопки, метки, заголовки)
   ========================================================================= */

/* Метка-рубрика над заголовком: • ПАКЕТЫ */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--gray-2); margin-bottom: 14px;
}
.eyebrow::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue); flex: none;
}
.eyebrow--light { color: var(--card-mute); }
.eyebrow--light::before { background: var(--lime); }

/* Заголовок раздела */
.h-sec {
  font-weight: 800;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1;
  letter-spacing: -.035em;
  color: var(--ink);
}
.h-sec--big { font-size: clamp(32px, 4vw, 58px); line-height: .98; }
.h-sec em { font-style: normal; color: var(--blue); }
.h-sec mark { background: none; color: var(--blue); }

/* Шапка раздела: слева заголовок, справа ссылка */
.sec-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.sec-head--line { padding-bottom: 26px; border-bottom: 1px solid var(--line-2); }

/* Размер значков внутри кнопок и ссылок — один на весь сайт */
.btn svg, .btn-card svg, .link-arrow svg, .cta__link svg,
.post-card__more svg, .price-list__li svg, .founder-card__check svg {
  width: 18px; height: 18px; flex: none;
}
.founder-card__check svg { width: 12px; height: 12px; }
.hero__proof-icon svg { width: 20px; height: 20px; }
.diff__who-icon svg { width: 20px; height: 20px; }
.srv-card__icon svg { width: 22px; height: 22px; }

/* Кнопки */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 16px; font-weight: 800; line-height: 1.2;
  padding: 18px 28px; border-radius: var(--radius-sm);
  border: 1px solid transparent; cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn--blue  { background: var(--blue); color: #fff; }
.btn--blue:hover { color: #fff; }
.btn--lime  { background: var(--lime); color: var(--lime-ink); }
.btn--lime:hover { color: var(--lime-ink); }
.btn--dark  { background: var(--ink); color: #fff; }
.btn--dark:hover { color: #fff; }
.btn--ghost { background: #fff; color: var(--ink-2); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink-2); }
.btn--round { border-radius: 999px; }
.btn--sm    { padding: 14px 22px; font-size: 15px; }
.btn--wide  { width: 100%; }

/* Кнопка внутри тёмной карточки: «Смотреть кейс >» */
.btn-card {
  margin-top: 26px; display: flex; align-items: center; justify-content: space-between;
  gap: 10px; background: var(--card-2); border: 1px solid var(--card-line-2);
  border-radius: var(--radius-sm); padding: 17px 20px;
  font-size: 15px; font-weight: 800; color: #fff;
  transition: gap .18s ease, color .18s ease, background .18s ease;
}
.btn-card:hover { gap: 16px; color: var(--lime); }

/* Текстовая ссылка-стрелка «Все кейсы >» */
.link-arrow {
  font-size: 16px; font-weight: 800; color: var(--blue);
  display: inline-flex; align-items: center; gap: 8px;
  padding-bottom: 4px; border-bottom: 2px solid var(--blue);
  transition: gap .18s ease;
}
.link-arrow:hover { gap: 14px; color: var(--blue); }

/* Кружки-стрелки слайдера */
.nav-btn {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  font-size: 17px; cursor: pointer; display: grid; place-items: center;
  transition: background .18s ease, transform .18s ease, border-color .18s ease;
  flex: none;
}
.nav-btn:hover { background: var(--surface); border-color: var(--ink); }
.nav-btn--dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.nav-btn--dark:hover { background: var(--ink); transform: translateY(-2px); }
.nav-btn svg { width: 16px; height: 16px; }

/* Пульсирующая точка «онлайн» */
.dot-live {
  width: 7px; height: 7px; border-radius: 50%; background: var(--blue);
  animation: pulseDot 1.6s ease-in-out infinite; flex: none; display: block;
}
.dot-live--lime { background: var(--lime); }
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .35; transform: scale(.8); }
}
@media (prefers-reduced-motion: reduce) {
  .dot-live { animation: none; }
  * { scroll-behavior: auto !important; }
}

/* Заглушка на месте будущего фото (пока нет реальных картинок) */
.plc {
  background: var(--plc);
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.045) 0 10px, transparent 10px 20px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 5px; color: #fff; text-align: center; padding: 16px;
}
.plc__kind {
  font-family: ui-monospace, Menlo, monospace; font-size: 12px;
  letter-spacing: .18em; color: var(--plc-mark);
}
.plc__size { font-family: 'Unbounded', sans-serif; font-weight: 600; font-size: 19px; }
.plc__slug { font-family: ui-monospace, Menlo, monospace; font-size: 11px; color: #84848e; }
.plc--light { background: var(--surface); background-image: none; border: 1px solid var(--line-2); color: var(--ink-2); }
.plc--light .plc__kind { color: #9a9aa6; }
.plc--light .plc__size { color: var(--ink-2); }

/* Тёмная карточка — основа почти всех блоков */
.card-dark {
  background: var(--card); border: 1px solid var(--card-line);
  border-radius: var(--radius); color: #fff;
  transition: transform .22s ease, border-color .22s ease;
}
.card-dark:hover { transform: translateY(-6px); border-color: #3a3a42; }
.card-dark--flat:hover { transform: none; border-color: var(--card-line); }

/* Светлая карточка */
.card-light {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius);
}

/* Подпись-рубрика внутри тёмной карточки */
.card-label {
  font-size: 11px; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--card-label);
}

/* Значок-«таблетка» */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: 999px; padding: 7px 14px;
  font-size: 12px; font-weight: 800; line-height: 1.2;
}
.pill--lime  { background: var(--lime); color: var(--lime-ink); }
.pill--dark  { background: var(--ink); color: #fff; }
.pill--ghost { border: 1px solid var(--card-line-2); color: var(--card-text); font-weight: 600; }
.pill--light { border: 1px solid var(--line); color: var(--ink-2); background: #fff; font-weight: 700; }

/* Тег-инструмент в кейсе */
.tag {
  border: 1px solid var(--card-line-2); border-radius: 8px; padding: 7px 11px;
  font-size: 13px; font-weight: 600; color: #d4d4dc;
}
.tag--light { border-color: var(--line); color: var(--ink-2); background: #fff; }

/* =========================================================================
   ШАПКА
   ========================================================================= */
.site-header { padding-top: 22px; }
.header-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
}

.logo-chip {
  flex: none; background: var(--ink); border-radius: 999px;
  padding: 10px 20px; display: flex; align-items: center; gap: 11px; color: #fff;
}
.logo-chip img { height: 34px; width: auto; }

/* Меню */
.nav-pill {
  flex: 1 1 260px; min-width: 0;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 11px 20px; display: flex; flex-wrap: wrap; align-items: center;
  gap: 8px 20px; font-size: 14px; font-weight: 600; color: var(--gray);
}
.nav-pill a { color: var(--gray); transition: color .16s ease; }
.nav-pill a:hover { color: var(--blue); }
.nav-pill a.is-active { color: var(--ink); }
.nav-online {
  margin-left: auto; display: flex; align-items: center; gap: 7px;
  font-size: 13px; color: #9a9aa6; white-space: nowrap;
}

/* Выпадающее меню */
.nav-drop { position: relative; }
.nav-drop__menu {
  position: absolute; top: calc(100% + 14px); left: -14px; z-index: 60;
  min-width: 260px; background: #fff; border: 1px solid var(--line);
  border-radius: 18px; padding: 8px; box-shadow: 0 24px 48px -28px rgba(13,13,15,.45);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.nav-drop:hover .nav-drop__menu,
.nav-drop:focus-within .nav-drop__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-drop__menu::before { content: ''; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav-drop__item { display: block; padding: 11px 14px; border-radius: 12px; transition: background .16s ease; }
.nav-drop__item:hover { background: var(--surface); }
.nav-drop__name { display: block; font-size: 15px; font-weight: 700; color: var(--ink); }
.nav-drop__note { display: block; font-size: 13px; font-weight: 600; color: var(--gray); margin-top: 2px; }

.header-actions { flex: none; display: flex; align-items: center; gap: 10px; margin-left: auto; }
.icon-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line);
  display: grid; place-items: center; background: #fff; color: var(--ink-2);
  transition: border-color .18s ease, transform .18s ease, color .18s ease; flex: none;
}
.icon-btn:hover { border-color: var(--ink); transform: translateY(-2px); }
.icon-btn svg { width: 20px; height: 20px; }

/* Кнопка «бургер» — только на телефоне */
.burger { display: none; }

@media (max-width: 900px) {
  .nav-pill { order: 3; flex-basis: 100%; }
  .nav-pill .nav-online { display: none; }
}
@media (max-width: 640px) {
  .burger {
    display: grid; place-items: center; width: 44px; height: 44px;
    border-radius: 50%; border: 1px solid var(--line); background: #fff;
    cursor: pointer; flex: none;
  }
  .burger svg { width: 20px; height: 20px; }
  .nav-pill {
    display: none; flex-direction: column; align-items: stretch;
    border-radius: 22px; padding: 10px; gap: 2px;
  }
  .nav-pill.is-open { display: flex; }
  .nav-pill > a, .nav-drop > a { display: block; padding: 12px 14px; border-radius: 12px; font-size: 16px; }
  .nav-pill > a:hover { background: var(--surface); }
  /* На телефоне выпадающее раскрыто сразу — наводить нечем */
  .nav-drop__menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; padding: 0 0 6px 14px; min-width: 0;
  }
  .nav-drop__item { padding: 9px 14px; }
  .nav-drop__name { font-size: 15px; font-weight: 600; }
  .header-actions .header-cta { display: none; }
}

/* =========================================================================
   ПЕРВЫЙ ЭКРАН
   ========================================================================= */
.hero { margin-top: clamp(40px, 6vw, 88px); }
.hero__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: clamp(28px, 3vw, 48px); align-items: center;
}
.hero__col { min-width: 0; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 9px;
  border: 1px solid var(--line); border-radius: 999px; padding: 8px 15px;
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--gray-2); background: #fff; margin-bottom: 22px;
}
.hero__badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.hero__title {
  font-weight: 800; font-size: clamp(30px, 4.4vw, 62px); line-height: 1;
  letter-spacing: -.04em; color: var(--ink); text-wrap: balance;
}
.hero__title u {
  text-decoration: underline; text-decoration-color: var(--blue);
  text-decoration-thickness: .07em; text-underline-offset: .1em;
}
.hero__lead {
  margin-top: 26px; border-left: 3px solid var(--lime); padding: 2px 0 2px 16px;
  font-size: 16px; line-height: 1.5; font-weight: 600; color: var(--ink-2); max-width: 56ch;
}
.hero__ask { margin-top: 26px; font-size: 16px; font-weight: 800; line-height: 1.4; color: var(--ink); max-width: 52ch; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 18px; }
.hero__proof {
  display: inline-flex; align-items: center; gap: 11px;
  background: var(--lime); border-radius: var(--radius-sm); padding: 12px 18px 12px 12px;
}
.hero__proof-icon {
  width: 36px; height: 36px; border-radius: 10px; background: #fff;
  display: grid; place-items: center; font-size: 17px; flex: none;
}
.hero__proof-text { font-size: 14px; font-weight: 700; line-height: 1.25; color: var(--lime-ink); }
.hero__stats {
  display: flex; flex-wrap: wrap; gap: 18px 36px; margin-top: 34px;
  padding-top: 22px; border-top: 1px solid var(--line-2);
}
.hero__stat-val { font-family: 'Unbounded', sans-serif; font-weight: 800; font-size: 26px; color: var(--ink); }
.hero__stat-cap { font-size: 13px; color: var(--gray); font-weight: 600; margin-top: 3px; }
.hero__media { min-width: 0; display: flex; flex-wrap: wrap; gap: clamp(14px, 1.6vw, 20px); align-items: flex-start; }
.hero__shot {
  flex: 1 1 min(100%, 220px); max-width: 340px; border-radius: 22px;
  aspect-ratio: 4 / 5; overflow: hidden;
}
.hero__shot--2 { margin-top: clamp(0px, 3vw, 44px); }
.hero__shot img { width: 100%; height: 100%; object-fit: cover; }

/* =========================================================================
   ПАКЕТЫ (вкладки слева, описание справа)
   ========================================================================= */
.pk__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.pk__nav { display: flex; align-items: center; gap: 16px; }
.pk__progress { display: flex; align-items: center; gap: 12px; }
.pk__count { font-family: ui-monospace, Menlo, monospace; font-size: 13px; color: var(--gray-2); }
.pk__bar { width: 120px; height: 4px; background: var(--line-2); border-radius: 999px; overflow: hidden; display: block; }
.pk__bar span { display: block; height: 100%; background: var(--lime); border-radius: 999px; transition: width .3s ease; }

.pk__body { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 36px; align-items: stretch; }
.pk__tabs {
  flex: 1 1 260px; min-width: min(100%, 260px); max-width: 100%;
  background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius);
  padding: 12px; display: flex; flex-direction: column; gap: 4px;
}
.pk__tab {
  display: grid; grid-template-columns: 34px 1fr; align-items: center; gap: 14px;
  width: 100%; text-align: left; cursor: pointer;
  border: 1px solid transparent; background: transparent; color: #3a3a44;
  border-radius: 16px; padding: 14px 18px;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.pk__tab:hover { background: rgba(13,13,15,.05); }
.pk__tab[aria-selected="true"] { border-color: var(--card-line); background: var(--card); color: #fff; }
.pk__tab-num { font-family: ui-monospace, Menlo, monospace; font-size: 12px; color: var(--gray-3); }
.pk__tab[aria-selected="true"] .pk__tab-num { color: var(--lime); }
.pk__tab-label { font-size: 16px; font-weight: 700; letter-spacing: -.01em; display: block; }
.pk__tab-count { font-size: 12px; font-weight: 600; margin-top: 3px; display: block; color: var(--gray-3); }
.pk__tab[aria-selected="true"] .pk__tab-count { color: var(--card-mute); }

.pk__panel {
  flex: 3 1 460px; min-width: min(100%, 460px);
  background: var(--card); border: 1px solid var(--card-line); border-radius: var(--radius);
  padding: clamp(22px, 2.6vw, 34px); color: #fff;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: clamp(22px, 2.6vw, 34px); align-items: start; align-content: start;
}
.pk__panel[hidden] { display: none; }
.pk__title { font-weight: 600; font-size: clamp(21px, 2.2vw, 30px); line-height: 1.12; letter-spacing: -.025em; }
.pk__meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.pk__items { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 10px 26px; }
.pk__item { display: flex; align-items: flex-start; gap: 11px; font-size: 15px; line-height: 1.45; font-weight: 600; color: #e2e2e8; }
.pk__item::before {
  content: '✓'; flex: none; width: 18px; height: 18px; border-radius: 50%;
  background: var(--blue); color: #fff; font-size: 10px;
  display: grid; place-items: center; margin-top: 2px;
}
.pk__aside { background: var(--card-2); border: 1px solid var(--card-line); border-radius: 20px; padding: 26px; max-width: 420px; }
.pk__aside p { margin: 12px 0 0; font-size: 15px; line-height: 1.55; color: var(--card-text); }
.pk__aside .btn-card { box-shadow: 0 14px 28px -16px rgba(43,43,245,.8); background: var(--blue); border-color: var(--blue); }
.pk__aside .btn-card:hover { color: #fff; }

/* =========================================================================
   УСЛУГИ
   ========================================================================= */
.srv__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 20px; margin-top: 40px;
}
.srv-card { display: grid; grid-template-rows: auto auto 1fr auto; padding: 26px; }
.srv-card__icon {
  width: 44px; height: 44px; border-radius: 13px; background: var(--plc);
  border: 1px solid var(--card-line-2); display: grid; place-items: center; color: var(--lime);
}
.srv-card__icon svg { width: 22px; height: 22px; }
.srv-card h3 { margin-top: 20px; font-weight: 600; font-size: 21px; line-height: 1.15; letter-spacing: -.02em; }
.srv-card p { margin-top: 12px; font-size: 15px; line-height: 1.5; color: var(--card-text); }
.srv-card__list { display: flex; flex-direction: column; gap: 9px; margin-top: 22px; }
.srv-card__li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: #d4d4dc; }
.srv-card__li::before { content: ''; width: 14px; height: 1px; background: var(--lime); flex: none; }
/* Лаймовая карточка «Готовые сайты» */
.srv-card--lime { background: var(--lime); border-color: var(--lime); color: var(--lime-ink); }
.srv-card--lime .srv-card__icon { background: rgba(20,26,2,.08); border: none; color: var(--lime-ink); }
.srv-card--lime p { color: #3c4522; }
.srv-card--lime .btn-card { background: var(--lime-ink); border-color: var(--lime-ink); color: #fff; }
.srv-card--lime:hover { border-color: var(--lime-ink); }

/* Карточка основателя (первая в блоке услуг) */
.founder-card { display: flex; flex-direction: column; overflow: hidden; }
.founder-card__photo { position: relative; flex: 1; min-height: 340px; }
.founder-card__photo img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.founder-card__cap {
  position: absolute; right: 18px; bottom: 18px; text-align: right;
  font-size: 15px; font-weight: 800; line-height: 1.25; color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,.5);
}
.founder-card__cap span { color: var(--lime); }
.founder-card__body { padding: 24px 26px 26px; }
.founder-card__name {
  display: flex; align-items: center; gap: 8px;
  font-family: 'Unbounded', sans-serif; font-weight: 600; font-size: 21px; letter-spacing: -.02em;
}
.founder-card__check {
  width: 19px; height: 19px; border-radius: 50%; background: #2aabee;
  display: grid; place-items: center; font-size: 11px; color: #fff; flex: none;
}
.founder-card__text { margin-top: 12px; font-size: 15px; line-height: 1.5; color: var(--card-text); }
.founder-card__text span { color: var(--lime); }
.founder-card__link {
  margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--card-line);
  font-size: 14px; font-weight: 600; color: var(--card-mute);
}
.founder-card__link a { color: #fff; }

/* =========================================================================
   КЕЙСЫ ЯНДЕКС.ДИРЕКТ
   ========================================================================= */
.cases__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 22px; margin-top: 34px;
}
.case-card { display: grid; grid-template-rows: auto auto auto 1fr auto; overflow: hidden; }
.case-card__media { position: relative; aspect-ratio: 4 / 3; }
.case-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.case-card__tag { position: absolute; top: 16px; left: 16px; z-index: 2; }
.case-card__big {
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; padding: 26px 26px 0;
}
.case-card__big-val {
  font-family: 'Unbounded', sans-serif; font-weight: 800; font-size: clamp(32px, 3.4vw, 44px);
  line-height: 1; letter-spacing: -.03em; color: var(--lime);
}
.case-card__big-cap { font-size: 15px; font-weight: 700; color: var(--card-text); }
.case-card__stats {
  display: flex; gap: 26px; padding: 18px 26px 0;
  font-size: 13px; color: var(--card-mute); font-weight: 600;
}
.case-card__stats > div:not(.case-card__sep) { min-width: 0; }
.case-card__stat-val { color: #fff; font-size: 16px; font-weight: 800; margin-top: 3px; }
.case-card__sep { width: 1px; background: var(--card-line); flex: none; }
.case-card__body { padding: 24px 26px 0; }
.case-card__body h3 { font-weight: 600; font-size: 22px; line-height: 1.15; letter-spacing: -.02em; }
.case-card__body p { margin-top: 12px; font-size: 15px; line-height: 1.5; color: var(--card-text); }
.case-card__tools-title { margin: 24px 0 12px; }
.case-card__tools { display: flex; flex-wrap: wrap; gap: 8px; }
.case-card .btn-card { margin: 26px; }

/* =========================================================================
   КЕЙСЫ СММ
   ========================================================================= */
.smm-card { display: grid; grid-template-rows: auto auto auto 1fr auto; overflow: hidden; }
.smm-card__ribbon {
  background: var(--lime); color: var(--lime-ink); padding: 9px 26px;
  font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
}
.smm-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 24px 26px 0; }
.smm-card__nums { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.smm-card__money {
  font-family: 'Unbounded', sans-serif; font-weight: 800; font-size: clamp(21px, 2.2vw, 27px);
  line-height: 1; letter-spacing: -.03em; color: var(--lime);
}
.smm-card__subs {
  font-family: 'Unbounded', sans-serif; font-weight: 800; font-size: clamp(19px, 2vw, 24px);
  line-height: 1; letter-spacing: -.03em; color: #fff;
}
.smm-card__cap { font-size: 13px; font-weight: 600; color: var(--card-mute); margin-top: 6px; }
.smm-card__ava { flex: none; width: 86px; height: 86px; border-radius: 14px; overflow: hidden; }
.smm-card__ava img { width: 100%; height: 100%; object-fit: cover; }
.smm-card__who { padding: 26px 26px 0; }
.smm-card__niche { font-size: 13px; font-weight: 600; color: var(--card-mute); }
.smm-card__who h3 { margin-top: 6px; font-weight: 600; font-size: 23px; line-height: 1.15; letter-spacing: -.02em; }
.smm-card__rows { padding: 22px 26px 0; }
.smm-card__row {
  display: flex; justify-content: space-between; gap: 16px; padding: 9px 0;
  border-bottom: 1px solid #1e1e25; font-size: 14px;
}
.smm-card__row:last-child { border-bottom: none; }
.smm-card__row span:first-child { color: var(--gray); font-weight: 600; }
.smm-card__row span:last-child { font-weight: 700; text-align: right; }
.smm-card__row--accent span:last-child { font-weight: 800; color: var(--lime); }
.smm-card__note {
  margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--card-line);
  font-size: 14px; line-height: 1.5; color: var(--card-text);
}
.smm-card__note b { display: block; color: #fff; font-weight: 700; margin-bottom: 10px; }
.smm-card .btn-card { margin: 26px; }

/* =========================================================================
   ЧЕМ Я ОТЛИЧАЮСЬ + ФОРМА
   ========================================================================= */
.diff__head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 26px; justify-content: space-between; }
.diff__title {
  font-weight: 800; font-size: clamp(28px, 4.6vw, 64px); line-height: .96;
  letter-spacing: -.04em; color: var(--ink); max-width: 15ch;
}
.diff__title span { color: var(--blue); }
.diff__who { display: flex; align-items: center; gap: 14px; }
.diff__who-icon { width: 46px; height: 46px; border-radius: 50%; background: var(--lime); display: grid; place-items: center; flex: none; }
.diff__who-text { font-size: 15px; font-weight: 700; line-height: 1.35; color: var(--ink-2); }
.diff__who-text span { font-weight: 600; color: var(--gray); }
.diff__body { display: flex; flex-wrap: wrap; gap: clamp(20px, 2.4vw, 34px); margin-top: clamp(30px, 3.6vw, 54px); align-items: stretch; }
.diff__list { flex: 1 1 min(100%, 560px); min-width: 0; display: flex; flex-direction: column; }
.diff__row {
  display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: baseline;
  padding: 26px 0; border-top: 1px solid var(--line-2);
}
.diff__row:last-of-type { border-bottom: 1px solid var(--line-2); }
.diff__num { flex: none; width: 54px; font-family: 'Unbounded', sans-serif; font-weight: 800; font-size: 15px; color: var(--blue); }
.diff__what {
  flex: 1 1 240px; font-family: 'Unbounded', sans-serif; font-weight: 600;
  font-size: clamp(18px, 1.9vw, 26px); line-height: 1.12; letter-spacing: -.025em; color: var(--ink);
}
.diff__why { flex: 1 1 200px; font-size: 15px; line-height: 1.5; color: var(--gray); }
.diff__side { flex: 1 1 min(100%, 300px); max-width: 380px; display: flex; flex-direction: column; gap: 14px; }
.diff__photo { position: relative; flex: 1; min-height: 420px; border-radius: var(--radius); overflow: hidden; }
.diff__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.diff__photo-badge { position: absolute; left: 18px; bottom: 18px; z-index: 2; }
.diff__answer {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
  display: flex; align-items: center; gap: 14px;
  font-size: 15px; font-weight: 700; line-height: 1.35; color: var(--ink-2);
}
.diff__answer span { font-weight: 600; color: var(--gray); }

/* Форма заявки */
.lead {
  margin-top: 26px; background: var(--surface); border-radius: var(--radius);
  padding: clamp(22px, 2.4vw, 30px); display: flex; flex-direction: column; gap: 14px;
}
.lead__title { font-size: 17px; font-weight: 800; color: var(--ink-2); }
.lead__row { display: flex; flex-wrap: wrap; gap: 12px; }
.lead input[type="text"], .lead input[type="tel"], .lead textarea, .modal input, .modal textarea {
  flex: 1 1 180px; background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 16px 20px; font-family: 'Manrope', sans-serif; font-size: 16px; color: var(--ink-2);
  outline: none; min-width: 0; transition: border-color .18s ease;
}
.lead textarea, .modal textarea { border-radius: 20px; resize: vertical; min-height: 90px; flex-basis: 100%; }
.lead input:focus, .lead textarea:focus, .modal input:focus, .modal textarea:focus { border-color: var(--blue); }
.lead__checks { display: flex; flex-direction: column; gap: 10px; }
.lead__check {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; line-height: 1.45; color: var(--gray-2); cursor: pointer;
}
.lead__check input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--blue); cursor: pointer; }
.lead__check a { color: var(--blue); border-bottom: 1px solid rgba(43,43,245,.35); }
.lead__status { font-size: 14px; font-weight: 700; min-height: 20px; }
.lead__status--ok  { color: #1f9d4d; }
.lead__status--err { color: #d92d20; }

/* =========================================================================
   ОТЗЫВЫ
   ========================================================================= */
.rev__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.rev__quote {
  font-family: 'Unbounded', sans-serif; font-weight: 400;
  font-size: clamp(19px, 2.2vw, 30px); line-height: 1.15; letter-spacing: -.03em; color: var(--gray);
}
.rev__title {
  margin-top: 10px; font-weight: 800; font-size: clamp(28px, 4.2vw, 56px);
  line-height: .98; letter-spacing: -.04em; color: var(--ink);
}
.rev__title span { color: var(--blue); }
.rev__count { display: flex; align-items: center; gap: 12px; }
.rev__ava { display: flex; }
.rev__ava span { width: 38px; height: 38px; border-radius: 50%; background: #e6e6ee; border: 2px solid #fff; }
.rev__ava span + span { margin-left: -12px; }
.rev__ava span:nth-child(2) { background: #d8d8e4; }
.rev__ava span:nth-child(3) { background: var(--lime); }
.rev__count-text { font-size: 14px; font-weight: 700; line-height: 1.35; color: var(--ink-2); }
.rev__count-text span { font-weight: 600; color: var(--gray); }

.rev__body { display: flex; flex-wrap: wrap; gap: clamp(18px, 2vw, 26px); margin-top: clamp(28px, 3.4vw, 48px); align-items: stretch; }
.rev__main { flex: 2 1 min(100%, 520px); min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.rev__stage { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; background: #111114; }
.rev__slides { display: flex; height: 100%; transition: transform .35s ease; }
.rev__slide { flex: 0 0 100%; height: 100%; position: relative; }
.rev__slide img, .rev__slide iframe { width: 100%; height: 100%; object-fit: cover; border: 0; display: block; }
.rev__play {
  position: absolute; inset: 0; margin: auto; width: 74px; height: 74px; border: 0;
  border-radius: 50%; background: var(--blue); color: #fff; font-size: 22px; cursor: pointer;
  display: grid; place-items: center; box-shadow: 0 18px 40px -16px rgba(43,43,245,.9);
}
.rev__play svg { width: 22px; height: 22px; }
.rev__chip {
  position: absolute; left: 22px; top: 22px; z-index: 3;
  background: rgba(255,255,255,.14); backdrop-filter: blur(6px); color: #fff;
  border-radius: 999px; padding: 9px 16px; font-size: 13px; font-weight: 700;
}
.rev__controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.rev__dots { display: flex; gap: 6px; margin-left: 8px; }
.rev__dot { width: 7px; height: 7px; border-radius: 50%; background: #d5d5de; border: 0; padding: 0; cursor: pointer; }
.rev__dot.is-active { background: var(--ink); }
.rev__side { flex: 1 1 min(100%, 280px); min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.rev__quote-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 16px; background: #fff; }
.rev__quote-mark { font-family: 'Unbounded', sans-serif; font-weight: 800; font-size: 40px; line-height: .7; color: var(--lime); }
.rev__quote-text { font-size: 17px; line-height: 1.45; font-weight: 700; color: var(--ink-2); text-wrap: pretty; }
.rev__quote-who { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid #eeeef3; font-size: 13px; font-weight: 700; line-height: 1.35; color: var(--ink-2); }
.rev__quote-who span { font-weight: 600; color: var(--gray); }
.rev__quote-ava { width: 36px; height: 36px; border-radius: 50%; background: #e6e6ee; flex: none; overflow: hidden; }
.rev__shots { flex: 1; display: flex; gap: 16px; }
.rev__shot { flex: 1; min-height: 230px; border-radius: 22px; overflow: hidden; min-width: 0; }
.rev__shot img { width: 100%; height: 100%; object-fit: cover; }

/* =========================================================================
   ПОЛОСА-ПРИЗЫВ (тёмная)
   ========================================================================= */
.cta {
  display: flex; flex-wrap: wrap; align-items: stretch;
  background: var(--ink); border-radius: 28px; overflow: hidden; min-height: 320px; color: #fff;
}
.cta__photo { flex: 1 1 min(100%, 300px); max-width: 340px; position: relative; min-height: 300px; }
.cta__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta__body {
  flex: 2 1 min(100%, 420px); padding: clamp(26px, 3.2vw, 46px);
  display: flex; flex-direction: column; justify-content: center; gap: 18px;
}
.cta__label {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--card-mute);
}
.cta__title {
  font-weight: 800; font-size: clamp(24px, 3vw, 40px); line-height: 1.02;
  letter-spacing: -.035em; max-width: 22ch; text-wrap: balance;
}
.cta__text { font-size: 17px; line-height: 1.5; color: var(--card-text); max-width: 52ch; }
.cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 6px; }
.cta__link { font-size: 15px; font-weight: 700; color: var(--lime); border-bottom: 1px solid rgba(196,245,42,.4); }

/* =========================================================================
   ЧАСТЫЕ ВОПРОСЫ
   ========================================================================= */
.faq__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; padding-bottom: 22px; }
.faq__note { font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--gray); max-width: 260px; }
.faq__list { display: flex; flex-direction: column; border-bottom: 1px solid var(--line-2); }
.faq__item { border-top: 1px solid var(--line-2); padding: 20px 4px; }
.faq__item summary {
  cursor: pointer; font-family: 'Unbounded', sans-serif; font-weight: 600;
  font-size: clamp(16px, 1.7vw, 21px); line-height: 1.25; letter-spacing: -.02em; color: var(--ink);
  list-style: none; display: flex; align-items: flex-start; justify-content: space-between; gap: 18px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ''; flex: none; width: 22px; height: 22px; margin-top: 2px;
  background: currentColor; transition: transform .2s ease;
  -webkit-mask: no-repeat center / 22px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
          mask: no-repeat center / 22px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__answer { margin-top: 14px; font-size: 16px; line-height: 1.6; color: var(--gray-2); max-width: 80ch; text-wrap: pretty; }

/* =========================================================================
   ПОДВАЛ
   ========================================================================= */
.site-footer {
  margin-top: clamp(60px, 8vw, 120px);
  background: var(--ink); color: #fff; border-radius: 32px 32px 0 0;
  padding: clamp(34px, 4vw, 56px) 0 0;
}
.site-footer__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: clamp(26px, 3vw, 44px);
}
.site-footer__logo { display: flex; align-items: center; gap: 11px; margin-bottom: 16px; }
.site-footer__logo img { height: 40px; width: auto; }
.site-footer__about { font-size: 15px; line-height: 1.55; color: var(--card-text); max-width: 34ch; }
.site-footer__title { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--card-label); margin-bottom: 16px; }
.site-footer__nav { display: flex; flex-direction: column; gap: 11px; font-size: 15px; font-weight: 600; }
.site-footer__nav a { color: var(--card-text); transition: color .16s ease; }
.site-footer__nav a:hover { color: var(--lime); }
.site-footer__soc { display: flex; gap: 10px; margin-top: 18px; }
.site-footer__soc a {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--card-line-2);
  display: grid; place-items: center; color: #fff; transition: border-color .18s ease, transform .18s ease;
}
.site-footer__soc a:hover { border-color: var(--lime); transform: translateY(-2px); }
.site-footer__soc svg { width: 20px; height: 20px; }
.site-footer__bottom {
  margin-top: clamp(28px, 3vw, 44px); border-top: 1px solid var(--card-line);
  padding: 22px 0; font-size: 13px; color: var(--card-label);
  display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between;
}

/* =========================================================================
   ОКНО ЗАЯВКИ (модалка)
   ========================================================================= */
.modal {
  position: fixed; inset: 0; z-index: 200; display: none;
  align-items: center; justify-content: center; padding: 20px;
}
.modal.is-open { display: flex; }
.modal__back { position: absolute; inset: 0; background: rgba(13,13,15,.6); backdrop-filter: blur(3px); border: 0; }
.modal__win {
  position: relative; z-index: 1; width: 100%; max-width: 520px;
  background: #fff; border-radius: var(--radius); padding: clamp(24px, 3vw, 36px);
  max-height: calc(100vh - 40px); overflow-y: auto;
  box-shadow: 0 40px 80px -30px rgba(13,13,15,.6);
  animation: modalIn .22s ease;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.modal__close {
  position: absolute; top: 14px; right: 14px; width: 40px; height: 40px;
  border-radius: 50%; border: 1px solid var(--line); background: #fff;
  display: grid; place-items: center; cursor: pointer; color: var(--ink-2);
}
.modal__close:hover { border-color: var(--ink); }
.modal__close svg { width: 18px; height: 18px; }
.modal__title { font-weight: 800; font-size: clamp(21px, 2.4vw, 28px); line-height: 1.1; letter-spacing: -.03em; color: var(--ink); padding-right: 44px; }
.modal__text { margin-top: 12px; font-size: 15px; line-height: 1.5; color: var(--gray); }
.modal form { margin-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.modal .lead__checks { margin-top: 2px; }
body.modal-open { overflow: hidden; }

/* =========================================================================
   ВНУТРЕННИЕ СТРАНИЦЫ (списки, статьи, кейс целиком)
   ========================================================================= */
.page-head { margin-top: clamp(30px, 4vw, 56px); }
.page-head__title {
  font-weight: 800; font-size: clamp(30px, 5vw, 66px); line-height: .98;
  letter-spacing: -.045em; color: var(--ink); text-wrap: balance;
}
.page-head__lead { margin-top: 16px; font-size: 17px; line-height: 1.5; color: var(--gray); max-width: 60ch; }

.crumbs { font-size: 14px; font-weight: 600; color: var(--gray); margin-bottom: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs a:hover { color: var(--blue); }

/* Текст статьи и кейса */
.prose { font-size: 17px; line-height: 1.65; color: #3a3a44; max-width: 74ch; }
.prose h2 { font-size: clamp(22px, 2.4vw, 32px); font-weight: 800; letter-spacing: -.03em; color: var(--ink); margin: 38px 0 14px; }
.prose h3 { font-size: clamp(19px, 2vw, 24px); font-weight: 600; letter-spacing: -.02em; color: var(--ink); margin: 30px 0 12px; }
.prose p { margin: 0 0 16px; }
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose strong { font-weight: 800; color: var(--ink); }
.prose a { color: var(--blue); border-bottom: 1px solid rgba(43,43,245,.3); }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 20px; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line-2); }
.prose th { font-weight: 800; color: var(--ink); }
.prose blockquote {
  margin: 0 0 20px; padding: 4px 0 4px 18px; border-left: 3px solid var(--lime);
  font-weight: 600; color: var(--ink-2);
}

/* Обёртка для широкого содержимого (таблицы), чтобы не рвало страницу */
.scroll-x { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* Карточка статьи блога */
.post-card {
  display: flex; flex-direction: column; gap: 12px; background: #fff;
  border: 1px solid var(--line); border-radius: 24px; padding: clamp(20px, 2.4vw, 30px);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.post-card:hover { border-color: var(--blue); transform: translateY(-3px); box-shadow: 0 20px 40px -28px rgba(13,13,15,.35); }
.post-card--muted { background: var(--surface); border-color: var(--line-2); }
.post-card__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px;
  font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gray-3);
}
.post-card__meta .cat { color: var(--blue); }
.post-card__meta .time { margin-left: auto; text-transform: none; letter-spacing: 0; font-weight: 600; }
.post-card__dot { width: 4px; height: 4px; border-radius: 50%; background: #d5d5de; }
.post-card__title {
  font-family: 'Unbounded', sans-serif; font-weight: 600; font-size: clamp(19px, 2.1vw, 27px);
  line-height: 1.12; letter-spacing: -.03em; color: var(--ink); text-wrap: pretty;
}
.post-card__text { font-size: 15px; line-height: 1.55; color: var(--gray); max-width: 60ch; }
.post-card__more { display: inline-flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 800; color: var(--blue); margin-top: 4px; }

/* Боковая колонка блога */
.aside-cta {
  position: relative; border-radius: var(--radius); overflow: hidden; background: var(--ink);
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.05) 0 10px, transparent 10px 20px);
  display: flex; flex-direction: column; justify-content: flex-end; gap: 16px;
  padding: clamp(22px, 2.6vw, 32px); color: #fff; min-height: 380px;
}
.aside-cta__top { position: absolute; left: 0; right: 0; top: 0; padding: clamp(22px, 2.6vw, 32px); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.aside-cta__kicker { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--card-mute); }
.aside-cta__title { font-weight: 800; font-size: clamp(21px, 2.4vw, 30px); line-height: 1.06; letter-spacing: -.035em; text-wrap: balance; }
.aside-cta__text { font-size: 15px; line-height: 1.5; color: var(--card-text); }

.contacts-card { border: 1px solid var(--line); border-radius: 22px; padding: 20px 22px; display: flex; flex-direction: column; gap: 14px; background: #fff; }
.contacts-card__row { display: flex; flex-wrap: wrap; gap: 10px; }
.contacts-card__btn {
  flex: 1 1 130px; display: flex; align-items: center; justify-content: center; gap: 9px;
  border: 1px solid var(--line); border-radius: 14px; padding: 13px 16px;
  font-size: 14px; font-weight: 700; color: var(--ink-2); background: #fff;
  transition: border-color .18s ease, transform .18s ease;
}
.contacts-card__btn:hover { transform: translateY(-2px); color: var(--ink-2); }
.contacts-card__btn svg { width: 22px; height: 22px; flex: none; }
.contacts-card__btn--tg:hover { border-color: #2aabee; }
.contacts-card__btn--wa:hover { border-color: #25d366; }

/* Двухколоночный макет «контент + боковая колонка» */
.with-aside { display: flex; flex-wrap: wrap; gap: clamp(24px, 3vw, 48px); align-items: flex-start; margin-top: clamp(30px, 4vw, 56px); }
.with-aside__main { flex: 2 1 min(100%, 460px); min-width: 0; }
.with-aside__side { flex: 1 1 min(100%, 300px); width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 14px; }
@media (min-width: 1000px) { .with-aside__side { position: sticky; top: 24px; } }

/* Фильтры-таблетки */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.chip {
  border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px;
  font-size: 13px; font-weight: 700; color: var(--ink-2); background: #fff;
  transition: border-color .18s ease, background .18s ease, color .18s ease; cursor: pointer;
}
.chip:hover { border-color: var(--ink); color: var(--ink-2); }
.chip.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Сетка карточек-обзоров */
.grid-cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 20px; margin-top: clamp(26px, 3vw, 38px);
}

/* Крупные цифры результата */
.figures {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  gap: 18px; margin-top: 30px;
}
.figure { background: var(--card); border: 1px solid var(--card-line); border-radius: 22px; padding: 24px; color: #fff; }
.figure__val { font-family: 'Unbounded', sans-serif; font-weight: 800; font-size: clamp(26px, 3vw, 38px); line-height: 1; letter-spacing: -.03em; color: var(--lime); }
.figure__cap { margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--card-mute); }
.figure--light { background: var(--surface); border-color: var(--line-2); color: var(--ink-2); }
.figure--light .figure__val { color: var(--ink); }
.figure--light .figure__cap { color: var(--gray); }

/* Шаги/этапы */
.steps { display: flex; flex-direction: column; margin-top: 30px; }
.step { display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: baseline; padding: 24px 0; border-top: 1px solid var(--line-2); }
.step:last-child { border-bottom: 1px solid var(--line-2); }
.step__num { flex: none; width: 54px; font-family: 'Unbounded', sans-serif; font-weight: 800; font-size: 15px; color: var(--blue); }
.step__title { flex: 1 1 240px; font-family: 'Unbounded', sans-serif; font-weight: 600; font-size: clamp(17px, 1.8vw, 24px); line-height: 1.15; letter-spacing: -.025em; color: var(--ink); }
.step__text { flex: 1 1 200px; font-size: 15px; line-height: 1.5; color: var(--gray); }

/* Тариф/цена */
.price-card {
  background: var(--card); border: 1px solid var(--card-line); border-radius: var(--radius);
  padding: clamp(24px, 3vw, 38px); color: #fff;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: clamp(22px, 3vw, 38px);
}
.price-card__val { font-family: 'Unbounded', sans-serif; font-weight: 800; font-size: clamp(28px, 3.4vw, 44px); line-height: 1; letter-spacing: -.035em; }
.price-card__val span { color: var(--lime); }
.price-card__note { margin-top: 14px; font-size: 15px; line-height: 1.55; color: var(--card-text); }
.price-list { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.price-list__li { display: flex; align-items: flex-start; gap: 11px; font-size: 15px; line-height: 1.45; font-weight: 600; color: #e2e2e8; }
.price-list__li::before {
  content: '✓'; flex: none; width: 18px; height: 18px; border-radius: 50%;
  background: var(--blue); color: #fff; font-size: 10px; display: grid; place-items: center; margin-top: 2px;
}

/* Таблица «до / после» */
.ba { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 18px; margin-top: 26px; }
.ba__col { border-radius: 22px; padding: 24px; }
.ba__col--before { background: var(--surface); border: 1px solid var(--line-2); }
.ba__col--after  { background: var(--card); border: 1px solid var(--card-line); color: #fff; }
.ba__kicker { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gray-3); margin-bottom: 14px; }
.ba__col--after .ba__kicker { color: var(--card-label); }
.ba__row { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; font-size: 15px; border-bottom: 1px solid rgba(0,0,0,.06); }
.ba__col--after .ba__row { border-bottom-color: #1e1e25; }
.ba__row:last-child { border-bottom: none; }

/* Заглушка «раздел пуст» */
.empty {
  border: 1px dashed var(--line); border-radius: var(--radius); padding: 40px 24px;
  text-align: center; color: var(--gray); font-size: 16px; margin-top: 26px;
}

/* =========================================================================
   МЕЛОЧИ ПОД ТЕЛЕФОН
   ========================================================================= */
@media (max-width: 560px) {
  .case-card__big { padding: 22px 20px 0; }
  .case-card__stats { padding: 16px 20px 0; gap: 18px; }
  .case-card__body { padding: 20px 20px 0; }
  .case-card .btn-card, .smm-card .btn-card { margin: 20px; }
  .smm-card__top, .smm-card__who { padding-left: 20px; padding-right: 20px; }
  .smm-card__rows { padding: 18px 20px 0; }
  .smm-card__ribbon { padding-left: 20px; padding-right: 20px; }
  .srv-card { padding: 22px; }
  .pk__panel { padding: 20px; }
  .pk__aside { padding: 20px; }
  .rev__shots { flex-direction: column; }
  .rev__shot { min-height: 180px; }
  .lead__row .btn { flex: 1 1 100%; }
  .diff__num, .step__num { width: 40px; }
}

/* =========================================================================
   БЛОК «ПРИЧИНЫ / БОЛИ» — три карточки с крупными цифрами
   ========================================================================= */
.probs {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: clamp(16px, 2vw, 26px); margin-top: clamp(30px, 3.4vw, 48px);
}
.prob {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(24px, 2.6vw, 34px); display: flex; flex-direction: column; gap: 18px;
  background: #fff; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.prob:hover { border-color: var(--blue); transform: translateY(-4px); box-shadow: 0 22px 44px -28px rgba(13,13,15,.35); }
.prob__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.prob__num {
  font-family: 'Unbounded', sans-serif; font-weight: 800;
  font-size: clamp(38px, 4.4vw, 62px); line-height: .8; letter-spacing: -.05em; color: #e6e6ee;
}
.prob__label { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #9a9aa6; }
.prob__title {
  font-family: 'Unbounded', sans-serif; font-weight: 600;
  font-size: clamp(18px, 1.8vw, 23px); line-height: 1.18; letter-spacing: -.025em;
  color: var(--ink); text-wrap: pretty;
}
.prob__title span { color: var(--gray); }
.prob__note { margin-top: auto; padding-top: 16px; border-top: 1px solid #eeeef3; font-size: 14px; line-height: 1.5; color: var(--gray); }
.prob--dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.prob--dark:hover { border-color: var(--ink); box-shadow: none; }
.prob--dark .prob__num { color: var(--lime); }
.prob--dark .prob__label { color: var(--card-mute); }
.prob--dark .prob__title { color: #fff; }
.prob--dark .prob__title span { color: var(--card-mute); }
.prob--dark .prob__note { border-top-color: var(--card-line); color: var(--card-text); }

/* =========================================================================
   ЭТАПЫ РАБОТЫ
   ========================================================================= */
.stages {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: clamp(26px, 3vw, 46px) clamp(22px, 2.4vw, 40px); margin-top: clamp(32px, 4vw, 60px);
}
.stage__line { display: flex; align-items: center; }
.stage__line span { flex: none; width: 11px; height: 11px; border-radius: 50%; background: var(--blue); }
.stage__line i { flex: 1; height: 1px; background: var(--line); }
.stage__body { display: flex; align-items: flex-start; gap: 16px; padding: 22px 26px 0 0; }
.stage__num {
  font-family: 'Unbounded', sans-serif; font-weight: 800;
  font-size: clamp(34px, 4vw, 58px); line-height: .85; letter-spacing: -.05em; color: #e6e6ee; flex: none;
}
.stage__title {
  font-family: 'Unbounded', sans-serif; font-weight: 600; font-size: 20px;
  line-height: 1.1; letter-spacing: -.02em; color: var(--ink); padding-top: 4px;
}
.stage__text { margin-top: 12px; font-size: 15px; line-height: 1.55; color: var(--gray-2); text-wrap: pretty; }

/* =========================================================================
   СТОИМОСТЬ
   ========================================================================= */
.price-row { display: flex; flex-wrap: wrap; gap: 22px; margin-top: clamp(28px, 3.4vw, 48px); align-items: stretch; }
.price-box {
  flex: 1 1 min(100%, 380px); background: #f6f6fa; border-radius: var(--radius);
  padding: clamp(26px, 2.8vw, 40px); display: flex; flex-direction: column; justify-content: space-between; gap: 22px;
}
.price-box--lime { background: var(--lime); max-width: 460px; }
.price-box__kicker { font-size: 14px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gray); }
.price-box--lime .price-box__kicker { color: #3f4d0a; }
.price-box__val {
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
  font-family: 'Unbounded', sans-serif; font-weight: 800; letter-spacing: -.045em;
  color: var(--ink); line-height: .92; font-size: clamp(30px, 4vw, 56px);
}
.price-box--lime .price-box__val { color: var(--lime-ink); }
.price-box__word { font-size: 18px; font-weight: 600; color: var(--gray); letter-spacing: 0; }
.price-box--lime .price-box__word { color: #3f4d0a; }
.price-box__note { font-size: 15px; line-height: 1.5; color: var(--gray); }
.price-box--lime .price-box__note { color: #3f4d0a; }

/* =========================================================================
   КАК ЭТО РАБОТАЕТ
   ========================================================================= */
.howto {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
  gap: clamp(16px, 1.8vw, 22px); margin-top: clamp(28px, 3.2vw, 44px);
}
.howto__box { border-radius: var(--radius); padding: clamp(24px, 2.6vw, 34px); display: flex; flex-direction: column; gap: 20px; }
.howto__box--soft { background: var(--surface); }
.howto__box--bordered { border: 1px solid var(--line); background: #fff; }
.howto__box--dark { background: var(--ink); color: #fff; }
.howto__kicker { font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.howto__kicker--lime { color: var(--lime); }
.howto__list { display: flex; flex-direction: column; gap: 13px; }
.howto__li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; font-weight: 600; line-height: 1.4; color: var(--ink-2); }
.howto__li::before {
  content: '✓'; flex: none; width: 20px; height: 20px; border-radius: 50%;
  background: var(--blue); color: #fff; font-size: 11px; display: grid; place-items: center; margin-top: 2px;
}
.howto__queries { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 11px 18px; }
.howto__query { display: flex; gap: 10px; align-items: center; font-size: 15px; font-weight: 600; color: var(--ink-2); min-width: 0; }
.howto__query svg { width: 15px; height: 15px; flex: none; color: var(--blue); }
.howto__shot { position: relative; flex: 1; border-radius: 20px; overflow: hidden; min-height: 170px; background: #161619; }
.howto__shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.howto__result { font-family: 'Unbounded', sans-serif; font-weight: 600; font-size: clamp(18px, 2vw, 25px); line-height: 1.15; letter-spacing: -.03em; }
.howto__result span { color: var(--lime); }

/* Синяя полоса с выгодами */
.strip {
  margin-top: clamp(16px, 1.8vw, 22px); background: var(--blue); border-radius: var(--radius);
  padding: clamp(22px, 2.4vw, 30px); color: #fff;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 22px;
}
.strip__item { display: flex; gap: 14px; align-items: center; min-width: 0; }
.strip__icon { flex: none; width: 38px; height: 38px; border-radius: 11px; background: rgba(255,255,255,.16); display: grid; place-items: center; }
.strip__icon svg { width: 19px; height: 19px; }
.strip__text { font-size: 15px; font-weight: 700; line-height: 1.35; min-width: 0; }
.strip__text span { font-weight: 600; color: #c6c6ff; }

/* =========================================================================
   ЧТО ВХОДИТ В НАСТРОЙКУ
   ========================================================================= */
.incl { display: flex; flex-wrap: wrap; gap: clamp(24px, 3vw, 52px); align-items: flex-start; }
.incl__left { flex: 1 1 min(100%, 340px); min-width: 0; }
.incl__right { flex: 1.2 1 min(100%, 380px); min-width: 0; }
.incl__text { margin-top: 20px; font-size: 17px; line-height: 1.55; color: var(--gray); max-width: 52ch; }
.incl__h3 { font-weight: 600; font-size: clamp(19px, 2vw, 26px); letter-spacing: -.025em; color: var(--ink); margin-bottom: 8px; }
.incl__row {
  display: flex; gap: 20px; align-items: center; padding: 20px 4px;
  border-bottom: 1px solid var(--line-2); transition: padding-left .2s ease;
}
.incl__row:hover { padding-left: 14px; }
.incl__num { flex: none; font-family: ui-monospace, Menlo, monospace; font-size: 13px; font-weight: 700; color: var(--blue); }
.incl__label { font-size: 17px; font-weight: 700; line-height: 1.35; color: var(--ink-2); }

/* =========================================================================
   ГАЛЕРЕЯ ОТЧЁТОВ
   ========================================================================= */
.gal {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 20px; margin-top: clamp(26px, 3vw, 40px);
}
.gal__item { margin: 0; }
.gal__item > img, .gal__item > .plc { border-radius: 22px; width: 100%; }
.gal__item > img { aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid var(--line-2); }
.gal__item figcaption { margin-top: 12px; font-size: 14px; font-weight: 600; color: var(--gray); }

/* =========================================================================
   КЕЙСЫ ВКЛАДКАМИ
   ========================================================================= */
.ct__tabs {
  flex: 1 1 300px; min-width: min(100%, 300px);
  display: flex; flex-direction: column; gap: 8px;
}
.ct__tab {
  display: grid; grid-template-columns: 32px 1fr auto; align-items: center; gap: 14px;
  width: 100%; text-align: left; cursor: pointer;
  border: 1px solid var(--line-2); background: #fff; color: var(--ink-2);
  border-radius: 18px; padding: 16px 18px;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.ct__tab:hover { border-color: var(--ink); }
.ct__tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.ct__tab-num { font-family: ui-monospace, Menlo, monospace; font-size: 12px; font-weight: 700; color: var(--gray-3); }
.ct__tab[aria-selected="true"] .ct__tab-num { color: var(--lime); }
.ct__tab-name { display: block; font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
.ct__tab-city { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gray-3); margin-top: 3px; }
.ct__tab[aria-selected="true"] .ct__tab-city { color: var(--card-mute); }
.ct__tab-metric { font-family: 'Unbounded', sans-serif; font-weight: 800; font-size: 14px; color: var(--blue); white-space: nowrap; }
.ct__tab[aria-selected="true"] .ct__tab-metric { color: var(--lime); }

.ct__panel {
  flex: 2 1 460px; min-width: min(100%, 460px);
  background: var(--card); border: 1px solid var(--card-line); border-radius: var(--radius);
  padding: clamp(22px, 2.6vw, 34px); color: #fff;
}
.ct__panel[hidden] { display: none; }
.ct__head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 16px; }
.ct__title { font-weight: 600; font-size: clamp(21px, 2.4vw, 30px); line-height: 1.12; letter-spacing: -.03em; margin-top: 10px; }
.ct__meta { display: flex; flex-wrap: wrap; gap: 8px; }
.ct__figures {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 130px), 1fr));
  gap: 16px; margin-top: 26px; padding: 22px 0; border-top: 1px solid var(--card-line); border-bottom: 1px solid var(--card-line);
}
.ct__fig-val { font-family: 'Unbounded', sans-serif; font-weight: 800; font-size: clamp(19px, 2.2vw, 26px); line-height: 1; letter-spacing: -.03em; color: var(--lime); }
.ct__fig-cap { margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--card-mute); }
.ct__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: clamp(20px, 2.4vw, 32px); margin-top: 26px; }
.ct__result { background: var(--card-2); border: 1px solid var(--card-line); border-radius: 20px; padding: 22px; }
.ct__result-val { font-family: 'Unbounded', sans-serif; font-weight: 800; font-size: clamp(24px, 3vw, 38px); line-height: 1; letter-spacing: -.035em; color: var(--lime); margin-top: 12px; }
.ct__result-note { margin-top: 12px; font-size: 15px; line-height: 1.5; color: var(--card-text); }

@media (max-width: 560px) {
  .incl__row:hover { padding-left: 4px; }
  .ct__tab { grid-template-columns: 28px 1fr; }
  .ct__tab-metric { grid-column: 2; margin-top: 6px; }
}

/* =========================================================================
   ТАБЛИЦА «РАБОТА → ЧТО ЭТО ДАЁТ»
   ========================================================================= */
.tw { margin-top: clamp(26px, 3vw, 40px); border-top: 1px solid var(--line-2); }
.tw__head, .tw__row {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(16px, 2.4vw, 40px); align-items: start;
}
.tw__head {
  padding: 14px 4px; font-size: 12px; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase; color: var(--gray-3);
  border-bottom: 1px solid var(--line-2);
}
.tw__row { padding: 20px 4px; border-bottom: 1px solid var(--line-2); transition: background .16s ease; }
.tw__row:hover { background: var(--surface); }
.tw__name { display: block; font-size: 17px; font-weight: 700; line-height: 1.3; color: var(--ink); }
.tw__hint { display: block; margin-top: 5px; font-size: 14px; font-weight: 600; color: var(--gray-3); }
.tw__gives { font-size: 16px; line-height: 1.5; color: var(--gray-2); }
.tw__note {
  margin-top: 22px; display: flex; align-items: center; gap: 12px;
  background: var(--surface); border-radius: 20px; padding: 18px 22px;
  font-size: 15px; font-weight: 600; line-height: 1.5; color: var(--ink-2);
}
@media (max-width: 700px) {
  .tw__head { display: none; }
  .tw__row { grid-template-columns: 1fr; gap: 8px; }
  .tw__gives { padding-left: 0; }
}

/* =========================================================================
   ПРОНУМЕРОВАННЫЕ НАПРАВЛЕНИЯ
   ========================================================================= */
.num__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(16px, 2vw, 22px); margin-top: clamp(28px, 3.2vw, 44px);
}
.num__item {
  display: flex; gap: 18px; align-items: flex-start;
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(22px, 2.4vw, 30px); background: #fff;
  transition: border-color .2s ease, transform .2s ease;
}
.num__item:hover { border-color: var(--blue); transform: translateY(-3px); }
.num__n {
  flex: none; font-family: ui-monospace, Menlo, monospace;
  font-size: 13px; font-weight: 700; color: var(--blue); padding-top: 4px;
}
.num__text { font-size: 17px; font-weight: 700; line-height: 1.4; color: var(--ink-2); min-width: 0; }
.num__text b {
  display: inline-block; margin-top: 10px; font-family: 'Unbounded', sans-serif;
  font-weight: 800; font-size: clamp(22px, 2.4vw, 30px); line-height: 1;
  letter-spacing: -.03em; color: var(--blue);
}
.num__text i {
  display: block; margin-top: 4px; font-style: normal; font-size: 12px;
  font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gray-3);
}

/* =========================================================================
   ПРОСМОТР СКРИНШОТА ВО ВЕСЬ ЭКРАН
   ========================================================================= */
.lightbox {
  position: fixed; inset: 0; z-index: 300; display: none;
  align-items: center; justify-content: center; padding: 24px;
  background: rgba(13,13,15,.86); backdrop-filter: blur(4px);
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 110px); border-radius: 16px; object-fit: contain; }
.lightbox__hint {
  position: absolute; left: 0; right: 0; bottom: 22px; text-align: center;
  font-size: 14px; font-weight: 600; color: #a9a9b4;
}
.gal__item > img, .gal__item > .plc { cursor: zoom-in; }

/* =========================================================================
   БЛОК «КТО Я»
   ========================================================================= */
.ab { display: flex; flex-wrap: wrap; gap: clamp(24px, 3vw, 48px); align-items: stretch; }
.ab__photo {
  flex: 1 1 min(100%, 320px); max-width: 460px; position: relative;
  border-radius: 28px; overflow: hidden; background: var(--surface);
  border: 1px solid var(--line-2); min-height: 420px;
}
.ab__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ab__body { flex: 1.2 1 min(100%, 380px); min-width: 0; }
.ab__name {
  font-weight: 800; font-size: clamp(28px, 4.4vw, 58px); line-height: 1;
  letter-spacing: -.04em; color: var(--ink);
}
.ab__role { margin-top: 14px; font-size: 17px; font-weight: 800; color: var(--blue); }
.ab__lead { margin-top: 20px; font-size: 17px; line-height: 1.6; color: var(--gray); max-width: 56ch; }
.ab__facts {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  gap: 14px; margin-top: 28px;
}
.ab__fact { background: var(--surface); border: 1px solid var(--line-2); border-radius: 20px; padding: 20px; }
.ab__fact-val { font-family: 'Unbounded', sans-serif; font-weight: 800; font-size: clamp(19px, 2.2vw, 26px); line-height: 1; letter-spacing: -.03em; color: var(--ink); }
.ab__fact-cap { margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--gray); }
.ab__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.ab__actions .btn svg { width: 20px; height: 20px; }

/* Первый экран: пункты-преимущества и карточка-оффер */
.hero__bullets { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.hero__bullet {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 15px; line-height: 1.5; font-weight: 600; color: var(--ink-2); max-width: 58ch;
}
.hero__bullet::before {
  content: '✓'; flex: none; width: 20px; height: 20px; border-radius: 50%;
  background: var(--lime); color: var(--lime-ink); font-size: 11px; font-weight: 800;
  display: grid; place-items: center; margin-top: 2px;
}
.hero__offer {
  margin-top: 26px; background: var(--ink); border-radius: var(--radius);
  padding: clamp(20px, 2.2vw, 28px); color: #fff;
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
}
.hero__offer-title { font-family: 'Unbounded', sans-serif; font-weight: 600; font-size: clamp(18px, 2vw, 24px); line-height: 1.15; letter-spacing: -.025em; }
.hero__offer-text { font-size: 15px; line-height: 1.5; color: var(--card-text); }

/* Таблица с тремя колонками */
.tw--3 .tw__head, .tw--3 .tw__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, .5fr); }
.tw__price { font-family: 'Unbounded', sans-serif; font-weight: 800; font-size: 17px; letter-spacing: -.02em; color: var(--ink); white-space: nowrap; }
@media (max-width: 700px) {
  .tw--3 .tw__row { grid-template-columns: 1fr; }
  .tw__price { color: var(--blue); }
}

/* =========================================================================
   СЕТКА КАРТОЧЕК «ЧТО ВЫ ПОЛУЧАЕТЕ»
   ========================================================================= */
.gc {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: clamp(16px, 2vw, 22px); margin-top: clamp(28px, 3.2vw, 44px);
}
.gc__card {
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  padding: clamp(22px, 2.4vw, 30px); display: flex; flex-direction: column; gap: 14px;
  transition: border-color .2s ease, transform .2s ease;
}
.gc__card:hover { border-color: var(--blue); transform: translateY(-3px); }
.gc__icon {
  width: 44px; height: 44px; border-radius: 13px; background: var(--surface);
  display: grid; place-items: center; color: var(--blue); flex: none;
}
.gc__icon svg { width: 22px; height: 22px; }
.gc__title { font-family: 'Unbounded', sans-serif; font-weight: 600; font-size: 19px; line-height: 1.2; letter-spacing: -.02em; color: var(--ink); }
.gc__text { font-size: 15px; line-height: 1.55; color: var(--gray); }
.gc__card--dark { background: var(--card); border-color: var(--card-line); }
.gc__card--dark:hover { border-color: #3a3a42; }
.gc__card--dark .gc__icon { background: var(--plc); color: var(--lime); }
.gc__card--dark .gc__title { color: #fff; }
.gc__card--dark .gc__text { color: var(--card-text); }

/* =========================================================================
   ПОРТФОЛИО
   ========================================================================= */
.pf {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(18px, 2.2vw, 26px); margin-top: clamp(28px, 3.2vw, 44px);
}
.pf__shot {
  position: relative; aspect-ratio: 4 / 3; border-radius: 22px; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line-2);
}
.pf__shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pf__title { margin-top: 18px; font-weight: 600; font-size: 21px; line-height: 1.15; letter-spacing: -.025em; color: var(--ink); }
.pf__text { margin-top: 10px; font-size: 15px; line-height: 1.55; color: var(--gray); }

/* Кейс вкладками: «было до меня», таблица было/стало, вывод */
.ct__was { margin-top: 24px; }
.ct__was p { margin-top: 10px; font-size: 15px; line-height: 1.55; color: var(--card-text); }
.ct__ba { margin-top: 24px; border-top: 1px solid var(--card-line); }
.ct__ba-head, .ct__ba-row {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr) minmax(0, .8fr);
  gap: 14px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--card-line);
}
.ct__ba-head { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--card-label); }
.ct__ba-row { font-size: 15px; font-weight: 700; color: #fff; }
.ct__ba-row > span:first-child { font-weight: 600; color: var(--card-mute); }
.ct__ba-was { color: var(--card-mute); text-decoration: line-through; text-decoration-color: rgba(255,255,255,.25); }
.ct__ba-now { color: var(--lime); font-weight: 800; }
.ct__note {
  margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--card-line);
  font-size: 15px; line-height: 1.55; color: var(--card-text); font-style: italic;
}
