/* ==========================================================================
   faq.css — FAQ page
   Tabs, questions, answers.
   Self-contained: every value is written out (no CSS variables) and every
   selector has its own rule, so changing one block never touches another.
   ========================================================================== */

/* ── .faq-question ── */
.faq-question:hover {
  color: #805b81;
}

/* ── .faq-arrow ── */
.faq-arrow {
  font-size: 1.2rem;
  transition: transform 0.3s;
  flex-shrink: 0;
  color: #4a154b;
}

/* ── .faq-section ── */
.faq-section {
  margin-bottom: 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ── .faq-item ── */
.faq-item {
  background: #fff;
  border: 1.5px solid #e0c8e8;
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.3s cubic-bezier(0.4,0,0.2,1), box-shadow 0.3s cubic-bezier(0.4,0,0.2,1);
}

.faq-item:hover {
  border-color: #4a154b;
}

.faq-item.open {
  border-color: #4a154b;
}

.faq-item.open {
  box-shadow: 0 6px 24px #4a154b1f;
}

/* ── .faq-question ── */
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  font-weight: 600;
  color: #4a154b;
  cursor: pointer;
  transition: background 0.3s cubic-bezier(0.4,0,0.2,1), color 0.3s cubic-bezier(0.4,0,0.2,1);
}

.faq-question:hover {
  background: #f9f0fa;
  color: #805b81;
}

/* ── .faq-item ── */
.faq-item.open .faq-arrow {
  transform: rotate(180deg);
}

/* ── .faq-answer ── */
.faq-answer {
  display: none;
  padding: 0 22px 20px;
  color: #4a154bd6;
  line-height: 1.8;
  font-size: .93rem;
}

/* ── .faq-item ── */
.faq-item.open .faq-answer {
  display: block;
}

/* ── .faq-tab-btn ── */
.faq-tab-btn {
  transition: color .25s ease, background-color .25s ease, border-color .25s ease, box-shadow .25s ease, transform .25s ease, text-decoration-color .25s ease;
}

.faq-tab-btn:hover {
  background: #f0e0f2;
  border-color: #4a154b;
  color: #4a154b;
}

.faq-tab-btn:hover {
  text-decoration: none;
}
