/* ============================================================
   河北内卷网 PC 站样式 V4（对标河北工厂网 · 黑白红克制工业风）
   白底 · 黑字 · 红强调 #D64A15 · 扁平极简 · 高信息密度
   ============================================================ */
:root {
  --accent: #d64a15;          /* 强调红（河北同款） */
  --accent-dark: #b33a0e;
  --accent-soft: #fdf1ec;
  --text: #111111;
  --text-2: #555555;
  --text-3: #888888;
  --text-4: #aaaaaa;
  --bg: #ffffff;
  --bg-soft: #f7f7f8;
  --line: #e8e8e8;
  --radius: 8px;
  --shadow: 0 1px 2px rgba(0,0,0,.04);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text); background: #fff; font-size: 14.5px; line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }

/* ===== 按钮 ===== */
.hn-btn {
  display: inline-block; border: 1px solid var(--line); background: #fff; color: var(--text);
  padding: 9px 20px; border-radius: 6px; font-size: 14px; transition: all .18s; font-weight: 500;
}
.hn-btn:hover { border-color: var(--accent); color: var(--accent); }
.hn-btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.hn-btn-primary:hover { background: var(--accent-dark); color: #fff; border-color: var(--accent-dark); }
.hn-btn-outline { border-color: var(--accent); color: var(--accent); background: transparent; }
.hn-btn-outline:hover { background: var(--accent); color: #fff; }
.hn-btn-sm { padding: 6px 14px; font-size: 13px; border-radius: 5px; }
.hn-btn-lg { padding: 13px 34px; font-size: 15px; border-radius: 7px; }

/* ===== 顶部导航（河北式：logo + 右按钮，无水平菜单） ===== */
.hn-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.hn-header-inner { max-width: 1280px; margin: 0 auto; padding: 0 32px; height: 64px; display: flex; align-items: center; gap: 24px; }
.hn-logo { display: flex; align-items: center; gap: 10px; }
.hn-logo-img { height: 40px; width: auto; max-width: 200px; object-fit: contain; display: block; background: #fff; border: 1px solid #e6e6e6; border-radius: 8px; padding: 4px 6px; box-shadow: none; }
.hn-logo-mark {
  width: 38px; height: 38px; border-radius: 8px; background: var(--accent);
  color: #fff; font-size: 21px; font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.hn-logo-text { font-size: 19px; font-weight: 800; letter-spacing: .3px; line-height: 1.1; }
.hn-logo-text em { display: block; font-style: normal; font-size: 9.5px; color: var(--text-4); letter-spacing: 1.6px; font-weight: 600; }
.hn-nav { display: flex; gap: 4px; flex: 1; }
.hn-nav a { padding: 7px 13px; border-radius: 6px; color: var(--text-2); font-size: 14.5px; font-weight: 500; }
.hn-nav a:hover { color: var(--accent); background: var(--bg-soft); }
.hn-nav a.active { color: var(--accent); font-weight: 700; background: var(--accent-soft); }
.hn-header-right { display: flex; gap: 10px; margin-left: auto; }

/* ===== Hero（河北式：纯背景 + 极简内容，不抢戏） ===== */
.hn-hero { position: relative; color: #fff; padding: 0; overflow: hidden; height: 620px; display: flex; align-items: flex-end; }
.hn-hero-bg { position: absolute; inset: 0; z-index: 0; background: var(--hn-hero-bg, url('../img/hero-bg.jpg')) center 35% / cover no-repeat; }
.hn-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.1) 0%, rgba(0,0,0,.25) 100%); }
.hn-hero .container { position: relative; z-index: 2; padding-bottom: 46px; }
.hn-hero-kicker {
  display: inline-block; font-size: 12.5px; font-weight: 600; letter-spacing: 2px;
  color: #fff; background: rgba(214,74,21,.92); padding: 5px 14px; border-radius: 4px; margin-bottom: 14px;
}
.hn-hero h1 { font-size: 40px; font-weight: 800; letter-spacing: .5px; line-height: 1.2; text-shadow: 0 2px 18px rgba(0,0,0,.4); }
.hn-hero h1 .accent { color: #ff9a63; }
.hn-hero-sub { margin-top: 10px; font-size: 15px; color: #f0f0f0; max-width: 680px; text-shadow: 0 1px 10px rgba(0,0,0,.5); }
.hn-hero-search {
  margin-top: 22px; display: flex; max-width: 720px; background: #fff; border-radius: 8px; overflow: hidden;
  box-shadow: 0 10px 34px rgba(0,0,0,.3);
}
.hn-hero-search input { flex: 1; border: none; outline: none; padding: 15px 20px; font-size: 15px; color: var(--text); }
.hn-hero-search input::placeholder { color: #999; }
.hn-hero-search button {
  border: none; background: var(--accent); color: #fff; padding: 0 36px; font-size: 15px; font-weight: 600;
  display: inline-flex; align-items: center; transition: all .18s;
}
.hn-hero-search button:hover { background: var(--accent-dark); }
.hn-hot-tags { margin-top: 16px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; }
.hn-hot-tags .lab { color: #dcdcdc; font-weight: 600; }
.hn-hot-tags a { color: #f5f5f5; border: 1px solid rgba(255,255,255,.35); padding: 3px 12px; border-radius: 14px; background: rgba(255,255,255,.1); transition: all .15s; }
.hn-hot-tags a:hover { background: rgba(255,255,255,.25); color: #fff; }

/* ===== 图标 ===== */
.hn-ic { display: inline-flex; align-items: center; justify-content: center; line-height: 0; vertical-align: middle; }
.hn-ic svg { width: 100%; height: 100%; }
.hn-arrow { display: inline-flex; }
.hn-arrow svg { width: 16px; height: 16px; }
.btn-ic { display: inline-flex; width: 16px; height: 16px; margin-right: 7px; vertical-align: -2px; }
.btn-ic svg { width: 100%; height: 100%; }

/* ===== 首页内容块（河北式：通栏 + 高密度） ===== */
.hn-section { padding: 44px 0 8px; }
.hn-block-title { font-size: 21px; font-weight: 800; margin-bottom: 14px; position: relative; }
.hn-block-title a { float: right; font-size: 13px; font-weight: 500; color: var(--text-3); padding-top: 7px; }
.hn-block-title a:hover { color: var(--accent); }
.hn-sec-head { margin-bottom: 22px; }
.hn-sec-head h2 { font-size: 24px; font-weight: 800; letter-spacing: .3px; }
.hn-sec-head p { color: var(--text-2); margin-top: 6px; font-size: 14.5px; max-width: 860px; line-height: 1.75; }
.hn-sec-more { color: var(--accent); font-size: 13.5px; font-weight: 600; }
.hn-sec-more:hover { text-decoration: underline; }

/* ===== 产业概况（左标题右正文） ===== */
.hn-overview { display: grid; grid-template-columns: 360px 1fr; gap: 40px; padding: 40px 0 34px; border-bottom: 1px solid var(--line); }
.hn-overview .left h2 { font-size: 27px; font-weight: 800; line-height: 1.3; }
.hn-overview .left p { color: var(--text-3); font-size: 13.5px; margin-top: 10px; }
.hn-overview .right { font-size: 14.5px; color: var(--text-2); line-height: 1.9; }
.hn-overview .right p + p { margin-top: 12px; }
.hn-overview .links { margin-top: 16px; }
.hn-overview .links a { color: var(--accent); font-size: 14px; font-weight: 600; margin-right: 22px; }
.hn-overview .links a:hover { text-decoration: underline; }

/* ===== 数据墙（河北式：数字大 + 灰标签 + 来源说明） ===== */
.hn-stats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 8px; margin: 34px 0 8px; overflow: hidden; }
.hn-stat { padding: 26px 18px 22px; text-align: center; border-right: 1px solid var(--line); background: #fff; transition: background .15s; }
.hn-stat:last-child { border-right: none; }
.hn-stat:hover { background: var(--bg-soft); }
.hn-stat b { display: block; font-size: 34px; font-weight: 800; line-height: 1.15; color: var(--text); }
.hn-stat span { font-size: 12.5px; color: var(--text-3); }
.hn-stat .src { display: block; font-size: 11.5px; color: var(--text-4); margin-top: 8px; }
.hn-data-src { font-size: 12px; color: var(--text-4); margin-top: 12px; line-height: 1.7; }

/* ===== 产业地图（河北式：左地图右区县列表） ===== */
.hn-map-wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; }
.hn-map-side { padding: 18px; }
.hn-map-districts { padding: 26px 30px; border-left: 1px solid var(--line); background: var(--bg-soft); min-height: 460px; }
.hn-map-districts h4 { font-size: 16px; margin-bottom: 14px; color: var(--text); font-weight: 700; }
.hn-dlist { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.hn-ditem {
  display: flex; justify-content: space-between; align-items: center; padding: 8px 4px;
  border-bottom: 1px solid #eee; font-size: 13.5px; transition: all .12s;
}
.hn-ditem:hover { color: var(--accent); }
.hn-ditem b { color: var(--text); font-weight: 600; }
.hn-ditem span { color: var(--text-3); font-size: 12.5px; }
.hn-ditem:hover b, .hn-ditem:hover span { color: var(--accent); }

/* ===== 最新供求 & 入驻工厂（极简列表） ===== */
.hn-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.hn-info-item { padding: 12px 0; border-bottom: 1px solid #f0f0f0; }
.hn-info-item:last-child { border-bottom: none; }
.hn-info-top { display: flex; align-items: center; gap: 8px; }
.hn-info-top a { font-size: 14.5px; font-weight: 600; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hn-info-top a:hover { color: var(--accent); }
.hn-itag { flex-shrink: 0; font-size: 11px; font-weight: 600; color: var(--accent); background: var(--accent-soft); border-radius: 4px; padding: 1px 7px; }
.hn-flag { flex-shrink: 0; font-size: 10.5px; font-weight: 700; color: var(--accent); border: 1px solid rgba(214,74,21,.3); border-radius: 4px; padding: 0 6px; }
.hn-flag-ok { color: #1a7f37; background: #f0faf3; border-color: rgba(26,127,55,.3); }
.hn-info-meta { display: flex; gap: 14px; font-size: 12px; color: var(--text-4); margin-top: 4px; }
.hn-price { font-size: 14px; font-weight: 800; color: var(--accent); }
.hn-shop-item { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid #f0f0f0; align-items: flex-start; }
.hn-shop-item:last-child { border-bottom: none; }
.hn-slogo { width: 48px; height: 48px; border-radius: 8px; flex-shrink: 0; overflow: hidden; background: var(--bg-soft); display: flex; align-items: center; justify-content: center; }
.hn-slogo img { width: 100%; height: 100%; object-fit: cover; }
.hn-slogo-txt { font-size: 20px; font-weight: 800; color: var(--accent); }
.hn-sbody { flex: 1; min-width: 0; }
.hn-sname { display: flex; align-items: center; gap: 7px; }
.hn-sname a { font-size: 14.5px; font-weight: 700; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hn-sname a:hover { color: var(--accent); }
.hn-smeta { display: flex; flex-wrap: wrap; gap: 12px; font-size: 12px; color: var(--text-3); margin-top: 3px; }
.hn-sphone { font-size: 13.5px; font-weight: 700; color: var(--text-2); margin-top: 3px; }

/* ===== 按产品找（河北式：标签流） ===== */
.hn-products { display: flex; flex-wrap: wrap; gap: 0; border-top: 1px solid var(--line); }
.hn-prod {
  display: flex; align-items: baseline; gap: 6px; width: 16.666%; padding: 12px 10px;
  border-bottom: 1px solid #f0f0f0; font-size: 14px; color: var(--text-2); transition: all .12s;
}
.hn-prod:hover { color: var(--accent); background: var(--bg-soft); }
.hn-prod span { font-weight: 500; }
.hn-prod b { font-size: 12px; color: var(--text-4); font-weight: 500; }

/* ===== 重点产业集群（河北式：文字列表） ===== */
.hn-clusters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; }
.hn-cluster { padding: 20px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .15s; }
.hn-cluster:nth-child(3n) { border-right: none; }
.hn-cluster:nth-last-child(-n+3) { border-bottom: none; }
.hn-cluster:hover { background: var(--bg-soft); }
.hn-cluster .tag { font-size: 11.5px; font-weight: 600; color: var(--accent); background: var(--accent-soft); border-radius: 4px; padding: 2px 8px; }
.hn-cluster h3 { font-size: 17px; font-weight: 700; margin: 9px 0 2px; }
.hn-cluster .where { font-size: 12.5px; color: var(--text-4); margin-bottom: 8px; }
.hn-cluster p { font-size: 13px; color: var(--text-2); line-height: 1.7; }
.hn-cluster .meta { margin-top: 10px; font-size: 12.5px; color: var(--text-3); display: flex; align-items: baseline; gap: 5px; flex-wrap: wrap; }
.hn-cluster .meta b { color: var(--accent); font-size: 14px; }

/* ===== 采购对接 / 企业入驻（河北式：标语 + 承诺列表） ===== */
.hn-cta { padding: 40px 0; border-top: 1px solid var(--line); }
.hn-cta h2 { font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.hn-cta p { color: var(--text-2); font-size: 14px; }
.hn-commit { list-style: none; margin-top: 16px; }
.hn-commit li { font-size: 14px; color: var(--text-2); padding: 7px 0 7px 22px; position: relative; }
.hn-commit li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* ===== 通用卡片/列表（内页） ===== */
.hn-panel { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 24px 28px; }
.hn-list { list-style: none; }
.hn-list li { padding: 13px 0; border-bottom: 1px solid var(--line); }
.hn-list li:last-child { border-bottom: none; }

/* 工厂卡片（内页 · 扁平） */
.hn-factory-card { display: flex; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.hn-factory-card:last-child { border-bottom: none; }
.hn-factory-logo { width: 82px; height: 82px; border-radius: 8px; background: var(--bg-soft); flex-shrink: 0; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.hn-factory-logo img { width: 100%; height: 100%; object-fit: cover; }
.hn-factory-body { flex: 1; min-width: 0; }
.hn-factory-body h3 { font-size: 17px; font-weight: 700; }
.hn-factory-body h3 a:hover { color: var(--accent); }
.hn-factory-meta { font-size: 12.5px; color: var(--text-3); margin-top: 4px; }
.hn-factory-tags { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px; }
.hn-factory-tags span { font-size: 12px; font-weight: 500; background: var(--accent-soft); color: var(--accent); border-radius: 4px; padding: 2px 9px; }
.hn-factory-right { text-align: right; flex-shrink: 0; }
.hn-factory-right .phone { font-size: 16px; color: var(--accent); font-weight: 800; letter-spacing: .5px; }

/* ===== 筛选栏 ===== */
.hn-filter { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 16px 20px; margin-bottom: 22px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hn-filter input { border: 1px solid var(--line); border-radius: 6px; padding: 9px 14px; font-size: 14px; width: 240px; outline: none; }
.hn-filter input:focus { border-color: var(--accent); }
.hn-filter select { border: 1px solid var(--line); border-radius: 6px; padding: 9px 12px; font-size: 14px; outline: none; background: #fff; }

/* ===== 表单 ===== */
.hn-form { max-width: 720px; }
.hn-form .row { margin-bottom: 18px; }
.hn-form label { display: block; font-size: 13.5px; font-weight: 600; color: var(--text-2); margin-bottom: 6px; }
.hn-form input[type=text], .hn-form input[type=tel], .hn-form input[type=number], .hn-form textarea, .hn-form select {
  width: 100%; border: 1px solid var(--line); border-radius: 6px; padding: 11px 14px; font-size: 14.5px;
  outline: none; background: #fff; font-family: inherit; transition: all .18s;
}
.hn-form input:focus, .hn-form textarea:focus, .hn-form select:focus { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(214,74,21,.08); }
.hn-form textarea { min-height: 100px; resize: vertical; }

/* ===== 空状态 ===== */
.hn-empty { text-align: center; padding: 56px 20px; color: var(--text-3); }
.hn-empty p { font-size: 14px; }

/* ===== 页面内页头 ===== */
.hn-page-head { padding: 44px 0 38px; border-bottom: 1px solid var(--line); }
.hn-page-head h1 { font-size: 28px; font-weight: 800; }
.hn-page-head p { color: var(--text-2); margin-top: 8px; font-size: 14.5px; }
.hn-crumbs { font-size: 13px; color: var(--text-4); margin-bottom: 12px; }
.hn-crumbs a:hover { color: var(--accent); }

/* ===== 悬浮按钮（问问AI / 反馈） ===== */
.hn-float-btns { position: fixed; right: 22px; bottom: 24px; z-index: 99; display: flex; flex-direction: column; gap: 12px; }
.hn-float-btn {
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line);
  background: #fff; box-shadow: 0 6px 20px rgba(0,0,0,.12);
  display: flex; align-items: center; justify-content: center; color: var(--text-2);
  font-size: 12.5px; font-weight: 600; transition: all .18s; position: relative;
}
.hn-float-btn:hover { color: var(--accent); border-color: var(--accent); transform: translateY(-2px); }

/* ===== 页脚（河北式：简介 + 四列 + 备案） ===== */
.hn-footer { background: #111; color: #bbb; margin-top: 60px; }
.hn-footer-main { max-width: 1280px; margin: 0 auto; padding: 52px 32px 30px; }
.hn-footer-cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 30px; padding-bottom: 36px; }
.hn-footer-brand .name { color: #fff; font-size: 19px; font-weight: 800; }
.hn-footer-brand .desc { font-size: 13px; color: #999; margin-top: 12px; line-height: 1.8; }
.hn-footer-brand .motto { font-size: 12.5px; color: #777; margin-top: 10px; }
.hn-footer-col h4 { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 14px; }
.hn-footer-col a { display: block; color: #999; font-size: 13px; padding: 5px 0; transition: all .12s; }
.hn-footer-col a:hover { color: #fff; }
.hn-footer-copy { border-top: 1px solid #2a2a2a; padding-top: 22px; font-size: 12px; color: #777; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.hn-footer-copy a { color: #888; }
.hn-footer-copy a:hover { color: #fff; }

/* ===== 响应式 ===== */
@media (max-width: 1080px) {
  .hn-nav { display: none; }
  .hn-overview { grid-template-columns: 1fr; gap: 20px; }
  .hn-stats { grid-template-columns: repeat(3, 1fr); }
  .hn-stat:nth-child(3n) { border-right: none; }
  .hn-map-wrap { grid-template-columns: 1fr; }
  .hn-map-districts { border-left: none; border-top: 1px solid var(--line); }
  .hn-cols { grid-template-columns: 1fr; gap: 24px; }
  .hn-prod { width: 25%; }
  .hn-footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .container, .hn-header-inner, .hn-footer-main { padding-left: 16px; padding-right: 16px; }
  .hn-hero { height: 480px; }
  .hn-hero h1 { font-size: 28px; }
  .hn-hero-search { flex-direction: column; }
  .hn-hero-search button { padding: 13px; }
  .hn-stats { grid-template-columns: repeat(2, 1fr); }
  .hn-prod { width: 50%; }
  .hn-clusters { grid-template-columns: 1fr; }
  .hn-cluster:nth-child(n) { border-right: none; }
  .hn-dlist { grid-template-columns: 1fr; }
  .hn-footer-cols { grid-template-columns: 1fr; }
}
