/* 通栏首屏：一幅场景大图承载视觉，文案与按钮保持可编辑。 */
.hero.hero-banner {
  background: #fff;
}

.hero-banner-stage {
  position: relative;
  isolation: isolate;
  width: 100%;
  aspect-ratio: 3 / 1;
  overflow: hidden;
  background: #e5f1fd;
  touch-action: pan-y pinch-zoom;
}

.hero-slide { position: absolute; inset: 0; }
.hero-slide[hidden], .hero-carousel-controls[hidden] { display: none !important; }
.hero-slide:not(.is-active) { pointer-events: none; }
.hero-banner .hero-title span { display: block; }
.hero-carousel-controls { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid #b6cce2;
  border-radius: 50%;
  background: #f5faff;
  color: #0a2d50;
  pointer-events: auto;
  transition: background .18s, color .18s;
}
.carousel-button[data-carousel="previous"] { left: 4px; }
/* Keep the right arrow outside the fixed quick-contact rail's footprint. */
.carousel-button[data-carousel="next"] { right: 68px; }
.carousel-button:hover { background: #0057b8; color: white; }
.carousel-button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hero-carousel-pagination { position: absolute; inset-inline: 0; bottom: 12px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.carousel-dots { display: flex; gap: 0; }
.carousel-dot { display: grid; place-items: center; width: 64px; height: 44px; padding: 0; border: 0; background: transparent; color: #55748f; pointer-events: auto; }
.carousel-dot-track { display: block; width: 48px; height: 3px; overflow: hidden; background: currentColor; }
.carousel-dot-fill { display: block; width: 100%; height: 100%; background: #fff; transform: scaleX(0); transform-origin: left center; }
.carousel-dot[aria-current="true"] { color: #0057b8; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (min-width: 1650px) { .carousel-button[data-carousel="previous"] { left: 20px; } }
@media (max-width: 1100px) {
  .carousel-button { top: 70%; }
  .carousel-button[data-carousel="previous"] { left: 8px; }
  .carousel-button[data-carousel="next"] { right: 8px; }
}

@media (min-width: 1101px) and (max-width: 1300px) {
  .hero-banner .hero-description { margin-top: 14px; line-height: 1.6; }
  .hero-banner .hero-actions { margin-top: 16px; gap: 18px; }
  .hero-banner .hero-copy .eyebrow { margin-bottom: 12px; }
  .hero-banner-content { padding-top: 16px; padding-bottom: 62px; }
  .hero-banner .hero-actions .button { min-height: 44px; }
}

.hero-artwork {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  pointer-events: none;
}

.hero-artwork img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-banner-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 26px 0 66px;
  z-index: 1;
}

.hero-banner .hero-copy {
  width: 30.5vw;
  max-width: 480px;
}

.hero-banner .hero-copy .eyebrow {
  margin-bottom: 16px;
  font-size:max(var(--minimum-font-size, 0px), 11px);
  letter-spacing: .13em;
}

.hero-banner .hero-copy .hero-title {
  font-size: clamp(40px, 3.2vw, 56px);
  line-height: 1.055;
  letter-spacing: -.035em;
}

.hero-banner .hero-copy .hero-title .blue {
  margin-top: 5px;
}

.hero-banner .hero-description {
  max-width: 375px;
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.75;
  color: #3d5a75;
}

.hero-banner .hero-actions {
  flex-direction: row;
  align-items: center;
  gap: 25px;
  margin-top: 25px;
}

.hero-banner .hero-actions .button {
  min-height: 48px;
  padding: 12px 20px;
  gap: 20px;
  font-size:max(var(--minimum-font-size, 0px), 13px);
}

.hero-banner .hero-actions .text-link {
  gap: 13px;
  font-size:max(var(--minimum-font-size, 0px), 13px);
}

.hero-banner .hero-index {
  border-top: 0;
  background: #fff;
}

@media (min-width: 1650px) {
  .hero-banner .hero-description {
    font-size: 16px;
    max-width: 415px;
  }
  .hero-banner .hero-copy .eyebrow {
    margin-bottom: 23px;
  }
  .hero-banner .hero-actions {
    margin-top: 31px;
  }
}

/* 平板使用独立整幅构图，避免上下拼接或裁掉设备。 */
@media (min-width: 601px) and (max-width: 1100px) {
  .hero-banner-stage {
    aspect-ratio: 1402 / 1122;
  }
  .hero-banner-content {
    align-items: flex-start;
    padding: 28px 0 0;
  }
  .hero-banner .hero-copy {
    width: 100%;
    max-width: 620px;
  }
  .hero-banner .hero-copy .hero-title {
    max-width: 610px;
    font-size: clamp(36px, 5vw, 44px);
  }
  .hero-banner .hero-description {
    max-width: 490px;
    margin-top: 16px;
  }
  .hero-banner .hero-actions {
    margin-top: 20px;
  }
}

/* 手机用独立竖版构图，顶部留给文案，下方保留完整设备。 */
@media (max-width: 600px) {
  .hero-banner-stage {
    aspect-ratio: 941 / 1672;
  }
  .hero-banner-content {
    align-items: flex-start;
    padding: 28px 0 0;
  }
  .hero-banner .hero-copy {
    width: 100%;
    max-width: none;
  }
  .hero-banner .hero-copy .eyebrow {
    margin-bottom: 15px;
    font-size:max(var(--minimum-font-size, 0px), 10px);
    letter-spacing: .1em;
  }
  .hero-banner .hero-copy .hero-title {
    font-size: clamp(37px, 10vw, 42px);
    line-height: 1.055;
  }
  .hero-banner .hero-description {
    max-width: 345px;
    margin-top: 18px;
    font-size: 14px;
    line-height: 1.7;
  }
  .hero-banner .hero-actions {
    gap: 22px;
    margin-top: 23px;
  }
  .hero-banner .hero-actions .button {
    padding: 12px 17px;
    gap: 17px;
    font-size:max(var(--minimum-font-size, 0px), 12px);
  }
  .hero-banner .hero-actions .text-link {
    gap: 11px;
    font-size:max(var(--minimum-font-size, 0px), 12px);
  }
}

/* Keep copy above the equipment at narrow embedded-browser widths. */
@media (max-width: 360px) {
  .hero-banner-content { padding-top: 22px; }
  .hero-banner .hero-copy .eyebrow { margin-bottom: 11px; }
  .hero-banner .hero-copy .hero-title { font-size: 32px; line-height: 1.04; }
  .hero-banner .hero-description { margin-top: 14px; font-size:max(var(--minimum-font-size, 0px), 13px); line-height: 1.65; }
  .hero-banner .hero-actions { margin-top: 18px; gap: 18px; }
  .hero-banner .hero-actions .button { font-size:max(var(--minimum-font-size, 0px), 11px); }
}


/* Optional company film replaces only the first slide after its source is configured. */
.hero-company-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;pointer-events:none}
.has-company-video>.hero-company-video{opacity:1}
.has-company-video>.hero-artwork{visibility:hidden}
