/* ============================================================
   天扬物流 · 站点样式（自有风格）
   深蓝 #0d2b4e + 橙 #f47b38 + 等宽标签 · 工业感 · 响应式
   ============================================================ */

:root {
  --navy: #0d2b4e;
  --navy-2: #123a63;
  --navy-3: #0a2140;
  --ink: #1c2b3a;
  --muted: #5a6b7d;
  --accent: #f47b38;
  --accent-deep: #e05f1c;
  --paper: #f5f7fa;
  --card: #ffffff;
  --line: #d9e2ec;
  --ok: #1a7f4e;
  --radius: 6px;
  --mono: ui-monospace, "Cascadia Mono", Consolas, "Courier New", monospace;
  --shadow: 0 10px 30px rgba(13, 43, 78, .08);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Source Han Sans SC", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--paper);
}

img { max-width: 100%; display: block; }
a { color: var(--navy-2); text-decoration: none; }
a:hover { color: var(--accent-deep); }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy); color: #fff; padding: 8px 14px; z-index: 99;
}
.skip:focus { left: 8px; top: 8px; }

/* ---------- 等宽标签（全站签名元素） ---------- */
.tag-mono {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono);
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted);
}
.tag-mono::before {
  content: ""; width: 8px; height: 8px; background: var(--accent); flex: none;
}
.tag-mono.on-dark { color: rgba(255, 255, 255, .75); }

/* ---------- 顶部条 ---------- */
.topbar {
  background: var(--navy-3); color: #cfe0f2;
  font-size: 13px;
}
.topbar .wrap {
  display: flex; justify-content: space-between; align-items: center;
  min-height: 34px; gap: 12px; flex-wrap: wrap;
}
.topbar-note { color: #9fb8d2; font-size: 11px; }
.topbar-tel a { color: #fff; font-weight: 600; }

/* ---------- 页头 ---------- */
.site-head {
  background: #fff; border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.head-grid {
  display: flex; align-items: center; gap: 18px; min-height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand-mark {
  width: 40px; height: 40px; background: var(--navy); color: #fff;
  display: grid; place-items: center; font-size: 20px; font-weight: 700;
  border-radius: 4px; position: relative;
}
.brand-mark::after {
  content: ""; position: absolute; right: -3px; bottom: -3px;
  width: 12px; height: 12px; background: var(--accent); border-radius: 2px;
}
.brand-text b { display: block; font-size: 19px; color: var(--navy); letter-spacing: .06em; }
.brand-text i {
  display: block; font-style: normal; font-family: var(--mono);
  font-size: 10px; letter-spacing: .22em; color: var(--muted);
}

.site-nav {
  display: flex; gap: 2px; margin-left: auto; flex-wrap: wrap;
}
.site-nav a {
  padding: 8px 12px; font-size: 15px; color: var(--ink); border-radius: 4px;
  position: relative;
}
.site-nav a:hover { color: var(--accent-deep); background: #fdf1e9; }
.site-nav a[aria-current="page"] {
  color: var(--navy); font-weight: 600;
}
.site-nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px;
  height: 2px; background: var(--accent);
}

.head-cta { flex: none; }
.nav-toggle {
  display: none; margin-left: auto;
  border: 1px solid var(--line); background: #fff; border-radius: 4px;
  padding: 8px 14px; font-size: 14px; cursor: pointer; color: var(--navy);
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-block; padding: 10px 22px; border-radius: var(--radius);
  font-size: 15px; font-weight: 600; border: 1px solid transparent;
  cursor: pointer; transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-deep); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); color: #fff; }

/* ---------- Hero ---------- */
.hero {
  background:
    linear-gradient(115deg, rgba(10,33,64,.96) 0%, rgba(13,43,78,.9) 55%, rgba(18,58,99,.82) 100%),
    url("/assets/hero-logistics.webp") center/cover no-repeat;
  color: #fff; position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px;
  background: repeating-linear-gradient(-45deg, var(--accent) 0 14px, var(--navy-3) 14px 28px);
}
.hero-grid {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px;
  padding: 64px 0 72px; align-items: center;
}
.hero h1 {
  font-size: 40px; line-height: 1.25; margin: 14px 0 16px; letter-spacing: .02em;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { color: #c9d9ea; font-size: 17px; margin: 0 0 26px; max-width: 34em; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius); overflow: hidden; margin-top: 34px;
}
.hero-stats div { background: rgba(10,33,64,.55); padding: 14px 16px; }
.hero-stats b {
  display: block; font-family: var(--mono); font-size: 24px; color: #fff;
}
.hero-stats span { font-size: 13px; color: #9fb8d2; }

/* ---------- 查价面板 ---------- */
.quote-panel {
  background: #fff; color: var(--ink); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 22px;
}
.quote-panel h2 { margin: 0 0 4px; font-size: 18px; color: var(--navy); }
.quote-panel .qp-note { font-size: 13px; color: var(--muted); margin: 0 0 14px; }
.qp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.qp-grid .qp-full { grid-column: 1 / -1; }
/* 查价：业务类型 + 出发/到达分组（左出发、右到达） */
.qp-field.qp-svc { margin-bottom: 12px; }
.qp-trip { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: end; }
.qp-trip-group { display: flex; flex-direction: column; gap: 8px; }
.qp-trip-label { font-size: 12px; font-weight: 700; color: var(--navy); letter-spacing: .02em; }
.qp-trip-arrow { align-self: center; padding-bottom: 20px; color: var(--accent); font-size: 20px; font-weight: 700; }
@media (max-width: 640px) {
  .qp-trip { grid-template-columns: 1fr; }
  .qp-trip-arrow { display: none; }
}
.qp-field { display: flex; flex-direction: column; gap: 5px; }
.qp-field label { font-size: 13px; color: var(--muted); }
.qp-field select, .qp-field input {
  border: 1px solid var(--line); border-radius: 4px; padding: 9px 10px;
  font-size: 14px; background: #fff; color: var(--ink); width: 100%;
}
.qp-route { display: flex; align-items: center; gap: 8px; margin: 14px 0; }
.qp-route .arrow { color: var(--accent); font-weight: 700; }
.qp-result {
  margin-top: 12px; border-top: 1px dashed var(--line); padding-top: 12px;
  font-size: 14px; color: var(--muted); min-height: 46px;
}
.qp-result b { color: var(--navy); font-family: var(--mono); }
.qp-result .warn { color: var(--accent-deep); }

/* ---------- 通用区块 ---------- */
.section { padding: 58px 0; }
.section-head { margin-bottom: 28px; max-width: 46em; }
.section-head h2 {
  font-size: 28px; margin: 10px 0 8px; color: var(--navy); letter-spacing: .02em;
}
.section-head p { margin: 0; color: var(--muted); }
.section-alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---------- 服务卡 ---------- */
.svc-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
}
.svc-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .15s ease, box-shadow .15s ease;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.svc-card img { height: 120px; width: 100%; object-fit: cover; }
.svc-body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.svc-body h3 { margin: 0; font-size: 17px; color: var(--navy); }
.svc-body p { margin: 0; font-size: 13.5px; color: var(--muted); flex: 1; }
.svc-body .more {
  font-size: 13px; font-weight: 600; color: var(--accent-deep);
  font-family: var(--mono); letter-spacing: .08em;
}

/* ---------- 线路路径 ---------- */
.route-path {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 15px;
}
.route-path .dot {
  width: 10px; height: 10px; border-radius: 50%; background: var(--navy); flex: none;
}
.route-path .dot.to { background: var(--accent); }
.route-path .dash {
  flex: 1; border-top: 2px dashed var(--line); min-width: 24px;
}

/* ---------- 热门线路 ---------- */
.route-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.route-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 18px; display: flex; flex-direction: column; gap: 10px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.route-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.route-card .rc-meta {
  display: flex; gap: 14px; font-size: 13px; color: var(--muted); font-family: var(--mono);
}
.route-card b { font-size: 16.5px; color: var(--navy); }

/* ---------- 步骤 ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.step {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; position: relative;
}
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--mono); font-size: 26px; font-weight: 700;
  color: var(--accent); display: block; margin-bottom: 6px;
}
.step h3 { margin: 0 0 4px; font-size: 16px; color: var(--navy); }
.step p { margin: 0; font-size: 13.5px; color: var(--muted); }

/* ---------- 详情页布局 ---------- */
.page-hero {
  background: var(--navy); color: #fff; padding: 42px 0 46px; position: relative;
}
.page-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: repeating-linear-gradient(-45deg, var(--accent) 0 14px, var(--navy-3) 14px 28px);
}
.page-hero h1 { font-size: 30px; margin: 10px 0 8px; letter-spacing: .02em; }
.page-hero .lead { color: #c9d9ea; margin: 0; max-width: 46em; }

.breadcrumbs { font-size: 13px; color: #8fa9c4; margin: 0; }
.breadcrumbs a { color: #c9d9ea; }

.layout {
  display: grid; grid-template-columns: 1fr 320px; gap: 28px;
  padding: 40px 0 56px; align-items: start;
}
.main-col { min-width: 0; }
.aside { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 88px; }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px;
}
.card h2 { font-size: 20px; color: var(--navy); margin: 0 0 12px; }
.card h2.sub {
  font-size: 16.5px; margin: 18px 0 8px; padding-left: 10px;
  border-left: 3px solid var(--accent);
}
.card h2.sub:first-of-type { margin-top: 6px; }
.card p { margin: 0 0 12px; }
.card p:last-child { margin-bottom: 0; }

.stat-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; margin-bottom: 20px;
}
.stat-row div { background: #fff; padding: 12px 14px; }
.stat-row span { display: block; font-size: 12px; color: var(--muted); }
.stat-row b { font-family: var(--mono); font-size: 17px; color: var(--navy); }

.aside-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 18px;
}
.aside-card > b {
  display: block; font-size: 15px; color: var(--navy); margin-bottom: 10px;
  padding-bottom: 8px; border-bottom: 2px solid var(--accent);
}
.aside-card a { display: block; padding: 5px 0; font-size: 14px; }
.side-nav a::before { content: "› "; color: var(--accent); font-weight: 700; }
.aside-tel { text-align: center; }
.aside-tel .tel-num {
  display: block; font-family: var(--mono); font-size: 22px; font-weight: 700;
  color: var(--navy); margin: 4px 0;
}
.aside-tel p { font-size: 12.5px; color: var(--muted); margin: 6px 0 10px; }
.aside-qr { display: flex; gap: 10px; justify-content: center; margin-top: 8px; }
.aside-qr figure { margin: 0; text-align: center; }
.aside-qr img { width: 92px; height: 92px; object-fit: contain; border: 1px solid var(--line); border-radius: 4px; padding: 4px; background: #fff; }
.aside-qr figcaption { font-size: 11.5px; color: var(--muted); margin-top: 4px; }

/* ---------- FAQ ---------- */
.faq-list details {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; margin-bottom: 10px; overflow: hidden;
}
.faq-list summary {
  cursor: pointer; padding: 13px 16px; font-weight: 600; color: var(--navy);
  list-style: none; position: relative; padding-right: 40px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  font-family: var(--mono); color: var(--accent); font-size: 18px;
}
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p, .faq-list details .answer {
  margin: 0; padding: 0 16px 14px; color: var(--muted); font-size: 14.5px;
}

/* ---------- 城市目录 ---------- */
.city-cloud {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.city-cloud a {
  border: 1px solid var(--line); background: #fff; border-radius: 4px;
  padding: 5px 12px; font-size: 14px;
}
.city-cloud a:hover { border-color: var(--accent); color: var(--accent-deep); background: #fdf1e9; }
.province-block { margin-bottom: 26px; }
.province-block > b {
  display: block; font-size: 16px; color: var(--navy); margin-bottom: 10px;
  padding-left: 10px; border-left: 3px solid var(--accent);
}
.province-list { margin-top: 6px; }

/* ---------- 表格 ---------- */
.table-wrap { overflow-x: auto; }
table.data {
  width: 100%; border-collapse: collapse; font-size: 14px; background: #fff;
}
table.data th, table.data td {
  border: 1px solid var(--line); padding: 9px 12px; text-align: left;
}
table.data th { background: #eef3f8; color: var(--navy); white-space: nowrap; }
table.data td:nth-child(n+2) { font-family: var(--mono); font-size: 13px; }

/* ---------- 联系页 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.qr-cards { display: grid; grid-template-columns: 1fr; gap: 14px; }
.qr-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px; text-align: center;
}
.qr-card img { width: 150px; height: 150px; object-fit: contain; margin: 0 auto 10px; }
.qr-card b { display: block; color: var(--navy); }
.qr-card span { font-size: 13px; color: var(--muted); }

/* ---------- 页脚 ---------- */
.site-foot {
  background: var(--navy-3); color: #b8cbdf; margin-top: 0;
  font-size: 14px;
}
.foot-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 30px;
  padding: 44px 0 34px;
}
.site-foot b { color: #fff; }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { margin: 0; }
.site-foot a { color: #b8cbdf; display: inline-block; padding: 3px 0; }
.site-foot a:hover { color: var(--accent); }
.foot-brand p { margin: 10px 0 0; font-size: 13.5px; max-width: 30em; }
.foot-brand .mono { font-family: var(--mono); color: var(--accent); letter-spacing: .1em; font-size: 13px; margin-top: 12px; }
.foot-col > b { display: block; margin-bottom: 10px; font-size: 15px; }
.foot-tel { font-family: var(--mono); font-size: 20px; color: #fff; display: block; margin: 4px 0; }
.foot-qr-row { display: flex; gap: 14px; margin-top: 12px; }
.foot-qr-row figure { margin: 0; text-align: center; }
.foot-qr-row img {
  width: 86px; height: 86px; object-fit: contain; background: #fff;
  border-radius: 4px; padding: 4px;
}
.foot-qr-row figcaption { font-size: 11.5px; margin-top: 4px; }
.foot-base {
  border-top: 1px solid rgba(255,255,255,.12); padding: 14px 0;
  font-size: 13px;
}
.foot-base .wrap {
  display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap;
}
.foot-base a { color: #8fa9c4; }
.foot-base a:hover { color: var(--accent); }

/* ---------- 404 ---------- */
.nf-wrap { text-align: center; padding: 90px 20px; }
.nf-code { font-family: var(--mono); font-size: 72px; color: var(--accent); font-weight: 700; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .svc-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-grid { grid-template-columns: 1fr; padding: 44px 0 52px; }
  .layout { grid-template-columns: 1fr; }
  .aside { position: static; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 800px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; padding: 10px 20px 16px; gap: 2px;
    box-shadow: var(--shadow); margin-left: 0;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 11px 6px; border-bottom: 1px solid var(--paper); }
  .head-cta { display: none; }
  .topbar-note { display: none; }
  .route-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  body { font-size: 15px; }
  .hero h1 { font-size: 28px; }
  .section { padding: 40px 0; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-card img { height: 92px; }
  .route-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .qp-grid { grid-template-columns: 1fr; }
  .contact-grid, .qr-cards { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 22px; padding: 32px 0 24px; }
  .page-hero h1 { font-size: 24px; }
  .hero-stats b { font-size: 19px; }
}

/* ---------- 最新发布（渐进增强区块） ---------- */
.section-head { display:flex; align-items:baseline; justify-content:space-between; margin-bottom:14px; }
.section-head h2 { font-size:24px; color:var(--navy); margin:0; }
.latest-wrap { display:grid; grid-template-columns:repeat(2,1fr); gap:12px; }
.latest-wrap .latest-item { display:flex; align-items:center; gap:8px; background:#fff; border:1px solid var(--line); border-radius:10px; padding:12px 14px; text-decoration:none; color:var(--navy); font-weight:600; transition:.15s; }
.latest-wrap .latest-item:hover { border-color:var(--orange); color:var(--orange); }
.latest-wrap .tag { flex:0 0 auto; }
.foot-latest { border-top:1px solid rgba(255,255,255,.12); background:rgba(255,255,255,.03); padding:10px 0; font-size:13px; }
.foot-latest .foot-latest-label { color:var(--orange); margin-right:10px; font-weight:700; }
.foot-latest .foot-latest-list a { color:#cdd9e6; text-decoration:none; margin-right:14px; }
.foot-latest .foot-latest-list a:hover { color:#fff; }
.foot-latest .foot-latest-list { color:#cdd9e6; }

/* ---------- 在线询价表单 ---------- */
.msg-form { margin-top:12px; display:flex; flex-direction:column; gap:12px; }
.msg-form .form-row { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.msg-form label { display:flex; flex-direction:column; gap:5px; font-size:13px; color:var(--muted); }
.msg-form input, .msg-form textarea { padding:10px 12px; border:1px solid var(--line); border-radius:8px; font-size:14px; font-family:inherit; }
.msg-form .btn { align-self:flex-start; }
.form-msg { font-size:13px; }
@media (max-width:640px){ .latest-wrap{grid-template-columns:1fr;} .msg-form .form-row{grid-template-columns:1fr;} }

/* ============================================================
   动态内容页（后台发布：/news/ 列表与详情、/line/ 详情、留言墙）
   选择器与 server/lib/md.cjs 的渲染输出严格对齐（坑3）：
   h2 / h3 / p / ul / ol / table / blockquote / pre / hr / .qa
   ============================================================ */

/* ---------- 子页 Hero ---------- */
.hero-sub { padding: 46px 0 44px; }
.hero-sub h1 { font-size: 28px; }
.hero-sub .lead { font-size: 15px; }
.page-hero h1 em, .hero-sub h1 em { font-style: normal; color: var(--accent); }
.page-hero .tag-mono { display: inline-block; margin: 14px 0 10px; }
.article-hero .wrap { max-width: 1160px; }
.article-hero h1 { font-size: 29px; line-height: 1.45; margin: 12px 0 16px; }
.article-hero .breadcrumbs { margin-bottom: 14px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13px; color: #9fb8d2; font-family: var(--mono); }
.article-meta span { display: inline-flex; align-items: center; gap: 7px; }
.article-meta span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ---------- 资讯列表 ---------- */
.news-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.news-card { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px; transition: transform .15s, box-shadow .15s, border-color .15s; }
.news-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #b9c9db; }
.news-card .news-title { margin: 0; font-size: 18px; line-height: 1.5; }
.news-card .news-title a { color: var(--navy); }
.news-card:hover .news-title a { color: var(--accent-deep); }
.news-card .news-meta { margin: 0; }
.news-card .news-summary { margin: 0; flex: 1; }
.news-card .link-more { align-self: flex-start; }
.news-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; font-size: 12.5px; color: var(--muted); margin: 0 0 12px; }
.news-meta a { color: var(--navy-2); }
.news-summary { font-size: 13.5px; color: var(--muted); line-height: 1.75; }
.link-more { color: var(--accent-deep); font-weight: 600; font-size: 13.5px; }
.link-more::after { content: " →"; }
.link-more:hover { color: var(--navy); }
.empty { padding: 40px 20px; text-align: center; color: var(--muted); font-size: 14px; }

/* ---------- 分页 ---------- */
.pager { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 30px; }
.pager .page { min-width: 36px; text-align: center; padding: 7px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--navy-2); font-size: 13.5px; font-family: var(--mono); }
.pager a.page:hover { border-color: var(--accent); color: var(--accent-deep); }
.pager .page.cur { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ---------- 文章详情 ---------- */
.article-page .md-body { padding: 28px 32px; }
.article-lead { font-size: 15px; color: #41546a; background: #f7fafd; border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; margin: 0 0 24px; line-height: 1.9; }
.article-lead::before { content: "摘要"; font-size: 11px; font-family: var(--mono); color: var(--accent-deep); border: 1px solid currentColor; border-radius: 4px; padding: 1px 7px; margin-right: 10px; vertical-align: 1px; }

/* ---------- Markdown 正文排版（与 md.cjs 输出对齐） ---------- */
.md-body { counter-reset: mdsec; overflow-x: auto; }
.md-body > :first-child { margin-top: 0; }
.md-body > :last-child { margin-bottom: 0; }
.md-body p { margin: 0 0 16px; font-size: 15.5px; line-height: 1.95; color: #2c3e50; }
.md-body h2 { counter-increment: mdsec; font-size: 19px; color: var(--navy); margin: 36px 0 14px; padding-bottom: 10px; border-bottom: 2px solid var(--line); }
.md-body h2::before { content: counter(mdsec, decimal-leading-zero); font-family: var(--mono); font-size: 12.5px; font-weight: 700; color: #fff; background: var(--accent); border-radius: 6px; padding: 2px 7px; margin-right: 10px; vertical-align: 2px; }
.md-body h3 { font-size: 16.5px; color: var(--navy); margin: 26px 0 10px; padding-left: 11px; border-left: 3px solid var(--accent); }
.md-body ul, .md-body ol { margin: 0 0 16px; padding-left: 26px; }
.md-body li { margin: 6px 0; font-size: 15.5px; line-height: 1.85; color: #2c3e50; }
.md-body li::marker { color: var(--accent); }
.md-body ol li::marker { font-family: var(--mono); font-weight: 700; }
.md-body table { width: 100%; border-collapse: collapse; margin: 4px 0 20px; font-size: 14px; }
.md-body th { background: var(--navy); color: #fff; font-weight: 600; padding: 10px 14px; text-align: left; }
.md-body td { padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; color: #2c3e50; }
.md-body tbody tr:nth-child(even) { background: #f7fafd; }
.md-body blockquote { margin: 0 0 16px; padding: 12px 18px; background: #f7fafd; border-left: 3px solid var(--navy-2); border-radius: 0 8px 8px 0; color: var(--muted); font-size: 14.5px; }
.md-body pre { background: var(--navy-3); color: #dbe7f5; padding: 14px 18px; border-radius: 10px; overflow-x: auto; font-size: 13.5px; line-height: 1.7; margin: 0 0 16px; }
.md-body pre code { background: none; padding: 0; color: inherit; font-size: inherit; }
.md-body code { background: #eef3f9; color: var(--accent-deep); border-radius: 5px; padding: 1px 6px; font-family: var(--mono); font-size: .88em; }
.md-body hr { border: 0; border-top: 1px solid var(--line); margin: 28px 0; }
.md-body strong { color: var(--navy); font-weight: 700; }
.md-body a { color: var(--accent-deep); text-decoration: underline; text-decoration-color: rgba(224, 95, 28, .35); text-underline-offset: 3px; }
.md-body a:hover { text-decoration-color: var(--accent-deep); }

/* ---------- 问答卡片（md.cjs 输出 .qa / .qa-q / .qa-a） ---------- */
.qa { background: #f7fafd; border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 10px; padding: 14px 18px; margin: 0 0 14px; }
.qa:last-child { margin-bottom: 0; }
.qa-q { margin: 0 0 7px; font-size: 15px; line-height: 1.7; }
.qa-q strong { color: var(--navy); font-weight: 700; }
.qa-q strong::before { content: "Q"; display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; background: var(--accent); color: #fff; border-radius: 6px; font-family: var(--mono); font-size: 12px; font-weight: 700; margin-right: 9px; vertical-align: 1px; }
.qa-a { margin: 0; font-size: 14px; line-height: 1.85; color: #33475c; }
.qa-a::before { content: "A"; display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; background: var(--navy); color: #fff; border-radius: 6px; font-family: var(--mono); font-size: 12px; font-weight: 700; margin-right: 9px; vertical-align: 1px; }
.line-detail .faq h2 { margin-top: 30px; }

/* ---------- 线路详情 ---------- */
.line-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 2px 0 26px; }
.line-stats div { background: linear-gradient(180deg, #fbfdff, #eef4fa); border: 1px solid var(--line); border-radius: 12px; padding: 16px 12px; text-align: center; }
.line-stats b { display: block; font-family: var(--mono); font-size: 18px; color: var(--navy); margin-bottom: 4px; letter-spacing: .01em; }
.line-stats span { font-size: 12.5px; color: var(--muted); }
.line-detail p { font-size: 15.5px; line-height: 1.9; }
.line-detail h2 { font-size: 18px; margin: 30px 0 14px; padding-left: 12px; border-left: 4px solid var(--accent); }
.line-detail h2:first-child { margin-top: 0; }

/* ---------- CTA / 侧栏 ---------- */
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 30px; padding-top: 24px; border-top: 1px dashed var(--line); }
.cta-row .hint { font-size: 12.5px; color: var(--muted); }
.cta-card { background: linear-gradient(135deg, var(--navy), var(--navy-2)); border-color: transparent; color: #fff; }
.cta-card h2 { color: #fff; }
.cta-card p { color: #c3d5e8; font-size: 13.5px; }
.link-list { list-style: none; margin: 0; padding: 0; }
.link-list li { border-bottom: 1px solid #edf1f6; }
.link-list li:last-child { border-bottom: 0; }
.link-list a { display: block; padding: 9px 2px; font-size: 14px; color: var(--navy-2); transition: padding .15s, color .15s; }
.link-list a:hover { color: var(--accent-deep); padding-left: 7px; }

/* ---------- 留言墙（前台 · 渐进增强填充） ---------- */
.msg-wall { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.msg-item { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; transition: box-shadow .15s, border-color .15s; min-width: 0; overflow-wrap: anywhere; }
.msg-item:hover { box-shadow: var(--shadow); border-color: #b9c9db; }
.msg-head { display: flex; align-items: center; gap: 12px; min-width: 0; }
.msg-who { min-width: 0; }
.msg-who b { overflow-wrap: anywhere; }
.msg-ava { flex: none; width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 17px; font-weight: 700; }
.msg-who b { display: block; font-size: 15px; color: var(--navy); }
.msg-who span { font-size: 12px; color: var(--muted); font-family: var(--mono); }
.msg-body { font-size: 13.5px; color: #33475c; background: #f7fafd; border: 1px solid #e8eef5; border-radius: 8px; padding: 10px 14px; line-height: 1.7; }
.msg-reply { font-size: 14px; color: #1d5c40; background: #eefaf3; border-left: 3px solid var(--ok); border-radius: 8px; padding: 10px 14px; line-height: 1.8; }
.msg-reply b { display: block; font-size: 11.5px; color: var(--ok); margin-bottom: 4px; font-family: var(--mono); letter-spacing: .05em; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .news-grid, .msg-wall { grid-template-columns: 1fr; }
  .line-stats b { font-size: 16px; }
  .article-hero h1 { font-size: 25px; }
  .hero-sub h1 { font-size: 24px; }
}

/* ---------- 首页查价结果卡（/api/quote 就地显示） ---------- */
.qp-quote { display: flex; flex-direction: column; gap: 10px; text-align: left; }
.qp-quote .qp-route-line { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.qp-quote .qp-route-line b { font-size: 17px; color: var(--navy); }
.qp-quote .qp-route-line span { font-size: 12.5px; color: var(--muted); font-family: var(--mono); }
.qp-quote .qp-prices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.qp-quote .qp-prices span { background: #f7fafd; border: 1px solid #e8eef5; border-radius: 8px; padding: 10px 12px; font-size: 13px; color: #33475c; font-family: var(--mono); }
.qp-quote .qp-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.qp-quote .qp-stats span { background: #f7fafd; border: 1px solid #e8eef5; border-radius: 8px; padding: 10px 12px; font-size: 13px; color: #33475c; }
.qp-quote .qp-note2 { margin: 0; font-size: 12px; color: var(--muted); }
.qp-quote .qp-detail { text-align: center; }

/* ---------- 首页新增模块：服务保障 / 数据横幅 ---------- */.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 18px; }
.why-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 22px 20px; border-top: 3px solid var(--accent); transition: box-shadow .15s, transform .15s; }
.why-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.why-card b { display: block; font-size: 17px; color: var(--navy); margin-bottom: 8px; }
.why-card p { margin: 0; font-size: 13.5px; line-height: 1.8; color: #4a5c70; }
.count-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; background: linear-gradient(135deg, var(--navy), #123a63); border-radius: 14px; padding: 30px 34px; }
.count-strip > div { text-align: center; }
.count-strip b { display: block; font-size: 34px; color: #fff; font-family: var(--mono); letter-spacing: .02em; }
.count-strip span { font-size: 13px; color: #a8bdd2; }
@media (max-width: 900px) {
  .why-grid, .count-strip { grid-template-columns: repeat(2, 1fr); }
  .count-strip b { font-size: 26px; }
}

/* ---------- 线路详情页：服务保障模块 ---------- */
.rd-guarantee { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 14px; }
.rd-guarantee > div { background: #f7fafd; border: 1px solid #e8eef5; border-radius: 10px; padding: 16px 18px; }
.rd-guarantee b { display: block; color: var(--navy); font-size: 15px; margin-bottom: 6px; }
.rd-guarantee p { margin: 0; font-size: 13.5px; line-height: 1.8; color: #4a5c70; }
@media (max-width: 900px) { .rd-guarantee { grid-template-columns: 1fr; } }

/* ---------- 移动端底部快捷栏（电话 / 微信 / 留言）---------- */
.m-bar { display: none; }
.m-mask {
  display: none; position: fixed; inset: 0; z-index: 95;
  background: rgba(8, 20, 34, .55); -webkit-tap-highlight-color: transparent;
}
.m-mask.open { display: block; }
.m-sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 96;
  background: #fff; border-radius: 16px 16px 0 0;
  padding: 20px 18px calc(22px + env(safe-area-inset-bottom, 0px));
  transform: translateY(110%); transition: transform .26s cubic-bezier(.32, .72, 0, 1);
  max-height: 82vh; overflow-y: auto; box-shadow: 0 -8px 30px rgba(8, 20, 34, .22);
}
.m-sheet.open { transform: translateY(0); }
.m-sheet h3 { margin: 0 0 14px; font-size: 18px; color: var(--navy); }
.m-sheet .m-close {
  position: absolute; top: 10px; right: 14px; width: 34px; height: 34px;
  border: none; background: #f1f5f9; color: #5a6b7d; border-radius: 50%;
  font-size: 20px; line-height: 1; cursor: pointer;
}
.m-wx-qr { text-align: center; }
.m-wx-qr img { width: 190px; height: 190px; border-radius: 10px; border: 1px solid var(--line); }
.m-wx-actions, .m-copy-actions { display: flex; gap: 10px; margin-top: 16px; }
.m-wx-actions .btn, .m-copy-actions .btn { flex: 1; text-align: center; }
.m-form label { display: block; font-size: 14px; color: #33475c; margin: 12px 0 5px; font-weight: 600; }
.m-form input {
  width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 9px;
  font-size: 15px; box-sizing: border-box; background: #fbfdff;
}
.m-form input:focus { outline: none; border-color: var(--accent); background: #fff; }
.m-form .m-submit { width: 100%; margin-top: 16px; }
.m-form .m-hint { min-height: 18px; margin: 8px 0 0; font-size: 13px; color: #d9534f; }
@media (max-width: 640px) {
  .m-bar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    background: linear-gradient(90deg, #0d4f86, #123a63);
    box-shadow: 0 -2px 12px rgba(8, 20, 34, .25);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .m-bar > a, .m-bar > button {
    flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 2px; padding: 8px 2px; border: none; background: none; color: #fff;
    font-size: 12.5px; line-height: 1.2; cursor: pointer; -webkit-tap-highlight-color: transparent;
  }
  .m-bar > a + a, .m-bar > button + button, .m-bar > a + button, .m-bar > button + a {
    border-left: 1px solid rgba(255, 255, 255, .15);
  }
  .m-bar .m-ico { font-size: 19px; line-height: 1; }
  body { padding-bottom: 60px; }
}

/* ---------- 首页留言：表单 + 留言墙 ---------- */
.msg-layout { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 20px; align-items: start; margin-top: 6px; }
.msg-layout .msg-wall { margin-top: 0; align-items: start; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); min-width: 0; }
.msg-layout .msg-item { min-width: 0; }
.msg-layout .msg-name, .msg-layout .msg-who { min-width: 0; }
.msg-layout .msg-body, .msg-layout .msg-reply { overflow-wrap: anywhere; word-break: break-word; }
.msg-form.card { margin-top: 0; padding: 22px 22px 24px; }
.msg-form h3 { margin: 0 0 6px; font-size: 17px; color: var(--navy); }
.msg-form-msg { margin: 2px 0 0; font-size: 13px; }
@media (max-width: 1100px) { .msg-layout { grid-template-columns: 300px minmax(0, 1fr); } }
@media (max-width: 900px) { .msg-layout { grid-template-columns: 1fr; } .msg-layout .msg-wall { grid-template-columns: 1fr; } }

/* ---------- 联系我们页：左表单 + 右联系方式 ---------- */
.contact-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 18px; align-items: start; }
.contact-side { display: flex; flex-direction: column; gap: 18px; }
.contact-form-card .msg-form { margin-top: 12px; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }

/* ---------- 关于我们：工商登记信息表 ---------- */
.hero-note { margin: 10px 0 0; font-size: 13px; color: rgba(255,255,255,.72); letter-spacing: .03em; }
.page-hero .hero-note { color: rgba(233,242,250,.78); }
.fact-list { margin: 16px 0 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.fact-list > div { display: flex; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.fact-list > div.full { grid-column: 1 / -1; }
.fact-list dt { flex: none; width: 120px; color: var(--muted); font-size: 13.5px; }
.fact-list dd { margin: 0; font-size: 14px; color: var(--ink); line-height: 1.8; overflow-wrap: anywhere; }
.fact-list dd.mono { font-family: var(--mono); letter-spacing: .03em; }
.fact-note { margin: 12px 0 0; font-size: 12.5px; color: var(--muted); }
.fact-note a { color: var(--accent-deep); }
@media (max-width: 820px) {
  .fact-list { grid-template-columns: 1fr; }
  .fact-list dt { width: 104px; font-size: 13px; }
  .fact-list dd { font-size: 13.5px; }
}
