/* ============================================================
   ШКОЛА ЭФФЕКТИВНОГО БИЗНЕСА — GLOBAL STYLESHEET
   Concept: McKinsey-level consulting site. Clean, airy, premium.
   Palette: White #fff · Near-white #F8F8F6 · Red #C62829 · Dark #1A1A1A · Grey #6B7280
   Max-width: 1600px | Font: Inter + PT Serif
   ============================================================ */

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ---------- DESIGN TOKENS ---------- */
:root {
  --red:        #C62829;
  --red-dark:   #A01F20;
  --red-light:  #F9ECEC;
  --dark:       #1A1A1A;
  --mid:        #3D3D3D;
  --muted:      #6B7280;
  --border:     #E8E8E4;
  --bg:         #FFFFFF;
  --bg-soft:    #F8F8F6;
  --bg-dark:    #141414;
  --accent-bg:  #FBF5F5;

  --max-w:      1600px;
  --pad-x:      clamp(20px, 4vw, 64px);
  --radius-sm:  4px;
  --radius:     8px;
  --radius-lg:  16px;

  --shadow-xs:  0 1px 4px rgba(0,0,0,.06);
  --shadow:     0 4px 20px rgba(0,0,0,.07);
  --shadow-lg:  0 16px 48px rgba(0,0,0,.10);
  --shadow-xl:  0 32px 80px rgba(0,0,0,.13);

  --t: .22s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  color: var(--dark);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---------- LAYOUT ---------- */
.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
section { padding: 96px 0; }
.sec-even { background: var(--bg-soft); }
.sec-odd  { background: var(--bg); }
@media(max-width: 768px) { section { padding: 64px 0; } }
@media(max-width: 480px) { section { padding: 48px 0; } }

/* ---------- TYPOGRAPHY ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  background: var(--red);
  flex-shrink: 0;
}

.section-title {
  font-family: 'PT Serif', Georgia, serif;
  font-size: clamp(30px, 3.5vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--dark);
  letter-spacing: -.02em;
  margin-bottom: 16px;
}

.section-lead {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 680px;
  margin-bottom: 56px;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .2px;
  border: 1.5px solid transparent;
  transition: var(--t);
  white-space: nowrap;
}
.btn-red    { background: var(--red);  color: #fff; border-color: var(--red); }
.btn-red:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn-outline { background: transparent; color: var(--dark); border-color: var(--dark); }
.btn-outline:hover { background: var(--dark); color: #fff; }
.btn-outline-red { background: transparent; color: var(--red); border-color: var(--red); }
.btn-outline-red:hover { background: var(--red); color: #fff; }
.btn-ghost-white { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.3); }
.btn-ghost-white:hover { background: rgba(255,255,255,.2); }
.btn-lg { padding: 17px 36px; font-size: 15px; }
.btn-full { width: 100%; justify-content: center; }

/* ============================================================
   LOGO COMPONENT
   ============================================================ */
.logo-svg {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
}
/* Сетка 3×3 — точная копия фирменного знака */
.logo-svg__grid {
  display: grid;
  grid-template-columns: repeat(3, 8px);
  grid-template-rows: repeat(3, 8px);
  gap: 2.5px;
  flex-shrink: 0;
}
.logo-svg__cell {
  width: 8px; height: 8px;
  background: #B0B8BF;
  border-radius: 1px;
}
.logo-svg__cell--red {
  background: var(--red);
  transform: rotate(45deg) scale(.78);
  border-radius: 1px;
}
/* Текстовая часть — Inter, тёмный, без красного фона */
.logo-svg__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.logo-svg__text-top {
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}
.logo-svg__text-bottom {
  font-family: 'Inter', sans-serif;
  font-size: 9.5px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: .12em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}
/* Footer — инвертированный логотип */
.logo-svg--footer .logo-svg__cell     { background: rgba(255,255,255,.25); }
.logo-svg--footer .logo-svg__cell--red{ background: var(--red); }
.logo-svg--footer .logo-svg__text-top    { color: #fff; }
.logo-svg--footer .logo-svg__text-bottom { color: rgba(255,255,255,.45); }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 300;
  background: #fff;
  border-bottom: 1px solid var(--border);
  transition: box-shadow .25s ease;
}
.navbar.scrolled {
  box-shadow: 0 1px 24px rgba(0,0,0,.08);
}

.navbar__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: flex;
  align-items: center;
  height: 68px;
  gap: 0;
}

/* ─── Nav links ─── */
.navbar__nav {
  display: flex;
  align-items: center;
  gap: 0;
  margin-left: 48px;
  flex: 1;
}
.navbar__nav > a,
.navbar__nav .has-drop > a {
  display: flex;
  align-items: center;
  padding: 0 14px;
  height: 68px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--mid);
  white-space: nowrap;
  transition: color .2s ease;
  position: relative;
}
.navbar__nav > a:hover,
.navbar__nav .has-drop:hover > a {
  color: var(--dark);
}
/* Тихий красный индикатор снизу — только для прямых ссылок без дропдауна */
.navbar__nav > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 16px;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
  transition: transform .2s ease;
}
.navbar__nav > a:hover::after {
  transform: translateX(-50%) scaleX(1);
}

/* Шеврон для has-drop — только CSS-стрелка, псевдоэлемент не трогаем */
.navbar__nav .has-drop > a::after { display: none; }
.nav-chevron {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-left: 5px;
  margin-bottom: 2px;
  opacity: .45;
  transition: transform .22s ease, margin-bottom .22s ease;
  flex-shrink: 0;
}
.navbar__nav .has-drop:hover > a .nav-chevron {
  transform: rotate(-135deg);
  margin-bottom: -1px;
}

/* ─── Dropdown ─── */
.navbar__nav .has-drop { position: relative; }
.navbar__drop {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-top: 2px solid var(--red);
  border-radius: 0 0 6px 6px;
  box-shadow: 0 8px 32px rgba(0,0,0,.10);
  min-width: 210px;
  padding: 6px 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease;
  z-index: 400;
}
.navbar__nav .has-drop:hover .navbar__drop {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.navbar__drop a {
  display: block;
  padding: 9px 20px;
  font-size: 13px;
  font-weight: 400;
  color: var(--mid);
  transition: background .15s, color .15s;
}
.navbar__drop a:hover {
  background: var(--bg-soft);
  color: var(--dark);
  padding-left: 24px;
}

/* ─── Right side ─── */
.navbar__right {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
  margin-left: auto;
}
.navbar__phone {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  white-space: nowrap;
  letter-spacing: -.01em;
}
/* CTA — тонкая рамка, не заливка */
.navbar__cta {
  display: inline-flex;
  align-items: center;
  padding: 9px 20px;
  border: 1.5px solid var(--dark);
  border-radius: 3px;
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
  letter-spacing: .01em;
  white-space: nowrap;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.navbar__cta:hover {
  background: var(--dark);
  color: #fff;
}

/* ─── Burger ─── */
.navbar__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 8px;
  margin-left: 16px;
  background: none;
  border: none;
  cursor: pointer;
}
.navbar__burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}

/* ─── Mobile menu ─── */
.navbar__mobile {
  display: none;
  flex-direction: column;
  background: #fff;
  border-top: 1px solid var(--border);
  overflow: hidden;
  max-height: 0;
  transition: max-height .35s ease;
}
.navbar__mobile.open { max-height: 640px; }
.navbar__mobile a {
  display: block;
  padding: 14px var(--pad-x);
  font-size: 15px;
  font-weight: 500;
  color: var(--mid);
  border-bottom: 1px solid var(--border);
  transition: color .15s;
}
.navbar__mobile a:last-child { border-bottom: none; }
.navbar__mobile a:hover { color: var(--dark); }
.navbar__mobile-cta {
  margin: 16px var(--pad-x) 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 13px;
  border: 1.5px solid var(--dark);
  border-radius: 3px;
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  transition: background .2s, color .2s;
}
.navbar__mobile-cta:hover { background: var(--dark); color: #fff; }

/* ─── Breakpoints ─── */
@media(max-width: 1200px) { .navbar__nav { display: none; } }
@media(max-width: 860px)  { .navbar__phone { display: none; } }
@media(max-width: 600px)  {
  .navbar__cta { display: none; }
  .navbar__burger { display: flex; }
  .navbar__mobile { display: flex; }
}

/* ============================================================
   HERO
   ============================================================ */

/* Сцена: глубокий тёмный фон с градиентом — не плоская заливка */
.hero {
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(198,40,41,.09) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 10% 80%, rgba(255,255,255,.02) 0%, transparent 50%),
    linear-gradient(160deg, #181818 0%, #0a0a0a 55%, #111116 100%);
  position: relative;
  overflow: hidden;
  padding: 0;
}

/* Тонкая сетка-текстура поверх — даёт ощущение глубины и поверхности */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  z-index: 0;
}

/* Фоновое слово — крупнее и заметнее: типографика как архитектура */
.hero__bg-word {
  position: absolute;
  right: -0.04em;
  bottom: -0.15em;
  font-family: 'PT Serif', Georgia, serif;
  font-size: clamp(220px, 28vw, 440px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.11);
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
  z-index: 1;
}

/* hero__topbar удалён — телефон есть в navbar */

/* Основная сетка */
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 68px);
  position: relative;
  z-index: 2;
}

/* ─── Левая половина — весь главный месседж ─── */
.hero__left {
  padding: clamp(64px, 8vw, 112px) clamp(40px, 4.5vw, 80px) clamp(64px, 8vw, 112px) 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid rgba(255,255,255,.08);
  position: relative;
  z-index: 2;
}

/* Красная вертикальная черта — маркер бренда, слева от padding */
.hero__left::before {
  content: '';
  position: absolute;
  left: -24px;
  top: 20%;
  height: 60%;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--red) 20%, var(--red) 80%, transparent);
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: 36px;
}
.hero__eyebrow-line {
  display: block;
  width: 32px;
  height: 1px;
  background: var(--red);
  flex-shrink: 0;
}

/* Заголовок — PT Serif, огромный, белый.
   Курсив em — чуть светлее, чтобы отличаться без цвета */
.hero__h1 {
  font-family: 'PT Serif', Georgia, serif;
  font-size: clamp(44px, 5.5vw, 80px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.03em;
  color: #fff;
  margin-bottom: 28px;
}
.hero__h1 em {
  font-style: italic;
  color: rgba(255,255,255,.7);
}

.hero__sub {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255,255,255,.45);
  max-width: 480px;
  margin-bottom: 48px;
  font-weight: 400;
}

/* Кнопки — красная заливка + белый аутлайн */
.hero__cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.hero__cta-primary {
  display: inline-flex;
  align-items: center;
  padding: 15px 32px;
  background: var(--red);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  border: 1.5px solid var(--red);
  transition: background .2s, border-color .2s;
}
.hero__cta-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
}
.hero__cta-secondary {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  color: rgba(255,255,255,.45);
  transition: color .2s;
}
.hero__cta-secondary:hover { color: #fff; }

/* ─── Правая половина — цифры + ссылки ─── */
.hero__right {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
}

/* Цифры — верхние 55% правой колонки */
.hero__numbers {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.hero__number {
  padding: clamp(32px, 4vw, 52px) clamp(24px, 3vw, 44px);
  border-right: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  position: relative;
  overflow: hidden;
}
.hero__number:nth-child(2),
.hero__number:nth-child(4) { border-right: none; }
.hero__number:nth-child(3),
.hero__number:nth-child(4) { border-bottom: none; }

/* Цифра — PT Serif, крупная, это графика а не текст */
.hero__number-val {
  font-family: 'PT Serif', Georgia, serif;
  font-size: clamp(52px, 6vw, 96px);
  font-weight: 700;
  line-height: 1;
  color: #fff;
  letter-spacing: -.04em;
  display: block;
}
.hero__number-val sup {
  font-size: .38em;
  color: var(--red);
  vertical-align: super;
  letter-spacing: 0;
}
.hero__number-label {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,.32);
  line-height: 1.45;
  letter-spacing: .05em;
  text-transform: uppercase;
  display: block;
}

/* Направления — нижние 45% правой колонки */
.hero__dirs {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.hero__dir {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 clamp(24px, 3vw, 44px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: background .2s;
  min-height: 56px;
}
.hero__dir:last-child { border-bottom: none; }
.hero__dir:hover { background: rgba(255,255,255,.04); }
.hero__dir-num {
  font-size: 10px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: .08em;
  width: 22px;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}
.hero__dir-name {
  flex: 1;
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255,255,255,.6);
  transition: color .2s;
}
.hero__dir:hover .hero__dir-name { color: #fff; }
.hero__dir-arr {
  font-size: 14px;
  color: rgba(255,255,255,.2);
  transition: color .2s, transform .2s;
}
.hero__dir:hover .hero__dir-arr {
  color: var(--red);
  transform: translate(2px, -2px);
}

/* ─── Адаптив ─── */
@media(max-width: 1100px) {
  .hero__inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero__left {
    padding: 64px 0 48px;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .hero__left::before { display: none; }
  .hero__numbers { grid-template-columns: 1fr 1fr; }
  .hero__dirs { flex-direction: row; flex-wrap: wrap; }
  .hero__dir { min-height: 52px; flex: 1 1 50%; }
}
@media(max-width: 640px) {
  .hero__topbar-phone span { display: none; }
  .hero__numbers { grid-template-columns: 1fr 1fr; }
  .hero__dir { flex: 1 1 100%; }
  .hero__bg-word { display: none; }
}

/* ============================================================
   CLIENTS BAR — статичная строка, без анимации
   ============================================================ */
.clients-bar {
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
.clients-bar__inner {
  display: flex;
  align-items: center;
  gap: 32px;
}
.clients-bar__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  flex-shrink: 0;
  opacity: .6;
}
.clients-bar__list {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.clients-bar__list span {
  font-size: 13px;
  font-weight: 500;
  color: var(--mid);
  white-space: nowrap;
  letter-spacing: .01em;
}
.clients-bar__dot {
  color: var(--border) !important;
  font-size: 16px !important;
  line-height: 1;
  user-select: none;
}

/* ============================================================
   JTBD / СИТУАЦИИ
   ============================================================ */
.jtbd__header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 52px;
}
.jtbd__header-right {
  font-size: 15.5px;
  color: var(--muted);
  line-height: 1.7;
  padding-bottom: 4px;
}

.jtbd__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.jtbd__card {
  background: var(--bg);
  padding: 40px 36px 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color .2s, box-shadow .2s, background .2s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  /* Красная черта сверху — скрыта по умолчанию */
  border-top: 2px solid transparent;
}
.jtbd__card:hover {
  background: var(--bg-soft);
  border-top-color: var(--red);
  box-shadow: 0 8px 32px rgba(0,0,0,.07);
  z-index: 1;
}

/* Номер — фоновый графический элемент */
.jtbd__card-num {
  position: absolute;
  right: 20px;
  bottom: -12px;
  font-family: 'PT Serif', Georgia, serif;
  font-size: 96px;
  font-weight: 700;
  font-style: italic;
  line-height: 1;
  color: var(--dark);
  opacity: .05;
  user-select: none;
  pointer-events: none;
  letter-spacing: -.04em;
  transition: opacity .2s;
}
.jtbd__card:hover .jtbd__card-num { opacity: .08; }

.jtbd__card-title {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
}
.jtbd__card-text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  flex: 1;
}
/* jtbd__card-link — определён в блоке КНОПКИ ЕДИНООБРАЗИЕ ниже */

@media(max-width: 900px) { .jtbd__grid { grid-template-columns: repeat(2,1fr); } .jtbd__header { grid-template-columns: 1fr; } }
@media(max-width: 600px) { .jtbd__grid { grid-template-columns: 1fr; } .jtbd__card { padding: 28px 24px; } }

/* ============================================================
   DIRECTIONS — три направления
   ============================================================ */
.dirs__grid {
  display: grid;
  /* Первая карточка шире — она главная */
  grid-template-columns: 1.65fr 1fr 1fr;
  gap: 16px;
  align-items: stretch;
}

.dir-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  cursor: pointer;
  transition: box-shadow .35s ease;
}
/* Первая карточка — доминирует по высоте */
.dir-card--corp { min-height: 560px; }

.dir-card:hover { box-shadow: 0 24px 64px rgba(0,0,0,.22); }

/* Фото как фон */
.dir-card__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform .6s ease;
  /* Фолбэк если фото не загрузилось */
  background-color: #141414;
}
.dir-card--corp  .dir-card__bg { background-color: #1a2e40; }
.dir-card--cons  .dir-card__bg { background-color: #2d1012; }
.dir-card--coach .dir-card__bg { background-color: #1a2010; }
.dir-card:hover .dir-card__bg { transform: scale(1.04); }


/* Градиент: фото видно сверху, гарантированно тёмно снизу */
.dir-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,.97) 0%,
    rgba(0,0,0,.85) 30%,
    rgba(0,0,0,.40) 60%,
    rgba(0,0,0,.05) 100%
  );
  transition: background .35s ease;
}
.dir-card:hover .dir-card__overlay {
  background: linear-gradient(
    to top,
    rgba(0,0,0,.99) 0%,
    rgba(0,0,0,.90) 35%,
    rgba(0,0,0,.45) 65%,
    rgba(0,0,0,.08) 100%
  );
}

/* Номер — крупный, фоновый, правый верхний угол */
.dir-card__num {
  position: absolute;
  top: 24px;
  right: 24px;
  font-family: 'PT Serif', Georgia, serif;
  font-size: 100px;
  font-weight: 700;
  font-style: italic;
  line-height: 1;
  color: rgba(255,255,255,.07);
  user-select: none;
  pointer-events: none;
  letter-spacing: -.04em;
  transition: color .35s;
}
.dir-card:hover .dir-card__num { color: rgba(255,255,255,.11); }

/* Контент карточки — внизу, на плотном тёмном фоне */
.dir-card__body {
  position: relative;
  z-index: 2;
  padding: 36px 32px;
  color: #fff;
  width: 100%;
}

/* Eyebrow — красный текст, читается на тёмном фоне внизу */
.dir-card__eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}

.dir-card__title {
  font-family: 'PT Serif', Georgia, serif;
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 12px;
  color: #fff;
}
/* Первая карточка — заголовок крупнее */
.dir-card--corp .dir-card__title {
  font-size: clamp(26px, 2.5vw, 34px);
}

.dir-card__text {
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(255,255,255,.70);
  margin-bottom: 24px;
  max-width: 340px;
}

/* dir-card__cta — определён в блоке КНОПКИ ЕДИНООБРАЗИЕ ниже */

@media(max-width: 1000px) {
  .dirs__grid { grid-template-columns: 1fr 1fr; }
  .dir-card--corp { grid-column: 1 / -1; min-height: 420px; }
  .dir-card { min-height: 380px; }
}
@media(max-width: 600px) {
  .dirs__grid { grid-template-columns: 1fr; }
  .dir-card--corp { grid-column: auto; min-height: 360px; }
  .dir-card { min-height: 320px; }
}

/* ============================================================
   NUMBERS / STATS STRIP
   ============================================================ */
.stats-strip {
  background: var(--red);
  padding: 64px 0;
}
.stats-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stats-strip__item {
  text-align: center;
  padding: 0 24px;
  border-right: 1px solid rgba(255,255,255,.15);
}
.stats-strip__item:last-child { border-right: none; }
.stats-strip__num {
  font-family: 'PT Serif', Georgia, serif;
  font-size: clamp(36px, 4vw, 60px);
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 8px;
}
.stats-strip__label {
  font-size: 13px;
  color: rgba(255,255,255,.65);
  line-height: 1.4;
}
@media(max-width: 760px) { .stats-strip__grid { grid-template-columns: repeat(2,1fr); gap: 32px; } .stats-strip__item { border-right: none; } }

/* ============================================================
   SERVICES — услуги
   ============================================================ */
.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background var(--t), border-color var(--t), box-shadow var(--t);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}
.service-card:hover {
  border-color: var(--border);
  background: var(--bg-soft);
  box-shadow: var(--shadow);
}
.service-card:hover::before { transform: scaleX(1); }

.service-card__num {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 11px;
  font-weight: 700;
  font-style: italic;
  color: var(--red);
  opacity: .6;
  letter-spacing: .08em;
}
.service-card__title {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
}
.service-card__text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  flex: 1;
}
.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--red);
  transition: gap var(--t);
}
.service-card:hover .service-card__link { gap: 10px; }
.service-card__link::after { content: "→"; }
@media(max-width: 1100px) { .services__grid { grid-template-columns: repeat(2,1fr); } }
@media(max-width: 600px)  { .services__grid { grid-template-columns: 1fr; } }

/* ============================================================
   PROGRAMS
   ============================================================ */
.programs__header-lead {
  max-width: 420px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
}
.programs__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 20px;
}

/* Сетка: featured занимает 2 колонки из 3 */
.programs__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
  margin-bottom: 32px;
}

/* Все карточки — тёмные, фото как фон */
.program-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 280px;
  display: flex;
  align-items: flex-end;
  cursor: pointer;
  transition: box-shadow .3s ease;
}
.program-card:hover { box-shadow: 0 20px 56px rgba(0,0,0,.22); }

/* Featured — первая карточка, широкая */
.program-card--featured {
  grid-column: span 2;
  min-height: 360px;
}

/* Фото-фон */
.program-card__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: #1a2535;
  transition: transform .55s ease;
}

.program-card:hover .program-card__bg { transform: scale(1.04); }

/* Градиент поверх */
.program-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,.90) 0%,
    rgba(0,0,0,.45) 50%,
    rgba(0,0,0,.1) 100%
  );
  transition: background .3s;
}
.program-card:hover .program-card__overlay {
  background: linear-gradient(
    to top,
    rgba(0,0,0,.95) 0%,
    rgba(0,0,0,.55) 55%,
    rgba(0,0,0,.15) 100%
  );
}

/* Контент */
.program-card__body {
  position: relative;
  z-index: 2;
  padding: 28px 28px 24px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.program-card--featured .program-card__body { padding: 36px 36px 32px; }

.program-card__eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--red);
}

.program-card__title {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
}
.program-card--featured .program-card__title {
  font-size: clamp(22px, 2.2vw, 28px);
}

/* program-card__cta — определён в блоке КНОПКИ ЕДИНООБРАЗИЕ ниже */

/* CTA-строка под сеткой */
.programs__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 32px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  flex-wrap: wrap;
}
.programs__cta-text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

@media(max-width: 900px) {
  .programs__grid { grid-template-columns: repeat(2,1fr); }
  .program-card--featured { grid-column: span 2; }
}
@media(max-width: 600px) {
  .programs__grid { grid-template-columns: 1fr; }
  .program-card--featured { grid-column: span 1; min-height: 300px; }
  .program-card { min-height: 240px; }
  .programs__cta { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   TRAINERS
   ============================================================ */
.trainers__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.trainer-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: var(--t);
  position: relative;
}
.trainer-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.trainer-card__photo {
  width: 100%;
  padding-bottom: 120%;
  position: relative;
  background: linear-gradient(155deg, #1a2e40, #0a1520);
  overflow: hidden;
}
.trainer-card__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.trainer-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.75) 0%, transparent 50%);
}
.trainer-card__body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 16px;
  z-index: 2;
}
.trainer-card__name {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
  line-height: 1.2;
}
.trainer-card__role {
  font-size: 11px;
  color: rgba(255,255,255,.65);
  line-height: 1.35;
}
@media(max-width: 1100px) { .trainers__grid { grid-template-columns: repeat(3,1fr); } }
@media(max-width: 700px)  { .trainers__grid { grid-template-columns: repeat(2,1fr); } }
@media(max-width: 480px)  { .trainers__grid { grid-template-columns: 1fr; } }

/* ============================================================
   CASES
   ============================================================ */
.cases__tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
  overflow-x: auto;
  gap: 0;
}
.cases__tab {
  padding: 14px 26px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
  transition: var(--t);
  white-space: nowrap;
}
.cases__tab:hover { color: var(--dark); }
.cases__tab.active { color: var(--dark); border-bottom-color: var(--red); font-weight: 700; }

.case__panel { display: none; }
.case__panel.active { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; align-items: center; }

/* Правый блок кейса — реальное фото */
.case__visual {
  height: 420px;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.case__photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform .6s ease;
}
.case__visual:hover .case__photo { transform: scale(1.04); }
.case__photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.4) 45%, transparent 75%);
}
.case__photo-stat {
  position: absolute;
  bottom: 32px;
  left: 32px;
  z-index: 2;
}
.case__photo-num {
  display: block;
  font-family: 'PT Serif', Georgia, serif;
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 6px;
}
.case__photo-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
}

.case__meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.case__tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
.case__title {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.28;
  margin-bottom: 24px;
}
.case__rows { display: flex; flex-direction: column; gap: 16px; margin-bottom: 24px; }
.case__row  {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.case__row:last-child { border-bottom: none; padding-bottom: 0; }
.case__row-lbl {
  font-size: 10px;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding-top: 2px;
}
.case__row-val { font-size: 14.5px; color: var(--mid); line-height: 1.6; }
/* Старый стиль .case__result (блок-цитата) — оставлен для совместимости */
.case__result-quote {
  background: var(--red-light);
  border-left: 3px solid var(--red);
  padding: 16px 20px;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 14.5px;
  line-height: 1.65;
}
.case__result-quote strong { color: var(--dark); font-weight: 700; }

/* Новый блок результатов кейса */
.case__content { display: flex; flex-direction: column; gap: 20px; }
.case__text { font-size: 15px; color: var(--mid); line-height: 1.75; }
.case__solution { font-size: 14.5px; color: var(--mid); line-height: 1.7; padding: 20px 24px; background: var(--bg-soft); border-radius: var(--radius); border-left: 3px solid var(--border); }
.case__results {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.case__result {
  flex: 1;
  min-width: 100px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 14px;
  text-align: center;
}
.case__result-num {
  display: block;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  color: var(--red);
  line-height: 1.1;
  margin-bottom: 6px;
}
.case__result-label {
  display: block;
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .5px;
  line-height: 1.4;
}
@media(max-width: 900px) {
  .case__panel.active { grid-template-columns: 1fr; }
  .case__visual { height: 280px; }
  .case__results { gap: 8px; }
  .case__result { min-width: 80px; }
}

/* ============================================================
   WHY US
   ============================================================ */
.why__inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}

/* Фото-блок */
.why__visual {
  position: relative;
  height: 580px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.why__photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  transition: transform .7s ease;
}
.why__visual:hover .why__photo { transform: scale(1.03); }
.why__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(0,0,0,.80) 0%,
    rgba(0,0,0,.30) 40%,
    transparent 70%);
}
.why__visual-caption {
  position: absolute;
  bottom: 32px;
  left: 32px;
  right: 32px;
  z-index: 2;
}
.why__visual-caption strong {
  display: block;
  font-family: 'PT Serif', Georgia, serif;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 6px;
}
.why__visual-caption span {
  font-size: 13px;
  color: rgba(255,255,255,.55);
  letter-spacing: .02em;
}

/* Правый блок */
.why__content { display: flex; flex-direction: column; align-items: flex-start; }

/* Список пунктов */
.why__points {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 40px;
}
.why__point {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}
.why__point:first-child { padding-top: 0; }

/* Номер вместо иконки */
.why__point-num {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 13px;
  font-weight: 700;
  font-style: italic;
  color: var(--red);
  opacity: .7;
  flex-shrink: 0;
  width: 28px;
  padding-top: 3px;
  letter-spacing: .02em;
}
.why__point-body { flex: 1; }
.why__point-title {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 5px;
  line-height: 1.25;
}
.why__point-text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

@media(max-width: 960px) {
  .why__inner { grid-template-columns: 1fr; gap: 40px; }
  .why__visual { height: 320px; }
}

/* ============================================================
   FORMATS
   ============================================================ */
.formats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.format-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 40px 36px 36px;
  border-right: 1px solid var(--border);
  position: relative;
  transition: background var(--t);
}
.format-card:last-child { border-right: none; }
.format-card:hover { background: var(--bg-soft); }
.format-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}
.format-card:hover::before { transform: scaleX(1); }

.format-card__num {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 11px;
  font-weight: 700;
  font-style: italic;
  color: var(--red);
  opacity: .6;
  letter-spacing: .08em;
  margin-bottom: 20px;
  display: block;
}
.format-card__body { flex: 1; display: flex; flex-direction: column; }
.format-card__title {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.25;
  margin-bottom: 12px;
}
.format-card__text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  flex: 1;
}
.format-card__meta {
  display: block;
  margin-top: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--mid);
  opacity: .6;
}
@media(max-width: 760px) {
  .formats__grid { grid-template-columns: 1fr; }
  .format-card { border-right: none; border-bottom: 1px solid var(--border); }
  .format-card:last-child { border-bottom: none; }
}

/* ============================================================
   JOURNEY / HOW WE WORK
   ============================================================ */
.journey {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}
/* Линия-соединитель между шагами */
.journey__connector {
  position: absolute;
  top: 28px;
  right: -50%;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, var(--border) 60%, transparent 100%);
  z-index: 0;
  pointer-events: none;
}
.journey__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 12px;
  position: relative;
  z-index: 1;
}
/* Крупный номер вместо иконки */
.journey__step-num {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 13px;
  font-weight: 700;
  font-style: italic;
  color: #fff;
  background: var(--dark);
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  transition: background var(--t);
  letter-spacing: .03em;
}
.journey__step--accent .journey__step-num {
  background: var(--red);
  box-shadow: 0 0 0 6px rgba(198,40,41,.12);
}
.journey__step:hover .journey__step-num { background: var(--red); }
.journey__step-body { text-align: center; }
.journey__title {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
  line-height: 1.3;
}
.journey__text { font-size: 13px; color: var(--muted); line-height: 1.6; }
.journey__time {
  display: inline-block;
  margin-top: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--red);
}
@media(max-width: 900px) {
  .journey { grid-template-columns: 1fr; }
  .journey__connector { display: none; }
  .journey__step {
    flex-direction: row;
    text-align: left;
    gap: 20px;
    align-items: flex-start;
    padding: 22px 0;
    border-bottom: 1px solid var(--border);
  }
  .journey__step:last-child { border-bottom: none; }
  .journey__step-num { margin-bottom: 0; flex-shrink: 0; }
  .journey__step-body { text-align: left; }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq__inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 56px;
  align-items: start;
}
.faq__list { display: flex; flex-direction: column; gap: 1px; background: var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.faq__item { background: var(--bg); }
.faq__item.open { background: var(--bg); }
.faq__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 28px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--dark);
  text-align: left;
  cursor: pointer;
  transition: var(--t);
}
.faq__q:hover { background: var(--bg-soft); }
.faq__toggle {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--t);
  position: relative;
}
/* Chevron через псевдоэлемент */
.faq__toggle::before,
.faq__toggle::after {
  content: '';
  position: absolute;
  width: 7px; height: 1.5px;
  background: var(--muted);
  border-radius: 2px;
  transition: transform var(--t), background var(--t);
}
.faq__toggle::before { transform: rotate(-45deg) translateX(2px); }
.faq__toggle::after  { transform: rotate(45deg) translateX(-2px); }
.faq__item.open .faq__toggle {
  background: var(--red);
  border-color: var(--red);
}
.faq__item.open .faq__toggle::before { background: #fff; transform: rotate(45deg) translateX(2px); }
.faq__item.open .faq__toggle::after  { background: #fff; transform: rotate(-45deg) translateX(-2px); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .3s ease; padding: 0 28px; }
.faq__item.open .faq__a { max-height: 500px; padding: 0 28px 22px; }
.faq__a-inner { font-size: 14.5px; color: var(--muted); line-height: 1.7; border-top: 1px solid var(--border); padding-top: 16px; }

.faq__cta {
  background: var(--dark);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 36px;
  position: sticky;
  top: 90px;
  border: 1px solid rgba(255,255,255,.06);
}
.faq__cta h3 {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
  color: #fff;
}
.faq__cta p {
  font-size: 14px;
  color: rgba(255,255,255,.55);
  line-height: 1.65;
  margin-bottom: 24px;
}
.faq__cta-contacts {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.faq__cta-link {
  font-size: 13px;
  color: rgba(255,255,255,.5);
  transition: color var(--t);
}
.faq__cta-link:hover { color: #fff; }
/* faq responsive — определён в блоке MOBILE RESPONSIVE ниже */

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: start;
}
.contact__info-title {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 14px;
}
.contact__info-text { font-size: 15.5px; color: var(--muted); line-height: 1.7; margin-bottom: 36px; }
.contact__details {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.contact__detail {
  display: flex;
  flex-direction: column;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  color: inherit;
  transition: background var(--t);
}
.contact__detail:last-child { border-bottom: none; }
a.contact__detail:hover { background: var(--bg-soft); }
.contact__detail-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 4px;
}
.contact__detail-value {
  font-size: 15px;
  color: var(--dark);
  font-weight: 600;
}

/* Form */
.form-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  box-shadow: var(--shadow);
}
.form-card__title { font-family: 'PT Serif', Georgia, serif; font-size: 22px; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.form-card__sub   { font-size: 13px; color: var(--muted); margin-bottom: 28px; }
.form-row  { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 7px; margin-bottom: 14px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--mid); }
.form-group label .req { color: var(--red); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 14.5px;
  font-family: inherit;
  color: var(--dark);
  background: var(--bg-soft);
  transition: var(--t);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--red);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(198,40,41,.1);
}
.form-group textarea { min-height: 88px; resize: vertical; }
.form-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 20px;
}
.form-consent input { margin-top: 2px; }
.form-consent a { color: var(--red); text-decoration: underline; }
.form-note { font-size: 12px; color: var(--muted); text-align: center; margin-top: 10px; }
.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 0;
  gap: 14px;
}
.form-success.show { display: flex; }
.form-success-icon { font-size: 48px; color: var(--red); }
.form-success h3 { font-family: 'PT Serif', Georgia, serif; font-size: 22px; color: var(--dark); }
.form-success p  { font-size: 15px; color: var(--muted); line-height: 1.6; }
/* contact responsive — определён в блоке MOBILE RESPONSIVE ниже */
@media(max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,.65);
  padding: 72px 0 0;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer__brand-desc {
  font-size: 13.5px;
  line-height: 1.7;
  margin: 20px 0 24px;
  max-width: 340px;
  color: rgba(255,255,255,.6);
}
.footer__contacts { display: flex; flex-direction: column; gap: 12px; font-style: normal; }
.footer__contacts a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(255,255,255,.55);
  transition: var(--t);
}
.footer__contacts a:hover { color: #fff; }
.footer__contacts i { color: var(--red); width: 16px; font-size: 13px; }
.footer__col h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: rgba(255,255,255,.9);
  margin-bottom: 20px;
}
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col a {
  font-size: 13.5px;
  color: rgba(255,255,255,.5);
  transition: color var(--t);
}
.footer__col a:hover { color: #fff; }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  font-size: 12.5px;
  color: rgba(255,255,255,.4);
  flex-wrap: wrap;
  gap: 12px;
}
.footer__legal { display: flex; gap: 20px; }
.footer__legal a { color: rgba(255,255,255,.4); transition: color var(--t); }
.footer__legal a:hover { color: rgba(255,255,255,.75); }

@media(max-width: 1000px) { .footer__inner { grid-template-columns: repeat(2,1fr); } }
@media(max-width: 600px)  { .footer__inner { grid-template-columns: 1fr; } }

/* ============================================================
   SCROLL-TOP + SIDE TABS
   ============================================================ */
.scroll-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--dark);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  box-shadow: var(--shadow-lg);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: var(--t);
}
.scroll-top.show { opacity: 1; pointer-events: auto; }
.scroll-top:hover { background: var(--red); transform: translateY(-2px); }

/* ============================================================
   UTILITIES
   ============================================================ */
.mt-56 { margin-top: 56px; }
.cta-center { text-align: center; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
/* Лёгкий fade без вертикального сдвига — никакой «ряби» */
.fade-up {
  opacity: 0;
  transition: opacity .4s ease;
}
.fade-up.in {
  opacity: 1;
}
/* Если JS отключён — показываем всё */
@media (scripting: none) {
  .fade-up { opacity: 1; }
}
/* Фолбэк для браузеров без поддержки scripting media query */
.no-js .fade-up { opacity: 1 !important; transition: none !important; }
/* Если пользователь предпочитает без анимаций */
@media (prefers-reduced-motion: reduce) {
  .fade-up { transition: none; opacity: 1; }
}

/* ============================================================
   UTILITY
   ============================================================ */
.text-red { color: var(--red); }

/* ============================================================
   MOBILE TAB BAR
   ============================================================ */
.mob-tabbar {
  display: none; /* виден только на мобиле */
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 500;
  background: #fff;
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 24px rgba(0,0,0,.08);
  padding: 0 env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}
.mob-tabbar__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 10px 4px 8px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .03em;
  color: var(--muted);
  transition: color var(--t);
  text-align: center;
  line-height: 1.2;
}
.mob-tabbar__item--active { color: var(--red); }
.mob-tabbar__item--cta {
  color: var(--red);
  font-weight: 700;
}
.mob-tabbar__icon {
  width: 22px; height: 22px;
  flex-shrink: 0;
  stroke: currentColor;
}
.mob-tabbar__item:active { opacity: .7; }

@media(max-width: 768px) {
  .mob-tabbar { display: flex; }
  /* Сдвигаем страницу, чтобы tab bar не перекрывал контент */
  body { padding-bottom: 64px; }
  /* Scroll-top — выше tab bar */
  .scroll-top { bottom: 80px; }
}

/* Cases — мобиль */
@media(max-width: 768px) {
  .cases__tabs { gap: 0; }
  .cases__tab { padding: 12px 16px; font-size: 13px; }
  .case__panel.active { grid-template-columns: 1fr; gap: 32px; }
  .case__visual { height: 260px; order: -1; }
}

/* FAQ — мобиль */
@media(max-width: 768px) {
  .faq__inner { grid-template-columns: 1fr; gap: 32px; }
  .faq__cta { position: static; }
  .faq__q { font-size: 14px; padding: 18px 20px; }
}

/* Contact — мобиль */
@media(max-width: 768px) {
  .contact__inner { grid-template-columns: 1fr; gap: 40px; }
  .form-card { padding: 24px 20px; }
}
@media(max-width: 480px) {
  .form-card { padding: 20px 16px; }
}

/* Programs CTA — мобиль */
@media(max-width: 640px) {
  .programs__cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

/* Why — мобиль */
@media(max-width: 640px) {
  .why__visual { height: 260px; }
  .why__visual-caption strong { font-size: 24px; }
}

/* Stats strip — мобиль */
@media(max-width: 480px) {
  .stats-strip__grid { grid-template-columns: 1fr 1fr; }
}

/* Footer — мобиль */
@media(max-width: 480px) {
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  footer { padding: 48px 0 0; }
}

/* ============================================================
   КНОПКИ — ЕДИНООБРАЗИЕ
   Стандартизируем все текстовые CTA-ссылки на карточках
   в единый паттерн: uppercase 11px bold red + стрелка
   ============================================================ */

/* dir-card__cta — уже нормально, но сверяем */
.dir-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  transition: color var(--t), gap var(--t);
  margin-top: auto;
}
.dir-card:hover .dir-card__cta { color: #fff; gap: 10px; }

/* program-card__cta — выравниваем с dir-card */
.program-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  transition: color var(--t), gap var(--t);
}
.program-card:hover .program-card__cta { color: #fff; gap: 10px; }

/* jtbd__card-link — выравниваем */
.jtbd__card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--red);
  transition: gap var(--t);
}
.jtbd__card-link::after { content: "→"; }
.jtbd__card:hover .jtbd__card-link { gap: 10px; }

/* service-card__link — уже переделан, подтверждаем */
/* format-card__meta — информационный, не CTA, оставляем */

/* ============================================================
   ГЛОБАЛЬНЫЕ УТИЛИТЫ — закрывают повторяющиеся inline-паттерны
   ============================================================ */

/* Браузерный default — курсив у address. Убираем глобально. */
address { font-style: normal; }

/* Скрытый элемент (замена style="display:none") */
.hidden { display: none; }

/* Ссылка-обёртка поверх карточки (замена style="display:contents") */
.cover-link {
  display: contents;
  text-decoration: none;
}

/* Ссылка, наследующая цвет родителя (замена style="color:inherit") */
.link--inherit {
  color: inherit;
  text-decoration: none;
}

/* Ссылка в тёмном блоке — политика/оферта (замена style="color:rgba(255,255,255,.3)") */
.privacy-link {
  color: rgba(255,255,255,.3);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.privacy-link:hover { color: rgba(255,255,255,.55); }

/* Маленькая надстрочная метка числа (замена style="font-size:18px") */
.stat-sup {
  font-size: 18px;
}

/* Описание под карточкой похожего контента (замена style="font-size:13px;color:var(--muted)...") */
.text-muted-sm {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

/* Враппер карты (замена style="border-radius:...;height:420px;border:...") */
.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 420px;
  border: 1px solid var(--border);
}
@media(max-width: 640px) {
  .map-wrapper { height: 280px; }
}

/* Кнопка с отступом сверху в промо-карточке (замена style="margin-top:8px;align-self:flex-start") */
.promo-btn {
  margin-top: 8px;
  align-self: flex-start;
}

/* Центрированный CTA под сеткой (замена style="text-align:center;margin-top:36px") */
.section-cta-row {
  text-align: center;
  margin-top: 36px;
}

/* Breadcrumb bottom margin (замена style="margin-bottom:32px") */
.breadcrumb--mb { margin-bottom: 32px; }

/* Иконка-точка для лейблов (замена style="font-size:5px/9px" на fa-иконках) */
.icon-dot  { font-size: 5px; }
.icon-sm   { font-size: 9px; }
.icon-xs   { font-size: 10px; }

/* Декоративный dot в hero-badge (замена inline span с inline стилем) */
.cat-dot-inline {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #3b82f6;
  display: inline-block;
}

/* Позиция relative на обёртках (замена style="position:relative") */
.pos-relative { position: relative; }

/* z-index для .wrap в тёмных секциях (замена style="position:relative;z-index:1") */
.wrap--z { position: relative; z-index: 1; }
