/**
 * FAQ — Accordion with brutalist styling
 */

.section-faq .section-label {
  font-size: var(--font-size-sm);
  letter-spacing: 0.2em;
  margin-bottom: var(--space-6);
}

.section-desc--faq {
  margin-top: var(--space-5);
  max-width: 700px;
}

/* ==================== FAQ LIST ==================== */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.faq-item {
  background: var(--color-bg-white);
  border: 2px solid var(--color-navy);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  transition: box-shadow var(--transition-fast);
}

.faq-item:hover {
  box-shadow: var(--shadow-subtle-hover);
}

.faq-item.is-open {
  box-shadow: var(--shadow-brutal);
}

/* ==================== QUESTION ==================== */

.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.faq-item__question:hover {
  background: rgba(245, 242, 236, 0.3);
}

.faq-item__question h3 {
  font-family: var(--font-body);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-lg);
  color: var(--color-text-primary);
  line-height: 1.4;
  margin-bottom: 0;
}

/* ==================== CHEVRON ==================== */

.faq-item__chevron {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--color-navy);
  border-bottom: 2px solid var(--color-navy);
  transform: rotate(45deg);
  transition: transform var(--transition-fast);
  margin-right: var(--space-2);
}

.faq-item.is-open .faq-item__chevron {
  transform: rotate(-135deg);
}

/* ==================== ANSWER ==================== */

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.2s ease;
  opacity: 0;
}

.faq-item.is-open .faq-item__answer {
  max-height: 500px;
  opacity: 1;
}

.faq-item__answer-inner {
  padding: var(--space-4) var(--space-6) var(--space-5) var(--space-6);
  border-top: 1px solid var(--color-border);
}

.faq-item__answer-inner p {
  font-family: var(--font-body);
  font-size: var(--font-size-lg);
  color: var(--color-text-secondary);
  line-height: 1.65;
}

/* ==================== RESPONSIVE ==================== */

@media (min-width: 1024px) {
  .faq-item__question {
    padding: var(--space-5) var(--space-8);
  }

  .faq-item__answer-inner {
    padding: var(--space-4) var(--space-8) var(--space-6) var(--space-8);
  }
}
