.page-faq {
  --faq-hair: 1px solid var(--c-silver);
  --faq-ink-line: 2px solid var(--c-ink);
  background: var(--c-cream);
  color: var(--c-ink);
  font-family: var(--font-ui);
  overflow-x: clip;
}

.page-faq h1,
.page-faq h2,
.page-faq h3,
.page-faq p {
  margin: 0;
}

.page-faq p + p {
  margin-top: .85em;
}

.page-faq a {
  color: inherit;
}

/* ---------- 首屏 ---------- */
.faq-hero {
  padding: clamp(18px, 3vw, 30px) 0 clamp(30px, 5vw, 58px);
  border-bottom: var(--faq-hair);
}

.faq-hero .breadcrumb {
  margin-bottom: clamp(20px, 3vw, 32px);
}

.faq-hero__layout {
  display: grid;
  gap: clamp(22px, 4vw, 44px);
}

.faq-hero__copy {
  min-width: 0;
}

.faq-hero__title {
  margin: .3em 0 .5em;
  font-size: clamp(2.05rem, 6.4vw, 4.1rem);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -.012em;
}

.faq-hero__lede {
  max-width: 34em;
}

.faq-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 22px 0 26px;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: var(--c-muted);
}

.faq-hero__facts li {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}

.faq-hero__facts .mono {
  font-size: 1.3rem;
  color: var(--c-terracotta-deep);
}

.faq-hero__figure {
  position: relative;
  margin: 0;
  border: var(--faq-ink-line);
  background: var(--c-paper);
  box-shadow: var(--paper-shadow-warm);
}

.faq-hero__figure img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: saturate(.94);
}

@media (min-width: 900px) {
  .faq-hero__layout {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr);
    align-items: end;
  }

  .faq-hero__figure img {
    aspect-ratio: 2 / 3;
  }
}

/* ---------- 编号卡片 ---------- */
.faq-cluster {
  padding: clamp(34px, 5vw, 62px) 0;
}

.faq-cards {
  display: grid;
  gap: 16px;
  margin-top: clamp(20px, 3vw, 32px);
}

.faq-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  padding: 18px 18px 20px;
  background: var(--c-paper);
  border: var(--faq-hair);
  border-top: 3px solid var(--c-orange);
  border-radius: var(--radius-s);
  text-decoration: none;
  box-shadow: 6px 6px 0 rgba(138, 167, 156, .22);
  transition: transform .28s ease, box-shadow .28s ease, border-top-color .28s ease;
}

.faq-card:hover,
.faq-card:focus-visible {
  transform: translate(-2px, -2px);
  border-top-color: var(--c-terracotta);
  box-shadow: 10px 10px 0 rgba(226, 112, 58, .24);
}

.faq-card__num {
  font-size: 2rem;
  line-height: 1;
  letter-spacing: .04em;
  color: var(--c-mist);
}

.faq-card__range {
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--c-terracotta-deep);
}

.faq-card__title {
  margin-top: 2px;
  font-size: 1.15rem;
  font-weight: 700;
}

.faq-card__desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-muted);
}

.faq-card__count {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px dashed var(--c-silver);
  font-size: 12px;
  color: var(--c-muted);
}

@media (min-width: 640px) {
  .faq-cards {
    grid-template-columns: repeat(6, 1fr);
  }

  .faq-card:nth-child(-n+3) {
    grid-column: span 2;
  }

  .faq-card:nth-child(n+4) {
    grid-column: span 3;
  }
}

/* ---------- 高频问题深色带 ---------- */
.faq-top {
  padding: clamp(34px, 5vw, 64px) 0;
  background: var(--c-deep);
  color: var(--c-paper);
}

.faq-top .section-head {
  border-bottom-color: rgba(252, 248, 240, .26);
}

.faq-top .section-head__title {
  color: var(--c-paper);
}

.faq-top .section-head__num,
.faq-top .section-head__note {
  color: var(--c-amber);
}

.faq-top__grid {
  display: grid;
  gap: clamp(20px, 3vw, 32px);
  margin-top: clamp(20px, 3vw, 32px);
}

.faq-top__list {
  min-width: 0;
}

.faq-topic {
  margin-bottom: 10px;
  background: var(--c-paper);
  color: var(--c-ink);
  border: var(--faq-hair);
  border-radius: var(--radius-s);
}

.faq-topic:last-child {
  margin-bottom: 0;
}

.faq-topic__summary {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
}

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

.faq-topic__idx {
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--c-terracotta);
}

.faq-topic__q {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.55;
}

.faq-topic[open] .faq-topic__q {
  color: var(--c-terracotta-deep);
}

.faq-topic__body {
  padding: 0 16px 16px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--c-muted);
}

.faq-top__figure {
  margin: 0;
  border: 1px solid rgba(252, 248, 240, .34);
  background: var(--c-paper);
  box-shadow: 8px 8px 0 rgba(217, 162, 74, .3);
}

.faq-top__figure img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

@media (min-width: 640px) {
  .faq-topic__body {
    padding-left: 88px;
  }
}

@media (min-width: 900px) {
  .faq-top__grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr);
    align-items: start;
  }
}

/* ---------- 编号轨道 + 折叠问答 ---------- */
.faq-index {
  padding: clamp(34px, 5vw, 64px) 0;
}

.faq-index__layout {
  display: grid;
  gap: 20px;
  margin-top: clamp(18px, 3vw, 30px);
}

.faq-rail {
  min-width: 0;
}

.faq-rail__list {
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 0 0 4px;
  list-style: none;
  overflow-x: auto;
}

.faq-rail__link {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 8px 12px;
  background: var(--c-paper);
  border: var(--faq-hair);
  border-radius: var(--radius-s);
  text-decoration: none;
  white-space: nowrap;
}

.faq-rail__num {
  font-size: 1.05rem;
  color: var(--c-mist);
  transition: color .25s ease;
}

.faq-rail__label {
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--c-muted);
}

.faq-rail__link:hover .faq-rail__num,
.faq-rail__link:focus-visible .faq-rail__num {
  color: var(--c-orange);
}

.faq-groups {
  display: grid;
  gap: clamp(28px, 4vw, 44px);
  min-width: 0;
}

.faq-group {
  scroll-margin-top: 100px;
}

.faq-group__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 14px;
  padding-bottom: 12px;
  border-bottom: var(--faq-ink-line);
}

.faq-group__code {
  font-size: 13px;
  letter-spacing: .14em;
  color: var(--c-orange);
}

.faq-group__title {
  font-size: clamp(1.28rem, 2.4vw, 1.68rem);
  font-weight: 700;
}

.faq-group__note {
  margin-left: auto;
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--c-muted);
}

.faq-item {
  border-bottom: var(--faq-hair);
}

.faq-item__summary {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 18px;
  gap: 10px;
  align-items: start;
  padding: 15px 2px;
  cursor: pointer;
  list-style: none;
}

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

.faq-item__num {
  padding-top: 3px;
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--c-terracotta-deep);
}

.faq-item__q {
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.6;
}

.faq-item[open] .faq-item__q {
  color: var(--c-terracotta-deep);
}

.faq-item__sign {
  position: relative;
  width: 14px;
  height: 14px;
  margin-top: 6px;
}

.faq-item__sign::before,
.faq-item__sign::after {
  content: "";
  position: absolute;
  background: var(--c-mist);
  transition: transform .25s ease;
}

.faq-item__sign::before {
  left: 0;
  top: 6px;
  width: 14px;
  height: 1px;
}

.faq-item__sign::after {
  left: 6px;
  top: 0;
  width: 1px;
  height: 14px;
  transform-origin: top;
}

.faq-item[open] .faq-item__sign::after {
  transform: scaleY(0);
}

.faq-item__body {
  position: relative;
  padding: 0 6px 16px 52px;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--c-muted);
}

.faq-item__body::before {
  content: "";
  position: absolute;
  left: 42px;
  top: 0;
  bottom: 14px;
  width: 1px;
  background: var(--c-mist);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .34s ease;
}

.faq-item[open] .faq-item__body::before {
  transform: scaleY(1);
}

.faq-item__more {
  margin-top: 10px;
  font-size: 13px;
  color: var(--c-muted);
}

.faq-item__more a {
  color: var(--c-terracotta-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (min-width: 640px) {
  .faq-item__summary {
    grid-template-columns: 58px minmax(0, 1fr) 18px;
    gap: 14px;
  }

  .faq-item__body {
    padding-left: 72px;
  }

  .faq-item__body::before {
    left: 62px;
  }
}

@media (min-width: 900px) {
  .faq-index__layout {
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 36px;
    align-items: start;
  }

  .faq-rail {
    position: sticky;
    top: 96px;
  }

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

  .faq-rail__link {
    display: block;
    padding: 10px 0 12px;
    background: none;
    border: 0;
    border-top: var(--faq-hair);
    border-radius: 0;
    white-space: normal;
  }

  .faq-rail__num {
    display: block;
    font-size: clamp(1.8rem, 3vw, 2.55rem);
    line-height: 1;
    letter-spacing: .02em;
  }

  .faq-rail__label {
    display: block;
    margin-top: 4px;
  }
}

/* ---------- 下一步 ---------- */
.faq-next {
  padding: clamp(34px, 5vw, 64px) 0;
  border-top: var(--faq-hair);
}

.faq-next__grid {
  display: grid;
  gap: 18px;
  margin-top: clamp(18px, 3vw, 30px);
}

.faq-next__card {
  min-width: 0;
  padding: 24px 22px 26px;
}

.faq-next__card h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  font-weight: 700;
}

.faq-next__card p {
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--c-muted);
}

.faq-next__contact {
  font-size: 14px;
  color: var(--c-ink);
  letter-spacing: .02em;
}

.faq-next__card .btn {
  margin-top: 16px;
}

.faq-next__foot {
  margin-top: 20px;
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--c-muted);
}

.faq-next__foot a {
  color: var(--c-terracotta-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (min-width: 820px) {
  .faq-next__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }
}

/* ---------- 相关条目横向带 ---------- */
.faq-cross {
  padding: 0 0 clamp(36px, 5vw, 64px);
}

.faq-cross__track {
  display: flex;
  gap: 14px;
  margin: clamp(18px, 3vw, 28px) 0 0;
  padding: 0 0 16px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}

.faq-cross__card {
  flex: 0 0 250px;
  scroll-snap-align: start;
  padding: 16px 16px 18px;
  background: var(--c-paper);
  border: var(--faq-hair);
  border-left: 3px solid var(--c-mist);
  border-radius: var(--radius-s);
  box-shadow: 5px 5px 0 rgba(138, 167, 156, .18);
}

.faq-cross__num {
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--c-orange);
}

.faq-cross__q {
  margin-top: 8px;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.6;
}

.faq-cross__hint {
  margin-top: 10px;
  font-size: 13px;
  color: var(--c-muted);
}

.faq-cross__hint a {
  color: var(--c-terracotta-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (min-width: 640px) {
  .faq-cross__card {
    flex-basis: 280px;
  }
}
