:root {
  --main: #00aec3;
  --deep: #078c91;
  --blue: #2798d7;
  --green: #18a955;
  --text: #333;
  --muted: #777;
  --line: #e7e7e7;
  --w: 92.5rem;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  font-size: 16px;
}
@media (min-width: 1200px) and (max-width: 1919px) {
  html {
    font-size: max(12px, min(calc(100vw / 120), 16px));
  }
}
@media (max-width: 1199px) {
  html {
    font-size: max(10px, min(calc(100vw / 75), 16px));
  }
}
@font-face {
    font-family: "Source Han Sans CN";
    src: url(/client/font/SourceHanSansCN-Normal.ttf) format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Source Han Sans CN";
    src: url(/client/font/SourceHanSansCN-Bold.ttf) format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "SourceHanSerifCN";
    src: url("/client/font/SourceHanSerifSC.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

body {
  font-family: "Source Han Sans CN", sans-serif !important;
  font-weight: 400;
  /* 默认用常规字重 */
  color: #333;
  overflow-x: hidden;
  background: #ffffff;
}

a {
  color: inherit;
  text-decoration: none;
}
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
img {
  border: none;
  max-width: 100%;
}
button,
input {
  font: inherit;
}
button {
  border: 0;
  background: none;
  cursor: pointer;
}
.container {
  width: min(var(--w), calc(100% - 2.5rem));
  margin: auto;
}

.topbar {
  height: 6.875rem;
  border-bottom: 0.0625rem solid var(--line);
  background: #fff;
}
.topbar .container,
.brand,
.top-actions {
  display: flex;
  align-items: center;
}
.topbar .container {
  justify-content: space-between;
  height: 100%;
}
.brand {
  gap: 1rem;
}
.brand-mark {
  width: 5.625rem;
}

.brand h1 {
  margin: 0;
  font-size: 2.25rem;
  line-height: 1.15;
  font-weight: normal;
  letter-spacing: 0.12rem;
  font-family: "SourceHanSerifCN";
}
.brand p {
  margin: 0.2rem 0 0;
  color: #7a8588;
  font-size: 0.75rem;
  letter-spacing: 0.0625rem;
  font-family: "SourceHanSerifCN";
  color: #366ec3;
}
.top-actions {
  gap: 2.15rem;
}
.social {
  display: flex;
  align-items: center;
  gap: 2.15rem;
  color: #555;
}
.social a {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1.25rem;
  position: relative;
}
.social .iconfont {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.2rem;
}
.wx {
  background: #17a9a4;
  font-size: 1.575rem !important;
}
.wb {
  background: #009352;
}

.ewm_box {
  display: none;
  position: absolute;
  width: 7.5rem;
  background-color: #ffffff;
  z-index: 9999;
  top: 110%;
  left: 50%;
  margin-left: -3.75rem;
  padding: 0.25rem;
}

.ewm_box img {
  width: 100%;
  display: block;
  position: relative;
  z-index: 2;
}

.ewm_box:before {
  content: "";
  width: 1.25rem;
  height: 1.25rem;
  background-color: #009352;
  position: absolute;
  left: 50%;
  margin-left: -0.625rem;
  top: 0;
  transform: rotate(45deg);
  z-index: 1;
}

.ewm_box:after {
  content: "";
  width: 0.4rem;
  height: 0.13rem;
  background-color: #009352;
  position: absolute;
  left: 50%;
  margin-left: -0.15rem;
  top: 0px;
}
.social a:hover .ewm_box {
  display: block;
}

.search {
  position: relative;
  width: 14.375rem;
}
.search input {
  width: 100%;
  height: 2.625rem;
  border: 0.0625rem solid #ddd;
  border-radius: 2rem;
  padding: 0 2.6rem 0 1rem;
  color: #666;
  outline: none;
}
.search button {
  position: absolute;
  right: 0.35rem;
  top: 50%;
  translate: 0 -50%;
  width: 2rem;
  height: 2rem;
  font-size: 1.375rem;
  color: #000;
}
.main-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 4.375rem;
  background: #fff;
  transition: box-shadow 0.25s;
}
.main-nav .container {
  height: 100%;
}
.main-nav.is-stuck {
  box-shadow: 0 0.35rem 1rem rgba(0, 0, 0, 0.08);
}
.nav-list {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-item {
  position: relative;
  height: 100%;
}
.nav-link {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 1.375rem;
  color: #333;
  white-space: nowrap;
}
.nav-link:hover,
.nav-item.active > .nav-link {
  color: var(--main);
}
.dropdown {
  position: absolute;
  left: 50%;
  top: 100%;
  min-width: 10rem;
  padding: 0.5rem 0;
  background: #fff;
  border-radius: 0 0 0.5rem 0.5rem;
  box-shadow: 0 0.8rem 1.5rem rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 0.6rem);
  transition: 0.22s;
}
.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.dropdown a {
  display: block;
  padding: 0.75rem 1.25rem;
  font-size: 1.125rem;
  color: #555;
  text-align: center;
}
.dropdown a:hover {
  background: #f1fbfa;
  color: var(--main);
}
.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  flex-direction: column;
  justify-content: center;
  gap: 0.42rem;
  align-items: center;
}
.nav-toggle span {
  width: 1.6rem;
  height: 0.16rem;
  background: #333;
  border-radius: 1rem;
  transition: 0.28s;
}
.nav-toggle.open span:nth-child(1) {
  transform: translateY(0.58rem) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0.2);
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-0.58rem) rotate(-45deg);
}

.friend {
  background: #14a5b2;
  padding: 1.35rem 0;
  color: #fff;
}
.friend-row {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}
.friend-label {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 1.25rem;
  white-space: nowrap;
}
.friend-label .iconfont {
  font-size: 1.5rem;
}
.friend-swiper {
  flex: 1;
  overflow: hidden;
}
.friend-swiper .swiper-slide {
  text-align: center;
  white-space: nowrap;
  font-size: 1.25rem;
}

.friend-swiper a:hover {
  text-decoration: underline;
}
.footer {
  background: #14a5b2;
  color: #fff;
}
.footer-main {
  display: flex;
  padding: 1.875rem 0 4rem;
  align-items: center;
  justify-content: space-between;
}
.footer .brand-mark {
  border-color: #fff;
  color: #fff;
  width: 4.375rem;
}
.footer .brand-mark:after {
  border-color: rgba(255, 255, 255, 0.7);
}
.footer .brand h1 {
  font-size: 2.25rem;
}
.footer .brand p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.75rem;
}
.contact {
  width: 18.75rem;
}
.contact h3 {
  margin: 0 0 1.3rem;
  font-size: 1.25rem;
  font-weight: normal;
}
.contact p {
  margin: 0.45rem 0;
  font-size: 1.25rem;
  line-height: 1.7;
  color: #fff;
}
.footer-info p {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 1.2rem 0;
  font-size: 1.25rem;
}
.footer-info .iconfont {
  font-size: 1.75rem;
}
.qrs {
  display: flex;
  gap: 1.6rem;
}
.qr {
  text-align: center;
  font-size: 1rem;
}
.qr-box {
  width: 7rem;
  height: 7rem;
  background: #fff;
  color: #333;
  display: grid;
  place-items: center;
  margin-bottom: 0.5rem;
  padding: 0.1875rem;
}
.qr-box img {
  width: 100%;
  display: block;
}
.copy {
  height: 3.4rem;
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.14);
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
}
.copy .container {
  display: flex;
  justify-content: space-between;
}
@media (max-width: 1440px) {
  .container {
    width: 90%;
  }
}
@media (max-width: 1200px) {
  .nav-link {
    font-size: 0.9rem;
  }
}
@media (max-width: 992px) {
  .topbar {
    height: auto;
    padding: 1.2rem 0;
  }
  .topbar .container {
    align-items: flex-start;
  }
  .top-actions {
    flex-direction: column;
    align-items: flex-end;
    gap: 0.8rem;
  }
  .social {
    gap: 1rem;
  }
  .search {
    width: 11rem;
  }
  .main-nav {
    height: 4.25rem;
  }
  .main-nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
  }
  .nav-toggle {
    display: flex;
  }
  .nav-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: auto;
    display: block;
    background: #fff;
    box-shadow: 0 1rem 1.5rem rgba(0, 0, 0, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s;
  }
  .nav-list.open {
    max-height: 36rem;
    overflow: auto;
  }
  .nav-item,
  .nav-link {
    height: auto;
  }
  .nav-link {
    padding: 1rem 1.25rem;
    border-bottom: 0.0625rem solid #eee;
  }
  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s;
  }
  .nav-item:hover .dropdown {
    transform: none;
  }
  .nav-item.sub-open .dropdown {
    max-height: 20rem;
  }
  .dropdown a {
    padding-left: 2.4rem;
    background: #fafafa;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 640px) {
  .container {
    width: calc(100% - 2rem);
  }
  .brand {
    gap: 0.7rem;
  }
  .brand-mark {
    width: 3.4rem;
    height: 3.4rem;
    font-size: 1.5rem;
  }
  .brand h1 {
    font-size: 1.75rem;
  }
  .brand p {
    font-size: 0.625rem;
  }
  .social a span {
    display: none;
  }
  .social .iconfont {
    width: 1.8rem;
    height: 1.8rem;
  }
  .search {
    width: 8rem;
  }
  .search input {
    height: 2.1rem;
  }

  .friend-row {
    align-items: flex-start;
    flex-direction: column;
  }
  .friend-swiper {
    width: 100%;
  }
  .footer-main {
    grid-template-columns: 1fr;
    padding: 2rem 0;
    display: block;
  }
  .copy {
    height: auto;
    padding: 0.9rem 0;
  }
  .copy .container {
    display: block;
    line-height: 1.8;
  }
  .social,
  .footer .brand {
    display: none;
  }
  .main-nav .container {
    justify-content: right;
  }
  .copy .container span {
    display: block;
    text-align: center;
  }
  .nav-link {
    font-size: 1.125rem;
  }
  .dropdown a {
    padding-left: 0;
  }
}
