/* Zirconn 主题样式。配色、字体按 RFQ 开发说明（深蓝 #0A1C37、红 #EC4032、Poppins / IBM Plex Mono、胶囊按钮）。
   品牌红对白底只有 3.9:1，按钮底色和小字用压暗的 --red-ui（4.9:1），品牌红只做装饰和大字。 */

:root {
	--navy: #0a1c37;
	--navy-2: #12284b;
	--navy-line: #24365a;
	--navy-muted: #a9b3c4;
	--red: #ec4032;
	--red-ui: #d23426;
	--red-ui-hover: #b8291c;
	--ink: #333333;
	--ink-strong: #14181f;
	--muted: #676d79;
	--line: #e2e5eb;
	--bg: #f9f9f9;
	--surface: #ffffff;
	--sunk: #f1f3f7;
	--good: #17784d;
	--good-bg: #dff1e8;
	--warn: #8a5a00;
	--warn-bg: #f8ecc9;
	--bad: #b42318;
	--bad-bg: #fbe3e0;
	--sans: "Poppins", "Helvetica Neue", "Segoe UI", Arial, sans-serif;
	--mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
	--header-h: 72px;
	--radius: 8px;
}

*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.65 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red-ui); text-underline-offset: 3px; }
a:hover { color: var(--red-ui-hover); }
:focus-visible { outline: 2px solid var(--red-ui); outline-offset: 2px; }
h1, h2, h3, h4 { color: var(--ink-strong); line-height: 1.2; margin: 0 0 .5em; font-weight: 600; text-wrap: balance; }
h1 { font-size: clamp(30px, 4.2vw, 52px); font-weight: 700; }
h2 { font-size: clamp(24px, 2.6vw, 34px); }
h3 { font-size: 19px; }
p { margin: 0 0 1em; }
.mono { font-family: var(--mono); }
.num { font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: 1200px; margin-inline: auto; padding-inline: 16px; }
@media (min-width: 768px) { .wrap { padding-inline: 24px; } }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 100; border-radius: 4px; }
.skip:focus { left: 8px; }

/* ---------- 按钮 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--red-ui); background: var(--red-ui); color: #fff; border-radius: 999px; padding: 11px 26px; font: 500 15px/1.3 var(--sans); text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s; white-space: nowrap; }
.btn:hover { background: var(--red-ui-hover); border-color: var(--red-ui-hover); color: #fff; }
.btn.ghost { background: transparent; color: var(--red-ui); }
.btn.ghost:hover { background: var(--red-ui); color: #fff; }
.btn.light { background: #fff; color: var(--navy); border-color: #fff; }
.btn.light:hover { background: transparent; color: #fff; }
.btn.outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn.outline-light:hover { background: #fff; color: var(--navy); }
.btn.sm { padding: 7px 16px; font-size: 14px; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { font-weight: 500; text-decoration: none; }
.link-arrow::after { content: " →"; }

/* ---------- 页头 ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--surface); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); }
.logo { flex: none; display: block; }
.logo img { width: 140px; height: auto; }
.nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav > ul { display: flex; align-items: center; gap: 2px; }
.nav li { position: relative; }
.nav a { display: block; padding: 10px 11px; color: var(--ink-strong); text-decoration: none; font-size: 14.5px; font-weight: 500; white-space: nowrap; border-radius: 6px; }
.nav a:hover,
.nav .current-menu-item > a,
.nav .current-menu-ancestor > a,
.nav .current_page_ancestor > a { color: var(--red-ui); }
.nav .sub-menu { position: absolute; left: 0; top: 100%; min-width: 250px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 32px rgba(10,28,55,.12); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; }
.nav li:hover > .sub-menu,
.nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.nav .sub-menu a { font-weight: 400; padding: 8px 12px; }
.nav .sub-menu a:hover { background: var(--sunk); }
.header-tools { display: flex; align-items: center; gap: 10px; flex: none; }
.lang { display: flex; gap: 2px; font-size: 13px; }
.lang a { color: var(--muted); text-decoration: none; padding: 4px 6px; border-radius: 4px; font-weight: 500; }
.lang a[aria-current] { color: var(--ink-strong); background: var(--sunk); }
.menu-toggle { display: none; border: 1px solid var(--line); background: var(--surface); border-radius: 8px; width: 44px; height: 40px; padding: 0; cursor: pointer; }
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after { display: block; width: 20px; height: 2px; background: var(--ink-strong); margin: 0 auto; position: relative; transition: .2s; content: ""; }
.menu-toggle span::before { position: absolute; top: -6px; }
.menu-toggle span::after { position: absolute; top: 6px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1180px) {
	.menu-toggle { display: block; }
	.header-tools { margin-left: auto; }
	.header-tools .btn { display: none; }
	.nav { position: fixed; inset: var(--header-h) 0 0 0; background: var(--surface); overflow-y: auto; padding: 12px 16px 40px; margin: 0; display: none; border-top: 1px solid var(--line); }
	.nav.open { display: block; }
	.nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
	.nav a { padding: 13px 4px; font-size: 16px; border-bottom: 1px solid var(--line); border-radius: 0; }
	.nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 16px; min-width: 0; }
	.nav .mobile-quote { display: block; margin-top: 20px; }
	body.menu-open { overflow: hidden; }
}
@media (min-width: 1181px) { .nav .mobile-quote { display: none; } }
@media (max-width: 420px) { .logo img { width: 116px; } }

/* ---------- 首屏 ---------- */
.hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.hero-bg { position: absolute; top: 0; right: 0; width: 62%; height: 100%; object-fit: cover; object-position: left center; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--navy) 0%, var(--navy) 38%, rgba(10,28,55,.55) 60%, rgba(10,28,55,.1) 82%); }
.hero .wrap { position: relative; z-index: 2; padding-top: 88px; padding-bottom: 150px; }
.hero h1 { color: #fff; max-width: 600px; margin-bottom: 20px; }
.hero h1 span { color: var(--red); }
.hero p { max-width: 540px; font-size: 18px; color: rgba(255,255,255,.88); margin-bottom: 30px; }
@media (max-width: 860px) {
	.hero-bg { width: 100%; object-position: center; }
	.hero::before { background: linear-gradient(180deg, rgba(10,28,55,.94), rgba(10,28,55,.8)); }
	.hero .wrap { padding-top: 56px; padding-bottom: 120px; }
	.hero p { font-size: 16px; }
}

/* ---------- 快速报价框（压在首屏下沿） ---------- */
.quick { position: relative; z-index: 3; margin-top: -96px; }
.quick-card { background: var(--surface); border-radius: 12px; box-shadow: 0 18px 48px rgba(10,28,55,.16); padding: 22px 24px; }
.quick-card h2 { font-size: 20px; margin-bottom: 14px; }
.quick-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)) auto; gap: 12px; align-items: end; }
.quick-grid .size { grid-column: span 2; }
.quick-grid .file { grid-column: span 4; }
.quick-grid .actions { grid-column: span 3; justify-self: end; }
.quick-grid .size .pair { display: flex; align-items: center; gap: 6px; }
.quick-grid .size .pair span { color: var(--muted); }
.quick-note { margin: 12px 0 0; font-size: 13.5px; color: var(--muted); }
@media (max-width: 1100px) { .quick-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .quick-grid .file { grid-column: span 2; } .quick-grid .actions { grid-column: span 2; } }
@media (max-width: 560px) { .quick-grid { grid-template-columns: 1fr 1fr; } .quick-grid .size, .quick-grid .file, .quick-grid .actions { grid-column: 1 / -1; justify-self: stretch; } .quick-grid .actions .btn { width: 100%; } .quick-card { padding: 18px 16px; } }

/* ---------- 表单控件 ---------- */
.field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.field > span,
.field > label { font-size: 13px; font-weight: 500; color: var(--ink-strong); }
.field .req { color: var(--red-ui); }
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=date], select, textarea {
	width: 100%; border: 1px solid #c9ced8; border-radius: 6px; background: #fff; padding: 9px 11px; font: 400 15px/1.4 var(--sans); color: var(--ink-strong); }
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid rgba(210,52,38,.35); border-color: var(--red-ui); }
input[type=checkbox], input[type=radio] { accent-color: var(--red-ui); width: 18px; height: 18px; }
input[type=file] { font: inherit; font-size: 14px; max-width: 100%; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.55; }
.consent input { flex: none; margin-top: 2px; }
.hint { font-size: 13px; color: var(--muted); margin: 0; }
.form-status { margin: 12px 0 0; font-size: 15px; }
.form-status.ok { color: var(--good); }
.form-status.err { color: var(--bad); }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- 区块 ---------- */
.section { padding: 80px 0; }
.section.tight { padding: 56px 0; }
.section.white { background: var(--surface); }
.section.navy { background: var(--navy); color: rgba(255,255,255,.88); }
.section.navy h2, .section.navy h3 { color: #fff; }
.section-head { max-width: 760px; margin-bottom: 36px; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head p { color: var(--muted); font-size: 17px; margin: 0; }
.section.navy .section-head p { color: var(--navy-muted); }
.kicker { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--red-ui); margin-bottom: 10px; }
.section.navy .kicker { color: #fff; border-bottom: 2px solid var(--red); padding-bottom: 2px; }
.section-foot { margin-top: 28px; }
@media (max-width: 768px) { .section { padding: 56px 0; } .section.tight { padding: 40px 0; } }

/* 关键数字 */
.figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.figure { background: var(--surface); padding: 22px 18px; }
.figure b { display: block; font-size: clamp(24px, 6.2vw, 32px); font-weight: 700; color: var(--navy); line-height: 1.1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.figure span { display: block; margin-top: 6px; font-size: 14px; color: var(--muted); line-height: 1.45; }

/* 卡片 */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 10px; transition: border-color .2s, box-shadow .2s; }
.card h3 { margin: 0; }
.card p { margin: 0; color: var(--muted); }
.card .link-arrow { margin-top: auto; padding-top: 6px; }
a.card { text-decoration: none; color: inherit; }
a.card:hover { border-color: var(--red-ui); box-shadow: 0 10px 28px rgba(10,28,55,.08); }
.card .icon { width: 44px; height: 44px; border-radius: 10px; background: #fdecea; color: var(--red-ui); display: grid; place-items: center; }
.card .icon svg { width: 24px; height: 24px; }

/* 工艺能力表 */
.cap-switch { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 4px; background: var(--surface); margin-bottom: 16px; }
.cap-switch button { border: 0; background: none; padding: 8px 20px; border-radius: 999px; font: 500 14px var(--sans); color: var(--muted); cursor: pointer; }
.cap-switch button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table.data { width: 100%; border-collapse: collapse; font-size: 15px; }
table.data th, table.data td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data tr:last-child th, table.data tr:last-child td { border-bottom: 0; }
table.data thead th { background: var(--navy); color: #fff; font-weight: 500; font-size: 14px; }
table.data tbody th { font-weight: 500; color: var(--ink-strong); width: 32%; background: #fafbfc; }
.cap-table td.is-off { color: #9aa1ad; }
.cap-table[data-tier="standard"] .col-advanced,
.cap-table[data-tier="advanced"] .col-standard { color: #8f96a3; }
.cap-table[data-tier="standard"] td.col-standard,
.cap-table[data-tier="advanced"] td.col-advanced { color: var(--ink-strong); font-weight: 500; }
@media (max-width: 640px) {
	.cap-table[data-tier="standard"] .col-advanced,
	.cap-table[data-tier="advanced"] .col-standard { display: none; }
	table.data th, table.data td { padding: 10px 12px; font-size: 14px; }
}

/* How we work */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-top: 58px; }
.steps li::before { content: counter(step); position: absolute; top: 0; left: 0; width: 42px; height: 42px; border-radius: 50%; background: var(--red-ui); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: 17px; }
.steps li::after { content: ""; position: absolute; top: 21px; left: 52px; right: -10px; height: 2px; background: var(--navy-line); }
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 17px; margin-bottom: 6px; }
.steps p { font-size: 14.5px; margin: 0; color: var(--navy-muted); }
.section:not(.navy) .steps p { color: var(--muted); }
.section:not(.navy) .steps li::after { background: var(--line); }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr; gap: 0; } .steps li { padding: 0 0 24px 60px; } .steps li::after { left: 20px; top: 46px; bottom: 4px; right: auto; width: 2px; height: auto; } }

/* 产品案例（横向轨道：首个吸附点在 0，左右内边距用 scroll-padding 对齐，见 CLAUDE.md） */
.cases { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(270px, 1fr); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin; }
.cases > * { scroll-snap-align: start; }
.cases.grid { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); overflow: visible; }
.case { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.case-visual { aspect-ratio: 16 / 10; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; position: relative; display: flex; align-items: flex-end; padding: 18px; }
.case-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.case-visual .layers { position: relative; font-size: 46px; font-weight: 700; line-height: 1; }
.case-visual .layers small { font-size: 15px; font-weight: 500; margin-left: 6px; color: var(--navy-muted); }
.case-visual .stack { position: absolute; right: 18px; top: 18px; bottom: 18px; width: 38%; display: flex; flex-direction: column; justify-content: center; gap: 3px; }
.case-visual .stack i { display: block; height: 4px; border-radius: 2px; background: rgba(255,255,255,.22); }
.case-visual .stack i:nth-child(odd) { background: rgba(236,64,50,.85); }
.case-body { padding: 18px 20px 20px; }
.case-body h3 { font-size: 17px; margin-bottom: 10px; }
.case-body dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; font-size: 14px; }
.case-body dt { color: var(--muted); }
.case-body dd { margin: 0; color: var(--ink-strong); }
.rail-nav { display: flex; gap: 8px; }
.rail-nav button { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); cursor: pointer; font-size: 18px; color: var(--ink-strong); }
.rail-nav button:hover { border-color: var(--red-ui); color: var(--red-ui); }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.head-row .section-head { margin-bottom: 0; }

/* 行业环形图 + 世界地图 */
.viz-row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 960px) { .viz-row { grid-template-columns: 1fr; } }
.viz-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.viz-card h3 { margin-bottom: 4px; }
.viz-card .sub { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.donut-wrap { display: grid; grid-template-columns: minmax(180px, 230px) 1fr; gap: 24px; align-items: center; }
@media (max-width: 520px) { .donut-wrap { grid-template-columns: 1fr; justify-items: center; } }
.donut { width: 100%; max-width: 230px; aspect-ratio: 1; position: relative; }
.donut svg { width: 100%; height: 100%; overflow: visible; }
.donut path { stroke: var(--surface); stroke-width: 2; cursor: pointer; transition: opacity .15s, transform .15s; transform-origin: 50% 50%; }
.donut.has-focus path:not(.on) { opacity: .28; }
.donut-center { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; pointer-events: none; }
.donut-center b { display: block; font-size: 30px; font-weight: 700; color: var(--ink-strong); line-height: 1; }
.donut-center span { display: block; font-size: 12.5px; color: var(--muted); max-width: 110px; margin-top: 4px; line-height: 1.3; }
.legend { list-style: none; margin: 0; padding: 0; width: 100%; font-size: 14.5px; }
.legend li { display: grid; grid-template-columns: 14px 1fr auto; gap: 10px; align-items: center; padding: 6px 8px; border-radius: 6px; cursor: default; }
.legend li.on { background: var(--sunk); }
.legend i { width: 12px; height: 12px; border-radius: 3px; display: block; }
.legend b { font-weight: 600; color: var(--ink-strong); font-variant-numeric: tabular-nums; }
.map { position: relative; }
.map svg { width: 100%; height: auto; display: block; }
.map .land path { fill: #dfe3ea; }
.map .bubble circle { fill: var(--red); fill-opacity: .85; stroke: #fff; stroke-width: 2; }
.map .bubble text { font: 600 22px var(--sans); fill: var(--ink-strong); }
.map .bubble text.name { font-weight: 400; font-size: 17px; fill: var(--muted); }
.map .bubble:hover circle,
.map .bubble:focus circle { fill-opacity: 1; }
.viz-table { margin-top: 14px; font-size: 13.5px; color: var(--muted); }

/* 证书 */
.certs { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.cert { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; gap: 14px; align-items: flex-start; }
.cert .seal { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--red-ui); color: var(--red-ui); display: grid; place-items: center; }
.cert .seal svg { width: 22px; height: 22px; }
.cert h3 { font-size: 16.5px; margin-bottom: 2px; }
.cert p { margin: 0; color: var(--muted); font-size: 14px; }
.cert-thumb { display: block; width: 100%; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; margin-bottom: 12px; }

/* 两地 */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 800px) { .duo { grid-template-columns: 1fr; } }
.place { position: relative; border-radius: 12px; overflow: hidden; min-height: 300px; background: var(--navy); color: #fff; display: flex; align-items: flex-end; }
.place img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.place::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,28,55,0) 30%, rgba(10,28,55,.9) 100%); }
.place .txt { position: relative; z-index: 1; padding: 24px; }
.place h3 { color: #fff; margin-bottom: 4px; }
.place p { margin: 0; color: rgba(255,255,255,.85); font-size: 14.5px; }
.place.no-photo { background: linear-gradient(135deg, var(--navy), var(--navy-2)); }
.place.no-photo::after { display: none; }

/* 行动号召 */
.cta-band { background: var(--navy); color: #fff; border-radius: 14px; padding: 44px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; margin: 0; }
.cta-band::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--red); }
@media (max-width: 600px) { .cta-band { padding: 30px 24px; } }

/* ---------- 内页 ---------- */
.page-banner { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.page-banner .wrap { position: relative; z-index: 2; padding-top: 44px; padding-bottom: 46px; }
.page-banner img.bg { position: absolute; right: 0; top: 0; width: 50%; height: 100%; object-fit: cover; }
.page-banner.has-bg::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--navy) 0%, var(--navy) 45%, rgba(10,28,55,.4) 75%, rgba(10,28,55,.15) 100%); }
.page-banner h1 { color: #fff; font-size: clamp(28px, 3.4vw, 44px); margin-bottom: 12px; max-width: 760px; }
.page-banner h1::after { content: ""; display: block; width: 48px; height: 3px; background: var(--red); margin-top: 14px; border-radius: 2px; }
.page-banner p { color: var(--navy-muted); max-width: 640px; font-size: 17px; margin: 0; }
.crumbs { font-size: 13.5px; color: var(--navy-muted); margin-bottom: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--navy-muted); text-decoration: none; }
.crumbs a:hover { color: #fff; }
.crumbs .sep { color: var(--red); }
@media (max-width: 860px) { .page-banner img.bg { width: 100%; } .page-banner.has-bg::before { background: rgba(10,28,55,.86); } }

.prose { max-width: 820px; font-size: 17px; }
.prose h2 { font-size: 26px; margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: 15px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; }
.layout-2 { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 48px; align-items: start; }
@media (max-width: 900px) { .layout-2 { grid-template-columns: 1fr; gap: 32px; } }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.panel h2, .panel h3 { margin-top: 0; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.facts li { display: flex; gap: 12px; }
.facts li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--red); margin-top: 10px; }
.mvg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 760px) { .mvg { grid-template-columns: 1fr; } }
.mvg .card { border-top: 3px solid var(--red); }

/* 工厂照片 */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.gallery figure { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.gallery a { display: block; }
.gallery img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.gallery figcaption { padding: 12px 16px; font-weight: 500; color: var(--ink-strong); font-size: 15px; }
dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1000px, 94vw); }
dialog.lightbox::backdrop { background: rgba(6,15,31,.85); }
dialog.lightbox img { max-height: 84vh; width: auto; margin: 0 auto; border-radius: 6px; }
dialog.lightbox p { color: #fff; text-align: center; margin: 10px 0 0; }
dialog.lightbox button { position: absolute; top: 8px; right: 8px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(0,0,0,.6); color: #fff; font-size: 22px; cursor: pointer; }

/* 联系 */
.offices { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 700px) { .offices { grid-template-columns: 1fr; } }
.office h3 { margin-bottom: 8px; }
.office p { margin: 0 0 4px; font-size: 15px; }
.office .label { color: var(--muted); }
.map-frame { width: 100%; aspect-ratio: 16 / 9; border: 1px solid var(--line); border-radius: var(--radius); background: var(--sunk); }

/* 报价表单标签页 */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 24px; overflow-x: auto; }
.tabs button { border: 0; background: none; padding: 12px 18px; font: 500 15px var(--sans); color: var(--muted); border-bottom: 3px solid transparent; cursor: pointer; white-space: nowrap; }
.tabs button[aria-selected="true"] { color: var(--ink-strong); border-bottom-color: var(--red-ui); }
.tabs button:hover { color: var(--red-ui); }
[role="tabpanel"][hidden] { display: none; }

/* 资料 */
.incoterms td:first-child { font-family: var(--mono); font-weight: 500; white-space: nowrap; }
.chip { display: inline-block; font-size: 12.5px; font-weight: 500; padding: 2px 10px; border-radius: 999px; white-space: nowrap; }
.chip.good { background: var(--good-bg); color: var(--good); }
.chip.warn { background: var(--warn-bg); color: var(--warn); }
.chip.bad { background: var(--bad-bg); color: var(--bad); }
.chip.neu { background: var(--sunk); color: var(--muted); }

/* ---------- Components：流程动画、演示表、上传 BOM ---------- */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; position: relative; }
.flow::before { content: ""; position: absolute; top: 27px; left: 10%; right: 10%; height: 3px; background: var(--line); }
.flow::after { content: ""; position: absolute; top: 27px; left: 10%; height: 3px; width: 0; background: var(--red); transition: width 2.4s ease-out; }
.flow.run::after { width: 80%; }
.flow li { position: relative; text-align: center; opacity: .35; transform: translateY(8px); transition: opacity .5s, transform .5s; }
.flow.run li { opacity: 1; transform: none; }
.flow.run li:nth-child(2) { transition-delay: .5s; }
.flow.run li:nth-child(3) { transition-delay: 1s; }
.flow.run li:nth-child(4) { transition-delay: 1.5s; }
.flow.run li:nth-child(5) { transition-delay: 2s; }
.flow b { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 12px; border-radius: 50%; background: var(--surface); border: 3px solid var(--red); color: var(--red-ui); font-size: 20px; position: relative; z-index: 1; }
.flow span { display: block; font-weight: 500; color: var(--ink-strong); font-size: 15px; line-height: 1.4; }
.flow small { display: block; color: var(--muted); font-size: 13px; margin-top: 4px; }
@media (max-width: 860px) { .flow { grid-template-columns: 1fr; text-align: left; } .flow::before, .flow::after { display: none; } .flow li { text-align: left; display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: center; } .flow b { margin: 0; } }
@media (prefers-reduced-motion: reduce) { .flow li, .flow::after { transition: none; } }
.demo-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 16px; }
.demo-stats div { background: var(--surface); padding: 14px 16px; }
.demo-stats span { display: block; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.demo-stats b { font-size: 22px; color: var(--navy); font-variant-numeric: tabular-nums; }
table.data.demo td, table.data.demo th { font-size: 14px; padding: 9px 12px; vertical-align: middle; }
table.data.demo .desc { display: block; color: var(--muted); font-size: 12.5px; }
table.data.demo td.n { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.benefits { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; }
.benefits li { display: flex; gap: 12px; }
.benefits li::before { content: "✓"; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--good-bg); color: var(--good); display: grid; place-items: center; font-weight: 700; font-size: 14px; }
@media (max-width: 700px) { .benefits { grid-template-columns: 1fr; } }
.bom-tool .row { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: flex-end; }
.bom-tool textarea { font-family: var(--mono); font-size: 13px; min-height: 140px; }
.bom-map { display: flex; flex-wrap: wrap; gap: 10px; }
.bom-map .field { width: 170px; }
.note { border-left: 3px solid var(--red); background: #eef1f6; padding: 10px 14px; border-radius: 0 6px 6px 0; font-size: 14.5px; }
.bom-preview { max-height: 420px; overflow: auto; }
.bom-preview th { position: sticky; top: 0; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--navy); color: var(--navy-muted); font-size: 14.5px; margin-top: 0; }
.site-footer .wrap { padding-top: 56px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr) 1.5fr; gap: 32px; }
.foot-grid h2 { color: #fff; font-size: 15px; font-weight: 600; margin: 0 0 14px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.foot-grid a { color: var(--navy-muted); text-decoration: none; }
.foot-grid a:hover { color: #fff; }
.foot-grid li a::before { content: "›"; color: var(--red); margin-right: 8px; font-weight: 600; }
.foot-about img { width: 130px; margin-bottom: 14px; }
.foot-about p { margin: 0; }
.foot-contact p { margin: 0 0 10px; }
.foot-contact b { color: #fff; font-weight: 500; }
.foot-base { border-top: 1px solid var(--navy-line); margin-top: 44px; padding: 18px 0 22px; display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between; font-size: 13.5px; }
.foot-base nav, .foot-base .legal-links { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; margin: 0; padding: 0; }
.foot-base a { color: var(--navy-muted); }
.foot-base a:hover { color: #fff; }
@media (max-width: 1000px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-about { grid-column: 1 / -1; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

/* 404 */
.notfound { text-align: center; padding: 100px 0; }

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