/* ==========================================================================
 * 文件名: footer.css
 * 描述: 美愫 MEISU 页脚样式
 * 版本: 1.0
 * 最后更新: 2026-06-23
 * ========================================================================== */

/* ==========================================================================
 * 1. Footer — 页脚
 * 深色背景 + 四列网格 + 底部版权信息
 * ========================================================================== */
.site-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.6);
  padding: 48px 0 32px;
}

/* 四列布局：品牌列宽2倍 */
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .logo {
  font-family: "Playfair Display", "Noto Serif SC", serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 13px;
  line-height: 1.8;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-col a,
.footer-col p {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 8px;
  transition: color 0.3s;
}

.footer-col a:hover {
  color: var(--rose-gold);
}

/* 社交媒体图标 */
.social-icons {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.social-icons a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.social-icons a:hover {
  border-color: var(--rose-gold);
  background: var(--rose-gold);
}

.social-icons a svg {
  width: 16px;
  height: 16px;
  fill: rgba(255, 255, 255, 0.6);
}

.social-icons a:hover svg {
  fill: var(--white);
}

/* 底部信息栏 */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}

/* ==========================================================================
 * 2. Responsive — 页脚响应式适配
 * ========================================================================== */

/* ----- 平板适配（≤768px）----- */
@media (max-width: 768px) {
  /* 页脚单列 */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .footer-info-row {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
  .footer-info-row span[style*="absolute"] {
    position: static !important;
    transform: none !important;
  }
  .footer-info-row span {
    white-space: normal !important;
  }
}
