.site-footer {
  background: var(--primary-dark);
  color: rgb(255, 255, 255);
  padding-top: 40px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 3rem);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .footer-logo {
  font-size: 1.25rem;
  font-weight: var(--fw-bold);
  color: white;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

.footer-brand p {
  font-size: var(--fs-small);
  line-height: 1.7;
 
  max-width: 320px;
}

.footer-col h4 {
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}

.footer-col a {
  display: block;
  padding: 0.375rem 0;
  
  color: rgb(255, 255, 255);
  transition: var(--transition-fast);
  border-bottom: 1px solid rgb(212, 212, 212); /* 设置下划线颜色和粗细 */
    padding-bottom: 1px; /* 这里是关键：调整线条与文字的距离 */
}

.footer-col a:hover {
  color: white;
  padding-left: 4px;
}

.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--fs-xs);
  color: rgb(255, 255, 255);
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  color: rgba(255,255,255,0.5);
  font-size: 1.125rem;
  transition: var(--transition-fast);
}

.footer-social a:hover { color: white; }

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

