.page-faq {
  background: var(--cream);
  color: var(--ink);
}

/* ===== Hero ===== */
.page-faq .faq-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(140deg, var(--meadow) 0%, var(--meadow) 72%, #145C3A 100%);
  color: #fff;
}

.page-faq .faq-hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 34%;
  height: 100%;
  background: var(--crimson);
  clip-path: polygon(38% 0, 100% 0, 100% 100%, 0 100%);
  opacity: 0.88;
}

.page-faq .faq-hero::after {
  content: "";
  position: absolute;
  top: 0;
  right: 28%;
  width: 6px;
  height: 100%;
  background: var(--gold);
  transform: skewX(-16deg);
  opacity: 0.7;
}

.page-faq .faq-hero-inner {
  position: relative;
  z-index: 1;
  padding-top: 28px;
  padding-bottom: 28px;
}

.page-faq .faq-hero .breadcrumb-link {
  color: rgba(255, 255, 255, 0.78);
}

.page-faq .faq-hero .breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  color: rgba(255, 255, 255, 0.5);
  margin: 0 6px;
}

.page-faq .faq-hero .breadcrumb-item[aria-current="page"] {
  color: #fff;
  font-weight: 700;
}

.page-faq .faq-kicker-mark {
  display: inline-block;
  background: var(--crimson);
  color: #fff;
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.08em;
  padding: 2px 8px;
  margin-right: 8px;
  transform: skewX(-12deg);
}

.page-faq .faq-hero-copy .page-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(36px, 7vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 18px 0 14px;
  max-width: 640px;
  color: #fff;
}

.page-faq .faq-hero-copy .page-intro {
  max-width: 640px;
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
}

.page-faq .faq-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  margin-top: 22px;
}

.page-faq .faq-hero-actions .tag {
  margin: 0;
}

.page-faq .faq-hero-actions .btn {
  margin-left: 4px;
}

.page-faq .faq-hero-strip-wrap {
  margin-top: 24px;
}

.page-faq .faq-hero-strip {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 7;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.22);
}

.page-faq .faq-hero-strip img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  object-position: center;
}

/* ===== 主体布局 ===== */
.page-faq .faq-layout {
  padding-top: 28px;
  padding-bottom: 56px;
}

/* ===== 侧栏 ===== */
.page-faq .faq-side-block {
  background: #fff;
  border: 1px solid var(--edge);
  box-shadow: var(--shadow-soft);
  padding: 18px;
  margin-bottom: 16px;
}

.page-faq .faq-side-block .eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--crimson);
  margin-bottom: 12px;
}

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

.page-faq .faq-side-item a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: var(--cream);
  border: 1px solid var(--edge);
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: color 0.25s, border-color 0.25s, background 0.25s;
}

.page-faq .faq-side-item a:hover,
.page-faq .faq-side-item a:focus-visible {
  border-color: var(--gold);
  color: var(--meadow);
  background: #fff;
}

.page-faq .faq-side-num {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 900;
  font-size: 12px;
  color: var(--crimson);
}

.page-faq .faq-side-more {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--meadow);
  text-decoration: none;
  border-bottom: 1px solid var(--meadow);
  transition: color 0.2s, border-color 0.2s;
}

.page-faq .faq-side-more:hover {
  color: var(--crimson);
  border-color: var(--crimson);
}

.page-faq .faq-side-note {
  position: relative;
  background: var(--night);
  color: #fff;
  padding: 24px 22px 22px;
}

.page-faq .faq-side-note::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--crimson) 0 55%, var(--gold) 55% 100%);
}

.page-faq .faq-side-note-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.page-faq .faq-side-note p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.86);
  margin-bottom: 16px;
}

/* ===== 分类卡片 ===== */
.page-faq .faq-cat {
  position: relative;
  background: #fff;
  border: 1px solid var(--edge);
  box-shadow: var(--shadow-soft);
  margin-bottom: 32px;
  scroll-margin-top: 120px;
}

.page-faq .faq-cat::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  height: 4px;
  background: linear-gradient(90deg, var(--crimson) 0 58%, var(--gold) 58% 78%, var(--meadow) 78% 100%);
  z-index: 2;
}

.page-faq .faq-cat-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 28px 22px 0;
}

.page-faq .faq-cat-index {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 900;
  font-size: 42px;
  line-height: 0.9;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--gold);
  flex: 0 0 auto;
}

.page-faq .faq-cat-head h2 {
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1.2;
  margin: 0 0 6px;
  color: var(--ink);
}

.page-faq .faq-cat-head p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(26, 26, 26, 0.7);
  margin: 0;
}

.page-faq .faq-cat-list {
  padding: 20px 22px 22px;
}

/* ===== 折叠面板 ===== */
.page-faq .faq-item {
  display: block;
  border: 1px solid var(--edge);
  background: var(--cream);
  margin-bottom: 10px;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}

.page-faq .faq-item:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-soft);
}

.page-faq .faq-item[open] {
  border-color: var(--meadow);
  background: #fff;
}

.page-faq .faq-item summary {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  list-style: none;
  padding: 14px 16px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
  -webkit-tap-highlight-color: transparent;
}

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

.page-faq .faq-item summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: -2px;
}

.page-faq .faq-q-num {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 900;
  font-size: 12px;
  color: var(--crimson);
  background: #fff;
  border: 1px solid var(--edge);
  padding: 3px 7px;
  flex: 0 0 auto;
  letter-spacing: 0.04em;
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}

.page-faq .faq-item[open] summary .faq-q-num {
  background: var(--meadow);
  border-color: var(--meadow);
  color: #fff;
}

.page-faq .faq-item summary::after {
  content: "+";
  margin-left: auto;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  color: var(--crimson);
  transition: transform 0.3s ease, color 0.25s ease;
}

.page-faq .faq-item[open] summary::after {
  content: "−";
  color: var(--meadow);
}

.page-faq .faq-answer {
  padding: 0 18px 16px 53px;
  font-size: 14.5px;
  line-height: 1.75;
  color: rgba(26, 26, 26, 0.85);
}

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

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

/* ===== 同步提示卡 ===== */
.page-faq .faq-sync-card {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
  background: linear-gradient(120deg, var(--night) 0%, #143248 100%);
  color: #fff;
  margin: 0 22px 24px;
}

.page-faq .faq-sync-media {
  width: 100%;
  overflow: hidden;
  border-bottom: 3px solid var(--gold);
}

.page-faq .faq-sync-media img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
}

.page-faq .faq-sync-copy {
  padding: 4px 16px 16px;
}

.page-faq .faq-sync-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.page-faq .faq-sync-copy p {
  font-size: 13.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.86);
  margin: 0;
}

/* ===== 底部 CTA ===== */
.page-faq .faq-bottom-cta {
  position: relative;
  overflow: hidden;
  padding-top: 40px;
  padding-bottom: 48px;
}

.page-faq .faq-bottom-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--gold) 0 18%, var(--crimson) 18% 48%, var(--meadow) 48% 100%);
}

.page-faq .faq-bottom-inner {
  display: grid;
  gap: 24px;
}

.page-faq .faq-bottom-copy .section-kicker {
  color: var(--gold);
}

.page-faq .faq-bottom-copy h2 {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1.25;
  margin: 10px 0 12px;
  color: #fff;
}

.page-faq .faq-bottom-copy p {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.82);
  max-width: 620px;
  margin: 0;
}

.page-faq .faq-bottom-actions {
  align-items: center;
  gap: 12px;
}

/* ===== 平板尺寸 ===== */
@media (min-width: 768px) {
  .page-faq .faq-hero-strip {
    aspect-ratio: 16 / 6;
  }

  .page-faq .faq-sync-card {
    grid-template-columns: 200px 1fr;
    align-items: center;
  }

  .page-faq .faq-sync-media {
    border-bottom: 0;
    border-right: 3px solid var(--gold);
    height: 100%;
  }

  .page-faq .faq-sync-media img {
    height: 100%;
    min-height: 130px;
    aspect-ratio: auto;
    object-fit: cover;
  }

  .page-faq .faq-sync-copy {
    padding: 16px 18px 16px 4px;
  }
}

/* ===== 桌面尺寸 ===== */
@media (min-width: 980px) {
  .page-faq .faq-hero::before {
    width: 38%;
  }

  .page-faq .faq-hero-inner {
    padding-top: 40px;
    padding-bottom: 36px;
  }

  .page-faq .faq-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
    gap: 40px;
    align-items: center;
    margin-top: 20px;
  }

  .page-faq .faq-hero-strip-wrap {
    margin-top: 0;
  }

  .page-faq .faq-hero-strip {
    aspect-ratio: 4 / 3;
    border-width: 3px;
  }

  .page-faq .faq-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 32px;
    align-items: start;
    padding-top: 40px;
    padding-bottom: 72px;
  }

  .page-faq .faq-side {
    position: sticky;
    top: 24px;
  }

  .page-faq .faq-side-list {
    display: block;
  }

  .page-faq .faq-side-item {
    margin-bottom: 6px;
  }

  .page-faq .faq-side-item a {
    display: flex;
    width: 100%;
    border: 0;
    border-left: 3px solid var(--meadow);
    background: transparent;
    padding: 10px 4px;
    justify-content: flex-start;
  }

  .page-faq .faq-side-item a:hover,
  .page-faq .faq-side-item a:focus-visible {
    border-color: transparent;
    border-left-color: var(--crimson);
    color: var(--crimson);
    background: rgba(215, 38, 61, 0.05);
  }

  .page-faq .faq-cat-head {
    padding-left: 28px;
    padding-right: 28px;
  }

  .page-faq .faq-cat-list {
    padding-left: 28px;
    padding-right: 28px;
  }

  .page-faq .faq-sync-card {
    margin-left: 28px;
    margin-right: 28px;
  }

  .page-faq .faq-bottom-inner {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
  }
}
