/* 页面背景图通用优化 */

/* 子页面顶部横幅 */
.page-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-position: center center;
  min-height: clamp(300px, 32vw, 460px);
}

/* 人物居上的竖版构图 */
.page-hero--portrait {
  background-position: center 18%;
}

/* 文字较少的页面横幅，降低高度避免留白过多 */
.page-hero--compact {
  min-height: clamp(240px, 24vw, 340px);
}

/* 宽幅风景/场景图 */
.page-hero--landscape {
  background-position: center center;
}

/* 首页主视觉 */
.hero-image-bg {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center 32%;
}

/* 卡片式背景图（使命/愿景等） */
.bg-image-card {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center 42%;
  min-height: 300px;
}

/* 区块装饰背景 */
.section-bg {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}

.section-bg--soft {
  background-position: center 35%;
}

/* FAQ 区块：背景层固定顶部，不随手风琴展开而移动或放大 */
.faq-section {
  position: relative;
}

.faq-section__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: clamp(480px, 52vw, 680px);
  background-image: url('faq-bg.png');
  background-size: cover;
  background-position: center 35%;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 0;
}

/* 页脚公安备案信息 */
.footer-beian {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.75rem;
  line-height: 1.5;
  color: #9ca3af;
}

.footer-beian a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-beian a:hover {
  color: #0764ff;
}

.beian-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  object-fit: contain;
  vertical-align: middle;
}

/* 页脚二维码 */
.footer-qr img {
  width: 150px;
  height: 150px;
  border-radius: 0.375rem;
  background-color: #ffffff;
  object-fit: cover;
}
