/* =============================================================
   FAQ — аккордеон макета: карточки с янтарным «+», активный
   вопрос подсвечивает рамку. Нативные <details>/<summary>,
   плавное открытие анимирует faq.js.
   ============================================================= */
/* Секция FAQ — узкий центрированный блок: заголовок по центру,
   аккордеон 840px с автополями (как в макете). Общие правила для
   главной и страниц разделов. */
.faq-section__head {
  text-align: center;
  margin-bottom: 40px;
}
.faq-section__head h2,
.faq-section__head .faq-section__title {
  margin-bottom: 0;
  font-size: var(--fs-3xl);
}
.faq-section .faq {
  max-width: 840px;
  margin-inline: auto;
}

.faq {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq__item {
  background: var(--bg);
  border: 1px solid var(--bd);
  border-radius: 15px;
  overflow: hidden;
  transition: border-color .3s ease;
}
.faq__item[open] { border-color: var(--ac); }

.faq__q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: 100%;
  cursor: pointer;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--t1);
  padding: 19px 22px;
  list-style: none;
  transition: color var(--dur) var(--ease);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: "+";
  font-size: 19px;
  color: var(--ac);
  flex-shrink: 0;
  transition: transform .3s var(--ease-out);
  line-height: 1;
}
.faq__item[open] .faq__q::after { transform: rotate(45deg); }
.faq__q:hover { color: var(--ac); }

.faq__a {
  font-size: var(--fs-sm);
  color: var(--t2);
  line-height: 1.7;
  padding: 0 22px 20px;
  overflow: hidden;
  box-sizing: border-box;
  transition: height .38s var(--ease-out);
}
