/* ============================================
   FAQ page
   Hero + accordion list grouped by category.
   Click a question to toggle the answer.
   ============================================ */

/* ---------- Hero ---------- */
.faq-hero {
  padding: 140px 0 80px;
  background: var(--white);
}
.faq-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 18px;
}
.faq-hero h1 {
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--black);
  margin: 0 0 20px;
  max-width: 720px;
}
.faq-hero-subtitle {
  font-size: 24px;
  line-height: 1.55;
  color: var(--warm-gray-700);
  max-width: 640px;
  margin: 0;
}

/* ---------- FAQ section ---------- */
.faq-section { padding: 64px 0 100px; }
.faq-section .container { max-width: 920px; }

.faq-category { margin-bottom: 56px; }
.faq-category:last-child { margin-bottom: 0; }
.faq-category-title {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 20px;
}

.faq-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.faq-item {
  border-bottom: 1px solid var(--warm-gray-100);
}
.faq-item:first-child { border-top: 1px solid var(--warm-gray-100); }

/* Question button — full-width clickable row */
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 22px 4px;
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: var(--font);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1.35;
  color: var(--warm-gray-800);
  transition: color 0.2s var(--ease-soft);
}
.faq-question:hover { color: var(--black); }
.faq-question:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 4px;
}

/* Chevron — rotates when item is open */
.faq-chev {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--warm-gray-500);
  transition: transform 0.35s var(--ease-soft), color 0.2s var(--ease-soft);
}
.faq-question:hover .faq-chev { color: var(--accent); }
.faq-item.is-open .faq-chev {
  transform: rotate(180deg);
  color: var(--accent);
}

/* Answer panel — collapses / expands via max-height */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease-soft);
}
.faq-item.is-open .faq-answer {
  max-height: 800px; /* generous; accommodates longest answer */
}
.faq-answer-inner {
  padding: 0 4px 28px;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--warm-gray-700);
  max-width: 760px;
}
.faq-answer-inner p { margin: 0 0 14px; }
.faq-answer-inner p:last-child { margin-bottom: 0; }
.faq-answer-inner strong { color: var(--warm-gray-800); font-weight: 600; }

/* ---------- Final CTA strip ---------- */
.faq-cta {
  margin-top: 72px;
  padding: 44px 40px;
  background: var(--off-white, #f7f7f5);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.faq-cta-text h3 {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--black);
  margin: 0 0 6px;
}
.faq-cta-text p {
  font-size: 16px;
  color: var(--warm-gray-700);
  margin: 0;
}

/* ---------- Mobile ---------- */
@media (max-width: 720px) {
  .faq-hero {
    padding: 100px 0 60px;
  }
  .faq-hero-subtitle { font-size: 17px; }
  .faq-section { padding: 48px 0 80px; }
  .faq-question { font-size: 17px; padding: 18px 4px; }
  .faq-answer-inner { font-size: 15.5px; }
  .faq-cta {
    padding: 32px 28px;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}
