/* 玖域技术官网 — 红黑白商务风（区别于同行业深色科技风） */
:root {
  --red: #c8102e;
  --red-dark: #9c0b22;
  --red-soft: #fdf1f3;
  --ink: #16161a;
  --ink-2: #45454e;
  --line: #e8e8ec;
  --bg: #ffffff;
  --bg-gray: #f7f7f8;
  --radius: 14px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased; line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(1180px, 92%); margin: 0 auto; }
.btn { display: inline-block; padding: 12px 28px; border-radius: 8px; font-size: 15px; font-weight: 600; transition: .25s; cursor: pointer; border: none; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); transform: translateY(-2px); }
.btn-line { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-block { width: 100%; }

/* ===== 顶部信息条 ===== */
.topbar { background: var(--ink); color: #ddd; font-size: 12.5px; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; height: 34px; }
.topbar-slogan { letter-spacing: 2px; }
.topbar-contact { display: flex; gap: 18px; }
.topbar-contact a:hover { color: #fff; }

/* ===== 导航 ===== */
.header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); border-top: 3px solid var(--red); }
.header-in { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { flex-shrink: 0; display: flex; align-items: center; }
.brand img { height: 37px; width: auto; max-width: none; }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { padding: 8px 9px; font-size: 14px; color: var(--ink-2); border-radius: 6px; position: relative; white-space: nowrap; }
.nav a:hover { color: var(--red); }
.nav a.on { color: var(--red); font-weight: 600; }
.nav a.on::after { content: ""; position: absolute; left: 9px; right: 9px; bottom: 2px; height: 2px; background: var(--red); }
.header-cta { display: none; }
.header-cta { padding: 9px 20px; font-size: 14px; }
.burger { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.burger span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; transition: .3s; }

/* ===== 首屏 ===== */
.hero { position: relative; overflow: hidden; padding-top: 64px; }
.hero-deco { position: absolute; inset: 0; pointer-events: none; }
.hero-strip { position: absolute; right: -120px; top: -140px; width: 520px; height: 520px; background: var(--red); transform: rotate(45deg); opacity: .06; }
.hero-grid { position: absolute; left: -60px; bottom: 120px; width: 300px; height: 300px; background-image: radial-gradient(var(--red) 1.2px, transparent 1.2px); background-size: 22px 22px; opacity: .12; }
.hero-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; position: relative; }
.kicker { color: var(--red); font-weight: 700; font-size: 13px; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 14px; }
.hero h1 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.18; font-weight: 800; letter-spacing: 1px; }
.hero h1 em { font-style: normal; color: var(--red); position: relative; }
.hero h1 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 10px; background: var(--red-soft); z-index: -1; }
.hero-sub { margin-top: 18px; color: var(--ink-2); font-size: 16px; max-width: 560px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hero-chips span { padding: 6px 16px; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: 13.5px; color: var(--ink-2); }
.hero-chips span:nth-child(odd) { border-left: 3px solid var(--red); }
.hero-cta { display: flex; gap: 14px; margin-top: 30px; }
.hero-visual { position: relative; height: 430px; }
.hv { position: absolute; background: #fff; border-radius: 10px; box-shadow: 0 18px 50px rgba(22,22,26,.14); overflow: hidden; }
.hv img { width: 100%; height: 100%; object-fit: cover; }
.hv-1 { width: 62%; height: 46%; left: 0; top: 6%; border-bottom: 4px solid var(--red); }
.hv-2 { width: 58%; height: 42%; right: 0; top: 38%; }
.hv-3 { width: 52%; height: 34%; left: 8%; bottom: 0; border-left: 4px solid var(--red); }
.hv-dot { position: absolute; right: 14%; top: 8%; width: 64px; height: 64px; border-radius: 50%; background: var(--red); }
.hv-dot::after { content: "JIUYU"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 11px; font-weight: 800; letter-spacing: 1px; }
.statbar { margin-top: 56px; background: var(--ink); color: #fff; position: relative; }
.statbar-in { display: grid; grid-template-columns: repeat(5, 1fr); }
.stat { padding: 26px 10px; text-align: center; border-left: 1px solid rgba(255,255,255,.12); }
.stat:first-child { border-left: none; }
.stat b { display: block; font-size: 34px; font-weight: 800; }
.stat b i { font-style: normal; font-size: 18px; color: var(--red); margin-left: 2px; }
.stat span { font-size: 13px; color: #aaa; }

/* ===== 通用 section ===== */
.sec { padding: 84px 0; }
.sec-gray { background: var(--bg-gray); }
.sec-head { position: relative; margin-bottom: 20px; }
.sec-head h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; letter-spacing: 1px; }
.sec-no { position: absolute; right: 0; top: -18px; font-size: 84px; font-weight: 800; color: transparent; -webkit-text-stroke: 1.5px #e3e3e8; line-height: 1; user-select: none; }
.sec-desc { color: var(--ink-2); margin-bottom: 40px; max-width: 720px; }
.sec-desc-light { color: #b9b9c2; }
.reveal { opacity: 0; transform: translateY(26px); transition: .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===== 关于 ===== */
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; margin-top: 34px; }
.about-copy p { margin-bottom: 16px; color: var(--ink-2); }
.about-copy strong { color: var(--ink); }
.about-vision { list-style: none; margin-top: 24px; border-top: 1px solid var(--line); }
.about-vision li { display: flex; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.about-vision b { color: var(--red); font-size: 15px; flex: 0 0 44px; }
.about-vision span { color: var(--ink-2); font-size: 14.5px; }
.about-side { display: flex; flex-direction: column; gap: 16px; }
.about-card { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; transition: .25s; }
.about-card:hover { border-color: var(--red); box-shadow: 0 10px 30px rgba(200,16,46,.08); }
.about-card img { width: 150px; height: 76px; object-fit: cover; border-radius: 8px; }
.about-card b { display: block; font-size: 15.5px; }
.about-card span { font-size: 13px; color: var(--ink-2); }

/* ===== 全生命周期流程 ===== */
.life-flow { list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; counter-reset: step; }
.life-flow li { background: #fff; border-radius: var(--radius); padding: 22px 16px 18px; border: 1px solid var(--line); position: relative; transition: .25s; }
.life-flow li:hover { border-color: var(--red); transform: translateY(-4px); box-shadow: 0 12px 32px rgba(22,22,26,.08); }
.life-flow li::before { content: ""; position: absolute; top: 0; left: 16px; width: 34px; height: 3px; background: var(--red); }
.life-flow i { font-style: normal; font-size: 26px; font-weight: 800; color: var(--red); display: block; margin-bottom: 8px; }
.life-flow b { display: block; font-size: 16px; margin-bottom: 6px; }
.life-flow span { font-size: 13px; color: var(--ink-2); line-height: 1.55; display: block; }

/* ===== 计量校准 ===== */
.cal-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 44px; margin-top: 30px; }
.cal-intro p { color: var(--ink-2); margin-bottom: 18px; }
.cal-adv { list-style: none; }
.cal-adv li { padding: 12px 0 12px 18px; border-left: 3px solid var(--red); background: var(--red-soft); margin-bottom: 10px; border-radius: 0 8px 8px 0; font-size: 14.5px; color: var(--ink-2); }
.cal-adv b { color: var(--red); margin-right: 8px; }
.cal-fields h3 { font-size: 18px; margin-bottom: 16px; }
.cal-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.cal-tags span { padding: 8px 18px; background: var(--ink); color: #fff; border-radius: 6px; font-size: 14px; font-weight: 600; transition: .2s; cursor: default; }
.cal-tags span:hover { background: var(--red); }
.cal-detail dt { font-weight: 700; font-size: 14.5px; margin-top: 14px; padding-left: 12px; border-left: 3px solid var(--red); }
.cal-detail dd { font-size: 13.5px; color: var(--ink-2); padding: 4px 0 0 15px; }

/* ===== 产品中心：品类树 + 行式目录 ===== */
.catalog { display: grid; grid-template-columns: 250px 1fr; gap: 26px; margin-top: 10px; }
.cat-tree { position: sticky; top: 96px; align-self: start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cat-tree-btn { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 12px 16px; background: none; border: none; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--ink-2); cursor: pointer; text-align: left; font-family: inherit; }
.cat-tree-btn i { font-style: normal; font-size: 12px; background: var(--bg-gray); border-radius: 999px; padding: 1px 9px; color: var(--ink-2); }
.cat-tree-btn:hover { color: var(--red); }
.cat-tree-btn.on { color: #fff; background: var(--red); font-weight: 600; }
.cat-tree-btn.on i { background: rgba(255,255,255,.2); color: #fff; }
.cat-toolbar { display: flex; gap: 12px; margin-bottom: 18px; align-items: center; }
.cat-chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; flex: 1; }
.cat-chips button { flex: 0 0 auto; padding: 7px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 13px; color: var(--ink-2); cursor: pointer; font-family: inherit; }
.cat-chips button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
#prodSearch { flex: 0 0 220px; padding: 9px 14px; border: 1px solid var(--line); border-radius: 8px; font-size: 14px; outline: none; font-family: inherit; }
#prodSearch:focus { border-color: var(--red); }
.prod-list { display: flex; flex-direction: column; gap: 12px; }
.list-hint { font-size: 13px; color: var(--red); padding: 2px 4px; }
.prod-brief { font-size: 13px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.prod-row { display: grid; grid-template-columns: 130px 1fr auto; gap: 18px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; cursor: pointer; transition: .2s; }
.prod-row:hover { border-color: var(--red); box-shadow: 0 8px 24px rgba(22,22,26,.07); }
.prod-row > div { min-width: 0; padding-right: 6px; }
.prod-row img { width: 130px; height: 90px; object-fit: cover; border-radius: 8px; background: #fafafa; }
.prod-ph { width: 130px; height: 90px; border-radius: 8px; background: linear-gradient(135deg, #fdf1f3, #f4f4f6); border: 1px dashed #e9c6cd; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.prod-ph span { font-size: 14px; font-weight: 700; color: var(--red); letter-spacing: .5px; }
.prod-ph i { font-style: normal; font-size: 10.5px; color: var(--ink-2); text-align: center; padding: 0 8px; line-height: 1.3; }
.ph-note { text-align: center; color: var(--ink-2); }
.ph-note b { display: block; font-size: 30px; color: var(--red); letter-spacing: 1px; margin-bottom: 8px; }
.ph-note span { font-size: 13px; }
.prod-model { font-size: 17px; font-weight: 700; letter-spacing: .5px; }
.prod-meta { display: flex; gap: 8px; margin: 5px 0; flex-wrap: wrap; }
.prod-meta span { font-size: 12px; background: var(--bg-gray); border-radius: 4px; padding: 2px 9px; color: var(--ink-2); }
.prod-meta span.brand { background: var(--red-soft); color: var(--red); font-weight: 600; }
.prod-go { color: var(--red); font-size: 13px; font-weight: 600; white-space: nowrap; }
.prod-empty { text-align: center; color: var(--ink-2); padding: 50px 0; }

/* ===== 环境可靠性设备 ===== */
.eq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 30px; }
.eq-card { background: var(--bg-gray); border-radius: var(--radius); padding: 30px; border-top: 4px solid var(--ink); position: relative; overflow: hidden; transition: .25s; }
.eq-card:hover { border-top-color: var(--red); transform: translateY(-4px); }
.eq-badge { display: inline-block; background: var(--red); color: #fff; font-size: 12.5px; font-weight: 600; padding: 4px 14px; border-radius: 999px; margin-bottom: 14px; }
.eq-card h3 { font-size: 20px; margin-bottom: 10px; }
.eq-card p { font-size: 14px; color: var(--ink-2); margin-bottom: 16px; }
.eq-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.eq-tags span { font-size: 12.5px; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 4px 12px; color: var(--ink-2); }
.eq-note { margin-top: 22px; font-size: 13.5px; color: var(--ink-2); padding-left: 14px; border-left: 3px solid var(--red); }

/* ===== EMC（深色块） ===== */
.sec-dark { background: var(--ink); color: #fff; }
.sec-dark .sec-no { -webkit-text-stroke: 1.5px #33333c; }
.emc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.emc-card { background: #1f1f26; border: 1px solid #2c2c34; border-radius: 12px; padding: 22px 20px; position: relative; transition: .25s; }
.emc-card::before { content: ""; position: absolute; left: 20px; top: 0; width: 28px; height: 3px; background: var(--red); }
.emc-card:hover { background: #26262e; transform: translateY(-3px); }
.emc-card b { display: block; font-size: 16.5px; margin: 6px 0 8px; }
.emc-card span { font-size: 13px; color: #a5a5b0; line-height: 1.6; }

/* ===== 品牌墙 ===== */
.brand-wall { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-top: 34px; }
.brand-item { background: #fff; border: 1px solid var(--line); border-radius: 10px; display: grid; place-items: center; padding: 14px; transition: .25s; }
.brand-item img { max-height: 44px; max-width: 82%; object-fit: contain; }
.brand-item:hover { border-color: var(--red); transform: translateY(-3px); box-shadow: 0 10px 26px rgba(200,16,46,.10); }

/* ===== 联系 ===== */
.sec-contact { background: linear-gradient(135deg, #fff 55%, var(--red-soft)); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-info h2 { font-size: clamp(24px, 2.8vw, 32px); font-weight: 800; margin-bottom: 14px; }
.contact-desc { color: var(--ink-2); margin-bottom: 26px; }
.contact-list { list-style: none; }
.contact-list li { display: flex; gap: 16px; padding: 13px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.contact-list b { color: var(--red); flex: 0 0 44px; }
.contact-list a:hover { color: var(--red); }
.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: 0 16px 44px rgba(22,22,26,.08); display: flex; flex-direction: column; gap: 14px; }
.contact-form label { font-size: 13.5px; font-weight: 600; display: flex; flex-direction: column; gap: 6px; }
.contact-form input, .contact-form select, .contact-form textarea { padding: 11px 13px; border: 1px solid var(--line); border-radius: 8px; font-size: 14px; font-family: inherit; outline: none; resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--red); }
.form-tip { font-size: 13px; color: var(--red); min-height: 18px; }

/* ===== 页脚 ===== */
.footer { background: #0e0e12; color: #9a9aa4; }
.footer-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding: 52px 0 34px; }
.footer-brand img { height: 30px; margin-bottom: 16px; }
.footer-brand p { font-size: 13.5px; line-height: 1.8; }
.footer-nav, .footer-contact { display: flex; flex-direction: column; gap: 9px; font-size: 13.5px; }
.footer-nav b, .footer-contact b { color: #fff; font-size: 14.5px; margin-bottom: 6px; }
.footer-nav a:hover { color: var(--red); }
.footer-copy { border-top: 1px solid #232329; padding: 18px 0; font-size: 12.5px; display: flex; justify-content: space-between; }

/* ===== 详情浮层 ===== */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; }
.modal[hidden] { display: none; }
.modal-mask { position: absolute; inset: 0; background: rgba(14,14,18,.6); }
.modal-box { position: relative; background: #fff; border-radius: 16px; width: min(860px, 92%); display: grid; grid-template-columns: 1.05fr 1fr; overflow: hidden; animation: pop .25s ease; }
@keyframes pop { from { transform: scale(.94); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-img { background: #fafafa; display: grid; place-items: center; padding: 24px; }
.modal-img img { max-height: 380px; object-fit: contain; }
.modal-info { padding: 34px 30px; }
.modal-cat { color: var(--red); font-size: 13px; font-weight: 700; letter-spacing: 1px; margin-bottom: 8px; }
.modal-info h3 { font-size: 26px; letter-spacing: 1px; }
.modal-brand { color: var(--ink-2); margin: 6px 0 14px; font-size: 14px; }
.modal-brief { font-size: 14px; color: var(--ink-2); border-left: 3px solid var(--red); padding-left: 12px; margin-bottom: 24px; }
.modal-specs { margin-bottom: 24px; background: #faf7f7; border: 1px solid #f0e2e4; border-radius: 10px; padding: 14px 18px; }
.modal-specs .spec-t { font-weight: 700; font-size: 14px; color: var(--red); margin-bottom: 8px; }
.modal-specs ul { list-style: none; }
.modal-specs li { font-size: 13.5px; color: var(--ink-2); padding: 3px 0 3px 16px; position: relative; }
.modal-specs li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.modal-box { overflow: auto; max-height: 90vh; }
.modal-cta { display: flex; gap: 12px; }
.modal-x { position: absolute; right: 12px; top: 12px; width: 36px; height: 36px; border-radius: 50%; border: none; background: rgba(22,22,26,.06); font-size: 20px; cursor: pointer; color: var(--ink-2); }
.modal-x:hover { background: var(--red); color: #fff; }

/* ===== 响应式 ===== */
@media (max-width: 1180px) {
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 12px 4%; border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(0,0,0,.08); }
  .nav.open { display: flex; }
  .burger { display: block; margin-left: auto; }
  .header-cta { display: none; }
  .hero-in { grid-template-columns: 1fr; }
  .hero-visual { height: 340px; max-width: 560px; }
  .statbar-in { grid-template-columns: repeat(3, 1fr); }
  .stat:nth-child(4) { border-left: none; }
  .about-grid, .cal-grid, .contact-grid, .eq-grid { grid-template-columns: 1fr; }
  .life-flow { grid-template-columns: repeat(2, 1fr); }
  .emc-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-wall { grid-template-columns: repeat(3, 1fr); }
  .catalog { grid-template-columns: 1fr; }
  .cat-tree { display: none; }
  .cat-toolbar { flex-direction: column; align-items: stretch; }
  #prodSearch { flex: auto; }
  .topbar-slogan { display: none; }
  .topbar-in { justify-content: center; }
}
@media (max-width: 620px) {
  .sec { padding: 60px 0; }
  .statbar-in { grid-template-columns: repeat(2, 1fr); }
  .stat { border-left: none; }
  .prod-row { grid-template-columns: 90px 1fr; }
  .prod-row img { width: 90px; height: 66px; }
  .prod-go { display: none; }
  .life-flow { grid-template-columns: 1fr; }
  .emc-grid, .brand-wall { grid-template-columns: repeat(2, 1fr); }
  .modal-box { grid-template-columns: 1fr; max-height: 88vh; overflow: auto; }
  .hv-3 { display: none; }
}
