/* ==========================================================================
   诚立会计 · 海南分公司 — 首页开屏（左文案 / 右地标实拍）
   只覆盖 style.css 里的 .hero 默认样式，不影响内页 .page-hero
   2026-11-18
   ========================================================================== */

/* ---------- 版面 ---------- */
.hero--split { padding: clamp(46px, 5.2vw, 74px) 0 clamp(76px, 8.4vw, 118px); }
.hero--split .hero-grid {
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: clamp(34px, 4.2vw, 66px);
  align-items: center;
}
.hero-copy { min-width: 0; }

.hero--split h1 {
  font-size: clamp(29px, 3.45vw, 44px);
  line-height: 1.24;
  letter-spacing: -.6px;
  margin-bottom: 18px;
  max-width: 15em;
}
/* 标题固定两行：单栏时不要让「自贸港」被拆到两行去 */
.hero--split h1 br.hero-br { display: inline; }
.hero--split h1 em { display: inline-block; }
.hero--split .hero-sub {
  font-size: clamp(15px, 1.24vw, 16.5px);
  line-height: 1.82;
  max-width: 34em;
  margin-bottom: 26px;
  color: #c2d5e6;
}

/* ---------- 按钮组 ---------- */
.hero--split .hero-actions { gap: 11px; margin-bottom: 24px; }
.hero--split .hero-actions .btn-lg {
  /* 三个按钮要挤在一行：默认 16px 34px 会差 3px 换行 */
  padding: 15px 28px;
  font-size: 15.5px;
}
.hero-actions .btn-wechat {
  background: rgba(24, 164, 124, .16);
  border-color: rgba(79, 208, 167, .5);
  color: #d6f4e9;
  cursor: pointer;
  font-family: inherit;
}
.hero-actions .btn-wechat:hover {
  background: rgba(24, 164, 124, .3);
  border-color: rgba(79, 208, 167, .8);
  color: #fff;
  transform: translateY(-2px);
}
.hero-actions .btn-wechat svg { width: 16px; height: 16px; }

/* ---------- 信任点 ---------- */
.hero--split .hero-points { gap: 9px 10px; }
.hero--split .hero-points li { font-size: 12.5px; padding: 6px 13px; }

/* ---------- 右侧实拍 ---------- */
.hero--split .hero-visual { margin: 0; position: relative; }
.hero-shot {
  position: relative;
  z-index: 1;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .22);
  box-shadow: 0 28px 64px rgba(6, 18, 38, .5), 0 3px 12px rgba(6, 18, 38, .28);
  background: #0c2447;
}
.hero-shot picture { display: block; }
.hero-shot img.hero-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
/* 压一层自上而下的深色渐变：上方托住定位胶囊，下方托住数据卡 */
.hero-shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(9, 26, 54, .38) 0%,
      rgba(9, 26, 54, .08) 32%,
      rgba(9, 26, 54, 0) 56%,
      rgba(9, 26, 54, .34) 100%);
  pointer-events: none;
}

.hero-cap {
  position: absolute;
  left: 16px; top: 16px;
  z-index: 2;
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(9, 26, 54, .52);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  padding: 7px 15px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .2px;
  color: #eaf3fa;
  white-space: nowrap;
}
.hero-cap svg { width: 13px; height: 13px; color: var(--gold-light); flex: none; }

.hero--split .hero-stat {
  /* 收进图片内：越界会压在圆角上，看起来像贴歪了 */
  left: 18px;
  bottom: 18px;
  padding: 13px 19px 13px 15px;
  border-radius: 14px;
  z-index: 2;
}
.hero--split .hero-stat b { font-size: 26px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .hero--split .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .hero--split h1 { max-width: none; }
  .hero--split .hero-sub { max-width: none; }
  /* style.css 里 limit 了 560px 且 margin:auto，这里放开成全宽 */
  .hero--split .hero-visual { max-width: none; }
  .hero-shot img.hero-img { aspect-ratio: 16 / 10; }
  /* 单栏时数据卡收进图内，避免越界导致横向滚动 */
  .hero--split .hero-stat { left: 14px; bottom: 14px; }
}

@media (max-width: 560px) {
  .hero--split { padding: 34px 0 72px; }
  .hero--split .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .hero--split .hero-actions .btn-lg { padding: 13px 8px; font-size: 14.5px; }
  .hero--split .hero-actions .btn-wechat { grid-column: 1 / -1; }
  .hero-cap { left: 10px; top: 10px; padding: 6px 11px; font-size: 11.5px; }
  .hero--split .hero-stat { left: 10px; bottom: 10px; padding: 10px 14px 10px 12px; gap: 10px; }
  .hero--split .hero-stat b { font-size: 20px; }
  .hero--split .hero-stat span { font-size: 11px; line-height: 1.5; }
  .hero-shot { border-radius: 16px; }
  .hero-shot img.hero-img { aspect-ratio: 4 / 3; }
}
