/* ==========================================================================
   gandehao.cn 化工行业网站建设页专属样式 · huagong-jianzhan.css
   依赖：global.css
   独有签名：居中 Hero + 左侧竖签 + 挂墙便签板
   ========================================================================== */

/* 居中 Hero + 竖签 */
.hg-hero { padding: clamp(80px, 10vw, 120px) 0 clamp(60px, 8vw, 90px); }
.hg-hero-inner { position: relative; max-width: 820px; text-align: center; }
.hg-crumb { justify-content: center; margin-bottom: 18px; }
.hg-hero h1 { font-size: clamp(30px, 4.4vw, 48px); margin: 14px 0 18px; line-height: 1.32; }
.hg-sub { color: var(--c-muted); font-size: 16.5px; line-height: 1.9; max-width: 640px; margin: 0 auto; }
.hg-hero-cta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.hg-hero-media { margin: clamp(40px, 6vw, 64px) auto 0; max-width: 960px; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-lg); transform: rotate(-1deg); }
.hg-hero-media img { width: 100%; height: 100%; object-fit: cover; }

/* 左侧竖签（签名装饰） */
.hg-side-note {
  position: absolute; left: -8px; top: 38%;
  writing-mode: vertical-rl; letter-spacing: 6px;
  padding: 16px 8px; border-radius: var(--r-pill);
  background: var(--c-blue-soft); color: var(--c-blue-deep);
  font-size: 13px; font-weight: 700;
}

/* 挂墙便签板（签名） */
.hg-wall { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.hg-note {
  background: var(--c-white); border: 1px solid var(--c-line);
  border-radius: var(--r-md); padding: 26px 22px 22px;
  box-shadow: var(--sh-sm); position: relative;
  transition: transform .3s ease, box-shadow .3s ease;
}
.hg-note::before {
  content: ""; position: absolute; top: -11px; left: 30px;
  width: 56px; height: 22px; background: var(--tape-g);
  transform: rotate(-4deg); border-radius: 3px;
}
.hg-note--blue::before { background: var(--tape-b); }
.hg-note h3 { font-size: 17.5px; margin-bottom: 8px; }
.hg-note p { font-size: 14px; color: var(--c-muted); line-height: 1.85; }
.hg-note:nth-child(1) { transform: rotate(-1deg); }
.hg-note:nth-child(2) { transform: rotate(1.2deg); }
.hg-note:nth-child(4) { transform: rotate(1deg); }
.hg-note:nth-child(5) { transform: rotate(-1.4deg); }
.hg-note:hover { transform: rotate(0) translateY(-6px); box-shadow: var(--sh-md); }
.hg-note--green { border-top: 4px solid var(--c-green-deep); }

/* 对比表 */
.compare-table-wrap { max-width: 900px; margin: 0 auto; box-shadow: var(--sh-sm); border-radius: var(--r-lg); overflow: hidden; }

/* 案例卡 */
.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: 170px; 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: 16px 20px 20px; }
.case-body h3 { font-size: 16px; margin-bottom: 4px; }
.case-body p { font-size: 13.5px; color: var(--c-muted); }

.hg-faq .faq-list { max-width: 860px; margin: 0 auto; display: grid; gap: 14px; }
.hg-faq .faq-a a { color: var(--c-blue-deep); text-decoration: underline; }

/* 响应式 */
@media (max-width: 900px) {
  .hg-wall { grid-template-columns: 1fr 1fr; }
  .hg-side-note { display: none; }
}
@media (max-width: 560px) {
  .hg-wall { grid-template-columns: 1fr; }
}
