/* FAQ section — Figma node 315:9 "faq-section"
   Page-level position: left:0; top:7506px; width:1440px; height:937px
   Fonts required: Inter, Playfair Display (see HEAD_NOTES.txt) */

.faq-section {
  position: absolute;
  left: 0;
  top: 7506px;
  width: 1440px;
  min-height: 937px;
  box-sizing: border-box;
  padding: 13px 160px 100px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* ---------- Header (315:55) ---------- */
.faq-header {
  text-align: center;
  margin-bottom: 24px;
}

.faq-eyebrow {
  margin: 0 0 15px;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #debf69;
}

.faq-title {
  margin: 0 0 12px;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
  font-size: 40px;
  line-height: 1.2;
  background-image: linear-gradient(172.37deg, #b48830 5.75%, #e4be5b 30.93%, #ffe187 55.38%, #e4be5b 79.83%, #9f7123 116.5%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.faq-title em {
  font-style: italic;
  font-weight: 400;
}

.faq-subtitle {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: #a1d9fa;
  opacity: 0.9;
}

/* ---------- List container (315:57) ---------- */
.faq-list {
  background-color: #0b1f3a;
  border: 1px solid rgba(51, 77, 115, 0.4);
  border-radius: 20px;
  box-shadow: 0px 10px 28px -10px rgba(0, 0, 0, 0.2);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ---------- Item ---------- */
.faq-item {
  border-bottom: 1px solid rgba(51, 77, 115, 0.4);
  border-radius: 14px;
  overflow: hidden;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}

.faq-question-text {
  flex: 1 1 auto;
  font-weight: 500;
  font-size: 18px;
  line-height: normal;
  color: #ffffff;
}

.faq-question-text--open,
.faq-item.is-open .faq-question-text {
  font-weight: 600;
}

/* ---------- Icon (plus <-> chevron-down swap) ---------- */
.faq-icon {
  position: relative;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.faq-icon-plus,
.faq-icon-chevron {
  position: absolute;
  inset: 0;
  width: 20px;
  height: 20px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.faq-icon-chevron {
  opacity: 0;
  transform: rotate(-90deg);
}

.faq-item.is-open .faq-icon-plus {
  opacity: 0;
  transform: rotate(90deg);
}

.faq-item.is-open .faq-icon-chevron {
  opacity: 1;
  transform: rotate(0deg);
}

/* ---------- Answer (collapsible) ---------- */
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.25s ease, opacity 0.2s ease;
  padding: 0 20px;
}

.faq-answer > p {
  margin: 0;
  overflow: hidden;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(178, 191, 204, 0.7);
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
  opacity: 1;
  padding: 0 20px 18px;
}

.faq-answer > div,
.faq-answer {
  min-height: 0;
}
