.faq-section {
  --faq-height: 920px;
  /* Верх совпадает с базой страницы (--bg-base-* в live-track-base.css),
     низ — с небом кадра партнёров. Кадр стал ночным, поэтому вместо прежней
     девятиступенчатой лестницы к #d8d9da здесь короткий подъём к #16191c. */
  --faq-gradient-top: #070a0c;
  --faq-gradient-bottom: #16191c;
  --faq-edge-fade: clamp(110px, calc(var(--faq-height) * 0.12), 190px);
  --faq-handoff: clamp(130px, calc(var(--faq-height) * 0.16), 220px);
  position: relative;
  isolation: isolate;
  z-index: 1;
  overflow: hidden;
  padding: clamp(36px, 4vw, 60px) 0 clamp(48px, 5vw, 72px);
  /*
    Перцептивно-равномерные стопы: яркость растёт ровным шагом, нет ни длинного
    пологого участка, ни резкого скачка в конце — глазу не за что зацепиться.
    Низ #d8d9da совпадает с верхом секции партнёров (небо стадиона).
    ВЕРХ ПРОЗРАЧНЫЙ: база страницы просвечивает сквозь первые ~14% секции
    и непрерывно продолжается из зазора над FAQ — стык медицина → FAQ бесшовный.
    Первые ступени пересчитаны под глубокую базу: со старых значений (от #1f2226)
    на ней появлялась ступенька на 9–18%.
  */
  background:
    linear-gradient(
      180deg,
      rgba(7, 10, 12, 0) 0%,
      rgba(7, 10, 12, 0) 22%,
      #0c1013 52%,
      #12161a 78%,
      var(--faq-gradient-bottom) 100%
    );
}

.faq-section::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.15;
  background:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 70%, transparent 100%);
}

.faq-section + .partners-footer-band {
  border-top: none;
}

.faq-section + .partners-footer-band .partners-band__intro {
  padding-top: clamp(3.25rem, 7vw, 5rem);
}

.partners-footer-band {
  --partners-to-faq-handoff: clamp(72px, 8vw, 110px);
  --partners-seam-cover: clamp(48px, 5vw, 72px);
  position: relative;
  z-index: 3;
}

.partners-footer-band::before {
  content: '';
  position: absolute;
  inset: calc(-1 * var(--partners-to-faq-handoff)) 0 auto;
  z-index: 2;
  height: calc(var(--partners-to-faq-handoff) + var(--partners-seam-cover));
  pointer-events: none;
  background:
    radial-gradient(ellipse 82% 80% at 72% 100%, rgba(244, 241, 234, 0.05), transparent 72%);
}

/* После FAQ радиальный блик даёт вторую полосу на шве — гасим слой. */
.faq-section + .partners-footer-band::before {
  display: none;
}

.faq-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(32px, 5vw, 76px);
  align-items: stretch;
}

.faq-head {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

/*
  Атмосферный кадр под заголовком в левой колонке. Левая колонка растянута до
  высоты панели вопросов (align-items: stretch у .faq-shell), а кадр занимает
  всё место под заголовком через flex: 1 — поэтому его высота повторяет высоту
  блока Q&A и меняется вместе с фильтрами, без JS. Плёночная обработка в тон трекам.
*/
.faq-portrait {
  position: relative;
  flex: 1 1 0;
  min-height: clamp(220px, 30vh, 300px);
  /* Потолок: кадр не растёт выше текущего размера, когда блок Q&A увеличивается
     (например, раскрыли ответы). Уменьшается только при сжатии блока. */
  max-height: 800px;
  margin: clamp(26px, 3vw, 40px) 0 0;
  overflow: hidden;
  border-radius: clamp(16px, 1.4vw, 22px);
  border: 1px solid rgba(232, 195, 106, 0.22);
  background: #11151a;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
}

.faq-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Низ кадра статичен: при сжатии cover срезает верхнюю часть, низ на месте. */
  object-position: center bottom;
  filter: grayscale(1) contrast(1.05) brightness(0.92);
}

/* Низ кадра растворяется в тон секции, стыкуясь с переходом к партнёрам.
   Секция стала тёмной — растворяем в тень, а не в светлое. */
.faq-portrait::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 66%, rgba(10, 13, 16, 0.55) 100%);
}

.faq-title {
  margin: 0;
  max-width: 16ch;
  color: #f6f2ea;
  font: 700 var(--text-h1) / 0.98 var(--font-display);
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.faq-panel {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
}

/* На ПК вводный абзац не показываем — остаётся заголовок и кадр.
   На мобиле скрыт отдельно в mobile-home.css. */
.faq-intro {
  display: none;
  margin: clamp(14px, 1.8vw, 22px) 0 0;
  max-width: 48ch;
  color: rgba(244, 241, 234, 0.64);
  font: 400 var(--text-md)/1.7 var(--font-body);
}

/*
  Облако читаемости живёт на фоне всей секции, а не внутри правой колонки:
  края не совпадают с FAQ-панелью и растворяются как атмосферная туча.
*/
.faq-section::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 34% 18% at 72% 74%, rgba(9, 12, 16, 0.5) 0%, rgba(9, 12, 16, 0.28) 34%, transparent 74%),
    radial-gradient(ellipse 28% 15% at 63% 46%, rgba(15, 18, 22, 0.3) 0%, rgba(15, 18, 22, 0.14) 38%, transparent 72%),
    radial-gradient(ellipse 22% 12% at 84% 58%, rgba(27, 31, 39, 0.22) 0%, transparent 68%);
}

.faq-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0 0 18px;
}

.faq-filter {
  min-height: 36px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.045);
  color: rgba(244, 241, 234, 0.66);
  cursor: pointer;
  font: 900 var(--text-2xs)/1 var(--font-ui);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.faq-filter:hover,
.faq-filter[aria-pressed='true'] {
  border-color: rgba(232, 195, 106, 0.68);
  background: linear-gradient(180deg, rgba(232, 195, 106, 0.92), rgba(211, 161, 58, 0.92));
  color: #0a0d12;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-card {
  border-bottom: 1px solid var(--line-soft);
}

.faq-card[hidden] {
  display: none;
}

.faq-card summary {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 18px;
  gap: clamp(14px, 2vw, 24px);
  align-items: center;
  min-height: 84px;
  padding: 22px 6px;
  cursor: pointer;
  list-style: none;
}

.faq-card summary::-webkit-details-marker {
  display: none;
}

.faq-num {
  color: var(--gold);
  font: 800 22px/0.9 var(--font-display);
  letter-spacing: var(--ls-tight);
}

.faq-question {
  color: rgba(244, 241, 234, 0.92);
  font: 700 var(--text-h3) / 1.05 var(--font-display);
  letter-spacing: var(--ls-tight);
  text-wrap: balance;
  transition: color 180ms ease;
}

.faq-card summary:hover .faq-question,
.faq-card[open] .faq-question {
  color: #fffaf0;
}

.faq-icon {
  width: 12px;
  height: 12px;
  border-right: 1.7px solid var(--gold);
  border-bottom: 1.7px solid var(--gold);
  transform: rotate(45deg);
  transition: transform 260ms var(--slab-ease);
}

.faq-card[open] .faq-icon {
  transform: rotate(-135deg);
}

.faq-answer {
  max-width: 64ch;
  padding: 0 42px 28px 66px;
  color: rgba(244, 241, 234, 0.64);
  font: 400 15px/1.72 var(--font-body);
}

.faq-empty {
  display: none;
  padding: 34px 6px 0;
  color: rgba(244, 241, 234, 0.5);
  font: 400 15px/1.6 var(--font-body);
}

.faq-empty:not([hidden]) {
  display: block;
}

@media (max-width: 960px) {
  .compact-bar {
    grid-template-columns: 1fr;
  }

  .jury-layout {
    grid-template-columns: 1fr;
  }

  .nominees-head {
    grid-template-columns: 1fr;
  }

  .nominees-head__num {
    font-size: clamp(48px, 16vw, 90px);
  }

  .nominees-total--cta {
    width: 100%;
    justify-content: space-between;
  }

  .nominees-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .leader-card {
    max-width: none;
    width: 100%;
  }

  .winner-grid {
    grid-template-columns: 1fr;
  }

  .faq-shell {
    grid-template-columns: 1fr;
  }

  .faq-title {
    max-width: 12ch;
  }

  .faq-head,
  .faq-panel {
    grid-column: 1;
    grid-row: auto;
  }

  .faq-portrait {
    display: none;
  }

  .faq-section::after {
    background:
      radial-gradient(ellipse 62% 20% at 56% 74%, rgba(9, 12, 16, 0.46) 0%, rgba(9, 12, 16, 0.24) 34%, transparent 74%),
      radial-gradient(ellipse 54% 16% at 46% 48%, rgba(15, 18, 22, 0.26) 0%, rgba(15, 18, 22, 0.12) 38%, transparent 72%);
  }

  .leader-card {
    grid-template-columns: 1fr;
  }

  .leader-card__photo {
    width: 100%;
    height: 220px;
  }

  .leader-card__body {
    padding: 16px 4px 4px;
  }

  .stage-console__label {
    display: none;
  }

  .faq-section {
    padding: 70px 0 56px;
  }

  .faq-card summary {
    grid-template-columns: 34px minmax(0, 1fr) 14px;
    min-height: 74px;
    padding: 20px 0;
  }

  .faq-answer {
    padding: 0 0 24px 48px;
    font-size: 14px;
  }
}
