/* KCSS Wiremesh — 网站样式（依据 notes/KCSS_设计规范_2026-10-12.md） */
:root {
  --steel: #2E3338;
  --ink: #111417;
  --grey: #5B6770;
  --zinc: #C9CDD1;
  --light: #F1F2F3;
  --line: #E4E6E8;
  --white: #FFFFFF;
  --yellow: #F5C400;
  --wa: #25D366;
  --stamp: #B23A2E;
  --blueprint: #1B3A5C;
  --head: 'Barlow Condensed', 'Noto Sans SC', sans-serif;
  --body: 'Barlow', 'Noto Sans SC', sans-serif;
  --mono: 'IBM Plex Mono', monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--white); }
img { max-width: 100%; display: block; }
a { color: var(--steel); }
a:hover { color: var(--ink); }
h1, h2, h3 { font-family: var(--head); font-weight: 700; text-transform: uppercase; color: var(--steel); margin: 0; line-height: 1.1; }
h1 { font-size: clamp(38px, 5vw, 64px); line-height: 1.02; }
h2 { font-size: clamp(30px, 3.4vw, 44px); }
h3 { font-size: 24px; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section.alt { background: var(--light); border-top: 1px solid var(--zinc); border-bottom: 1px solid var(--zinc); }
.section.dark { background: var(--steel); color: var(--white); }
.section.dark h2 { color: var(--white); }
.stack { display: flex; flex-direction: column; gap: 24px; }
.eyebrow { font-family: var(--mono); font-size: 14px; letter-spacing: .08em; color: var(--grey); text-transform: uppercase; }
.dark .eyebrow { color: var(--zinc); }
.lead { font-size: 19px; color: var(--steel); max-width: 36em; }
.muted { color: var(--grey); }
.sec-head { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; }
.sec-head > div { display: flex; flex-direction: column; gap: 8px; max-width: 680px; }
.more { font-weight: 600; }

/* 警示斜纹 */
.hazard { height: 8px; background: repeating-linear-gradient(45deg, var(--yellow) 0 14px, var(--ink) 14px 28px); }

/* 按钮 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; font-family: var(--body); font-weight: 600; font-size: 17px; text-decoration: none; border-radius: 2px; border: 2px solid transparent; cursor: pointer; transition: background-color .15s, border-color .15s; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 18px; }
.btn-quote { background: var(--yellow); color: var(--ink); }
.btn-quote:hover { background: #DDB000; color: var(--ink); }
.btn-wa { background: var(--wa); color: var(--ink); }
.btn-wa:hover { background: #1FBA59; color: var(--ink); }
.btn-outline { background: transparent; border-color: var(--steel); color: var(--steel); }
.btn-outline:hover { background: var(--steel); color: var(--white); }
.dark .btn-outline { border-color: var(--zinc); color: var(--white); }
.dark .btn-outline:hover { background: var(--white); color: var(--ink); }
.btn svg { flex-shrink: 0; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* 顶部信息条 */
.util { background: var(--ink); color: var(--zinc); font-size: 14px; }
.util .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: center; padding-top: 8px; padding-bottom: 8px; }
.util-left { display: flex; gap: 24px; }
.util-right { display: flex; gap: 20px; align-items: center; }
.util a { color: var(--white); text-decoration: none; }
.lang { display: flex; gap: 4px; }
.lang a { color: var(--zinc); padding: 2px 8px; }
.lang a[aria-current="true"] { background: var(--zinc); color: var(--ink); font-weight: 600; }

/* 导航 */
.site-header { background: var(--white); border-bottom: 1px solid var(--zinc); position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; gap: 24px; justify-content: space-between; align-items: center; padding-top: 12px; padding-bottom: 12px; }
.logo { display: block; width: 122px; height: 46px; overflow: hidden; flex-shrink: 0; }
.logo img { height: 46px; width: auto; max-width: none; }
.nav { display: flex; gap: 26px; align-items: center; font-weight: 500; font-size: 16px; }
.nav a { color: var(--steel); text-decoration: none; padding: 6px 0; border-bottom: 3px solid transparent; }
.nav a:hover { border-bottom-color: var(--zinc); }
.nav a[aria-current="page"] { border-bottom-color: var(--yellow); font-weight: 600; }
.header-actions { display: flex; gap: 12px; align-items: center; }
.menu-btn { display: none; width: 48px; height: 48px; align-items: center; justify-content: center; background: transparent; border: 2px solid var(--steel); color: var(--steel); border-radius: 2px; cursor: pointer; }

@media (max-width: 1080px) {
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); flex-direction: column; align-items: stretch; gap: 0; border-bottom: 1px solid var(--zinc); padding: 8px 24px 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"] { border-bottom-color: var(--line); box-shadow: inset 4px 0 0 var(--yellow); padding-left: 12px; }
  .menu-btn { display: inline-flex; }
  .util-left { display: none; }
}
@media (max-width: 560px) {
  .header-actions .btn-quote { display: none; }
}

/* 首页主视觉 */
.hero .wrap { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 80px; }
.hero-text { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero-media { flex: 1 1 420px; min-width: 0; }
.hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid var(--zinc); }
.ticks { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 15px; color: var(--grey); }
.ticks span, .ticks a { display: inline-flex; gap: 8px; align-items: center; }

/* 内页标题 */
.page-hero { background: var(--steel); color: var(--white); }
.page-hero .wrap { padding-top: 56px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 14px; }
.page-hero h1 { color: var(--white); font-size: clamp(36px, 4.4vw, 56px); }
.page-hero .eyebrow { color: var(--zinc); }
.page-hero p { color: #E3E5E7; max-width: 40em; font-size: 18px; }
.crumbs { font-size: 14px; color: var(--zinc); }
.crumbs a { color: var(--zinc); }

/* 数字色块 */
.proof { background: var(--steel); color: var(--white); }
.proof .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.proof-item { padding: 36px 24px; border-right: 1px solid #454B51; display: flex; flex-direction: column; gap: 6px; }
.proof-item:first-child { padding-left: 0; }
.proof-item:last-child { border-right: 0; }
.proof-num { font-family: var(--head); font-weight: 700; font-size: 48px; line-height: 1; color: var(--yellow); }
.proof-item span:last-child { color: #E3E5E7; }
@media (max-width: 560px) {
  .proof .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0; }
  .proof-item, .proof-item:first-child { padding: 20px 16px; border-bottom: 1px solid #454B51; }
  .proof-num { font-size: 32px; }
}

/* 卡片 */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.grid-certs { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
@media (max-width: 400px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card { border: 1px solid var(--zinc); background: var(--white); display: flex; flex-direction: column; }
.card > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card-body { padding: 24px; display: flex; flex-direction: column; gap: 16px; flex-grow: 1; }
.card-body .btn-row { margin-top: auto; }
.card-body .btn { min-height: 44px; padding: 0 16px; font-size: 16px; }

.kv { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: 15px; border-top: 1px solid var(--line); padding-top: 16px; }
.kv dt { color: var(--grey); }
.kv dd { margin: 0; font-family: var(--mono); text-align: right; }

.cert { background: var(--white); border: 1px solid var(--zinc); padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.cert-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.cert-name { font-family: var(--head); font-weight: 700; font-size: 22px; color: var(--steel); }
.stamp { font-family: var(--mono); font-size: 12px; color: var(--white); background: var(--stamp); padding: 2px 6px; white-space: nowrap; }
.code { font-family: var(--mono); font-size: 14px; color: var(--steel); }
.cert a { font-size: 14px; font-weight: 500; margin-top: auto; }

.project { border: 1px solid var(--zinc); display: flex; flex-wrap: wrap; background: var(--white); }
.project img { flex: 1 1 220px; min-height: 220px; width: 100%; object-fit: cover; }
.project .card-body { flex: 1 1 240px; gap: 12px; }
.project .kv { border: 0; padding: 0; }
.project .kv dd { text-align: left; font-family: var(--body); }
.tag { font-family: var(--mono); font-size: 13px; color: var(--grey); text-transform: uppercase; }

.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; background: var(--white); border: 1px solid var(--zinc); color: var(--steel); text-decoration: none; font-weight: 500; }
.chips a:hover { border-color: var(--steel); }
.chips a.dark-chip { background: var(--steel); border-color: var(--steel); color: var(--white); }

/* 规格表 */
.spec-wrap { overflow-x: auto; border: 1px solid var(--zinc); }
.spec { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
.spec caption { text-align: left; padding: 12px 16px; font-weight: 600; background: var(--white); }
.spec th, .spec td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.spec thead th { background: var(--steel); color: var(--white); font-weight: 600; }
.spec tbody th { font-weight: 500; color: var(--grey); width: 32%; position: sticky; left: 0; background: inherit; }
.spec tbody tr:nth-child(even) { background: var(--light); }
.spec tbody tr:nth-child(odd) { background: var(--white); }
.spec td { font-family: var(--mono); font-size: 14px; }
.std { font-family: var(--mono); font-size: 14px; }

/* 产品详情块 */
.product { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 40px; align-items: start; }
.product + .product { margin-top: 88px; padding-top: 88px; border-top: 1px solid var(--zinc); }
.product-media { display: grid; gap: 12px; }
.product-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid var(--zinc); }
.product-media .thumbs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.product-media .thumbs img { aspect-ratio: 1; }
.bullets { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.bullets li { display: flex; gap: 10px; align-items: flex-start; }
.bullets li::before { content: ""; flex: 0 0 10px; height: 10px; margin-top: 8px; background: var(--yellow); }

/* 蓝图点缀（只用于定制页和规格） */
.blueprint { background-color: var(--blueprint); background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 24px 24px; color: var(--white); border: 1px solid #2B5079; }
.blueprint h2, .blueprint h3 { color: var(--white); }
.steps { counter-reset: s; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; }
.steps li { counter-increment: s; padding: 28px 24px; border-right: 1px dashed rgba(255,255,255,.35); display: flex; flex-direction: column; gap: 8px; }
.steps li:last-child { border-right: 0; }
.steps li::before { content: "STEP " counter(s, decimal-leading-zero); font-family: var(--mono); font-size: 13px; color: var(--yellow); letter-spacing: .08em; }
.steps strong { font-family: var(--head); font-size: 24px; text-transform: uppercase; }
.steps span { color: #D5DEE8; font-size: 15px; }

/* 表单 */
.form { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.form > .full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 15px; }
.field label .req { color: var(--stamp); }
.field input, .field select, .field textarea { font: inherit; font-size: 16px; min-height: 48px; padding: 10px 12px; border: 1px solid var(--grey); border-radius: 2px; background: var(--white); color: var(--ink); }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border: 2px solid var(--steel); padding: 9px 11px; }
.field .hint { font-size: 14px; color: var(--grey); }
.form-note { font-size: 14px; color: var(--grey); }
.form-ok { display: none; padding: 16px; border: 1px solid var(--zinc); border-left: 0; background: var(--light); font-weight: 500; }
.form-ok.show { display: block; }
.panel { border: 1px solid var(--zinc); padding: 32px; background: var(--white); }

/* 联系信息 */
.contact-list { display: grid; gap: 16px; }
.contact-list div { display: flex; flex-direction: column; }
.contact-list b { font-size: 14px; color: var(--grey); font-weight: 500; }
.map { width: 100%; height: 360px; border: 1px solid var(--zinc); }

/* 底部询价区 + 页脚 */
.cta .wrap { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; align-items: center; padding-top: 80px; padding-bottom: 80px; }
.cta-text { flex: 1 1 480px; display: flex; flex-direction: column; gap: 12px; }
.cta-text h2 { font-size: clamp(34px, 4vw, 52px); line-height: 1.05; }
.cta-text p { color: var(--zinc); max-width: 32em; }
.cta-btns { display: flex; flex-direction: column; gap: 12px; flex: 0 1 340px; }

.site-footer { background: var(--ink); color: var(--zinc); font-size: 15px; }
.site-footer .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; padding-top: 56px; padding-bottom: 32px; }
.site-footer .cols > div { display: flex; flex-direction: column; gap: 8px; }
.site-footer b { color: var(--white); font-weight: 600; }
.site-footer a { color: var(--zinc); }
.site-footer a:hover { color: var(--white); }
.foot-brand { font-family: var(--head); font-weight: 700; font-size: 24px; color: var(--white); letter-spacing: .04em; }
.copyright { border-top: 1px solid var(--steel); padding-top: 16px; padding-bottom: 32px; font-size: 13px; }

/* 手机底部固定询价栏 */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 12px; background: var(--white); border-top: 1px solid var(--zinc); }
  .mobile-bar .btn { min-height: 52px; padding: 0 10px; }
  body { padding-bottom: 72px; }
  .section { padding: 56px 0; }
  .wrap { padding: 0 16px; }
  .hero .wrap { padding-top: 32px; padding-bottom: 40px; gap: 24px; }
  .panel { padding: 20px; }
}

/* 中文版：汉字笔画密，行距放宽一些 */
html[lang="zh-Hans"] body { line-height: 1.8; }
html[lang="zh-Hans"] h1, html[lang="zh-Hans"] h2 { line-height: 1.3; letter-spacing: .02em; }
html[lang="zh-Hans"] h3 { line-height: 1.4; }
html[lang="zh-Hans"] .proof-num { font-size: 40px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
