@charset "UTF-8";
/* footer */
.footer {
  position: relative;
  z-index: 1;
  background-color: #172de7;
  overflow: hidden;
}

.footer-top {
  padding-top: 80px;
  justify-content: space-between;
  color: #fff;
}

.footer-address {
  text-align: right;
}

.footer-address h3 {
  font-size: 26px;
}

/* 主体：导航 + CTA */

.footer-nav {
  width: 50vw;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  padding-bottom: 40px;
}

.footer-nav-title p {
  font-size: 2vw;
  color: #fff;
}

.footer-nav-title h3 {
  font-size: 3vw;
  color: #fff;
}

.footer-nav > ul {
  margin-top: 50px;
  margin-left: -30px;
}

.footer-nav > ul > li {
  padding-left: 30px;
}

.footer-nav > ul > li > a {
  font-size: 18px;
  color: #fff;
  transition: opacity 0.3s;
}

.footer-nav > ul > li > a:hover {
  opacity: 0.8;
}

/*  */
.footer-right {
  flex: 1;
  align-items: flex-end;
  flex-direction: column;
  justify-content: space-between;
  padding-left: 3vw;
}

/* media */
.footer-media ul {
  margin-top: 20px;
  margin-left: -20px;
  align-items: center;
  justify-content: flex-end;
}

.footer-media ul li {
  padding-left: 20px;
}

.footer-media ul li a {
  position: relative;
}

.footer-media ul li a i {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.2);
  font-size: 16px;
  color: #c7c7c7;
}

.footer-media ul li a:hover {
  color: var(--theme-red);
}

.footer-qrcode-wx {
  display: block;
  position: absolute;
  bottom: 56px;
  right: 0;
  width: 130px;
  padding: 8px;
  border-radius: 8px;
  transform: translateY(10px);
  background-color: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.3s,
    transform 0.3s,
    visibility 0.3s;
  z-index: 20;
}

.footer-qrcode-wx::before {
  position: absolute;
  bottom: -10px;
  right: 14px;
  content: "";
  border-top: 10px solid #fff;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
}

.footer-qrcode-wx img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.footer-qrcode-toggle:hover .footer-qrcode-wx,
.footer-qrcode-toggle:focus .footer-qrcode-wx {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/*  */
.footer-contact {
  margin-top: 120px;
}

.footer-contact li {
  display: flex;
  align-items: center;
}

.footer-contact li p {
  font-size: 20px;
  color: #fff;
}

.footer-contact li:first-child {
  margin-right: 9.3vw;
}

.footer-contact li:first-child p {
  color: #bac0f8;
}

.footer-contact img {
  margin-left: 20px;
  display: block;
  max-width: 110px;
}

/* footer-copyright */
.footer-copyright {
  padding-top: 24px;
  padding-bottom: 24px;
  justify-content: space-between;
  font-size: 12px;
  background-color: #172de7;
  color: rgba(255, 255, 255, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-copyright a {
  margin-left: 5px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-copyright .site-link a {
  margin-left: 15px;
}

.footer-copyright a:hover {
  color: #fff;
}

.footer-copyright a:hover i {
  color: red;
  background-color: #fff;
}

.comma-sign i {
  background-color: rgba(255, 255, 255, 1);
  border-radius: 50%;
  color: #fff;
}

/*  */
.goadcomma {
  padding-left: 10px;
}
.goadcomma a {
  position: relative;
  display: inline-block;
  width: 120px;
  padding: 2px;
  line-height: 36px;
  border-radius: 40px;
  /* border: 2px solid #fff; */
  background-color: rgb(255, 255, 255, 01);
  overflow: hidden;
}
.goadcomma a span {
  position: relative;
  z-index: 1;
  display: block;
  text-align: center;
  background-color: var(--color-primary);
  border-radius: 40px;
  color: #fff;
}
.goadcomma a::before {
  position: absolute;
  top: 50%;
  left: 50%;
  content: "";
  z-index: 1;
  width: 150px;
  height: 150px;
  transform: translate(-50%, -50%);
  background-image: linear-gradient(to right, #00dbde 0%, #fc00ff 100%);
  transform-origin: 50% 50%;
  transition: 2s;
}

.goadcomma a:hover::before {
  transform: translate(-50%, -50%) rotate(720deg);
  opacity: 1;
}

@media (max-width: 1600px) {
  .footer-contact li:first-child {
    margin-right: 2.3vw;
  }
}

@media (max-width: 1200px) {
  .footer-main {
    display: block;
  }

  .footer-nav {
    width: 100%;
  }

  .footer-nav > ul,
  .footer-media,
  .footer-contact {
    margin-top: 50px;
  }

  .footer-right {
    align-items: center;
  }
}

@media (max-width: 768px) {
  .goadcomma a {
    margin-left: 0;
    width: 100px;
  }

  .footer-top {
    padding-top: 50px;
  }

  .footer-address h3 {
    font-size: 20px;
  }

  .footer-nav ul {
    display: none;
  }

  .footer-nav-title p {
    font-size: 18px;
  }

  .footer-nav-title h3 {
    font-size: 24px;
  }

  .footer-contact ul {
    display: block;
  }

  .footer-contact li {
    flex-direction: column-reverse;
  }
  .footer-contact li img {
    margin-bottom: 10px;
    margin-left: 0;
  }
  .footer-contact li:first-child {
    margin-right: 0;
  }

  .footer-copyright {
    flex-direction: column-reverse;
    align-items: center;
  }

  .footer-nav {
    padding-bottom: 0;
  }

  .footer-nav > ul,
  .footer-media,
  .footer-contact {
    margin-top: 20px;
  }
  .goadcomma {
    margin-bottom: 15px;
  }

  .footer-nav-title {
    text-align: center;
  }
}
