@font-face {
  font-family: "AlibabaPuHuiTi";
  src: url("../font/AlibabaPuHuiTi-3-55-Regular.woff2") format("woff2"),
    url("../font/AlibabaPuHuiTi-3-55-Regular.woff") format("woff");
  font-weight: 400;
}

@font-face {
  font-family: "AlibabaPuHuiTi";
  src: url("../font/AlibabaPuHuiTi-3-65-Medium.woff2") format("woff2"),
    url("../font/AlibabaPuHuiTi-3-65-Medium.woff") format("woff");
  font-weight: 600;
}

@font-face {
  font-family: "YouSheBiaoTiHei";
  src: url("../font/YouSheBiaoTiHei-2.ttf") format("truetype");
}

:root {
  --brand: #0045a8;
  --brand-dark: #00337e;
  --brand-mid: #2369c9;
  --brand-soft: #eaf4ff;
  --cyan: #00a2c8;
  --ink: #17233d;
  --muted: #5d6b82;
  --line: #d8e6f6;
  --soft: #eef5fc;
  --panel: #f7fbff;
  --footer-a: #008fd4;
  --footer-b: #0061b7;
  --footer-c: #00866f;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "AlibabaPuHuiTi", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.72;
  background: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 84px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 0 rgba(0, 55, 120, 0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1250px, calc(100% - 40px));
  height: 100%;
  margin: 0 auto;
}

.brand-logo img {
  width: 109px;
  height: 53px;
}

.brand-logo {
  flex: 0 0 109px;
  display: block;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  content: "";
  background: var(--brand);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 36px);
  font-size: 16px;
  color: #222;
  white-space: nowrap;
}

.site-nav a {
  position: relative;
  padding: 31px 0 28px;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 23px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--brand);
}

.site-nav a.active {
  font-weight: 600;
}

.site-nav a:hover::after,
.site-nav a.active::after {
  transform: scaleX(1);
}


.site-footer {
  padding: 46px 0;
  color: rgba(255, 255, 255, 0.92);
  background: linear-gradient(120deg, var(--footer-a), var(--footer-b) 45%, var(--footer-c));
}

.site-footer .container {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.site-footer p {
  margin: 4px 0;
  font-size: 14px;
}

.site-footer .footer-title {
  margin-bottom: 16px;
  font-size: 16px;
  font-weight: 600;
}

@media (max-width: 1180px) {
  .site-nav {
    gap: 12px;
    font-size: 14px;
  }
}

@media (max-width: 940px) {
  .site-header {
    height: 70px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 70px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px 20px 18px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 55, 120, 0.12);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a::after {
    bottom: 7px;
  }
}

@media (max-width: 640px) {
  .nav-wrap,
  .site-footer .container {
    width: min(100% - 28px, 1200px);
  }
}
