.site-header.gy-site-header {
  position: sticky;
  top: 0;
  z-index: 2000;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 clamp(22px, 7vw, 96px);
  border-bottom: 1px solid #e8eef7;
  background: rgba(255, 255, 255, .96);
  box-shadow: none;
  backdrop-filter: blur(14px);
}

.gy-site-header .brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 218px;
  color: #0a2a57;
  text-decoration: none;
}

.gy-site-header .brand-logo {
  display: block;
  width: min(218px, 28vw);
  height: auto;
  max-height: 48px;
  object-fit: contain;
}

.gy-site-header .nav {
  position: static;
  inset: auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(12px, 2vw, 26px);
  width: auto;
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: #3b4d66;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  overflow: visible;
}

.gy-site-header .nav a {
  color: inherit;
  text-decoration: none;
}

.gy-site-header .nav a:hover,
.gy-site-header .nav a[aria-current="page"],
.gy-site-header .nav-menu[open] summary,
.gy-site-header .nav-menu summary:hover {
  color: #0054d9;
}

.gy-site-header .nav-menu {
  position: relative;
}

.gy-site-header .nav-menu summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  cursor: pointer;
  white-space: nowrap;
}

.gy-site-header .nav-menu summary::-webkit-details-marker {
  display: none;
}

.gy-site-header .nav-menu summary::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .18s ease;
}

.gy-site-header .nav-menu[open] summary::after {
  transform: translateY(1px) rotate(225deg);
}

.gy-site-header .nav-submenu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  display: grid;
  width: min(360px, 86vw);
  padding: 10px;
  border: 1px solid rgba(216, 224, 228, .9);
  border-radius: 8px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 18px 45px rgba(22, 36, 42, .14);
  transform: translateX(-50%);
}

.gy-site-header .nav-submenu::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -7px;
  width: 12px;
  height: 12px;
  border-left: 1px solid rgba(216, 224, 228, .9);
  border-top: 1px solid rgba(216, 224, 228, .9);
  background: #fff;
  transform: translateX(-50%) rotate(45deg);
}

.gy-site-header .nav-submenu a {
  position: relative;
  z-index: 1;
  padding: 12px 13px;
  border-radius: 6px;
  color: #0a2a57;
  line-height: 1.35;
}

.gy-site-header .nav-submenu a:hover {
  color: #0054d9;
  background: #f1f6ff;
}

.gy-site-header .product-nav {
  position: static;
}

.gy-site-header .product-mega {
  left: 50%;
  grid-template-columns: minmax(260px, .82fr) minmax(520px, 1.18fr);
  gap: 18px;
  width: min(1040px, calc(100vw - 48px));
  padding: 18px;
  transform: translateX(-50%);
}

.gy-site-header .mega-column {
  display: block;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.gy-site-header .mega-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 10px;
  padding: 0 4px 10px;
  border-bottom: 1px solid #e4edf8;
}

.gy-site-header .mega-head strong {
  color: #071d3b;
  font-size: 15px;
  font-weight: 950;
}

.gy-site-header .mega-head a {
  padding: 0;
  color: #0054d9;
  font-size: 12px;
  font-weight: 900;
}

.gy-site-header .mega-head a:hover {
  background: transparent;
}

.gy-site-header .mega-list {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gy-site-header .product-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gy-site-header .mega-link {
  display: block;
  min-height: 58px;
  padding: 10px 11px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #10213d;
  background: #fff;
}

.gy-site-header .mega-link:hover {
  border-color: #d8e8fb;
  background: linear-gradient(180deg, #f8fbff, #eef6ff);
}

.gy-site-header .mega-link strong {
  display: block;
  color: #0a2a57;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 950;
}

.gy-site-header .mega-link span {
  display: block;
  margin-top: 4px;
  color: #66788f;
  font-size: 11px;
  line-height: 1.45;
  font-weight: 700;
}

.gy-site-header .nav-consult {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid rgba(22, 136, 255, .55);
  border-radius: 4px;
  background: #f7fbff;
  color: #1688ff;
  font: inherit;
  font-weight: 850;
  white-space: nowrap;
  cursor: pointer;
}

.site-footer.gy-site-footer {
  padding: 36px clamp(22px, 7vw, 96px);
  border-top: 1px solid #dbe8f8;
  background: #071d3b;
  color: rgba(255, 255, 255, .82);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
}

.gy-site-footer .footer-inner {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  align-items: start;
  gap: 20px 36px;
  max-width: 1180px;
  margin: 0 auto;
}

.gy-site-footer strong {
  display: block;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

.gy-site-footer p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, .7);
  line-height: 1.7;
}

.gy-site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 22px;
}

.gy-site-footer a {
  color: rgba(255, 255, 255, .82);
  text-decoration: none;
}

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

.gy-site-footer .copyright {
  grid-column: 1 / -1;
  margin-top: 8px;
  color: rgba(255, 255, 255, .52);
  font-size: 13px;
}

@media (max-width: 980px) {
  .site-header.gy-site-header {
    height: auto;
    min-height: 70px;
    align-items: flex-start;
    padding: 12px 22px;
  }

  .gy-site-header .brand {
    min-width: 0;
  }

  .gy-site-header .nav {
    width: 100%;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 6px;
  }

  .gy-site-header .product-nav {
    position: relative;
  }

  .gy-site-header .product-mega {
    left: 16px;
    right: 16px;
    grid-template-columns: 1fr;
    width: auto;
    max-height: calc(100vh - 110px);
    padding: 14px;
    overflow: auto;
    transform: none;
  }

  .gy-site-header .product-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header.gy-site-header {
    gap: 14px;
    padding: 10px 16px;
  }

  .gy-site-header .brand {
    min-width: 168px;
  }

  .gy-site-header .brand-logo {
    width: 168px;
    max-height: 42px;
  }

  .gy-site-header .nav {
    font-size: 13px;
  }

  .gy-site-footer .footer-inner {
    grid-template-columns: 1fr;
  }

  .gy-site-footer nav {
    justify-content: flex-start;
  }
}
