
/* ---------- Hero：全宽大图 + 左侧黑块 ---------- */
.hm-hero {
  position: relative;
  background: var(--jx-black);
  overflow: hidden;
}

.hm-hero__slides { position: relative; min-height: 704px; }
.hm-hero__slide { display: none; min-height: 704px; }

.hm-hero__slide.is-active {
  display: block;
  animation: hmFade 0.7s ease both;
}

@keyframes hmFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.hm-hero__media { position: absolute; inset: 0; overflow: hidden; }

.hm-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 6s ease;
}

.hm-hero__slide.is-active .hm-hero__media img { transform: scale(1); }

.hm-hero__panel {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--jx-container);
  margin: 0 auto;
  padding: 0 var(--jx-gutter);
}

.hm-hero__panel--nav {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  width: 100%;
  max-width: var(--jx-container);
  margin: 0 auto;
  padding: 0 var(--jx-gutter);
}

.hm-hero__box {
  width: 100%;
  max-width: 480px;
  min-height: 704px;
  padding: 156px 56px 120px;
  background: var(--jx-black);
  color: var(--jx-white);
  display: flex;
  flex-direction: column;
}

.hm-hero__title {
  margin: 0 0 28px;
  font-size: 4.4rem;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.hm-hero__desc {
  margin: 0;
  font-size: 1.7rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
}

.hm-hero__action { margin-top: 44px; }

.hm-hero__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* 导航条独立于 slide，叠在黑块底部 */
.hm-hero__box--nav {
  min-height: 0;
  padding: 0 56px 40px;
  background: transparent;
  pointer-events: none;
}

.hm-hero__box--nav .hm-hero__nav { pointer-events: auto; }

.hm-hero__dots { display: flex; align-items: center; gap: 14px; }

.hm-dot {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.hm-dot.is-active { background: var(--jx-accent); transform: scale(1.2); }

/* ---------- 手风琴联动（spotlight-tabs） ---------- */
.hm-tabs { padding: 100px 0; background: var(--jx-white); }

.hm-tabs__item {
  background: var(--jx-light);
  border-bottom: 1px solid var(--jx-border);
}

.hm-tabs__item:last-child { border-bottom: 0; }

.hm-tabs__trigger {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  padding: 26px 60px 26px 32px;
  border: 0;
  background: transparent;
  color: var(--jx-text);
  font-family: inherit;
  font-size: 2rem;
  font-weight: 400;
  text-align: left;
  cursor: pointer;
  transition: color 0.3s ease;
}

.hm-tabs__trigger::after {
  content: "";
  position: absolute;
  right: 32px;
  top: 50%;
  width: 12px;
  height: 12px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.3s ease;
}

.hm-tabs__item.is-open .hm-tabs__trigger { color: var(--jx-primary); font-weight: 600; }

.hm-tabs__item.is-open .hm-tabs__trigger::after {
  transform: translateY(-30%) rotate(-135deg);
}

.hm-tabs__trigger:hover { color: var(--jx-primary); }

.hm-tabs__panel { display: none; overflow: hidden; }

.hm-tabs__item.is-open .hm-tabs__panel {
  display: block;
  animation: hmSlide 0.45s ease both;
}

@keyframes hmSlide {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.hm-tabs__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
  background: var(--jx-black);
}

.hm-tabs__left {
  display: flex;
  flex-direction: column;
  padding: 50px 70px 50px 50px;
}

.hm-tabs__heading {
  margin: 0 0 32px;
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--jx-white);
}

.hm-tabs__text {
  margin: 0;
  font-size: 1.6rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.72);
}

.hm-tabs__link { margin-top: auto; padding-top: 24px; }

.hm-tabs__media { position: relative; overflow: hidden; background: #1a1a1a; }

.hm-tabs__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hm-tabs__item.is-open .hm-tabs__media img { transform: scale(1.04); }

/* ---------- 新闻卡片（3 列） ---------- */
.hm-news { padding: 100px 0; background: var(--jx-white); }

.hm-news__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 16px;
}

.hm-news__item { position: relative; display: flex; flex-direction: column; height: 100%; }

.hm-news__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 344 / 214;
  background: var(--jx-light);
}

.hm-news__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hm-news__item:hover .hm-news__image img { transform: scale(1.08); }

.hm-news__body { display: flex; flex-direction: column; flex: 1; padding-top: 24px; }

.hm-news__title {
  margin: 14px 0 0;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--jx-text);
  text-wrap: balance;
}

.hm-news__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.hm-news__title a:hover { color: var(--jx-primary); }

.hm-news__summary {
  margin: 12px 0 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  font-size: 1.5rem;
  line-height: 1.7;
  color: var(--jx-text-secondary);
  overflow-wrap: anywhere;
}

.hm-news__date { margin-top: auto; padding-top: 20px; font-size: 1.3rem; color: var(--jx-text-muted); }

/* ---------- 底部 CTA ---------- */
.hm-cta { padding: 100px 0; background: var(--jx-light); }

.hm-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}

.hm-cta__title {
  max-width: 720px;
  font-size: 3.6rem;
  line-height: 1.2;
  color: var(--jx-text);
}

.hm-cta__desc {
  margin: 20px 0 0;
  max-width: 720px;
  font-size: 1.7rem;
  line-height: 1.7;
  color: var(--jx-text-secondary);
}

/* ---------- 响应式 ---------- */
@media (max-width: 992px) {
  .hm-hero__slides,
  .hm-hero__slide { min-height: 0; }

  .hm-hero__media { position: relative; aspect-ratio: 16 / 9; }
  .hm-hero__box { max-width: 100%; min-height: 0; padding: 40px 24px 96px; }
  .hm-hero__title { font-size: 3rem; }
  .hm-hero__desc { font-size: 1.5rem; }
  .hm-hero__box--nav { padding: 0 24px 28px; }

  .hm-tabs { padding: 56px 0; }
  .hm-tabs__body { grid-template-columns: 1fr; min-height: 0; }
  .hm-tabs__media { order: -1; aspect-ratio: 16 / 9; }
  .hm-tabs__left { padding: 36px 24px; }
  .hm-tabs__heading { font-size: 2.2rem; }
  .hm-tabs__trigger { padding: 20px 48px 20px 20px; font-size: 1.7rem; }
  .hm-tabs__trigger::after { right: 20px; }

  .hm-news { padding: 56px 0; }
  .hm-news__grid { grid-template-columns: repeat(2, 1fr); }
  .hm-cta { padding: 56px 0; }
  .hm-cta__title { font-size: 2.6rem; }
}

@media (max-width: 640px) {
  .hm-hero__title { font-size: 2.4rem; }
  .hm-hero__box { padding: 32px 20px 24px; }
  .hm-tabs__heading { font-size: 2rem; }
  .hm-tabs__text { font-size: 1.5rem; }
  .hm-news__grid { grid-template-columns: 1fr; }
  .hm-cta__title { font-size: 2.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  .hm-hero__slide.is-active,
  .hm-tabs__item.is-open .hm-tabs__panel { animation: none; }
  .hm-hero__media img,
  .hm-news__image img,
  .hm-tabs__media img { transition: none; }
}
