/* ============================================================
   科森德官网 KOSEND.COM 样式表 V2
   设计风格：HEIDENHAIN 式德式精密工程 ——
   白底大量留白、近黑文字、标志性红色点缀、薄线分隔、克制排版
   ============================================================ */

:root {
  --red: #155dbd;          /* 品牌蓝（海德汉式，弃用红色） */
  --red-dark: #0e4a99;
  --red-soft: #eef4fb;     /* 品牌蓝浅底（层次辅助） */
  --red-line: #c5d7ef;     /* 品牌蓝浅描边 */
  --ink: #1a1a1a;          /* 近黑主文字 */
  --gray-700: #3d3d3d;     /* 正文 */
  --gray-600: #4f4f4f;     /* 次级强调（nav-right 等用） */
  --gray-500: #6f6f6f;     /* 次级文字 */
  --gray-400: #9a9a9a;     /* 弱文字 */
  --gray-100: #f5f5f5;     /* 浅灰区块 */
  --line: #e2e2e2;         /* 细分隔线 */
  --white: #ffffff;
  --radius: 2px;           /* 极简直角风格 */
  --container: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Helvetica Neue", Helvetica, Arial, "Microsoft YaHei", "PingFang SC", sans-serif;
  color: var(--gray-700);
  line-height: 1.75;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- 顶部工具栏（细条） ---------- */
.topbar {
  background: var(--gray-100);
  color: var(--gray-500);
  font-size: 12.5px;
  border-bottom: 1px solid var(--line);
  padding: 6px 0;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 4px; }
.topbar a { color: var(--gray-500); }
.topbar .tel { color: var(--red); font-weight: 700; font-size: 13px; }

/* ---------- 导航（白底细线） ---------- */
.header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 100;
}
.header .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.logo { display: flex; align-items: center; gap: 12px; }
/* Logo 占位（待替换为贵司 Logo 图片）：
   上传 logo 图片后，将 logo-mark 换成 <img src="assets/logo.png" class="logo-img"> 即可 */
.logo-mark {
  width: 46px; height: 30px;
  background: var(--red);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 15px; letter-spacing: 0.5px;
  border-radius: var(--radius);
}
.logo-img { height: 32px; width: auto; display: block; }
.logo-text { font-size: 19px; font-weight: 700; color: var(--ink); letter-spacing: 1px; }
.logo-sub { font-size: 10px; color: var(--gray-400); letter-spacing: 3px; text-transform: uppercase; }

.nav { display: flex; gap: 6px; }
.nav a {
  display: block; padding: 8px 16px;
  font-size: 14.5px; color: var(--gray-700); font-weight: 500;
  border-bottom: 2px solid transparent; margin-bottom: -1px;
  transition: .2s;
}
.nav a:hover { color: var(--red); border-bottom-color: var(--red); }
.nav a.active { color: var(--red); border-bottom-color: var(--red); font-weight: 600; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); cursor: pointer;
  width: 40px; height: 40px; border-radius: var(--radius); padding: 9px 0;
}
.nav-toggle span {
  display: block; width: 20px; height: 2px; background: var(--ink);
  margin: 4px auto; transition: .3s;
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 10px 24px 16px;
    border-bottom: 1px solid var(--line);
  }
  .nav.open { display: flex; }
}

/* ---------- 按钮（直角极简） ---------- */
.btn {
  display: inline-block; padding: 12px 30px; border-radius: var(--radius);
  font-size: 14.5px; font-weight: 600; cursor: pointer; border: none;
  transition: .2s; letter-spacing: 0.5px;
}
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }
.btn-orange { background: var(--red); color: #fff; }
.btn-orange:hover { background: var(--red-dark); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-blue { background: var(--red); color: #fff; }
.btn-blue:hover { background: var(--red-dark); }
.btn-outline { border: 1.5px solid var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: var(--red); color: var(--red); }
.btn-outline-light { border: 1.5px solid rgba(255,255,255,.7); color: #fff; background: transparent; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,.1); }

/* ---------- Hero（白底大字排版） ---------- */
.hero {
  background: var(--white);
  color: var(--ink);
  padding: 96px 0 88px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.hero h1 {
  font-size: 44px; line-height: 1.25; margin-bottom: 20px;
  font-weight: 700; letter-spacing: 0.5px; max-width: 820px;
}
.hero h1 .accent { color: var(--red); }
.hero p.lead { font-size: 16.5px; color: var(--gray-500); max-width: 680px; margin-bottom: 36px; }
.hero .ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero .hero-points { display: flex; gap: 44px; margin-top: 52px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 32px; }
.hero .hero-points .pt { display: flex; flex-direction: column; gap: 2px; }
.hero .hero-points .pt b { font-size: 26px; color: var(--ink); font-weight: 700; }
.hero .hero-points .pt span { font-size: 13px; color: var(--gray-400); letter-spacing: 1px; }

@media (max-width: 720px) {
  .hero { padding: 56px 0 60px; }
  .hero h1 { font-size: 30px; }
}

/* ---------- 区块通用 ---------- */
.section { padding: 88px 0; }
.section.alt { background: var(--gray-100); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { margin-bottom: 48px; }
.section-head .eyebrow {
  display: inline-block; font-size: 12px; color: var(--red);
  font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
  margin-bottom: 14px;
}
.section-head h2 { font-size: 28px; color: var(--ink); font-weight: 600; margin-bottom: 12px; letter-spacing: 0.5px; }
.section-head p { color: var(--gray-500); max-width: 660px; }

/* ---------- 产品卡片（白底细边） ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.prod-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: .25s; display: flex; flex-direction: column;
}
.prod-card:hover { border-color: var(--red); box-shadow: none; }
.prod-card:hover h3 { color: var(--red); }
.prod-thumb {
  height: 150px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #f2f5f9 0%, #e8edf4 100%);
  color: var(--gray-500); font-weight: 700; font-size: 16px; letter-spacing: 2px;
  overflow: hidden; border-bottom: 1px solid var(--line);
}
.prod-thumb img { width: 100%; height: 100%; object-fit: cover; }
.prod-card .body { padding: 18px 20px 22px; flex: 1; display: flex; flex-direction: column; }
.prod-card h3 { font-size: 16px; color: var(--ink); margin-bottom: 8px; transition: .2s; }
.prod-card p { font-size: 13px; color: var(--gray-500); flex: 1; line-height: 1.6; }
.prod-card .more { margin-top: 14px; color: var(--ink); font-size: 13px; font-weight: 600; letter-spacing: 0.5px; }
.prod-card .more:hover { color: var(--red); }

/* ---- 首页产品横向轮播（海德汉式：左右箭头 + 圆点） ---- */
.prod-carousel { position: relative; }
.pc-track {
  display: flex; gap: 22px; overflow-x: auto; scroll-behavior: smooth;
  scroll-snap-type: x mandatory; padding: 6px 4px 14px; scrollbar-width: none;
}
.pc-track::-webkit-scrollbar { display: none; }
.pc-track .prod-card { flex: 0 0 268px; scroll-snap-align: start; }
.pc-arrow {
  position: absolute; top: 42%; transform: translateY(-50%); z-index: 3;
  width: 44px; height: 44px; border: 1px solid var(--line); background: #fff;
  color: var(--ink); font-size: 24px; line-height: 1; cursor: pointer;
  box-shadow: 0 2px 12px rgba(0,0,0,.1); transition: .2s;
}
.pc-arrow:hover { border-color: var(--red); color: var(--red); }
.pc-arrow.prev { left: -16px; }
.pc-arrow.next { right: -16px; }
.pc-dots { display: flex; gap: 7px; justify-content: center; margin-top: 12px; }
.pc-dots .dot {
  width: 9px; height: 9px; border-radius: 50%; background: #c9c9c9;
  border: none; cursor: pointer; padding: 0; transition: .25s;
}
.pc-dots .dot.is-active { background: var(--red); width: 22px; border-radius: 5px; }

/* ---------- 实力数据（编辑风格数字） ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-card { border-top: 2px solid var(--ink); padding: 22px 4px 6px; background: transparent; }
.stat-card b { font-size: 40px; color: var(--red); font-weight: 700; display: block; line-height: 1.2; }
.stat-card span { font-size: 13px; color: var(--gray-500); letter-spacing: 1px; }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- 解决方案 ---------- */
.sol-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(265px, 1fr)); gap: 22px; }
.sol-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  border-top: 2px solid var(--red); padding: 28px; transition: .25s;
}
.sol-card:hover { border-color: var(--red); box-shadow: none; }
.sol-card .icon {
  display: flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; font-size: 24px; line-height: 1;
  background: var(--red-soft); border: 1px solid var(--red-line);
  border-radius: 4px; margin-bottom: 18px;
}
.sol-card h3 { color: var(--ink); margin-bottom: 10px; font-size: 16.5px; }
.sol-card p { font-size: 13.5px; color: var(--gray-500); }
.sol-card ul { margin-top: 12px; font-size: 13px; color: var(--gray-500); }
.sol-card li { padding-left: 16px; position: relative; margin-bottom: 4px; }
.sol-card li::before { content: "—"; position: absolute; left: 0; color: var(--red); }

/* ---------- 优势 ---------- */
.adv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.adv-item { border-top: 2px solid var(--ink); padding: 18px 2px 4px; }
.adv-item .num {
  font-size: 13px; color: var(--red); font-weight: 700; letter-spacing: 2px;
  margin-bottom: 10px; display: block;
}
.adv-item h4 { color: var(--ink); font-size: 15.5px; margin-bottom: 6px; }
.adv-item p { font-size: 13px; color: var(--gray-500); }

/* ---------- 资讯 ---------- */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.news-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; transition: .25s; display: block;
}
.news-card:hover { border-color: var(--red); box-shadow: none; }
.news-card:hover h3 { color: var(--red); }
.news-card .date { font-size: 12px; color: var(--gray-400); letter-spacing: 1px; }
.news-card h3 { font-size: 15.5px; color: var(--ink); margin: 10px 0; line-height: 1.5; transition: .2s; }
.news-card p { font-size: 13px; color: var(--gray-500); }

/* ---------- CTA 横幅（近黑） ---------- */
.cta-banner {
  background: var(--ink);
  color: #fff; padding: 64px 0; text-align: center;
}
.cta-banner h2 { font-size: 28px; margin-bottom: 12px; font-weight: 700; letter-spacing: 0.5px; }
.cta-banner p { color: rgba(255,255,255,.7); margin-bottom: 30px; }
.cta-banner .btn-red { background: var(--red); }
.cta-banner .btn-red:hover { background: var(--red-dark); }

/* ---------- 页脚（近黑） ---------- */
.footer { background: #464646; color: rgba(255,255,255,.65); padding: 60px 0 0; font-size: 13.5px; }
.footer .grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 44px; }
.footer h4 { color: #fff; margin-bottom: 16px; font-size: 14px; letter-spacing: 1px; font-weight: 600; }
.footer ul li { margin-bottom: 10px; }
.footer a:hover { color: #fff; }
.footer .brand p { margin-top: 14px; color: rgba(255,255,255,.5); font-size: 12.5px; line-height: 1.8; }
.footer .contact li { display: flex; gap: 8px; }
.footer .contact .k { color: var(--red); }
.footer .copy { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0; text-align: center; font-size: 12px; color: rgba(255,255,255,.4); }
@media (max-width: 860px) { .footer .grid { grid-template-columns: 1fr 1fr; } }

/* ---------- 页面横幅（内页，白底细线） ---------- */
.page-hero {
  background: var(--white);
  color: var(--ink); padding: 60px 0 52px;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: 32px; font-weight: 700; margin-bottom: 10px; letter-spacing: 0.5px; }
.page-hero p { color: var(--gray-500); }
.crumb { font-size: 12.5px; color: var(--gray-400); margin-top: 14px; }
.crumb a:hover { color: var(--red); }
.crumb::before { content: "—"; color: var(--red); margin-right: 8px; }

/* ---------- 产品详情 ---------- */
.detail-wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: start; }
.detail-img {
  border-radius: var(--radius); border: 1px solid var(--line);
  min-height: 320px; display: flex; align-items: center; justify-content: center;
  background: var(--gray-100);
  color: var(--gray-400); font-size: 15px; font-weight: 600;
}
.detail-img img { width: 100%; border-radius: var(--radius); }
.detail-info h2 { color: var(--ink); font-size: 22px; margin-bottom: 10px; font-weight: 700; }
.detail-info .model { color: var(--red); font-weight: 700; margin-bottom: 14px; letter-spacing: 0.5px; }
.detail-info .tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.detail-info .tags span { background: var(--gray-100); color: var(--gray-700); font-size: 12px; padding: 3px 10px; border-radius: var(--radius); border: 1px solid var(--line); }
@media (max-width: 860px) { .detail-wrap { grid-template-columns: 1fr; } }

table.spec { width: 100%; border-collapse: collapse; font-size: 13.5px; margin-top: 18px; }
table.spec th, table.spec td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
table.spec th { background: var(--gray-100); color: var(--ink); font-weight: 600; }
table.spec tr:hover td { background: #fafafa; }

/* ---------- 询盘表单 ---------- */
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 40px; max-width: 640px; margin: 0 auto;
}
.form-card h3 { color: var(--ink); margin-bottom: 6px; font-size: 20px; }
.form-card .tip { color: var(--gray-500); font-size: 13px; margin-bottom: 24px; }
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-size: 13px; color: var(--gray-700); margin-bottom: 6px; font-weight: 600; }
.form-row input, .form-row textarea, .form-row select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius);
  font-size: 14px; font-family: inherit; background: #fff; transition: .2s;
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus {
  outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(21,93,189,.08);
}
.form-row textarea { min-height: 100px; resize: vertical; }
.form-ok {
  display: none; background: var(--red-soft); color: var(--red-dark); border: 1px solid var(--red-line);
  padding: 12px 16px; border-radius: var(--radius); font-size: 13.5px; margin-bottom: 18px;
}
.form-ok.show { display: block; }

/* ---------- 联系方式 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-list li { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-list .ico { color: var(--red); font-size: 20px; flex: 0 0 28px; }
.contact-list b { color: var(--ink); display: block; font-size: 14.5px; }
.contact-list span { font-size: 13px; color: var(--gray-500); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- 文章正文 ---------- */
article h2 { font-size: 21px; color: var(--ink); margin: 36px 0 14px; padding-bottom: 8px; border-bottom: 1px solid var(--line); font-weight: 700; }
article h3 { font-size: 16.5px; color: var(--ink); margin: 26px 0 10px; }
article p { margin-bottom: 14px; font-size: 15px; line-height: 1.9; }
article strong { color: var(--ink); font-weight: 700; }
article code {
  background: var(--red-soft); border: 1px solid var(--red-line);
  padding: 1px 6px; border-radius: 3px; font-size: 13px;
  font-family: Consolas, Menlo, "Courier New", monospace;
}
article ul { margin: 10px 0 18px; padding-left: 4px; }
article li { margin-bottom: 6px; padding-left: 18px; position: relative; }
article li::before { content: "—"; position: absolute; left: 0; color: var(--red); }
article table.spec { margin-bottom: 20px; }

/* ---------- 工具类 ---------- */
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.mb-16 { margin-bottom: 16px; }
.pill {
  display: inline-block; background: var(--gray-100); color: var(--gray-700);
  font-size: 12px; padding: 3px 10px; border-radius: var(--radius); margin: 3px;
  border: 1px solid var(--line);
}

/* ============================================================
   HEIDENHAIN 式改版（首页）
   ============================================================ */

/* ---- 页头右侧工具链接 ---- */
.nav-right { display: flex; align-items: center; gap: 18px; font-size: 13px; }
.nav-right a { color: var(--gray-600); }
.nav-right a:hover { color: var(--red); }
.nav-right .tel { color: var(--red); font-weight: 700; font-size: 14px; }
.nav-right .vr { width: 1px; height: 18px; background: var(--line); }

/* ---- 首页 Hero 轮播（海德汉式滚动大图） ---- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  min-height: 100vh; background: #0b1a2e;
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease;
  display: flex; align-items: center; padding: 150px 0 200px;
}
.hero-slide.is-active { opacity: 1; z-index: 1; }
.hero-slide-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero-slide-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8,16,28,.9) 0%, rgba(8,16,28,.58) 55%, rgba(8,16,28,.25) 100%);
}
.hero-slide .container { position: relative; z-index: 2; }
.hero-points-wrap { position: absolute; left: 0; right: 0; bottom: 74px; z-index: 2; }
.hero-points-wrap .hero-points { margin-top: 0; border-top: 1px solid rgba(255,255,255,.22); padding-top: 26px; }
.hero-dots { position: absolute; right: 34px; bottom: 34px; z-index: 3; display: flex; gap: 8px; }
.hero-dots .dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.35); border: none; cursor: pointer; padding: 0; }
.hero-dots .dot.is-active { background: #fff; }
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.3); background: rgba(0,0,0,.18);
  color: #fff; font-size: 26px; line-height: 1; cursor: pointer; transition: .2s;
}
.hero-arrow:hover { background: rgba(0,0,0,.4); }
.hero-arrow.prev { left: 18px; }
.hero-arrow.next { right: 18px; }
.hero-eyebrow {
  display: inline-block; color: #fff; font-size: 12px; letter-spacing: 5px; text-transform: uppercase;
  border: 1px solid rgba(255,255,255,.35); padding: 7px 16px; margin-bottom: 30px;
}
.hero h1 { font-size: 46px; line-height: 1.16; color: #fff; font-weight: 700; letter-spacing: 1px; margin-bottom: 22px; }
.hero h1 .accent { color: var(--red); }
.hero p.lead { color: rgba(255,255,255,.78); max-width: 660px; font-size: 16.5px; line-height: 1.85; margin-bottom: 38px; }
.hero .ctas .btn { padding: 13px 28px; font-size: 14px; }
.hero .hero-points { border-top-color: rgba(255,255,255,.18); }
.hero .hero-points .pt b { color: #fff; font-size: 28px; }
.hero .hero-points .pt span { color: rgba(255,255,255,.6); }

/* ---- 品牌引言块 ---- */
.intro { padding: 76px 0 28px; }
.intro h2 { font-size: 26px; font-weight: 600; margin-bottom: 18px; letter-spacing: .5px; }
.intro p { max-width: 840px; color: var(--gray-500); line-height: 1.95; font-size: 15px; }
.more-link { display: inline-block; margin-top: 20px; color: var(--ink); font-weight: 600; font-size: 14px; letter-spacing: .5px; }
.more-link:hover { color: var(--red); }

/* ---- 产品搜索条 ---- */
.search-band { background: #0b1a2e; color: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 64px 0; }
.search-band h3 { font-size: 24px; font-weight: 600; margin-bottom: 8px; text-align: center; color: #fff; }
.search-band .sub { text-align: center; color: rgba(255,255,255,.68); font-size: 13.5px; margin-bottom: 24px; }
.search-box { display: flex; max-width: 640px; margin: 0 auto; }
.search-box input {
  flex: 1; border: 1px solid var(--line); border-right: none; padding: 14px 18px;
  font-size: 14px; background: #fff; color: var(--ink); border-radius: 0;
}
.search-box button { background: var(--red); color: #fff; border: none; padding: 0 28px; font-size: 14px; font-weight: 600; cursor: pointer; }
.search-box button:hover { background: var(--red-dark); }
.search-tip { text-align: center; color: rgba(255,255,255,.55); font-size: 12px; margin-top: 12px; }
.search-empty { display: none; text-align: center; color: var(--gray-500); font-size: 13.5px; padding: 30px 0 0; }

/* ---- 行业标签 ---- */
.ind-tags { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 30px; }
.ind-tags a { border: 1px solid var(--line); padding: 9px 20px; font-size: 13px; color: var(--ink); background: #fff; transition: .2s; }
.ind-tags a:hover { border-color: var(--red); color: var(--red); }

/* ---- 居中区块标题 ---- */
.section-head.center { text-align: center; }
.section-head.center p { margin: 0 auto; }

/* ---- 访客入口卡（海德汉式） ---- */
.visitor-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.visitor-card {
  display: block; background: #fff; border: 1px solid var(--line); padding: 34px 30px;
  transition: border-color .2s;
}
.visitor-card:hover { border-color: var(--red); }
.visitor-card b { display: block; font-size: 18px; color: var(--ink); margin-bottom: 8px; letter-spacing: .5px; }
.visitor-card span { color: var(--gray-500); font-size: 13.5px; line-height: 1.7; }
.visitor-card::after { content: "→"; color: var(--red); font-weight: 700; font-size: 18px; margin-top: 18px; display: block; }

/* ---- 产品卡：扁平编辑式 ---- */
#prod-list .cat-seg {
  grid-column: 1 / -1;
  margin: 20px 0 2px;
  font-size: 13px;
  letter-spacing: 1.5px;
  color: var(--gray-500);
  font-weight: 700;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
}
#prod-list .cat-seg:first-child { margin-top: 0; }
.prod-card { border: 1px solid var(--line); background: #fff; border-radius: 0; box-shadow: none; }
.prod-card:hover { border-color: var(--red); box-shadow: none; }
.prod-thumb { background: var(--gray-100); color: var(--gray-500); }

/* ---- 海德汉式：两行头部（Logo+搜索 上排 / 主导航 下排） ---- */
body.home .topbar { display: none; }

/* 头部整体（透明叠放大图） */
body.home .header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 120;
  background: transparent; transition: background .3s, border-color .3s;
}

/* 第一行：Logo 左 + 搜索/电话 右 */
.header-top { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.header-util { display: flex; align-items: center; gap: 18px; }
.header-util .vr { width: 1px; height: 18px; background: rgba(255,255,255,.35); }
.lang-switch {
  font-size: 12.5px; font-weight: 700; letter-spacing: .5px;
  border: 1px solid currentColor; border-radius: 3px;
  padding: 3px 9px; line-height: 1.2; transition: .2s;
}
body.home .header:not(.scrolled) .lang-switch { color: #fff; border-color: rgba(255,255,255,.6); }
body.home .header:not(.scrolled) .lang-switch:hover { background: rgba(255,255,255,.15); }
body.home .header.scrolled .lang-switch, body:not(.home) .lang-switch { color: var(--red); border-color: var(--red-line); }
body.home .header.scrolled .lang-switch:hover, body:not(.home) .lang-switch:hover { background: var(--red-soft); }
.h-search { display: flex; align-items: center; border: 1px solid rgba(255,255,255,.35); }
.h-search input { background: transparent; border: none; color: #fff; padding: 8px 12px; font-size: 13px; width: 210px; outline: none; }
.h-search input::placeholder { color: rgba(255,255,255,.55); }
.h-search button { background: transparent; border: none; color: #fff; cursor: pointer; padding: 0 12px; font-size: 13px; }

/* 第二行：主导航 */
.main-nav { border-top: 1px solid rgba(255,255,255,.18); }
.main-nav .container { display: flex; align-items: stretch; }
.main-nav a, .main-nav .nav-item > a {
  display: block; padding: 15px 18px; font-size: 14.5px;
  color: rgba(255,255,255,.92); border-bottom: 2px solid transparent; transition: .2s;
}
.main-nav a:hover, .main-nav .nav-item > a:hover { color: #fff; }
.main-nav a.active { color: #fff; border-bottom-color: #fff; font-weight: 600; }

/* 下拉箭头（海德汉式：可点击往下展开） */
.main-nav .nav-item.has-sub > a { position: relative; padding-right: 30px; }
.main-nav .nav-item.has-sub > a::after {
  content: ""; position: absolute; right: 16px; top: 50%;
  width: 7px; height: 7px; margin-top: -5px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg); transition: transform .2s, margin-top .2s;
}
.main-nav .nav-item.has-sub.open > a::after { transform: rotate(-135deg); margin-top: -1px; }

/* 下拉菜单 */
.nav-item { position: relative; }
.nav-sub {
  display: none; position: absolute; top: 100%; left: 0; background: #fff;
  min-width: 230px; box-shadow: 0 10px 30px rgba(0,0,0,.12); padding: 8px 0; z-index: 60;
}
.nav-item.open .nav-sub { display: block; }
.nav-sub a { display: block; padding: 10px 20px; color: var(--ink); font-size: 13.5px; border-bottom: none; }
.nav-sub a:hover { color: var(--red); background: var(--gray-100); }

/* ---- 巨幕菜单（全宽多列，海德汉式） ---- */
.main-nav { position: relative; }
.nav-item.mega { position: static; }
.nav-mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: #fff; box-shadow: 0 20px 44px rgba(0,0,0,.14);
  padding: 30px 0 34px; display: none; border-top: 1px solid var(--line); min-width: 0;
}
.nav-item.mega.open .nav-mega { display: block; animation: navDrop .22s ease; }
.nav-mega::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
@keyframes navDrop { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.nav-mega-inner { max-width: var(--container); margin: 0 auto; padding: 0 24px; display: flex; gap: 56px; }
.mega-col { min-width: 160px; }
.mega-col h5 { font-size: 12px; color: var(--gray-400); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 14px; font-weight: 700; }
.mega-col a { display: block; padding: 7px 0; color: var(--gray-700); font-size: 14.5px; border-bottom: none; background: transparent; }
.mega-col a:hover { color: var(--red); background: transparent; }
.mega-col.mega-cta { margin-left: auto; border-left: 1px solid var(--line); padding-left: 44px; min-width: auto; }
.mega-col.mega-cta a { color: var(--red); font-weight: 600; }

/* 透明态：白字 + 白 Logo */
body.home .header:not(.scrolled) .logo-text { color: #fff; }
body.home .header:not(.scrolled) .logo-sub { color: rgba(255,255,255,.72); }
body.home .header:not(.scrolled) .logo-img { filter: brightness(0) invert(1); }
body.home .header:not(.scrolled) .header-util .tel { color: #fff; font-weight: 700; }
body.home .header:not(.scrolled) .header-util a { color: rgba(255,255,255,.85); }
body.home .header:not(.scrolled) .header-util a:hover { color: #fff; }
body.home .header:not(.scrolled) .nav-toggle span { background: #fff; }

/* 滚动后：白底蓝字吸顶 */
body.home .header.scrolled {
  position: fixed; background: #fff; border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 8px rgba(0,0,0,.06);
}
body.home .header.scrolled .header-util .vr { background: var(--line); }
body.home .header.scrolled .h-search { border-color: var(--line); }
body.home .header.scrolled .h-search input { color: var(--ink); }
body.home .header.scrolled .h-search input::placeholder { color: var(--gray-400); }
body.home .header.scrolled .h-search button { color: var(--red); }
body.home .header.scrolled .header-util .tel { color: var(--red); font-weight: 700; }
body.home .header.scrolled .header-util a { color: var(--gray-700); }
body.home .header.scrolled .header-util a:hover { color: var(--red); }
body.home .header.scrolled .main-nav { border-top-color: var(--line); }
body.home .header.scrolled .main-nav a, body.home .header.scrolled .main-nav .nav-item > a { color: var(--gray-700); }
body.home .header.scrolled .main-nav a:hover, body.home .header.scrolled .main-nav .nav-item > a:hover { color: var(--red); }
body.home .header.scrolled .main-nav a.active { color: var(--red); border-bottom-color: var(--red); }
body.home .header.scrolled .nav-toggle span { background: var(--ink); }

/* ---- 内页头部（白底两行，海德汉式） ---- */
body:not(.home) .header { position: relative; background: #fff; border-bottom: 1px solid var(--line); }
body:not(.home) .header .logo-text { color: var(--ink); }
body:not(.home) .header .logo-sub { color: var(--gray-400); }
body:not(.home) .header .header-util .tel { color: var(--red); font-weight: 700; }
body:not(.home) .header .header-util a { color: var(--gray-700); }
body:not(.home) .header .header-util a:hover { color: var(--red); }
body:not(.home) .header .header-util .vr { background: var(--line); }
body:not(.home) .header .h-search { border-color: var(--line); }
body:not(.home) .header .h-search input { color: var(--ink); }
body:not(.home) .header .h-search input::placeholder { color: var(--gray-400); }
body:not(.home) .header .h-search button { color: var(--red); }
body:not(.home) .header .main-nav { border-top-color: var(--line); }
body:not(.home) .header .main-nav a, body:not(.home) .header .main-nav .nav-item > a { color: var(--gray-700); }
body:not(.home) .header .main-nav a:hover, body:not(.home) .header .main-nav .nav-item > a:hover { color: var(--red); }
body:not(.home) .header .main-nav a.active { color: var(--red); border-bottom-color: var(--red); font-weight: 600; }
body:not(.home) .header .nav-toggle span { background: var(--ink); }

/* ---- 内页页头横幅（面包屑 + 大标题 + 副描述） ---- */
.page-hero { background: var(--gray-100); border-bottom: 1px solid var(--line); padding: 44px 0 40px; }
.page-hero .crumb { color: var(--gray-400); font-size: 12.5px; margin-bottom: 16px; }
.page-hero .crumb a:hover { color: var(--red); }
.page-hero .crumb::before { content: "—"; color: var(--red); margin-right: 8px; }
.page-hero h1 { font-size: 34px; font-weight: 800; margin-bottom: 10px; letter-spacing: .5px; }
.page-hero p { color: var(--gray-500); font-size: 15px; max-width: 720px; }

/* ---- 页脚标语 ---- */
.footer .slogan { color: #fff; font-size: 15px; font-weight: 600; letter-spacing: 1px; margin: 6px 0 14px; }
.footer .legal { display: flex; justify-content: center; gap: 20px; margin-top: 12px; font-size: 12px; }
.footer .legal a { color: rgba(255,255,255,.5); }
.footer .legal a:hover { color: #fff; }

/* ---- 落地页：透明头部叠放大图（同首页） ---- */
body.lp .topbar { display: none; }
body.lp .header { position: absolute; top: 0; left: 0; right: 0; z-index: 120; background: transparent; }
body.lp .header .logo-text { color: #fff; }
body.lp .header .logo-sub { color: rgba(255,255,255,.72); }
body.lp .header .logo-img { filter: brightness(0) invert(1); }
body.lp .header .header-util .tel { color: #fff; font-weight: 700; }
body.lp .header .header-util a { color: rgba(255,255,255,.85); }
body.lp .header .header-util .vr { background: rgba(255,255,255,.35); }
body.lp .header .h-search { border-color: rgba(255,255,255,.35); }
body.lp .header .h-search input { color: #fff; }
body.lp .header .h-search input::placeholder { color: rgba(255,255,255,.55); }
body.lp .header .h-search button { color: #fff; }
body.lp .header .main-nav { border-top-color: rgba(255,255,255,.18); }
body.lp .header .main-nav a, body.lp .header .main-nav .nav-item > a { color: rgba(255,255,255,.92); }
body.lp .header .main-nav a:hover, body.lp .header .main-nav a.active { color: #fff; border-bottom-color: #fff; }
body.lp .header .nav-toggle span { background: #fff; }

/* 中等宽度：压缩顶栏搜索，避免拥挤 */
@media (max-width: 1080px) and (min-width: 861px) {
  .h-search input { width: 120px; }
  .header-util { gap: 10px; }
}

/* 移动端（断点由 960px 下调至 860px，保留平板横屏桌面布局） */
@media (max-width: 860px) {
  .header-util { display: none; }
  .nav-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 74px; left: 0; right: 0; background: #fff; border-top: 1px solid var(--line); }
  .main-nav.open { display: block; }
  .main-nav .container { flex-direction: column; padding: 10px 0 18px; }
  .main-nav a, .main-nav .nav-item > a { color: var(--ink); border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-sub { position: static; box-shadow: none; min-width: auto; display: none; padding: 0 0 0 24px; }
  .nav-item.open .nav-sub { display: block; }
}

@media (max-width: 860px) {
  .hero { padding: 90px 0 80px; }
  .hero h1 { font-size: 32px; }
}

/* ---- 在线客服（24小时智能应答） ---- */
.kf-float {
  position: fixed; right: 24px; bottom: 32px; z-index: 9990;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--red); color: #fff; font-size: 22px; line-height: 1;
  cursor: pointer; box-shadow: 0 6px 20px rgba(0,0,0,.18);
  display: flex; align-items: center; justify-content: center;
  animation: kfPulse 2.4s infinite;
}
.kf-float:hover { background: var(--red-dark); }
.kf-float.hide { opacity: 0; pointer-events: none; transform: translateY(12px); transition: opacity .25s, transform .25s; }
@keyframes kfPulse {
  0%, 100% { box-shadow: 0 6px 20px rgba(21,93,189,.28); }
  50% { box-shadow: 0 6px 28px rgba(21,93,189,.5); }
}
.kf-panel {
  position: fixed; right: 22px; bottom: 96px; z-index: 9991;
  width: 340px; max-width: calc(100vw - 32px); background: #fff;
  border-radius: 12px; box-shadow: 0 12px 44px rgba(0,0,0,.22);
  display: none; flex-direction: column; overflow: hidden; border: 1px solid var(--line);
}
.kf-panel.open { display: flex; }
.kf-head { background: var(--red); color: #fff; padding: 15px 16px; position: relative; }
.kf-head .kf-title { font-size: 15px; font-weight: 700; }
.kf-head .kf-sub { font-size: 11.5px; opacity: .88; margin-top: 2px; }
.kf-head .kf-close { position: absolute; right: 12px; top: 10px; background: none; border: none; color: #fff; font-size: 24px; cursor: pointer; line-height: 1; }
.kf-body { padding: 14px 14px 6px; height: 280px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; background: #f5f7fa; }
.kf-msg { max-width: 84%; padding: 9px 12px; border-radius: 10px; font-size: 13px; line-height: 1.65; word-break: break-word; }
.kf-msg.bot { background: #fff; border: 1px solid var(--line); align-self: flex-start; border-top-left-radius: 2px; }
.kf-msg.user { background: var(--red); color: #fff; align-self: flex-end; border-top-right-radius: 2px; }
.kf-msg a { color: var(--red); font-weight: 700; }
.kf-msg.user a { color: #fff; text-decoration: underline; }
.kf-quick { padding: 8px 12px; display: flex; flex-wrap: wrap; gap: 7px; border-top: 1px solid var(--line); background: #fff; }
.kf-quick button { border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 12px; padding: 5px 12px; border-radius: 14px; cursor: pointer; transition: .15s; }
.kf-quick button:hover { border-color: var(--red); color: var(--red); }
.kf-input { display: flex; border-top: 1px solid var(--line); background: #fff; }
.kf-input input { flex: 1; border: none; padding: 12px 14px; font-size: 13.5px; outline: none; font-family: inherit; }
.kf-input button { border: none; background: var(--red); color: #fff; padding: 0 20px; font-size: 13px; cursor: pointer; }
.kf-input button:hover { background: var(--red-dark); }

/* 移动端：悬浮按钮更紧凑，正文右侧留白避开按钮，页脚留白避免遮挡版权 */
@media (max-width: 860px) {
  .kf-float { width: 40px; height: 40px; right: 10px; bottom: 12px; font-size: 18px; }
  .footer { padding-bottom: 70px; }
  article, .detail-wrap, .prod-grid { padding-right: 44px; }
  /* 规格表在窄屏内横向滚动，避免撑破页面 */
  article, .detail-info { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  table.spec { min-width: 480px; }
}
