/* ============================================================
   HUB.CSS — стили страниц-хабов
   Использует все дизайн-токены из style.css.
   Здесь только то, чего нет в основном файле.
   ============================================================ */

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 40px;
}
.breadcrumb a {
  color: var(--muted);
  transition: color var(--t);
}
.breadcrumb a:hover { color: var(--red); }
.breadcrumb__sep { opacity: .4; }

/* ============================================================
   HUB HERO — тёмный фон, как на главной, но компактный
   ============================================================ */
.hub-hero {
  background:
    radial-gradient(ellipse 70% 80% at 75% 50%, rgba(198,40,41,.10) 0%, transparent 60%),
    linear-gradient(150deg, #181818 0%, #0d0d0d 60%, #111116 100%);
  padding: 48px 0 64px;
  position: relative;
  overflow: hidden;
}
/* Тонкая сетка-текстура — как на hero главной */
.hub-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}

/* Хлебные крошки на тёмном фоне */
.hub-hero .breadcrumb {
  position: relative;
  z-index: 1;
  color: rgba(255,255,255,.35);
  margin-bottom: 36px;
}
.hub-hero .breadcrumb a {
  color: rgba(255,255,255,.35);
}
.hub-hero .breadcrumb a:hover { color: rgba(255,255,255,.75); }
.hub-hero .breadcrumb__sep { opacity: .25; }
.hub-hero .breadcrumb [aria-current] { color: rgba(255,255,255,.55); }

.hub-hero__inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 72px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hub-hero__h1 {
  font-family: 'PT Serif', Georgia, serif;
  font-size: clamp(30px, 3.4vw, 48px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.025em;
  color: #fff;
  margin-bottom: 20px;
}
.hub-hero__sub {
  font-size: 16px;
  color: rgba(255,255,255,.55);
  line-height: 1.65;
  max-width: 480px;
  margin-bottom: 36px;
}
.hub-hero__cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Цифры справа: сетка 2×2 с тонкими разделителями */
.hub-hero__numbers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.hub-hero__num {
  background: rgba(255,255,255,.04);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: background .2s;
}
.hub-hero__num:hover { background: rgba(255,255,255,.07); }
.hub-hero__num-val {
  font-family: 'PT Serif', Georgia, serif;
  font-size: clamp(28px, 2.6vw, 40px);
  font-weight: 700;
  color: #fff;
  line-height: 1;
  letter-spacing: -.02em;
}
.hub-hero__num-val sup {
  font-size: .52em;
  vertical-align: super;
  color: var(--red);
}
.hub-hero__num-label {
  font-size: 12px;
  color: rgba(255,255,255,.4);
  line-height: 1.4;
}

@media(max-width: 900px) {
  .hub-hero__inner { grid-template-columns: 1fr; gap: 40px; }
}
@media(max-width: 640px) {
  .hub-hero { padding: 40px 0 48px; }
  .hub-hero__sub { font-size: 15px; }
}
@media(max-width: 480px) {
  .hub-hero { padding: 32px 0 40px; }
  .hub-hero__cta-row { flex-direction: column; }
  .hub-hero__cta-row .btn { width: 100%; justify-content: center; }
  .hub-hero .breadcrumb { margin-bottom: 24px; }
}

/* ============================================================
   TASKS — блок задач (2 колонки)
   ============================================================ */
.tasks__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.task-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--bg);
  padding: 24px 28px;
  transition: background var(--t);
}
.task-item:hover { background: var(--bg-soft); }
.task-item__num {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 11px;
  font-weight: 700;
  font-style: italic;
  color: var(--red);
  opacity: .6;
  flex-shrink: 0;
  padding-top: 3px;
  letter-spacing: .06em;
}
.task-item__text {
  font-size: 15px;
  font-weight: 500;
  color: var(--dark);
  line-height: 1.4;
}

@media(max-width: 640px) {
  .tasks__grid { grid-template-columns: 1fr; }
  .task-item { padding: 18px 20px; }
}

/* ============================================================
   DIRS GRID — два варианта: 3 колонки и 2 колонки
   ============================================================ */
/* Основной: три карточки — уже есть в style.css (.dirs__grid) */
/* Дополнительно: для двух карточек нижней строки */
.dirs__grid--two {
  grid-template-columns: 1fr 1fr;
  margin-top: 24px;
}
.dirs__grid--two .dir-card {
  min-height: 300px;
}

@media(max-width: 768px) {
  .dirs__grid--two { grid-template-columns: 1fr; }
}

/* ============================================================
   CATALOG — фильтр и каталог программ
   ============================================================ */

/* --- Табы-пилюли --- */
.catalog__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 48px;
}
.catalog__filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: 100px;
  border: 2px solid var(--border);
  background: var(--bg);
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: background var(--t), border-color var(--t), color var(--t), box-shadow var(--t);
  white-space: nowrap;
  line-height: 1;
  letter-spacing: -.01em;
}
.catalog__filter-btn:hover {
  border-color: var(--dark);
  color: var(--dark);
}
.catalog__filter-btn.active {
  background: var(--dark);
  border-color: var(--dark);
  color: #fff;
  box-shadow: 0 4px 14px rgba(0,0,0,.18);
}
.catalog__filter-btn__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(0,0,0,.10);
  color: inherit;
  transition: background var(--t);
}
.catalog__filter-btn.active .catalog__filter-btn__count {
  background: rgba(255,255,255,.20);
}

/* --- Секции каталога --- */
.catalog__section {
  margin-bottom: 64px;
}
.catalog__section-title {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 20px;
  padding: 14px 20px;
  background: var(--bg-soft);
  border-left: 4px solid var(--red);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.catalog__section-num { display: none; }

/* --- Сетка карточек программ --- */
.catalog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* --- Карточка программы --- */
.program-item {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px 22px;
  text-decoration: none;
  transition: box-shadow var(--t), border-color var(--t), background var(--t);
  position: relative;
  overflow: hidden;
}
.program-item:hover {
  box-shadow: var(--shadow);
  border-color: rgba(198,40,41,.25);
  background: var(--bg);
}

/* Красная полоска сверху — всегда видна, 2px, при hover расширяется до 4px */
.program-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--red);
  transition: height var(--t);
}
.program-item:hover::before { height: 4px; }

/* --- Тело карточки --- */
.program-item__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
.program-item__title {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.35;
}
.program-item__desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

/* --- Метаданные: для кого + длительность --- */
.program-item__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.program-item__role {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.3;
}
.program-item__dur {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 100px;
  background: var(--red-light);
  color: var(--red);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .03em;
  white-space: nowrap;
  flex-shrink: 0;
}

/* --- Кнопка «Показать ещё» --- */
.catalog__show-more {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}
.catalog__show-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 28px;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  background: var(--bg);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: border-color var(--t), color var(--t), box-shadow var(--t);
}
.catalog__show-more-btn:hover {
  border-color: var(--dark);
  color: var(--dark);
  box-shadow: var(--shadow-xs);
}
.catalog__show-more-count {
  color: var(--red);
  font-weight: 700;
}

/* --- Скрытые элементы --- */
.program-item.hidden,
.catalog__section.hidden { display: none; }
.program-item.collapsed { display: none; }

/* --- Пустой результат --- */
.catalog__empty {
  display: none;
  text-align: center;
  padding: 48px 24px;
  font-size: 16px;
  color: var(--muted);
}
.catalog__empty.show { display: block; }

/* --- Адаптив --- */
@media(max-width: 1100px) {
  .catalog__grid { grid-template-columns: repeat(2, 1fr); }
}
@media(max-width: 640px) {
  .catalog__grid { grid-template-columns: 1fr; gap: 12px; }
  .program-item { padding: 22px 18px 18px; }
  .catalog__section-title { font-size: 17px; }
  .catalog__filter-btn { padding: 9px 16px; font-size: 13px; }
}

/* ============================================================
   FORMATS — 4 вертикальных бокса в ряд
   ============================================================ */
.fmt__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.fmt__card {
  display: flex;
  flex-direction: column;
  padding: 32px 28px 28px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.fmt__card-num {
  font-family: 'PT Serif', serif;
  font-size: 52px;
  font-weight: 700;
  font-style: italic;
  color: var(--red);
  line-height: 1;
  margin-bottom: 20px;
}
.fmt__card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
  margin: 0 0 10px;
}
.fmt__card-text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
  flex: 1;
}
.fmt__card-dur {
  margin-top: 24px;
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
}
.fmt__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 32px;
  padding: 28px 36px;
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.fmt__cta p {
  font-size: 15px;
  color: var(--muted);
  margin: 0;
  max-width: 520px;
}
@media(max-width: 900px) {
  .fmt__grid { grid-template-columns: repeat(2, 1fr); }
}
@media(max-width: 560px) {
  .fmt__grid { grid-template-columns: 1fr; }
  .fmt__cta { flex-direction: column; align-items: flex-start; padding: 22px 20px; }
}

/* ============================================================
   TRAINER CARD — featured (большая карточка Семенцова)
   ============================================================ */
.trainer-card--featured {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg);
  margin-top: 40px;
  cursor: default;
  transform: none !important;
  box-shadow: none !important;
}
.trainer-card--featured .trainer-card__photo {
  width: 260px;
  flex-shrink: 0;
  min-height: 320px;
  position: relative;
  padding-bottom: 0;
}
.trainer-card--featured .trainer-card__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.trainer-card--featured .trainer-card__overlay {
  display: none;
}
.trainer-card--featured .trainer-card__body {
  position: static;
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.trainer-card--featured .trainer-card__name {
  font-size: 22px;
  color: var(--dark);
  margin-bottom: 0;
}
.trainer-card--featured .trainer-card__role {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

.trainer-card__stats {
  display: flex;
  gap: 28px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trainer-card__stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.trainer-card__stat-num {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1;
}
.trainer-card__stat-label {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.trainer-card__quote {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  font-style: italic;
  border-left: 2px solid var(--red);
  padding-left: 14px;
  margin: 0;
}

@media(max-width: 860px) {
  .trainer-card--featured {
    flex-direction: column;
  }
  .trainer-card--featured .trainer-card__photo {
    width: 100%;
    min-height: 240px;
  }
  .trainer-card--featured .trainer-card__body {
    padding: 24px 20px;
  }
  .trainer-card__stats {
    flex-wrap: wrap;
    gap: 16px;
  }
}

/* ============================================================
   BOOKS
   ============================================================ */
.books__shelf-title {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.books__shelf-title--second { margin-top: 48px; }

.books__group {
  margin-top: 48px;
}
.books__group:first-child { margin-top: 40px; }

.books__group-label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}
.books__group-label-text {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
  white-space: nowrap;
}
.books__group-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.books__shelf {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px 20px;
}

.book-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  transition: transform var(--t);
}
.book-card:hover { transform: translateY(-4px); }

.book-card__cover {
  width: 100%;
  padding-bottom: 150%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
/* Обложки — фото */
.book-card__cover--realty,
.book-card__cover--construction,
.book-card__cover--equipment,
.book-card__cover--medicine,
.book-card__cover--it,
.book-card__cover--methodology,
.book-card__cover--habits,
.book-card__cover--bpm,
.book-card__cover--growth,
.book-card__cover--generation,
.book-card__cover--upgrade,
.book-card__cover--east {
  background-image: url('https://www.genspark.ai/api/files/s/D6cXXE2k');
  background-size: cover;
  background-position: center top;
}


.book-card__cover-title {
  display: none;
}

.book-card__body {
  padding: 12px 4px 0;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.book-card__title {
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.35;
  margin-bottom: 0;
  min-height: calc(13px * 1.35 * 3);
}
.book-card__author {
  font-size: 11px;
  color: var(--muted);
}
.book-card__rating {
  font-size: 12px;
  font-weight: 600;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 3px;
  margin-top: 4px;
}
.book-card__stars {
  color: #f59e0b;
  font-size: 11px;
  letter-spacing: -1px;
}
.book-card__votes {
  font-size: 11px;
  color: var(--muted);
  font-weight: 400;
}
.book-card__tag {
  display: inline-flex;
  margin-top: 8px;
  align-self: flex-start;
  padding: 2px 8px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: var(--bg-soft);
  color: var(--muted);
  border: 1px solid var(--border);
}
.book-card__tag--new {
  background: var(--red-light);
  color: var(--red);
  border-color: var(--red-light);
}


@media(max-width: 1100px) { .books__shelf { grid-template-columns: repeat(5, 1fr); } }
@media(max-width: 860px)  { .books__shelf { grid-template-columns: repeat(4, 1fr); } }
@media(max-width: 640px)  { .books__shelf { grid-template-columns: repeat(3, 1fr); gap: 16px 12px; } }
@media(max-width: 420px)  { .books__shelf { grid-template-columns: repeat(2, 1fr); } }

/* ============================================================
   LITRES BANNER
   ============================================================ */
.litres-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 48px;
  padding: 36px 48px;
  background: var(--bg-dark);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.litres-banner::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(198,40,41,.18) 0%, transparent 70%);
  pointer-events: none;
}
.litres-banner__left {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.litres-banner__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.45);
}
.litres-banner__eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}
.litres-banner__title {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  margin: 0;
}
.litres-banner__sub {
  font-size: 14px;
  color: rgba(255,255,255,.5);
  margin: 0;
  line-height: 1.5;
}
.litres-banner__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--red);
  color: #fff;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  transition: background var(--t), transform var(--t);
  text-decoration: none;
  flex-shrink: 0;
}
.litres-banner__btn:hover {
  background: #a51f20;
  transform: translateY(-2px);
}
.litres-banner__btn-icon {
  font-size: 18px;
  line-height: 1;
}
@media(max-width: 700px) {
  .litres-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 24px;
    gap: 20px;
  }
  .litres-banner__btn { width: 100%; justify-content: center; }
}

/* ============================================================
   REVIEWS
   ============================================================ */
.reviews__slider {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.review-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow var(--t);
}
.review-card:hover { box-shadow: var(--shadow); }

.review-card__header {
  display: flex;
  align-items: center;
  gap: 14px;
}
.review-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-dark);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}
.review-card__name {
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.2;
}
.review-card__role {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}
.review-card__text {
  font-size: 14.5px;
  color: var(--mid);
  line-height: 1.7;
  font-style: italic;
  margin: 0;
  border-left: 2px solid var(--red);
  padding-left: 14px;
  flex: 1;
}
.review-card__industry {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--red);
  opacity: .7;
}

@media(max-width: 768px) {
  .reviews__slider { grid-template-columns: 1fr; }
}

/* ============================================================
   SIDE BADGES — боковые шильдики
   ============================================================ */
.side-badge {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 200;
}
.side-badge--right { right: 0; }
.side-badge--left  { left: 0; }

.side-badge__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 10px;
  background: var(--dark);
  color: #fff;
  border-radius: var(--radius) 0 0 var(--radius);
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  line-height: 1.3;
  letter-spacing: .02em;
  transition: background var(--t), padding var(--t);
  writing-mode: vertical-rl;
  text-orientation: mixed;
}
.side-badge--left .side-badge__link {
  border-radius: 0 var(--radius) var(--radius) 0;
}
.side-badge__link:hover { background: var(--red); }
.side-badge__icon {
  font-size: 18px;
  line-height: 1;
  writing-mode: initial;
}
.side-badge__text {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

@media(max-width: 768px) {
  .side-badge { display: none; }
}

/* ============================================================
   JTBD card CTA вариант — для отраслей (legacy, не используется)
   ============================================================ */
.jtbd__card--cta {
  border: 2px dashed var(--border);
  background: transparent;
}
.jtbd__card--cta:hover {
  border-color: var(--red);
  background: var(--accent-bg);
}

/* ============================================================
   INDUSTRIES — чистый список, максимум контраста
   ============================================================ */

.ind__list {
  display: flex;
  flex-direction: column;
  margin-top: 48px;
}

/* Строка-отрасль */
.ind__row {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  position: relative;
  transition: background var(--t);
  border-radius: var(--radius);
}
.ind__row:first-child { border-top: 1px solid var(--border); }

/* Красная полоска слева при наведении */
.ind__row::before {
  content: '';
  position: absolute;
  left: -32px; top: 0; bottom: 0;
  width: 4px;
  background: var(--red);
  transform: scaleY(0);
  transform-origin: center;
  transition: transform .22s ease;
}
.ind__row:hover::before { transform: scaleY(1); }

/* Номер — крупный, красный, PT Serif */
.ind__row-num {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 42px;
  font-weight: 700;
  font-style: italic;
  color: var(--red);
  line-height: 1;
  min-width: 64px;
  flex-shrink: 0;
  opacity: .35;
  transition: opacity var(--t);
}
.ind__row:hover .ind__row-num { opacity: 1; }

/* Название + подпись */
.ind__row-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ind__row-title {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.15;
  transition: color var(--t);
}
.ind__row:hover .ind__row-title { color: var(--red); }

.ind__row-sub {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

/* Счётчик проектов */
.ind__row-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  flex-shrink: 0;
  min-width: 80px;
}
.ind__row-stat strong {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 40px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1;
  letter-spacing: -.03em;
}
.ind__row-stat span {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* Стрелка */
.ind__row-arrow {
  font-size: 22px;
  color: var(--border);
  flex-shrink: 0;
  transition: color var(--t), transform var(--t);
}
.ind__row:hover .ind__row-arrow {
  color: var(--red);
  transform: translateX(6px);
}

/* Нижняя строка */
.ind__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-top: 40px;
  padding: 32px 40px;
  background: var(--dark);
  border-radius: var(--radius-lg);
}
.ind__footer-text {
  font-size: 16px;
  color: rgba(255,255,255,.70);
  line-height: 1.6;
}
.ind__footer-text strong {
  display: block;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

/* Адаптив */
@media(max-width: 768px) {
  .ind__row { gap: 20px; padding: 24px 0; }
  .ind__row-num { font-size: 28px; min-width: 44px; }
  .ind__row-title { font-size: 20px; }
  .ind__row-stat strong { font-size: 28px; }
  .ind__row-stat { min-width: 60px; }
  .ind__footer { flex-direction: column; align-items: flex-start; gap: 16px; padding: 20px; }
}
@media(max-width: 480px) {
  .ind__row-num { display: none; }
  .ind__row-sub { font-size: 13px; }
}

/* ============================================================
   FAQ — две колонки
   ============================================================ */
.faq__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
  margin-top: 40px;
}
.faq__col {
  display: flex;
  flex-direction: column;
}
.faq__item {
  background: none !important;
  border-bottom: 1px solid var(--border);
}
.faq__item:first-child {
  border-top: 1px solid var(--border);
}
.faq__item.open {
  background: none !important;
}
.faq__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 0 !important;
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
  text-align: left;
  cursor: pointer;
  background: none !important;
  transition: color .2s;
}
.faq__q:hover {
  background: none !important;
  color: var(--red);
}
.faq__a {
  max-height: 0 !important;
  overflow: hidden !important;
  transition: max-height .35s ease !important;
  padding: 0 !important;
}
.faq__item.open .faq__a {
  max-height: 400px !important;
  padding: 0 0 18px !important;
}
.faq__a-inner {
  border-top: none !important;
  padding-top: 0 !important;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}
@media(max-width: 768px) {
  .faq__cols { grid-template-columns: 1fr; gap: 0; }
  .faq__col:last-child .faq__item:first-child { border-top: none; }
}

