/* 宜捷海特首页 Banner 独立样式：所有规则均限定在 #htb-hero 内 */
#htb-hero {
  --htb-gold: #d7ac78;
  --htb-speed: 7000ms;
  position: relative;
  display: block;
  width: 100%;
  height: 100vh;
  height: 100svh;
  min-height: 440px;
  overflow: hidden;
  isolation: isolate;
  background: #102030;
  color: #fff;
  font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  box-sizing: border-box;
  touch-action: pan-y;
  cursor: grab;
}
#htb-hero *, #htb-hero *::before, #htb-hero *::after { box-sizing: border-box; }
#htb-hero.htb-dragging { cursor: grabbing; }
#htb-hero .htb-track {
  height: 100%; width: 100%; display: flex;
  transform: translate3d(-100%, 0, 0);
  will-change: transform;
}
#htb-hero .htb-slide {
  position: relative; flex: 0 0 100%; width: 100%; height: 100%;
  overflow: hidden; user-select: none; background: #142435;
}
#htb-hero .htb-slide > img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  max-width: none; object-fit: cover; object-position: center;
  pointer-events: none; -webkit-user-drag: none;
}
#htb-hero .htb-slide[data-real="0"] > img { object-position: 50% 49%; }
#htb-hero .htb-slide[data-real="1"] > img { object-position: 50% 50%; }
#htb-hero .htb-slide[data-real="2"] > img { object-position: 49% 50%; }
#htb-hero .htb-shade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(6,16,28,.83), rgba(6,16,28,.43) 45%, rgba(6,16,28,.05) 88%),
              linear-gradient(0deg, rgba(5,14,25,.57), transparent 33%);
}
#htb-hero .htb-copy {
  position: absolute; z-index: 1;
  left: clamp(30px, 9.5vw, 160px); top: 50%;
  transform: translateY(-42%); width: min(720px, 78vw);
  pointer-events: none;
}
#htb-hero .htb-micro {
  display: flex; align-items: center; gap: 13px;
  margin: 0 0 24px; color: var(--htb-gold);
  font-size: 12px; letter-spacing: .22em;
}
#htb-hero .htb-micro-line { width: 29px; height: 1px; background: currentColor; }
#htb-hero .htb-copy h1 {
  margin: 0 0 24px; padding: 0; color: #fff;
  font-family: inherit; font-size: clamp(46px, 5.4vw, 88px);
  font-weight: 300; line-height: 1.23; letter-spacing: .035em;
  text-transform: none; text-align: left;
}
#htb-hero .htb-copy h1 strong { font-weight: 750; color: #fff; }
#htb-hero .htb-description {
  max-height: min(36vh, 310px); overflow-y: auto;
  padding-right: 8px; color: rgba(255,255,255,.87);
  font-size: clamp(13px,1.05vw,16px); line-height: 2.05;
  letter-spacing: .015em; scrollbar-width: thin;
  pointer-events: auto;
}
#htb-hero .htb-description p { margin: 0 0 10px; padding: 0; color: inherit; line-height: inherit; font-size: inherit; }
#htb-hero .htb-description p:last-child { margin-bottom: 0; }
#htb-hero .htb-controls {
  position: absolute; z-index: 5;
  left: clamp(25px, 5vw, 88px); right: clamp(25px, 5vw, 88px);
  bottom: clamp(25px, 5vh, 55px);
  display: flex; justify-content: space-between; align-items: center; gap: 15px;
}
#htb-hero .htb-pages { display: flex; align-items: center; gap: 18px; }
#htb-hero button { font-family: inherit; text-transform: none; box-shadow: none; }
#htb-hero .htb-page {
  display: flex; align-items: center; gap: 10px; padding: 11px 0;
  background: transparent; color: rgba(255,255,255,.6);
  border: none; border-radius: 0; cursor: pointer; line-height: 1;
}
#htb-hero .htb-page[aria-current="true"] { color: #fff; }
#htb-hero .htb-num { font-size: 12px; font-weight: 650; letter-spacing: .05em; }
#htb-hero .htb-rail { display: block; width: clamp(40px,5.5vw,92px); height: 2px; overflow: hidden; background: rgba(255,255,255,.3); }
#htb-hero .htb-fill { display: block; height: 100%; width: 0; background: var(--htb-gold); }
#htb-hero .htb-page[aria-current="true"] .htb-fill { animation: htb-progress var(--htb-speed) linear both; }
@keyframes htb-progress { from { width: 0; } to { width: 100%; } }
#htb-hero .htb-arrows { display: flex; gap: 12px; }
#htb-hero .htb-arrow {
  display: grid; place-items: center; flex: none;
  width: 50px; height: 50px; padding: 0;
  color: #fff; background: rgba(8,20,32,.12);
  border: 1px solid rgba(255,255,255,.46); border-radius: 50%;
  cursor: pointer; backdrop-filter: blur(6px); transition: background .2s;
}
#htb-hero .htb-arrow:hover { background: rgba(255,255,255,.22); }
#htb-hero .htb-arrow svg { width: 21px; height: 21px; stroke: currentColor; stroke-width: 1.5; fill: none; }
#htb-hero button:focus-visible { outline: 2px solid var(--htb-gold); outline-offset: 4px; }
@media (max-width: 760px) {
  #htb-hero { min-height: 520px; }
  #htb-hero .htb-shade { background: linear-gradient(0deg,rgba(5,14,25,.93),rgba(5,14,25,.76) 40%,rgba(5,14,25,.18) 95%); }
  #htb-hero .htb-copy { top: auto; bottom: 118px; left: 24px; right: 24px; width: auto; transform: none; }
  #htb-hero .htb-copy h1 { font-size: clamp(38px, 9vw, 58px); margin-bottom: 15px; }
  #htb-hero .htb-micro { margin-bottom: 14px; font-size: 10px; }
  #htb-hero .htb-description { font-size: 12px; line-height: 1.85; max-height: 29vh; }
  #htb-hero .htb-controls { left: 23px; right: 23px; bottom: 23px; }
  #htb-hero .htb-pages { gap: 8px; }
  #htb-hero .htb-page { gap: 5px; }
  #htb-hero .htb-rail { width: 28px; }
  #htb-hero .htb-arrow { width: 39px; height: 39px; }
  #htb-hero .htb-arrows { gap: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  #htb-hero .htb-page[aria-current="true"] .htb-fill { animation: none; width: 100%; }
}
