/* Site Footer */
.site-footer {
  --ft-accent: #c41262;
  --ft-accent-soft: #e879a8;
  --ft-bg: #121214;
  --ft-bg-bottom: #0a0a0b;
  --ft-text: rgba(255, 255, 255, 0.88);
  --ft-muted: rgba(255, 255, 255, 0.55);
  --ft-border: rgba(255, 255, 255, 0.08);
  font-family: 'DM Sans', 'microsoft yahei', sans-serif;
  background: var(--ft-bg);
  color: var(--ft-text);
  margin: 0;
}

.site-footer .footer-main {
  padding: 64px 0 48px;
}

.site-footer .footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.site-footer .footer-col {
  min-width: 0;
}

.site-footer .footer-title,
.site-footer .mm h2 {
  margin: 0 0 24px;
  padding: 0 0 14px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 2px solid var(--ft-accent);
  display: inline-block;
}

.site-footer .decor-brand {
  display: none;
}

/* Hot news */
.site-footer .left_news {
  clear: both;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer .left_news li {
  padding: 0;
  margin: 0;
  border: none;
  background: none;
  line-height: 1.5;
}

.site-footer .left_news li + li {
  margin-top: 14px;
}

.site-footer .left_news li a {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ft-muted);
  font-size: 14px;
  line-height: 1.55;
  text-decoration: none;
  transition: color 0.25s ease;
}

.site-footer .left_news li a::before {
  content: '';
  flex-shrink: 0;
  width: 5px;
  height: 5px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--ft-accent-soft);
  transition: background 0.25s ease, transform 0.25s ease;
}

.site-footer .left_news li a:hover {
  color: #fff;
  text-decoration: none;
}

.site-footer .left_news li a:hover::before {
  background: var(--ft-accent);
  transform: scale(1.2);
}

/* Contact */
.site-footer .con-us {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer .con-us li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 0;
  margin: 0 0 16px;
  color: var(--ft-muted);
  font-size: 14px;
  line-height: 1.6;
}

.site-footer .con-us li i {
  flex-shrink: 0;
  width: 20px;
  margin-top: 2px;
  color: var(--ft-accent-soft) !important;
  font-size: 15px !important;
  text-align: center;
}

.site-footer .con-us li a {
  color: var(--ft-muted);
  text-decoration: none;
  transition: color 0.25s ease;
}

.site-footer .con-us li a:hover {
  color: #fff;
}

.site-footer .foot_icons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--ft-border);
}

.site-footer .foot_icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  color: var(--ft-muted);
  border-radius: 50%;
  border: 1px solid var(--ft-border);
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.site-footer .foot_icons a:hover {
  color: #fff;
  background: rgba(196, 18, 98, 0.2);
  border-color: rgba(196, 18, 98, 0.4);
  transform: translateY(-2px);
}

.site-footer .foot_icons i {
  font-size: 16px !important;
  width: auto !important;
  height: auto !important;
  line-height: 1 !important;
}

.site-footer .foot_icons .icon-x {
  display: block;
  width: 15px;
  height: 15px;
  fill: currentColor;
}

/* WhatsApp QR */
.site-footer .footer-qr img {
  display: block;
  max-width: 140px;
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.site-footer .footer-qr img:hover {
  transform: scale(1.04);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

/* Copyright bar */
.site-footer .footer-bottom,
.site-footer .copyright {
  background: var(--ft-bg-bottom) !important;
  border-top: 1px solid var(--ft-border);
  padding: 20px 0 !important;
  text-align: center;
  color: var(--ft-muted) !important;
  font-size: 13px;
  line-height: 1.7;
  overflow: hidden;
}

.site-footer .copyright p {
  margin: 0;
}

.site-footer .copyright a {
  color: var(--ft-muted);
  text-decoration: none;
  transition: color 0.25s ease;
}

.site-footer .copyright a:hover {
  color: var(--ft-accent-soft);
}

/* Override legacy .foot styles */
.site-footer .foot {
  background: transparent !important;
  color: inherit !important;
  padding: 0 !important;
  font-size: inherit;
  overflow: visible;
}

/* Mobile bottom dock */
.footer_nav {
  --dock-h: 56px;
  --dock-accent: #c41262;
  --dock-text: #71717a;
  --dock-bg: rgba(255, 255, 255, 0.96);
  --dock-border: #ececef;
  font-family: 'DM Sans', 'microsoft yahei', sans-serif;
  background: var(--dock-bg) !important;
  border: none !important;
  border-top: 1px solid var(--dock-border) !important;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.06) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  margin: 0 !important;
  min-height: 0 !important;
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.footer_nav .foot-nav-inner {
  display: flex;
  align-items: stretch;
  width: 100%;
  height: var(--dock-h);
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.footer_nav .foot_nav {
  flex: 1 1 25%;
  width: auto !important;
  float: none !important;
  display: flex !important;
  align-items: stretch;
  justify-content: center;
  background: transparent !important;
  margin: 0;
  padding: 0;
  border: none;
  min-width: 0;
}

.footer_nav .foot_nav + .foot_nav {
  border-left: 1px solid #f0f0f2;
}

.footer_nav .foot-nav-item {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 100%;
  padding: 6px 4px 8px;
  color: var(--dock-text) !important;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none !important;
  line-height: 1.2;
  background: transparent !important;
  border: none !important;
  border-radius: 0;
  transition: color 0.2s ease, background 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.footer_nav .foot-nav-item i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  font-size: 16px;
  color: #52525b;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer_nav .foot-nav-item span {
  display: block;
  padding: 0 !important;
  white-space: nowrap;
}

.footer_nav .foot-nav-item:hover,
.footer_nav .foot-nav-item:focus,
.footer_nav .foot_nav.open > .foot-nav-item {
  color: var(--dock-accent) !important;
  background: #fdf2f7 !important;
  outline: none;
}

.footer_nav .foot-nav-item:hover i,
.footer_nav .foot-nav-item:focus i,
.footer_nav .foot_nav.open > .foot-nav-item i {
  color: var(--dock-accent);
}

.footer_nav .foot-nav-item--accent i {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--dock-accent);
  color: #fff !important;
  font-size: 14px;
}

.footer_nav .foot-nav-item--accent {
  color: var(--dock-accent) !important;
  font-weight: 600;
}

.footer_nav .foot-nav-item--accent:hover i,
.footer_nav .foot-nav-item--accent:focus i {
  background: #9e0f4f;
  color: #fff !important;
  transform: translateY(-1px);
}

.footer_nav .foot-nav-share {
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%);
  bottom: calc(100% + 10px) !important;
  top: auto !important;
  width: auto !important;
  min-width: 200px;
  margin: 0 !important;
  padding: 14px 16px !important;
  border: 1px solid var(--dock-border) !important;
  border-radius: 12px !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12) !important;
  background: #fff !important;
}

.footer_nav .foot-nav-share .a2a_kit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  line-height: 1;
}

@media screen and (max-width: 768px) {
  body {
    padding-bottom: calc(56px + env(safe-area-inset-bottom, 0));
  }

  footer.site-footer,
  .site-footer {
    margin-bottom: 0 !important;
  }
}

@media screen and (max-width: 991px) {
  .site-footer .footer-main {
    padding: 48px 0 36px;
  }

  .site-footer .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .site-footer .footer-qr {
    grid-column: 1 / -1;
  }

  .site-footer .footer-qr img {
    max-width: 120px;
  }
}

@media screen and (max-width: 575px) {
  .site-footer .footer-main {
    padding: 40px 0 28px;
  }

  .site-footer .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .site-footer .footer-title,
  .site-footer .mm h2 {
    margin-bottom: 18px;
  }
}
