/* 数据带与信用背书：stats-grid / stat-num / hero-proof 浮层
   拆分自 assets/css/design-system.css（2026-08-30）
   被 index.html、case-gallery.html、service-flow-stair.html 引用。 */

/* ===== 数据带（增强） ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-5);
  text-align: center;
}
.stat-num {
  font-size: 34px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
}
@media (max-width: 720px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-4);
  }
  .stat-num { font-size: 28px; }
}

/* ===== 信用背书：已服务家庭数（首屏浮层 + M06 数据带首项） ===== */
/* 300+ 是最重要的信用背书，统一用金色渐变大字 + 白色强标签呈现 */
.stat-num.is-hero {
  font-size: 54px;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #F0D399, var(--gold-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}
.stat-label.is-hero {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}
.stats-grid .stat-hero { position: relative; }
.stats-grid .stat-hero::after {
  content: "";
  position: absolute;
  top: 12%;
  bottom: 12%;
  right: calc(var(--sp-5) / -2);
  width: 1px;
  background: rgba(255, 255, 255, 0.14);
  pointer-events: none;
}

/* 首屏主视觉底部信用浮层 */
.hero-proof {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 30px 22px 20px;
  background: linear-gradient(transparent, rgba(10, 31, 51, 0.92) 58%);
}
.hero-proof-num {
  font-size: 54px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #F0D399, var(--gold-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-proof-label {
  margin-top: 7px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}
.hero-proof-sub {
  margin-top: 3px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 1080px) {
  .stat-num.is-hero { font-size: 46px; }
  .hero-proof-num { font-size: 46px; }
}
@media (max-width: 720px) {
  .stat-num.is-hero { font-size: 40px; }
  .stats-grid .stat-hero::after { display: none; }
  .hero-proof { padding: 26px 18px 18px; }
  .hero-proof-num { font-size: 40px; }
  .hero-proof-label { font-size: 15px; }
}
