/* ===================================================================
   底部导航 / FOOTER —— 三页共用单一来源（BEM 命名，block: site-footer）
   =================================================================== */
.site-footer {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #1a1a2e;
}
.site-footer a { color: inherit; text-decoration: none; }
.site-footer__legal { width: 1200px; overflow: hidden; }
.site-footer__head {
  width: 100%;
  margin: 0 0 42px;
  display: flex;
  align-items: flex-end;
  font-weight: bold;
  font-size: 16px;
  color: #FFFFFF;
  letter-spacing: 2px;
}
.site-footer__logo { width: 140px; height: 36px; margin-right: 24px; }
.site-footer__content { width: 1200px; display: flex; align-items: flex-start; margin: 40px 0 24px; }
.site-footer__left { width: 500px; flex-shrink: 0; }
.site-footer__cities { display: flex; justify-content: space-between; padding-right: 30px; }
.site-footer__city {
  font-weight: 400;
  font-size: 14px;
  color: #7E8186;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.site-footer__city-bar { width: 80%; height: 2px; border-radius: 1px; margin-top: 6px; }
.site-footer__city--active .site-footer__city-bar { background: #ff7200; }
.site-footer__city--active .site-footer__city-name { font-weight: 500; color: #FFFFFF; }
.site-footer__office { width: 500px; min-height: 175px; overflow: hidden; display: none; }
.site-footer__office--active { display: block; }
.site-footer__office-row { margin-top: 16px; }
.site-footer__office-col { display: flex; font-weight: 400; font-size: 12px; color: #AEB3BC; }
.site-footer__office-col--company { margin-bottom: 10px; }
.site-footer__office-text { flex: 1; padding-right: 10px; }
.site-footer__right {
  width: 700px;
  margin-top: 10px;
  border-left: 1px solid #2E3034;
  display: flex;
  justify-content: flex-end;
  padding-left: 50px;
}
.site-footer__col { margin-right: 84px; }
.site-footer__col:last-child { margin-right: 0; }
.site-footer__col-title { font-weight: 500; font-size: 14px; color: #FFFFFF; margin-bottom: 27px; }
.site-footer__col-item {
  font-weight: 400;
  font-size: 14px;
  color: #7E8186;
  margin-top: 13px;
  cursor: pointer;
  display: flex;
  white-space: nowrap;
}
.site-footer__col-item:hover,
.site-footer__col-item a:hover { color: #FFFFFF; }
.site-footer__online { text-decoration: underline; cursor: pointer; }
.site-footer__qr-icon { width: 32px; height: 32px; cursor: pointer; margin-right: 28px; }
.site-footer__qr { position: relative; }
.site-footer__qr:hover .site-footer__qr-pop { display: block; }
.site-footer__qr-pop {
  display: none;
  position: absolute;
  top: -168px;
  left: -74px;
  width: 180px;
  height: 190px;
  padding: 8px 12px 20px 12px;
  background: url(../images/qr-bg.png) no-repeat center;
  background-size: 100% auto;
}
.site-footer__qr-pop > img { width: 100%; }
.site-footer__filing {
  width: 1200px;
  height: 50px;
  line-height: 50px;
  font-weight: 400;
  font-size: 12px;
  color: #9D9FAC;
  border-top: 1px solid #2E3034;
  display: flex;
  justify-content: center;
  align-items: center;
}
.site-footer__filing-icon { width: 18px; height: 16px; margin: 0 2px 0 6px; }
.site-footer__filing a:hover { color: #FFFFFF; }

/* ================= 页脚自适应 ================= */
@media (max-width: 1240px) {
  .site-footer__content,
  .site-footer__legal,
  .site-footer__filing { width: calc(100% - 40px); }
  .site-footer__content { overflow-x: auto; }
}

@media (max-width: 900px) {
  /* 页脚内部原本是 500px / 700px 固定宽，窄屏会直接把文档撑出横向滚动条 */
  .site-footer,
  .site-footer__content {
    width: 100% !important;
    max-width: 100%;
    box-sizing: border-box;
  }
  .site-footer__content {
    flex-wrap: wrap !important;
    overflow: visible !important;
    padding: 0 20px !important;
    row-gap: 28px;
  }
  .site-footer__left {
    width: 100% !important;
    flex-shrink: 1 !important;
    min-width: 0;
  }
  .site-footer__office {
    width: 100% !important;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    min-height: 0;
  }
  .site-footer__right {
    width: 100% !important;
    margin-top: 0 !important;
    padding-left: 0 !important;
    border-left: 0 !important;
    display: flex;
    flex-wrap: wrap;
    gap: 20px 16px;
    min-width: 0;
  }
  .site-footer__col {
    width: calc(50% - 8px) !important;
    margin-right: 0 !important;
    min-width: 0;
    overflow: visible !important;
  }
  .site-footer__cities { flex-wrap: wrap; row-gap: 6px; padding-right: 0 !important; }
  .site-footer__filing { width: calc(100% - 40px) !important; box-sizing: border-box; }
  .site-footer__legal { width: calc(100% - 40px) !important; box-sizing: border-box; }
  /* 邮箱、电话等长串不能把列撑爆 */
  .site-footer__col, .site-footer__col * { overflow-wrap: anywhere; word-break: break-word; }
}

@media (max-width: 600px) {
  .site-footer__col { width: 100% !important; }
}
