/* YAOXIONG / 精密制造设计系统 v1.0
   重庆耀雄高科技有限公司 · 独立站点 · 零外部资源依赖 */

:root {
  --paper: #f3f4f1;
  --paper-2: #e9ece8;
  --white: #ffffff;
  --ink: #101a24;
  --ink-2: #3d4b58;
  --ink-3: #6d7a86;
  --line: #d5dcd8;
  --line-2: #bcc7c4;
  --blue: #16467c;
  --blue-2: #225fa3;
  --blue-soft: #e8eff6;
  --amber: #b67316;
  --dark: #101a24;
  --font-display: "Bahnschrift", "DIN Alternate", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "Cascadia Mono", "Consolas", "SFMono-Regular", ui-monospace, monospace;
  --max: 1240px;
  --r: 2px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
h1, h2, h3, h4, h5 { font-family: var(--font-display); margin: 0; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--blue); color: #fff; }

.container { width: min(var(--max), calc(100% - 56px)); margin-inline: auto; }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.eyebrow {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--blue); display: flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--blue); flex: none; }
.section-kicker { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; color: var(--ink-3); }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* 工程图纸网格背景 */
.blueprint {
  background-image:
    linear-gradient(to right, rgba(22, 70, 124, .055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(22, 70, 124, .055) 1px, transparent 1px);
  background-size: 32px 32px;
}
.crosshair { position: absolute; width: 18px; height: 18px; opacity: .5; pointer-events: none; }
.crosshair::before, .crosshair::after { content: ""; position: absolute; background: var(--blue); }
.crosshair::before { left: 0; right: 0; top: 50%; height: 1px; }
.crosshair::after { top: 0; bottom: 0; left: 50%; width: 1px; }

/* ============ 顶部信息条 ============ */
.topbar { background: var(--dark); color: #c9d3db; font-size: 12px; font-family: var(--font-mono); }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 34px; }
.topbar span { display: inline-flex; align-items: center; gap: 7px; }
.topbar a { color: #fff; border-bottom: 1px solid rgba(255,255,255,.35); padding-bottom: 1px; }
.topbar svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 1.7; }

/* ============ 页头 / 导航 ============ */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(243,244,241,.96); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand-mark { width: 38px; height: 38px; border: 1px solid var(--blue); display: grid; place-items: center; position: relative; color: var(--blue); }
.brand-mark::after { content: ""; position: absolute; inset: 4px; border: 1px solid rgba(22,70,124,.28); }
.brand-mark svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.4; }
.brand-name { font-family: var(--font-display); font-size: 17px; font-weight: 700; letter-spacing: .01em; line-height: 1.15; }
.brand-sub { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .09em; color: var(--ink-3); margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav > li { position: relative; }
.nav > li > a {
  display: flex; align-items: center; gap: 5px; padding: 12px 13px; font-size: 14px; font-weight: 500;
  color: var(--ink-2); white-space: nowrap; position: relative;
}
.nav > li > a::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 6px; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav > li > a:hover, .nav > li > a.active { color: var(--blue); }
.nav > li > a:hover::after, .nav > li > a.active::after { transform: scaleX(1); }
.nav .caret { width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.dropdown {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 208px; background: var(--white);
  border: 1px solid var(--line); border-top: 2px solid var(--blue); padding: 8px 0;
  box-shadow: 0 18px 36px rgba(16,26,36,.11); opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .24s var(--ease), transform .24s var(--ease), visibility .24s;
}
.nav > li:hover .dropdown, .nav > li:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: flex; align-items: center; justify-content: space-between; padding: 9px 16px; font-size: 13px; color: var(--ink-2); }
.dropdown a::after { content: "↗"; font-family: var(--font-mono); font-size: 11px; color: var(--line-2); }
.dropdown a:hover { background: var(--blue-soft); color: var(--blue); }
.header-cta { display: flex; align-items: center; gap: 10px; flex: none; }
.header-phone { font-family: var(--font-mono); font-size: 14px; font-weight: 700; color: var(--blue); display: flex; align-items: center; gap: 7px; }
.header-phone svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.7; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px;
  padding: 0 22px; font-size: 14px; font-weight: 600; letter-spacing: .01em; border: 1px solid var(--blue);
  background: var(--blue); color: #fff; transition: background .25s, color .25s, transform .25s var(--ease);
  position: relative; cursor: pointer;
}
.btn:hover { background: var(--blue-2); border-color: var(--blue-2); transform: translateY(-2px); }
.btn svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.btn-ghost { background: transparent; color: var(--blue); }
.btn-ghost:hover { background: var(--blue); color: #fff; }
.btn-light { background: #fff; border-color: #fff; color: var(--blue); }
.btn-light:hover { background: var(--blue-soft); border-color: var(--blue-soft); color: var(--blue); }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 13px; }
.menu-btn { display: none; width: 42px; height: 42px; border: 1px solid var(--line-2); background: #fff; align-items: center; justify-content: center; cursor: pointer; }
.menu-btn span { display: block; width: 18px; height: 1.5px; background: var(--ink); position: relative; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--ink); }
.menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }

/* ============ 面包屑 ============ */
.crumb { border-bottom: 1px solid var(--line); background: rgba(255,255,255,.5); }
.crumb .container { display: flex; align-items: center; gap: 9px; height: 44px; font-size: 12px; color: var(--ink-3); font-family: var(--font-mono); flex-wrap: wrap; }
.crumb a:hover { color: var(--blue); }
.crumb b { font-weight: 400; color: var(--ink-2); }

/* ============ 页面主视觉 ============ */
.page-hero { position: relative; border-bottom: 1px solid var(--line); overflow: hidden; background: #fff; }
.page-hero .container { padding: 62px 0 56px; position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: 64px; align-items: center; }
.page-hero h1 { font-size: clamp(30px, 4vw, 52px); margin: 16px 0 18px; max-width: 18ch; }
.page-hero .lead { font-size: 16px; color: var(--ink-2); max-width: 60ch; line-height: 1.9; margin-bottom: 26px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-index { font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); letter-spacing: .14em; margin-top: 28px; display: flex; gap: 18px; flex-wrap: wrap; }
.hero-index span { display: flex; align-items: center; gap: 7px; }
.hero-index span::before { content: ""; width: 5px; height: 5px; background: var(--blue); }
.hero-drawing { position: relative; aspect-ratio: 1; width: 100%; max-width: 330px; margin-left: auto; }
.hero-drawing svg { width: 100%; height: 100%; }
.hero-figure { position: relative; width: 100%; aspect-ratio: 4/3; overflow: hidden; border: 1px solid var(--line); }
.hero-figure img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) contrast(1.02); }
.hero-figure figcaption { position: absolute; left: 0; bottom: 0; background: var(--dark); color: #fff; font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; padding: 7px 12px; }

/* 首页主视觉 */
.home-hero { position: relative; background: #fff; border-bottom: 1px solid var(--line); overflow: hidden; }
.home-hero .container { padding: 84px 0 76px; position: relative; z-index: 2; }
.home-hero h1 { font-size: clamp(38px, 5.6vw, 74px); line-height: 1.08; max-width: 15ch; margin: 20px 0 24px; }
.home-hero h1 em { font-style: normal; color: var(--blue); }
.home-hero .lead { font-size: 16.5px; color: var(--ink-2); max-width: 58ch; line-height: 1.95; }
.home-hero .hero-actions { margin-top: 30px; }
.hero-visual { position: relative; }
.hero-visual::before { content: ""; position: absolute; inset: -18px -18px 18px 18px; border: 1px solid var(--line); }
.hero-visual img { width: 100%; aspect-ratio: 5/4; object-fit: cover; filter: saturate(.85); }
.hero-stamp { position: absolute; right: -1px; bottom: -1px; background: var(--blue); color: #fff; padding: 12px 16px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; line-height: 1.7; }
.hero-stamp b { display: block; font-size: 22px; letter-spacing: -.02em; }

/* ============ 区块通用 ============ */
.section { padding: 78px 0; }
.section.tight { padding: 54px 0; }
.section.alt { background: #fff; border-block: 1px solid var(--line); }
.section.dark { background: var(--dark); color: #e8eef2; border: 0; }
.section.dark .section-head h2, .section.dark h3 { color: #fff; }
.section.dark .eyebrow { color: #8fb6e0; }
.section.dark .eyebrow::before { background: #8fb6e0; }
.section-head { margin-bottom: 40px; display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(25px, 3vw, 38px); margin-top: 12px; }
.section-head .desc { color: var(--ink-3); font-size: 14px; max-width: 52ch; margin: 0; }
.section-head .aside { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; color: var(--ink-3); border-left: 2px solid var(--blue); padding-left: 12px; }
.section-num { font-family: var(--font-mono); font-size: 11px; color: var(--blue); letter-spacing: .14em; }

/* 指标条 */
.metric-band { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); background: #fff; }
.metric { padding: 26px 24px; border-right: 1px solid var(--line); }
.metric:last-child { border-right: 0; }
.metric .num { font-family: var(--font-display); font-size: clamp(28px, 3.4vw, 44px); font-weight: 700; color: var(--blue); line-height: 1; letter-spacing: -.03em; }
.metric .num small { font-size: 15px; margin-left: 3px; }
.metric .label { font-size: 12.5px; color: var(--ink-3); margin-top: 10px; }
.metric .idx { font-family: var(--font-mono); font-size: 10px; color: var(--line-2); letter-spacing: .1em; }

/* 卡片 */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); position: relative; overflow: hidden; transition: transform .35s var(--ease), border-color .35s, box-shadow .35s; }
.card:hover { transform: translateY(-4px); border-color: var(--blue); box-shadow: 0 16px 34px rgba(16,26,36,.09); }
.card-media { aspect-ratio: 4/3; overflow: hidden; background: var(--paper-2); position: relative; }
.card-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); transition: transform .6s var(--ease); }
.card:hover .card-media img { transform: scale(1.045); }
.card-tag { position: absolute; top: 0; left: 0; background: var(--blue); color: #fff; font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; padding: 6px 11px; }
.card-body { padding: 22px 22px 24px; }
.card-body h3 { font-size: 19px; margin-bottom: 9px; }
.card-body h3 a:hover { color: var(--blue); }
.card-body p { font-size: 13.5px; color: var(--ink-3); margin-bottom: 14px; line-height: 1.75; }
.card-meta { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { font-family: var(--font-mono); font-size: 10.5px; border: 1px solid var(--line-2); padding: 4px 9px; color: var(--ink-2); }
.card-link { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--blue); font-weight: 600; }
.card-link svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.8; transition: transform .25s; }
.card-link:hover svg { transform: translateX(4px); }

/* 编号特性卡 */
.feature { background: #fff; border: 1px solid var(--line); padding: 28px 26px 30px; position: relative; }
.feature::after { content: ""; position: absolute; left: 0; top: 0; width: 46px; height: 2px; background: var(--blue); }
.feature .fnum { font-family: var(--font-mono); font-size: 11px; color: var(--blue); letter-spacing: .12em; }
.feature h3 { font-size: 18px; margin: 14px 0 10px; }
.feature p { font-size: 13.5px; color: var(--ink-3); margin: 0; }
.feature .ficon { width: 38px; height: 38px; border: 1px solid var(--line); display: grid; place-items: center; margin-top: 18px; color: var(--blue); }
.feature .ficon svg { width: 19px; height: 19px; stroke: currentColor; fill: none; stroke-width: 1.5; }

/* 参数表 */
.spec-wrap { border: 1px solid var(--line); background: #fff; overflow-x: auto; }
.spec-table { width: 100%; border-collapse: collapse; min-width: 660px; font-size: 13.5px; }
.spec-table th, .spec-table td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.spec-table thead th { background: var(--blue); color: #fff; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; font-weight: 500; white-space: nowrap; }
.spec-table tbody tr:hover { background: var(--blue-soft); }
.spec-table tbody th { font-weight: 600; color: var(--ink); white-space: nowrap; }
.spec-table td { color: var(--ink-2); font-family: var(--font-mono); font-size: 12.5px; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.table-note { font-size: 12px; color: var(--ink-3); margin-top: 12px; font-family: var(--font-mono); }

/* 正文内容 */
.prose { max-width: 78ch; }
.prose h2 { font-size: 26px; margin: 44px 0 16px; padding-left: 14px; border-left: 3px solid var(--blue); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 19px; margin: 28px 0 12px; }
.prose p { color: var(--ink-2); line-height: 1.95; }
.prose ul { margin: 0 0 18px; }
.prose li { position: relative; padding-left: 20px; color: var(--ink-2); margin-bottom: 8px; }
.prose li::before { content: ""; position: absolute; left: 2px; top: .72em; width: 6px; height: 6px; border: 1px solid var(--blue); }
.callout { background: var(--blue-soft); border-left: 3px solid var(--blue); padding: 18px 22px; margin: 24px 0; font-size: 14px; color: var(--ink-2); }
.callout b { color: var(--blue); }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); background: #fff; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-weight: 600; font-size: 15px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-mono); font-size: 20px; color: var(--blue); flex: none; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 22px 20px; margin: 0; color: var(--ink-2); font-size: 14px; line-height: 1.9; max-width: 90ch; }

/* CTA / 表单 */
.cta { background: var(--dark); color: #fff; position: relative; overflow: hidden; }
.cta .container { padding: 66px 0; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 60px; align-items: center; position: relative; z-index: 2; }
.cta h2 { font-size: clamp(26px, 3.2vw, 40px); margin: 14px 0 16px; }
.cta .lead { color: #b9c6cf; font-size: 14.5px; max-width: 46ch; }
.cta-phone { font-family: var(--font-mono); font-size: clamp(26px, 3.4vw, 40px); font-weight: 700; color: #fff; display: block; margin: 18px 0 6px; letter-spacing: -.02em; }
.cta-phone:hover { color: #8fb6e0; }
.form-card { background: #fff; padding: 28px; color: var(--ink); border-top: 3px solid var(--blue); }
.form-card h3 { font-size: 19px; margin-bottom: 6px; }
.form-card .hint { font-size: 12px; color: var(--ink-3); margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-card input, .form-card select, .form-card textarea {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line); background: var(--paper);
  color: var(--ink); font-size: 14px; margin-bottom: 12px; outline: none; border-radius: 0;
}
.form-card input:focus, .form-card select:focus, .form-card textarea:focus { border-color: var(--blue); background: #fff; }
.form-card .btn { width: 100%; }
.form-note { font-size: 11px; color: var(--ink-3); margin-top: 12px; font-family: var(--font-mono); }
#successTip { display: none; margin-top: 12px; padding: 10px 12px; background: var(--blue-soft); color: var(--blue); font-size: 13px; }

/* 信任条 */
.trust { background: #fff; border-block: 1px solid var(--line); }
.trust .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { padding: 26px 18px; border-right: 1px solid var(--line); display: flex; gap: 12px; align-items: flex-start; }
.trust-item:last-child { border-right: 0; }
.trust-item svg { width: 20px; height: 20px; stroke: var(--blue); fill: none; stroke-width: 1.5; flex: none; margin-top: 3px; }
.trust-item strong { display: block; font-size: 14px; }
.trust-item span { display: block; font-size: 11.5px; color: var(--ink-3); margin-top: 3px; }

/* 页脚 */
.site-footer { background: #0c151d; color: #aab7c1; padding-top: 58px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 34px; padding-bottom: 44px; }
.site-footer h4 { color: #fff; font-size: 14px; margin-bottom: 16px; font-family: var(--font-display); }
.site-footer .fabout { font-size: 13px; line-height: 1.9; max-width: 34ch; }
.site-footer li { font-size: 12.5px; margin-bottom: 9px; }
.site-footer li a:hover { color: #fff; }
.site-footer li svg { width: 13px; height: 13px; stroke: #6f8ba6; fill: none; stroke-width: 1.6; margin-right: 6px; vertical-align: -2px; }
.footer-brand { font-family: var(--font-display); color: #fff; font-size: 17px; margin-bottom: 12px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0 26px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 11.5px; font-family: var(--font-mono); }
.footer-bottom a:hover { color: #fff; }

/* 悬浮工具 */
.float-tools { position: fixed; right: 18px; bottom: 24px; z-index: 55; display: flex; flex-direction: column; gap: 8px; }
.float-tools button, .float-tools a { width: 42px; height: 42px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line-2); color: var(--blue); cursor: pointer; transition: background .25s, color .25s; position: relative; }
.float-tools button:hover, .float-tools a:hover { background: var(--blue); color: #fff; }
.float-tools svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.7; }
.float-tools .qr-pop { display: none; position: absolute; right: 50px; bottom: 0; background: #fff; border: 1px solid var(--line); padding: 8px; width: 132px; }
.float-tools .qr-pop img { width: 100%; }
.float-tools .qr-wrap:hover .qr-pop { display: block; }
.float-tools .to-top { opacity: 0; pointer-events: none; transition: opacity .3s; }
.float-tools .to-top.show { opacity: 1; pointer-events: auto; }

/* 动效 */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
@keyframes draw { from { stroke-dashoffset: 900; } to { stroke-dashoffset: 0; } }
.draw-line { stroke-dasharray: 900; animation: draw 2.4s var(--ease) forwards; }
@keyframes spin-slow { to { transform: rotate(360deg); } }
.fan-spin { transform-box: view-box; transform-origin: 160px 160px; animation: spin-slow 26s linear infinite; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ============ 响应式 ============ */
@media (max-width: 1120px) {
  .nav > li > a { padding: 12px 9px; font-size: 13px; }
  .header-phone { display: none; }
  .footer-grid { grid-template-columns: 1.5fr repeat(3, 1fr); }
  .footer-grid > div:last-child { grid-column: span 3; }
}
@media (max-width: 940px) {
  .header-inner { height: 66px; }
  .menu-btn { display: flex; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0 18px; max-height: calc(100vh - 66px);
    overflow-y: auto; display: none; box-shadow: 0 18px 30px rgba(16,26,36,.12);
  }
  .nav.open { display: flex; }
  .nav > li > a { padding: 13px 24px; justify-content: space-between; border-bottom: 1px solid var(--line); font-size: 15px; }
  .nav > li > a::after { display: none; }
  .nav .caret { transform: rotate(45deg); }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; border-left: 2px solid var(--blue-soft); margin: 0 24px 6px; padding: 4px 0; min-width: 0; background: var(--paper); }
  .dropdown a { padding: 8px 14px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-drawing { max-width: 240px; margin: 0; }
  .home-hero .container { padding: 56px 0 52px; }
  .cta .container { grid-template-columns: 1fr; gap: 34px; padding: 52px 0; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid > div:last-child { grid-column: auto; }
  .trust .container { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .container { width: calc(100% - 32px); }
  .topbar .container { font-size: 10px; height: 30px; }
  .topbar .hide-sm { display: none; }
  .brand-name { font-size: 14px; }
  .brand-sub { font-size: 8px; }
  .brand-mark { width: 34px; height: 34px; }
  .header-cta .btn { display: none; }
  .section { padding: 52px 0; }
  .section.tight { padding: 38px 0; }
  .page-hero .container { padding: 42px 0 38px; }
  .page-hero h1 { font-size: 30px; }
  .home-hero h1 { font-size: 34px; }
  .hero-visual::before { display: none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .metric-band { grid-template-columns: repeat(2, 1fr); }
  .metric:nth-child(2) { border-right: 0; }
  .metric:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .metric { padding: 18px 16px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; }
  .float-tools { right: 10px; bottom: 14px; }
  .float-tools button, .float-tools a { width: 38px; height: 38px; }
  .section-head { margin-bottom: 28px; }
  .hero-actions .btn { flex: 1 1 auto; }
}

/* ============ 本地实拍素材组件 v1.1（现场影像 / 实拍图集 / 技术图解） ============ */
.film-grid { display: grid; grid-template-columns: repeat(var(--film-cols, 3), minmax(0, 1fr)); gap: 18px; }
.film-card { background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; min-width: 0; }
.film-frame {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden; background-color: var(--dark);
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 24px 24px;
}
.film-frame video { width: 100%; height: 100%; object-fit: contain; display: block; background: var(--dark); }
.film-badge {
  position: absolute; right: 10px; top: 10px; font: 11px/1 var(--font-mono); letter-spacing: .06em;
  color: #dbe6f2; background: rgba(16,26,36,.8); border: 1px solid rgba(255,255,255,.18); padding: 6px 8px;
}
.film-meta { padding: 16px 18px 18px; border-top: 1px solid var(--line); }
.film-meta .fnum { font: 11px var(--font-mono); letter-spacing: .08em; color: var(--blue); }
.film-meta h3 { font-size: 16px; margin: 8px 0 6px; }
.film-meta p { font-size: 12.5px; line-height: 1.65; color: var(--ink-3); margin: 0; }
.film-note { margin: 18px 0 0; font-size: 12px; color: var(--ink-3); }

.photo-grid { display: grid; grid-template-columns: repeat(var(--photo-cols, 4), minmax(0, 1fr)); gap: 14px; }
.photo-item { margin: 0; background: var(--white); border: 1px solid var(--line); min-width: 0; }
.photo-frame { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.photo-item:hover .photo-frame img { transform: scale(1.035); }
.photo-item figcaption {
  display: flex; align-items: center; gap: 9px; padding: 10px 12px; font-size: 12.5px;
  color: var(--ink-2); border-top: 1px solid var(--line); line-height: 1.4;
}
.photo-item figcaption span { font: 11px var(--font-mono); color: var(--blue); border-right: 1px solid var(--line); padding-right: 9px; }

.diagram-grid { display: grid; grid-template-columns: repeat(var(--diagram-cols, 3), minmax(0, 1fr)); gap: 16px; }
.diagram-card { margin: 0; background: var(--white); border: 1px solid var(--line); min-width: 0; }
.diagram-frame {
  aspect-ratio: 16 / 10; background: var(--white); border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.diagram-frame img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.diagram-card figcaption { padding: 14px 16px 18px; }
.diagram-card .fnum { font: 11px var(--font-mono); letter-spacing: .08em; color: var(--blue); }
.diagram-card h3 { font-size: 16px; margin: 8px 0 6px; }
.diagram-card p { font-size: 12.5px; line-height: 1.65; color: var(--ink-3); margin: 0; }

@media (max-width: 940px) {
  .film-grid, .photo-grid, .diagram-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .film-grid, .photo-grid, .diagram-grid { grid-template-columns: 1fr; }
}
