.footer {
  color: var(--text-white);
}
/* 联系我们 */
.footer-contact-us {
  text-align: center;
  padding: 32px 0px;
  width: 100%;
  margin: 0 auto;
  background-image: linear-gradient(to right, var(--primary-dark), var(--primary-color)); /* 线性渐变背景 */
}
.footer-contact-us .section-title {
  margin-bottom: 30px;
}
.footer-contact-us .section-subtitle {
  line-height: 36px;
  margin-bottom: 30px;
}
.footer-contact-us button {
  font-weight: 500;
  font-size: 20px;
  line-height: 32px;
  color: var(--primary-color);
  /* width: 610px; 动态 */
  border: 1px solid var(--text-white);
  border-radius: 3px;
  background-color: var(--bg-color);
}
.footer-contact-us button a {
  padding: 22px 0px;
}
.footer-contact-us button:hover {
  color: var(--text-white);
  background-color: var(--bg-color-footer-button-hover);
  cursor: pointer;
}


/* 产品介绍 */
.footer-container {
  background-color: var(--bg-color-footer); /* 深色背景匹配设计图 */
  padding: 59px 0 0px;
}

/* 通用二维码样式 */
.qrcode-img {
  width: 80px;
  height: 80px;
  background-color: #fff;
  display: block;
  margin: 0 auto;
}
.qrcode-label {
  font-weight: 500;
  font-size: 18px;
  line-height: 26px;
  text-align: center;
  margin-top: 12px;
}

/* 版权 */
.footer-copyright {
  padding: 32px 60px;
  margin-top: 51px;
  color: var(--text-light2);
  background-color: var(--bg-color-footer2);
}
.copyright-link {
  margin-left: 6px;
  cursor: pointer;
}
.copyright-link:hover {
  color: #fff;
}

/* 通用法律声明样式 */
.legal-link {
  color: var(--text-light2);
  transition: color 0.2s;
}
.legal-link:hover {
  color: #fff;
}

.layout-container {
  padding: 0 80px;
}

/* -------------------------- 大屏布局（>1200px） -------------------------- */
.footer-content-lg {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  max-width: 1040px; /* 大屏最大宽度 */
  margin: 0 auto; /* 屏幕缩小时，两侧自适应收缩 */
  gap: 50px;
}

/* 左侧导航 */
.footer-nav {
  display: flex;
  justify-content: space-between;
  flex: 1 1 auto;
  max-width: 470px;
}
.footer-nav-column {
  min-width: 115px; /* 防止过度收缩 */
}
.footer-nav-title {
  font-weight: 500;
  font-size: 18px;
  line-height: 26px;
  margin-bottom: 25px;
}
.footer-nav-item {
  font-weight: 400;
  font-size: 14px;
  line-height: 22px;
  margin-bottom: 20px;
  color: var(--text-light);
  cursor: pointer;
  transition: color 0.2s;
}
.footer-nav-item:hover {
  color: #fff;
}

/* 中间竖线 */
.footer-divider {
  width: 1px;
  height: 299px;
  background-color:var(--bg-color-footer-divider);
  flex-shrink: 0; /* 不收缩 */
}

/* 右侧联系方式 */
.footer-contact-lg {
  display: flex;
  flex: 1;
  justify-content: space-between;
  margin-bottom: 51px;
}

.contact-info .contact-item .label {
  font-weight: 500;
  font-size: 18px;
  line-height: 26px;
  margin-bottom: 16px;
}

.contact-info .contact-item .value {
  font-weight: 400;
  font-size: 14px;
  line-height: 22px;
  margin-bottom: 32px;
  color: var(--text-light);
}
.qrcode-group-lg {
  display: flex;
  flex: 1;
  justify-content: space-between;
  margin-left: 37px;
  max-width: 240px;
}
.qrcode-item {
  width: 100px;
}

/* 大屏版权栏 */
.footer-copyright-lg {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  max-width: 1309px;
  margin: 0px auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* color: var(--text-light2); */
  background-color: var(--bg-color-footer2);
}

/* -------------------------- 中屏布局（500px<≤800px：图2） -------------------------- */
.layout-md {
  display: none;
}
.footer-content-md {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  margin-bottom: 116px;
}
.contact-phone-md {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 20px;
}
.phone-item {
  font-weight: 400;
  font-size: 13px; /* 固定字体 */
  line-height: 22px;
  color: var(--text-light);
}
.phone-item .label {
  font-weight: 500;
  font-size: 14px; /* 固定字体 */
  color: var(--text-white);
  margin-right: 4px;
}
.qrcode-group-md {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 30px;
}
.footer-copyright-md {
  font-weight: 400;
  font-size: 14px;
  line-height: 24px;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

/* -------------------------- 小屏布局（≤500px：图3） -------------------------- */
.layout-sm {
  display: none;
}
.footer-content-sm {
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
}
.contact-phone-sm {
  margin-bottom: 20px;
}
.contact-phone-sm .phone-item {
  margin-bottom: 8px;
}
.qrcode-group-sm {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}
.qrcode-group-sm .qrcode-label {
  font-weight: 500;
  font-size: 14px;
  line-height: 22px;
}
.footer-copyright-sm {
  font-weight: 400;
  font-size: 12px;
  line-height: 24px;
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
}

/* -------------------------- 三种屏幕的切换(最底部取消中屏)-------------------------- */
/* 超大屏（1440px < 屏幕） */
@media (min-width: 1441px) {
  /* 隐藏中屏/小屏 */
  .layout-lg {
    display: block;
  }
  /* .layout-md {
    display: none;
  } */
  .layout-sm {
    display: none;
  }
  
  /* 联系我们 */
  .footer-contact-us .section-title {
    font-size: 36px;
  }
  .footer-contact-us .section-subtitle {
    font-size: 18px;
  }
  .footer-contact-us button {
    width: 610px;
  }
}

/* 大屏（1200px < 屏幕 ≤1440px） */
@media (max-width: 1440px) and (min-width: 1201px) {
  /* 隐藏中屏/小屏 */
  .layout-lg {
    display: block;
  }
  /* .layout-md {
    display: none;
  } */
  .layout-sm {
    display: none;
  }

  /* 联系我们 */
  .footer-contact-us .section-title {
    font-size: 36px;
  }
  .footer-contact-us .section-subtitle {
    font-size: 18px;
  }
  .footer-contact-us button {
    width: 610px;
  }
}

/* 中屏（800px < 屏幕 ≤1200px） */
@media (max-width: 1200px) and (min-width: 801px) {
  /* 隐藏大屏/小屏 */
  .layout-lg {
    display: none;
  }
  /* .layout-md {
    display: block;
  } */
  .layout-sm {
    display: block;
  }
  
  /* 联系我们 */
  .footer-contact-us .section-title {
    font-size: 36px;
  }
  .footer-contact-us .section-subtitle {
    font-size: 18px;
  }
  .footer-contact-us button {
    width: 610px;
  }
}

/* 中小屏（500px < 屏幕 ≤800px） */
@media (max-width: 800px) and (min-width: 501px) {
  /* 隐藏大屏/小屏 */
  .layout-lg {
    display: none;
  }
  /* .layout-md {
    display: block;
  } */
  .layout-sm {
    display: block;
  }
  
  /* 联系我们 */
  .footer-contact-us .section-title {
    font-size: 16px;
  }
  .footer-contact-us .section-subtitle {
    font-size: 14px;
  }
  .footer-contact-us button {
    width: 267px;
  }
}

/* 超小屏（≤500px）*/
@media (max-width: 500px) {
  /* 显示小屏布局，隐藏大屏/中屏 */
  .layout-lg {
    display: none;
  }
  /* .layout-md {
    display: none;
  } */
  .layout-sm {
    display: block;
  }
  /* 联系我们 */
  .footer-contact-us .section-title {
    font-size: 16px;
  }
  .footer-contact-us .section-subtitle {
    font-size: 14px;
  }
  .footer-contact-us button {
    width: 267px;
  }
}