/* ========================================
   footer.css - 頁腳公共樣式
   ======================================== */

.site-footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 48px 0 0;
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  padding-bottom: 32px;
}

.footer-brand {
  flex: 1;
  max-width: 420px;
}

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.footer-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.footer-brand-info {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.footer-brand-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
}

.footer-brand-sub {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-brand-desc {
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
}

.footer-contact {
  flex-shrink: 0;
}

.footer-contact-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
}

.footer-contact-item:hover {
  color: #fff;
}

.footer-contact-item svg {
  flex-shrink: 0;
  opacity: 0.6;
}

/* ===== 其他地區站點（極簡 SEO 友情連結） ===== */
.footer-regions {
  padding: 0 0 16px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
  line-height: 1.6;
}

.footer-regions-label {
  margin-right: 4px;
}

.footer-regions a {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  margin: 0 2px;
  transition: color 0.15s ease;
}

.footer-regions a:hover {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
}

.footer-regions-sep {
  margin: 0 4px;
  opacity: 0.4;
}

.footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 20px 0;
  flex-wrap: wrap;
}

.footer-copyright {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.45);
  white-space: nowrap;
}

.footer-legal {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
  text-align: right;
  max-width: 520px;
}

@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .footer-legal {
    text-align: center;
  }
}
