/* ===== FAQ ===== */
.faq-section {
  padding: 60px 20px;
  background: #fafafa;  /* светло-серый фон для контраста */
}
.faq-section .container {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}
.faq-title {
  font-size: 2rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 24px;
  text-align: center;
}

/* Список аккордеона */
.faq-list {
  border-top: 1px solid rgba(0,0,0,0.08);
}
.faq-item + .faq-item {
  border-top: 1px solid rgba(0,0,0,0.08);
}

/* Вопрос */
.faq-question {
  width: 100%;
  padding: 18px 16px;
  background: none;
  border: none;
  outline: none;
  font-size: 1.125rem;
  font-weight: 600;
  color: #1f2937;
  text-align: left;
  position: relative;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-question .arrow {
  width: 12px;
  height: 12px;
  border-right: 2px solid #4b5563;
  border-bottom: 2px solid #4b5563;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}

/* Ответ (скрыт по умолчанию) */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 16px;
  font-size: 1rem;
  color: #4b5563;
  line-height: 1.6;
  transition: max-height 0.4s ease, padding-top 0.4s ease, padding-bottom 0.4s ease;
}

/* Открытый элемент */
.faq-item.open .faq-answer {
  padding: 16px;
  max-height: 500px; /* достаточно для любого текста */
}
.faq-item.open .faq-question .arrow {
  transform: rotate(-135deg);
}
