.footer {
  background: #222426;
  border-top: 4px solid #D92222;
  color: #E1E8F3;
  padding: 40px 0 20px;
  font-family: MiSans, "Helvetica Neue", Arial, sans-serif;
}

.footer-menu {
  width: 1100px;
  margin: 0 auto;
  padding: 18px 0 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  border-bottom: 2px solid #6A6A6A;
}

.footer-menu .menu-inner {
  display: flex;
  align-items: center;
  gap: 28px;
}

.footer-menu .menu-item {
  color: #C9D1DA;
  font-size: 16px;
  text-decoration: none;
  padding: 6px 10px;
  cursor: pointer;
}

.footer-menu .menu-item:hover {
  color: #ffffff;
}

.footer-menu .menu-item + .menu-item {
  position: relative;
  padding-left: 40px;
  margin-left: 8px;
}

.footer-menu .menu-item + .menu-item:before {
  content: "";
  position: absolute;
  left: 2px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 18px;
  background: #3b3b3b;
}
.footer-box {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 1100px;
  margin: 0 auto;
  gap: 20px;
  padding-top: 30px;
  box-sizing: border-box;
}

.footer-left {
  flex: 1 1 65%;
  color: #E1E8F3;
}

.footer-right {
  flex: 0 0 260px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.logo-wrap {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
}

.footer-logo-img {
  width: 160px;
  height: auto;
  object-fit: contain;
  display: block;
}

.company-name {
  font-size: 28px;
  color: #ffffff;
  margin-top: 6px;
  font-weight: 600;
}


.contact {
  margin-top: 18px;
}

.contact-title {
  font-size: 18px;
  color: #ffffff;
  margin-bottom: 12px;
  font-weight: 500;
}

.contact-item {
  margin: 6px 0;
  color: #C9D1DA;
  font-size: 14px;
  line-height: 1.6;
}

.qr-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.qr-img {
  width: 150px;
  height: 150px;
  background: #fff;
  box-sizing: border-box;
  border-radius: 4px;
  border: 4px solid #ffffff;
}

.qr-text {
  font-size: 13px;
  color: #C9D1DA;
}

.footer-bottom {
  width: 1100px;
  margin: 24px auto 0;
  padding-top: 20px;
  border-top: 5px solid #6A6A6A;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #8F99A4;
  font-size: 13px;
  padding-bottom: 18px;
}

.footer-bottom .beian  {
  display: flex;
  align-items: center;
}

/* visual separators and alignment to match reference */
.footer-box {
  padding-top: 36px;
}

.footer-left {
  padding-left: 30px;
}

.footer-right {
  padding-right: 20px;
  align-items: center;
}

.footer-box .company-title {
  font-size: 26px;
  font-weight: 600;
  color: #ffffff;
  margin-top: 12px;
  margin-bottom: 12px;
}

.footer .company-small {
  color: #A0AABB;
  margin-top: 6px;
}

/* small-screen adjustments */
@media (max-width: 1024px) {
  .footer-box {
    width: 92%;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .footer-right {
    align-self: center;
  }
  .footer-bottom {
    width: 92%;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
}
/* Footer styles */
.footer-wrap .footer-menu {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid #6A6A6A;
}
.footer-logo-img {
  width: 240px;
  height: 71px;
  display: block;
}
.footer-menu .menu-inner {
  display: flex;
  gap: 26px;
}
.footer-menu .menu-item {
  color: #bfbfbf;
  cursor: pointer;
  padding: 8px 0;
  transition: color .18s ease;
}
.footer-menu .menu-item:hover {
  color: #fff;
}
.footer-box {
  max-width: 1300px;
  margin: 24px auto;
  display: flex;
  gap: 30px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-left {
  flex: 1;
  color: #dcdcdc;
}
.contact-title {
  color: #e6e6e6;
  font-weight: 700;
  margin-bottom: 12px;
}
.contact-item {
  color: #cfcfcf;
  margin-bottom: 8px;
  line-height: 1.6;
  font-size: 14px;
}
.footer-right {
  width: 240px;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}
.qr-wrap {
  background: #fff;
  border-radius: 6px;
  text-align: center;
  box-shadow: 0 6px 16px rgba(0,0,0,0.28);
  padding-bottom: 4px;
}
.qr-img {
  width: 160px;
  height: 160px;
  display: block;
}
.qr-text {
  font-size: 12px;
  color: #666;
}
.footer-bottom {
  max-width: 1300px;
  margin: 20px auto 0;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #8e8e8e;
  border-top: 2px solid #6A6A6A;
  padding-top: 16px;
  font-size: 13px;
}
.beian a {
  color: #2aa6ff;
  text-decoration: none;
}

@media (max-width: 900px) {
  .footer-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-right {
    width: 100%;
    margin-top: 18px;
    justify-content: center;
  }
  .qr-img {
    width: 140px;
    height: 140px;
  }
  .footer-menu {
    padding-bottom: 16px;
  }
}

/* 移动端适配 (768px 及以下) */
@media (max-width: 768px) {
  .footer {
    padding: 35px 0 20px;
  }

  .footer-menu {
    width: 95%;
    padding: 20px 0 15px;
    flex-direction: column;
    gap: 20px;
  }

  .footer-menu .menu-inner {
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }

  .footer-menu .menu-item {
    font-size: 15px;
    padding: 8px 16px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
    font-weight: 500;
  }

  .footer-menu .menu-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
  }

  .footer-menu .menu-item + .menu-item {
    padding-left: 16px;
    margin-left: 0;
  }

  .footer-menu .menu-item + .menu-item:before {
    display: none;
  }

  .footer-box {
    width: 95%;
    gap: 30px;
    padding-top: 30px;
    flex-direction: column;
    align-items: center;
  }

  .footer-left {
    padding-left: 0;
    text-align: center;
    width: 100%;
  }

  .logo-wrap {
    flex-direction: column;
    gap: 15px;
    text-align: center;
    margin-bottom: 20px;
  }

  .footer-logo-img {
    width: 160px;
    opacity: 0.9;
  }

  .company-name {
    font-size: 26px;
    margin-top: 6px;
    font-weight: 600;
    background: linear-gradient(135deg, #ffffff 0%, #e1e8f3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .footer-box .company-title {
    font-size: 24px;
    margin-top: 10px;
    margin-bottom: 15px;
    font-weight: 700;
    color: #ffffff;
  }

  .contact {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .contact-title {
    font-size: 17px;
    margin-bottom: 15px;
    font-weight: 600;
    color: #ffffff;
  }

  .contact-item {
    font-size: 14px;
    margin: 6px 0;
    line-height: 1.6;
    color: #d1d8e3;
  }

  .footer-right {
    width: 100%;
    padding-right: 0;
    justify-content: center;
  }

  .qr-wrap {
    background: #ffffff;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.8);
  }

  .qr-img {
    width: 140px;
    height: 140px;
    border-radius: 8px;
  }

  .qr-text {
    font-size: 13px;
    color: #666666;
    font-weight: 500;
    margin-top: 8px;
  }

  .footer-bottom {
    width: 95%;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    text-align: center;
    padding-top: 25px;
    font-size: 13px;
    margin-top: 30px;
    position: relative;
  }

  .footer-bottom:before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
  }

  .copyright {
    color: #b8c2cc;
    font-weight: 400;
  }

  .beian {
    color: #a0aab8;
  }

  .beian a {
    color: #4a9eff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
  }

  .beian a:hover {
    color: #6bb3ff;
  }
}

/* 小屏移动端适配 (480px 及以下) */
@media (max-width: 480px) {
  .footer {
    padding: 30px 0 15px;
  }

  .footer-menu {
    width: 98%;
    padding: 15px 0 12px;
    gap: 15px;
  }

  .footer-menu .menu-inner {
    gap: 18px;
  }

  .footer-menu .menu-item {
    font-size: 14px;
    padding: 6px 12px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.08);
  }

  .footer-menu .menu-item:hover {
    background: rgba(255, 255, 255, 0.15);
  }

  .footer-menu .menu-item + .menu-item {
    padding-left: 12px;
    margin-left: 0;
  }

  .footer-box {
    width: 98%;
    gap: 25px;
    padding-top: 25px;
  }

  .footer-left {
    width: 100%;
  }

  .logo-wrap {
    gap: 12px;
    margin-bottom: 15px;
  }

  .footer-logo-img {
    width: 140px;
  }

  .company-name {
    font-size: 24px;
    margin-top: 4px;
  }

  .footer-box .company-title {
    font-size: 20px;
    margin-top: 8px;
    margin-bottom: 12px;
  }

  .contact {
    padding: 16px;
    border-radius: 10px;
  }

  .contact-title {
    font-size: 16px;
    margin-bottom: 12px;
  }

  .contact-item {
    font-size: 13px;
    margin: 5px 0;
  }

  .footer-right {
    width: 100%;
  }

  .qr-wrap {
    padding: 12px;
    border-radius: 10px;
  }

  .qr-img {
    width: 120px;
    height: 120px;
    border-radius: 6px;
  }

  .qr-text {
    font-size: 12px;
    margin-top: 6px;
  }

  .footer-bottom {
    width: 98%;
    padding-top: 20px;
    margin-top: 25px;
    font-size: 12px;
  }
}