/* ==========================================================================
   Section 14: Frequently Asked Questions (FAQ)
   Clean accordion details/summary components
   ========================================================================== */

.faq-wrapper {
  max-width: 880px;
  margin: 48px auto 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 24px 28px;
  transition: all 0.22s ease;
}

.faq-item:hover {
  border-color: rgba(37, 99, 235, 0.25);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}

.faq-item[open] {
  border-color: rgba(37, 99, 235, 0.4);
  box-shadow: 0 12px 28px -5px rgba(37, 99, 235, 0.08);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.14rem;
  font-weight: 700;
  color: var(--color-text);
  list-style: none;
  cursor: pointer;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-toggle-icon {
  font-size: 1.4rem;
  color: var(--color-text-secondary);
  line-height: 1;
  margin-left: 12px;
  transition: transform 0.2s ease, color 0.2s ease;
}

.faq-item[open] .faq-toggle-icon {
  transform: rotate(45deg);
  color: var(--color-accent);
}

.faq-answer {
  margin-top: 16px;
  font-size: 0.98rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  border-top: 1px solid var(--color-border);
  padding-top: 16px;
}