.page-faq {
  --faq-line: rgba(107, 101, 89, 0.24);
  --faq-line-strong: rgba(107, 101, 89, 0.42);
  --faq-line-light: rgba(245, 242, 233, 0.24);
}

/* ---------- 基础节奏 ---------- */
.page-faq .faq-sec {
  padding: clamp(46px, 7vw, 92px) 0;
}

.page-faq .faq-sec--alt {
  background: var(--ice-light);
}

.page-faq .section-head h2 {
  margin: 0 0 14px;
  max-width: 24ch;
  font-size: clamp(1.62rem, 3.4vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.16;
  color: var(--ink);
}

.page-faq .lede {
  max-width: 56ch;
  margin: 0;
  color: var(--rock);
  font-size: 1rem;
  line-height: 1.78;
}

.page-faq .faq-more {
  margin: clamp(22px, 3vw, 34px) 0 0;
  padding-top: 16px;
  border-top: 1px dashed var(--faq-line-strong);
  font-size: 0.97rem;
  line-height: 1.7;
  color: var(--rock);
}

.page-faq .faq-more a {
  color: var(--ice);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--signal);
  padding-bottom: 1px;
}

.page-faq .faq-more a:hover,
.page-faq .faq-more a:focus-visible {
  color: var(--signal);
}

/* ---------- 首屏 ---------- */
.page-faq .faq-hero {
  position: relative;
  padding: clamp(28px, 5vw, 58px) 0 clamp(40px, 5.5vw, 70px);
  background:
    linear-gradient(162deg, var(--ice-light) 0%, var(--ice-light) 46%, var(--paper) 46.5%, var(--paper) 100%);
}

.page-faq .faq-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  background: linear-gradient(90deg,
    var(--ice-deep) 0 30%,
    var(--ice) 30% 54%,
    var(--moss) 54% 74%,
    var(--clay) 74% 89%,
    var(--signal) 89% 100%);
}

.page-faq .faq-hero .kicker {
  margin-top: clamp(16px, 3vw, 30px);
}

.page-faq .faq-hero h1 {
  margin: 14px 0 0;
  max-width: 19ch;
  font-size: clamp(2.05rem, 5.6vw, 4.1rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--ink);
}

.page-faq .faq-hero .lede {
  margin-top: 18px;
  max-width: 60ch;
  color: var(--ink);
  opacity: 0.82;
}

/* ---------- 场景选择带 ---------- */
.page-faq .faq-scenes {
  list-style: none;
  margin: clamp(26px, 4vw, 46px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.page-faq .scene {
  display: flex;
  flex-direction: column;
  gap: 5px;
  height: 100%;
  padding: 15px 13px 17px;
  background-color: var(--paper);
  background-image: linear-gradient(var(--ice) 0 3px, transparent 3px);
  clip-path: var(--cut-top);
  text-decoration: none;
  color: var(--ink);
  transition: background-color 0.28s var(--ease), color 0.28s var(--ease), transform 0.28s var(--ease);
}

.page-faq .faq-scenes li:nth-child(2) .scene { background-image: linear-gradient(var(--ice-deep) 0 3px, transparent 3px); }
.page-faq .faq-scenes li:nth-child(3) .scene { background-image: linear-gradient(var(--field) 0 3px, transparent 3px); }
.page-faq .faq-scenes li:nth-child(4) .scene { background-image: linear-gradient(var(--moss) 0 3px, transparent 3px); }
.page-faq .faq-scenes li:nth-child(5) .scene { background-image: linear-gradient(var(--clay) 0 3px, transparent 3px); }
.page-faq .faq-scenes li:nth-child(6) .scene { background-image: linear-gradient(var(--signal) 0 3px, transparent 3px); }

.page-faq .scene__no {
  font-family: var(--font-cond);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--rock);
}

.page-faq .scene__name {
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.page-faq .scene__hint {
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--rock);
}

.page-faq .scene:hover,
.page-faq .scene:focus-visible {
  background-color: var(--ice-deep);
  color: var(--paper);
  transform: translateY(-3px);
}

.page-faq .scene:hover .scene__no,
.page-faq .scene:hover .scene__hint,
.page-faq .scene:focus-visible .scene__no,
.page-faq .scene:focus-visible .scene__hint {
  color: rgba(245, 242, 233, 0.78);
}

/* ---------- 三步流程 ---------- */
.page-faq .steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
}

.page-faq .step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--faq-line);
}

.page-faq .step:last-child {
  border-bottom: 1px solid var(--faq-line);
}

.page-faq .step__no {
  font-family: var(--font-cond);
  font-size: 1.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--field);
}

.page-faq .step h3 {
  margin: 0 0 6px;
  font-size: 1.04rem;
  font-weight: 800;
  color: var(--ink);
}

.page-faq .step p {
  margin: 0;
  max-width: 42ch;
  font-size: 0.97rem;
  line-height: 1.78;
  color: var(--rock);
}

/* ---------- 问答流 ---------- */
.page-faq .faq-pairs {
  margin: clamp(26px, 4vw, 44px) 0 0;
}

.page-faq .faq-pair {
  display: grid;
  gap: 8px;
  padding: 21px 0;
  border-top: 1px solid var(--faq-line);
}

.page-faq .faq-pair:last-child {
  border-bottom: 1px solid var(--faq-line);
}

.page-faq .faq-q {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.page-faq .faq-q::before {
  content: "Q";
  margin-right: 9px;
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.1em;
  color: var(--clay);
}

.page-faq .faq-a {
  margin: 0;
  max-width: 38ch;
  font-size: 0.97rem;
  line-height: 1.78;
  color: var(--rock);
}

/* ---------- 速查表 ---------- */
.page-faq .table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-top: 4px solid var(--ice-deep);
}

.page-faq .quick-table {
  width: 100%;
  min-width: 420px;
  border-collapse: collapse;
  font-size: 0.94rem;
}

.page-faq .quick-table thead th {
  padding: 12px 14px;
  text-align: left;
  background: var(--ice-deep);
  color: var(--paper);
  font-family: var(--font-cond);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  white-space: nowrap;
}

.page-faq .quick-table tbody th,
.page-faq .quick-table tbody td {
  padding: 11px 14px;
  text-align: left;
  border-bottom: 1px solid var(--faq-line);
  color: var(--ink);
}

.page-faq .quick-table tbody th {
  font-weight: 800;
  white-space: nowrap;
}

.page-faq .quick-table tbody tr:nth-child(odd) {
  background: var(--paper);
}

.page-faq .quick-table tbody td:last-child,
.page-faq .quick-table tfoot td {
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  color: var(--clay);
}

.page-faq .quick-table tfoot th,
.page-faq .quick-table tfoot td {
  padding: 12px 14px;
  text-align: left;
  background: var(--ice-light);
  border-top: 2px solid var(--ice-deep);
  font-weight: 800;
  color: var(--ice-deep);
}

/* ---------- 旁注 ---------- */
.page-faq .note {
  margin-top: 18px;
  padding: 18px 18px 20px;
  background: var(--moss);
  color: var(--ink);
  clip-path: var(--cut-corner);
}

.page-faq .note__title {
  margin: 0 0 8px;
  font-family: var(--font-cond);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: rgba(36, 40, 43, 0.7);
}

.page-faq .note p:last-child {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.72;
}

/* ---------- 故障排查 ---------- */
.page-faq .fix-list {
  list-style: none;
  margin: clamp(24px, 3.5vw, 40px) 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.page-faq .fix {
  padding: 22px 20px 24px;
  background-color: var(--paper);
  background-image: linear-gradient(90deg, var(--clay) 0 5px, transparent 5px);
  clip-path: var(--cut-corner);
}

.page-faq .fix h3 {
  margin: 0 0 9px;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.page-faq .fix p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.76;
  color: var(--rock);
}

/* ---------- 人工通道 ---------- */
.page-faq .faq-help {
  background: var(--ice-deep);
  color: var(--paper);
}

.page-faq .faq-help h2 {
  margin: 12px 0 16px;
  max-width: 20ch;
  font-size: clamp(1.6rem, 3.6vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.16;
  color: var(--paper);
}

.page-faq .kicker--light {
  color: var(--moss);
}

.page-faq .help-lede {
  margin: 0 0 14px;
  max-width: 52ch;
  font-size: 1rem;
  line-height: 1.78;
  color: rgba(245, 242, 233, 0.84);
}

.page-faq .faq-help .btn {
  margin-top: 12px;
}

.page-faq .help-contacts {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-faq .help-contacts li {
  display: grid;
  gap: 5px;
  padding: 15px 0;
  border-top: 1px solid var(--faq-line-light);
}

.page-faq .help-contacts li:last-child {
  border-bottom: 1px solid var(--faq-line-light);
}

.page-faq .help-label {
  font-family: var(--font-cond);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--moss);
}

.page-faq .help-value {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(245, 242, 233, 0.86);
}

.page-faq .help-link {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--paper);
  text-decoration: none;
  word-break: break-all;
  border-bottom: 2px solid var(--signal);
  padding-bottom: 1px;
}

.page-faq .help-link:hover,
.page-faq .help-link:focus-visible {
  color: var(--signal);
}

.page-faq .help-note {
  margin: 16px 0 0;
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(245, 242, 233, 0.6);
}

/* ---------- 图片容器 ---------- */
.page-faq .media {
  margin: 0;
}

.page-faq .media img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  background: var(--ice-light);
}

.page-faq .media__cap {
  margin-top: 10px;
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--rock);
}

/* ---------- 栅格微调 ---------- */
.page-faq .grid--12 > * {
  min-width: 0;
}

.page-faq .visit-grid > .span-4 {
  margin-top: 26px;
}

.page-faq .cat-grid > .span-4 {
  margin-top: 26px;
}

/* ---------- 平板及以上 ---------- */
@media (min-width: 700px) {
  .page-faq .faq-scenes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  .page-faq .scene {
    padding: 18px 16px 20px;
  }

  .page-faq .faq-pair {
    grid-template-columns: minmax(0, 5fr) minmax(0, 8fr);
    gap: clamp(20px, 3vw, 44px);
    align-items: start;
    padding: 25px 0;
  }

  .page-faq .faq-pairs {
    margin-top: clamp(30px, 4vw, 48px);
  }

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

/* ---------- 桌面 ---------- */
@media (min-width: 1024px) {
  .page-faq .faq-scenes {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
  }

  .page-faq .visit-grid > .span-4,
  .page-faq .cat-grid > .span-4 {
    margin-top: 0;
  }

  .page-faq .help-grid {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    gap: clamp(30px, 4vw, 64px);
    align-items: start;
  }

  .page-faq .faq-a {
    max-width: 44ch;
  }
}

/* ---------- 动效收敛 ---------- */
@media (prefers-reduced-motion: reduce) {
  .page-faq .scene {
    transition: none;
  }

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