/* ==========================================================================
   gandehao.cn 电气行业网站建设页专属样式 · dianqi-jianzhan.css
   依赖：global.css
   独有签名：行业大图全屏 Hero + 阶梯栏目规划卡
   ========================================================================== */

/* ---------- ① 全屏大图 Hero ---------- */
.dq-hero {
  position: relative; min-height: 92vh; display: flex; align-items: flex-end;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
}
.dq-hero-bg { position: absolute; inset: 0; z-index: 0; }
.dq-hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.dq-hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(95deg, rgba(24,48,47,.88) 0%, rgba(34,56,58,.62) 45%, rgba(34,56,58,.12) 78%, rgba(60,143,104,.14) 100%);
}
.dq-hero-inner {
  position: relative; z-index: 2;
  width: min(1180px, 92%); margin: 0 auto; padding: 120px 0 120px; color: #fff;
}
.dq-crumb { color: rgba(255,255,255,.72); }
.dq-crumb a { color: #BFE9D2; }
.dq-crumb .crumb-current { color: #fff; }
.dq-eyebrow {
  background: rgba(255,255,255,.14); color: #EAF6EF;
  border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(4px);
}
.dq-eyebrow::before { background: #8FE0B8; }
.dq-hero-inner h1 {
  color: #fff; font-size: clamp(30px, 4.6vw, 52px);
  line-height: 1.28; margin: 16px 0 18px; letter-spacing: .5px;
}
.dq-hl { position: relative; white-space: nowrap; }
.dq-hl::after {
  content: ""; position: absolute; left: 0; bottom: 8px; width: 100%; height: 14px;
  background: rgba(95,185,140,.45); z-index: -1; border-radius: 4px;
}
.dq-hero-inner > p { color: rgba(255,255,255,.9); max-width: 640px; line-height: 1.95; }
.dq-hero-cta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; }
.dq-hero-tags { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px; }
.dq-hero-tags li {
  padding: 5px 15px; border-radius: var(--r-pill); font-size: 13px;
  background: rgba(255,255,255,.12); border: 1px dashed rgba(255,255,255,.45); color: #EAF6EF;
}

/* ---------- ② 数据条 ---------- */
.dq-stats .stat-grid { padding: clamp(26px, 4vw, 42px) 0; }

/* ---------- ③ 痛点诊断卡 ---------- */
.dq-pain-card {
  background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--r-lg);
  padding: 28px 26px 26px; box-shadow: var(--sh-sm); position: relative; overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.dq-pain-card::before {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--c-green), var(--c-blue));
  transform: scaleX(.3); transform-origin: left; transition: transform .35s ease;
}
.dq-pain-card:hover { transform: translateY(-6px); box-shadow: var(--sh-md); }
.dq-pain-card:hover::before { transform: scaleX(1); }
.dq-pain-no {
  font-size: 34px; font-weight: 800; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px var(--c-blue);
}
.dq-pain-card h3 { font-size: 18px; margin: 14px 0 8px; }
.dq-pain-card p { font-size: 14.5px; color: var(--c-muted); }

/* ---------- ④ 阶梯栏目规划卡（签名） ---------- */
.dq-step-wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: start; }
.dq-step {
  background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--r-lg);
  padding: 24px 22px; box-shadow: var(--sh-sm); position: relative;
  transition: transform .3s ease, box-shadow .3s ease;
}
.dq-step:hover { transform: translateY(-6px); box-shadow: var(--sh-md); }
/* 阶梯：逐行错位下沉 */
.dq-step:nth-child(1) { margin-top: 0; }
.dq-step:nth-child(2) { margin-top: 34px; }
.dq-step:nth-child(3) { margin-top: 68px; }
.dq-step:nth-child(4) { margin-top: 102px; }
.dq-step-tag {
  display: inline-block; padding: 3px 12px; border-radius: var(--r-pill);
  background: var(--c-blue-soft); color: var(--c-blue-deep);
  font-size: 12.5px; font-weight: 700; margin-bottom: 12px;
}
.dq-step:nth-child(even) .dq-step-tag { background: var(--c-green-soft); color: var(--c-green-deep); }
.dq-step h3 { font-size: 16.5px; margin-bottom: 8px; }
.dq-step p { font-size: 14px; color: var(--c-muted); line-height: 1.8; }

/* ---------- ⑤ 我们怎么干 ---------- */
.dq-do-list { display: grid; gap: 12px; margin: 22px 0 26px; }
.dq-do-list li {
  position: relative; padding: 12px 16px 12px 42px;
  background: var(--c-mint); border-radius: var(--r-md); font-size: 15px; line-height: 1.75;
}
.dq-do-list li::before {
  content: ""; position: absolute; left: 15px; top: 19px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--c-green); box-shadow: 0 0 0 4px rgba(95,185,140,.18);
}
.dq-do-list li:nth-child(even) { background: var(--c-sky); }
.dq-do-list li:nth-child(even)::before { background: var(--c-blue); box-shadow: 0 0 0 4px rgba(111,168,220,.18); }

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

/* ---------- ⑦ FAQ 链接配色 ---------- */
.faq-a a { color: var(--c-blue-deep); text-decoration: underline; }

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
  .dq-hero { min-height: 78vh; clip-path: polygon(0 0, 100% 0, 100% 94%, 0 100%); }
  .dq-hero-inner { padding: 96px 0 90px; }
}
@media (max-width: 900px) {
  .dq-step-wrap { grid-template-columns: 1fr 1fr; gap: 16px; }
  .dq-step:nth-child(n) { margin-top: 0; }
}
@media (max-width: 560px) {
  .dq-step-wrap { grid-template-columns: 1fr; }
  .dq-hero-inner h1 br { display: none; }
}
