/* ============================================================
 * 地金刚 · 全站品牌视觉元素（568886.com）
 * 由 header.php 全站引入；类名统一 djg- 前缀
 * ============================================================ */

/* 1. 导航 LOGO（白底横版） */
.hd .logo img.djg-logo { display: block; height: 54px; width: auto; max-width: 210px; object-fit: contain; }
.ft .logo img.djg-logo { display: block; width: 220px; max-width: 100%; height: auto; border-radius: 8px; }

/* 2. 内页品牌横幅 */
.djg-brandbar { max-width: 1280px; margin: 22px auto 6px; padding: 0 24px; }
.djg-brandbar a {
  display: block; border-radius: 12px; overflow: hidden;
  box-shadow: 0 12px 34px rgba(10, 31, 61, .16);
  transition: transform .45s cubic-bezier(.16,1,.3,1), box-shadow .45s;
}
.djg-brandbar a:hover { transform: translateY(-3px); box-shadow: 0 20px 46px rgba(10, 31, 61, .24); }
.djg-brandbar img { display: block; width: 100%; height: auto; }

/* 3. 全站页脚品牌条 */
.djg-tagline { width: 100%; line-height: 0; background: #8f1218; }
.djg-tagline img { display: block; width: 100%; height: auto; max-height: 60px; object-fit: cover; }

/* 4. 首页 · 品牌主张 */
.djg-brand {
  position: relative; padding: 78px 0; color: #fff; overflow: hidden;
  background: linear-gradient(118deg, #0a1f3d 0%, #123f80 55%, #8f1218 100%);
}
.djg-brand::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 18% 40%, rgba(255,255,255,.10), transparent 55%);
}
.djg-brand .wrap { position: relative; z-index: 1; max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.djg-brand-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 46px; align-items: center; }
.djg-brand-art img {
  display: block; width: 100%; max-width: 430px; margin: 0 auto;
  filter: drop-shadow(0 22px 44px rgba(0,0,0,.5));
}
.djg-kicker {
  display: inline-block; margin-bottom: 14px; font-size: 12px; font-weight: 700;
  letter-spacing: .18em; color: #ffd76a; text-transform: uppercase;
}
.djg-brand h2 { margin: 0 0 16px; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.28; font-weight: 800; letter-spacing: -.01em; }
.djg-brand h2 em { font-style: normal; color: #ffd76a; }
.djg-brand p { margin: 0 0 24px; max-width: 620px; font-size: 15px; line-height: 1.9; color: rgba(255,255,255,.86); }
.djg-acts { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.djg-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px;
  border-radius: 6px; background: #d81e26; color: #fff; font-size: 14px;
  font-weight: 700; text-decoration: none; transition: transform .3s ease, background .3s ease;
}
.djg-btn:hover { background: #a8141b; transform: translateY(-2px); }
.djg-btn.ghost { background: transparent; border: 1px solid rgba(255,255,255,.55); }
.djg-btn.ghost:hover { background: rgba(255,255,255,.14); }
.djg-feat-img { border-radius: 10px; overflow: hidden; border: 1px solid rgba(255,255,255,.20); background: rgba(255,255,255,.07); }
.djg-feat-img img { display: block; width: 100%; }

/* 5. 首页 · 产品体系与应用场景 */
.djg-systems { padding: 78px 0; background: #fff; border-top: 1px solid #e4e9f0; }
.djg-systems .wrap { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.djg-sys-head { text-align: center; margin-bottom: 36px; }
.djg-sys-head .djg-kicker { color: #d81e26; }
.djg-sys-head h2 { margin: 0 0 10px; font-size: clamp(26px, 3vw, 38px); font-weight: 800; color: #12233d; }
.djg-sys-head h2 em { font-style: normal; color: #d81e26; }
.djg-sys-head p { margin: 0 auto; max-width: 640px; font-size: 14px; line-height: 1.8; color: #5a6a80; }
.djg-sys-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.djg-sys-card {
  background: #f5f7fb; border: 1px solid #e4e9f0; border-radius: 14px; padding: 20px;
  transition: transform .4s cubic-bezier(.16,1,.3,1), box-shadow .4s;
}
.djg-sys-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(10,31,61,.12); }
.djg-sys-card h3 { margin: 0 0 14px; display: flex; align-items: center; gap: 9px; font-size: 17px; font-weight: 800; color: #12233d; }
.djg-sys-card h3::before { content: ""; width: 4px; height: 18px; border-radius: 2px; background: #d81e26; }
.djg-sys-card img { display: block; width: 100%; border-radius: 8px; }
.djg-sys-card a { display: inline-block; margin-top: 14px; font-size: 13px; font-weight: 700; color: #0c3c78; text-decoration: none; }
.djg-sys-card a:hover { color: #d81e26; }
.djg-newlink { margin-left: 12px; padding: 5px 11px; border-radius: 4px; background: #d81e26; color: #fff !important; font-size: 12px !important; }
.djg-newlink:hover { background: #a8141b; color: #fff !important; }
.djg-vi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; align-items: center; }
.djg-vi-row img { display: block; width: 100%; border-radius: 10px; border: 1px solid #e4e9f0; background: #fff; }

/* 响应式 */
@media (max-width: 900px) {
  .djg-brand { padding: 56px 0; }
  .djg-brand-grid { grid-template-columns: 1fr; gap: 30px; }
  .djg-brand-art img { max-width: 300px; }
  .djg-systems { padding: 56px 0; }
  .djg-sys-grid { grid-template-columns: 1fr; }
  .djg-vi-row { grid-template-columns: 1fr 1fr; }
  .djg-brandbar { margin: 16px auto 4px; padding: 0 16px; }
  .hd .logo img.djg-logo { height: 44px; max-width: 160px; }
}
@media (max-width: 480px) {
  .djg-vi-row { grid-template-columns: 1fr; }
  .djg-tagline img { max-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .djg-brandbar a, .djg-btn, .djg-sys-card { transition: none; }
}
