.hero.hero-carousel {
  position: relative;
  display: block;
  /* 轮播原图为 1920 × 750，锁定比例，避免被基础 hero 的整屏高度规则拉长。 */
  width: 100%;
  height: min(39.0625vw, 750px);
  min-height: 0;
  aspect-ratio: 1920 / 750;
  overflow: hidden;
  padding: 0;
  background: #06133e;
  touch-action: pan-y;
  user-select: none;
  cursor: grab;
}

.hero.hero-carousel.is-dragging { cursor: grabbing; }

.hero-carousel .hero-slides,
.hero-carousel .hero-slide {
  position: absolute;
  inset: 0;
}

.hero-carousel .hero-slide {
  z-index: 0;
  margin: 0;
  opacity: 0;
  transform: scale(1.025);
  transition: opacity .8s ease, transform 5.8s ease;
}

.hero-carousel .hero-slide.is-active {
  z-index: 1;
  opacity: 1;
  transform: scale(1);
}

.hero-carousel .hero-slide picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-carousel .hero-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-controls {
  position: absolute;
  z-index: 3;
  bottom: 26px;
  left: 50%;
  display: flex;
  gap: 9px;
  transform: translateX(-50%);
}

.carousel-dot {
  width: 28px;
  height: 3px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, .48);
  cursor: pointer;
  transition: width .25s ease, background .25s ease;
}

.carousel-dot.is-active {
  width: 46px;
  background: #fff;
}

.carousel-dot:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

.carousel-arrow {
  position: absolute;
  z-index: 4;
  top: 50%;
  width: 48px;
  height: 64px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 24px;
  color: #fff;
  background: rgba(4,18,61,.25);
  font: 300 42px/1 sans-serif;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%);
  transition: opacity .25s ease, background .25s ease, border-color .25s ease;
}
.carousel-arrow:hover { background: rgba(4,18,61,.65); border-color: rgba(255,255,255,.7); }
.carousel-prev { left: 24px; }
.carousel-next { right: 24px; }

@media (hover: hover) and (pointer: fine) {
  .hero-carousel:hover .carousel-arrow,
  .hero-carousel:focus-within .carousel-arrow {
    opacity: 1;
    pointer-events: auto;
  }
}

.carousel-arrow:focus-visible {
  opacity: 1;
  pointer-events: auto;
  outline: 2px solid #fff;
  outline-offset: 4px;
}

@media (max-width: 800px) {
  .hero.hero-carousel {
    height: min(80vw, 560px);
    aspect-ratio: 5 / 4;
  }

  .hero-carousel .hero-slide img {
    object-fit: cover;
    /* 手机专用素材为 5:4 构图，画面内容完整落在安全区。 */
    object-position: center;
  }

  .stats {
    padding: 22px 0;
  }

  .stats .container {
    width: calc(100% - 24px);
  }

  .stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
  }

  .stats-grid > div,
  .stats-grid > div:nth-child(3) {
    min-width: 0;
    padding: 2px 8px;
    border-left: 1px solid rgba(255,255,255,.32);
  }

  .stats-grid > div:first-child {
    padding-left: 0;
    border-left: 0;
  }

  .stats strong {
    font-size: clamp(22px, 6.4vw, 28px);
    white-space: nowrap;
  }

  .stats strong span {
    font-size: .56em;
  }

  .stats p {
    margin-top: 8px;
    font-size: clamp(10px, 2.8vw, 12px);
    white-space: nowrap;
  }

  .services .section-heading h2 {
    font-size: clamp(28px, 8vw, 32px);
    line-height: 1.28;
    letter-spacing: -1.5px;
  }

  .method-brand {
    left: 50%;
    transform: translateX(-50%);
  }

  .method-content {
    right: 7%;
  }

  .method-growth {
    left: 7%;
  }

  .carousel-controls {
    bottom: 16px;
    gap: 7px;
  }

  .carousel-dot {
    width: 20px;
  }

  .carousel-dot.is-active {
    width: 34px;
  }

  .carousel-arrow { display: none; }
}
