/* ============================================================
   coilingbinding.com 首页专用样式（参考 chinese-equipment.com 结构）
   配色：Navy #0F1D33 / Gold #D4A84B，与产品目录视觉规范一致
   前缀 hp-（homepage），避免与站内既有样式冲突
   ============================================================ */
.hp-wrap {
    --hp-navy: #0f1d33;
    --hp-navy-2: #16294a;
    --hp-navy-3: #1e3557;
    --hp-gold: #d4a84b;
    --hp-gold-soft: #f0dfb8;
    --hp-ink: #0f1720;
    --hp-muted: #64708a;
    --hp-line: #e3e8ef;
    --hp-bg-soft: #f5f7fa;
    --hp-radius: 14px;
    font-family: var(--jw-font, "Inter", "Segoe UI", system-ui, sans-serif);
    color: var(--hp-ink);
}
.hp-wrap * { box-sizing: border-box; }
.hp-container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }

/* ---------- 通用区块标题 ---------- */
.hp-sec { padding: 64px 0; }
.hp-sec--soft { background: var(--hp-bg-soft); }
.hp-sec--dark { background: var(--hp-navy); }
.hp-eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
    color: #b8860b; margin-bottom: 12px;
}
.hp-eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--hp-gold); display: block; }
.hp-sec--dark .hp-eyebrow { color: var(--hp-gold); }
.hp-h2 {
    font-size: clamp(22px, 2.6vw, 34px); font-weight: 700; line-height: 1.22;
    letter-spacing: -.02em; margin: 0 0 14px; color: var(--hp-ink);
}
.hp-sec--dark .hp-h2 { color: #fff; }
.hp-sub { font-size: 15.5px; line-height: 1.7; color: var(--hp-muted); margin: 0; max-width: 760px; }
.hp-sec--dark .hp-sub { color: #a9b6cc; }
.hp-sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 34px; }

/* ---------- Hero ---------- */
.hp-hero {
    position: relative; overflow: hidden;
    background:
        radial-gradient(1000px 480px at 88% 6%, rgba(212,168,75,.16), transparent 62%),
        linear-gradient(160deg, #0d1a2e 0%, var(--hp-navy) 46%, #14243f 100%);
    border-bottom: 3px solid var(--hp-gold);
}
.hp-hero::after {
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35;
    background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 46px 46px;
}
.hp-hero-in { position: relative; z-index: 1; max-width: 1280px; margin: 0 auto; padding: 66px 20px 54px; }
.hp-hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 48px; align-items: center; }
.hp-badge {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 8px 16px; border: 1px solid rgba(212,168,75,.45); border-radius: 999px;
    background: rgba(212,168,75,.09); color: var(--hp-gold-soft);
    font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
    margin-bottom: 22px;
}
.hp-h1 {
    font-size: clamp(30px, 4.4vw, 58px); font-weight: 800; line-height: 1.06;
    letter-spacing: -.03em; color: #fff; margin: 0 0 20px;
}
.hp-h1 em { font-style: normal; color: var(--hp-gold); display: block; }
.hp-hero-sub { font-size: 16px; line-height: 1.75; color: #b3c0d6; margin: 0 0 30px; max-width: 620px; }
.hp-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }
.hp-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    min-height: 50px; padding: 0 28px; border-radius: 8px;
    font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer;
    border: 1px solid transparent; transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.hp-btn--gold { background: var(--hp-gold); color: #10192b; box-shadow: 0 6px 20px rgba(212,168,75,.28); }
.hp-btn--gold:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(212,168,75,.36); }
.hp-btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.34); }
.hp-btn--ghost:hover { background: rgba(255,255,255,.09); }
.hp-btn--navy { background: var(--hp-navy); color: #fff; }
.hp-btn--navy:hover { background: var(--hp-navy-3); }
.hp-btn--outline { background: #fff; color: var(--hp-navy); border-color: var(--hp-line); }
.hp-btn--outline:hover { border-color: var(--hp-gold); color: #8a6a1c; }

.hp-hero-stats { display: flex; flex-wrap: wrap; gap: 34px; margin: 0; padding: 0; }
.hp-hero-stats .hp-hs-num { font-size: 26px; font-weight: 800; color: var(--hp-gold); line-height: 1.1; }
.hp-hero-stats .hp-hs-lab { font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: #8b9ab4; margin-top: 5px; }

/* Hero 右侧视觉卡 */
.hp-hero-visual { position: relative; }
.hp-hero-card {
    background: #fff; border-radius: var(--hp-radius); padding: 14px;
    box-shadow: 0 26px 60px rgba(4,12,26,.45);
}
.hp-hero-card img { display: block; width: 100%; height: 320px; object-fit: cover; border-radius: 9px; }
.hp-hero-chip {
    position: absolute; left: -22px; bottom: 34px;
    display: flex; align-items: center; gap: 11px;
    background: #fff; border-radius: 11px; padding: 12px 17px;
    box-shadow: 0 14px 34px rgba(4,12,26,.3);
}
.hp-hero-chip .hp-hc-ico {
    width: 38px; height: 38px; border-radius: 9px; flex: none;
    display: flex; align-items: center; justify-content: center;
    background: rgba(212,168,75,.16); color: #8a6a1c; font-weight: 800; font-size: 12px;
}
.hp-hero-chip b { display: block; font-size: 13.5px; color: var(--hp-ink); }
.hp-hero-chip span { display: block; font-size: 11.5px; color: var(--hp-muted); }

/* ---------- 信任条 ---------- */
.hp-trust { background: #fff; border-bottom: 1px solid var(--hp-line); }
.hp-trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.hp-trust-item { padding: 30px 26px; border-right: 1px solid var(--hp-line); }
.hp-trust-item:last-child { border-right: 0; }
.hp-trust-ico {
    width: 42px; height: 42px; border-radius: 10px; margin-bottom: 14px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(212,168,75,.14); color: #8a6a1c; font-size: 19px;
}
.hp-trust-item h3 { font-size: 15px; font-weight: 700; margin: 0 0 7px; color: var(--hp-ink); }
.hp-trust-item p { font-size: 13.5px; line-height: 1.65; color: var(--hp-muted); margin: 0; }

/* ---------- 分类网格 ---------- */
.hp-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.hp-cat {
    display: flex; flex-direction: column; background: #fff;
    border: 1px solid var(--hp-line); border-radius: var(--hp-radius); overflow: hidden;
    text-decoration: none; transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}
.hp-cat:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(15,29,51,.12); border-color: rgba(212,168,75,.5); }
.hp-cat-media { position: relative; background: #f1f4f8; }
.hp-cat-media img { display: block; width: 100%; height: 190px; object-fit: contain; padding: 12px; }
.hp-cat-count {
    position: absolute; top: 12px; right: 12px;
    background: var(--hp-navy); color: #fff; font-size: 11px; font-weight: 600;
    padding: 5px 11px; border-radius: 999px;
}
.hp-cat-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.hp-cat-body h3 { font-size: 15px; font-weight: 700; line-height: 1.4; margin: 0 0 8px; color: var(--hp-ink); }
.hp-cat-body p { font-size: 13px; line-height: 1.6; color: var(--hp-muted); margin: 0 0 14px; flex: 1; }
.hp-cat-link { font-size: 12.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #b8860b; }
.hp-cat:hover .hp-cat-link { color: var(--hp-navy); }

/* ---------- 深色数据带 ---------- */
.hp-band-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 30px; }
.hp-band-item {
    background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--hp-radius); padding: 28px 22px; text-align: center;
}
.hp-band-item .hp-bi-num { font-size: clamp(26px, 3vw, 38px); font-weight: 800; color: var(--hp-gold); line-height: 1.1; }
.hp-band-item .hp-bi-lab { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: #9fb0c9; margin-top: 8px; }

/* ---------- 产品卡片 ---------- */
.hp-prods { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.hp-prod {
    display: flex; flex-direction: column; background: #fff;
    border: 1px solid var(--hp-line); border-radius: var(--hp-radius); overflow: hidden;
    text-decoration: none; transition: box-shadow .18s ease, transform .18s ease;
}
.hp-prod:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(15,29,51,.12); }
.hp-prod img { display: block; width: 100%; height: 200px; object-fit: contain; background: #f1f4f8; padding: 12px; }
.hp-prod-body { padding: 15px 17px 18px; display: flex; flex-direction: column; flex: 1; }
.hp-prod-model { font-size: 11.5px; font-weight: 600; letter-spacing: .07em; color: #b8860b; text-transform: uppercase; margin-bottom: 7px; }
.hp-prod-body h3 { font-size: 14.5px; font-weight: 600; line-height: 1.45; margin: 0 0 14px; color: var(--hp-ink); flex: 1; }
.hp-prod-btn {
    display: block; text-align: center; padding: 10px; border-radius: 7px;
    background: var(--hp-navy); color: #fff; font-size: 13px; font-weight: 600;
}
.hp-prod:hover .hp-prod-btn { background: var(--hp-navy-3); }

/* ---------- 为什么选择（双列） ---------- */
.hp-why-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 46px; align-items: center; }
.hp-check { list-style: none; margin: 26px 0 30px; padding: 0; }
.hp-check li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 15px; font-size: 14.5px; line-height: 1.6; color: #33404d; }
.hp-check li::before {
    content: "✓"; flex: none; width: 22px; height: 22px; border-radius: 50%;
    background: rgba(212,168,75,.18); color: #8a6a1c; font-size: 12px; font-weight: 700;
    display: flex; align-items: center; justify-content: center; margin-top: 1px;
}
.hp-svc { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.hp-svc li {
    background: #fff; border: 1px solid var(--hp-line); border-radius: var(--hp-radius);
    padding: 20px 22px; display: flex; gap: 15px; align-items: flex-start;
}
.hp-svc-ico {
    width: 40px; height: 40px; flex: none; border-radius: 10px;
    display: flex; align-items: center; justify-content: center; font-size: 17px;
    background: rgba(212,168,75,.14); color: #8a6a1c;
}
.hp-svc b { display: block; font-size: 14.5px; margin-bottom: 5px; color: var(--hp-ink); }
.hp-svc span { font-size: 13px; line-height: 1.6; color: var(--hp-muted); }

/* ---------- 流程 4 步 ---------- */
.hp-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.hp-step { position: relative; background: #fff; border: 1px solid var(--hp-line); border-radius: var(--hp-radius); padding: 26px 22px; }
.hp-step-num {
    width: 34px; height: 34px; border-radius: 9px; margin-bottom: 15px;
    background: var(--hp-navy); color: var(--hp-gold);
    display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px;
}
.hp-step h3 { font-size: 15px; font-weight: 700; margin: 0 0 9px; color: var(--hp-ink); }
.hp-step p { font-size: 13.5px; line-height: 1.65; color: var(--hp-muted); margin: 0; }

/* ---------- 收尾 CTA ---------- */
.hp-cta {
    position: relative; overflow: hidden; text-align: center;
    background:
        radial-gradient(760px 320px at 50% 0%, rgba(212,168,75,.2), transparent 68%),
        linear-gradient(150deg, var(--hp-navy) 0%, #16294a 100%);
    border-radius: var(--hp-radius); padding: 54px 30px;
}
.hp-cta h2 { font-size: clamp(21px, 2.6vw, 32px); font-weight: 700; color: #fff; margin: 0 0 14px; letter-spacing: -.02em; }
.hp-cta p { font-size: 15px; line-height: 1.7; color: #b3c0d6; margin: 0 auto 28px; max-width: 660px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
    .hp-cats, .hp-prods, .hp-steps { grid-template-columns: repeat(3, 1fr); }
    .hp-band-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
    .hp-hero-grid { grid-template-columns: 1fr; gap: 34px; }
    .hp-hero-visual { max-width: 560px; }
    .hp-hero-chip { left: 14px; bottom: 14px; }
    .hp-why-grid { grid-template-columns: 1fr; gap: 30px; }
    .hp-trust-grid { grid-template-columns: repeat(2, 1fr); }
    .hp-trust-item { border-right: 0; border-bottom: 1px solid var(--hp-line); }
}
@media (max-width: 640px) {
    .hp-sec { padding: 44px 0; }
    .hp-hero-in { padding: 44px 16px 40px; }
    .hp-cats, .hp-prods, .hp-steps { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .hp-cat-media img { height: 140px; }
    .hp-prod img { height: 150px; }
    .hp-hero-stats { gap: 22px; }
    .hp-btn { width: 100%; }
}
@media (max-width: 420px) {
    .hp-cats, .hp-prods, .hp-steps, .hp-band-grid { grid-template-columns: 1fr; }
}

/* ---------- 图片缺失占位 ---------- */
.hp-ph {
    height: 190px; display: flex; align-items: center; justify-content: center;
    background: #eef2f7; color: #b9c4d2; font-size: 30px; font-weight: 800; letter-spacing: .06em;
    text-transform: uppercase; user-select: none;
}
.hp-prod .hp-ph { height: 200px; }
@media (max-width: 640px) { .hp-ph, .hp-prod .hp-ph { height: 140px; font-size: 24px; } }
