.page-faq {
  --faq-card-bg: #FFFDF7;
  --faq-radius: 24px;
  --faq-sticky-top: 0.75rem;
  background: var(--ivory);
}

/* ---------- 首屏 ---------- */
.page-faq .faq-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(1.75rem, 4vw, 2.75rem) 0 clamp(2.25rem, 5vw, 3.5rem);
  color: var(--ivory);
  background:
    radial-gradient(120% 90% at 86% 6%, rgba(201, 162, 39, .24), transparent 58%),
    linear-gradient(158deg, var(--red) 0%, var(--red-deep) 60%, var(--red-ink) 100%);
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
}

.page-faq .faq-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .6;
  background-image:
    repeating-linear-gradient(90deg, rgba(231, 206, 122, .10) 0 1px, transparent 1px 68px),
    repeating-linear-gradient(0deg, rgba(231, 206, 122, .07) 0 1px, transparent 1px 68px);
}

.page-faq .faq-hero__inner {
  position: relative;
  z-index: 1;
}

.page-faq .faq-hero .breadcrumb {
  margin-bottom: 1.5rem;
  color: rgba(247, 242, 231, .72);
}

.page-faq .faq-hero .breadcrumb a {
  color: rgba(247, 242, 231, .86);
  text-decoration: none;
  border-bottom: 1px solid rgba(231, 206, 122, .4);
}

.page-faq .faq-hero .breadcrumb a:hover,
.page-faq .faq-hero .breadcrumb a:focus-visible {
  color: var(--gold-light);
}

.page-faq .faq-hero .eyebrow {
  color: var(--gold-light);
  letter-spacing: .18em;
}

.page-faq .faq-hero__title {
  margin: .5rem 0 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 6.2vw, 3.75rem);
  line-height: 1.06;
  letter-spacing: -.02em;
  color: var(--ivory);
}

.page-faq .faq-hero__lead {
  margin: 1.25rem 0 0;
  max-width: 60ch;
  font-size: clamp(1rem, 1.4vw, 1.075rem);
  line-height: 1.8;
  color: rgba(247, 242, 231, .88);
}

.page-faq .faq-hero__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.25rem;
  margin: clamp(1.75rem, 4vw, 2.5rem) 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(231, 206, 122, .3);
}

.page-faq .faq-stat {
  min-width: 0;
}

.page-faq .faq-stat__value {
  margin: 0;
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  font-weight: 700;
  color: var(--gold-light);
  font-variant-numeric: tabular-nums;
}

.page-faq .faq-stat__label {
  margin: .3rem 0 0;
  font-size: .82rem;
  line-height: 1.55;
  color: rgba(247, 242, 231, .7);
}

/* ---------- 主体骨架 ---------- */
.page-faq .faq-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
  padding: clamp(1.75rem, 4vw, 3rem) var(--gutter) clamp(3rem, 7vw, 5.5rem);
  box-sizing: border-box;
}

/* ---------- 场景目录（移动端：吸顶横向胶囊） ---------- */
.page-faq .faq-toc {
  position: sticky;
  top: 0;
  z-index: 8;
  margin-inline: calc(var(--gutter) * -1);
  padding: .7rem var(--gutter);
  background: rgba(247, 242, 231, .95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.page-faq .faq-toc__title {
  display: none;
  margin: 0 0 .85rem;
  font-size: .78rem;
  letter-spacing: .16em;
  color: var(--muted);
}

.page-faq .faq-toc__list {
  display: flex;
  gap: .5rem;
  margin: 0;
  padding: 0 0 .1rem;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.page-faq .faq-toc__list::-webkit-scrollbar {
  display: none;
}

.page-faq .faq-toc__list > li {
  flex: 0 0 auto;
}

.page-faq .faq-toc__link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .48rem .85rem;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--faq-card-bg);
  color: var(--ink);
  font-size: .85rem;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color .24s var(--ease), background .24s var(--ease), color .24s var(--ease);
}

.page-faq .faq-toc__link:hover,
.page-faq .faq-toc__link:focus-visible {
  border-color: var(--line-gold);
  background: rgba(201, 162, 39, .12);
  color: var(--red);
}

.page-faq .faq-toc__link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.page-faq .faq-toc__num {
  font-size: .72rem;
  font-weight: 700;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

/* ---------- 章节 ---------- */
.page-faq .faq-sec {
  scroll-margin-top: 4.5rem;
  padding-bottom: clamp(1.75rem, 3.6vw, 2.75rem);
  margin-bottom: clamp(1.75rem, 3.6vw, 2.75rem);
  border-bottom: 1px solid var(--line);
}

.page-faq .faq-sec:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.page-faq .faq-sec__head {
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr);
  column-gap: .5rem;
  margin-bottom: 1.35rem;
}

.page-faq .faq-sec__idx {
  grid-column: 1;
  grid-row: 1;
  padding-top: .35rem;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--gold);
}

.page-faq .faq-sec__title {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  line-height: 1.3;
  letter-spacing: -.01em;
  color: var(--red);
}

.page-faq .faq-sec__lead {
  grid-column: 2;
  grid-row: 2;
  margin: .55rem 0 0;
  max-width: 64ch;
  font-size: .98rem;
  line-height: 1.8;
  color: var(--muted);
}

/* ---------- 步骤 ---------- */
.page-faq .steps {
  margin: 0 0 1.35rem;
  padding: 0;
  list-style: none;
}

.page-faq .steps__item {
  position: relative;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: .85rem;
  padding-bottom: 1rem;
}

.page-faq .steps__item:last-child {
  padding-bottom: 0;
}

.page-faq .steps__item::before {
  content: "";
  position: absolute;
  left: 14.5px;
  top: 34px;
  bottom: 4px;
  width: 1px;
  background: linear-gradient(180deg, var(--line-gold), rgba(201, 162, 39, 0));
}

.page-faq .steps__item:last-child::before {
  display: none;
}

.page-faq .steps__num {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line-gold);
  border-radius: 50%;
  background: var(--ivory);
  color: var(--red);
  font-size: .76rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.page-faq .steps__item p {
  margin: .18rem 0 0;
  font-size: .96rem;
  line-height: 1.78;
  color: var(--black);
}

/* ---------- 问答折叠 ---------- */
.page-faq .faq {
  display: grid;
  gap: .7rem;
}

.page-faq .faq__item {
  border: 1px solid var(--line);
  border-radius: var(--faq-radius);
  background: var(--faq-card-bg);
  box-shadow: 0 12px 28px -26px rgba(94, 15, 33, .6);
  transition: border-color .24s var(--ease), box-shadow .24s var(--ease);
}

.page-faq .faq__item[open] {
  border-color: var(--line-gold);
  box-shadow: 0 20px 40px -30px rgba(94, 15, 33, .6);
}

.page-faq .faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border-radius: var(--faq-radius);
  cursor: pointer;
  list-style: none;
  font-size: .98rem;
  font-weight: 600;
  line-height: 1.6;
  color: var(--black);
}

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

.page-faq .faq__q:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.page-faq .faq__mark {
  position: relative;
  flex: none;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid var(--line-gold);
  border-radius: 50%;
  transition: transform .24s var(--ease), background .24s var(--ease), border-color .24s var(--ease);
}

.page-faq .faq__mark::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: -2px;
  border-right: 2px solid var(--red);
  border-bottom: 2px solid var(--red);
  transform: rotate(45deg);
  transition: transform .24s var(--ease), border-color .24s var(--ease);
}

.page-faq .faq__item[open] .faq__mark {
  background: var(--red);
  border-color: var(--red);
  transform: rotate(90deg);
}

.page-faq .faq__item[open] .faq__mark::before {
  border-color: var(--gold-light);
}

.page-faq .faq__a {
  padding: 0 1.15rem 1.15rem;
  font-size: .93rem;
  line-height: 1.8;
  color: var(--ink-mid);
}

.page-faq .faq__a p {
  margin: 0 0 .6rem;
}

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

.page-faq .faq__item[open] .faq__a {
  animation: faq-reveal 240ms var(--ease) both;
}

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

/* ---------- 图文分栏 ---------- */
.page-faq .faq-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.page-faq .faq-split__body {
  min-width: 0;
}

.page-faq .faq-split__media {
  min-width: 0;
}

.page-faq .faq-chart-figure {
  margin-bottom: 1.35rem;
}

/* ---------- 图表解读 ---------- */
.page-faq .chart-band {
  margin-bottom: 1.35rem;
  padding: clamp(1.15rem, 3vw, 1.85rem);
  border-radius: 32px;
  color: var(--ivory);
  background:
    radial-gradient(100% 80% at 10% 0%, rgba(44, 140, 134, .24), transparent 62%),
    linear-gradient(160deg, var(--ink) 0%, #14294a 100%);
}

.page-faq .chart-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: .9rem;
}

.page-faq .chart-card {
  padding: 1.05rem 1.1rem 1.15rem;
  border: 1px solid rgba(231, 206, 122, .24);
  border-radius: 20px;
  background: rgba(247, 242, 231, .06);
}

.page-faq .chart-card svg {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: .85rem;
}

.page-faq .chart-card h3 {
  margin: 0 0 .45rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold-light);
}

.page-faq .chart-card p {
  margin: .45rem 0 0;
  font-size: .89rem;
  line-height: 1.78;
  color: rgba(247, 242, 231, .84);
}

/* ---------- 导航说明卡 ---------- */
.page-faq .nav-cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: .9rem;
  margin-bottom: 1.35rem;
}

.page-faq .nav-card {
  padding: 1.15rem 1.2rem 1.25rem;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 20px;
  background: var(--faq-card-bg);
}

.page-faq .nav-card__tag {
  margin: 0 0 .4rem;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--gold);
}

.page-faq .nav-card h3 {
  margin: 0 0 .5rem;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--red);
}

.page-faq .nav-card p {
  margin: 0;
  font-size: .93rem;
  line-height: 1.8;
  color: var(--ink-mid);
}

/* ---------- 联系 ---------- */
.page-faq .contact-cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: .9rem;
  margin-bottom: 1.25rem;
}

.page-faq .contact-card {
  padding: 1.15rem 1.2rem 1.25rem;
  border-radius: 22px;
  border: 1px solid rgba(201, 162, 39, .32);
  background:
    linear-gradient(150deg, rgba(140, 29, 51, .06), rgba(15, 30, 54, .04));
}

.page-faq .contact-card__label {
  margin: 0 0 .45rem;
  font-size: .76rem;
  letter-spacing: .14em;
  color: var(--muted);
}

.page-faq .contact-card__value {
  margin: 0;
  font-size: clamp(.95rem, 2.2vw, 1.12rem);
  font-weight: 700;
  color: var(--red);
  word-break: break-all;
}

.page-faq .contact-card__hint {
  margin: .55rem 0 0;
  font-size: .87rem;
  line-height: 1.72;
  color: var(--muted);
}

.page-faq .ask-box {
  padding: 1.25rem 1.2rem 1.3rem;
  border-radius: 24px;
  background: var(--ink);
  color: rgba(247, 242, 231, .86);
}

.page-faq .ask-box__title {
  margin: 0 0 .85rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold-light);
}

.page-faq .ask-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .55rem;
}

.page-faq .ask-list li {
  position: relative;
  padding-left: 1.15rem;
  font-size: .9rem;
  line-height: 1.75;
}

.page-faq .ask-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .68em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--jade);
}

.page-faq .ask-box__foot {
  margin: 1rem 0 0;
  padding-top: .9rem;
  border-top: 1px solid rgba(231, 206, 122, .26);
  font-size: .87rem;
  line-height: 1.85;
}

.page-faq .ask-box__foot a {
  color: var(--gold-light);
  text-decoration: none;
  border-bottom: 1px solid rgba(231, 206, 122, .45);
}

.page-faq .ask-box__foot a:hover,
.page-faq .ask-box__foot a:focus-visible {
  color: var(--ivory);
  border-bottom-color: var(--gold-light);
}

/* ---------- 断点 ---------- */
@media (min-width: 640px) {
  .page-faq .faq-hero__stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
  }

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

@media (min-width: 820px) {
  .page-faq .faq-split {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: clamp(1.5rem, 3vw, 2.25rem);
  }

  .page-faq .faq-split__media {
    position: sticky;
    top: 6rem;
  }

  .page-faq .chart-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }
}

@media (min-width: 960px) {
  .page-faq .faq-shell {
    grid-template-columns: 232px minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: start;
  }

  .page-faq .faq-toc {
    position: sticky;
    top: 2.25rem;
    margin-inline: 0;
    padding: 0;
    background: none;
    backdrop-filter: none;
    border-bottom: 0;
  }

  .page-faq .faq-toc__title {
    display: block;
  }

  .page-faq .faq-toc__list {
    display: block;
    overflow: visible;
    padding-bottom: 0;
  }

  .page-faq .faq-toc__list > li + li {
    margin-top: .15rem;
  }

  .page-faq .faq-toc__link {
    width: 100%;
    justify-content: flex-start;
    box-sizing: border-box;
    padding: .6rem .9rem;
    border: 0;
    border-left: 3px solid transparent;
    border-radius: 0 var(--r-pill) var(--r-pill) 0;
    background: none;
    font-size: .9rem;
    white-space: normal;
  }

  .page-faq .faq-toc__link:hover,
  .page-faq .faq-toc__link:focus-visible {
    border-left-color: var(--gold);
    background: rgba(201, 162, 39, .12);
  }

  .page-faq .faq-sec {
    scroll-margin-top: 2rem;
  }

  .page-faq .faq__q {
    padding: 1.15rem 1.35rem;
    font-size: 1.02rem;
  }

  .page-faq .faq__a {
    padding: 0 1.35rem 1.3rem;
    font-size: .95rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-faq .faq__item[open] .faq__a {
    animation: none;
  }

  .page-faq .faq__mark,
  .page-faq .faq__mark::before,
  .page-faq .faq__item,
  .page-faq .faq-toc__link {
    transition: none;
  }
}
