/* ==========================================================================
   gandehao.cn 电气案例详情页专属样式 · anli-dianqi.css
   依赖：global.css
   独有签名：左文右图 Hero + 悬浮数据侧栏卡 + 痛点清单
   ========================================================================== */

/* Hero 左文右图 + 数据侧栏 */
.ad-hero { background: linear-gradient(135deg, var(--c-white), var(--c-sky)); padding: clamp(70px, 9vw, 116px) 0 clamp(50px, 6vw, 80px); }
.ad-hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 48px; align-items: center; }
.ad-hero-text h1 { font-size: clamp(30px, 4.2vw, 46px); margin: 14px 0 16px; line-height: 1.32; }
.ad-hero-text > p { color: var(--c-muted); font-size: 16px; line-height: 1.9; }
.ad-hero-cta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 14px; }
.ad-hero-media { position: relative; }
.ad-hero-media > img { width: 100%; border-radius: var(--r-xl); box-shadow: var(--sh-lg); }
.ad-sidecard {
  position: absolute; left: -34px; bottom: -30px;
  background: var(--c-white); border: 1px solid var(--c-line);
  border-radius: var(--r-lg); padding: 18px 24px; box-shadow: var(--sh-lg);
  transform: rotate(-2deg);
}
.ad-side-num { font-size: 30px; font-weight: 800; color: var(--c-green-deep); line-height: 1.1; }
.ad-side-label { font-size: 12.5px; color: var(--c-muted); margin-top: 4px; }

/* 痛点清单 */
.ad-pain { list-style: none; margin: 18px 0; display: grid; gap: 10px; }
.ad-pain li {
  position: relative; padding: 11px 16px 11px 38px;
  background: var(--c-blue-soft); border-radius: var(--r-md); font-size: 14.5px;
}
.ad-pain li::before {
  content: ""; position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 14px; height: 14px; border-radius: 4px; background: var(--c-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/9px no-repeat;
}
.ad-note { font-size: 15px; color: var(--c-green-deep); font-weight: 600; }

/* 方案亮点三卡 */
.ad-plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ad-plan-card {
  background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--r-lg);
  padding: 28px 24px; box-shadow: var(--sh-sm); position: relative; overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
.ad-plan-card::before {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--c-green), var(--c-blue));
}
.ad-plan-card:hover { transform: translateY(-6px); box-shadow: var(--sh-md); }
.ad-plan-card h3 { font-size: 17.5px; margin-bottom: 10px; }
.ad-plan-card p { font-size: 14.5px; color: var(--c-muted); line-height: 1.85; }
.ad-plan-card a { color: var(--c-blue-deep); font-weight: 600; }

/* 执行过程侧卡 */
.ad-do-side { position: relative; }
.ad-do-card {
  background: linear-gradient(150deg, var(--c-green-soft), var(--c-blue-soft));
  border: 1px dashed var(--c-green); border-radius: var(--r-xl);
  padding: 30px 28px; box-shadow: var(--sh-md); transform: rotate(1.2deg);
}
.ad-do-card h3 { font-size: 18px; margin-bottom: 14px; }
.ad-do-card ul { display: grid; gap: 10px; }
.ad-do-card li { position: relative; padding-left: 22px; font-size: 14.5px; line-height: 1.8; }
.ad-do-card li::before { content: ""; position: absolute; left: 0; top: 11px; width: 8px; height: 8px; border-radius: 50%; background: var(--c-green-deep); }

/* 客户评价 */
.ad-quote {
  max-width: 860px; margin: 0 auto; background: var(--c-white);
  border-left: 5px solid var(--c-green); border-radius: var(--r-lg);
  padding: 30px 32px; box-shadow: var(--sh-sm);
}
.ad-quote p { font-size: 16.5px; line-height: 2; color: var(--c-ink); }
.ad-quote-who { margin-top: 16px; font-size: 14px; color: var(--c-green-deep); font-weight: 700; }

/* 相关案例 */
.ad-rel-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; }
.ad-rel-card:hover { transform: translateY(-5px); box-shadow: var(--sh-md); }
.ad-rel-media { height: 150px; overflow: hidden; }
.ad-rel-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.ad-rel-card:hover .ad-rel-media img { transform: scale(1.06); }
.ad-rel-more { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--c-green-soft), var(--c-blue-soft)); text-align: center; font-size: 16px; font-weight: 800; color: var(--c-green-deep); line-height: 1.6; }
.ad-rel-card h3 { font-size: 16px; margin: 14px 18px 4px; }
.ad-rel-card p { font-size: 13.5px; color: var(--c-muted); padding: 0 18px 18px; }

/* 响应式 */
@media (max-width: 900px) {
  .ad-hero-grid { grid-template-columns: 1fr; }
  .ad-sidecard { left: 12px; bottom: -22px; }
  .ad-plan-grid { grid-template-columns: 1fr; }
}
