:root {
  --faq-bg: #f4f7fb;
  --faq-surface: #ffffff;
  --faq-border: rgba(16, 32, 56, 0.1);
  --faq-text: #122033;
  --faq-muted: #617087;
  --faq-primary: #0d4f9a;
  --faq-primary-soft: rgba(13, 79, 154, 0.08);
  --faq-shadow: 0 24px 60px rgba(10, 26, 52, 0.08);
}

#faqPage {
  background: linear-gradient(180deg, #eef4fb 0%, #f7f9fc 24%, #ffffff 100%);
  padding-bottom: 1rem;
}

.faq-hero {
  position: relative;
  overflow: hidden;
  padding: 1.2rem 0 0.72rem;
}

.faq-hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 21, 43, 0.72) 0%, rgba(7, 21, 43, 0.54) 42%, rgba(7, 21, 43, 0.36) 100%),
    url('../img/banner.jpg') center center / cover no-repeat;
}

.faq-hero__inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.faq-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.08rem 0.18rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 0.14rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.faq-hero__title {
  margin: 0.22rem 0 0;
  color: #ffffff;
  font-size: 0.52rem;
  line-height: 1.12;
  font-weight: 800;
}

.faq-hero__desc {
  max-width: 8rem;
  margin: 0.2rem auto 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.18rem;
  line-height: 1.9;
}

.faq-hero__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.14rem;
  margin-top: 0.28rem;
}

.faq-hero__meta span {
  padding: 0.1rem 0.18rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: none;
  color: #ffffff;
  font-size: 0.14rem;
}

.faq-layout {
  display: grid;
  grid-template-columns: 3.1rem minmax(0, 1fr);
  gap: 0.28rem;
  align-items: start;
  margin-top: 0.12rem;
}

.faq-side {
  position: sticky;
  top: 1.2rem;
  display: grid;
  gap: 0.18rem;
}

.faq-side__card {
  padding: 0.28rem;
  border: 1px solid var(--faq-border);
  border-radius: 0.24rem;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--faq-shadow);
}

.faq-side__eyebrow {
  margin: 0;
  color: var(--faq-primary);
  font-size: 0.13rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.faq-side__card h2,
.faq-side__card h3 {
  margin: 0.12rem 0 0;
  color: var(--faq-text);
  font-size: 0.3rem;
  line-height: 1.28;
}

.faq-side__card h3 {
  font-size: 0.26rem;
}

.faq-side__card p {
  margin: 0.14rem 0 0;
  color: var(--faq-muted);
  font-size: 0.15rem;
  line-height: 1.9;
}

.faq-side__links {
  margin: 0.22rem 0 0;
  padding: 0;
  list-style: none;
}

.faq-side__links li+li {
  margin-top: 0.1rem;
}

.faq-side__links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.14rem 0.16rem;
  border-radius: 0.16rem;
  background: var(--faq-primary-soft);
  color: var(--faq-text);
  font-size: 0.15rem;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease;
}

.faq-side__links a:hover {
  transform: translateX(0.04rem);
  background: rgba(13, 79, 154, 0.12);
}

.faq-side__links .is-active {
  background: rgba(13, 79, 154, 0.16);
  color: var(--faq-primary);
}

.faq-side__links--tree>li+li {
  margin-top: 0.12rem;
}

.faq-side__group {
  border-radius: 0.18rem;
  background: var(--faq-primary-soft);
  overflow: hidden;
}

.faq-side__group summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  padding: 0.14rem 0.42rem 0.14rem 0.16rem;
  color: var(--faq-text);
  font-size: 0.15rem;
  font-weight: 700;
  line-height: 1.5;
}

.faq-side__group summary::-webkit-details-marker {
  display: none;
}

.faq-side__group summary::before,
.faq-side__group summary::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 0.16rem;
  width: 0.12rem;
  height: 0.02rem;
  border-radius: 999px;
  background: var(--faq-primary);
  transform: translateY(-50%);
  transition: transform 0.2s ease;
}

.faq-side__group summary::after {
  transform: translateY(-50%) rotate(90deg);
}

.faq-side__group[open] summary::after {
  transform: translateY(-50%) rotate(0deg);
}

.faq-side__sublist {
  display: grid;
  gap: 0.08rem;
  padding: 0 0.12rem 0.12rem;
}

.faq-side__sublist a {
  background: rgba(255, 255, 255, 0.88);
  font-size: 0.14rem;
  font-weight: 600;
}

.faq-side__card--cta {
  background: linear-gradient(155deg, #123a74 0%, #0d4f9a 52%, #1673cc 100%);
  border-color: transparent;
}

.faq-side__card--cta .faq-side__eyebrow,
.faq-side__card--cta h3,
.faq-side__card--cta p {
  color: #ffffff;
}

.faq-side__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.22rem;
  min-width: 1.56rem;
  height: 0.52rem;
  padding: 0 0.24rem;
  border-radius: 999px;
  background: #ffffff;
  color: #0d4f9a;
  font-size: 0.15rem;
  font-weight: 700;
}

.faq-content {
  display: grid;
  gap: 0.24rem;
}

.faq-section {
  padding: 0.3rem;
  border: 1px solid var(--faq-border);
  border-radius: 0.28rem;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--faq-shadow);
}

.faq-section__head {
  margin-bottom: 0.2rem;
}

.faq-section__eyebrow {
  margin: 0;
  color: var(--faq-primary);
  font-size: 0.13rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.faq-section__head h2 {
  margin: 0.1rem 0 0;
  color: var(--faq-text);
  font-size: 0.34rem;
  line-height: 1.24;
}

.faq-item {
  border-top: 1px solid rgba(18, 32, 51, 0.08);
}

.faq-item:last-child {
  border-bottom: 1px solid rgba(18, 32, 51, 0.08);
}

.faq-item summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  padding: 0.22rem 0.48rem 0.22rem 0;
  color: var(--faq-text);
  font-size: 0.19rem;
  font-weight: 700;
  line-height: 1.55;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::before,
.faq-item summary::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 0.12rem;
  width: 0.16rem;
  height: 0.02rem;
  border-radius: 999px;
  background: var(--faq-primary);
  transform: translateY(-50%);
  transition: transform 0.2s ease;
}

.faq-item summary::after {
  transform: translateY(-50%) rotate(90deg);
}

.faq-item[open] summary::after {
  transform: translateY(-50%) rotate(0deg);
}

.faq-item__body {
  padding: 0 0.12rem 0.24rem 0;
}

.faq-item__body p {
  margin: 0;
  color: var(--faq-muted);
  font-size: 0.16rem;
  line-height: 1.95;
}

@media only screen and (max-width: 1180px) {
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .faq-side {
    position: static;
  }
}

@media only screen and (max-width: 767px) {
  .faq-hero {
    padding: 0.72rem 0 0.48rem;
  }

  .faq-hero__title {
    font-size: 0.34rem;
  }

  .faq-hero__desc {
    font-size: 0.15rem;
    line-height: 1.8;
  }

  .faq-layout {
    gap: 0.18rem;
  }

  .faq-side__card,
  .faq-section {
    padding: 0.2rem;
    border-radius: 0.18rem;
  }

  .faq-section__head h2 {
    font-size: 0.26rem;
  }

  .faq-item summary {
    font-size: 0.16rem;
    padding-right: 0.36rem;
  }

  .faq-item__body p,
  .faq-side__card p {
    font-size: 0.14rem;
  }
}