.page-faq {
  --faq-sidebar-w: 260px;
  position: relative;
  background-color: var(--color-bg);
  color: var(--color-white);
}

/* ---------- 页面封面 ---------- */
.page-faq .faq-hero {
  position: relative;
  padding: 36px 0 44px;
  background: linear-gradient(135deg, rgba(10, 31, 60, 0.85) 0%, rgba(11, 11, 15, 0.98) 60%, rgba(255, 90, 0, 0.22) 130%);
  border-bottom: 1px solid rgba(192, 192, 192, 0.16);
}

.page-faq .faq-hero::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  width: 38%;
  height: 5px;
  background: repeating-linear-gradient(-45deg, var(--color-orange) 0 12px, transparent 12px 22px);
  opacity: 0.28;
  pointer-events: none;
}

.page-faq .faq-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-top: 20px;
}

.page-faq .faq-hero__eyebrow {
  margin: 0 0 12px;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-green);
}

.page-faq .faq-hero__title {
  margin: 0 0 16px;
  font-family: var(--font-head);
  font-size: clamp(36px, 8vw, 54px);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--color-white);
}

.page-faq .faq-hero__sub {
  display: block;
  margin-top: 8px;
  font-size: clamp(18px, 4vw, 28px);
  font-weight: 700;
  color: var(--color-orange);
  letter-spacing: 0.04em;
}

.page-faq .faq-hero__lead {
  max-width: 680px;
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--color-silver);
}

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

.page-faq .faq-hero__img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 2px;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}

/* ---------- 筛选条 ---------- */
.page-faq .faq-filterbar {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px;
  padding-top: 20px;
  padding-bottom: 4px;
  margin-top: 4px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.page-faq .faq-filterbar__label {
  flex-shrink: 0;
  margin-right: 4px;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-silver);
}

.page-faq .chip--filter {
  flex-shrink: 0;
  border: 1px solid rgba(192, 192, 192, 0.28);
  border-radius: 999px;
  background: rgba(10, 31, 60, 0.65);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1;
  padding: 9px 16px;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.page-faq .chip--filter:hover,
.page-faq .chip--filter:focus-visible {
  border-color: var(--color-orange);
  color: var(--color-orange);
}

.page-faq .chip--filter[data-active="true"] {
  background: var(--color-orange);
  border-color: var(--color-orange);
  color: var(--color-white);
}

/* ---------- 主布局 ---------- */
.page-faq .faq-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: start;
  padding-top: 28px;
  padding-bottom: 72px;
}

/* ---------- 侧栏分类导航 ---------- */
.page-faq .faq-sidebar {
  background: rgba(10, 31, 60, 0.72);
  border-left: 3px solid var(--color-orange);
  padding: 22px 18px;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}

.page-faq .faq-sidebar__title {
  margin: 0 0 14px;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-green);
}

.page-faq .faq-sidebar__nav {
  display: grid;
  gap: 6px;
}

.page-faq .faq-sidebar__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 2px;
  color: var(--color-silver);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease, padding-left 0.25s ease;
}

.page-faq .faq-sidebar__link:hover,
.page-faq .faq-sidebar__link:focus-visible {
  background: rgba(255, 90, 0, 0.12);
  color: var(--color-white);
  padding-left: 16px;
}

.page-faq .faq-sidebar__num {
  min-width: 26px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 800;
  color: var(--color-orange);
}

.page-faq .faq-sidebar__help {
  margin-top: 22px;
  padding: 16px 14px;
  border-top: 1px solid rgba(192, 192, 192, 0.14);
}

.page-faq .faq-sidebar__help-title {
  margin: 0 0 4px;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-white);
}

.page-faq .faq-sidebar__help-desc {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--color-silver);
}

/* ---------- FAQ 区块 ---------- */
.page-faq .faq-block {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.page-faq .faq-block__head {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 14px;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(192, 192, 192, 0.16);
}

.page-faq .faq-block__head::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 52px;
  height: 3px;
  background: var(--color-orange);
}

.page-faq .faq-block__index {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
  color: var(--color-orange);
}

.page-faq .faq-block__title {
  margin: 0 0 4px;
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--color-white);
}

.page-faq .faq-block__desc {
  margin: 0;
  font-size: 13px;
  color: var(--color-silver);
}

/* ---------- FAQ 手风琴列表 ---------- */
.page-faq .faq-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.page-faq .faq-item {
  background: rgba(10, 31, 60, 0.4);
  border: 1px solid rgba(192, 192, 192, 0.16);
  border-left: 3px solid rgba(255, 90, 0, 0.5);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.page-faq .faq-item[open] {
  background: rgba(10, 31, 60, 0.66);
  border-left-color: var(--color-orange);
}

.page-faq .faq-item__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-white);
  transition: color 0.25s ease;
}

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

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

.page-faq .faq-item__icon {
  position: relative;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.page-faq .faq-item__icon::before,
.page-faq .faq-item__icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  background: var(--color-orange);
  border-radius: 1px;
  transition: transform 0.28s ease;
}

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

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

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

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

.page-faq .faq-item__a {
  padding: 0 18px 18px;
  font-size: 14px;
  line-height: 1.85;
  color: var(--color-silver);
}

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

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

/* ---------- 流程图 ---------- */
.page-faq .faq-flow {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 28px;
  padding: 24px 0 0;
  border-top: 1px solid rgba(192, 192, 192, 0.16);
}

.page-faq .faq-flow__img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 4px;
}

.page-faq .faq-flow__steps {
  padding: 20px;
  background: rgba(10, 31, 60, 0.55);
  border-right: 3px solid var(--color-green);
}

.page-faq .faq-flow__title {
  margin: 0 0 12px;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--color-white);
}

.page-faq .faq-flow__list {
  margin: 0;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--color-silver);
}

.page-faq .faq-flow__list li::marker {
  color: var(--color-green);
}

/* ---------- 底部联系块 ---------- */
.page-faq .faq-contact {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 48px;
  padding: 26px 24px;
  background: linear-gradient(120deg, rgba(255, 90, 0, 0.18) 0%, rgba(10, 31, 60, 0.8) 58%, rgba(0, 255, 158, 0.1) 100%);
  border: 1px solid rgba(255, 90, 0, 0.28);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}

.page-faq .faq-contact__eyebrow {
  margin: 0 0 6px;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--color-green);
}

.page-faq .faq-contact__title {
  margin: 0 0 8px;
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-white);
}

.page-faq .faq-contact__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-silver);
}

.page-faq .faq-contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- 焦点可见性 ---------- */
.page-faq .faq-item__q:focus-visible,
.page-faq .faq-sidebar__link:focus-visible,
.page-faq .chip--filter:focus-visible {
  outline: 2px solid var(--color-green);
  outline-offset: 2px;
}

/* ---------- 平板及以上 ---------- */
@media (min-width: 768px) {
  .page-faq .faq-layout {
    gap: 48px;
  }

  .page-faq .faq-flow {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
  }

  .page-faq .faq-contact {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .page-faq .faq-contact__content {
    flex: 1 1 auto;
  }

  .page-faq .faq-contact__actions {
    flex-shrink: 0;
  }
}

/* ---------- 桌面 ---------- */
@media (min-width: 1024px) {
  .page-faq .faq-hero {
    padding: 48px 0 60px;
  }

  .page-faq .faq-hero__grid {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 48px;
  }

  .page-faq .faq-layout {
    grid-template-columns: var(--faq-sidebar-w) 1fr;
    gap: 52px;
    padding-top: 40px;
    padding-bottom: 96px;
  }

  .page-faq .faq-sidebar {
    position: sticky;
    top: calc(var(--header-h) + 20px);
  }

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

  .page-faq .faq-block + .faq-block {
    margin-top: 56px;
  }
}
