/* ==========================================================================
   gandehao.cn 濮阳城市分站专属样式 · puyang-jianzhan.css
   依赖：global.css
   独有签名：通栏 banner Hero + 浮层卡片 + 错位悬浮案例卡
   ========================================================================== */

/* ① Hero：通栏 banner + 浮层卡片 */
.py-hero { position: relative; padding-top: 44px; }
.py-hero-banner { position: relative; height: clamp(260px, 36vw, 460px); overflow: hidden; }
.py-hero-banner img { width: 100%; height: 100%; object-fit: cover; }
.py-hero-banner::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(34,56,58,.15), rgba(34,56,58,.45));
}
.py-hero-wrap { position: relative; margin-top: -70px; z-index: 3; }
.py-hero-card {
  background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--r-xl);
  padding: clamp(28px, 5vw, 52px) clamp(22px, 5vw, 56px); box-shadow: var(--sh-lg);
  max-width: 880px;
}
.py-hero-card h1 { font-size: clamp(26px, 3.6vw, 40px); margin: 14px 0 14px; line-height: 1.34; }
.py-hero-card p { color: var(--c-muted); font-size: 15.5px; line-height: 1.9; }
.py-hero-cta { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 14px; }

/* ② 痛点清单 */
.py-check { list-style: none; display: grid; gap: 14px; margin: 22px 0 26px; }
.py-check li {
  position: relative; padding: 14px 18px 14px 20px;
  background: var(--c-sky); border-left: 4px solid var(--c-blue);
  border-radius: 0 var(--r-md) var(--r-md) 0; font-size: 15px; line-height: 1.8;
}
.py-check strong { color: var(--c-blue-deep); }

/* ⑥ 错位悬浮案例卡 */
.py-float-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.py-float-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;
}
.py-float-grid .py-float-card:nth-child(1) { transform: translateY(0); }
.py-float-grid .py-float-card:nth-child(2) { transform: translateY(26px); }
.py-float-grid .py-float-card:nth-child(3) { transform: translateY(10px); }
.py-float-card:hover { transform: translateY(-6px); box-shadow: var(--sh-md); }
.py-float-media { height: 160px; overflow: hidden; }
.py-float-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.py-float-card:hover .py-float-media img { transform: scale(1.05); }
.py-float-card h3 { font-size: 16px; margin: 14px 18px 4px; }
.py-float-card p { font-size: 13.5px; color: var(--c-muted); margin: 0 18px 18px; }

/* 响应式 */
@media (max-width: 900px) {
  .py-float-grid { grid-template-columns: 1fr; gap: 20px; }
  .py-float-grid .py-float-card:nth-child(1),
  .py-float-grid .py-float-card:nth-child(2),
  .py-float-grid .py-float-card:nth-child(3),
  .py-float-card:hover { transform: none; }
}
