/* FAQ: answers are visible by default; faq.js adds .faq--js to the list, and only then do answers collapse. */
.faq__layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-6); }
.faq__head { margin-bottom: 0; }

.faq__list { display: grid; min-width: 0; border-top: 1px solid var(--line-strong); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item h3 { font-size: inherit; font-weight: inherit; letter-spacing: normal; line-height: inherit; }

.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  width: 100%; padding: 26px 0;
  background: none; border: 0;
  color: var(--text); font-size: 1.12rem; font-weight: 500; line-height: 1.4; letter-spacing: -0.01em; text-align: left;
  transition: color 0.3s;
}
.faq__q:hover { color: #fff; }

.faq__icon {
  flex: none; width: 28px; height: 28px; padding: 7px;
  border-radius: 50%; border: 1px solid var(--line-strong);
  color: var(--text-2); fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round;
  transition: transform 0.5s var(--ease), background 0.3s, color 0.3s, border-color 0.3s;
}
.faq__item.is-open .faq__icon { transform: rotate(45deg); background: var(--text); border-color: var(--text); color: #0a0a0b; }

/* Answers: visible by default (grid row 1fr). Collapsible only when the list carries .faq--js. */
.faq__a { display: grid; grid-template-rows: 1fr; }
.faq__a-inner { min-height: 0; overflow: hidden; }
.faq__a p { max-width: 62ch; padding: 0 0 28px; color: var(--text-2); font-size: 1rem; line-height: 1.7; }

.faq--js .faq__a { grid-template-rows: 0fr; transition: grid-template-rows 0.5s var(--ease); }
.faq--js .is-open .faq__a { grid-template-rows: 1fr; }

@media (min-width: 1024px) {
  .faq__layout { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-8); align-items: start; }
  .faq__head { position: sticky; top: calc(var(--header-h) + 32px); }
}
