/* 首页首屏 Banner；统计信息栏从 Banner 中独立出来。 */
#header.hero {
  --homepage-banner-image: url("https://rs.binghevr.com/website/image/homepage-v2-wireframe/2026/08/e024d714f9c12ded6cb9.webp");
  position: relative;
  isolation: isolate;
  padding: 0;
  background: #fbf8f4;
}

/* 背景图仅覆盖主视觉区，统计信息栏固定落在图片下方。 */
#header.hero::before {
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  left: 0;
  height: 500px;
  background-image:
    var(--homepage-banner-image),
    linear-gradient(90deg, rgba(255, 253, 250, .98) 0%, rgba(255, 252, 248, .93) 39%, rgba(255, 252, 248, .27) 68%, rgba(255, 252, 248, .05) 100%);
  /* 桌面画布按原始主视觉尺寸渲染，放大时由横向滚动查看完整画面。 */
  background-position: right top;
  background-repeat: no-repeat;
  background-size: 1905px 500px;
  content: "";
}

#header .hero-grid {
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  min-height: 500px;
  gap: 28px;
  padding: 52px 0 20px;
}

#header .hero-copy {
  position: relative;
  z-index: 1;
  align-self: center;
  padding-left: 28px;
}

#header .breadcrumb {
  display: none;
}

#header .hero-copy h1 {
  max-width: 760px;
  margin: 0 0 22px;
  color: #102947;
  font-size: 68px;
  font-weight: 700;
  line-height: 1.25;
}

#header .hero-copy > p {
  max-width: 650px;
  color: #536273;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.68;
}

#header .hero-actions {
  gap: 20px;
  margin-top: 28px;
}

#header .hero-actions .button {
  min-width: 169px;
  min-height: 54px;
  border-radius: 6px;
  font-size: 18px;
}

#header .hero-actions .button-ghost {
  border-color: rgba(183, 132, 67, .48);
  color: #3b4b5e;
  background: rgba(255, 255, 255, .38);
}

#header .hero-tags {
  gap: 20px;
  margin-top: 31px;
  color: #536273;
  font-size: 18px;
  font-weight: 500;
}

#header .hero-tags span {
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
}

#header .hero-tags span::before {
  position: relative;
  width: 40px;
  height: 40px;
  margin: 0;
  color: transparent;
  border: 0;
  border-radius: 0;
  background: transparent;
  content: "";
  font-size: 0;
}

#header .hero-tags span::after {
  position: absolute;
  top: 50%;
  left: 7px;
  width: 26px;
  height: 26px;
  background-color: #b8894e;
  content: "";
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: 26px;
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: 26px;
  transform: translateY(-50%);
}

#header .hero-tags span:nth-child(1)::after {
  -webkit-mask-image: url("../images/icons/lucide/university.svg");
  mask-image: url("../images/icons/lucide/university.svg");
}

#header .hero-tags span:nth-child(2)::after {
  -webkit-mask-image: url("../images/icons/lucide/landmark.svg");
  mask-image: url("../images/icons/lucide/landmark.svg");
}

#header .hero-tags span:nth-child(3)::after {
  -webkit-mask-image: url("../images/icons/lucide/handshake.svg");
  mask-image: url("../images/icons/lucide/handshake.svg");
}

/* 右半区保留给 Banner 的主视觉内容；未配置图片时不显示额外占位文字。 */
#header .hero-banner-reserve {
  min-height: 425px;
}

#header .trust-strip {
  z-index: 2;
  width: 100%;
  max-width: none;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 24px;
  padding-right: max(40px, calc((100vw - var(--container)) / 2));
  padding-left: max(40px, calc((100vw - var(--container)) / 2));
  border-top: 0;
  background: #fbf8f4;
  box-shadow: none;
}

#header .trust-strip > div {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  gap: 17px;
  min-height: 82px;
  padding: 12px 28px;
  border: 0;
}

#header .trust-strip > div:not(:last-child)::after {
  position: absolute;
  top: 17px;
  right: 0;
  bottom: 17px;
  width: 1px;
  background: rgba(190, 145, 81, .3);
  content: "";
}

#header .trust-strip p {
  margin: 0;
}

#header .trust-strip strong,
#header .trust-strip span {
  display: block;
}

#header .trust-strip strong {
  color: #182d46;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.08;
}

#header .trust-strip em {
  color: #b8894e;
  font-size: 20px;
}

#header .trust-strip span {
  margin-top: 3px;
  color: #677689;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
}

#header .trust-icon {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(190, 145, 81, .25);
}

#header .trust-icon::after {
  position: absolute;
  inset: 8px;
  background-color: #b8894e;
  content: "";
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: 25px;
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: 25px;
}

#header .trust-icon-founded::after {
  -webkit-mask-image: url("../images/icons/lucide/company.svg");
  mask-image: url("../images/icons/lucide/company.svg");
}

#header .trust-icon-projects::after {
  -webkit-mask-image: url("../images/icons/lucide/box.svg");
  mask-image: url("../images/icons/lucide/box.svg");
}

#header .trust-icon-patents::after {
  -webkit-mask-image: url("../images/icons/lucide/award.svg");
  mask-image: url("../images/icons/lucide/award.svg");
}

#header .trust-icon-service::after {
  -webkit-mask-image: url("../images/icons/lucide/map-pinned.svg");
  mask-image: url("../images/icons/lucide/map-pinned.svg");
}

@media (max-width: 1100px) {
  #header .hero-grid {
    grid-template-columns: 1fr 1fr;
  }

  #header .hero-copy {
    padding-left: 0;
  }

  #header .hero-copy h1 {
    font-size: 42px;
  }

  #header .hero-tags {
    flex-wrap: wrap;
  }

  #header .trust-strip > div {
    padding: 12px 16px;
  }
}

@media (min-width: 821px) and (max-width: 1400px) {
  #header .hero-copy h1 {
    font-size: 42px;
  }
}

@media (max-width: 820px) {
  #header.hero::before {
    height: 100%;
  }

  #header .hero-grid {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 58px 0 0;
  }

  #header .hero-copy {
    padding-bottom: 34px;
  }

  #header .hero-copy h1 {
    font-size: 38px;
  }

  #header .hero-banner-reserve {
    display: none;
  }

  #header .trust-strip {
    grid-template-columns: 1fr 1fr;
  }

  #header .trust-strip > div:nth-child(2) {
    border-right: 0;
  }

  #header .trust-strip > div:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(190, 145, 81, .24);
  }
}

@media (max-width: 560px) {
  /* 移动端将文字置于浅色内容层，避免直接压在高对比 Banner 上。 */
  #header.hero::before {
    height: 100%;
    background-image:
      linear-gradient(180deg, rgba(255, 253, 249, .76) 0%, rgba(255, 253, 249, .88) 48%, rgba(255, 253, 249, .94) 100%),
      var(--homepage-banner-image);
    background-position: center top;
    background-size: auto 100%, auto 100%;
  }

  #header .hero-grid {
    padding: 24px 0 0;
  }

  #header .hero-copy {
    margin: 0 12px;
    padding: 28px 22px 22px;
    border: 1px solid rgba(255, 255, 255, .74);
    border-radius: 8px;
    background: rgba(255, 253, 249, .76);
    box-shadow: 0 10px 26px rgba(16, 41, 71, .08);
  }

  #header .hero-copy h1 {
    margin-bottom: 16px;
    font-size: clamp(29px, 8vw, 34px);
    line-height: 1.28;
  }

  #header .hero-copy > p {
    color: #33495f;
    font-size: 16px;
    line-height: 1.72;
  }

  #header .hero-actions {
    flex-direction: column;
    gap: 11px;
    margin-top: 22px;
  }

  #header .hero-actions .button {
    width: 100%;
    min-height: 52px;
    min-width: 0;
    padding: 0 14px;
    font-size: 16px;
  }

  #header .hero-tags {
    display: grid;
    gap: 10px;
    margin: 18px 12px 0;
    padding: 14px 82px 14px 16px;
    border-radius: 8px;
    background: rgba(255, 253, 249, .74);
    color: #354b61;
    font-size: 15px;
    line-height: 1.35;
    grid-template-columns: 1fr;
  }

  #header .hero-tags span {
    gap: 10px;
  }

  #header .hero-tags span::before {
    width: 25px;
    height: 25px;
  }

  #header .hero-tags span::after {
    left: 4px;
    width: 17px;
    height: 17px;
    -webkit-mask-size: 17px;
    mask-size: 17px;
  }

  #header .trust-strip > div {
    justify-content: flex-start;
    gap: 11px;
    min-height: 74px;
    padding: 12px 16px;
  }

  #header .trust-strip strong {
    font-size: 24px;
  }

  #header .trust-icon {
    width: 34px;
    height: 34px;
  }

  #header .trust-icon::after {
    inset: 7px;
    -webkit-mask-size: 21px;
    mask-size: 21px;
  }
}
