* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 定义变量 */
:root {
  --footer-white: #FFF;
}

/* 页脚容器 */
.site-footer {
  width: 100%;
  position: relative;
  /* 关键：必须 visible，让悬浮模块能露出来 */
  overflow: visible;
  background-image: url('../images/footer/img-footer-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.float-module {
  position: absolute;
  left: 0;
  right: 0;
  top: -60px; 
  z-index: 99; 
}

.float-container {
  margin: 0 120px;
  background: #fff;
  border-radius: 80px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
  box-shadow: 0 0 20px rgba(83, 85, 86, 0.1);
}

.float-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.float-left img {
  height: 48px;
  object-fit: contain;
}

.float-right {
  width: 80px;
  height: 48px;
  background: linear-gradient(265deg, #1892EE 5.11%, #0032D6 93.64%);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
}

.float-right img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}


.footer-content {
  display: flex;
  flex-direction: column;
  padding: clamp(50px, 5.56vw, 80px) clamp(20px, 2.78vw, 40px) clamp(25px, 2.78vw, 40px);
  max-width: 1440px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  min-height: 500px;
}


.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 40px;
  padding-top: 55px;
}


.footer-logo {
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

.footer-logo img {
  width: 132px;
  height: 40px;
  object-fit: contain;
}


.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 47px;
  white-space: nowrap;
}

.footer-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  transition: opacity 0.3s ease;
}

.footer-link:hover {
  opacity: 0.8;
}

.link-arrow {
  width: 14px;
  height: 14px;
  object-fit: contain;
}


.footer-middle {
  display: flex;
  justify-content: center;
  padding: 20px 0 20px 0;
}

.footer-custom-box {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  background: transparent;
}

.custom-qrcode {
  width: 90.911px;
  height: 90.626px;
  background: url(../images/footer/img-wechat-qrcode.png) lightgray 50% / cover no-repeat;
  border: 5px solid var(--footer-white);
  object-fit: contain;
  display: block;
}


.custom-info {
  display: flex;
  flex-direction: column;
  border: 0.481px solid var(--footer-white);
  pointer-events: none;
  user-select: none;
}


.info-top {
  display: flex;
  align-items: center;
  color: #fff;
  font-size: 14px;
  margin-top: 8px;
  margin-left: 52px;
}
.info-top img {
  width: 23.579px;
  height: 23.579px;
  object-fit: contain;
}


.info-bottom {
  width: 211.887px;
  height: 26.947px;
  border-radius: 2.916px;
  background: var(--footer-white);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 15px 14px 16px 12px;
  pointer-events: none;
  cursor: default;
}
.info-bottom img {
  width: 15.444px;
  height: 15.443px;
  object-fit: contain;
}
.info-bottom span {
  color: #051243;
  font-size: 13.474px;
  font-weight: 400;
  line-height: 16.842px;
}


.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding: clamp(10px, 1.39vw, 15px) clamp(20px, 4.17vw, 60px);
  text-align: center;
  margin-top: clamp(40px, 5.56vw, 80px);
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;
}


@media (max-width: 1200px) {
  .float-container {
    margin: 0 60px;
    padding: 0 40px;
  }
}

@media (max-width: 992px) {
  .float-container {
    margin: 0 40px;
    padding: 0 30px;
    height: 100px;
    border-radius: 60px;
  }

  .float-left img {
    height: 40px;
  }

  .float-right {
    width: 70px;
    height: 40px;
  }
}

@media (max-width: 768px) {
  .float-module {
    top: -40px;
  }

  .float-container {
    margin: 0 20px;
    padding: 0 20px;
    height: 80px;
    border-radius: 50px;
  }

  .float-left img {
    height: 28px;
  }

  .float-right {
    width: 60px;
    height: 36px;
    border-radius: 20px;
  }

  .float-right img {
    width: 14px;
    height: 14px;
  }

  .footer-content {
    padding: 100px 20px 40px 20px;
    min-height: auto;
  }

  .footer-top {
    padding-bottom: 20px;
  }

  .footer-nav {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .footer-logo {
    margin-bottom: 20px;
  }

  .footer-logo img {
    width: 110px;
    height: auto;
  }

  .footer-middle {
    padding: 20px 0;
  }

  .footer-custom-box {
    flex-direction: column;
    gap: 15px;
  }

  .custom-qrcode {
    width: 80px;
    height: 80px;
  }

  .info-top {
    margin-left: 30px;
  }

  .info-top img {
    width: 20px;
    height: 20px;
  }

  .info-bottom {
    width: 180px;
    height: 24px;
    margin: 10px 10px 12px 10px;
  }

  .info-bottom img {
    width: 13px;
    height: 13px;
  }

  .info-bottom span {
    font-size: 11px;
  }

  .footer-bottom {
    padding: 15px 20px;
  }

  .footer-bottom p {
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .float-module {
    top: -30px;
  }

  .float-container {
    margin: 0 15px;
    padding: 0 15px;
    height: 70px;
    border-radius: 40px;
  }

  .float-left img {
    height: 28px;
  }

  .float-right {
    width: 50px;
    height: 32px;
    border-radius: 18px;
  }

  .float-right img {
    width: 12px;
    height: 12px;
  }

  .footer-content {
    padding: 80px 15px 30px 15px;
  }

  .footer-logo img {
    width: 100px;
    height: auto;
  }

  .footer-link {
    font-size: 13px;
  }

  .link-arrow {
    width: 12px;
    height: 12px;
  }

  .custom-qrcode {
    width: 70px;
    height: 70px;
  }

  .info-top {
    font-size: 12px;
    margin-left: 20px;
  }

  .info-bottom {
    width: 160px;
    height: 22px;
  }

  .info-bottom span {
    font-size: 10px;
  }

  .footer-bottom p {
    font-size: 10px;
  }
}