.page-faq {
  --faq-index-w: 300px;
  --faq-border: rgba(10, 31, 60, 0.16);
  --faq-border-light: rgba(245, 246, 250, 0.2);
  background: var(--warm-white);
}

/* ---------- 顶部英雄区 ---------- */
.page-faq .faq-hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: var(--warm-white);
  padding: 40px 0 0;
}

.page-faq .faq-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 58%;
  height: 100%;
  background: linear-gradient(135deg, transparent 58%, rgba(229, 57, 53, 0.16) 100%);
  clip-path: polygon(34% 0, 100% 0, 100% 100%, 0% 100%);
  pointer-events: none;
}

.page-faq .faq-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--gold) 55%, var(--gold));
}

.page-faq .faq-hero__grid {
  position: relative;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 24px var(--shell-gutter) 0;
  display: grid;
  gap: 36px;
  align-items: end;
}

.page-faq .faq-hero .breadcrumb {
  color: rgba(245, 246, 250, 0.68);
  font-size: 13px;
}

.page-faq .faq-hero .breadcrumb a {
  color: var(--sky);
  text-decoration: none;
}

.page-faq .faq-hero .breadcrumb .breadcrumb__sep {
  margin: 0 8px;
  opacity: 0.6;
}

.page-faq .faq-hero .page-kicker {
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-top: 20px;
}

.page-faq .faq-hero h1 {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(24px, 4vw, 40px);
  line-height: 1.28;
  letter-spacing: -0.02em;
  color: var(--warm-white);
  margin: 10px 0 0;
  max-width: 760px;
}

.page-faq .faq-hero__desc {
  margin: 16px 0 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: rgba(245, 246, 250, 0.82);
  max-width: 640px;
}

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

.page-faq .faq-hero__stats .badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 11px;
  color: var(--warm-white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--faq-border-light);
}

.page-faq .faq-hero__stats .badge--live {
  background: rgba(229, 57, 53, 0.22);
  border-color: rgba(229, 57, 53, 0.45);
  color: #FFD8D6;
}

.page-faq .faq-hero__visual {
  position: relative;
}

.page-faq .faq-hero__img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 800px;
  border: 1px solid var(--faq-border-light);
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.32);
}

.page-faq .faq-search {
  margin-top: 28px;
  display: flex;
  align-items: center;
  max-width: 560px;
  height: 52px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid var(--faq-border-light);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.page-faq .faq-search:focus-within {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.13);
}

.page-faq .faq-search__icon {
  flex-shrink: 0;
  margin-left: 16px;
  color: rgba(245, 246, 250, 0.55);
}

.page-faq .faq-search__input {
  flex: 1;
  min-width: 0;
  height: 100%;
  padding: 0 16px 0 10px;
  background: transparent;
  border: 0;
  color: var(--warm-white);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 500;
}

.page-faq .faq-search__input::placeholder {
  color: rgba(245, 246, 250, 0.46);
}

.page-faq .faq-search__input:focus {
  outline: none;
}

/* ---------- 小屏指南条 ---------- */
.page-faq .faq-guide-strip {
  background: var(--teal);
  color: var(--warm-white);
}

.page-faq .faq-guide-strip__inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 20px var(--shell-gutter);
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.page-faq .faq-guide-strip__icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid var(--faq-border-light);
  font-size: 20px;
}

.page-faq .faq-guide-strip__text {
  flex: 1;
  min-width: 220px;
}

.page-faq .faq-guide-strip__label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
}

.page-faq .faq-guide-strip__text p {
  margin: 5px 0 0;
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.6;
  color: rgba(245, 246, 250, 0.84);
}

/* ---------- 主体区域 ---------- */
.page-faq .faq-body {
  background: var(--warm-white);
  padding: 52px 0 84px;
}

.page-faq .faq-body__inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--shell-gutter);
  display: grid;
  gap: 44px;
}

/* ---------- 索引侧栏 ---------- */
.page-faq .faq-index {
  position: relative;
  padding-top: 4px;
}

.page-faq .faq-index__heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 2px solid var(--navy);
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.page-faq .faq-index__label {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 16px;
  color: var(--navy);
  letter-spacing: 0.04em;
}

.page-faq .faq-index__count {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--graphite);
}

.page-faq .faq-index__nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.page-faq .faq-index__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  color: var(--graphite);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.page-faq .faq-index__link:hover {
  background: rgba(10, 31, 60, 0.05);
  color: var(--navy);
}

.page-faq .faq-index__link.is-active,
.page-faq .faq-index__link[data-active] {
  border-left-color: var(--red);
  background: rgba(229, 57, 53, 0.08);
  color: var(--red-dark);
}

.page-faq .faq-index__tag {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 11px;
  color: var(--sky);
  min-width: 24px;
}

.page-faq .faq-index__link.is-active .faq-index__tag,
.page-faq .faq-index__link[data-active] .faq-index__tag {
  color: var(--red);
}

.page-faq .faq-mini-doc {
  margin-top: 30px;
  padding: 20px;
  position: relative;
  border: 1px solid var(--faq-border);
  background: rgba(27, 94, 96, 0.06);
}

.page-faq .faq-mini-doc::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  width: 44px;
  height: 3px;
  background: var(--gold);
}

.page-faq .faq-mini-doc__badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 3px 9px;
  background: var(--teal);
  color: var(--warm-white);
}

.page-faq .faq-mini-doc__title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 19px;
  color: var(--navy);
  margin: 12px 0 7px;
  line-height: 1.4;
}

.page-faq .faq-mini-doc__desc {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.65;
  color: var(--graphite);
  margin: 0;
}

.page-faq .faq-mini-doc__link {
  display: inline-block;
  margin-top: 12px;
  color: var(--sky);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.15s ease;
}

.page-faq .faq-mini-doc__link:hover {
  color: var(--red-dark);
}

/* ---------- 内容区 ---------- */
.page-faq .faq-content {
  min-width: 0;
}

.page-faq .faq-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 30px;
  padding: 14px 16px;
  background: rgba(10, 31, 60, 0.03);
  border: 1px solid var(--faq-border);
}

.page-faq .faq-toolbar__title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 13px;
  color: var(--navy);
  letter-spacing: 0.04em;
}

.page-faq .faq-toolbar .tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-faq .faq-toolbar .tag-item {
  appearance: none;
  border: 1px solid var(--faq-border);
  background: transparent;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  cursor: pointer;
  color: var(--graphite);
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.page-faq .faq-toolbar .tag-item:hover {
  border-color: var(--sky);
  color: var(--sky);
}

.page-faq .faq-toolbar .tag-item[data-active] {
  border-color: var(--red);
  background: rgba(229, 57, 53, 0.1);
  color: var(--red-dark);
}

.page-faq .faq-category {
  padding-bottom: 48px;
  margin-bottom: 48px;
  border-bottom: 1px solid var(--faq-border);
  position: relative;
}

.page-faq .faq-category:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

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

.page-faq .faq-category__index {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 52px;
  line-height: 0.9;
  color: rgba(229, 57, 53, 0.14);
  letter-spacing: -0.03em;
  user-select: none;
}

.page-faq .faq-category__title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 22px;
  color: var(--navy);
  letter-spacing: -0.01em;
  margin: 0;
}

.page-faq .faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ---------- 手风琴项目 ---------- */
.page-faq .faq-item {
  border: 1px solid var(--faq-border);
  background: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.page-faq .faq-item:hover {
  border-color: rgba(74, 144, 217, 0.45);
}

.page-faq .faq-item[open] {
  border-color: rgba(229, 57, 53, 0.32);
  box-shadow: var(--shadow-panel);
}

.page-faq .faq-item__q {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  list-style: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--navy);
  transition: color 0.15s ease;
}

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

.page-faq .faq-item__q::marker {
  display: none;
  content: '';
}

.page-faq .faq-item__q:hover {
  color: var(--red-dark);
}

.page-faq .faq-item__qmark {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(74, 144, 217, 0.12);
  color: var(--sky);
  font-weight: 900;
  font-size: 14px;
  transition: background 0.15s ease, color 0.15s ease;
}

.page-faq .faq-item[open] .faq-item__qmark {
  background: rgba(229, 57, 53, 0.14);
  color: var(--red);
}

.page-faq .faq-item__text {
  flex: 1;
  min-width: 0;
}

.page-faq .faq-item__icon {
  flex-shrink: 0;
  position: relative;
  width: 20px;
  height: 20px;
  margin-left: auto;
}

.page-faq .faq-item__icon::before,
.page-faq .faq-item__icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  background: var(--graphite);
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease;
}

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

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

.page-faq .faq-item__a {
  padding: 0 18px 20px;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.7;
  color: var(--graphite);
}

@media (min-width: 640px) {
  .page-faq .faq-item__a {
    padding-left: 64px;
    padding-right: 28px;
  }
}

.page-faq .faq-item__a-inner p {
  margin: 0 0 12px;
}

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

.page-faq .faq-item__note {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(27, 94, 96, 0.08);
  border-left: 3px solid var(--teal);
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.6;
}

.page-faq .faq-item__note .badge {
  flex-shrink: 0;
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  background: rgba(229, 57, 53, 0.12);
  color: var(--red-dark);
  border: 1px solid rgba(229, 57, 53, 0.24);
}

/* ---------- 步骤与列表 ---------- */
.page-faq .faq-steps {
  list-style: none;
  counter-reset: faq-step;
  margin: 14px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-faq .faq-steps__item {
  position: relative;
  counter-increment: faq-step;
  padding-left: 36px;
  min-height: 28px;
  display: flex;
  align-items: center;
  line-height: 1.6;
}

.page-faq .faq-steps__item::before {
  content: counter(faq-step);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(74, 144, 217, 0.16);
  color: var(--sky);
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 12px;
  border: 1px solid rgba(74, 144, 217, 0.3);
}

.page-faq .faq-ul {
  margin: 10px 0 0;
  padding-left: 20px;
}

.page-faq .faq-ul li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.page-faq .faq-ul li:last-child {
  margin-bottom: 0;
}

.page-faq .faq-copy-target {
  display: inline-block;
  margin: 12px 0 14px;
  padding: 5px 12px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  background: rgba(245, 167, 35, 0.14);
  border: 1px dashed rgba(245, 167, 35, 0.6);
}

/* ---------- 拼音流程图 ---------- */
.page-faq .faq-pinyin-figure {
  margin: 24px 0 0;
  padding: 12px;
  background: #ffffff;
  border: 1px solid var(--faq-border);
}

.page-faq .faq-pinyin-figure__img {
  display: block;
  width: 100%;
  height: auto;
}

.page-faq .faq-pinyin-figure figcaption {
  padding: 9px 4px 2px;
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--graphite);
  border-bottom: 1px solid rgba(10, 31, 60, 0.06);
}

/* ---------- 联系卡 ---------- */
.page-faq .faq-contact-card {
  position: relative;
  overflow: hidden;
  margin-top: 28px;
  padding: 30px 24px;
  background: var(--navy);
  color: var(--warm-white);
  border-left: 6px solid var(--red);
}

.page-faq .faq-contact-card::after {
  content: '';
  position: absolute;
  right: -60px;
  top: -60px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(245, 167, 35, 0.16) 0%, transparent 72%);
  pointer-events: none;
}

.page-faq .faq-contact-card__lead {
  position: relative;
  margin: 0 0 22px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.6;
}

.page-faq .faq-contact-card__items {
  position: relative;
  display: grid;
  gap: 16px;
  margin-bottom: 24px;
}

.page-faq .faq-contact-card__item {
  border-top: 1px solid var(--faq-border-light);
  padding-top: 12px;
}

.page-faq .faq-contact-card__label {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245, 246, 250, 0.58);
}

.page-faq .faq-contact-card__value {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--warm-white);
  word-break: break-all;
}

.page-faq .faq-contact-card .btn-group {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- 按钮浅色适配 ---------- */
.page-faq .faq-btn-light,
.page-faq .faq-btn-navy {
  color: var(--warm-white);
  border-color: var(--faq-border-light);
  background: rgba(255, 255, 255, 0.06);
}

.page-faq .faq-btn-light:hover,
.page-faq .faq-btn-navy:hover {
  color: var(--warm-white);
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--warm-white);
}

/* ---------- 桌面端网格 ---------- */
@media (min-width: 768px) {
  .page-faq .faq-hero__grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  }

  .page-faq .faq-hero {
    padding-top: 44px;
  }

  .page-faq .faq-contact-card {
    padding: 34px 32px;
  }
}

@media (min-width: 1024px) {
  .page-faq .faq-body__inner {
    grid-template-columns: var(--faq-index-w) minmax(0, 1fr);
    gap: 64px;
  }

  .page-faq .faq-index {
    position: sticky;
    top: 24px;
    align-self: start;
  }

  .page-faq .faq-category__header {
    margin-bottom: 30px;
  }

  .page-faq .faq-category__index {
    font-size: 58px;
  }

  .page-faq .faq-category__title {
    font-size: 24px;
  }

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