/* ══ KBK 独立站 · 前台样式（工业风：深墨蓝 + 安全橙）══ */
:root {
  --brand: #ff6a00; --brand-dark: #e25a00; --brand-soft: #fff3e9;
  --ink: #0e1a26; --ink-2: #1d2b3a; --text: #22303c; --muted: #6b7a8a;
  --line: #e2e8ef; --bg: #fff; --soft: #f5f7fa;
  --r: 10px; --r-lg: 16px;
  --shadow: 0 1px 2px rgba(14,26,38,.06), 0 8px 24px rgba(14,26,38,.06);
  --maxw: 1180px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.25; margin: 0 0 12px; font-weight: 800; letter-spacing: -.01em; word-break: break-word; }
h1 { font-size: 34px; } h2 { font-size: 26px; } h3 { font-size: 17px; }
p { margin: 0 0 12px; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 18px; }
.narrow { max-width: 820px; }
.sec { padding: 62px 0; }
.sec-soft { background: var(--soft); }
.sec-head { max-width: 720px; margin-bottom: 28px; }
.sec-head h2 { margin-bottom: 8px; }
.sec-head p { color: var(--muted); margin: 0; }
.sec-more { margin-top: 26px; }
.note { color: var(--muted); font-size: 14px; margin-top: 18px; }
.empty, .dim { color: var(--muted); }

/* ── 按钮 ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  background: var(--brand); color: #fff; font-weight: 700; font-size: 15px;
  padding: 11px 20px; border-radius: 8px; border: 0; cursor: pointer;
  transition: background .15s, transform .15s, box-shadow .15s; }
.btn:hover { background: var(--brand-dark); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(255,106,0,.3); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { background: #fff; border-color: var(--ink); box-shadow: none; }
.btn-lg { padding: 14px 26px; font-size: 16px; }
.btn-sm { padding: 8px 14px; font-size: 14px; }

/* ── 页眉 ── */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94);
  backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid var(--line); }
.hdr-in { display: flex; align-items: center; gap: 14px; height: 66px; }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark { background: var(--ink); color: #fff; font-weight: 900; font-size: 15px; padding: 7px 9px; border-radius: 7px; }
.logo-txt { display: flex; flex-direction: column; line-height: 1.15; }
.logo-txt b { font-size: 16px; color: var(--ink); white-space: nowrap; }
.logo-txt i { font-style: normal; font-size: 11px; color: var(--muted); white-space: nowrap; }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { padding: 8px 9px; border-radius: 7px; font-size: 14px; font-weight: 600; color: var(--ink-2);
  white-space: nowrap; flex-shrink: 0; }
.nav a:hover, .nav a.on { background: var(--brand-soft); color: var(--brand-dark); }
.hdr-right { display: flex; align-items: center; gap: 10px; }
.hdr-tel { display: none; flex-direction: column; line-height: 1.2; text-align: right; }
.hdr-tel span { font-size: 11px; color: var(--muted); }
.hdr-tel b { font-size: 15px; color: var(--brand-dark); white-space: nowrap; }
.burger { display: none; background: none; border: 0; font-size: 22px; cursor: pointer; color: var(--ink); }

/* ── 首屏 ── */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .42; }
.hero::after { content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(10,18,26,.94) 0%, rgba(10,18,26,.78) 46%, rgba(10,18,26,.42) 100%); }
.hero-in { position: relative; z-index: 2; padding: 74px 18px 62px; }
.hero-txt { max-width: 660px; }
.hero-tag { display: inline-block; background: rgba(255,106,0,.16); color: #ffb27a; border: 1px solid rgba(255,106,0,.4);
  font-size: 12.5px; font-weight: 700; padding: 5px 12px; border-radius: 999px; margin-bottom: 16px; }
.hero h1 { color: #fff; font-size: 38px; margin-bottom: 14px; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero p { color: rgba(255,255,255,.82); font-size: 15.5px; }
.hero-act { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 26px; }
.hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,.35); }
.hero .btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.hero-trust { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.hero-trust li { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.13); border-radius: var(--r); padding: 10px 12px; }
.hero-trust b { display: block; color: var(--brand); font-size: 17px; }
.hero-trust span { font-size: 12.5px; color: rgba(255,255,255,.72); }

/* ── 内页页头 ── */
.phead { background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%); color: #fff; padding: 44px 0 34px; }
.phead h1 { color: #fff; font-size: 30px; margin-bottom: 8px; }
.phead p { color: rgba(255,255,255,.75); margin: 0 0 14px; max-width: 760px; }
.crumb { font-size: 12.5px; color: rgba(255,255,255,.55); }
.crumb a { color: rgba(255,255,255,.75); } .crumb a:hover { color: #fff; }
.crumb i { font-style: normal; margin: 0 6px; color: rgba(255,255,255,.35); }
.crumb span { color: rgba(255,255,255,.9); }

/* ── 分类卡 ── */
.cat-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.cat-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px;
  transition: border-color .15s, transform .15s, box-shadow .15s; }
.cat-card:hover { border-color: var(--brand); transform: translateY(-3px); box-shadow: var(--shadow); }
.cat-card h3 { margin-bottom: 6px; }
.cat-card p { color: var(--muted); font-size: 14px; margin-bottom: 10px; }
.cat-card span { color: var(--brand-dark); font-weight: 700; font-size: 14px; }

/* ── 产品卡 ── */
.pcard-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.pcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden; transition: transform .18s, box-shadow .18s, border-color .18s; }
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #cfd8e3; }
.pcard-img { aspect-ratio: 4/3; background: var(--soft); overflow: hidden; }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; }
.pcard-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.pcard-model { font-size: 12px; color: var(--brand-dark); font-weight: 700; margin-bottom: 4px; }
.pcard-body h3 { margin-bottom: 6px; }
.pcard-body p { color: var(--muted); font-size: 13.5px; flex: 1; margin-bottom: 12px; }
.pcard-more { color: var(--brand-dark); font-weight: 700; font-size: 14px; }

/* ── 选型三步 ── */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr; gap: 16px; counter-reset: s; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px 20px 16px; position: relative; }
.steps li b { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px;
  background: var(--brand); color: #fff; border-radius: 50%; font-size: 15px; margin-bottom: 10px; }
.steps li h3 { margin-bottom: 6px; }
.steps li p { color: var(--muted); font-size: 14px; margin: 0; }

/* ── 应用场景 ── */
.case-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.case-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.case-img { aspect-ratio: 16/10; background: var(--soft); }
.case-img img { width: 100%; height: 100%; object-fit: cover; }
.case-body { padding: 16px 18px 18px; }
.case-tag { font-size: 12px; color: var(--brand-dark); font-weight: 700; margin-bottom: 4px; }
.case-body h3 { margin-bottom: 6px; }
.case-body p { color: var(--muted); font-size: 13.5px; margin: 0; }

/* ── 为什么选我们 ── */
.why-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.why { background: var(--soft); border-radius: var(--r); padding: 18px; border-left: 3px solid var(--brand); }
.why b { display: block; color: var(--ink); font-size: 16px; margin-bottom: 4px; }
.why p { color: var(--muted); font-size: 13.5px; margin: 0; }

/* ── 文章卡 ── */
.art-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.art-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden; transition: transform .18s, box-shadow .18s; }
.art-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.art-img { aspect-ratio: 16/9; background: var(--soft); }
.art-img img { width: 100%; height: 100%; object-fit: cover; }
.art-card h3 { padding: 0; margin: 16px 18px 6px; font-size: 16.5px; }
.art-card p { margin: 0 18px 10px; color: var(--muted); font-size: 13.5px; }
.art-card span { margin: 0 18px 18px; color: var(--brand-dark); font-weight: 700; font-size: 13.5px; }
.art-grid-list .art-card { background: #fff; }

/* ── 询盘区块 ── */
.sec-inq { background: var(--ink); color: #fff; }
.inq-wrap { display: grid; grid-template-columns: 1fr; gap: 26px; }
.inq-side h2 { color: #fff; }
.inq-side p { color: rgba(255,255,255,.72); }
.inq-pts { list-style: none; padding: 0; margin: 16px 0; }
.inq-pts li { color: rgba(255,255,255,.85); font-size: 14px; padding-left: 22px; position: relative; margin-bottom: 6px; }
.inq-pts li::before { content: '✓'; position: absolute; left: 0; color: var(--brand); font-weight: 900; }
.inq-contact { color: rgba(255,255,255,.8); font-size: 14px; line-height: 2; }
.inq-contact b { color: var(--brand); font-size: 20px; }
.inq-box { background: #fff; border-radius: var(--r-lg); padding: 22px; }
.inq h3 { margin-bottom: 4px; }
.inq-sub { color: var(--muted); font-size: 13.5px; margin-bottom: 16px; }
.inq-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.inq label, .aform label { display: flex; flex-direction: column; gap: 5px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.inq input, .inq select, .inq textarea, .aform input, .aform select, .aform textarea {
  font-family: inherit; font-size: 15px; font-weight: 400; color: var(--text);
  padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 8px; background: #fff; width: 100%; }
.inq input:focus, .inq select:focus, .inq textarea:focus, .aform input:focus, .aform textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(255,106,0,.12); }
.inq-full { margin-top: 12px; }
.inq-act { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 16px; }
.inq-or { color: var(--muted); font-size: 13.5px; }
.inq-or a { color: var(--brand-dark); font-weight: 700; }
.inq-tip { color: var(--muted); font-size: 12px; margin: 10px 0 0; }
.req { color: var(--brand); }
.inq-done { text-align: center; padding: 30px 10px; }
.inq-done b { display: block; font-size: 20px; color: var(--ink); margin-bottom: 8px; }

/* ── 产品详情 ── */
.pdetail { display: grid; grid-template-columns: 1fr; gap: 26px; }
.pd-main { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--soft); }
.pd-main img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.pd-thumbs { display: flex; gap: 10px; margin-top: 10px; }
.pd-thumbs img { width: 78px; height: 78px; object-fit: cover; border-radius: 8px; border: 2px solid transparent; cursor: pointer; }
.pd-thumbs img.on { border-color: var(--brand); }
.pd-model { font-size: 13px; color: var(--brand-dark); font-weight: 700; }
.pd-info h2 { font-size: 26px; margin: 6px 0 8px; }
.pd-sum { color: var(--muted); }
.pd-feats { list-style: none; padding: 0; margin: 14px 0; }
.pd-feats li { padding-left: 22px; position: relative; margin-bottom: 7px; font-size: 14.5px; }
.pd-feats li::before { content: '▪'; position: absolute; left: 4px; color: var(--brand); font-weight: 900; }
.pd-buy { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0 10px; }
.pd-note { color: var(--muted); font-size: 13px; }

/* ── 表格 ── */
.spec { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.spec th, .spec td { text-align: left; padding: 12px 14px; font-size: 14.5px; border-bottom: 1px solid var(--line); }
.spec th { width: 34%; background: var(--soft); color: var(--ink-2); font-weight: 700; }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 0; }
.cmp { width: 100%; border-collapse: collapse; margin: 14px 0 22px; font-size: 14px; background: #fff; }
.cmp th, .cmp td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.cmp thead th { background: var(--soft); color: var(--ink); }
.cmp td:first-child, .cmp th:first-child { width: 22%; background: #fafbfd; font-weight: 600; }

/* ── 正文排版 ── */
.art-body h2 { font-size: 21px; margin: 26px 0 10px; padding-left: 12px; border-left: 4px solid var(--brand); }
.art-body h3 { font-size: 17px; margin: 18px 0 8px; }
.art-body p, .art-body li { font-size: 15.5px; }
.art-body ul, .art-body ol { padding-left: 22px; }
.art-body li { margin-bottom: 6px; }
.art-body table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 14px; }
.art-body th, .art-body td { border: 1px solid var(--line); padding: 9px 11px; text-align: left; }
.art-body thead th { background: var(--soft); }
.art-body .tip { background: var(--brand-soft); border-left: 3px solid var(--brand); padding: 12px 14px; border-radius: 0 8px 8px 0; }
details { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 12px 16px; margin-bottom: 10px; }
details summary { cursor: pointer; font-weight: 700; color: var(--ink); }
details p { margin: 10px 0 0; color: var(--muted); font-size: 14.5px; }
.poster { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff; }
.poster img { width: 100%; height: auto; }

/* ── 提示条 ── */
.band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  background: linear-gradient(100deg, var(--ink) 0%, var(--ink-2) 100%); color: #fff; border-radius: var(--r-lg); padding: 24px 26px; }
.band h3 { color: #fff; margin-bottom: 4px; }
.band p { color: rgba(255,255,255,.72); margin: 0; font-size: 14px; }
.band-act { display: flex; gap: 10px; flex-wrap: wrap; }
.band .btn-ghost { color: #fff; border-color: rgba(255,255,255,.3); }

/* ── 关于我们 / 联系 ── */
.about { display: grid; grid-template-columns: 1fr; gap: 26px; }
.about-card { background: var(--soft); border-radius: var(--r-lg); padding: 20px; margin-bottom: 16px; }
.about-card b { display: block; color: var(--ink); margin-bottom: 8px; }
.about-card p { color: var(--muted); font-size: 14px; margin-bottom: 12px; line-height: 2; }
.about-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.about-imgs img { border-radius: var(--r); aspect-ratio: 4/3; object-fit: cover; }
.contact-wrap { display: grid; grid-template-columns: 1fr; gap: 26px; }
.cc { background: var(--soft); border-radius: var(--r); padding: 16px 18px; margin-bottom: 12px; }
.cc b { display: block; color: var(--ink); font-size: 13px; margin-bottom: 4px; }
.cc p { margin: 0; color: var(--muted); font-size: 14.5px; }
.cc-big { color: var(--brand-dark) !important; font-size: 22px !important; font-weight: 800; }
.cc-tips ol { padding-left: 20px; margin: 8px 0 0; color: var(--text); font-size: 14px; }

/* ── 分类切换 ── */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.tabs a { padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); font-size: 14px;
  font-weight: 600; color: var(--ink-2); background: #fff; }
.tabs a:hover { border-color: var(--brand); color: var(--brand-dark); }
.tabs a.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.tabs-sm a { padding: 6px 12px; font-size: 13px; }

/* ── 页脚 ── */
.ftr { background: #0a141d; color: rgba(255,255,255,.72); padding: 46px 0 18px; }
.ftr-in { display: grid; grid-template-columns: 1fr; gap: 24px; }
.ftr-brand { color: #fff; font-size: 18px; font-weight: 800; margin-bottom: 6px; }
.ftr-slogan { font-size: 13.5px; }
.ftr-line { font-size: 13.5px; margin-bottom: 4px; }
.ftr-line b { color: var(--brand); font-size: 16px; }
.ftr h4 { color: #fff; font-size: 14px; margin-bottom: 10px; }
.ftr-col a { display: block; font-size: 13.5px; padding: 3px 0; }
.ftr-col a:hover { color: var(--brand); }
.ftr-cta { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r); padding: 16px; }
.ftr-cta p { font-size: 13px; }
.ftr-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 22px; padding-top: 16px; font-size: 12.5px; color: rgba(255,255,255,.5); }
.ftr-bottom a { color: rgba(255,255,255,.6); }
.ftr-icp-tip { color: rgba(255,255,255,.35); }
.float-tel { position: fixed; right: 16px; bottom: 18px; z-index: 60; width: 50px; height: 50px; border-radius: 50%;
  background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 22px; box-shadow: 0 8px 22px rgba(255,106,0,.45); }

/* ── 响应式 ── */
@media (min-width: 640px) {
  .cat-grid, .case-grid, .why-grid, .art-grid, .inq-grid { grid-template-columns: 1fr 1fr; }
  .pcard-grid { grid-template-columns: 1fr 1fr; }
  .hero-trust { grid-template-columns: repeat(4, 1fr); }
  .ftr-in { grid-template-columns: 1.6fr 1fr 1fr 1.5fr; }
}
@media (min-width: 900px) {
  h1 { font-size: 40px; } h2 { font-size: 28px; }
  .sec { padding: 74px 0; }
  .hero h1 { font-size: 46px; }
  .hero-in { padding: 96px 18px 86px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .pcard-grid, .art-grid, .why-grid { grid-template-columns: repeat(3, 1fr); }
  .case-grid { grid-template-columns: repeat(4, 1fr); }
  .inq-wrap { grid-template-columns: 1fr 1.15fr; gap: 46px; align-items: start; }
  .pdetail { grid-template-columns: 1.05fr 1fr; gap: 40px; }
  .about { grid-template-columns: 1.4fr 1fr; }
  .contact-wrap { grid-template-columns: 1fr 1.2fr; gap: 40px; }
}
@media (min-width: 1140px) { .hdr-tel { display: flex; } }
@media (max-width: 899px) {
  .nav { display: none; position: absolute; top: 66px; left: 0; right: 0; background: #fff;
    border-bottom: 1px solid var(--line); flex-direction: column; padding: 10px 14px 16px; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 11px 10px; border-bottom: 1px solid var(--soft); }
  .burger { display: block; }
  .hero h1 { font-size: 30px; }
  .phead h1 { font-size: 24px; }
}
