.page-faq {
  --faq-toc-w: 216px;
  --faq-gap: clamp(18px, 2.6vw, 34px);
  --faq-hero-txt: rgba(246, 241, 231, 0.84);
  --faq-line-gold-soft: rgba(230, 207, 154, 0.28);
}

/* ---------- 首屏：框景 + 非对称双栏 ---------- */
.page-faq .faq-hero {
  position: relative;
  overflow: hidden;
  color: var(--cream);
  background:
    radial-gradient(115% 85% at 88% 6%, rgba(201, 165, 91, 0.24), transparent 60%),
    linear-gradient(158deg, var(--ink-900) 0%, var(--ink-700) 62%, #123A30 100%);
  padding: clamp(16px, 3vw, 28px) 0 clamp(30px, 5vw, 64px);
}

.page-faq .faq-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(230, 207, 154, 0.09) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(230, 207, 154, 0.09) 1px, transparent 1px);
  background-size: 58px 58px;
  -webkit-mask-image: radial-gradient(78% 72% at 72% 20%, #000 0%, transparent 74%);
  mask-image: radial-gradient(78% 72% at 72% 20%, #000 0%, transparent 74%);
  pointer-events: none;
}

.page-faq .faq-hero-frame {
  position: relative;
  z-index: 1;
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid var(--line-gold);
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.045), rgba(255, 253, 248, 0.012));
}

.page-faq .faq-hero-frame::before {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  top: 8px;
  height: 5px;
  background: repeating-linear-gradient(to right, var(--line-gold-strong) 0 1px, transparent 1px 16px);
  opacity: 0.55;
  pointer-events: none;
}

.page-faq .faq-hero-frame::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 8px;
  bottom: 8px;
  width: 5px;
  background: repeating-linear-gradient(to bottom, var(--line-gold-strong) 0 1px, transparent 1px 16px);
  opacity: 0.45;
  pointer-events: none;
}

.page-faq .breadcrumb {
  margin-bottom: clamp(16px, 2.4vw, 26px);
}

.page-faq .breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(246, 241, 231, 0.62);
}

.page-faq .breadcrumb-list > li + li::before {
  content: "/";
  margin-right: 8px;
  color: rgba(230, 207, 154, 0.45);
}

.page-faq .breadcrumb-link {
  color: var(--gold-300);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.18s ease, color 0.18s ease;
}

.page-faq .breadcrumb-link:hover,
.page-faq .breadcrumb-link:focus-visible {
  border-bottom-color: var(--gold-500);
  color: var(--paper);
}

.page-faq .breadcrumb-current {
  color: rgba(246, 241, 231, 0.86);
}

.page-faq .faq-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(22px, 3.4vw, 40px);
  align-items: start;
}

.page-faq .faq-hero .kicker {
  display: inline-block;
  margin: 0;
  padding-left: 10px;
  border-left: 2px solid var(--gold-500);
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-300);
}

.page-faq .faq-hero h1 {
  margin: 12px 0 0;
  font-family: var(--font-head);
  font-size: clamp(26px, 5.2vw, 44px);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: 0.01em;
  color: var(--paper);
}

.page-faq .faq-hero-lede {
  margin: clamp(14px, 2vw, 20px) 0 0;
  max-width: 62ch;
  font-size: clamp(14.5px, 1.6vw, 16.5px);
  line-height: 1.78;
  color: var(--faq-hero-txt);
}

/* 六步路径 */
.page-faq .step-map {
  display: block;
  width: 100%;
  max-width: 440px;
  height: auto;
  margin: clamp(20px, 2.6vw, 28px) 0 14px;
  color: var(--gold-500);
}

.page-faq .step-map .ring {
  fill: rgba(14, 42, 36, 0.88);
  stroke: currentColor;
  stroke-width: 1.4;
}

.page-faq .step-map .dot {
  fill: var(--gold-300);
  stroke: none;
}

.page-faq .step-list {
  counter-reset: faqstep;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-faq .step-item {
  position: relative;
  counter-increment: faqstep;
  padding-left: 36px;
  font-size: 14px;
  line-height: 1.62;
  color: var(--faq-hero-txt);
}

.page-faq .step-item::before {
  content: counter(faqstep, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  background: var(--gold-500);
  color: var(--ink-900);
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.06em;
  line-height: 1;
}

/* 高频问题面板 */
.page-faq .faq-quick {
  position: relative;
  padding: clamp(18px, 2.4vw, 24px);
  border: 1px solid var(--line-gold);
  border-radius: var(--radius-panel);
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.11), rgba(255, 253, 248, 0.035));
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-float);
}

.page-faq .quick-title {
  margin: 0 0 14px;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--gold-300);
}

.page-faq .quick-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}

.page-faq .quick-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 8px;
  border-radius: 8px;
  border-bottom: 1px solid var(--faq-line-gold-soft);
  color: var(--cream);
  font-size: 14px;
  line-height: 1.42;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease;
}

.page-faq .quick-list > li:last-child .quick-link {
  border-bottom-color: transparent;
}

.page-faq .quick-link:hover,
.page-faq .quick-link:focus-visible {
  background: rgba(201, 165, 91, 0.15);
  color: var(--gold-300);
}

.page-faq .quick-num {
  flex: none;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  background: var(--gold-500);
  color: var(--ink-900);
  font-size: 11px;
  letter-spacing: 0.06em;
  line-height: 1.4;
}

/* ---------- 正文：旁注索引 + 折叠问答 ---------- */
.page-faq .faq-body {
  background: var(--cream);
  padding-block: clamp(32px, 5vw, 68px);
}

.page-faq .faq-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--faq-gap);
  align-items: start;
}

.page-faq .faq-toc {
  padding: 18px;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}

.page-faq .toc-title {
  margin: 0 0 10px;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.page-faq .faq-toc .toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}

.page-faq .faq-toc .toc-link {
  display: block;
  padding: 8px 10px;
  border-left: 2px solid transparent;
  border-radius: 0 6px 6px 0;
  color: var(--ink-700);
  font-size: 13px;
  line-height: 1.45;
  text-decoration: none;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.page-faq .faq-toc .toc-link:hover,
.page-faq .faq-toc .toc-link:focus-visible {
  background: rgba(201, 165, 91, 0.13);
  border-left-color: var(--gold-500);
  color: var(--ink-900);
}

.page-faq .toc-actions {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--line-gold);
}

/* 分组 */
.page-faq .faq-group {
  margin-bottom: clamp(30px, 4.4vw, 54px);
  scroll-margin-top: 104px;
}

.page-faq .faq-groups > .faq-group:last-child {
  margin-bottom: 0;
}

.page-faq .group-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 6px 14px;
  align-items: baseline;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-soft);
}

.page-faq .group-num {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--brick-500);
}

.page-faq .group-title {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(19px, 2.6vw, 25px);
  line-height: 1.35;
  color: var(--ink-900);
}

.page-faq .group-lede {
  grid-column: 1 / -1;
  margin: 2px 0 0;
  max-width: 68ch;
  font-size: 14px;
  line-height: 1.78;
  color: var(--ink-500);
}

/* 手风琴 */
.page-faq .qa-list {
  display: grid;
  gap: 10px;
}

.page-faq .qa-item {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--line-gold);
  border-radius: 4px var(--radius-card) var(--radius-card) 4px;
  box-shadow: 0 10px 22px -20px rgba(14, 42, 36, 0.7);
  transition: border-left-color 0.18s ease, box-shadow 0.18s ease;
}

.page-faq .qa-item:hover {
  border-left-color: var(--gold-500);
}

.page-faq .qa-item[open] {
  border-left-color: var(--gold-500);
  box-shadow: var(--shadow-card);
}

.page-faq .qa-q {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px clamp(14px, 2vw, 20px);
  cursor: pointer;
  list-style: none;
  font-family: var(--font-head);
  font-size: clamp(15px, 1.9vw, 17px);
  font-weight: 700;
  line-height: 1.55;
  color: var(--ink-900);
}

.page-faq .qa-q::-webkit-details-marker {
  display: none;
}

.page-faq .qa-q::marker {
  content: "";
}

.page-faq .qa-q::after {
  content: "+";
  flex: none;
  margin-left: auto;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.1;
  color: var(--gold-700);
}

.page-faq .qa-item[open] .qa-q::after {
  content: "−";
}

.page-faq .qa-index {
  flex: none;
  margin-top: 3px;
  padding: 2px 6px;
  border: 1px solid rgba(156, 74, 60, 0.35);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1.4;
  color: var(--brick-500);
}

.page-faq .qa-text {
  flex: 1 1 auto;
  min-width: 0;
}

.page-faq .qa-a {
  padding: 0 clamp(14px, 2vw, 20px) 18px;
  font-size: 15px;
  line-height: 1.82;
  color: var(--ink-700);
}

.page-faq .qa-a p {
  margin: 0 0 10px;
}

.page-faq .qa-a p:last-child {
  margin-bottom: 0;
}

.page-faq .qa-a a {
  color: var(--gold-700);
  text-decoration: none;
  border-bottom: 1px solid var(--line-gold);
  transition: color 0.18s ease, border-color 0.18s ease;
}

.page-faq .qa-a a:hover,
.page-faq .qa-a a:focus-visible {
  color: var(--ink-900);
  border-bottom-color: var(--ink-700);
}

/* 答案内清单：棋盘格状态点 */
.page-faq .qa-points {
  list-style: none;
  margin: 10px 0 12px;
  padding: 0;
  display: grid;
  gap: 8px;
}

.page-faq .qa-points li {
  position: relative;
  padding: 9px 12px 9px 32px;
  border-radius: 6px;
  background: var(--cream);
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-700);
}

.page-faq .qa-points li::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  width: 9px;
  height: 9px;
  margin-top: -4.5px;
  border-radius: 1px;
  background: var(--gold-500);
}

.page-faq .qa-points li:nth-child(even)::before {
  background: var(--brick-500);
}

/* 配图 */
.page-faq .faq-media {
  margin: 0 0 18px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-card);
  background: var(--paper);
  box-shadow: var(--shadow-card);
}

.page-faq .faq-media img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.page-faq .faq-media .media-caption {
  padding: 10px 14px;
  border-top: 1px dashed var(--line-gold);
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--muted);
}

/* 联系信息卡 */
.page-faq .faq-contact {
  display: grid;
  gap: 12px;
  margin-top: 14px;
  padding: clamp(16px, 2.2vw, 22px);
  border: 1px solid rgba(201, 165, 91, 0.34);
  border-radius: var(--radius-panel);
  background: var(--ink-900);
  color: var(--cream);
}

.page-faq .faq-contact .contact-label {
  margin: 0 0 4px;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--gold-300);
}

.page-faq .faq-contact .contact-value {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--cream);
  word-break: break-word;
  overflow-wrap: anywhere;
}

.page-faq .faq-contact .contact-note {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 10px;
  border-top: 1px dashed var(--faq-line-gold-soft);
  font-size: 12.5px;
  line-height: 1.72;
  color: rgba(246, 241, 231, 0.7);
}

/* ---------- 响应式 ---------- */
@media (min-width: 560px) {
  .page-faq .qa-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-faq .faq-contact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 620px) {
  .page-faq .step-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 18px;
  }
}

@media (min-width: 860px) {
  .page-faq .faq-hero-grid {
    grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr);
  }
}

@media (min-width: 900px) {
  .page-faq .faq-layout {
    grid-template-columns: var(--faq-toc-w) minmax(0, 1fr);
  }

  .page-faq .faq-toc {
    position: sticky;
    top: 92px;
  }
}

@media (max-width: 420px) {
  .page-faq .faq-hero-frame {
    padding: 16px 14px 20px;
  }

  .page-faq .qa-q {
    gap: 9px;
  }

  .page-faq .quick-link {
    font-size: 13.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-faq .qa-item,
  .page-faq .quick-link,
  .page-faq .faq-toc .toc-link,
  .page-faq .breadcrumb-link {
    transition: none;
  }
}
