/* ==========================================================================
   Home Banner — 首屏封面文字重排
   层级参考：小标签（带图标）→ 中文大标题 → 英文副题 → 中文描述 → 按钮组
   配色沿用站点深蓝体系（不参考参考稿的绿色）
   ========================================================================== */

/* 提高特异性，覆盖模板 .banner-1 与整屏滚动样式的内边距 */
section.banner.banner-1.banner--hero {
  padding: clamp(110px, 15vh, 190px) 0 clamp(60px, 9vh, 120px);
}

/* 将内容整体垂直居中（配合整屏滚动） */
.banner--hero .container {
  position: relative;
  z-index: 1;
}

/* ---------- 0. 品牌 logo（绿色山形标志） ---------- */
/* 目标尺寸 248px @ 2828 视口（按客户红框 298x243 换算），随宽度流体缩放 */
.banner--hero .bn-logo {
  display: block;
  width: clamp(78px, 8.6vw, 248px);
  height: auto;
  margin: 0 auto clamp(12px, 1.8vh, 24px);
  -webkit-filter: drop-shadow(0 12px 34px rgba(3, 12, 38, 0.5));
  filter: drop-shadow(0 12px 34px rgba(3, 12, 38, 0.5));
}

/* ---------- 1. 顶部小标签 ---------- */
.banner--hero .bn-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 clamp(14px, 2vh, 24px);
  padding: 9px 20px 9px 16px;
  border-radius: 999px;
  font-size: clamp(11px, 0.78vw, 14px);
  font-weight: 600;
  letter-spacing: 0.2em;
  line-height: 1;
  text-transform: uppercase;
  color: #ffd66b;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.banner--hero .bn-eyebrow__icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
}

/* ---------- 2. 中文主标题 ---------- */
.banner--hero .bn-title {
  margin: 0;
  font-size: clamp(32px, 4vw, 72px);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: 0.02em;
  color: #ffffff;
  text-shadow: 0 14px 44px rgba(3, 12, 38, 0.55);
}

/* ---------- 3. 英文副题 ---------- */
.banner--hero .bn-title-en {
  margin: clamp(12px, 1.6vh, 20px) 0 0;
  font-size: clamp(11px, 1vw, 19px);
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.6;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.84);
}

/* ---------- 4. 中文描述 ---------- */
.banner--hero .bn-sub {
  max-width: 60ch;
  margin: clamp(16px, 2.2vh, 28px) auto 0;
  font-size: clamp(13px, 0.98vw, 17px);
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.72);
}

/* ---------- 5. 按钮组 ---------- */
.banner--hero .bn-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 1.4vw, 28px);
  margin-top: clamp(26px, 3.6vh, 48px);
}

/* 次级入口：圆形描边图标 + 文字 */
.banner--hero .bn-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #ffffff;
  cursor: pointer;
}

.banner--hero .bn-link__ring {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(42px, 3vw, 52px);
  height: clamp(42px, 3vw, 52px);
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  -webkit-transition: background-color 0.3s ease, border-color 0.3s ease,
    transform 0.3s ease;
  transition: background-color 0.3s ease, border-color 0.3s ease,
    transform 0.3s ease;
}

.banner--hero .bn-link__ring svg {
  width: 44%;
  height: 44%;
}

.banner--hero .bn-link__text {
  font-size: clamp(13px, 0.92vw, 16px);
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: opacity 0.3s ease;
}

.banner--hero .bn-link:hover .bn-link__ring,
.banner--hero .bn-link:focus-visible .bn-link__ring {
  background: rgba(255, 255, 255, 0.18);
  border-color: #ffffff;
  transform: scale(1.07);
}

.banner--hero .bn-link:hover .bn-link__text,
.banner--hero .bn-link:focus-visible .bn-link__text {
  opacity: 0.88;
}

.banner--hero .bn-link:focus-visible {
  outline: none;
}

/* ---------- 入场动效：整体自下而上淡入（纯 CSS，加载即播，无需 JS） ---------- */
@keyframes bn-rise {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, 26px, 0);
    transform: translate3d(0, 26px, 0);
  }
  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

.banner--hero .bn-logo,
.banner--hero .bn-eyebrow,
.banner--hero .bn-title,
.banner--hero .bn-title-en,
.banner--hero .bn-sub,
.banner--hero .bn-actions {
  -webkit-animation: bn-rise 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) both;
  animation: bn-rise 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.banner--hero .bn-logo { -webkit-animation-delay: 0s; animation-delay: 0s; }
.banner--hero .bn-eyebrow { -webkit-animation-delay: 0.06s; animation-delay: 0.06s; }
.banner--hero .bn-title { -webkit-animation-delay: 0.14s; animation-delay: 0.14s; }
.banner--hero .bn-title-en { -webkit-animation-delay: 0.22s; animation-delay: 0.22s; }
.banner--hero .bn-sub { -webkit-animation-delay: 0.30s; animation-delay: 0.30s; }
.banner--hero .bn-actions { -webkit-animation-delay: 0.38s; animation-delay: 0.38s; }

@media (prefers-reduced-motion: reduce) {
  .banner--hero .bn-logo,
  .banner--hero .bn-eyebrow,
  .banner--hero .bn-title,
  .banner--hero .bn-title-en,
  .banner--hero .bn-sub,
  .banner--hero .bn-actions {
    -webkit-animation: none !important;
    animation: none !important;
    opacity: 1 !important;
    -webkit-transform: none !important;
    transform: none !important;
  }
}

/* ---------- 窄屏 ---------- */
@media (max-width: 767.98px) {
  .banner--hero .bn-eyebrow {
    letter-spacing: 0.12em;
    padding: 8px 16px 8px 13px;
  }
  .banner--hero .bn-title-en {
    letter-spacing: 0.1em;
  }
  .banner--hero .bn-sub {
    max-width: 34ch;
  }
}
