.weiyou-head-top {
  position: relative;
  z-index: 100;
  width: 100%;
  height: 60px;
  background: #1579BA;
}

.weiyou-head-top-inner {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap-30);
}

.weiyou-head-contact {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: var(--gap-30);
}

.weiyou-head-contact-item {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: var(--gap-10);
  color: #fff;
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  white-space: nowrap;
}

.weiyou-head-contact-item:hover {
  color: #fff;
}

.weiyou-head-contact-item span:last-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.weiyou-head-contact-address {
  max-width: 760px;
}

.weiyou-head-contact-icon {
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 16px;
}

.weiyou-head-contact-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.weiyou-head-social {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
}

.weiyou-head-social .social-medias {
  margin: 0 !important;
  gap: var(--gap-24);
  align-items: center;
}

.weiyou-head-social .social-media {
  width: 20px;
  height: 20px;
  margin: 0 !important;
  border-radius: 50%;
  overflow: hidden;
}

.weiyou-head-social .social-media a {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .3s ease, opacity .3s ease;
}

.weiyou-head-social .social-media a img{
  width: 100%;
  height: 100%;
}

.weiyou-head {
  position: fixed;
  top: 80px;
  left: 0;
  z-index: 99;
  width: 100%;
  pointer-events: none;
  transition: top 0.3s ease;
}

.weiyou-head-inner {
  height: 72px;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 36px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 10px 40px rgba(10, 76, 127, 0.08);
  backdrop-filter: blur(18px);
  box-sizing: border-box;
  pointer-events: auto;
  transition: width 0.3s ease, border-radius 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.weiyou-head.is-scrolled {
  top: 0;
  background: #fff;
  box-shadow: 0 12px 36px rgba(10, 76, 127, 0.12);
}

.weiyou-head.is-scrolled.has-no-banner {
  top: var(--weiyou-head-top-offset, 0);
}

.weiyou-head.is-scrolled .weiyou-head-inner {
  border-radius: 0;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.weiyou-logo {
  width: 124px;
  height: 40px;
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.weiyou-logo img,
.weiyou-mobile-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.weiyou-nav {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
}

.weiyou-menu {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 38px;
}

.weiyou-menu-item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.weiyou-menu-link {
  display: flex;
  align-items: center;
  height: 100%;
  color: #0A4C7F;
  font-family: var(--font-family);
  font-size: var(--font-20);
  font-weight: 600;
  line-height: 1.7;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.weiyou-menu-item.active .weiyou-menu-link,
.weiyou-menu-link:hover {
  color: var(--color-primary);
}

.weiyou-sub-wrap {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  min-width: 240px;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 45px rgba(10, 76, 127, 0.15);
  transform: translate(-50%, 16px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.weiyou-menu-item:hover .weiyou-sub-wrap {
  transform: translate(-50%, 0);
  opacity: 1;
  visibility: visible;
}

.weiyou-sub-item + .weiyou-sub-item {
  margin-top: 12px;
}

.weiyou-sub-item {
  position: relative;
}

.weiyou-sub-item::after {
  position: absolute;
  top: -8px;
  right: -18px;
  width: 18px;
  height: calc(100% + 16px);
  content: "";
}

.weiyou-three-list {
  display: flex;
  position: absolute;
  top: 0;
  left: calc(100% + 18px);
  min-width: 160px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 45px rgba(10, 76, 127, 0.12);
  flex-direction: column;
  gap: 8px;
  z-index: 2;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.weiyou-sub-item:hover .weiyou-three-list {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
}

.weiyou-sub-link,
.weiyou-three-link {
  display: block;
  color: var(--color-second);
  font-family: var(--font-family);
  font-size: var(--font-16);
  font-weight: 500;
  line-height: 1.5;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.weiyou-sub-link:hover,
.weiyou-three-link:hover {
  color: var(--color-primary);
}

.weiyou-three-link {
  color: rgba(10, 76, 127, 0.72);
  font-size: 14px;
  font-weight: 400;
}

.weiyou-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 0 0 auto;
}

.weiyou-search,
.weiyou-lang {
  position: relative;
  width: 23px;
  height: 23px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-second);
}

/* .weiyou-search .em-quearys-top, */
/* .weiyou-search .em-top-quearys-area, */
/* .weiyou-search .em-header-quearys, */
/* .weiyou-search .em-quearys-menu, */
.weiyou-lang .lang-selector,
.weiyou-lang .current-lang {
  width: 23px;
  height: 23px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* .weiyou-search .em-quearys-menu i {
  color: #0A4C7F;
  font-size: var(--font-20);
  line-height: 23px;
} */

.weiyou-search-overlay {
  position: fixed !important;
  inset: 0 auto auto 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 10000 !important;
}

.weiyou-search-overlay.em-s-open {
  left: 0 !important;
}

.weiyou-lang .current-lang {
  color: #0A4C7F;
  padding: 0 !important;
}

.weiyou-lang .current-lang em,
.weiyou-lang .current-lang img,
.weiyou-lang .current-lang .iconfont-down2,
.weiyou-lang .current-lang .iconfont-down4 {
  display: none;
}

.weiyou-lang .current-lang .iconfont-diqiu {
  color: #0A4C7F;
  font-size: var(--font-20);
  line-height: 23px;
}

.weiyou-lang .lang-selector .lang-box{
  right: -100%;
}

.weiyou-quote-btn {
  padding: 10px 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 100px;
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-family);
  font-size: var(--font-16);
  font-weight: 400;
  line-height: 28px;
  white-space: nowrap;
}

.weiyou-hamburger {
  width: 30px;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.weiyou-hamburger span {
  width: 100%;
  height: 3px;
  display: block;
  border-radius: 999px;
  background: var(--color-second);
}

.weiyou-mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  width: 100vw;
  height: 100vh;
  padding: 28px;
  background: #fff;
  box-sizing: border-box;
  overflow-y: auto;
  transform: translateX(-100%);
  opacity: 0;
  visibility: hidden;
  transition: all 0.36s ease;
  pointer-events: auto;
}

.weiyou-mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}

.weiyou-mobile-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.weiyou-mobile-logo {
  width: 124px;
  height: 40px;
  display: flex;
}

.weiyou-mobile-close {
  position: relative;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.weiyou-mobile-close span {
  position: absolute;
  top: 15px;
  left: 0;
  width: 100%;
  height: 3px;
  display: block;
  border-radius: 999px;
  background: var(--color-second);
}

.weiyou-mobile-close span:first-child {
  transform: rotate(45deg);
}

.weiyou-mobile-close span:last-child {
  transform: rotate(-45deg);
}

.weiyou-mobile-nav {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
}

.weiyou-mobile-item {
  position: relative;
  border-bottom: 1px solid rgba(10, 76, 127, 0.14);
}

.weiyou-mobile-link,
.weiyou-mobile-sub-link,
.weiyou-mobile-three-link {
  display: block;
  color: var(--color-second);
  font-family: var(--font-family);
  font-size: var(--font-18);
  font-weight: 600;
  line-height: 1.4;
  padding: 16px 46px 16px 0;
}

.weiyou-mobile-toggle {
  position: absolute;
  top: 13px;
  right: 0;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-second);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.weiyou-mobile-item.open .weiyou-mobile-toggle {
  transform: rotate(180deg);
}

.weiyou-mobile-sub,
.weiyou-mobile-three {
  display: none;
  padding-bottom: 10px;
}

.weiyou-mobile-sub-link {
  padding: 10px 46px 10px 18px;
  color: rgba(10, 76, 127, 0.8);
  font-size: var(--font-16);
  font-weight: 500;
}

.weiyou-mobile-three-link {
  padding: 8px 46px 8px 34px;
  color: rgba(10, 76, 127, 0.64);
  font-size: 14px;
  font-weight: 400;
}

@media screen and (max-width: 1500px) {
  .weiyou-head-contact-address {
    max-width: 560px;
  }

  .weiyou-head-inner {
    gap: 20px;
    padding: 0 30px;
  }

  .weiyou-menu {
    gap: 24px;
  }

  .weiyou-actions {
    gap: 16px;
  }
}

@media screen and (max-width: 1280px) {
  .weiyou-head-contact {
    gap: var(--gap-20);
  }

  .weiyou-head-contact-address {
    max-width: 440px;
  }

  .weiyou-menu {
    gap: 18px;
  }

  .weiyou-quote-btn {
    width: auto;
    padding: 10px 24px;
  }
}

@media screen and (max-width: 1199px) {
  .weiyou-head-top {
    display: none;
  }

  .weiyou-head {
    top: 20px;
  }

  .weiyou-nav,
  .weiyou-quote-btn {
    display: none;
  }

  .weiyou-head-inner {
    height: 64px;
  }

  .weiyou-hamburger {
    display: flex;
  }
}

@media screen and (max-width: 576px) {
  .weiyou-head {
    top: 12px;
  }

  .weiyou-head-inner {
    height: 58px;
    padding: 0 20px;
    border-radius: 29px;
  }

  .weiyou-logo {
    width: 108px;
    height: 35px;
  }
}
