/* ==========================================================================
   Linkshing 官网 · 页脚（Footer）
   3 栏：Logo+简介 ｜ 快速导航 ｜ 联系方式
   底部：版权行 + 备案号占位
   ========================================================================== */

.site-footer {
  background-color: #0E1A2B;   /* 深色底：与品牌蓝同色系，克制不用参考站配色 */
  color: rgba(255, 255, 255, .72);
  font-size: var(--fs-small);
}

.site-footer__main {
  padding-block: var(--space-8);
}

/* 3 栏网格（原 4 栏，公众号二维码栏已移除） */
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.4fr;
  gap: var(--space-6);
}

/* ------------------------------------------------------------------
   栏 1：Logo + 简介
   ------------------------------------------------------------------ */

.site-footer__logo {
  height: 40px;
  width: auto;
  margin-bottom: var(--space-2);
}

.site-footer__desc {
  line-height: var(--lh-body);
  margin-bottom: var(--space-2);
  max-width: 320px;
}

.site-footer__brand-en {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, .6);
}

/* ------------------------------------------------------------------
   通用栏标题
   ------------------------------------------------------------------ */

.site-footer__title {
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
  color: var(--color-white);
  margin-bottom: var(--space-3);
}

/* ------------------------------------------------------------------
   快速导航
   ------------------------------------------------------------------ */

.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer__link {
  color: rgba(255, 255, 255, .72);
  transition: color var(--transition-base);
}

.site-footer__link:hover,
.site-footer__link:focus-visible {
  color: var(--color-white);
}

/* ------------------------------------------------------------------
   联系方式
   ------------------------------------------------------------------ */

.site-footer__contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.site-footer__contact-item {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  line-height: 1.6;
}

.site-footer__contact-label {
  flex-shrink: 0;
  color: rgba(255, 255, 255, .6);
}

.site-footer__contact-value {
  color: rgba(255, 255, 255, .82);
  /* 邮箱等长串允许断行；但地址等正常句子按词断行，避免出现 "Hangzo / u" 这类断字 */
  overflow-wrap: anywhere;
  word-break: normal;
}

/* 邮箱为可点击链接：继承字色，hover 时提亮为纯白（与页脚其他链接一致） */
.site-footer__contact-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, .28);
  transition: color var(--transition-base), border-color var(--transition-base);
}

.site-footer__contact-link:hover,
.site-footer__contact-link:focus-visible {
  color: var(--color-white);
  border-bottom-color: var(--color-white);
}

/* ==========================================================================
   底部：版权 + 备案
   ========================================================================== */

.site-footer__bottom {
  padding-block: var(--space-3);
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.site-footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  flex-wrap: wrap;
}

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

.site-footer__legal {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.site-footer__legal-link {
  color: rgba(255, 255, 255, .55);
  transition: color var(--transition-base);
}

.site-footer__legal-link:hover,
.site-footer__legal-link:focus-visible {
  color: var(--color-white);
}

/* ==========================================================================
   响应式
   ========================================================================== */

/* 平板：3 栏 → 2 栏 */
@media (max-width: 1023px) {
  .site-footer__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
  }
}

/* 移动：单栏 */
@media (max-width: 767px) {
  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .site-footer__main {
    padding-block: var(--space-6);
  }

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