.site-footer {
  background: #f3f4f6;
  color: #5c6270;
  padding: 54px 0 34px;
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.site-footer__main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.site-footer__brand {
  color: #20242c;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.site-footer__subtitle {
  margin-top: 8px;
  margin-bottom: 0;
  color: #6f7582;
  font-size: 15px;
  line-height: 1.8;
}

.site-footer__links-row {
  width: 100%;
  border-top: 1px solid #e0e4ea;
  padding-top: 18px;
  display: flex;
  justify-content: flex-start;
}

.site-footer__links {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  row-gap: 12px;
  column-gap: 0;
}

.site-footer a {
  color: #5a6270;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: #20242c;
}

.site-footer__links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-size: 15px;
  line-height: 1;
  color: #5f6675;
}

.site-footer__links a:not(:last-child) {
  margin-right: 28px;
  padding-right: 28px;
}

.site-footer__links a:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 1px;
  height: 14px;
  background: #d4d8e0;
  transform: translateY(-50%);
}

.site-footer__bottom {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px 24px;
  color: #6a7180;
  font-size: 14px;
}

.site-footer__copyright-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  min-width: 0;
}

.site-footer__copyright {
  display: inline-flex;
  align-items: center;
  line-height: 1.6;
}

.site-footer__copyright--cn {
  color: #505865;
  font-size: 14px;
}

.site-footer__copyright--en {
  color: #8b92a0;
  font-size: 12px;
  letter-spacing: 0.01em;
}

.site-footer__icp {
  justify-self: end;
  white-space: nowrap;
  color: #606877;
  font-size: 14px;
}

@media (max-width: 768px) {
  .site-footer {
    padding: 42px 0 30px;
  }

  .site-footer__main {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer__links-row {
    justify-content: flex-start;
  }

  .site-footer__links {
    justify-content: flex-start;
    flex-direction: column;
    align-items: flex-start;
    row-gap: 14px;
  }

  .site-footer__links a:not(:last-child) {
    margin-right: 0;
    padding-right: 0;
  }

  .site-footer__links a:not(:last-child)::after {
    display: none;
  }

  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer__copyright-group {
    gap: 8px;
  }

  .site-footer__copyright--en {
    white-space: normal;
  }
}

/* 2026 visual refresh: branded footer. */
.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--gradient-dark);
  color: rgba(255,255,255,0.74);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 18%, rgba(40,92,255,0.16), transparent 30%),
    radial-gradient(circle at 88% 22%, rgba(177,132,78,0.22), transparent 34%);
}

.site-footer__inner,
.site-footer__main,
.site-footer__links-row,
.site-footer__bottom {
  position: relative;
  z-index: 1;
}

.site-footer__brand,
.site-footer a:hover {
  color: #ffffff;
}

.site-footer__subtitle,
.site-footer a,
.site-footer__links a,
.site-footer__bottom,
.site-footer__copyright--cn,
.site-footer__icp {
  color: rgba(255,255,255,0.70);
}

.site-footer__copyright--en {
  color: rgba(255,255,255,0.46);
}

.site-footer__links-row {
  border-top-color: rgba(255,255,255,0.12);
}

.site-footer__links a:not(:last-child)::after {
  background: rgba(255,255,255,0.18);
}
