/* ============================================================
   ИИ за 16 дней — лендинг курса
   Дизайн-система: тёплая светлая база, глубокий синий + бордо,
   засечки в заголовках (Source Serif 4), гротеск IBM Plex Sans,
   моно-акценты IBM Plex Mono для технических тегов.
   ============================================================ */

:root {
  /* Поверхности */
  --paper:        oklch(0.992 0.002 250);
  --paper-2:      oklch(0.974 0.004 250);
  --card:         #ffffff;

  /* Текст */
  --ink:          oklch(0.24 0.012 265);
  --ink-soft:     oklch(0.44 0.012 265);
  --ink-faint:    oklch(0.60 0.010 265);
  --on-dark:      oklch(0.96 0.006 80);
  --on-dark-soft: oklch(0.80 0.012 260);

  /* Линии */
  --line:         oklch(0.905 0.006 265);
  --line-soft:    oklch(0.935 0.005 265);

  /* Акценты */
  --navy:         oklch(0.40 0.085 258);
  --navy-deep:    oklch(0.32 0.080 258);
  --navy-ink:     oklch(0.26 0.070 258);
  --navy-tint:    oklch(0.962 0.022 250);
  --navy-tint-2:  oklch(0.928 0.034 252);

  --burgundy:     var(--gold);
  --burgundy-deep:var(--gold-deep);
  --burgundy-tint:var(--gold-tint);

  /* Янтарный акцент */
  --gold:        oklch(0.685 0.148 64);
  --gold-deep:   oklch(0.565 0.132 56);
  --gold-tint:   oklch(0.962 0.046 72);
  --gold-line:   oklch(0.85 0.072 70);
  --gold-bright: oklch(0.80 0.142 68);

  /* Шрифты */
  --serif: "Source Serif 4", Georgia, serif;
  --sans:  "IBM Plex Sans", system-ui, -apple-system, sans-serif;
  --mono:  "IBM Plex Mono", ui-monospace, monospace;

  /* Геометрия */
  --r-sm: 8px;
  --r:    14px;
  --r-lg: 22px;
  --maxw: 1180px;
  --pad:  clamp(20px, 5vw, 64px);

  /* Тени */
  --shadow-1: 0 1px 2px oklch(0.4 0.02 265 / 0.05), 0 4px 14px oklch(0.4 0.02 265 / 0.05);
  --shadow-2: 0 2px 6px oklch(0.4 0.02 265 / 0.07), 0 18px 44px oklch(0.35 0.04 265 / 0.12);
  --shadow-navy: 0 14px 40px oklch(0.32 0.08 258 / 0.28);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

/* ---------- Утилиты ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }

.section { padding-block: clamp(72px, 10vw, 128px); position: relative; }
.section--alt { background: var(--paper-2); border-block: 1px solid var(--line-soft); }
.section--dark {
  background: var(--navy-ink);
  color: var(--on-dark);
}

.eyebrow {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: currentColor;
  opacity: 0.55;
}
.section--dark .eyebrow { color: oklch(0.78 0.07 258); }

.s-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }
.s-head .num {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--burgundy);
  letter-spacing: 0.12em;
}
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.08; letter-spacing: -0.015em; color: var(--ink); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--on-dark); }

h2.title { font-size: clamp(2rem, 4vw, 3.05rem); margin-top: 14px; text-wrap: balance; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--ink-soft); margin-top: 20px; max-width: 60ch; text-wrap: pretty; }

.accent { color: var(--burgundy); }
.accent-navy { color: var(--navy); }

/* ---------- Кнопки ---------- */
.btn {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  border: 0;
  border-radius: 100px;
  padding: 15px 28px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .25s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--navy-deep); color: #fff; box-shadow: var(--shadow-navy); }
.btn-primary:hover { background: var(--navy-ink); transform: translateY(-2px); }
.btn-primary .price-tag { color: oklch(0.86 0.06 258); font-weight: 500; }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); transform: translateY(-2px); }
.btn-burgundy { background: var(--burgundy-deep); color: #fff; box-shadow: 0 14px 40px oklch(0.5 0.09 78 / 0.30); }
.btn-burgundy:hover { background: oklch(0.42 0.085 72); transform: translateY(-2px); }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }
.btn-lg { padding: 18px 34px; font-size: 1.06rem; }

/* ============================================================
   ХЕДЕР
   ============================================================ */
.site-header {
  position: fixed; inset: 0 0 auto 0;
  z-index: 60;
  transition: background .3s ease, box-shadow .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: oklch(0.985 0.004 85 / 0.86);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
  box-shadow: 0 1px 0 oklch(1 0 0 / 0.6);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-mark {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--navy-ink);
  display: grid; place-items: center;
  position: relative; overflow: hidden;
  flex-shrink: 0;
}
.brand-mark span { color: #fff; font-family: var(--serif); font-weight: 700; font-size: 0.92rem; letter-spacing: -0.02em; line-height: 1; }
.brand-mark::after {
  content: ""; position: absolute; right: -8px; bottom: -8px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--burgundy);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text b { font-family: var(--sans); font-weight: 700; font-size: 0.98rem; letter-spacing: 0.02em; }
.brand-text small { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint); }

.nav { display: flex; align-items: center; gap: 15px; }
.nav a.nav-link { color: var(--ink-soft); text-decoration: none; font-size: 0.86rem; font-weight: 500; transition: color .18s; white-space: nowrap; }
.nav a.nav-link:hover { color: var(--navy); }
.nav a.nav-link.current { color: var(--navy); font-weight: 600; }
.nav-link { position: relative; }
.header-cta { padding: 11px 20px; font-size: 0.94rem; }
.menu-toggle { display: none; }

.nav-burger { display: none; }
@media (max-width: 1080px) {
  .brand-text small { display: none; }
  /* бургер */
  .nav-burger {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 10px; margin-left: 10px;
    background: var(--card); border: 1px solid var(--line); border-radius: 10px; cursor: pointer;
  }
  .nav-burger span { display: block; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .25s, opacity .2s; }
  .nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-burger.open span:nth-child(2) { opacity: 0; }
  .nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  /* меню-панель */
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--card); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-2); padding: 8px 0 14px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav .nav-link {
    display: block; padding: 13px 28px; font-size: 1rem;
    border-bottom: 1px solid var(--line-soft);
  }
  .nav .nav-link.current { color: var(--navy); background: var(--navy-tint); }
  .nav .header-cta { margin: 14px 28px 0; justify-content: center; }
  .site-header { position: sticky; }
  .header-inner { position: relative; }
}

/* ============================================================
   HERO — Блок 1
   ============================================================ */
.hero { position: relative; padding-top: 172px; padding-bottom: clamp(80px, 9vw, 130px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-image: radial-gradient(oklch(0.4 0.02 265 / 0.05) 1px, transparent 1.4px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(120% 90% at 70% 0%, #000 35%, transparent 78%);
  mask-image: radial-gradient(120% 90% at 70% 0%, #000 35%, transparent 78%);
}

/* --- Киношная обложка с пролётом между зданиями --- */
.hero--cinematic { background: #e9eef4; }
.hero--cinematic::before { display: none; }
.hero-canvas { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; display: block; }
.hero-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(233,238,244,0.94) 0%, rgba(233,238,244,0.80) 40%, rgba(233,238,244,0.32) 64%, rgba(233,238,244,0.55) 100%),
    linear-gradient(180deg, rgba(233,238,244,0.50) 0%, transparent 24%, transparent 58%, var(--paper) 100%);
}
.hero--cinematic .hero-grid { z-index: 2; }
.hero--cinematic h1 { color: var(--ink); }
.hero.hero--cinematic h1 .lower { color: var(--ink-soft); }
.hero.hero--cinematic h1 em { color: var(--burgundy); font-style: italic; }
.hero--cinematic .hero-sub { color: var(--ink-soft); }
.hero--cinematic .hero-badge {
  background: var(--card); border-color: var(--line);
  color: var(--ink-soft); box-shadow: var(--shadow-1);
}
.hero--cinematic .hero-badge b { color: var(--navy); }
.hero--cinematic .hero-badge .pill { background: var(--navy-tint); color: var(--navy-deep); }
.hero--cinematic .hero-result {
  background: var(--burgundy-tint); border-color: var(--gold-line);
}
.hero--cinematic .hero-result .ic { color: var(--burgundy); }
.hero--cinematic .hero-result p { color: var(--ink); }
.hero--cinematic .hero-result b { color: var(--burgundy-deep); }
.hero--cinematic .hero-trust span { color: var(--ink-soft); }
.hero--cinematic .hero-trust .dot { background: var(--navy); }
.hero--cinematic .btn-ghost { border-color: var(--navy); color: var(--navy); }
.hero--cinematic .btn-ghost:hover { border-color: var(--navy); color: #fff; background: var(--navy); }
@media (prefers-reduced-motion: reduce) {
  .hero-canvas { opacity: 0.85; }
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(48px, 6vw, 96px);
  align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: 100px; padding: 7px 8px 7px 16px;
  font-size: 0.82rem; color: var(--ink-soft); font-weight: 500;
  box-shadow: var(--shadow-1); margin-bottom: 26px;
}
.hero-badge b { color: var(--navy); }
.hero-badge .pill { font-family: var(--mono); font-size: 0.68rem; background: var(--navy-tint); color: var(--navy-deep); padding: 4px 10px; border-radius: 100px; letter-spacing: 0.04em; }

.hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.3rem); letter-spacing: -0.022em; }
.hero h1 .lower { display: block; color: var(--ink-soft); font-size: clamp(1.3rem, 2.3vw, 1.85rem); font-weight: 500; letter-spacing: -0.01em; margin-top: 16px; line-height: 1.2; }
.hero h1 em { font-style: italic; color: var(--burgundy); }

.hero-sub { font-size: 1.14rem; line-height: 1.6; color: var(--ink-soft); margin-top: 32px; max-width: 52ch; text-wrap: pretty; }

.hero-result {
  margin-top: 30px; display: flex; gap: 14px; align-items: flex-start;
  background: var(--burgundy-tint); border: 1px solid var(--gold-line);
  border-radius: var(--r); padding: 16px 20px; max-width: 53ch;
}
.hero-result .ic { color: var(--burgundy); flex-shrink: 0; margin-top: 2px; }
.hero-result p { font-size: 1.0rem; color: var(--ink); }
.hero-result b { color: var(--burgundy-deep); }

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; align-items: center; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 36px; }
.hero-trust span { display: inline-flex; align-items: center; gap: 9px; font-size: 0.9rem; color: var(--ink-soft); }
.hero-trust .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--navy); }

/* Hero card — программа кратко */
.program-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--shadow-2);
  padding: 36px 34px; position: relative;
}
.program-card .pc-head { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.pc-days { font-family: var(--serif); font-size: 3.2rem; font-weight: 700; line-height: 0.9; color: var(--navy-ink); }
.pc-days small { font-family: var(--sans); font-size: 0.95rem; font-weight: 500; color: var(--ink-faint); display: block; letter-spacing: 0; margin-top: 6px; }
.pc-tag { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--burgundy-deep); border: 1px solid var(--gold-line); border-radius: 100px; padding: 6px 11px; }

.pc-stage { display: flex; gap: 16px; padding: 21px 0; border-bottom: 1px dashed var(--line); }
.pc-stage:last-of-type { border-bottom: 0; }
.pc-stage .step {
  width: 40px; height: 40px; flex-shrink: 0; border-radius: 11px;
  background: var(--navy-tint); color: var(--navy-deep);
  display: grid; place-items: center; font-family: var(--mono); font-weight: 600; font-size: 0.9rem;
}
.pc-stage:nth-child(3) .step { background: var(--burgundy-tint); color: var(--burgundy-deep); }
.pc-stage .meta b { display: block; font-family: var(--sans); font-size: 1.0rem; font-weight: 600; }
.pc-stage .meta span { font-size: 0.88rem; color: var(--ink-faint); }
.pc-stage .dur { margin-left: auto; align-self: center; font-family: var(--mono); font-size: 0.8rem; color: var(--ink-soft); }

.pc-foot { margin-top: 22px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 20px; border-top: 1px solid var(--line); }
.pc-foot .lbl { font-size: 0.84rem; color: var(--ink-faint); }
.pc-foot .price { font-family: var(--serif); font-size: 1.5rem; font-weight: 700; color: var(--ink); }

/* Hero card — AI Frame: прозрачность бизнеса */
.ai-frame {
  padding: 34px 32px 30px; position: relative; overflow: hidden;
  background:
    linear-gradient(var(--card), var(--card)) padding-box,
    repeating-linear-gradient(0deg, transparent 0 25px, oklch(0.55 0.04 258 / 0.05) 25px 26px),
    repeating-linear-gradient(90deg, transparent 0 25px, oklch(0.55 0.04 258 / 0.05) 25px 26px);
}
/* угловые скобы фрейма */
.afr-corner { position: absolute; width: 20px; height: 20px; z-index: 3; }
.afr-corner::before, .afr-corner::after { content: ""; position: absolute; background: var(--gold); }
.afr-corner::before { width: 100%; height: 2px; }
.afr-corner::after { width: 2px; height: 100%; }
.afr-tl { top: 14px; left: 14px; }
.afr-tr { top: 14px; right: 14px; }
.afr-tr::after { right: 0; }
.afr-tr::before { right: 0; }
.afr-bl { bottom: 14px; left: 14px; }
.afr-bl::before { bottom: 0; }
.afr-br { bottom: 14px; right: 14px; }
.afr-br::before { bottom: 0; right: 0; }
.afr-br::after { right: 0; }

.afr-head { position: relative; z-index: 2; padding-bottom: 20px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.afr-fig {
  position: relative; z-index: 2; margin: 0 0 18px; border-radius: var(--r);
  overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; background: #0e1726;
}
.afr-fig img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 46%; transform: scale(1.55); transform-origin: 60% 46%; display: block; }
.afr-tag {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--burgundy-deep); border: 1px solid var(--gold-line); border-radius: 100px;
  padding: 6px 13px; margin-bottom: 16px;
}
.afr-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 oklch(0.685 0.148 64 / 0.5); animation: afrPulse 2.4s ease-out infinite; }
@keyframes afrPulse { 0% { box-shadow: 0 0 0 0 oklch(0.685 0.148 64 / 0.45); } 70% { box-shadow: 0 0 0 7px oklch(0.685 0.148 64 / 0); } 100% { box-shadow: 0 0 0 0 oklch(0.685 0.148 64 / 0); } }
@media (prefers-reduced-motion: reduce) { .afr-dot { animation: none; } }
.afr-title { display: block; font-family: var(--serif); font-size: 1.4rem; font-weight: 600; line-height: 1.22; color: var(--ink); letter-spacing: -0.01em; }
.afr-lead { display: block; margin-top: 10px; font-size: 0.88rem; line-height: 1.45; color: var(--ink-soft); }

.afr-layers { list-style: none; margin: 0; padding: 0; position: relative; z-index: 2; display: grid; gap: 13px; }
.afr-layer { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 13px; align-items: center; }
.afr-ic {
  grid-row: 1 / 3; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  background: var(--navy-tint); color: var(--navy-deep);
}
.afr-layer--final .afr-ic { background: var(--burgundy-tint); color: var(--burgundy-deep); }
.afr-meta { align-self: end; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.afr-meta b { font-size: 0.98rem; font-weight: 600; color: var(--ink); }
.afr-meta span { font-size: 0.8rem; color: var(--ink-faint); }
/* «прозрачность»-индикатор: стеклянная дорожка, заполняется при появлении */
.afr-bar { grid-column: 2; align-self: start; margin-top: 6px; position: relative; height: 5px; border-radius: 3px; background: oklch(0.55 0.04 258 / 0.12); overflow: hidden; }
.afr-bar i { position: absolute; inset: 0; width: 0; border-radius: 3px; background: linear-gradient(90deg, var(--navy), var(--gold)); transition: width 1s ease var(--bd, .2s); }
.is-visible .afr-bar i { width: var(--fill, 100%); }
.afr-layer:nth-child(1) .afr-bar i { --bd: .20s; }
.afr-layer:nth-child(2) .afr-bar i { --bd: .34s; }
.afr-layer:nth-child(3) .afr-bar i { --bd: .48s; }
.afr-layer:nth-child(4) .afr-bar i { --bd: .62s; }

.afr-foot { position: relative; z-index: 2; margin-top: 20px; padding: 15px 17px; border-radius: var(--r); background: var(--burgundy-tint); border: 1px solid var(--gold-line); }
.afr-foot-lbl { display: block; font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--burgundy-deep); margin-bottom: 4px; }
.afr-foot b { font-family: var(--serif); font-size: 1.02rem; font-weight: 600; color: var(--ink); line-height: 1.3; }

/* ============================================================
   AI FRAME — визуальная секция
   ============================================================ */
.frame-figure { margin: 0; position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-2); border: 1px solid var(--line); background: var(--navy-ink); aspect-ratio: 1662 / 946; }
.frame-figure img { display: block; width: 100%; height: 100%; object-fit: cover; }
.frame-figure::before, .frame-figure::after { content: ""; position: absolute; width: 26px; height: 26px; z-index: 2; pointer-events: none; }
.frame-figure::before { top: 16px; left: 16px; border-top: 2px solid var(--gold); border-left: 2px solid var(--gold); }
.frame-figure::after { bottom: 16px; right: 16px; border-bottom: 2px solid var(--gold); border-right: 2px solid var(--gold); }

/* ============================================================
   ДЛЯ КОГО — Блок 2
   ============================================================ */
.audience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.aud-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 38px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
  position: relative; overflow: hidden;
}
.aud-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--navy-tint-2); }
.aud-card .ic-box {
  width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center;
  background: var(--navy-tint); color: var(--navy-deep); margin-bottom: 22px;
}
.aud-card:nth-child(2) .ic-box { background: var(--burgundy-tint); color: var(--burgundy-deep); }
.aud-card h3 { font-size: 1.4rem; margin-bottom: 12px; }
.aud-card p { color: var(--ink-soft); font-size: 1.02rem; }
.aud-card .tag { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); position: absolute; top: 38px; right: 38px; }

.thesis {
  margin-top: 28px; background: var(--navy-ink); color: var(--on-dark);
  border-radius: var(--r-lg); padding: clamp(32px, 5vw, 52px);
  display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 44px); align-items: center;
  position: relative; overflow: hidden;
}
.thesis::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px;
  border-radius: 50%; background: radial-gradient(circle, oklch(0.44 0.115 18 / 0.55), transparent 65%);
}
.thesis .mark { font-family: var(--serif); font-size: 5rem; line-height: 0.7; color: oklch(0.6 0.09 258); position: relative; z-index: 1; }
.thesis p { font-family: var(--serif); font-size: clamp(1.3rem, 2.6vw, 1.9rem); font-weight: 500; line-height: 1.3; position: relative; z-index: 1; text-wrap: balance; }
.thesis p b { color: oklch(0.82 0.08 258); }
.thesis p .br { color: var(--gold-bright); font-style: italic; }

/* ============================================================
   ФОРМАТ — Блок 3
   ============================================================ */
.stages { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; position: relative; }
.stage-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 0; overflow: hidden; transition: box-shadow .25s ease;
}
.stage-card:hover { box-shadow: var(--shadow-2); }
.stage-top { padding: 30px 32px; display: flex; align-items: center; gap: 18px; border-bottom: 1px solid var(--line); }
.stage-card:nth-child(1) .stage-top { background: var(--navy-tint); }
.stage-card:nth-child(2) .stage-top { background: var(--burgundy-tint); }
.stage-badge {
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 100px; background: #fff; flex-shrink: 0;
}
.stage-card:nth-child(1) .stage-badge { color: var(--navy-deep); }
.stage-card:nth-child(2) .stage-badge { color: var(--burgundy-deep); }
.stage-top h3 { font-size: 1.5rem; }
.stage-top .dur { margin-left: auto; text-align: right; font-family: var(--mono); }
.stage-top .dur b { font-family: var(--serif); font-size: 1.7rem; display: block; color: var(--ink); }
.stage-top .dur span { font-size: 0.72rem; color: var(--ink-faint); letter-spacing: 0.1em; text-transform: uppercase; }

.stage-body { padding: 28px 32px 32px; }
.stage-body .sub { font-size: 0.95rem; color: var(--ink-soft); margin-bottom: 20px; }
.stage-date { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 0.78rem; font-weight: 600; color: var(--navy-deep); background: var(--navy-tint); padding: 6px 12px; border-radius: 100px; margin-bottom: 16px; }
.stage-card:nth-child(2) .stage-date { color: var(--burgundy-deep); background: var(--burgundy-tint); }
.stage-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.stage-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 1.0rem; color: var(--ink); }
.stage-list li .tick {
  width: 24px; height: 24px; border-radius: 7px; flex-shrink: 0; margin-top: 1px;
  display: grid; place-items: center; background: var(--navy-tint); color: var(--navy-deep);
}
.stage-card:nth-child(2) .stage-list li .tick { background: var(--burgundy-tint); color: var(--burgundy-deep); }
.stage-list li b { font-weight: 600; }

.format-note {
  margin-top: 26px; text-align: center; font-size: 0.96rem; color: var(--ink-soft);
  display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap;
}
.format-note .chip { font-family: var(--mono); font-size: 0.78rem; background: var(--burgundy-tint); border: 1px solid var(--gold-line); padding: 7px 14px; border-radius: 100px; color: var(--burgundy-deep); }

/* ============================================================
   ЧТО ПОЛУЧИТЕ — Блок 4 (dark)
   ============================================================ */
.outcomes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.outcome {
  background: oklch(0.30 0.06 258); border: 1px solid oklch(0.38 0.06 258);
  border-radius: var(--r-lg); padding: 34px 30px; transition: transform .25s ease, background .25s;
}
.outcome:hover { transform: translateY(-5px); background: oklch(0.33 0.065 258); }
.outcome .o-num { font-family: var(--mono); font-size: 0.74rem; color: var(--gold-bright); letter-spacing: 0.12em; }
.outcome .o-stat { font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 700; color: #fff; margin: 16px 0 4px; line-height: 1; }
.outcome h3 { font-size: 1.2rem; color: var(--on-dark); margin-bottom: 10px; }
.outcome p { color: var(--on-dark-soft); font-size: 0.98rem; }

/* ============================================================
   ПРИМЕРЫ ПРОЕКТОВ — Блок 5
   ============================================================ */
.projects { display: flex; flex-direction: column; gap: 22px; }
.project {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  display: grid; grid-template-columns: 56px 1fr 1.1fr; gap: clamp(20px, 3vw, 40px);
  padding: clamp(28px, 3.5vw, 40px); align-items: start;
  transition: box-shadow .25s ease, transform .25s, border-color .25s;
}
.project:hover { box-shadow: var(--shadow-2); transform: translateY(-3px); border-color: var(--navy-tint-2); }
.project .p-index { font-family: var(--serif); font-size: 2.2rem; font-weight: 700; color: var(--navy-tint-2); line-height: 0.9; }
.project:hover .p-index { color: var(--navy); }
.p-left h3 { font-size: 1.42rem; margin-bottom: 16px; text-wrap: balance; }
.p-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.p-tags span { font-family: var(--mono); font-size: 0.72rem; background: var(--paper-2); border: 1px solid var(--line); color: var(--ink-soft); padding: 5px 11px; border-radius: 7px; }
.p-right { display: flex; flex-direction: column; gap: 18px; }
.p-block .p-label { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); display: block; margin-bottom: 7px; }
.p-block.suть .p-label { color: var(--navy); }
.p-block p { color: var(--ink-soft); font-size: 1.0rem; }
.p-block.result {
  background: var(--burgundy-tint); border-left: 3px solid var(--burgundy);
  padding: 14px 18px; border-radius: 0 var(--r-sm) var(--r-sm) 0;
}
.p-block.result .p-label { color: var(--burgundy-deep); }
.p-block.result p { color: var(--ink); }

/* ============================================================
   ЭКСПЕРТ — Блок 6
   ============================================================ */
.expert {
  display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 5vw, 64px); align-items: center;
}
.expert-photo {
  aspect-ratio: 525/788; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line); position: relative;
  background: var(--navy-tint);
}
.expert-credentials { display: flex; flex-direction: column; gap: 26px; }
.expert-credentials h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
.expert-credentials .role { font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--burgundy); }
.cred-list { display: grid; gap: 16px; }
.cred-list li { list-style: none; display: flex; gap: 16px; align-items: flex-start; }
.cred-list .ic { width: 40px; height: 40px; border-radius: 11px; background: var(--navy-tint); color: var(--navy-deep); display: grid; place-items: center; flex-shrink: 0; }
.cred-list b { display: block; margin-bottom: 2px; }
.cred-list span { color: var(--ink-soft); font-size: 0.96rem; }

/* ============================================================
   СТОИМОСТЬ — Блок 7
   ============================================================ */
.pricing { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 24px; align-items: stretch; }
.price-card {
  background: var(--navy-ink); color: var(--on-dark); border-radius: var(--r-lg);
  padding: clamp(34px, 4vw, 48px); position: relative; overflow: hidden;
  display: flex; flex-direction: column;
}
.price-card::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(oklch(1 0 0 / 0.05) 1px, transparent 1.4px);
  background-size: 22px 22px; opacity: 0.6;
}
.price-card > * { position: relative; z-index: 1; }
.price-card .pkg { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: oklch(0.78 0.07 258); }
.price-row { display: flex; align-items: baseline; gap: 14px; margin: 18px 0 6px; flex-wrap: wrap; }
.price-row .big { font-family: var(--serif); font-size: clamp(3rem, 6vw, 4.4rem); font-weight: 700; color: #fff; line-height: 0.9; }
.price-row .cur { font-family: var(--serif); font-size: 2rem; color: var(--on-dark-soft); }
.price-card .once { color: var(--on-dark-soft); font-size: 0.95rem; }
.price-includes { list-style: none; margin: 30px 0; display: grid; gap: 15px; }
.price-includes li { display: flex; gap: 14px; align-items: flex-start; font-size: 1.0rem; color: var(--on-dark); }
.price-includes .tick { width: 24px; height: 24px; border-radius: 7px; background: oklch(0.4 0.08 258); color: #fff; display: grid; place-items: center; flex-shrink: 0; margin-top: 1px; }
.price-card .btn { margin-top: auto; width: 100%; justify-content: center; }
.price-note { display: flex; align-items: center; gap: 9px; font-size: 0.92rem; color: var(--on-dark); margin: -8px 0 22px; padding: 11px 14px; border-radius: 12px; background: oklch(0.62 0.115 75 / 0.16); border: 1px solid var(--gold-bright); }
.price-note::before {
  content: ""; width: 22px; height: 22px; flex-shrink: 0; border-radius: 6px;
  background-color: var(--gold-bright);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314213a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 3'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 60%;
}
.price-note b { color: var(--gold-bright); font-weight: 700; }

.value-side { display: flex; flex-direction: column; gap: 22px; }
.anchor-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 34px; flex: 1; display: flex; flex-direction: column; justify-content: center;
}
.anchor-card .mark { font-family: var(--serif); font-size: 3.5rem; line-height: 0.6; color: var(--burgundy); }
.anchor-card p { font-family: var(--serif); font-size: 1.32rem; font-weight: 500; line-height: 1.35; margin-top: 16px; color: var(--ink); text-wrap: pretty; }
.anchor-card p b { color: var(--burgundy-deep); }
.guarantee {
  background: var(--burgundy-tint); border: 1px solid var(--gold-line); border-radius: var(--r-lg);
  padding: 26px 30px; display: flex; gap: 16px; align-items: center;
}
.guarantee .ic { color: var(--burgundy); flex-shrink: 0; }
.guarantee b { display: block; margin-bottom: 3px; }
.guarantee span { font-size: 0.94rem; color: var(--ink-soft); }

/* ============================================================
   FAQ — Блок 8
   ============================================================ */
.faq-wrap { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q {
  width: 100%; background: none; border: 0; cursor: pointer; text-align: left;
  padding: 26px 0; display: flex; align-items: center; gap: 20px;
  font-family: var(--serif); font-size: clamp(1.1rem, 1.8vw, 1.35rem); font-weight: 600; color: var(--ink);
  transition: color .2s;
}
.faq-q:hover { color: var(--navy); }
.faq-q .q-ic {
  margin-left: auto; flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%;
  border: 1.5px solid var(--line); display: grid; place-items: center; color: var(--navy);
  transition: transform .3s ease, background .25s, border-color .25s;
}
.faq-item.open .q-ic { transform: rotate(45deg); background: var(--navy); color: #fff; border-color: var(--navy); }
.faq-a { overflow: hidden; max-height: 0; transition: max-height .4s cubic-bezier(.4,0,.2,1); }
.faq-a-inner { padding: 0 54px 28px 0; color: var(--ink-soft); font-size: 1.05rem; }
.faq-a-inner .note { display: inline-block; margin-top: 12px; font-family: var(--mono); font-size: 0.8rem; color: var(--navy); background: var(--navy-tint); padding: 6px 12px; border-radius: 7px; }

/* ============================================================
   ФИНАЛЬНЫЙ CTA + ФУТЕР
   ============================================================ */
.final-cta { text-align: center; }
.final-cta h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: 18ch; margin: 0 auto; text-wrap: balance; }
.final-cta .lede { margin: 22px auto 0; text-align: center; }
.final-cta .hero-cta { justify-content: center; margin-top: 38px; }
.final-cta .seats { margin-top: 24px; font-family: var(--mono); font-size: 0.84rem; color: var(--ink-faint); }
.final-cta .seats b { color: var(--burgundy); }

.site-footer { background: var(--navy-ink); color: var(--on-dark-soft); padding-block: 56px 40px; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 36px; border-bottom: 1px solid oklch(0.38 0.05 258); }
.footer-top .brand-text b { color: #fff; }
.footer-top .brand-mark { background: oklch(0.4 0.08 258); }
.footer-contacts { display: flex; gap: 40px; flex-wrap: wrap; }
.footer-contacts .col span { display: block; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: oklch(0.65 0.04 258); margin-bottom: 8px; }
.footer-contacts .col a, .footer-contacts .col p { color: var(--on-dark); text-decoration: none; font-size: 0.98rem; }
.footer-bottom { padding-top: 28px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.84rem; color: oklch(0.6 0.04 258); }

/* ============================================================
   ПЛЕЙСХОЛДЕРЫ (изображения)
   ============================================================ */
.ph {
  position: absolute; inset: 0;
  background-color: var(--paper-2);
  background-image: repeating-linear-gradient(135deg, oklch(0.9 0.01 265) 0 1px, transparent 1px 11px);
  display: grid; place-items: center;
}
.ph span {
  font-family: var(--mono); font-size: 0.74rem; color: var(--ink-faint);
  background: var(--card); border: 1px solid var(--line); padding: 8px 14px; border-radius: 100px;
  letter-spacing: 0.04em;
}

/* ============================================================
   ПЛАВАЮЩАЯ КНОПКА
   ============================================================ */
.float-cta {
  position: fixed; right: clamp(16px, 3vw, 32px); bottom: clamp(16px, 3vw, 32px); z-index: 50;
  opacity: 0; transform: translateY(20px) scale(0.96); pointer-events: none;
  transition: opacity .35s ease, transform .35s ease;
}
.float-cta.show { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }

/* ============================================================
   МОДАЛЬНАЯ ФОРМА
   ============================================================ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: oklch(0.24 0.04 265 / 0.55); backdrop-filter: blur(6px);
  display: grid; place-items: center; padding: 20px;
  opacity: 0; pointer-events: none; transition: opacity .3s ease;
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.modal {
  background: var(--paper); border-radius: var(--r-lg); width: min(520px, 100%);
  box-shadow: 0 40px 100px oklch(0.2 0.04 265 / 0.4);
  transform: translateY(24px) scale(0.97); transition: transform .35s cubic-bezier(.2,.8,.2,1);
  max-height: 92vh; overflow-y: auto;
}
.modal-overlay.open .modal { transform: translateY(0) scale(1); }
.modal-head { padding: 32px 34px 0; position: relative; }
.modal-head .eyebrow { margin-bottom: 14px; }
.modal-head h3 { font-size: 1.7rem; }
.modal-head p { color: var(--ink-soft); margin-top: 10px; font-size: 0.98rem; }
.modal-close {
  position: absolute; top: 22px; right: 22px; width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--card); cursor: pointer; color: var(--ink-soft);
  display: grid; place-items: center; transition: background .2s, color .2s, transform .2s;
}
.modal-close:hover { background: var(--navy-ink); color: #fff; transform: rotate(90deg); }
.modal-body { padding: 26px 34px 34px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.86rem; font-weight: 600; margin-bottom: 8px; color: var(--ink); }
.field label .req { color: var(--burgundy); }
.field input {
  width: 100%; font-family: var(--sans); font-size: 1rem; color: var(--ink);
  padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--card);
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px var(--navy-tint); }
.field.error input { border-color: var(--burgundy); }
.field .err-msg { color: var(--burgundy-deep); font-size: 0.82rem; margin-top: 6px; display: none; }
.field.error .err-msg { display: block; }
.modal .btn { width: 100%; justify-content: center; margin-top: 8px; }
.modal-priv { font-size: 0.8rem; color: var(--ink-faint); text-align: center; margin-top: 16px; }
.modal-priv a { color: var(--navy); }

.modal-summary {
  display: flex; align-items: center; gap: 14px; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r); padding: 16px 18px; margin-bottom: 24px;
}
.modal-summary .ms-price { font-family: var(--serif); font-size: 1.5rem; font-weight: 700; margin-left: auto; }
.modal-summary .ms-label b { display: block; }
.modal-summary .ms-label span { font-size: 0.86rem; color: var(--ink-faint); }

.modal-success { text-align: center; padding: 20px 0 8px; display: none; }
.modal.done .modal-body form, .modal.done .modal-summary { display: none; }
.modal.done .modal-success { display: block; }
.success-ic { width: 76px; height: 76px; border-radius: 50%; background: var(--navy-tint); color: var(--navy-deep); display: grid; place-items: center; margin: 0 auto 22px; animation: pop .5s cubic-bezier(.2,.9,.3,1.4); }
.modal-success h3 { font-size: 1.6rem; margin-bottom: 10px; }
.modal-success p { color: var(--ink-soft); }
@keyframes pop { 0% { transform: scale(0); } 100% { transform: scale(1); } }

/* ============================================================
   АФФИЛИАЦИЯ — ИБДА РАНХиГС
   ============================================================ */
.affil { background: var(--card); border-bottom: 1px solid var(--line); }
.affil-inner {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 5vw, 56px);
  align-items: center; padding-block: 30px;
}
.affil-logos { display: flex; align-items: center; gap: 18px; }
.club-logo { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.club-logo-mark {
  width: clamp(118px, 12vw, 150px); height: auto; display: block;
}
.club-logo-cap { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); }
.club-logo-cap b { color: var(--burgundy-deep); font-weight: 600; }
.affil-logo {
  height: 56px; min-width: 92px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--paper-2);
  background-image: repeating-linear-gradient(135deg, oklch(0.9 0.01 265) 0 1px, transparent 1px 9px);
  display: grid; place-items: center; padding: 0 16px;
}
.affil-logo span { font-family: var(--mono); font-size: 0.66rem; color: var(--ink-faint); letter-spacing: 0.08em; }
.affil p { font-size: 1.0rem; color: var(--ink-soft); text-wrap: pretty; }
.affil p b { color: var(--navy-ink); font-weight: 600; }
.affil-body { display: flex; flex-direction: column; gap: 20px; }
.affil-stats { display: flex; flex-wrap: wrap; gap: 14px 30px; }
.affil-stats > div { display: flex; flex-direction: column; gap: 2px; padding-right: 30px; border-right: 1px solid var(--line); }
.affil-stats > div:last-child { border-right: 0; padding-right: 0; }
.affil-stats b { font-family: var(--serif); font-size: 1.5rem; font-weight: 700; color: var(--navy-ink); line-height: 1; }
.affil-stats span { font-size: 0.78rem; color: var(--ink-faint); line-height: 1.25; }
@media (max-width: 760px) {
  .affil-inner { grid-template-columns: 1fr; gap: 18px; }
  .affil-stats > div { padding-right: 18px; }
}

/* ---------- Ссылка эксперта ---------- */
.expert-link {
  display: inline-flex; align-items: center; gap: 9px; align-self: flex-start;
  font-family: var(--mono); font-size: 0.84rem; color: var(--navy-deep);
  text-decoration: none; border: 1px solid var(--line); background: var(--card);
  padding: 9px 16px; border-radius: 100px; transition: border-color .2s, color .2s, transform .2s;
}
.expert-link:hover { border-color: var(--navy); transform: translateY(-2px); }
.expert-name-sub { font-size: 0.96rem; color: var(--ink-soft); margin-top: -10px; }

/* ============================================================
   ИИ-ПОМОЩНИК — демо «ИИ на практике»
   ============================================================ */
.ai-demo { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(32px, 5vw, 64px); align-items: stretch; }
.ai-pitch { display: flex; flex-direction: column; justify-content: center; }
.ai-pitch .badge-live {
  display: inline-flex; align-items: center; gap: 9px; font-family: var(--mono);
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--burgundy-deep);
  background: var(--burgundy-tint); border: 1px solid var(--gold-line); padding: 7px 13px;
  border-radius: 100px; align-self: flex-start; margin-bottom: 22px;
}
.ai-pitch .badge-live .live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--burgundy); animation: livePulse 1.8s infinite; }
@keyframes livePulse { 0%,100% { opacity: 1; box-shadow: 0 0 0 0 oklch(0.60 0.105 78 / 0.5); } 50% { opacity: .5; box-shadow: 0 0 0 6px oklch(0.60 0.105 78 / 0); } }
.ai-pitch h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
.ai-pitch p { color: var(--ink-soft); margin-top: 18px; font-size: 1.05rem; text-wrap: pretty; }
.ai-pitch .pitch-note { margin-top: 22px; font-size: 0.92rem; color: var(--ink-faint); display: flex; gap: 10px; align-items: flex-start; }
.ai-pitch .pitch-note svg { color: var(--navy); flex-shrink: 0; margin-top: 2px; }

/* Окно чата */
.chat-window {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-2); display: flex; flex-direction: column; overflow: hidden;
  min-height: 520px; max-height: 580px;
}
.chat-head { display: flex; align-items: center; gap: 13px; padding: 18px 22px; border-bottom: 1px solid var(--line); background: var(--paper); }
.chat-avatar { width: 40px; height: 40px; border-radius: 11px; background: var(--navy-ink); display: grid; place-items: center; flex-shrink: 0; position: relative; }
.chat-avatar svg { color: #fff; }
.chat-avatar::after { content: ""; position: absolute; right: -2px; bottom: -2px; width: 12px; height: 12px; border-radius: 50%; background: oklch(0.62 0.16 145); border: 2px solid var(--card); }
.chat-head .ch-meta b { display: block; font-size: 0.98rem; }
.chat-head .ch-meta span { font-size: 0.8rem; color: var(--ink-faint); }
.chat-head .ch-tag { margin-left: auto; font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--navy); background: var(--navy-tint); padding: 5px 10px; border-radius: 100px; }

.chat-body { flex: 1; overflow-y: auto; padding: 22px; display: flex; flex-direction: column; gap: 14px; scroll-behavior: smooth; }
.msg { max-width: 84%; padding: 13px 17px; border-radius: 16px; font-size: 0.98rem; line-height: 1.5; white-space: pre-wrap; }
.msg.bot { background: var(--paper-2); border: 1px solid var(--line); color: var(--ink); align-self: flex-start; border-bottom-left-radius: 5px; }
.msg.user { background: var(--navy-deep); color: #fff; align-self: flex-end; border-bottom-right-radius: 5px; }
.msg.bot a { color: var(--navy-deep); }
.typing { display: inline-flex; gap: 5px; align-items: center; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-faint); animation: typing 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; }
.typing i:nth-child(3) { animation-delay: .4s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .4; } 30% { transform: translateY(-5px); opacity: 1; } }

.chat-chips { display: flex; gap: 8px; padding: 0 22px 14px; flex-wrap: wrap; }
.chat-chips button {
  font-family: var(--sans); font-size: 0.84rem; color: var(--navy-deep);
  background: var(--navy-tint); border: 1px solid transparent; border-radius: 100px;
  padding: 8px 14px; cursor: pointer; transition: background .2s, border-color .2s;
}
.chat-chips button:hover { background: var(--navy-tint-2); border-color: var(--navy); }

.chat-input { display: flex; gap: 10px; padding: 16px 18px; border-top: 1px solid var(--line); background: var(--paper); }
.chat-input input {
  flex: 1; font-family: var(--sans); font-size: 0.98rem; padding: 12px 16px;
  border: 1.5px solid var(--line); border-radius: 100px; background: var(--card); color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.chat-input input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px var(--navy-tint); }
.chat-send {
  width: 46px; height: 46px; flex-shrink: 0; border: 0; border-radius: 50%; cursor: pointer;
  background: var(--navy-deep); color: #fff; display: grid; place-items: center;
  transition: background .2s, transform .2s;
}
.chat-send:hover { background: var(--navy-ink); transform: scale(1.05); }
.chat-send:disabled { opacity: .5; cursor: default; transform: none; }

@media (max-width: 920px) {
  .ai-demo { grid-template-columns: 1fr; }
  .chat-window { min-height: 460px; }
}

/* ============================================================
   СТРАНИЦА «РАСПИСАНИЕ»
   ============================================================ */
.page-hero { padding-top: 132px; padding-bottom: clamp(36px, 5vw, 60px); }
.page-hero .back-link { display: inline-flex; align-items: center; gap: 8px; font-size: 0.92rem; color: var(--ink-soft); text-decoration: none; margin-bottom: 26px; transition: gap .2s, color .2s; }
.page-hero .back-link:hover { gap: 12px; color: var(--navy); }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin-top: 12px; }
.page-hero .lede { margin-top: 18px; }
.sched-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.sched-meta .m {
  display: flex; align-items: center; gap: 10px; background: var(--card); border: 1px solid var(--line);
  border-radius: 100px; padding: 9px 18px; font-size: 0.92rem;
}
.sched-meta .m b { font-family: var(--serif); }
.sched-meta .m svg { color: var(--navy); }

.phase-head { display: flex; align-items: baseline; gap: 18px; margin: 8px 0 28px; flex-wrap: wrap; }
.phase-head .ph-badge { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: #fff; background: var(--navy-deep); padding: 7px 14px; border-radius: 100px; }
.phase-head.burgundy .ph-badge { background: var(--burgundy-deep); }
.phase-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.phase-head .ph-dur { margin-left: auto; font-family: var(--mono); font-size: 0.86rem; color: var(--ink-faint); }

.timeline { position: relative; padding-left: 0; }
.day-row {
  display: grid; grid-template-columns: 150px 1fr; gap: clamp(20px, 3vw, 44px);
  padding: 26px 0; border-top: 1px solid var(--line); align-items: start;
}
.day-row:last-child { border-bottom: 1px solid var(--line); }
.day-tag { display: flex; flex-direction: column; gap: 4px; }
.day-tag .d-num { font-family: var(--serif); font-size: 1.7rem; font-weight: 700; color: var(--navy-ink); line-height: 1; }
.day-tag .d-when { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); }
.day-tag .d-date { font-family: var(--mono); font-size: 0.78rem; font-weight: 600; color: var(--navy-deep); margin-top: 2px; }
.day-tag .d-pill { align-self: flex-start; margin-top: 6px; font-size: 0.74rem; font-family: var(--mono); padding: 4px 10px; border-radius: 100px; }
.day-tag .d-pill.intensive { background: var(--navy-tint); color: var(--navy-deep); }
.day-tag .d-pill.practice { background: var(--burgundy-tint); color: var(--burgundy-deep); }
.day-content h3 { font-size: 1.28rem; margin-bottom: 14px; }
.session-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.session-list li { display: grid; grid-template-columns: 104px 1fr; gap: 16px; align-items: start; }
.session-list .time { font-family: var(--mono); font-size: 0.76rem; color: var(--navy); padding-top: 2px; white-space: nowrap; letter-spacing: -0.01em; }
.session-list .what b { display: block; font-size: 1.0rem; }
.session-list .what span { color: var(--ink-soft); font-size: 0.94rem; }
.week-block {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px 30px; margin-bottom: 18px; transition: box-shadow .25s;
}
.week-block:hover { box-shadow: var(--shadow-1); }
.week-block .wk-top { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.week-block .wk-num { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--burgundy-deep); background: var(--burgundy-tint); padding: 6px 12px; border-radius: 100px; }
.week-block .wk-top h3 { font-size: 1.2rem; }
.week-block .wk-top .wk-meet { margin-left: auto; font-family: var(--mono); font-size: 0.8rem; color: var(--ink-faint); }
.week-block ul { list-style: none; display: grid; gap: 11px; }
.week-block ul li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-soft); font-size: 0.98rem; }
.week-block ul li .mdate { font-family: var(--mono); font-size: 0.82rem; color: var(--navy-deep); font-weight: 600; white-space: nowrap; }
.week-block ul li .tick { width: 22px; height: 22px; border-radius: 6px; background: var(--burgundy-tint); color: var(--burgundy-deep); display: grid; place-items: center; flex-shrink: 0; margin-top: 1px; }
.sched-note { margin-top: 30px; display: flex; gap: 14px; align-items: flex-start; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 24px; color: var(--ink-soft); font-size: 0.96rem; }
.sched-note svg { color: var(--navy); flex-shrink: 0; margin-top: 2px; }
.sched-cta { text-align: center; margin-top: clamp(40px, 6vw, 64px); }

@media (max-width: 680px) {
  .day-row { grid-template-columns: 1fr; gap: 14px; }
  .session-list li { grid-template-columns: 64px 1fr; gap: 12px; }
}

/* ============================================================
   СТРАНИЦА «ПРОГРАММА ИНТЕНСИВА»
   ============================================================ */
/* Чипы уровней */
.lvl { display: inline-block; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.04em; font-weight: 500; padding: 2px 8px; border-radius: 6px; background: var(--navy-tint-2); color: var(--navy-deep); vertical-align: middle; }
.lvl.b { background: var(--burgundy-tint); color: var(--burgundy-deep); }

/* Блок предварительной подготовки */
.prep-card {
  background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--navy);
  border-radius: var(--r-lg); padding: clamp(24px, 3vw, 34px); margin-bottom: 8px; box-shadow: var(--shadow-1);
}
.prep-card .prep-top { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.prep-card .prep-badge { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; background: var(--navy-deep); padding: 7px 14px; border-radius: 100px; }
.prep-card .prep-when { font-family: var(--mono); font-size: 0.84rem; color: var(--ink-faint); margin-left: auto; }
.prep-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.prep-card > p { color: var(--ink-soft); max-width: 70ch; }
.prep-card .prep-steps { list-style: none; display: grid; gap: 12px; margin-top: 20px; }
.prep-card .prep-steps li { display: flex; gap: 13px; align-items: flex-start; color: var(--ink-soft); font-size: 0.98rem; }
.prep-card .prep-steps .n { width: 26px; height: 26px; flex-shrink: 0; border-radius: 8px; background: var(--navy-tint); color: var(--navy-deep); font-family: var(--mono); font-size: 0.82rem; font-weight: 600; display: grid; place-items: center; }
.prep-card .prep-steps b { color: var(--ink); }

/* Подсессии и перерывы в дневной программе */
.session-list .what .sub-list { list-style: none; margin-top: 9px; display: grid; gap: 7px; }
.session-list .what .sub-list li { display: block; padding-left: 16px; position: relative; font-size: 0.92rem; color: var(--ink-soft); }
.session-list .what .sub-list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 5px; height: 5px; border-radius: 50%; background: var(--navy); opacity: 0.55; }
.session-list .what .sub-list li b { display: inline; font-size: inherit; color: var(--ink); }
.session-list li.brk { grid-template-columns: 78px 1fr; opacity: 0.78; }
.session-list li.brk .what { font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-faint); display: flex; align-items: center; gap: 9px; padding: 3px 0; }
.session-list li.brk .what::before { content: ""; width: 18px; height: 1px; background: var(--line); }

/* Плашка «гарантированный минимум» */
.guar-min {
  margin-top: 22px; display: flex; gap: 15px; align-items: flex-start;
  background: oklch(0.62 0.115 75 / 0.10); border: 1px solid var(--gold-bright); border-radius: var(--r);
  padding: 18px 22px;
}
.guar-min .gm-ic { width: 30px; height: 30px; flex-shrink: 0; border-radius: 8px; background: var(--gold-bright); color: #14213a; display: grid; place-items: center; }
.guar-min .gm-txt b { display: block; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--burgundy-deep); margin-bottom: 4px; }
.guar-min .gm-txt span { color: var(--ink-soft); font-size: 0.96rem; }

/* Блок ДЗ между днями */
.hw-block {
  background: var(--paper-2); border: 1px dashed var(--line); border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 32px); margin: 30px 0;
}
.hw-block .hw-top { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.hw-block .hw-top svg { color: var(--navy); }
.hw-block .hw-top span { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); }
.hw-block h3 { font-size: 1.2rem; margin-bottom: 16px; }
.hw-block ol { list-style: none; counter-reset: hw; display: grid; gap: 13px; }
.hw-block ol li { counter-increment: hw; display: flex; gap: 14px; align-items: flex-start; color: var(--ink-soft); font-size: 0.98rem; }
.hw-block ol li::before { content: counter(hw); width: 26px; height: 26px; flex-shrink: 0; border-radius: 50%; background: var(--navy-deep); color: #fff; font-family: var(--mono); font-size: 0.8rem; font-weight: 600; display: grid; place-items: center; }
.hw-block ol li b { color: var(--ink); }

/* Лестница 7 уровней */
.ladder { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin: 4px 0 2px; }
.ladder .step { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 12px 10px 14px; text-align: center; position: relative; }
.ladder .step .ln { font-family: var(--mono); font-size: 0.7rem; color: var(--ink-faint); }
.ladder .step .lt { display: block; font-size: 0.8rem; color: var(--ink-soft); margin-top: 5px; line-height: 1.25; }
.ladder .step.on { background: var(--navy-tint); border-color: var(--navy); }
.ladder .step.on .ln { color: var(--navy-deep); font-weight: 600; }
.ladder .step.on .lt { color: var(--navy-ink); }
.ladder .step.goal { border-style: dashed; }
.ladder-cap { font-size: 0.9rem; color: var(--ink-faint); margin-top: 12px; }
@media (max-width: 760px) {
  .ladder { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   ФОТО-БАНД «живая работа»
   ============================================================ */
.photo-band { padding-block: clamp(64px, 8vw, 104px); }
.photo-band .s-head { margin-bottom: clamp(32px, 5vw, 48px); }
.band-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  grid-template-rows: repeat(2, clamp(150px, 19vw, 230px));
  gap: 16px;
}
.band-grid image-slot { width: 100%; height: 100%; display: block; box-shadow: var(--shadow-1); }
.band-grid img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 18px; box-shadow: var(--shadow-1); background: var(--paper-2); }
.band-grid .b1 { grid-row: span 2; }
.band-grid .b1 img, .band-grid .b1 { object-position: 75% center; }
.band-cap {
  margin-top: 20px; display: flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 0.8rem; color: var(--ink-faint); flex-wrap: wrap;
}
.band-cap .chip { background: var(--card); border: 1px solid var(--line); padding: 6px 13px; border-radius: 100px; color: var(--navy-deep); }
@media (max-width: 820px) {
  .band-grid { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(2, clamp(150px, 30vw, 220px)); }
  .band-grid .b1 { grid-row: span 1; grid-column: span 2; }
}
@media (max-width: 520px) {
  .band-grid { grid-template-columns: 1fr; grid-template-rows: repeat(3, 200px); }
  .band-grid .b1 { grid-row: span 1; grid-column: span 1; }
}

/* Слот-портрет эксперта */
.expert-photo image-slot { width: 100%; height: 100%; display: block; }

/* ============================================================
   РАСКРЫВАЮЩИЕСЯ ПРИМЕРЫ
   ============================================================ */
.projects-more { display: flex; flex-direction: column; gap: 22px; overflow: hidden; max-height: 0; opacity: 0; transition: max-height .55s cubic-bezier(.4,0,.2,1), opacity .4s ease, margin-top .4s ease; margin-top: 0; }
.projects-more.open { opacity: 1; margin-top: 22px; }
.projects-toggle-wrap { display: flex; justify-content: center; margin-top: 34px; }
.projects-toggle {
  font-family: var(--sans); font-size: 1rem; font-weight: 600; cursor: pointer;
  background: var(--card); border: 1.5px solid var(--line); color: var(--ink);
  border-radius: 100px; padding: 14px 26px; display: inline-flex; align-items: center; gap: 12px;
  transition: border-color .2s, color .2s, transform .2s, box-shadow .25s;
}
.projects-toggle:hover { border-color: var(--navy); color: var(--navy); transform: translateY(-2px); box-shadow: var(--shadow-1); }
.projects-toggle .count { font-family: var(--mono); font-size: 0.8rem; color: var(--burgundy-deep); }
.projects-toggle .tg-ic { width: 26px; height: 26px; border-radius: 50%; background: var(--navy-tint); color: var(--navy-deep); display: grid; place-items: center; transition: transform .35s ease; }
.projects-toggle.open .tg-ic { transform: rotate(180deg); }

/* ============================================================
   REVEAL-АНИМАЦИИ
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   АДАПТИВ
   ============================================================ */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .program-card { max-width: 480px; }
  .pricing, .expert, .faq-wrap { grid-template-columns: 1fr; }
  .outcomes { grid-template-columns: 1fr; }
  .project { grid-template-columns: 1fr; gap: 22px; }
  .project .p-index { font-size: 1.8rem; }
  .expert-photo { max-width: 360px; aspect-ratio: 525/788; }
}
@media (max-width: 680px) {
  .audience-grid, .stages { grid-template-columns: 1fr; }
  .thesis { grid-template-columns: 1fr; gap: 12px; }
  .thesis .mark { font-size: 3.4rem; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }
  .footer-top { flex-direction: column; }
}

/* ============================================================
   AISOLDATKIN — консалтинг: доп. блоки
   ============================================================ */

/* --- Карточка маршрута: 3-й шаг — янтарный --- */
.program-card .pc-stage:nth-child(4) .step { background: var(--gold-tint); color: var(--gold-deep); }
.pc-foot .price { color: var(--gold-deep); }

/* --- Проблема: «чистилище пилотов» --- */
.problem-band { background: var(--paper); }
.problem-inner {
  display: grid; grid-template-columns: 0.78fr 1.22fr; gap: clamp(36px, 6vw, 80px);
  align-items: center;
}
.problem-stat {
  border: 1px solid var(--gold-line); border-radius: var(--r-lg);
  background: linear-gradient(160deg, var(--gold-tint), var(--card) 78%);
  padding: clamp(30px, 4vw, 46px); text-align: center;
  box-shadow: var(--shadow-1);
}
.ps-num {
  font-family: var(--serif); font-weight: 700; line-height: 0.86;
  font-size: clamp(4.6rem, 11vw, 7.2rem); color: var(--gold-deep);
  display: block; letter-spacing: -0.03em;
}
.ps-num span { font-size: 0.42em; vertical-align: super; }
.ps-cap { display: block; margin-top: 16px; font-weight: 600; font-size: 1.05rem; color: var(--ink); line-height: 1.4; }
.ps-src { display: block; margin-top: 14px; font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.08em; color: var(--ink-faint); }
.problem-body .eyebrow { margin-bottom: 14px; }
.problem-claim {
  margin-top: 24px; font-family: var(--serif); font-size: clamp(1.15rem, 1.9vw, 1.42rem);
  font-weight: 500; color: var(--ink); line-height: 1.4; text-wrap: pretty;
  padding-left: 22px; border-left: 3px solid var(--gold);
}

/* --- Форматы работы: 3 пакета --- */
.pkg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.pkg-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 32px 30px; display: flex; flex-direction: column; position: relative;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.pkg-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--navy-tint-2); }
.pkg-card--feat {
  border-color: var(--gold-line); box-shadow: var(--shadow-2);
  background: linear-gradient(168deg, var(--gold-tint), var(--card) 42%);
}
.pkg-card--feat:hover { border-color: var(--gold); }
.pkg-flag {
  position: absolute; top: -12px; left: 30px;
  font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--gold-deep); color: #fff; padding: 5px 13px; border-radius: 100px;
}
.pkg-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.pkg-kicker { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); }
.pkg-dur {
  font-family: var(--mono); font-size: 0.72rem; color: var(--navy-deep);
  background: var(--navy-tint); border: 1px solid var(--navy-tint-2); border-radius: 100px; padding: 4px 11px;
}
.pkg-card--feat .pkg-dur { color: var(--gold-deep); background: oklch(1 0 0 / 0.6); border-color: var(--gold-line); }
.pkg-card h3 { font-size: 1.4rem; margin-bottom: 8px; }
.pkg-lede { font-size: 0.98rem; color: var(--ink-soft); margin-bottom: 20px; }
.pkg-list { list-style: none; display: grid; gap: 10px; margin-bottom: 22px; }
.pkg-list li { display: flex; gap: 11px; align-items: flex-start; font-size: 0.94rem; color: var(--ink); line-height: 1.4; }
.pkg-list .tick {
  width: 20px; height: 20px; flex-shrink: 0; border-radius: 50%; margin-top: 1px;
  background: var(--gold-tint); color: var(--gold-deep); display: grid; place-items: center;
}
.pkg-out {
  font-size: 0.92rem; color: var(--ink-soft); line-height: 1.4;
  padding: 14px 16px; background: var(--paper-2); border: 1px solid var(--line);
  border-radius: var(--r-sm); margin-bottom: 20px;
}
.pkg-out b { color: var(--ink); }
.pkg-card .btn { margin-top: auto; width: 100%; justify-content: center; }

/* --- Подбор персонала --- */
.recruit {
  margin-top: 26px; display: flex; align-items: center; gap: 26px;
  background: var(--navy-ink); color: var(--on-dark); border-radius: var(--r-lg);
  padding: 30px 36px;
}
.recruit-ic {
  width: 60px; height: 60px; flex-shrink: 0; border-radius: 15px;
  background: oklch(1 0 0 / 0.08); color: var(--gold-bright);
  display: grid; place-items: center; border: 1px solid oklch(1 0 0 / 0.12);
}
.recruit-body { flex: 1; min-width: 0; }
.recruit-body .eyebrow { color: var(--gold-bright); margin-bottom: 8px; }
.recruit-body h3 { color: var(--on-dark); font-size: 1.4rem; margin-bottom: 8px; }
.recruit-body p { color: var(--on-dark-soft); font-size: 0.98rem; max-width: 70ch; }
.recruit .btn { flex-shrink: 0; border-color: var(--gold-bright); color: var(--gold-bright); }
.recruit .btn:hover { background: var(--gold-bright); color: var(--navy-ink); border-color: var(--gold-bright); }

/* --- Услуги / готовые решения: сетка 3×2 --- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 32px 30px 30px; position: relative; overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.svc-card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 100%; width: 3px;
  background: var(--gold); transform: scaleY(0); transform-origin: top; transition: transform .3s ease;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--gold-line); }
.svc-card:hover::before { transform: scaleY(1); }
.svc-no { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.12em; color: var(--ink-faint); position: absolute; top: 26px; right: 28px; }
.svc-ic {
  width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center;
  background: var(--navy-tint); color: var(--navy-deep); margin-bottom: 20px;
}
.svc-card:nth-child(3n+2) .svc-ic { background: var(--gold-tint); color: var(--gold-deep); }
.svc-card h3 { font-size: 1.28rem; margin-bottom: 10px; }
.svc-card p { font-size: 0.97rem; color: var(--ink-soft); }
.svc-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.svc-tags span {
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.02em;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: 100px;
  padding: 4px 11px; color: var(--ink-soft);
}

/* --- Подход: полоса 10/20/70 --- */
.ratio-bar {
  display: flex; gap: 8px; margin-bottom: clamp(40px, 6vw, 64px);
  height: clamp(140px, 18vw, 200px);
}
.rb-seg {
  border-radius: var(--r); padding: 22px 24px; display: flex; flex-direction: column;
  justify-content: space-between; position: relative; overflow: hidden; min-width: 0;
}
.rb-10 { background: var(--navy-tint); }
.rb-20 { background: var(--navy-tint-2); }
.rb-70 { background: var(--navy-ink); }
.rb-pct { font-family: var(--serif); font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.6rem); line-height: 1; color: var(--navy-ink); }
.rb-70 .rb-pct { color: var(--gold-bright); }
.rb-lbl { font-size: 0.92rem; font-weight: 500; color: var(--navy-ink); line-height: 1.3; text-wrap: pretty; }
.rb-70 .rb-lbl { color: var(--on-dark); }
.rb-10 .rb-lbl, .rb-20 .rb-lbl { font-size: 0.82rem; }

/* --- Подход: ценности --- */
.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.value-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px 32px; position: relative;
}
.value-card .vc-no {
  font-family: var(--mono); font-size: 0.78rem; color: var(--gold-deep);
  border: 1px solid var(--gold-line); border-radius: 100px; padding: 3px 11px;
  display: inline-block; margin-bottom: 16px; letter-spacing: 0.06em;
}
.value-card h3 { font-size: 1.24rem; margin-bottom: 9px; }
.value-card p { font-size: 0.97rem; color: var(--ink-soft); }

/* --- Суверенный ИИ: подвал-плашка --- */
.sov-note {
  margin-top: 40px; display: flex; gap: 16px; align-items: center;
  background: oklch(0.30 0.04 255 / 0.5); border: 1px solid oklch(0.55 0.07 70 / 0.4);
  border-radius: var(--r); padding: 20px 26px; max-width: 920px;
}
.sov-note .ic { color: var(--gold-bright); flex-shrink: 0; }
.sov-note span:last-child { font-size: 0.98rem; color: var(--on-dark-soft); line-height: 1.5; }

/* --- Аудитория: сетка 4 --- */
.aud4-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.aud4-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px 28px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.aud4-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--navy-tint-2); }
.aud4-card .ic-box {
  width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center;
  background: var(--navy-tint); color: var(--navy-deep); margin-bottom: 20px;
}
.aud4-card:nth-child(2) .ic-box,
.aud4-card:nth-child(4) .ic-box { background: var(--gold-tint); color: var(--gold-deep); }
.aud4-card h3 { font-size: 1.16rem; margin-bottom: 10px; }
.aud4-card p { font-size: 0.94rem; color: var(--ink-soft); }

@media (max-width: 980px) {
  .problem-inner { grid-template-columns: 1fr; gap: 32px; }
  .problem-stat { max-width: 420px; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .pkg-grid { grid-template-columns: 1fr; max-width: 520px; }
  .recruit { flex-direction: column; align-items: flex-start; gap: 20px; }
  .recruit .btn { width: 100%; justify-content: center; }
  .aud4-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .svc-grid, .values-grid, .aud4-grid { grid-template-columns: 1fr; }
  .ratio-bar { flex-direction: column; height: auto; }
  .rb-seg { flex: none !important; min-height: 88px; flex-direction: row; align-items: center; justify-content: flex-start; gap: 18px; }
  .rb-seg .rb-pct { width: 64px; flex-shrink: 0; }
}

/* ============================================================
   AISOLDATKIN — реальный сайт: доп. блоки
   ============================================================ */

/* --- Партнёры --- */
.partners { padding-block: clamp(32px, 5vw, 52px); border-bottom: 1px solid var(--line-soft); }
.partners-cap { text-align: center; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 26px; }
.partners-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px 56px; }
.pt { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.pt b { font-family: var(--serif); font-weight: 700; font-size: 1.5rem; letter-spacing: -0.02em; color: var(--ink); transition: color .2s; }
.pt small { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); }
.pt:hover b { color: var(--gold-deep); }

/* --- Методология --- */
.method-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.method-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px 26px; position: relative; transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.method-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--gold-line); }
.m-step {
  font-family: var(--serif); font-weight: 700; font-size: 2.4rem; line-height: 1;
  color: var(--gold); display: block; margin-bottom: 16px; letter-spacing: -0.02em;
}
.method-card h3 { font-size: 1.18rem; margin-bottom: 9px; }
.method-card p { font-size: 0.93rem; color: var(--ink-soft); }

/* --- Решения: 2 карточки --- */
.pkg-grid--2 { grid-template-columns: repeat(2, 1fr); max-width: 960px; margin-inline: auto; }
.prod-list { display: grid; gap: 9px; margin-bottom: 22px; }
.prod {
  display: block; padding: 12px 15px; border-radius: var(--r-sm);
  background: var(--paper-2); border: 1px solid var(--line); text-decoration: none;
  transition: border-color .2s, transform .2s, background .2s;
}
a.prod:hover { border-color: var(--gold-line); background: var(--gold-tint); transform: translateX(2px); }
.prod b { display: block; font-family: var(--mono); font-size: 0.84rem; color: var(--navy-deep); }
a.prod b { color: var(--gold-deep); }
.prod span { display: block; font-size: 0.84rem; color: var(--ink-soft); margin-top: 3px; line-height: 1.35; }

/* --- Инфраструктура Selectel --- */
.infra {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 64px);
  align-items: center; background: var(--navy-ink); color: var(--on-dark);
  border-radius: var(--r-lg); padding: clamp(32px, 5vw, 56px);
}
.infra-ic {
  width: 60px; height: 60px; border-radius: 15px; display: grid; place-items: center;
  background: oklch(1 0 0 / 0.08); color: var(--gold-bright); border: 1px solid oklch(1 0 0 / 0.12); margin-bottom: 24px;
}
.infra-left h2 { color: var(--on-dark); font-size: clamp(1.7rem, 3vw, 2.5rem); margin-bottom: 16px; }
.infra-left p { color: var(--on-dark-soft); font-size: 1.05rem; margin-bottom: 24px; max-width: 46ch; }
.infra-badge { display: inline-flex; align-items: center; gap: 12px; background: oklch(1 0 0 / 0.06); border: 1px solid oklch(1 0 0 / 0.12); border-radius: 100px; padding: 10px 18px; font-weight: 700; }
.infra-badge i { color: var(--gold-bright); font-style: normal; }
.infra-points { display: grid; gap: 22px; }
.ip { padding-left: 18px; border-left: 2px solid var(--gold); }
.ip b { display: block; font-family: var(--serif); font-size: 1.3rem; color: var(--on-dark); margin-bottom: 4px; }
.ip span { font-size: 0.92rem; color: var(--on-dark-soft); line-height: 1.45; }

/* --- Безопасность: 4 карточки (на тёмном) --- */
.sec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.sec-card {
  background: oklch(0.30 0.04 255 / 0.5); border: 1px solid oklch(0.55 0.05 258 / 0.3);
  border-radius: var(--r-lg); padding: 30px 30px; backdrop-filter: blur(6px);
  transition: background .25s, border-color .25s;
}
.sec-card:hover { background: oklch(0.34 0.045 255 / 0.6); border-color: oklch(0.6 0.06 70 / 0.4); }
.sec-ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: oklch(1 0 0 / 0.08); color: var(--gold-bright); margin-bottom: 18px; }
.sec-card h3 { color: var(--on-dark); font-size: 1.22rem; margin-bottom: 9px; }
.sec-card p { color: var(--on-dark-soft); font-size: 0.95rem; }

/* --- Кейсы --- */
.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.case-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 34px 36px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--gold-line); }
.case-tag { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-deep); border: 1px solid var(--gold-line); border-radius: 100px; padding: 4px 12px; }
.case-result { font-family: var(--serif); font-weight: 700; font-size: clamp(1.6rem, 2.6vw, 2.1rem); color: var(--ink); margin: 18px 0 14px; letter-spacing: -0.015em; }
.case-quote { font-size: 1.0rem; color: var(--ink-soft); font-style: italic; line-height: 1.5; margin-bottom: 18px; text-wrap: pretty; }
.case-co { font-size: 0.86rem; color: var(--ink-faint); font-weight: 500; }
.tech-strip { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; padding-top: 26px; border-top: 1px solid var(--line); }
.ts-lbl { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); }
.ts-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ts-chips span { font-family: var(--mono); font-size: 0.74rem; background: var(--paper-2); border: 1px solid var(--line); border-radius: 100px; padding: 5px 13px; color: var(--ink-soft); }

/* --- Эксперт: круглый портрет --- */
.expert-photo--round { aspect-ratio: 1; max-width: 380px; }
.expert-photo--round img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-lg); display: block; }

@media (max-width: 980px) {
  .method-grid { grid-template-columns: repeat(2, 1fr); }
  .pkg-grid--2 { grid-template-columns: 1fr; max-width: 520px; }
  .infra { grid-template-columns: 1fr; gap: 28px; }
  .case-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .method-grid, .sec-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   ПОДСТРАНИЦЫ (about / services / security / blog / news)
   ============================================================ */
.subhero { padding-top: 140px; padding-bottom: clamp(36px, 5vw, 56px); position: relative; }
.subhero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-image: radial-gradient(oklch(0.4 0.02 265 / 0.05) 1px, transparent 1.4px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(110% 80% at 50% 0%, #000 30%, transparent 75%);
  mask-image: radial-gradient(110% 80% at 50% 0%, #000 30%, transparent 75%);
}
.subhero .wrap { position: relative; z-index: 1; }
.subhero h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); letter-spacing: -0.02em; margin-top: 14px; }
.subhero .lede { margin-top: 18px; }
.subhero .hero-cta { margin-top: 28px; }

/* about: hero с портретом */
.about-hero { display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 4vw, 52px); align-items: center; }
.about-portrait { width: clamp(150px, 20vw, 220px); aspect-ratio: 1; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-2); flex-shrink: 0; }
.about-portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-contacts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 22px; }
.about-contacts a, .about-contacts span { display: inline-flex; align-items: center; gap: 8px; font-size: 0.92rem; color: var(--ink-soft); text-decoration: none; }
.about-contacts a:hover { color: var(--gold-deep); }
.about-contacts svg { color: var(--gold-deep); }

/* статистика */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 22px; text-align: center; }
.stat b { display: block; font-family: var(--serif); font-weight: 700; font-size: clamp(1.8rem, 3vw, 2.6rem); color: var(--ink); letter-spacing: -0.02em; }
.stat span { font-size: 0.88rem; color: var(--ink-soft); margin-top: 6px; display: block; }

/* таймлайн опыта */
.tl { display: grid; gap: 18px; }
.tl-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 30px; position: relative; overflow: hidden; }
.tl-item::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(var(--gold), var(--gold-line)); }
.tl-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; align-items: baseline; margin-bottom: 12px; }
.tl-head h3 { font-size: 1.25rem; }
.tl-role { color: var(--gold-deep); font-weight: 500; font-size: 0.9rem; margin-top: 3px; }
.tl-period { font-family: var(--mono); font-size: 0.74rem; color: var(--ink-faint); background: var(--paper-2); border: 1px solid var(--line); border-radius: 100px; padding: 5px 12px; white-space: nowrap; }
.tl-list { list-style: none; display: grid; gap: 8px; }
.tl-list li { display: flex; gap: 10px; font-size: 0.94rem; color: var(--ink-soft); }
.tl-list li::before { content: "—"; color: var(--gold); flex-shrink: 0; }
.tl-subjects { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 14px; }
.tl-subjects span { display: flex; align-items: center; gap: 8px; font-size: 0.86rem; color: var(--ink-soft); background: var(--paper-2); border: 1px solid var(--line-soft); border-radius: var(--r-sm); padding: 8px 12px; }
.tl-subjects span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

/* хаб-навигация (обо мне) */
.hub-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.hub-card {
  position: relative; display: flex; flex-direction: column; gap: 4px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 26px 24px 22px; text-decoration: none; color: var(--ink);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s;
}
.hub-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--gold-line); }
.hub-ic { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: var(--navy-tint); color: var(--navy-deep); margin-bottom: 12px; }
.hub-card b { font-size: 1.04rem; font-weight: 600; }
.hub-card > span:not(.hub-go):not(.hub-lock) { font-size: 0.86rem; color: var(--ink-faint); margin-top: 2px; }
.hub-go { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 0.86rem; font-weight: 600; color: var(--gold-deep); }
.hub-go i { font-style: normal; transition: transform .2s; }
.hub-card:hover .hub-go i { transform: translateX(3px); }
.hub-card--locked { background: var(--paper-2); }
.hub-card--locked .hub-ic { background: var(--burgundy-tint); color: var(--burgundy-deep); }
.hub-lock {
  position: absolute; top: 20px; right: 20px; display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--burgundy-deep); background: var(--burgundy-tint); border: 1px solid var(--gold-line);
  border-radius: 100px; padding: 4px 9px 4px 7px;
}

/* продукты и проекты */
.prod-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.prod-card {
  display: block; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px 28px 26px; text-decoration: none; color: var(--ink);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s;
}
a.prod-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--gold-line); }
.prod-tag { display: inline-block; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy-deep); background: var(--navy-tint); border-radius: 100px; padding: 4px 11px; margin-bottom: 14px; }
.prod-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.prod-card p { font-size: 0.94rem; color: var(--ink-soft); }
.prod-go { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 0.86rem; font-weight: 600; color: var(--gold-deep); }
.prod-go i { font-style: normal; }

/* закрытый платный каталог курсов */
.locked-catalog {
  margin-top: 34px; padding: 30px 32px; border-radius: var(--r-lg);
  background: linear-gradient(165deg, var(--burgundy-tint), var(--card) 55%);
  border: 1px solid var(--gold-line);
}
.lc-head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
.lc-lock { flex-shrink: 0; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--burgundy); color: #fff; }
.lc-head b { display: block; font-size: 1.1rem; font-weight: 600; color: var(--ink); }
.lc-head span { font-size: 0.9rem; color: var(--ink-soft); margin-top: 3px; display: block; }
.lc-list { list-style: none; display: grid; gap: 11px; margin-bottom: 22px; }
.lc-list li { display: flex; align-items: center; gap: 11px; font-size: 0.95rem; color: var(--ink); filter: blur(0.35px); opacity: 0.85; }
.lc-ic { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--paper-2); color: var(--ink-faint); border: 1px solid var(--line); }

/* образование */
.edu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.edu-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; }
.edu-card .yr { font-family: var(--mono); font-size: 0.72rem; color: var(--gold-deep); border: 1px solid var(--gold-line); border-radius: 100px; padding: 3px 11px; display: inline-block; margin-bottom: 14px; }
.edu-card h3 { font-size: 1.16rem; }
.edu-card .sch { color: var(--gold-deep); font-weight: 500; font-size: 0.9rem; margin-top: 5px; }
.edu-card .fld { font-size: 0.9rem; color: var(--ink-soft); margin-top: 3px; }

/* compliance / стандарты */
.compliance-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.compliance-grid .cmp { border-left: 1px solid oklch(0.5 0.04 258 / 0.4); padding-left: 18px; }
.compliance-grid .cmp b { display: block; font-family: var(--serif); font-weight: 700; font-size: 1.4rem; color: var(--on-dark); letter-spacing: -0.01em; }
.compliance-grid .cmp span { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--on-dark-soft); margin-top: 4px; display: block; }

/* услуги: подробности (как создаётся ценность) */
.svc-value { display: grid; gap: 26px; }
.svc-value .vrow { display: flex; gap: 22px; align-items: flex-start; }
.svc-value .vn { font-family: var(--serif); font-weight: 700; font-size: 2rem; color: var(--gold-bright); line-height: 1; flex-shrink: 0; width: 52px; }
.svc-value .vrow h4 { color: var(--on-dark); font-size: 1.2rem; margin-bottom: 6px; }
.svc-value .vrow p { color: var(--on-dark-soft); font-size: 0.96rem; }

/* блог / новости — аккордеон */
.post-list { display: grid; gap: 18px; max-width: 880px; margin-inline: auto; }
.post-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 34px; cursor: pointer; transition: box-shadow .25s, border-color .25s; }
.post-cover { display: block; width: 100%; height: 190px; object-fit: cover; border-radius: var(--r); border: 1px solid var(--line); margin-bottom: 20px; }
.post-card:hover { box-shadow: var(--shadow-2); border-color: var(--gold-line); }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 14px; font-size: 0.82rem; color: var(--ink-faint); }
.post-meta .date { font-family: var(--mono); }
.post-meta .ptag { font-family: var(--mono); font-size: 0.68rem; background: var(--gold-tint); color: var(--gold-deep); border: 1px solid var(--gold-line); border-radius: 100px; padding: 3px 10px; }
.post-card h2 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); margin-bottom: 12px; }
.post-excerpt { color: var(--ink-soft); line-height: 1.55; }
.post-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.post-body > div { overflow: hidden; }
.post-card.open .post-body { grid-template-rows: 1fr; }
.post-inner { padding-top: 22px; margin-top: 20px; border-top: 1px solid var(--line); }
.post-inner p { margin-bottom: 14px; color: var(--ink-soft); line-height: 1.65; }
.post-inner h3 { font-size: 1.16rem; margin: 24px 0 10px; color: var(--ink); }
.post-inner li { margin: 6px 0 6px 20px; color: var(--ink-soft); line-height: 1.6; }
.post-inner a { color: var(--gold-deep); word-break: break-word; }
.post-inner img { width: 100%; border-radius: var(--r); border: 1px solid var(--line); margin: 18px 0; }
.post-toggle { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; color: var(--gold-deep); font-weight: 600; font-size: 0.92rem; }
.post-toggle .chev { transition: transform .3s; }
.post-card.open .post-toggle .chev { transform: rotate(180deg); }
.post-src { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 0.82rem; color: var(--gold-deep); }

@media (max-width: 980px) {
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .edu-grid { grid-template-columns: 1fr; }
  .compliance-grid { grid-template-columns: repeat(2, 1fr); }
  .hub-grid { grid-template-columns: repeat(2, 1fr); }
  .prod-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .about-hero { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .stat-grid, .compliance-grid, .tl-subjects { grid-template-columns: 1fr; }
  .tl-head { flex-direction: column; }
}

/* ============================================================
   ДЛЯ КОГО — уровни (малый / средний / enterprise)
   ============================================================ */
.tiers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.tier-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px 30px; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s, border-color .25s; }
.tier-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--gold-line); }
.tier-lvl { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-deep); }
.tier-card h3 { font-size: 1.4rem; margin: 8px 0 4px; }
.tier-who { font-size: 0.9rem; color: var(--ink-faint); margin-bottom: 18px; }
.tier-pain { font-size: 0.96rem; color: var(--ink-soft); line-height: 1.55; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.tier-pain b { color: var(--ink); font-weight: 600; }
.tier-list { list-style: none; display: grid; gap: 10px; margin-top: auto; }
.tier-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; color: var(--ink-soft); }
.tier-list li::before { content: "→"; color: var(--gold-deep); flex-shrink: 0; }

/* ============================================================
   БЫЛО / СТАЛО — сравнение
   ============================================================ */
.vs-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 0; align-items: stretch; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.vs-col { padding: clamp(28px, 4vw, 44px); }
.vs-old { background: var(--paper-2); }
.vs-new { background: linear-gradient(165deg, var(--gold-tint), var(--card) 60%); }
.vs-head { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.vs-badge { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 12px; border-radius: 100px; }
.vs-old .vs-badge { background: oklch(0.55 0.02 260 / 0.12); color: var(--ink-faint); border: 1px solid var(--line); }
.vs-new .vs-badge { background: var(--gold-deep); color: #fff; }
.vs-head h3 { font-size: 1.3rem; }
.vs-list { list-style: none; display: grid; gap: 14px; }
.vs-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.98rem; line-height: 1.45; }
.vs-list .ic { width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; margin-top: 1px; }
.vs-old .vs-list li { color: var(--ink-faint); }
.vs-old .vs-list .ic { background: oklch(0.55 0.02 260 / 0.12); color: var(--ink-faint); }
.vs-new .vs-list li { color: var(--ink); }
.vs-new .vs-list .ic { background: var(--gold-tint); color: var(--gold-deep); }
.vs-mid { display: grid; place-items: center; background: var(--card); padding: 0 6px; }
.vs-arrow { width: 46px; height: 46px; border-radius: 50%; background: var(--navy-ink); color: var(--gold-bright); display: grid; place-items: center; box-shadow: var(--shadow-2); }

/* ============================================================
   ТАРИФЫ / ПАКЕТЫ
   ============================================================ */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 34px 30px; display: flex; flex-direction: column; position: relative; transition: transform .25s, box-shadow .25s, border-color .25s; }
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--gold-line); }
.price-card--feat { border-color: var(--gold-line); box-shadow: var(--shadow-2); background: linear-gradient(172deg, var(--gold-tint), var(--card) 38%); }
.price-card--feat:hover { border-color: var(--gold); }
.price-flag { position: absolute; top: 18px; right: 24px; left: auto; white-space: nowrap; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; background: var(--gold-deep); color: #fff; padding: 5px 13px; border-radius: 100px; }
.price-kicker { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); }
.price-card h3 { font-size: 1.4rem; margin: 8px 0 4px; }
.price-sub { font-size: 0.9rem; color: var(--ink-soft); min-height: 3em; }
.price-amount { font-family: var(--serif); font-weight: 700; font-size: clamp(1.9rem, 2.3vw, 2.4rem); white-space: nowrap; color: var(--ink); letter-spacing: -0.02em; margin: 18px 0 4px; }
.price-amount small { font-family: var(--sans); font-size: 0.95rem; font-weight: 500; color: var(--ink-faint); }
.price-note { font-size: 0.82rem; color: var(--ink-faint); padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.price-list { list-style: none; display: grid; gap: 11px; margin-bottom: 24px; }
.price-list li { display: flex; gap: 11px; align-items: flex-start; font-size: 0.93rem; color: var(--ink); line-height: 1.4; }
.price-list .tick { width: 20px; height: 20px; flex-shrink: 0; border-radius: 50%; margin-top: 1px; background: var(--gold-tint); color: var(--gold-deep); display: grid; place-items: center; }
.price-card .btn { margin-top: auto; width: 100%; justify-content: center; }
.price-foot-note { text-align: center; margin-top: 22px; font-size: 0.9rem; color: var(--ink-soft); }

/* ============================================================
   ОТЗЫВЫ
   ============================================================ */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; display: flex; flex-direction: column; }
.review-stars { display: flex; gap: 3px; color: var(--gold); margin-bottom: 16px; }
.review-text { font-size: 0.98rem; color: var(--ink); line-height: 1.6; text-wrap: pretty; margin-bottom: 22px; }
.review-author { display: flex; align-items: center; gap: 13px; margin-top: auto; }
.review-ava { width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; font-family: var(--serif); font-weight: 700; font-size: 1.1rem; color: #fff; background: var(--navy); }
.review-author b { display: block; font-size: 0.95rem; color: var(--ink); }
.review-author span { font-size: 0.82rem; color: var(--ink-faint); }

/* ЭКСПЕРТЫ О НАС — внешние рекомендации */
.endorse-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.endorse-card { background: oklch(0.30 0.04 255 / 0.5); border: 1px solid oklch(0.55 0.05 258 / 0.3); border-radius: var(--r-lg); padding: 32px 34px; }
.endorse-quote { font-family: var(--serif); font-size: 1.12rem; font-style: italic; line-height: 1.5; color: var(--on-dark); text-wrap: pretty; margin-bottom: 22px; }
.endorse-by { display: flex; align-items: center; gap: 13px; }
.endorse-ava { width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; font-family: var(--serif); font-weight: 700; color: var(--navy-ink); background: var(--gold-bright); }
.endorse-by b { display: block; color: var(--on-dark); font-size: 0.96rem; }
.endorse-by span { font-size: 0.82rem; color: var(--on-dark-soft); }

@media (max-width: 980px) {
  .tiers-grid, .price-grid, .review-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .vs-grid { grid-template-columns: 1fr; }
  .vs-mid { padding: 14px 0; }
  .vs-arrow { transform: rotate(90deg); }
  .endorse-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   КЕЙСЫ — страница
   ============================================================ */
.case-full-grid { display: grid; gap: 24px; }
.case-full { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: grid; grid-template-columns: 0.85fr 1.15fr; }
.case-full .cf-side { background: var(--navy-ink); color: var(--on-dark); padding: clamp(30px, 4vw, 44px); display: flex; flex-direction: column; justify-content: space-between; }
.cf-tag { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-bright); }
.cf-metric { font-family: var(--serif); font-weight: 700; font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1; letter-spacing: -0.02em; color: var(--on-dark); margin: 14px 0 8px; }
.cf-metric-lbl { font-size: 0.95rem; color: var(--on-dark-soft); }
.cf-co { margin-top: 26px; padding-top: 20px; border-top: 1px solid oklch(1 0 0 / 0.12); }
.cf-co b { display: block; color: var(--on-dark); font-size: 1.0rem; }
.cf-co span { font-size: 0.84rem; color: var(--on-dark-soft); }
.case-full .cf-body { padding: clamp(30px, 4vw, 44px); }
.cf-block { margin-bottom: 22px; }
.cf-block:last-child { margin-bottom: 0; }
.cf-block .cf-h { display: flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 8px; }
.cf-block .cf-h::before { content: ""; width: 18px; height: 2px; background: var(--gold); }
.cf-block p { font-size: 0.98rem; color: var(--ink-soft); line-height: 1.6; }
.cf-stack { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.cf-stack span { font-family: var(--mono); font-size: 0.72rem; background: var(--paper-2); border: 1px solid var(--line); border-radius: 100px; padding: 4px 11px; color: var(--ink-soft); }
@media (max-width: 760px) {
  .case-full { grid-template-columns: 1fr; }
}

/* ВИНТАЖНАЯ ПОЛОСА «с 2021» + AGED-АРТЕФАКТЫ */
.legacy-band { position: relative; padding: clamp(60px, 8vw, 104px) 0; background: #16222c; color: var(--on-dark); overflow: hidden; }
.legacy-band::before { content: ""; position: absolute; inset: 0; background: url('assets/gen-office.jpg') center/cover no-repeat; opacity: 0.55; filter: saturate(0.82) contrast(0.95); }
.legacy-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,18,24,0.93) 0%, rgba(11,18,24,0.6) 55%, rgba(11,18,24,0.35) 100%); }
.legacy-inner { position: relative; z-index: 1; max-width: 640px; }
.legacy-copy h2 { color: var(--on-dark); font-size: clamp(1.8rem, 3.4vw, 2.8rem); margin: 14px 0 16px; letter-spacing: -0.02em; }
.legacy-copy p { color: var(--on-dark-soft); font-size: 1.05rem; max-width: 52ch; }
.legacy-meta { display: flex; gap: 30px; margin-top: 28px; flex-wrap: wrap; }
.legacy-meta span { font-size: 0.9rem; color: var(--on-dark-soft); }
.legacy-meta b { font-family: var(--serif); font-size: 1.7rem; color: var(--gold-bright); display: block; line-height: 1; margin-bottom: 4px; }
.footer-artifacts { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 16px; }
.fa-chip { font-family: var(--mono); font-size: 0.69rem; color: var(--ink-faint); border: 1px solid var(--line); border-radius: 4px; padding: 4px 9px; background: var(--paper-2); }
.fa-chip.fa-count { letter-spacing: 0.18em; color: var(--ink-soft); }
.fa-chip.fa-award { border-color: var(--gold-line); color: var(--gold-deep); }
