/* FAQ #voprosy. Только токены из :root */
.faq { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-5) var(--s-6); align-items: start; }
.faq__side { position: sticky; top: 120px; }
.faq__side .h2 { font-size: clamp(34px, 4.2vw, 60px); }
.faq__ask { margin-top: var(--s-4); color: var(--muted); font-size: var(--fs-small); }
.faq__ask .link { margin-left: 6px; }

.faq__list { list-style: none; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); scroll-margin-top: 100px; }
.faq__q { font: inherit; }
.faq__btn {
  display: grid; grid-template-columns: 56px minmax(0, 1fr) 24px; align-items: baseline; gap: var(--s-2);
  width: 100%; padding: 26px 0; background: none; border: 0; text-align: left; cursor: pointer; color: var(--text);
}
.faq__n { color: var(--muted); transition: color var(--t-fast); }
.faq__t { font: 500 clamp(19px, 2vw, 24px)/1.25 var(--sans); letter-spacing: var(--tr-h3); transition: color var(--t-fast); }
.faq__btn:hover .faq__n, .faq__item.is-open .faq__n { color: var(--accent); }
.faq__btn:focus-visible { outline-offset: 4px; }

/* плюс -> минус */
.faq__i { position: relative; width: 16px; height: 16px; justify-self: end; align-self: center; color: var(--muted); transition: color var(--t-fast); }
.faq__i::before, .faq__i::after { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 2px; border-radius: 2px; background: currentColor; transition: transform var(--t-base) var(--ease); }
.faq__i::after { transform: rotate(90deg); }
.faq__btn:hover .faq__i { color: var(--text); }
.faq__item.is-open .faq__i { color: var(--accent); }
.faq__item.is-open .faq__i::after { transform: rotate(0deg); }

/* плавное раскрытие */
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--t-slow) var(--ease); }
.faq__a > div { overflow: hidden; min-height: 0; }
.faq__a p { padding: 0 40px 28px calc(56px + var(--s-2)); color: var(--soft); font-size: var(--fs-body); max-width: 640px; opacity: 0; transition: opacity var(--t-base) var(--ease); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__item.is-open .faq__a p { opacity: 1; }
.faq--instant .faq__a, .faq--instant .faq__a p { transition: none; }

.faq__more { display: none; }

@media (max-width: 960px) {
  .faq { grid-template-columns: 1fr; gap: var(--s-3); }
  .faq__side { position: static; }
  .faq__side .h2 { font-size: clamp(30px, 8vw, 44px); }
  .faq__ask { margin-top: var(--s-2); }
  .faq__ask .link { position: relative; }
  .faq__ask .link::after { content: ""; position: absolute; inset: -11px -8px; } /* зона нажатия ≥ 44px */

  /* компактные строки: без номеров, крупная зона нажатия */
  .faq__btn { grid-template-columns: minmax(0, 1fr) 24px; align-items: center; min-height: 56px; padding: 12px 0; gap: var(--s-1); }
  .faq__n { display: none; }
  .faq__t { font-size: 17px; line-height: 1.25; }
  .faq__a p { padding: 0 0 16px; font-size: var(--fs-small); line-height: 1.5; max-width: none; }

  /* часть вопросов за кнопкой */
  .faq:not(.is-all) .faq__item[data-more] { display: none; }
  .faq__more {
    display: flex; align-items: center; justify-content: center; gap: var(--s-1); width: 100%; min-height: 48px; margin-top: calc(var(--s-1) * -1);
    background: none; color: var(--text); border: 1px solid rgba(255,255,255,.18); border-radius: var(--r-pill); cursor: pointer;
    transition: background var(--t-fast);
  }
  .faq__more:hover { background: rgba(255,255,255,.06); }
  .faq.is-all .faq__more { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .faq__a, .faq__a p, .faq__i::before, .faq__i::after { transition: none; }
}
