/* ==========================================================================
   gandehao.cn 南阳网站建设页专属样式 · nanyang-jianzhan.css
   依赖：global.css
   独有签名：左文右图斜切 Hero + 阶梯卡片服务流程
   ========================================================================== */

/* ① Hero：左文右图 */
.ny-hero { background: linear-gradient(135deg, var(--c-white), var(--c-mint)); padding: clamp(64px, 9vw, 110px) 0; }
.ny-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.ny-hero-text h1 { font-size: clamp(28px, 4vw, 44px); margin: 14px 0 16px; line-height: 1.32; }
.ny-hero-text p { color: var(--c-muted); font-size: 16px; line-height: 1.9; }
.ny-hero-cta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 14px; }
.ny-hero-media { position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-lg); transform: rotate(1.6deg); }
.ny-hero-media img { width: 100%; height: 100%; object-fit: cover; }

/* ③ 行业卡内图 */
.ny-media { height: 180px; margin-bottom: 18px; }

/* ④ 阶梯卡片（签名） */
.ny-stairs { display: flex; flex-direction: column; gap: 18px; max-width: 760px; margin: 0 auto; }
.ny-stair {
  position: relative; background: var(--c-white); border: 1px solid var(--c-line);
  border-radius: var(--r-lg); padding: 20px 26px; box-shadow: var(--sh-sm);
  transition: transform .3s, box-shadow .3s;
}
.ny-stair:nth-child(1) { width: 62%; }
.ny-stair:nth-child(2) { width: 74%; margin-left: 6%; }
.ny-stair:nth-child(3) { width: 86%; margin-left: 12%; }
.ny-stair:nth-child(4) { width: 74%; margin-left: 6%; }
.ny-stair:nth-child(5) { width: 62%; }
.ny-stair:hover { transform: translateX(8px); box-shadow: var(--sh-md); }
.ny-stair-n {
  display: inline-block; font-size: 12.5px; font-weight: 700; color: var(--c-green-deep);
  background: var(--c-green-soft); padding: 3px 12px; border-radius: var(--r-pill); margin-bottom: 8px;
}
.ny-stair h3 { font-size: 17px; margin-bottom: 4px; }
.ny-stair p { font-size: 14px; color: var(--c-muted); }

/* ⑤ 案例卡 */
.ny-case { display: block; background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-sm); transition: transform .3s, box-shadow .3s; }
.ny-case:hover { transform: translateY(-6px); box-shadow: var(--sh-md); }
.ny-case-media { height: 170px; overflow: hidden; }
.ny-case-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.ny-case:hover .ny-case-media img { transform: scale(1.05); }
.ny-case-body { padding: 16px 20px 20px; }
.ny-case-body h3 { font-size: 16px; margin-bottom: 4px; }
.ny-case-body p { font-size: 13.5px; color: var(--c-muted); }

/* 深色数据条 */
.stat-on-dark .stat-num { background: none; -webkit-text-fill-color: #fff; color: #fff; }
.stat-on-dark .stat-label { color: rgba(255,255,255,.85); }

/* 响应式 */
@media (max-width: 900px) {
  .ny-hero-grid { grid-template-columns: 1fr; }
  .ny-stair:nth-child(n) { width: 100%; margin-left: 0; }
}
