/* ==========================================================================
   gandehao.cn 企业官网定制页专属样式 · qiye-guanwang.css
   依赖：global.css
   独有签名：全幅实景图浮层 Hero + 便签墙顾虑板 + 六大件图标卡
   ========================================================================== */

/* ---------- Hero：全幅图浮层 ---------- */
.qg-hero {
  min-height: 540px;
  display: flex; align-items: center;
  overflow: hidden;
  background: var(--c-ink);
}
.qg-hero-bg { position: absolute; inset: 0; z-index: 0; }
.qg-hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.qg-hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(34,56,58,.88) 0%, rgba(34,56,58,.62) 45%, rgba(34,56,58,.18) 78%, rgba(60,143,104,.12) 100%);
}
.qg-hero-inner { position: relative; z-index: 2; padding: 110px 0 130px; color: #fff; max-width: 760px; }
.qg-crumb { color: rgba(255,255,255,.7); margin-bottom: 22px; }
.qg-crumb a { color: #8FE0B8; }
.qg-hero-inner h1 {
  color: #fff; font-size: clamp(30px, 4.4vw, 50px); line-height: 1.32; letter-spacing: .5px;
  margin-bottom: 18px;
}
.qg-hero-inner h1 .text-green { color: #8FE0B8; }
.qg-hero-inner > p { color: rgba(255,255,255,.9); font-size: 17px; line-height: 1.9; max-width: 620px; }
.qg-hero-cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- 便签墙（签名布局） ---------- */
.qg-notes { background: var(--c-white); }
.note-wall {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px;
  margin-top: 10px;
}
.qg-note {
  position: relative;
  background: #FFFDF2;
  border-radius: 4px;
  padding: 26px 20px 22px;
  box-shadow: 0 6px 18px rgba(34,56,58,.10);
  transition: transform .3s ease, box-shadow .3s ease;
}
.qg-note::before {
  content: ""; position: absolute; top: -11px; left: 50%; transform: translateX(-50%) rotate(-3deg);
  width: 74px; height: 22px; background: var(--tape-g); border-radius: 2px;
}
.qg-note:nth-child(even)::before { background: var(--tape-b); transform: translateX(-50%) rotate(4deg); }
.qg-note:hover { transform: translateY(-8px) rotate(0deg) !important; box-shadow: var(--sh-lg); }
.qg-note-q { font-weight: 700; font-size: 15px; line-height: 1.7; margin-bottom: 10px; color: var(--c-ink); }
.qg-note-a { font-size: 13.5px; color: var(--c-muted); line-height: 1.8; }
.note-a { transform: rotate(-2.2deg); }
.note-b { transform: rotate(1.8deg); }
.note-c { transform: rotate(-1.4deg); }
.note-d { transform: rotate(2.6deg); }

/* ---------- 六大件 ---------- */
.qg-services .card { padding: 28px 24px; }
.qg-services .card:nth-child(odd) .card-icon { background: linear-gradient(135deg, var(--c-green-soft), var(--c-blue-soft)); color: var(--c-green-deep); }

/* ---------- 我们怎么干活 ---------- */
.qg-check { list-style: none; display: grid; gap: 12px; margin: 22px 0 26px; }
.qg-check li {
  position: relative; padding: 12px 18px 12px 44px;
  background: var(--c-green-soft); border-radius: var(--r-md);
  font-size: 15px; line-height: 1.7;
}
.qg-check li::before {
  content: ""; position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--c-green) 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/10px no-repeat;
}
.qg-check li:nth-child(even) { background: var(--c-blue-soft); }
.qg-check li:nth-child(even)::before { background-color: var(--c-blue); }

/* ---------- 案例卡（本页版式） ---------- */
.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: 210px; 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: 18px 22px 22px; }
.case-body h3 { font-size: 17px; margin-bottom: 6px; }
.case-body p { font-size: 14px; color: var(--c-muted); }
.idx-more { text-align: center; margin-top: 36px; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .qg-hero { min-height: 460px; }
  .qg-hero-inner { padding: 90px 0 110px; }
  .note-wall { grid-template-columns: 1fr 1fr; gap: 22px; }
}
@media (max-width: 560px) {
  .qg-hero { min-height: 420px; }
  .note-wall { grid-template-columns: 1fr; }
  .case-media { height: 180px; }
}
