/* ==========================================================================
   GEOER · 页脚（公共，6 页共用 · B 方案由 js/global/site.js 注入）
   画布节点：首页 19:371 / 其他页面 111:638 等
   ========================================================================== */

.site-footer {
  background: var(--bg-alt);
  padding: 64px var(--pad-page) 28px;
}

.site-footer__inner {
  width: 100%;
  max-width: var(--content-w);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* -------------------------------------------------------------- 上部 */

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px 60px;
  flex-wrap: wrap;
}

.footer-brand {
  flex: 0 0 460px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand img {
  width: 76px;
  height: 28px;
}

.footer-brand__slogan {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-primary);
}

.footer-brand__desc {
  font-size: 14px;
  line-height: 24px;
  color: var(--text-muted);
}

.footer-cols {
  display: flex;
  gap: 64px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-col__title {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
}

.footer-col a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color var(--dur-fast) var(--ease-out);
}

.footer-col a:hover {
  color: var(--brand);
}

/* -------------------------------------------------------------- 底栏 */

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-legal-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-copy,
.footer-legal {
  font-size: 13px;
  color: var(--text-faint);
}

/* 备案信息组：默认隐藏。仅 .cc 域名版本渲染（js/global/site.js 判定后显示） */
.footer-filing {
  display: none;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-faint);
}

html[data-filing="on"] .footer-filing {
  display: inline-flex;
}

.footer-filing img {
  width: 14px;
  height: 14px;
}

.footer-filing .sep {
  color: var(--border-base);
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-legal a {
  transition: color var(--dur-fast) var(--ease-out);
}

.footer-legal a:hover {
  color: var(--brand);
}

/* --------------------------------------------------------------- 断点 */

@media (max-width: 1199px) {
  .footer-brand {
    flex: 0 0 380px;
  }

  .footer-cols {
    gap: 48px;
  }
}

@media (max-width: 899px) {
  .site-footer {
    padding-top: 56px;
  }

  .footer-top {
    flex-direction: column;
    gap: 40px;
  }

  .footer-brand {
    flex: 0 0 auto;
    width: 100%;
  }

  .footer-cols {
    width: 100%;
    gap: 32px;
    flex-wrap: wrap;
  }
}

@media (max-width: 639px) {
  .footer-cols {
    gap: 28px 24px;
  }

  .footer-col {
    flex: 1 1 40%;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* ------------------------------------------------------ 页脚二维码 */

.footer-qr {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* 与 .footer-col__title 同款，保证三个区块在视觉上平级 */
.footer-qr__title {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
}

.footer-qr__row {
  display: flex;
  gap: 20px;
}

.footer-qr__item {
  margin: 0;
  width: 112px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.footer-qr__item img {
  display: block;
  width: 112px;
  height: 112px;
  border-radius: 8px;
  border: 1px solid var(--border-base);
  background: #fff;
}

.footer-qr__item figcaption {
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-muted);
  text-align: center;
}
