/* ============================================================
   Footer Styles (Synced with Homepage zh/index.html)
   ============================================================ */

.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
}
.footer-top {
  max-width: 1440px;
  margin: 0 auto;
  padding: 3.5rem 3.5rem 2.5rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
}

/* ── Brand Column ── */
.footer-brand-logo img { height: 44px; margin-bottom: 1rem; }
.footer-brand-text {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.75;
  max-width: 260px;
}

/* ── Link Columns ── */
.footer-col-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1rem;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.footer-link {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  transition: 0.25s;
  display: inline-block;
}
.footer-link:hover {
  color: var(--cyan);
  transform: translateX(3px);
}

/* ── Contact Info ── */
.footer-contact-item {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.83rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.6rem;
}
.footer-contact-icon {
  color: var(--cyan);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── Footer Bottom ── */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 3.5rem;
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.footer-copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
}
.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}
.footer-bottom-links a {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  transition: 0.2s;
}
.footer-bottom-links a:hover { color: var(--cyan); }

/* ── Back to Top ── */
.back-to-top {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--cyan);
  font-size: 1.1rem;
  border: 2px solid rgba(47,232,250,0.3);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,74,173,0.2);
  transition: 0.25s;
  opacity: 0; visibility: hidden; z-index: 900;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover {
  background: var(--cyan);
  color: var(--navy);
  transform: translateY(-3px);
}

@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .footer-top { padding-left: 1.5rem; padding-right: 1.5rem; }
  .footer-bottom { padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (max-width: 600px) {
  .footer-top { grid-template-columns: 1fr; }
}

