/* ==========================================================================
   gandehao.cn 小程序/H5 开发页专属样式 · xiaochengxu-h5.css
   依赖：global.css
   独有签名：左文右双图错落叠放 Hero + 双赛道对比卡
   ========================================================================== */

/* ---------- Hero：左文右双图叠放 ---------- */
.xc-hero {
  padding: clamp(80px, 10vw, 130px) 0 clamp(70px, 9vw, 110px);
  background: linear-gradient(135deg, var(--c-white), var(--c-sky));
}
.xc-hero-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.xc-hero-grid h1 { font-size: clamp(28px, 3.8vw, 44px); line-height: 1.4; margin: 14px 0 16px; }
.xc-hero-grid > div > p { color: var(--c-muted); font-size: 16px; line-height: 1.9; }
.xc-hero-cta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 14px; }

/* 双图错落叠放 */
.xc-hero-media { position: relative; height: 380px; }
.xc-media-back {
  position: absolute; top: 0; right: 0; width: 78%; height: 88%;
  border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-lg);
  transform: rotate(2deg);
}
.xc-media-back img { width: 100%; height: 100%; object-fit: cover; }
.xc-media-front {
  position: absolute; bottom: 0; left: 0; width: 56%; height: 72%;
  border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-lg);
  border: 6px solid var(--c-white);
}
.xc-media-front img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 双赛道对比卡 ---------- */
.xc-card {
  background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--r-xl);
  padding: 30px 28px; box-shadow: var(--sh-sm);
  transition: transform .3s ease, box-shadow .3s ease;
}
.xc-card:hover { transform: translateY(-6px); box-shadow: var(--sh-md); }
.xc-card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.xc-card-head h3 { font-size: 20px; }
.xc-card > p { font-size: 14.5px; color: var(--c-muted); line-height: 1.9; }
.xc-point { list-style: none; margin-top: 16px; display: grid; gap: 8px; }
.xc-point li {
  position: relative; padding-left: 22px; font-size: 13.5px; color: var(--c-muted); line-height: 1.8;
}
.xc-point li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--c-green);
}
.xc-card:nth-child(even) .xc-point li::before { background: var(--c-blue); }

/* ---------- 服务能力卡 ---------- */
.xc-type .card { padding: 30px 24px; border-radius: var(--r-xl); }
.xc-type a { color: var(--c-blue-deep); text-decoration: underline; }

/* ---------- 案例卡 ---------- */
.case-card { 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; }
.case-card:hover { transform: translateY(-6px); box-shadow: var(--sh-md); }
.case-media { height: 210px; overflow: hidden; }
.case-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.case-card:hover .case-media img { transform: scale(1.05); }
.case-body { padding: 18px 22px 22px; }
.case-body h3 { font-size: 17px; margin-bottom: 6px; }
.case-body p { font-size: 14px; color: var(--c-muted); }
.idx-more { text-align: center; margin-top: 36px; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .xc-hero-grid { grid-template-columns: 1fr; }
  .xc-hero-media { height: 300px; }
}
