/* ==========================================================================
   上海排水证办理服务中心 · 全站样式
   纯静态 / 无外部依赖 / 移动优先 / 语义化结构
   ========================================================================== */

:root {
  --ink:        #0d2438;
  --brand:      #0a5ca8;
  --brand-dark: #084a8a;
  --brand-soft: #e8f2fc;
  --teal:       #0e9aa7;
  --teal-soft:  #e3f6f7;
  --amber:      #e8890c;
  --amber-soft: #fff3e0;
  --text:       #24384a;
  --muted:      #60798d;
  --line:       #dce7f0;
  --line-soft:  #eaf1f7;
  --bg:         #ffffff;
  --bg-soft:    #f5f9fc;
  --bg-deep:    #0d2b45;
  --white:      #ffffff;
  --shadow-sm:  0 2px 12px rgba(13, 43, 69, .06);
  --shadow:     0 10px 34px rgba(13, 43, 69, .09);
  --radius:     14px;
  --radius-sm:  9px;
  --maxw:       1200px;
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei",
          "Source Han Sans SC", "Noto Sans CJK SC", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.78;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); text-decoration: underline; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.35; margin: 0 0 .6em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(28px, 3.6vw, 44px); }
h2 { font-size: clamp(23px, 2.5vw, 32px); }
h3 { font-size: 19px; }
h4 { font-size: 17px; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.35em; }
li { margin: .3em 0; }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 3px; }

.container { width: min(100% - 40px, var(--maxw)); margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--brand); color: #fff; padding: 10px 18px; z-index: 999; }
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Top bar ---------- */
.topbar { background: var(--bg-deep); color: #c6d9e9; font-size: 13px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; flex-wrap: wrap; }
.topbar strong { color: #fff; font-weight: 600; }
.topbar a { color: #ffd79a; }
.topbar a:hover { color: #fff; }
.topbar .tb-right { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }

/* ---------- Header / nav ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-wrap { display: flex; align-items: center; gap: 20px; min-height: 70px; }
.logo { display: flex; align-items: center; gap: 11px; flex-shrink: 0; color: var(--ink); }
.logo:hover { text-decoration: none; }
.logo-mark { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 11px; background: linear-gradient(145deg, var(--brand), var(--teal)); display: grid; place-items: center; box-shadow: 0 4px 12px rgba(10,92,168,.24); }
.logo-mark svg { width: 25px; height: 25px; }
.logo-text b { display: block; font-size: 17px; line-height: 1.25; letter-spacing: .01em; }
.logo-text small { display: block; font-size: 11px; color: var(--muted); letter-spacing: .16em; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav > a { color: var(--text); font-size: 14.5px; font-weight: 600; padding: 9px 11px; border-radius: 8px; white-space: nowrap; }
.nav > a:hover, .nav > a[aria-current="page"] { color: var(--brand); background: var(--brand-soft); text-decoration: none; }
/* .nav > a 特异性高于 .btn-primary，需显式恢复 CTA 按钮的白字与底色 */
.nav > a.nav-cta,
.nav > a.nav-cta:hover,
.nav > a.nav-cta:focus { color: #fff; background: var(--brand); text-decoration: none; }
.nav > a.nav-cta:hover { background: var(--brand-dark); }
.nav-cta { margin-left: 10px; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 9px; width: 42px; height: 42px; cursor: pointer; padding: 9px; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 10px; font-family: inherit; font-weight: 700; font-size: 15px; line-height: 1.4; border: 1px solid transparent; cursor: pointer; transition: .18s ease; text-align: center; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(10,92,168,.22); }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-accent { background: var(--amber); color: #fff; box-shadow: 0 6px 18px rgba(232,137,12,.22); }
.btn-accent:hover { background: #cf7806; color: #fff; }
.btn-outline { background: #fff; color: var(--brand); border-color: #b9d4ee; }
.btn-outline:hover { border-color: var(--brand); background: var(--brand-soft); }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.42); }
.btn-ghost:hover { background: rgba(255,255,255,.2); color: #fff; }
.btn-sm { padding: 8px 15px; font-size: 13.5px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(178deg, #f2f9ff 0%, #ffffff 78%); border-bottom: 1px solid var(--line-soft); }
.hero::before { content: ""; position: absolute; width: 620px; height: 620px; right: -180px; top: -300px; border-radius: 50%; background: radial-gradient(circle, rgba(14,154,167,.13), transparent 68%); pointer-events: none; }
.hero::after { content: ""; position: absolute; left: -140px; bottom: -320px; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(circle, rgba(10,92,168,.09), transparent 68%); pointer-events: none; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.12fr .88fr; gap: 54px; align-items: center; padding: 66px 0 72px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--brand); background: #fff; border: 1px solid #cfe4f7; padding: 6px 14px; border-radius: 100px; margin-bottom: 20px; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
.hero h1 { margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--brand); border-bottom: 3px solid rgba(10,92,168,.18); }
.hero .lead { font-size: 17px; color: #47627a; max-width: 620px; margin-bottom: 24px; }
.hero .lead strong { color: var(--ink); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.trust-list { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 0; list-style: none; font-size: 13.5px; color: var(--muted); }
.trust-list li { display: flex; align-items: center; gap: 7px; margin: 0; }
.trust-list svg { width: 16px; height: 16px; color: var(--teal); flex-shrink: 0; }

/* self-check card */
.check-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 28px; }
.check-card h2 { font-size: 21px; margin-bottom: 6px; }
.check-card .sub { font-size: 13.5px; color: var(--muted); margin-bottom: 20px; }
.check-card label { display: block; font-size: 13.5px; font-weight: 700; color: var(--ink); margin-bottom: 7px; }
.check-card select, .check-card input { width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 9px; font-family: inherit; font-size: 15px; color: var(--text); background: var(--bg-soft); }
.check-card .field { margin-bottom: 14px; }
.check-result { display: none; margin-top: 18px; padding: 15px 16px; border-radius: 10px; background: var(--teal-soft); border-left: 4px solid var(--teal); font-size: 14px; line-height: 1.7; }
.check-result.show { display: block; }
.check-result b { color: #076b74; }
.check-result a { font-weight: 700; }
.check-card .mini-note { font-size: 12px; color: var(--muted); margin: 14px 0 0; }

/* ---------- Stats ---------- */
.stats { background: var(--bg-deep); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 26px 20px; border-right: 1px solid rgba(255,255,255,.11); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-size: 28px; line-height: 1.25; color: #fff; letter-spacing: -.02em; }
.stat b span { font-size: 15px; font-weight: 600; margin-left: 3px; }
.stat span.desc { font-size: 13px; color: #a9c4da; }

/* ---------- Sections ---------- */
.section { padding: 68px 0; }
.section.soft { background: var(--bg-soft); border-block: 1px solid var(--line-soft); }
.section-head { max-width: 760px; margin-bottom: 36px; }
.section-head .kicker { display: block; color: var(--teal); font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 9px; }
.section-head p { color: var(--muted); font-size: 16px; margin-bottom: 0; }
.section-head.center { margin-inline: auto; text-align: center; }

.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); transition: .18s ease; }
.card:hover { box-shadow: var(--shadow); border-color: #c3dcf1; transform: translateY(-2px); }
.card h3 { font-size: 17px; margin-bottom: 8px; }
.card h3 a { color: inherit; }
.card p { font-size: 14px; color: var(--muted); margin-bottom: 0; }
.card .card-foot { margin-top: 14px; font-size: 13.5px; font-weight: 700; }
.icon-box { width: 44px; height: 44px; border-radius: 11px; background: var(--brand-soft); display: grid; place-items: center; margin-bottom: 14px; }
.icon-box svg { width: 23px; height: 23px; color: var(--brand); }
.icon-box.teal { background: var(--teal-soft); }
.icon-box.teal svg { color: var(--teal); }
.icon-box.amber { background: var(--amber-soft); }
.icon-box.amber svg { color: var(--amber); }

/* numbered condition list */
.num-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; counter-reset: cond; }
.num-item { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px 20px 68px; counter-increment: cond; }
.num-item::before { content: counter(cond, decimal-leading-zero); position: absolute; left: 20px; top: 20px; font-size: 21px; font-weight: 800; color: var(--brand); font-variant-numeric: tabular-nums; }
.num-item h3 { font-size: 16px; margin-bottom: 5px; }
.num-item p { margin: 0; font-size: 13.5px; color: var(--muted); }

/* timeline */
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step { position: relative; padding: 24px 22px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); counter-increment: step; }
.step::before { content: counter(step); position: absolute; right: 18px; top: 14px; font-size: 34px; font-weight: 800; color: #e3eef8; line-height: 1; }
.step h3 { font-size: 16px; padding-right: 34px; }
.step p { font-size: 13.5px; color: var(--muted); margin: 0; }
.step .step-tag { display: inline-block; margin-top: 12px; font-size: 12px; font-weight: 700; color: var(--brand); background: var(--brand-soft); padding: 3px 10px; border-radius: 100px; }

/* tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table.data { min-width: 660px; font-size: 14.5px; }
table.data caption { text-align: left; padding: 16px 20px 12px; font-weight: 700; color: var(--ink); font-size: 15px; }
table.data th, table.data td { padding: 13px 18px; border-top: 1px solid var(--line-soft); text-align: left; vertical-align: top; }
table.data thead th { background: var(--bg-soft); color: var(--ink); font-size: 13.5px; white-space: nowrap; border-top: 1px solid var(--line); }
table.data tbody tr:hover { background: #fbfdff; }
table.data td:first-child { font-weight: 600; color: var(--ink); }
.tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 100px; background: var(--brand-soft); color: var(--brand); }
.tag.req { background: #fdeeee; color: #b43737; }
.tag.opt { background: var(--teal-soft); color: #087780; }

/* answer / fact box (GEO friendly) */
.answer-box { background: #fff; border: 1px solid #cfe4f7; border-left: 5px solid var(--brand); border-radius: var(--radius); padding: 22px 26px; box-shadow: var(--shadow-sm); }
.answer-box .label { display: block; font-size: 12px; font-weight: 800; letter-spacing: .12em; color: var(--teal); margin-bottom: 8px; }
.answer-box p { font-size: 16.5px; color: var(--ink); line-height: 1.8; margin: 0; }
.answer-box p + p { margin-top: .7em; font-size: 14.5px; color: var(--muted); }
.fact-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 30px; margin: 0; padding: 0; list-style: none; }
.fact-list li { display: flex; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px; }
.fact-list li b { flex: 0 0 118px; color: var(--muted); font-weight: 600; }
.fact-list li span { color: var(--ink); font-weight: 600; }

/* 导航搜索图标按钮 */
.nav-search { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 8px; color: var(--muted); margin-right: 6px; }
.nav-search svg { width: 18px; height: 18px; }
.nav-search:hover { background: var(--brand-soft); color: var(--brand); }

/* 站内搜索 */
.search-form { display: flex; gap: 10px; margin: 24px 0 14px; }
.search-form input[type="search"] { flex: 1 1 auto; min-width: 0; padding: 13px 16px; font-size: 15px; font-family: inherit; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; color: var(--ink); }
.search-form input[type="search"]:focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: var(--brand); }
.search-form .btn { flex: 0 0 auto; }
.search-meta { font-size: 13.5px; color: var(--muted); margin: 0 0 16px; min-height: 20px; }
.search-results { display: grid; gap: 10px; margin-bottom: 30px; }
.sr-item { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 15px 18px; text-decoration: none; transition: .16s ease; }
.sr-item:hover { border-color: var(--brand); text-decoration: none; }
.sr-item b { display: block; font-size: 15.5px; color: var(--brand); margin-bottom: 4px; }
.sr-item span { display: block; font-size: 13.5px; color: var(--muted); line-height: 1.7; }
.sr-item small { display: block; font-size: 12px; color: #9aa7b4; margin-top: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 首页政策动态卡片 */
.upd-card { display: block; position: relative; padding-top: 20px; }
.upd-card h3 { font-size: 16px; line-height: 1.6; margin: 8px 0 8px; }
.upd-card p { font-size: 13.5px; line-height: 1.75; color: var(--muted); margin: 0; }
.upd-date { font-size: 12.5px; font-weight: 800; color: var(--brand); letter-spacing: .04em; }
.upd-kind { display: inline-block; font-size: 11.5px; font-weight: 700; padding: 1px 8px; border-radius: 100px; margin-left: 8px; vertical-align: 1px; }
.upd-kind.kind-征求意见 { background: var(--amber-soft); color: #8a5c12; }
.upd-kind.kind-已实施 { background: var(--teal-soft); color: #087780; }
a.upd-card:hover { text-decoration: none; border-color: var(--brand); }
a.upd-card:hover h3 { color: var(--brand); }

/* 政策动态时间线表 */
.timeline-table td:first-child { white-space: nowrap; font-weight: 700; color: var(--brand); vertical-align: top; }
.timeline-table td:nth-child(2) { white-space: nowrap; width: 1%; vertical-align: top; padding-right: 16px; }
.timeline-table td:nth-child(2) .tag { white-space: nowrap; }
.timeline-table td p { margin: 6px 0 0; font-size: 14px; line-height: 1.75; color: var(--ink); }
.timeline-table td p.src { font-size: 12.5px; color: var(--muted); }
.timeline-table td p.src a { color: var(--brand); }
.timeline-table td b { display: block; font-size: 15px; line-height: 1.6; margin-bottom: 2px; }

/* quick-facts：区域页关键数据速览条 */
.quick-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; margin: 22px 0; }
.quick-facts > div { background: #fff; padding: 15px 17px; }
.quick-facts b { display: block; font-size: 12.5px; color: var(--muted); font-weight: 600; margin-bottom: 5px; }
.quick-facts span { display: block; font-size: 14.5px; color: var(--ink); font-weight: 700; line-height: 1.55; }

/* notice / source */
.notice { display: flex; gap: 13px; background: var(--amber-soft); border: 1px solid #f6ddb8; border-radius: var(--radius-sm); padding: 15px 18px; font-size: 13.5px; color: #7a551c; line-height: 1.7; }
.notice svg { width: 19px; height: 19px; flex-shrink: 0; margin-top: 3px; color: var(--amber); }
.notice a { color: #8a5c12; text-decoration: underline; }
.source-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 0; margin: 0; list-style: none; }
.source-list li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; font-size: 14px; }
.source-list li a { font-weight: 700; }
.source-list li small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 3px; }

/* FAQ */
.faq-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.faq-item h3 { font-size: 16px; margin-bottom: 8px; display: flex; gap: 10px; align-items: flex-start; }
.faq-item h3::before { content: "Q"; flex: 0 0 22px; height: 22px; border-radius: 6px; background: var(--brand); color: #fff; font-size: 12px; display: grid; place-items: center; margin-top: 3px; }
.faq-item p { font-size: 14px; color: var(--muted); margin: 0 0 0 32px; }
.faq-item p a { font-weight: 700; }

/* industry / area grids */
.tile-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.tile { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 15px 16px; font-size: 14.5px; font-weight: 700; color: var(--ink); transition: .16s ease; }
.tile:hover { background: var(--brand-soft); border-color: #b9d7f2; color: var(--brand); text-decoration: none; transform: translateY(-1px); }
.tile small { display: block; font-size: 12px; font-weight: 500; color: var(--muted); margin-top: 2px; }
.area-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 11px; }
.area-grid .tile { text-align: center; padding: 13px 6px; font-size: 14px; }

/* CTA band */
.cta-band { background: linear-gradient(115deg, var(--brand-dark), #0a6f9e); color: #fff; padding: 46px 0; }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: #cfe6f7; margin-bottom: 0; max-width: 640px; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Inner page ---------- */
.crumbs { background: var(--bg-soft); border-bottom: 1px solid var(--line-soft); font-size: 13px; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; list-style: none; margin: 0; padding: 11px 0; color: var(--muted); }
.crumbs li::after { content: "/"; margin-left: 7px; color: #a6bacb; }
.crumbs li:last-child::after { content: ""; }
.crumbs a { color: var(--muted); }
.page-hero { padding: 40px 0 34px; background: linear-gradient(180deg, #f2f9ff, #fff); border-bottom: 1px solid var(--line-soft); }
.page-hero h1 { margin-bottom: 12px; font-size: clamp(26px, 3vw, 36px); }
.page-hero .lead { color: #47627a; font-size: 16.5px; max-width: 880px; margin-bottom: 0; }
.page-meta { margin-top: 16px; font-size: 12.5px; color: var(--muted); display: flex; gap: 18px; flex-wrap: wrap; }
.page-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 44px; padding: 46px 0 70px; align-items: start; }
.page-layout > * { min-width: 0; }
.prose h2 { margin-top: 1.7em; padding-bottom: 10px; border-bottom: 1px solid var(--line); font-size: 25px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.5em; font-size: 19px; }
.prose p, .prose li { font-size: 15.5px; line-height: 1.9; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose .lead-para { font-size: 17px; color: var(--ink); }
.prose .table-wrap, .prose .answer-box, .prose .notice { margin: 22px 0; }
.aside { position: sticky; top: 88px; }
.aside-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); margin-bottom: 18px; }
.aside-card h3 { font-size: 16px; margin-bottom: 12px; }
.aside-card ul { list-style: none; padding: 0; margin: 0; font-size: 14px; }
.aside-card ul li { padding: 8px 0; border-bottom: 1px dashed var(--line); }
.aside-card ul li:last-child { border-bottom: 0; }
.aside-card .btn { width: 100%; margin-top: 14px; }
.contact-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 14px; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.contact-row:last-of-type { border-bottom: 0; }
.contact-row span { flex: 0 0 auto; white-space: nowrap; }
.contact-row b { color: var(--ink); text-align: right; overflow-wrap: anywhere; word-break: normal; }
.contact-row span { flex: 0 0 auto; white-space: nowrap; }
.contact-row b { font-size: 13.5px; line-height: 1.5; }
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 30px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-deep); color: #aac4da; padding: 54px 0 0; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.25fr; gap: 38px; padding-bottom: 38px; }
.site-footer h3 { color: #fff; font-size: 15.5px; margin-bottom: 16px; }
.site-footer p { color: #9fb9cf; font-size: 13.5px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 7px 0; font-size: 13.5px; }
.site-footer a { color: #aac4da; }
.site-footer a:hover { color: #fff; }
.footer-logo { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 16px; margin-bottom: 14px; }
.footer-logo .logo-mark { width: 34px; height: 34px; flex-basis: 34px; border-radius: 9px; }
.footer-logo svg { width: 21px; height: 21px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0 24px; font-size: 12.5px; color: #8ba9c1; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.disclaimer { background: rgba(0,0,0,.16); padding: 12px 0; font-size: 12.5px; color: #91adc4; }

.back-to-top { position: fixed; right: 22px; bottom: 22px; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--brand); box-shadow: var(--shadow); cursor: pointer; display: none; place-items: center; z-index: 50; }
.back-to-top.show { display: grid; }
.back-to-top svg { width: 20px; height: 20px; }

/* ---------- Responsive ---------- */
/* ========== 服务案例 / 资质 / 装备 ========== */
.case-list-wrap { display: grid; gap: 20px; }
.case-item, .scene-item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); padding: 24px 26px; }
.case-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 10px; }
.case-tag { display: inline-block; background: var(--brand-soft); color: var(--brand); font-size: 12px; font-weight: 700; padding: 3px 11px; border-radius: 999px; }
.case-region { font-size: 13px; color: var(--muted); }
.case-badge { display: inline-block; background: var(--teal-soft); color: var(--teal); font-size: 12px; font-weight: 600; padding: 3px 11px; border-radius: 999px; }
.case-badge.scene { background: var(--amber-soft); color: var(--amber); }
.case-item h3, .scene-item h3 { margin: 0 0 8px; font-size: 19px; line-height: 1.5; }
.case-org { margin: 0 0 14px; font-weight: 700; color: var(--ink); }
.case-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px 20px; margin: 0 0 16px; padding: 14px 16px; background: var(--bg-soft); border-radius: var(--radius-sm); }
.case-meta div { min-width: 0; }
.case-meta b { display: block; font-size: 12px; font-weight: 600; color: var(--muted); margin-bottom: 2px; }
.case-meta span { display: block; font-size: 14px; color: var(--ink); line-height: 1.6; overflow-wrap: anywhere; }
.case-summary { margin: 0 0 4px; color: var(--text); line-height: 1.8; }
.case-item h4 { margin: 18px 0 8px; font-size: 15px; color: var(--ink); }
.case-list, .case-points { margin: 0; padding-left: 20px; }
.case-list li, .case-points li { margin-bottom: 6px; font-size: 14.5px; line-height: 1.8; color: var(--text); }
.case-points li { color: var(--muted); }
.case-src { margin: 16px 0 0; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 13px; color: var(--muted); line-height: 1.7; }
.case-src a { white-space: nowrap; }
.scene-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }
.scene-lesson { margin: 14px 0 0; padding: 12px 14px; background: var(--amber-soft); border-left: 3px solid var(--amber); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: 14.5px; line-height: 1.8; color: var(--text); }
.scene-lesson b { color: var(--amber); }
.case-tags { margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.case-card { display: block; }
.case-card h3 { margin: 0 0 8px; font-size: 17px; line-height: 1.55; }
.case-line { margin: 2px 0 0; font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.qual-card h3 { font-size: 16px; margin: 0 0 8px; }
.equip-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 18px; }
.equip-card { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 20px; background: var(--bg-soft); position: relative; }
.equip-card h3 { margin: 0 0 8px; font-size: 15.5px; color: var(--ink); padding-right: 62px; }
.equip-card p { margin: 0; font-size: 14px; line-height: 1.75; color: var(--text); }
.equip-kind { position: absolute; top: 16px; right: 18px; font-size: 11px; font-weight: 600; color: var(--brand); background: var(--brand-soft); padding: 2px 9px; border-radius: 999px; }
.relation-note { margin: 0 0 22px; padding: 16px 18px; background: var(--brand-soft); border-left: 3px solid var(--brand); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: 15px; line-height: 1.85; color: var(--text); }
.relation-note b { display: block; color: var(--brand); font-size: 16px; margin-bottom: 4px; }

@media (max-width: 1080px) {
  .nav > a { padding: 8px 8px; font-size: 13.5px; }
  .hero-inner { gap: 30px; }
  .area-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 12px 20px 18px; flex-direction: column; align-items: stretch; gap: 2px; }
  .nav.open { display: flex; }
  .nav > a { padding: 10px 12px; font-size: 15px; }
  .nav-cta { margin: 10px 0 0; width: 100%; }
  .nav-wrap { position: relative; }
  .hero-inner { grid-template-columns: 1fr; padding: 44px 0 52px; }
  .check-card { max-width: 560px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.11); }
  .grid-4, .tile-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .timeline { grid-template-columns: repeat(2, 1fr); }
  .page-layout { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .aside { position: static; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .aside-card { margin-bottom: 0; }
  .faq-list, .source-list, .num-grid { grid-template-columns: 1fr; }
  .area-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .container { width: min(100% - 30px, var(--maxw)); }
  .topbar .container { justify-content: center; text-align: center; padding: 7px 0; font-size: 12px; }
  .topbar .tb-right { justify-content: center; }
  .section { padding: 48px 0; }
  .hero-inner { padding: 36px 0 44px; }
  .hero .lead { font-size: 15.5px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 18px 14px; }
  .stat b { font-size: 23px; }
  .grid-2, .grid-3, .grid-4, .timeline, .tile-grid, .related, .fact-list { grid-template-columns: 1fr; }
  .quick-facts { grid-template-columns: repeat(2, 1fr); }
  .case-item, .scene-item { padding: 18px 16px; }
  .case-meta { grid-template-columns: 1fr; }
  .equip-card h3 { padding-right: 0; }
  .equip-kind { position: static; display: inline-block; margin-top: 10px; }
  .area-grid { grid-template-columns: repeat(2, 1fr); }
  .aside { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .check-card { padding: 22px; }
  .btn { width: 100%; }
  .hero-actions .btn, .cta-actions .btn { width: auto; flex: 1 1 auto; }
  .faq-item { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  .topbar, .site-header, .cta-band, .site-footer, .back-to-top, .aside { display: none; }
  .page-layout { grid-template-columns: 1fr; }
}
