.page-faq {
  --faq-gap: clamp(20px, 3vw, 36px);
  --faq-radius: 18px;
  --faq-aside-w: 268px;
  padding-bottom: clamp(60px, 9vw, 120px);
}

/* ---------- 面包屑 ---------- */
.page-faq .breadcrumb {
  padding-block: clamp(18px, 3vw, 28px) 0;
}

/* ---------- 首屏 ---------- */
.page-faq .faq-hero {
  position: relative;
  padding-block: clamp(28px, 5vw, 56px) clamp(36px, 6vw, 76px);
  overflow: hidden;
}

.page-faq .faq-hero::before {
  content: "";
  position: absolute;
  inset: -10% -20% auto auto;
  width: clamp(360px, 48vw, 720px);
  height: clamp(360px, 48vw, 720px);
  background: radial-gradient(circle at 60% 40%, rgba(0, 229, 255, .16), transparent 62%);
  pointer-events: none;
  z-index: 0;
}

.page-faq .faq-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 52px);
  align-items: center;
}

.page-faq .faq-hero__title {
  margin: 12px 0 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.4rem, 6.4vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -.01em;
  color: var(--ice);
}

.page-faq .faq-hero__lead {
  margin: 20px 0 0;
  max-width: 46ch;
  color: var(--steel);
  font-size: clamp(1rem, 1.4vw, 1.075rem);
  line-height: 1.75;
}

/* 搜索 */
.page-faq .faq-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--glass-deep);
  backdrop-filter: blur(8px);
  transition: border-color .25s ease, box-shadow .25s ease;
}

.page-faq .faq-search:focus-within {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(0, 229, 255, .12);
}

.page-faq .faq-search__icon {
  flex: none;
  width: 18px;
  height: 18px;
  border: 2px solid var(--cyan-soft);
  border-radius: 50%;
  position: relative;
}

.page-faq .faq-search__icon::after {
  content: "";
  position: absolute;
  right: -6px;
  bottom: -5px;
  width: 9px;
  height: 2px;
  background: var(--cyan-soft);
  transform: rotate(45deg);
  border-radius: 2px;
}

.page-faq .faq-search__label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.page-faq .faq-search__input {
  flex: 1 1 auto;
  min-width: 0;
  background: transparent;
  border: 0;
  outline: none;
  color: var(--ice);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 4px 0;
}

.page-faq .faq-search__input::placeholder {
  color: var(--steel);
}

/* 快捷 chip */
.page-faq .faq-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.page-faq .faq-chip {
  display: inline-block;
  padding: 7px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .85rem;
  color: var(--steel);
  text-decoration: none;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.page-faq .faq-chip:hover,
.page-faq .faq-chip:focus-visible {
  color: var(--ink-900);
  background: var(--cyan);
  border-color: var(--cyan);
}

/* 倒计时视觉 */
.page-faq .faq-hero__visual {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.page-faq .faq-countdown {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: clamp(20px, 3vw, 30px) clamp(22px, 3vw, 34px);
  border: 1px solid var(--line-strong);
  border-radius: var(--faq-radius);
  background:
    linear-gradient(135deg, rgba(255, 176, 32, .12), rgba(0, 229, 255, .06)),
    var(--ink-800);
  overflow: hidden;
}

.page-faq .faq-countdown::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    transparent 0 26px,
    rgba(125, 243, 255, .06) 26px 27px
  );
  pointer-events: none;
}

.page-faq .faq-countdown__digits {
  position: relative;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(3.2rem, 9vw, 5.2rem);
  line-height: 1;
  color: var(--amber);
  letter-spacing: -.03em;
  text-shadow: 0 0 28px rgba(255, 176, 32, .38);
}

.page-faq .faq-countdown__unit {
  position: relative;
  font-family: var(--font-mono);
  font-size: .8rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--steel);
}

.page-faq .faq-countdown__label {
  position: relative;
  margin-left: auto;
  align-self: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: .08em;
  color: var(--ice);
  white-space: nowrap;
}

.page-faq .faq-hero__media .media__frame {
  aspect-ratio: 3 / 2;
}

/* ---------- 主布局 ---------- */
.page-faq .faq-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 56px);
  margin-top: clamp(16px, 3vw, 32px);
}

.page-faq .faq-aside {
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.page-faq .faq-aside__title {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--cyan-soft);
}

.page-faq .faq-nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.page-faq .faq-nav .section-nav__link {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .88rem;
  color: var(--steel);
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.page-faq .faq-nav .section-nav__link:hover,
.page-faq .faq-nav .section-nav__link:focus-visible {
  color: var(--ice);
  border-color: var(--line-strong);
}

.page-faq .faq-nav .section-nav__link[aria-current="true"] {
  color: var(--ink-900);
  background: var(--cyan);
  border-color: var(--cyan);
}

.page-faq .faq-aside__note {
  display: none;
  margin: 20px 0 0;
  font-size: .9rem;
  color: var(--steel);
}

/* ---------- 分组 ---------- */
.page-faq .faq-body {
  display: flex;
  flex-direction: column;
  gap: clamp(44px, 6vw, 76px);
  min-width: 0;
}

.page-faq .faq-group {
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.page-faq .faq-group__head {
  position: relative;
  padding-left: 62px;
  margin-bottom: 22px;
}

.page-faq .faq-group__index {
  position: absolute;
  left: 0;
  top: 2px;
  font-size: .82rem;
  letter-spacing: .12em;
  color: var(--amber);
  padding: 4px 9px;
  border: 1px solid rgba(255, 176, 32, .38);
  border-radius: 8px;
}

.page-faq .faq-group__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 3.2vw, 2.15rem);
  line-height: 1.15;
  color: var(--ice);
}

.page-faq .faq-group__desc {
  margin: 8px 0 0;
  font-size: .95rem;
  color: var(--steel);
}

/* ---------- 手风琴 ---------- */
.page-faq .faq-item {
  border: 1px solid var(--line);
  border-radius: var(--faq-radius);
  background: var(--glass);
  backdrop-filter: blur(8px);
  margin-bottom: 12px;
  transition: border-color .25s ease, background .25s ease;
}

.page-faq .faq-item[open] {
  border-color: rgba(0, 229, 255, .36);
  background: var(--ink-800);
}

.page-faq .faq-item > summary {
  position: relative;
  padding: 18px 56px 18px 20px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(1rem, 1.4vw, 1.08rem);
  line-height: 1.55;
  color: var(--ice);
  border-radius: var(--faq-radius);
  transition: color .2s ease;
}

.page-faq .faq-item > summary::-webkit-details-marker {
  display: none;
}

.page-faq .faq-item > summary::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 12px;
  height: 12px;
  margin-top: -7px;
  border-right: 2px solid var(--cyan);
  border-bottom: 2px solid var(--cyan);
  transform: rotate(45deg);
  transition: transform .25s ease;
}

.page-faq .faq-item[open] > summary::after {
  transform: rotate(-135deg);
  margin-top: -3px;
}

.page-faq .faq-item > summary:hover,
.page-faq .faq-item > summary:focus-visible {
  color: var(--cyan-soft);
}

.page-faq .faq-item__a {
  padding: 0 22px 22px;
  color: var(--steel);
  font-size: .95rem;
  line-height: 1.78;
}

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

.page-faq .faq-item__a + p {
  margin-top: 12px;
}

/* ---------- 步骤条 ---------- */
.page-faq .faq-steps {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  counter-reset: faqstep;
}

.page-faq .faq-steps__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--cyan);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  background: linear-gradient(90deg, rgba(0, 229, 255, .07), transparent 70%);
}

.page-faq .faq-steps__num {
  flex: none;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--cyan);
  color: var(--ink-900);
  font-size: .82rem;
  font-weight: 700;
}

.page-faq .faq-steps__text {
  color: var(--ice);
  font-size: .95rem;
  line-height: 1.7;
}

/* ---------- 图 + 问 分栏 ---------- */
.page-faq .faq-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: start;
}

.page-faq .faq-split__media .media__frame {
  aspect-ratio: 3 / 2;
}

/* ---------- 联系卡片 ---------- */
.page-faq .faq-contact {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  margin-bottom: 20px;
  border: 1px solid var(--line-strong);
  border-radius: var(--faq-radius);
  background: var(--line);
  overflow: hidden;
}

.page-faq .faq-contact__row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 20px;
  background: var(--ink-800);
}

.page-faq .faq-contact__key {
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cyan-soft);
}

.page-faq .faq-contact__value {
  color: var(--ice);
  font-size: .98rem;
  line-height: 1.6;
  word-break: break-word;
}

.page-faq .faq-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

/* ---------- 平板 ---------- */
@media (min-width: 720px) {
  .page-faq .faq-split {
    grid-template-columns: 1.15fr 1fr;
  }

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

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

/* ---------- 桌面 ---------- */
@media (min-width: 960px) {
  .page-faq .faq-hero__grid {
    grid-template-columns: 1.05fr .95fr;
  }
}

@media (min-width: 1080px) {
  .page-faq .faq-layout {
    grid-template-columns: var(--faq-aside-w) minmax(0, 1fr);
    align-items: start;
  }

  .page-faq .faq-aside {
    position: sticky;
    top: calc(var(--header-h) + 24px);
    border-top: 0;
    border-left: 1px solid var(--line);
    padding: 6px 0 6px 22px;
  }

  .page-faq .faq-nav__list {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 4px;
  }

  .page-faq .faq-nav__item {
    width: 100%;
  }

  .page-faq .faq-nav .section-nav__link {
    display: block;
    padding: 9px 12px;
    border-color: transparent;
    border-radius: var(--r-sm);
  }

  .page-faq .faq-nav .section-nav__link[aria-current="true"] {
    border-radius: var(--r-sm);
  }

  .page-faq .faq-aside__note {
    display: block;
  }
}

/* ---------- 动效降级 ---------- */
@media (prefers-reduced-motion: reduce) {
  .page-faq .faq-item,
  .page-faq .faq-item > summary::after,
  .page-faq .faq-chip,
  .page-faq .faq-search {
    transition: none;
  }
}
</main>
