/* Shared footer, based on the homepage layout. Keep styles scoped to this footer. */
.global-site-footer {
  margin: 0;
  padding: 40px 0 26px;
  border-top: 1px solid #eeeaf5;
  background: #fff;
  color: #71728b;
  font: 400 16px/1.8 "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
  text-align: left;
}

.global-site-footer *,
.global-site-footer *::before,
.global-site-footer *::after { box-sizing: border-box; }
.global-site-footer p { margin: 0; }
.global-site-footer a { color: inherit; text-decoration: none; }
.global-site-footer a:hover { color: #7154ff; }
.global-site-footer a:focus-visible { outline: 3px solid #aa95ff; outline-offset: 5px; }
.global-site-footer img { display: block; max-width: 100%; }

.global-footer-container {
  width: calc(100% - 80px);
  max-width: 1200px;
  margin-inline: auto;
}

.global-footer-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 60px;
}

.global-footer-brand img { width: 132px; height: auto; margin-bottom: 28px; }
.global-contact-line { max-width: 700px; color: #7b7189; font-size: 13px; line-height: 2.2; }
.global-qr-wrap { display: flex; gap: 24px; }
.global-qr { width: 104px; color: #7b7189; font-size: 11px; line-height: 1.7; text-align: center; white-space: nowrap; }
.global-qr img { width: 94px; height: 94px; margin: 0 auto 10px; border: 1px solid #efebf6; border-radius: 8px; background: #fff; object-fit: contain; }

.global-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-top: 28px;
  padding-top: 23px;
  border-top: 1px solid #eeeaf5;
  color: #7b7189;
  font-size: 11px;
}

@media (max-width: 1100px) {
  .global-footer-container { width: calc(100% - 64px); }
}

@media (max-width: 850px) {
  .global-footer-main { gap: 30px; }
  .global-contact-line { font-size: 12px; }
  .global-qr-wrap { gap: 16px; }
  .global-qr { width: 88px; font-size: 10px; }
  .global-qr img { width: 82px; height: 82px; }
}

@media (max-width: 680px) {
  .global-site-footer { padding-top: 30px; }
  .global-footer-container { width: calc(100% - 40px); }
  .global-footer-main { display: block; }
  .global-footer-brand img { width: 112px; margin-bottom: 20px; }
  .global-contact-line { font-size: 12px; line-height: 2.3; }
  .global-qr-wrap { gap: 25px; margin-top: 26px; }
  .global-qr { width: 92px; }
  .global-qr img { width: 86px; height: 86px; }
  .global-footer-bottom { display: block; padding-top: 20px; line-height: 2; }
  .global-footer-bottom a { display: block; margin-top: 6px; }
}
