/* ═════════════════════════════════════════════════════════
   FAQ Page Styles
   ═════════════════════════════════════════════════════════ */

/* ── FAQ Layout ─────────────────────────────────────────── */
.faq-wrapper {
  max-width: 820px;
  margin: 0 auto;
  padding: 40px 24px 60px;
}

.faq-back-link {
  display: inline-flex;
  align-items: center;
  font-family: "Manrope", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: #126079;
  text-decoration: none;
  margin-bottom: 28px;
  padding: 6px 12px;
  border-radius: 8px;
  transition:
    background 0.15s,
    color 0.15s;
}
.faq-back-link:hover {
  background: #f0f7fa;
  color: #1d66af;
}

.faq-heading {
  font-family: "Manrope", sans-serif;
  font-size: 1.7rem;
  font-weight: 800;
  color: #1a2e3a;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.faq-subtitle {
  font-family: "Manrope", sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  color: #7a8d98;
  margin-bottom: 36px;
}

/* ── FAQ Accordion Items ────────────────────────────────── */
#faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid #e8ecf0;
}
.faq-item:first-child {
  border-top: 1px solid #e8ecf0;
}

.faq-question {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 4px;
  cursor: pointer;
  list-style: none;
  font-family: "Manrope", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1a2e3a;
  transition: color 0.15s;
  user-select: none;
}
.faq-question::-webkit-details-marker {
  display: none;
}
.faq-question::marker {
  content: "";
}
.faq-question:hover {
  color: #1d8baf;
}

.faq-num {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #f0f7fa;
  color: #1dafaf;
  font-size: 0.78rem;
  font-weight: 700;
  font-family: "Manrope", sans-serif;
  transition: background 0.15s, color 0.15s;
}

.faq-item[open] .faq-num {
  background: #1dafaf;
  color: #fff;
}

.faq-q-text {
  flex: 1;
  min-width: 0;
}

.faq-chevron {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f4f6f8;
  color: #888;
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1;
  transition:
    background 0.2s,
    color 0.2s,
    transform 0.2s;
}

.faq-item[open] .faq-chevron {
  background: #1dafaf;
  color: #fff;
  transform: rotate(180deg);
}

/* ── Answer ──────────────────────────────────────────────── */
.faq-answer {
  padding: 0 4px 20px 50px;
  font-family: "Manrope", sans-serif;
  font-size: 0.88rem;
  line-height: 1.7;
  color: #4a5c68;
  animation: faq-fade-in 0.25s ease;
}

@keyframes faq-fade-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.faq-answer p {
  margin: 0 0 12px;
}
.faq-answer p:last-child {
  margin-bottom: 0;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 640px) {
  .faq-wrapper {
    padding: 24px 16px 40px;
  }
  .faq-heading {
    font-size: 1.3rem;
  }
  .faq-question {
    font-size: 0.88rem;
    gap: 10px;
    padding: 14px 2px;
  }
  .faq-answer {
    padding-left: 46px;
    font-size: 0.82rem;
  }
  .faq-num {
    width: 28px;
    height: 28px;
    font-size: 0.72rem;
  }
}
