/* ============================================
   Block: faq — аккордеон частых вопросов
   ============================================ */

.b-faq {
  padding: 48px 0 72px;
  background: var(--bg, #F7F3EC);
  color: var(--text, #3B3437);
  font-family: 'Manrope', sans-serif;
}

.b-faq__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 500;
  margin: 0 0 32px;
  text-align: center;
}

.b-faq__list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Элемент аккордеона */

.b-faq__item {
  background: var(--surface, #FDFBF7);
  border: 1px solid var(--line, #E4DCD2);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color .2s;
}

.b-faq__item[open] {
  border-color: var(--lavender, #B9A7C9);
}

.b-faq__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  transition: color .2s;
}

.b-faq__question::-webkit-details-marker {
  display: none;
}

.b-faq__question:hover {
  color: var(--accent, #6E5A7E);
}

/* Стрелка */

.b-faq__chevron {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--accent, #6E5A7E);
  border-bottom: 2px solid var(--accent, #6E5A7E);
  transform: rotate(45deg);
  transition: transform .25s ease;
  margin-top: -4px;
}

.b-faq__item[open] .b-faq__chevron {
  transform: rotate(-135deg);
  margin-top: 4px;
}

/* Ответ */

.b-faq__answer {
  padding: 0 22px 20px;
}

.b-faq__answer p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted, #8A7F7A);
  padding-top: 16px;
  border-top: 1px dashed var(--line, #E4DCD2);
}

@media (max-width: 480px) {
  .b-faq {
    padding: 32px 0 48px;
  }

  .b-faq__question {
    padding: 16px;
    font-size: 15px;
  }

  .b-faq__answer {
    padding: 0 16px 16px;
  }
}
