/* ==========================================================================
   gandehao.cn 新乡网站建设页专属样式 · xinxiang-jianzhan.css
   依赖：global.css
   独有签名：错位大卡 Hero + 倾斜胶带卡片带
   ========================================================================== */

/* ① Hero：错位大卡 */
.xx-hero { padding: clamp(90px, 12vw, 140px) 0 80px; }
.xx-hero-wrap { max-width: 1000px; }
.xx-hero-card {
  position: relative; background: var(--c-white);
  border-radius: var(--r-xl); box-shadow: var(--sh-lg);
  overflow: hidden; transform: rotate(-.6deg);
}
.xx-hero-img { height: 340px; overflow: hidden; }
.xx-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.xx-hero-text {
  position: relative; margin: -70px 36px 36px;
  background: var(--c-white); border-radius: var(--r-lg);
  padding: 30px 32px; box-shadow: var(--sh-md);
  transform: rotate(.4deg);
}
.xx-hero-text h1 { font-size: clamp(26px, 3.6vw, 40px); margin: 12px 0 14px; line-height: 1.34; }
.xx-hero-text p { color: var(--c-muted); font-size: 15.5px; line-height: 1.9; }
.xx-hero-cta { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; }
.text-blue { color: var(--c-blue-deep); }

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

/* ③ 倾斜胶带卡片带（签名） */
.xx-tape-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.xx-tape-card {
  position: relative; background: var(--c-white);
  border: 1px solid var(--c-line); border-radius: var(--r-lg);
  padding: 34px 22px 24px; box-shadow: var(--sh-sm);
  transition: transform .3s, box-shadow .3s;
}
.xx-tape-card:nth-child(odd) { transform: rotate(-1.2deg); }
.xx-tape-card:nth-child(even) { transform: rotate(1deg) translateY(10px); }
.xx-tape-card:hover { transform: rotate(0) translateY(-4px); box-shadow: var(--sh-md); }
.xx-tape-card h3 { font-size: 17px; margin-bottom: 8px; }
.xx-tape-card p { font-size: 14px; color: var(--c-muted); line-height: 1.75; }

/* 深色数据条 */
.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); }

/* 案例卡 */
.xx-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; }
.xx-case:hover { transform: translateY(-6px); box-shadow: var(--sh-md); }
.xx-case-media { height: 170px; overflow: hidden; }
.xx-case-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.xx-case:hover .xx-case-media img { transform: scale(1.05); }
.xx-case-body { padding: 16px 20px 20px; }
.xx-case-body h3 { font-size: 16px; margin-bottom: 4px; }
.xx-case-body p { font-size: 13.5px; color: var(--c-muted); }

/* 响应式 */
@media (max-width: 900px) {
  .xx-tape-row { grid-template-columns: 1fr 1fr; }
  .xx-hero-text { margin: -50px 20px 24px; padding: 22px; }
  .xx-hero-img { height: 240px; }
}
@media (max-width: 560px) {
  .xx-tape-row { grid-template-columns: 1fr; }
}
