.page-faq {
  --faq-line: rgba(18, 18, 18, 0.13);
  --faq-line-soft: rgba(18, 18, 18, 0.07);
  --faq-tint: rgba(255, 107, 26, 0.1);
  background: var(--fx-paper);
  color: var(--fx-ink);
  font-family: var(--fx-font);
}

/* ---------- 首屏 ---------- */
.page-faq .faq-hero {
  position: relative;
  padding: calc(var(--fx-header-h) + 26px) 0 52px;
  background: var(--fx-ink);
  color: var(--fx-white);
  overflow: hidden;
}

.page-faq .faq-hero__shape {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 68%;
  background: linear-gradient(155deg, rgba(255, 107, 26, 0.5), rgba(178, 62, 11, 0.06) 70%);
  clip-path: polygon(52% 0, 100% 0, 100% 100%, 8% 100%);
  pointer-events: none;
}

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

.page-faq .faq-hero__crumb .fx-breadcrumb__link {
  color: var(--fx-warm-gray);
  transition: color 0.2s ease;
}

.page-faq .faq-hero__crumb .fx-breadcrumb__link:hover {
  color: var(--fx-orange);
}

.page-faq .faq-hero__crumb .fx-breadcrumb__item[aria-current="page"] {
  color: var(--fx-white);
}

.page-faq .faq-hero__eyebrow {
  margin: 22px 0 0;
  color: var(--fx-orange);
}

.page-faq .faq-hero__title {
  margin: 14px 0 18px;
  font-size: clamp(2.3rem, 7.6vw, 4.4rem);
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.page-faq .faq-hero__title em {
  font-style: normal;
  color: var(--fx-orange);
}

.page-faq .faq-hero__lead {
  margin: 0;
  max-width: 34em;
  font-size: 15px;
  line-height: 1.78;
  color: rgba(255, 255, 255, 0.78);
}

.page-faq .faq-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.page-faq .faq-hero__ghost {
  color: var(--fx-white);
  border-color: rgba(255, 255, 255, 0.38);
}

.page-faq .faq-hero__ghost:hover {
  border-color: var(--fx-orange);
  color: var(--fx-orange);
}

/* ---------- 热门问题横滑 ---------- */
.page-faq .faq-hot {
  padding: 42px 0 18px;
}

.page-faq .faq-hot__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.page-faq .faq-hot__title {
  margin: 0;
  font-size: clamp(1.3rem, 4vw, 1.85rem);
  font-weight: 900;
  letter-spacing: -0.01em;
}

.page-faq .faq-hot__hint {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--fx-warm-deep);
  white-space: nowrap;
}

.page-faq .faq-hot__list {
  margin: 0;
  padding: 0 0 12px;
  list-style: none;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(232px, 76%);
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.page-faq .faq-hot__item {
  scroll-snap-align: start;
}

.page-faq .faq-hot__card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
  padding: 20px 18px 26px;
  background: var(--fx-white);
  border: 1px solid var(--faq-line);
  border-radius: var(--fx-radius);
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.page-faq .faq-hot__card::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 14px;
  height: 2px;
  background: var(--fx-orange);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.24s ease;
}

.page-faq .faq-hot__card:hover,
.page-faq .faq-hot__card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(255, 107, 26, 0.55);
  box-shadow: var(--fx-shadow);
}

.page-faq .faq-hot__card:hover::after,
.page-faq .faq-hot__card:focus-visible::after {
  transform: scaleX(1);
}

.page-faq .faq-hot__card:focus-visible {
  outline: 2px solid var(--fx-blue);
  outline-offset: 3px;
}

.page-faq .faq-hot__num {
  font-family: var(--fx-font-num);
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--fx-orange);
}

.page-faq .faq-hot__label {
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.45;
}

.page-faq .faq-hot__desc {
  font-size: 13px;
  line-height: 1.62;
  color: var(--fx-warm-deep);
}

/* ---------- 主体两栏 ---------- */
.page-faq .faq-body {
  padding: 18px 0 68px;
}

.page-faq .faq-body__grid {
  display: grid;
  gap: 26px;
}

.page-faq .faq-side__eyebrow {
  margin: 0 0 12px;
  color: var(--fx-warm-deep);
}

.page-faq .faq-side__list {
  margin: 0;
  padding: 0 0 8px;
  list-style: none;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.page-faq .faq-side__item {
  flex: 0 0 auto;
}

.page-faq .faq-side__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  border: 1px solid var(--faq-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  line-height: 1.4;
  color: var(--fx-ink-soft);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.page-faq .faq-side__link[aria-current],
.page-faq .faq-side__link:hover {
  color: var(--fx-ink);
  border-color: var(--fx-orange);
  background: var(--faq-tint);
}

/* ---------- 问答分组 ---------- */
.page-faq .faq-group {
  scroll-margin-top: calc(var(--fx-header-h) + 24px);
  padding: 26px 0 6px;
  border-top: 1px solid var(--faq-line-soft);
}

.page-faq .faq-group:first-child {
  border-top: 0;
  padding-top: 4px;
}

.page-faq .faq-group__head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 12px;
}

.page-faq .faq-group__index {
  font-family: var(--fx-font-num);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--fx-orange);
}

.page-faq .faq-group__title {
  margin: 0;
  font-size: clamp(1.15rem, 3.6vw, 1.5rem);
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.page-faq .faq-group__body {
  display: grid;
  gap: 22px;
}

/* ---------- 手风琴 ---------- */
.page-faq .faq-item {
  border-bottom: 1px solid var(--faq-line-soft);
}

.page-faq .faq-item__summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  cursor: pointer;
  list-style: none;
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.55;
  color: var(--fx-ink);
  transition: color 0.2s ease;
}

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

.page-faq .faq-item__summary:hover,
.page-faq .faq-item[open] > .faq-item__summary {
  color: var(--fx-ember);
}

.page-faq .faq-item__summary:focus-visible {
  outline: 2px solid var(--fx-blue);
  outline-offset: 2px;
}

.page-faq .faq-item__icon {
  flex: 0 0 auto;
  position: relative;
  width: 26px;
  height: 26px;
  margin-top: 1px;
  border: 1px solid var(--faq-line);
  border-radius: 50%;
  transition: background-color 0.22s ease, border-color 0.22s ease;
}

.page-faq .faq-item__icon::before,
.page-faq .faq-item__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 11px;
  height: 1.5px;
  background: var(--fx-ink);
  transform: translate(-50%, -50%);
  transition: transform 0.22s ease;
}

.page-faq .faq-item__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.page-faq .faq-item[open] .faq-item__icon {
  background: var(--fx-orange);
  border-color: var(--fx-orange);
}

.page-faq .faq-item[open] .faq-item__icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.page-faq .faq-item__body {
  padding: 0 0 18px 14px;
  margin-left: 2px;
  border-left: 2px solid rgba(255, 107, 26, 0.35);
}

.page-faq .faq-item__body p {
  margin: 0 0 10px;
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--fx-ink-soft);
}

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

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

.page-faq .faq-item__more a {
  color: var(--fx-ember);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-faq .faq-item__more a:hover {
  color: var(--fx-orange);
}

/* ---------- 步骤列表 ---------- */
.page-faq .faq-steps {
  counter-reset: faq-step;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.page-faq .faq-steps li {
  position: relative;
  padding-left: 32px;
  font-size: 14px;
  line-height: 1.62;
  color: var(--fx-ink-soft);
}

.page-faq .faq-steps li::before {
  counter-increment: faq-step;
  content: counter(faq-step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 2px;
  font-family: var(--fx-font-num);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--fx-orange);
}

/* ---------- 路径对比 ---------- */
.page-faq .faq-path {
  display: grid;
  gap: 8px;
  margin: 14px 0 2px;
}

.page-faq .faq-path__row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.page-faq .faq-path__label {
  min-width: 32px;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--fx-warm-deep);
}

.page-faq .faq-path__step {
  padding: 5px 10px;
  border: 1px solid var(--faq-line);
  border-radius: 999px;
  font-size: 11.5px;
  line-height: 1.4;
  color: var(--fx-warm-deep);
  background: rgba(255, 255, 255, 0.55);
}

.page-faq .faq-path__row--new .faq-path__step {
  background: var(--fx-orange);
  border-color: var(--fx-orange);
  color: var(--fx-ink);
  font-weight: 700;
}

/* ---------- 配图 ---------- */
.page-faq .faq-figure {
  margin: 0;
}

.page-faq .faq-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--faq-line);
  border-radius: var(--fx-radius);
  background: var(--fx-charcoal);
  object-fit: cover;
}

.page-faq .faq-figure figcaption {
  margin-top: 10px;
  padding-left: 10px;
  border-left: 2px solid var(--fx-orange);
  font-size: 12px;
  line-height: 1.68;
  letter-spacing: 0.02em;
  color: var(--fx-warm-deep);
}

/* ---------- 联系卡片 ---------- */
.page-faq .faq-contact-card {
  margin-top: 18px;
  padding: 22px 20px 20px;
  background: var(--fx-charcoal);
  color: var(--fx-white);
  border-radius: var(--fx-radius);
}

.page-faq .faq-contact-card__eyebrow {
  margin: 0 0 14px;
  color: var(--fx-orange);
}

.page-faq .faq-contact-card__list {
  margin: 0;
  display: grid;
  gap: 12px;
}

.page-faq .faq-contact-card__row {
  display: grid;
  gap: 3px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.page-faq .faq-contact-card__row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.page-faq .faq-contact-card dt {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--fx-warm-gray);
}

.page-faq .faq-contact-card dd {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--fx-white);
}

.page-faq .faq-contact-card__mail {
  font-family: var(--fx-font-num);
  font-size: 13.5px;
  letter-spacing: 0.01em;
  word-break: break-all;
}

.page-faq .faq-contact-card__btn {
  margin-top: 18px;
}

/* ---------- 延伸阅读 ---------- */
.page-faq .faq-more {
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--faq-line);
}

.page-faq .faq-more__title {
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--fx-warm-deep);
}

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

.page-faq .faq-more__link {
  display: grid;
  gap: 3px;
  padding: 14px 16px;
  border: 1px solid var(--faq-line);
  border-radius: var(--fx-radius);
  background: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.page-faq .faq-more__link:hover,
.page-faq .faq-more__link:focus-visible {
  border-color: var(--fx-orange);
  background: var(--faq-tint);
}

.page-faq .faq-more__label {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--fx-ink);
}

.page-faq .faq-more__desc {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--fx-warm-deep);
}

/* ---------- 断点 ---------- */
@media (min-width: 720px) {
  .page-faq .faq-hero {
    padding: calc(var(--fx-header-h) + 34px) 0 68px;
  }

  .page-faq .faq-hero__shape {
    width: 52%;
    background:
      repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.06) 0 2px, transparent 2px 16px),
      linear-gradient(150deg, rgba(255, 107, 26, 0.88), rgba(178, 62, 11, 0.12) 72%);
  }

  .page-faq .faq-hero__lead {
    font-size: 16px;
  }

  .page-faq .faq-hot__list {
    grid-auto-flow: row;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-columns: auto;
    overflow: visible;
    padding-bottom: 0;
  }

  .page-faq .faq-hot__hint {
    display: none;
  }

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

@media (min-width: 780px) {
  .page-faq .faq-group__body--split {
    grid-template-columns: minmax(0, 1.32fr) minmax(0, 0.82fr);
    gap: 36px;
    align-items: start;
  }

  .page-faq .faq-group__body--split .faq-figure {
    margin-top: 34px;
  }
}

@media (min-width: 900px) {
  .page-faq .faq-body__grid {
    grid-template-columns: 236px minmax(0, 1fr);
    gap: 54px;
  }

  .page-faq .faq-side {
    position: sticky;
    top: calc(var(--fx-header-h) + 26px);
    align-self: start;
  }

  .page-faq .faq-side__eyebrow {
    margin-bottom: 10px;
  }

  .page-faq .faq-side__list {
    flex-direction: column;
    gap: 0;
    padding: 0;
    overflow: visible;
    border-top: 1px solid var(--faq-line-soft);
  }

  .page-faq .faq-side__item {
    flex: none;
  }

  .page-faq .faq-side__link {
    width: 100%;
    padding: 12px 6px 12px 14px;
    border: 0;
    border-bottom: 1px solid var(--faq-line-soft);
    border-radius: 0;
    background: none;
    white-space: normal;
    font-size: 13.5px;
  }

  .page-faq .faq-side__link::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 3px;
    height: 0;
    background: var(--fx-orange);
    transform: translateY(-50%);
    transition: height 0.2s ease;
  }

  .page-faq .faq-side__link[aria-current] {
    background: rgba(255, 107, 26, 0.08);
    color: var(--fx-ink);
    font-weight: 700;
  }

  .page-faq .faq-side__link[aria-current]::before {
    height: 22px;
  }

  .page-faq .faq-contact-card {
    padding: 26px 26px 24px;
  }

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

  .page-faq .faq-contact-card__row {
    padding-bottom: 0;
    border-bottom: 0;
    align-content: start;
  }
}

@media (min-width: 1024px) {
  .page-faq .faq-hot__list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .page-faq .faq-item__summary {
    padding: 18px 0;
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-faq .faq-hot__card,
  .page-faq .faq-hot__card::after,
  .page-faq .faq-item__icon,
  .page-faq .faq-item__icon::before,
  .page-faq .faq-item__icon::after,
  .page-faq .faq-side__link,
  .page-faq .faq-side__link::before,
  .page-faq .faq-more__link {
    transition: none;
  }

  .page-faq .faq-hot__card:hover,
  .page-faq .faq-hot__card:focus-visible {
    transform: none;
  }
}
