.page-faq {
  --faq-sticky-top: calc(var(--header-h) + 74px);
  padding-bottom: 72px;
}

/* ---------- 面包屑 ---------- */
.page-faq .faq-crumb {
  padding-top: calc(var(--header-h) + 18px);
}

/* ---------- 首屏 ---------- */
.page-faq .faq-hero {
  position: relative;
  padding: 26px 0 46px;
  overflow: hidden;
}

.page-faq .faq-hero::before {
  content: "";
  position: absolute;
  inset: -40% -30% auto -10%;
  height: 150%;
  background:
    radial-gradient(60% 55% at 78% 22%, rgba(35, 181, 224, 0.20), transparent 68%),
    radial-gradient(48% 50% at 22% 88%, rgba(255, 106, 69, 0.14), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.page-faq .faq-hero::after {
  content: "";
  position: absolute;
  right: -12%;
  top: -18%;
  width: 62%;
  height: 118%;
  background: linear-gradient(140deg, rgba(35, 181, 224, 0.16), rgba(255, 106, 69, 0.09) 58%, transparent 76%);
  clip-path: polygon(34% 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
  z-index: 0;
}

.page-faq .faq-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 22px;
}

.page-faq .faq-hero__aside {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-faq .faq-hero__aside-note {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}

.page-faq .faq-hero__body h1 {
  margin: 0;
  font-size: clamp(29px, 7vw, 56px);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.01em;
  color: var(--paper);
}

.page-faq .faq-hero__lead {
  margin: 18px 0 0;
  max-width: 62ch;
  font-size: 16.5px;
  line-height: 1.8;
  color: var(--text-body);
}

.page-faq .faq-hero__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.page-faq .faq-hero__stats > li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: rgba(14, 37, 55, 0.62);
}

.page-faq .faq-hero__stats > li:last-child {
  grid-column: 1 / -1;
}

.page-faq .faq-stat__num {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}

.page-faq .faq-hero__stats .stat-label {
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--text-dim);
}

/* ---------- 分组跳转条 ---------- */
.page-faq .faq-jump {
  position: sticky;
  top: var(--header-h);
  z-index: 6;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: rgba(7, 26, 43, 0.9);
  backdrop-filter: blur(10px);
}

.page-faq .faq-jump__scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-block: 12px;
  scrollbar-width: none;
}

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

.page-faq .faq-jump__tab {
  flex: 0 0 auto;
  padding: 9px 16px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-pill);
  background: rgba(14, 37, 55, 0.7);
  color: var(--text-body);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.24s var(--ease-out), color 0.24s var(--ease-out), border-color 0.24s var(--ease-out);
}

.page-faq .faq-jump__tab:hover,
.page-faq .faq-jump__tab:focus-visible {
  background: var(--coral);
  border-color: var(--coral);
  color: var(--sea-deep);
}

/* ---------- 分组 ---------- */
.page-faq .faq-group {
  padding: 52px 0 6px;
  scroll-margin-top: var(--faq-sticky-top);
}

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

.page-faq .faq-group__num {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  color: rgba(35, 181, 224, 0.42);
}

.page-faq .faq-group__title {
  margin: 0;
  font-size: clamp(21px, 4.4vw, 31px);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.005em;
  color: var(--paper);
}

.page-faq .faq-group__intro {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-dim);
}

.page-faq .faq-group__intro a {
  color: var(--aqua-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-faq .faq-group__intro a:hover {
  color: var(--coral);
}

/* ---------- 问答列表 ---------- */
.page-faq .faq-list {
  display: grid;
  gap: 12px;
  align-content: start;
}

.page-faq .faq-item {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(14, 37, 55, 0.92), rgba(7, 26, 43, 0.92));
  overflow: hidden;
  transition: border-color 0.24s var(--ease-out), box-shadow 0.24s var(--ease-out);
}

.page-faq .faq-item:hover {
  border-color: rgba(35, 181, 224, 0.55);
}

.page-faq .faq-item[data-open="true"] {
  border-color: rgba(35, 181, 224, 0.85);
  box-shadow: inset 0 0 0 1px rgba(35, 181, 224, 0.16);
}

.page-faq .faq-item__q {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}

.page-faq .faq-item__trigger {
  display: flex;
  width: 100%;
  gap: 16px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 17px 18px;
  border: 0;
  background: none;
  color: var(--paper);
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.55;
  text-align: left;
  cursor: pointer;
}

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

.page-faq .faq-item__dot {
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  margin-top: 7px;
  border: 2px solid var(--aqua);
  border-radius: 50%;
  transition: background 0.24s var(--ease-out), border-color 0.24s var(--ease-out), box-shadow 0.24s var(--ease-out);
}

.page-faq .faq-item[data-open="true"] .faq-item__dot {
  background: var(--lime);
  border-color: var(--lime);
  box-shadow: 0 0 0 4px rgba(184, 242, 74, 0.18);
}

.page-faq .faq-item__panel {
  padding: 0 18px 20px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-body);
}

.page-faq .faq-item__panel::before {
  content: "";
  display: block;
  margin-bottom: 14px;
  border-top: 1px dashed rgba(44, 66, 87, 0.9);
}

.page-faq .faq-item__panel p {
  margin: 0;
}

.page-faq .faq-item__panel p + p,
.page-faq .faq-item__panel p + ol {
  margin-top: 12px;
}

.page-faq .faq-item[data-disclosure][data-open="false"] .faq-item__panel {
  display: none;
}

.page-faq .faq-item[data-disclosure][data-open="true"] .faq-item__panel {
  display: block;
  animation: faqPanelIn 0.26s var(--ease-out) both;
}

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

/* ---------- 排查步骤路线图 ---------- */
.page-faq .faq-steps {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.page-faq .faq-steps > li {
  position: relative;
  padding: 0 0 20px 44px;
  font-size: 14.6px;
  line-height: 1.75;
  color: var(--text-body);
}

.page-faq .faq-steps > li:last-child {
  padding-bottom: 0;
}

.page-faq .faq-steps > li::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 30px;
  bottom: 0;
  border-left: 1px dashed rgba(44, 66, 87, 0.95);
}

.page-faq .faq-steps > li:last-child::before {
  display: none;
}

.page-faq .faq-steps__index {
  position: absolute;
  left: 0;
  top: 2px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--aqua);
  border-radius: 50%;
  background: rgba(35, 181, 224, 0.12);
  color: var(--aqua-soft);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  transition: background 0.24s var(--ease-out), border-color 0.24s var(--ease-out), color 0.24s var(--ease-out);
}

.page-faq .faq-steps > li:hover .faq-steps__index {
  background: var(--coral);
  border-color: var(--coral);
  color: var(--sea-deep);
}

.page-faq .faq-steps__hint {
  display: block;
  margin-top: 5px;
  font-size: 12.8px;
  line-height: 1.65;
  color: var(--text-dim);
}

/* ---------- 字段对照 ---------- */
.page-faq .faq-compare {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.page-faq .faq-compare__row {
  display: grid;
  gap: 5px;
  padding: 14px 18px;
  border-bottom: 1px dashed rgba(44, 66, 87, 0.8);
  background: rgba(14, 37, 55, 0.5);
}

.page-faq .faq-compare__row:nth-child(even) {
  background: rgba(7, 26, 43, 0.6);
}

.page-faq .faq-compare__row:last-child {
  border-bottom: 0;
}

.page-faq .faq-compare__field {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--aqua-soft);
}

.page-faq .faq-compare__desc {
  font-size: 14.4px;
  line-height: 1.75;
  color: var(--text-body);
}

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

.page-faq .faq-figure--square {
  justify-self: start;
  max-width: 420px;
}

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

.page-faq .faq-figure__caption {
  margin-top: 10px;
  font-size: 12.8px;
  line-height: 1.7;
  color: var(--text-dim);
}

/* ---------- 联系区块 ---------- */
.page-faq .faq-contact-wrap {
  display: grid;
  gap: 20px;
}

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

.page-faq .faq-tips > li {
  position: relative;
  padding-left: 22px;
  font-size: 14.6px;
  line-height: 1.7;
  color: var(--text-body);
}

.page-faq .faq-tips > li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--lime);
  transform: rotate(45deg);
}

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

.page-faq .faq-contact__card {
  padding: 18px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  background:
    linear-gradient(150deg, rgba(35, 181, 224, 0.14), rgba(14, 37, 55, 0.9) 62%),
    rgba(14, 37, 55, 0.9);
}

.page-faq .faq-contact__label {
  margin: 0;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--coral-soft);
}

.page-faq .faq-contact__value {
  margin: 8px 0 0;
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--paper);
  word-break: break-word;
}

.page-faq .faq-contact__text {
  margin: 8px 0 0;
  font-size: 13.6px;
  line-height: 1.75;
  color: var(--text-dim);
}

.page-faq .faq-contact__tail {
  margin: 0;
  font-size: 14.6px;
  line-height: 1.8;
  color: var(--text-dim);
}

.page-faq .faq-contact__tail a {
  color: var(--aqua-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-faq .faq-contact__tail a:hover {
  color: var(--coral);
}

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

  .page-faq .faq-hero__stats > li:last-child {
    grid-column: auto;
  }

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

@media (min-width: 780px) {
  .page-faq .faq-hero {
    padding: 34px 0 58px;
  }

  .page-faq .faq-item__trigger {
    padding: 19px 22px;
    font-size: 16.5px;
  }

  .page-faq .faq-item__panel {
    padding: 0 22px 22px;
  }

  .page-faq .faq-compare__row {
    grid-template-columns: 176px minmax(0, 1fr);
    column-gap: 26px;
    align-items: start;
    padding: 15px 22px;
  }
}

@media (min-width: 960px) {
  .page-faq .faq-hero__grid {
    grid-template-columns: minmax(150px, 0.72fr) minmax(0, 3fr);
    column-gap: 52px;
    align-items: start;
  }

  .page-faq .faq-group {
    padding-top: 64px;
  }

  .page-faq .faq-group__inner {
    grid-template-columns: minmax(240px, 0.86fr) minmax(0, 2.3fr);
    column-gap: 54px;
    align-items: start;
  }

  .page-faq .faq-group__num {
    font-size: 38px;
  }

  .page-faq .faq-contact-wrap {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 2.1fr);
    column-gap: 46px;
    align-items: start;
  }

  .page-faq .faq-tips {
    grid-row: span 2;
  }

  .page-faq .faq-contact__tail {
    grid-column: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-faq .faq-jump__tab,
  .page-faq .faq-item,
  .page-faq .faq-item__dot,
  .page-faq .faq-steps__index {
    transition: none;
  }

  .page-faq .faq-item[data-disclosure][data-open="true"] .faq-item__panel {
    animation: none;
  }
}
