/* ==========================================================================
   FAQ PAGE
   ========================================================================== */

.faq-container {
  max-width: 820px;
}

.faq-category {
  margin-bottom: 56px;
}
.faq-category:last-child { margin-bottom: 0; }

.faq-category-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 8px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--hairline);
}

.faq-item {
  border-bottom: 1px solid var(--hairline);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
}
.faq-question:hover { color: var(--signal-deep); }

.faq-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--hairline);
  border-radius: 50%;
  font-size: 1rem;
  color: var(--signal);
  transition: transform 0.25s ease, background 0.2s ease;
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
  background: var(--signal);
  color: var(--paper-raised);
  border-color: var(--signal);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.is-open .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding: 0 0 24px;
  color: var(--slate);
  font-size: 0.95rem;
  line-height: 1.65;
  max-width: 680px;
}

.faq-answer a { color: var(--signal-deep); text-decoration: underline; text-decoration-color: var(--signal-tint); }
.faq-answer a:hover { color: var(--ink); }

@media (max-width: 600px) {
  .faq-question { font-size: 0.95rem; padding: 18px 0; }
  .faq-category-title { font-size: 1.3rem; }
}
