.page-faq {
  --faq-grid: rgba(28, 74, 102, 0.32);
  position: relative;
  isolation: isolate;
  padding-bottom: 96px;
}

.page-faq::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 760px;
  background-image:
    linear-gradient(var(--faq-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--faq-grid) 1px, transparent 1px);
  background-size: 96px 96px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 86%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 86%);
  pointer-events: none;
  z-index: -1;
}

/* ---------- 首屏 ---------- */

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

.page-faq .faq-hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.page-faq .faq-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  padding: 6px 15px;
  border: 1px solid rgba(33, 230, 193, 0.34);
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--cyan);
  background: rgba(33, 230, 193, 0.05);
}

.page-faq .faq-kicker__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(33, 230, 193, 0.9);
}

.page-faq .faq-hero__lead h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 7vw, 3.4rem);
  letter-spacing: 0.14em;
  line-height: 1.1;
  color: var(--text-strong);
}

.page-faq .faq-hero__lead h1::after {
  content: "";
  display: block;
  width: 88px;
  height: 3px;
  margin-top: 20px;
  border-radius: var(--r-pill);
  background: linear-gradient(90deg, var(--cyan-2), var(--cyan-3));
}

.page-faq .faq-hero__sub {
  max-width: 34em;
  margin: 22px 0 0;
  font-family: var(--font-serif);
  font-size: clamp(1.02rem, 2.4vw, 1.32rem);
  line-height: 1.7;
  color: var(--cream);
}

.page-faq .faq-hero__note {
  position: relative;
  padding-left: 22px;
  max-width: 40em;
  color: var(--slate);
  font-size: 15.5px;
  line-height: 1.9;
}

.page-faq .faq-hero__note::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--cyan-2), rgba(255, 138, 61, 0.75));
}

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

.page-faq .faq-hero__count {
  margin-top: 18px;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--slate-2);
}

.page-faq .faq-hero__figure {
  margin: 36px 0 0;
}

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

.page-faq .faq-hero__figure figcaption,
.page-faq .faq-figure figcaption {
  margin-top: 12px;
  font-size: 13px;
  letter-spacing: 0.04em;
  line-height: 1.7;
  color: var(--slate-2);
}

/* ---------- 分组直达 ---------- */

.page-faq .faq-jump {
  margin-top: 52px;
}

.page-faq .faq-jump ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-faq .faq-jump a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: rgba(16, 41, 61, 0.6);
  color: var(--cream);
  font-size: 14px;
  line-height: 1.4;
  text-decoration: none;
  transition: border-color 0.25s var(--ease-out), color 0.25s var(--ease-out), background 0.25s var(--ease-out);
}

.page-faq .faq-jump a:hover,
.page-faq .faq-jump a:focus-visible {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(33, 230, 193, 0.09);
}

.page-faq .faq-jump .mono {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--cyan);
}

/* ---------- 分组 ---------- */

.page-faq .faq-group {
  margin-top: 66px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 120px;
}

.page-faq .faq-group__head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px 14px;
  align-items: baseline;
  margin-bottom: 24px;
}

.page-faq .faq-group__head .sec-num {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--cyan);
}

.page-faq .faq-group__head .sec-title {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.35rem, 3.4vw, 1.85rem);
  line-height: 1.35;
  color: var(--text-strong);
}

.page-faq .faq-group__head .sec-note {
  grid-column: 1 / -1;
  margin: 0;
  max-width: 46em;
  font-size: 14px;
  line-height: 1.75;
  color: var(--slate-2);
}

/* ---------- 档案抽屉 ---------- */

.page-faq .drawer {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(16, 41, 61, 0.78), rgba(10, 26, 40, 0.78));
  box-shadow: var(--shadow-panel);
  overflow: hidden;
}

.page-faq .drawer__head {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  background: transparent;
  border: 0;
  text-align: left;
  font: inherit;
  color: var(--cream);
  cursor: pointer;
}

.page-faq .drawer__head::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--cyan-2), rgba(255, 138, 61, 0.7));
  opacity: 0;
  transition: opacity 0.24s var(--ease-out);
}

.page-faq .drawer[data-open="true"] .drawer__head::before {
  opacity: 1;
}

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

.page-faq .drawer__index {
  flex: none;
  padding: 4px 11px;
  border: 1px dashed rgba(33, 230, 193, 0.45);
  border-radius: var(--r-pill);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--cyan);
  white-space: nowrap;
}

.page-faq .drawer__sign {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 2.5vw, 1.16rem);
  line-height: 1.5;
  color: var(--cream);
  transition: color 0.24s var(--ease-out);
}

.page-faq .drawer__head:hover .drawer__sign,
.page-faq .drawer__head:focus-visible .drawer__sign {
  color: var(--cyan);
}

.page-faq .drawer__chev {
  position: relative;
  flex: none;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(33, 230, 193, 0.5);
  border-radius: 50%;
  transition: transform 0.24s var(--ease-out), background 0.24s var(--ease-out);
}

.page-faq .drawer__chev::before,
.page-faq .drawer__chev::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 2px;
  background: var(--cyan);
  transform: translate(-50%, -50%);
}

.page-faq .drawer__chev::before {
  width: 11px;
  height: 2px;
}

.page-faq .drawer__chev::after {
  width: 2px;
  height: 11px;
  transition: opacity 0.24s var(--ease-out);
}

.page-faq .drawer[data-open="true"] .drawer__chev {
  background: rgba(33, 230, 193, 0.14);
}

.page-faq .drawer[data-open="true"] .drawer__chev::after {
  opacity: 0;
}

.page-faq .drawer__body {
  padding: 4px 22px 22px;
  border-top: 1px solid var(--line-soft);
}

/* ---------- 单条问答 ---------- */

.page-faq .qa {
  padding: 20px 0;
  border-top: 1px dashed var(--line-soft);
}

.page-faq .qa:first-child {
  border-top: 0;
  padding-top: 18px;
}

.page-faq .qa__q {
  display: flex;
  gap: 12px;
  align-items: baseline;
  margin: 0 0 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-strong);
}

.page-faq .qa__no {
  flex: none;
  padding-top: 1px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--cyan);
}

.page-faq .qa__a {
  color: var(--slate);
  font-size: 15px;
  line-height: 1.88;
}

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

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

.page-faq .qa__a strong {
  color: var(--cream);
  font-weight: 600;
}

.page-faq .qa__hint {
  margin-top: 12px;
  padding: 12px 16px;
  border-left: 2px solid var(--amber);
  border-radius: var(--r-sm);
  background: rgba(255, 138, 61, 0.09);
  color: var(--cream);
  font-size: 14px;
  line-height: 1.75;
}

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

.page-faq .steps li {
  position: relative;
  padding-left: 44px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--cream);
}

.page-faq .steps li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 3px;
  padding: 1px 7px;
  border: 1px solid rgba(33, 230, 193, 0.35);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  line-height: 1.4;
  color: var(--cyan);
}

.page-faq .faq-figure {
  margin: 26px 0 0;
}

/* ---------- 联络区 ---------- */

.page-faq .faq-contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.page-faq .ask-plate,
.page-faq .ask-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(16, 41, 61, 0.82), rgba(10, 26, 40, 0.82));
}

.page-faq .ask-plate {
  padding-left: 26px;
}

.page-faq .ask-plate::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  bottom: 22px;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--cyan-2), var(--cyan-3));
}

.page-faq .ask-plate__label,
.page-faq .ask-card__title {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--cyan);
}

.page-faq .ask-plate__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--slate);
}

.page-faq .ask-plate .btn,
.page-faq .ask-card .btn {
  align-self: flex-start;
  margin-top: 4px;
}

.page-faq .ask-card .contact-list {
  margin: 0;
}

.page-faq .ask-card .contact-list li {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px dashed var(--line-soft);
  font-size: 14px;
  line-height: 1.65;
}

.page-faq .ask-card .contact-list li:last-child {
  border-bottom: 0;
}

.page-faq .ask-card__foot {
  margin: 0;
  padding-top: 4px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--slate-2);
}

/* ---------- 响应式 ---------- */

@media (min-width: 700px) {
  .page-faq .drawer__head {
    padding: 22px 28px;
  }

  .page-faq .drawer__body {
    padding: 6px 28px 26px;
  }
}

@media (min-width: 900px) {
  .page-faq {
    padding-bottom: 120px;
  }

  .page-faq .faq-hero__inner {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 52px;
    align-items: end;
  }

  .page-faq .faq-group {
    margin-top: 82px;
  }

  .page-faq .faq-group__head {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 10px 20px;
  }

  .page-faq .faq-contact__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 20px;
  }

  .page-faq .ask-card--wide {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1180px) {
  .page-faq .faq-contact__grid {
    gap: 24px;
  }

  .page-faq .ask-plate,
  .page-faq .ask-card {
    padding: 28px 26px;
  }
}

@media (max-width: 640px) {
  .page-faq .drawer__head {
    padding: 16px 15px;
    gap: 11px;
  }

  .page-faq .drawer__body {
    padding: 2px 15px 18px;
  }

  .page-faq .drawer__chev {
    width: 24px;
    height: 24px;
  }

  .page-faq .qa__q {
    font-size: 15px;
  }

  .page-faq .ask-card .contact-list li {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-faq .drawer__chev,
  .page-faq .drawer__head::before,
  .page-faq .drawer__sign,
  .page-faq .faq-jump a {
    transition: none;
  }
}
