/* ============================================
   底部 Footer 样式 (设计稿: 1920px)
   vw = px / 1920 * 100
   ============================================ */

.footer {
  position: relative;
  background-color: #f4ede6;
  color: #636f3d;
  padding: 3.125vw 0 1.5625vw;
  margin: 0;
  min-height: auto;
  overflow: visible;
  z-index: 2;
  scroll-snap-align: none !important;
  scroll-snap-stop: normal !important;
  border-top: 1px solid #e1e1e1;
}

.footer .container {
  width: 100%;
  padding: 0 4.4271vw;
}

.footer-top {
  display: flex;
  gap: 3.125vw;
  margin-bottom: 2.0833vw;
}

.footer-logo-area {
  flex-shrink: 0;
  text-align: center;
  padding-right: 2.0833vw;
  border-right: 1px solid rgba(99, 111, 61, 0.2);
}

.footer-logo {
  width: 4.1667vw;
  height: auto;
  margin-bottom: 0.5208vw;
}

.footer-brand-name {
  font-size: 0.9375vw;
  font-weight: 700;
  color: #636f3d;
  margin: 0;
}

.footer-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 1.5625vw;
}

.footer-column h3 {
  font-size: 1.875vw;
  font-weight: 600;
  margin-bottom: 2.0833vw;
  color: #636f3d;
  position: relative;
  padding-bottom: 0.4167vw;
}

.footer-column h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 7.6042vw;
  height: 0.2083vw;
  background-color: #636f3d;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 1.1458vw;
}

.footer-column a {
  color: #636f3d;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.25vw;
  opacity: 0.8;
}

.footer-column a:hover {
  opacity: 1;
  color: #4a542e;
}

.footer-divider {
  height: 1px;
  background-color: rgba(99, 111, 61, 0.2);
  margin-bottom: 1.0417vw;
}

.footer-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 0;
  color: #636f3d;
  font-size: 0.6771vw;
  opacity: 0.7;
}

.footer-copyright {
  margin: 0;
  text-align: center;
}

.footer-copyright a {
  color: #636f3d;
  text-decoration: none;
  margin: 0 0.4167vw;
}

.footer-copyright a:hover {
  text-decoration: underline;
}

.footer-social-media,
.footer .social-media {
  display: flex;
  gap: 0.625vw;
  margin: 0.8333vw 0 1.0417vw;
}

.footer-social-media a,
.footer .social-media a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.0833vw;
  height: 2.0833vw;
  border-radius: 50%;
  background-color: rgba(99, 111, 61, 0.1);
  color: #636f3d;
  font-size: 0.8333vw;
  transition: all 0.3s ease;
  opacity: 1;
  text-decoration: none;
}

.footer-social-media a:hover,
.footer .social-media a:hover {
  background-color: #636f3d;
  color: #fff;
  transform: translateY(-0.1042vw);
}

.footer-privacy-link {
  font-size: 1.25vw;
  opacity: 0.8;
  margin: 0;
}

.footer-privacy-link a {
  color: inherit;
  text-decoration: none;
}

.footer-privacy-link a:hover {
  text-decoration: underline;
}

/* 移动端适配 */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px;
  }
  .footer-column h3 {
    font-size: 16px;
    margin-bottom: 12px;
  }
  .footer-column h3::after {
    width: 60px;
    height: 2px;
  }
  .footer-column ul li {
    margin-bottom: 8px;
  }
  .footer-column a {
    font-size: 13px;
  }
  .footer-bottom {
    font-size: 12px;
  }
  .footer-privacy-link {
    font-size: 13px;
  }
  .footer-social-media,
  .footer .social-media {
    gap: 8px;
    margin: 12px 0 16px;
  }
  .footer-social-media a,
  .footer .social-media a {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
}
