@import url(https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Vollkorn:wght@600;700&display=swap);


/* ─── Section Shell ───────────────────────────────────────────────────────── */
.faq {
  width: 100%;
  box-sizing: border-box;
}

/* ─── Inner Wrapper ───────────────────────────────────────────────────────── */
.faq__inner {
  width: 100%;
  max-width: 48rem;
  margin: 0 auto;
  padding: 64px 2rem;
  box-sizing: border-box;
}

/* ─── Header ──────────────────────────────────────────────────────────────── */
.faq__header {
  font-family: 'Vollkorn', Georgia, serif;
  font-weight: 700;
  font-size: clamp(32px, 3vw, 48px);
  line-height: 1.15;
  color: #271d3b;
  text-align: center;
  margin: 0 0 48px;
}

/* ─── List ────────────────────────────────────────────────────────────────── */
.faq__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid #d9cfe8;
}

/* ─── Item ────────────────────────────────────────────────────────────────── */
.faq__item {
  border-bottom: 1px solid #d9cfe8;
}

/* ─── Question Button ─────────────────────────────────────────────────────── */
.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 24px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.4;
  color: #271d3b;
  transition: color 0.2s ease;
}

.faq__question:hover {
  color: rgba(39, 29, 59, 0.6);
}

/* ─── Chevron ─────────────────────────────────────────────────────────────── */
.faq__chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: currentColor;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq__item--open .faq__chevron {
  transform: rotate(180deg);
}

/* ─── Answer — CSS grid expand technique ─────────────────────────────────── */
.faq__answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq__item--open .faq__answer {
  grid-template-rows: 1fr;
}

.faq__answer-inner {
  overflow: hidden;
}

.faq__answer-text {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.625;
  color: #271d3b;
  margin: 0;
  padding-bottom: 28px;
  white-space: pre-line;
}

/* ─── Reduced Motion ──────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .faq__answer,
  .faq__chevron {
    transition: none;
  }
}

/* ─── Responsive: Tablet (≤ 991px) ───────────────────────────────────────── */
@media (max-width: 991px) {
  .faq__inner {
    padding: 56px 2rem;
  }

  .faq__header {
    font-size: clamp(28px, 3.5vw, 36px);
    margin-bottom: 36px;
  }

  .faq__question {
    font-size: 17px;
    padding: 20px 0;
  }
}

/* ─── Responsive: Mobile Landscape (≤ 767px) ─────────────────────────────── */
@media (max-width: 767px) {
  .faq__inner {
    padding: 40px 2rem;
  }

  .faq__header {
    font-size: clamp(26px, 4vw, 30px);
    margin-bottom: 28px;
  }

  .faq__question {
    font-size: 16px;
    padding: 18px 0;
    gap: 16px;
  }

  .faq__answer-text {
    font-size: 15px;
  }
}

/* ─── Responsive: Mobile Portrait (≤ 479px) ──────────────────────────────── */
@media (max-width: 479px) {
  .faq__inner {
    padding: 32px 2rem;
  }

  .faq__header {
    font-size: 24px;
    margin-bottom: 24px;
  }

  .faq__question {
    font-size: 15px;
    padding: 16px 0;
    gap: 12px;
  }

  .faq__chevron {
    width: 18px;
    height: 18px;
  }

  .faq__answer-text {
    font-size: 14px;
    padding-bottom: 20px;
  }
}

