/* ┌────────────────────────────────────────────┐
 * │ 8.6  底部 Logo 与版权信息                    │
 * └────────────────────────────────────────────┘ */

/* ── 底部容器 ── */
.footer-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  padding-top: 2rem;
  gap: 120px;
  transform: translateY(0.3vw);
}

/* ── Logo 图片 ── */
.footer-logo-img {
  height: 120px;
  width: auto;
  object-fit: contain;
  display: block;

  -webkit-user-select: none; /* Safari/Chrome */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* IE/Edge */
  user-select: none; /* 标准语法 */
}

/* ── Logo 文字区 ── */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 15px;
  transform: translateY(2px);
}

.footer-logo p {
  margin: 0;
  color: #ffffff;
  font-size: 14px;
  transform: translateY(2px);
}

.footer-logo a {
  margin: 0;
  color: #ffffff;
  font-size: 14px;
  text-decoration: none;
  transition: text-decoration 0.2s;
}

.footer-logo a:hover {
  text-decoration: underline;
}

/* ── 版权信息 ── */
.copyright {
  display: flex;
  gap: 20px;
}

.copyright p {
  margin: 0;
  color: #666;
  font-size: 14px;
}
.copyright a {
  margin: 0;
  color: #666;
  font-size: 14px;
  text-decoration: none;
  transition: text-decoration 0.2s;
}

.copyright a:hover {
  text-decoration: underline;
}
/* ┌────────────────────────────────────────────┐
 * │ 8.7  Footer 局部渐变过渡系统                  │
 * └────────────────────────────────────────────┘ */

/* ── 基础过渡 ── */
#page5.page-footer > * {
  transition: opacity 0.4s ease-in-out;
}

/* ── 排除背景层 ── */
#page5.page-footer > .fixed-background,
#page5.page-footer > .fixed-background_2 {
  transition: none !important;
  opacity: 1 !important;
}

/* ── 触发淡出状态 ── */
body.is-footer-fading
  #page5.page-footer
  > *:not(.fixed-background):not(.fixed-background_2) {
  opacity: 0;
  transition: opacity 0.25s ease-out;
}

/* ┌────────────────────────────────────────────┐
 * │ Footer 平板适配（≤992px）                    │
 * └────────────────────────────────────────────┘ */
@media (max-width: 992px) {
  .page-footer {
    height: auto !important;
    min-height: 40vh !important;
    max-height: none !important;
    padding: 3rem 5%;
  }

  .contact-container {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    transform: none !important; /* 重置位移 */
  }

  .contact-left,
  .contact-center,
  .contact-right {
    width: 100%;
    min-width: unset; /* 取消最小宽度 */
    justify-content: center;
    align-items: center;
    text-align: center;
    transform: none !important; /* 重置位移 */
  }

  .contact-left {
    flex-direction: column;
    align-items: center;
  }

  .contact-center {
    align-items: center;
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }

  .contact-links {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 20px;
    justify-content: center;
  }

  .contact-links a::after {
    left: 0;
    right: auto;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
    transform: none !important; /* 重置位移 */
  }
}

/* ┌────────────────────────────────────────────┐
 * │ Footer 手机适配（≤768px）                    │
 * └────────────────────────────────────────────┘ */
@media (max-width: 768px) {
  .copyright {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .contact-links {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 15px;
  }

  .contact-links a {
    font-size: 14px;
  }
}
