/* ==========================================================================
   北广国际物流 · 前台样式
   ========================================================================== */
:root {
  --navy: #0b3d6b;
  --navy-dark: #072a4c;
  --navy-light: #14548f;
  --teal: #0f7ba8;
  --accent: #e8820c;
  --accent-dark: #cf7008;
  --ink: #1b2733;
  --text: #3f4d5c;
  --muted: #7b8794;
  --line: #e4eaf1;
  --bg: #ffffff;
  --bg-soft: #f5f8fb;
  --bg-deep: #eef3f8;
  --radius: 6px;
  --shadow-sm: 0 1px 2px rgba(11, 61, 107, .06);
  --shadow: 0 6px 24px rgba(11, 61, 107, .08);
  --shadow-lg: 0 16px 48px rgba(11, 61, 107, .14);
  --container: 1200px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
/* hidden 属性必须压过 .field 等 display:flex，否则隐藏会失效 */
[hidden] { display: none !important; }
a { color: var(--navy); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent); }
h1, h2, h3, h4, h5 { margin: 0 0 .6em; color: var(--ink); font-weight: 700; line-height: 1.3; }
h1 { font-size: 2.6rem; letter-spacing: -.5px; }
h2 { font-size: 1.9rem; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.4em; }
li { margin-bottom: .45em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; }
.section-sm { padding: 56px 0; }
.bg-soft { background: var(--bg-soft); }
.bg-deep { background: var(--bg-deep); }

/* ---------- 顶部信息条 ---------- */
.topbar {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, .78);
  font-size: 13px;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  gap: 16px;
}
.topbar a { color: rgba(255, 255, 255, .78); }
.topbar a:hover { color: #fff; }
.topbar-left { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.topbar-left span { display: inline-flex; align-items: center; gap: 6px; }
.topbar svg { width: 14px; height: 14px; opacity: .8; }
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 100px;
  padding: 3px 12px;
  font-size: 12px;
  letter-spacing: .3px;
}
.lang-switch:hover { border-color: rgba(255, 255, 255, .6); }

/* ---------- 导航 ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: #fff;
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s;
}
.header.scrolled { box-shadow: 0 4px 20px rgba(11, 61, 107, .08); }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark {
  width: 42px; height: 42px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
  color: #fff;
  display: grid; place-items: center;
  font-weight: 800; font-size: 19px; letter-spacing: -.5px;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-size: 17px; font-weight: 800; color: var(--navy); letter-spacing: -.2px; }
.brand-sub { font-size: 11px; color: var(--muted); letter-spacing: 1.4px; text-transform: uppercase; }
.brand img { max-height: 46px; width: auto; }

.menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.menu > li { position: relative; }
.menu > li > a {
  display: block;
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  border-radius: var(--radius);
}
.menu > li > a:hover,
.menu > li.active > a { color: var(--navy); background: var(--bg-soft); }
.menu > li.active > a::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 2px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.submenu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  padding: 8px;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all .2s;
}
.menu > li:hover .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu li { margin: 0; }
.submenu a {
  display: block;
  padding: 9px 12px;
  font-size: 14px;
  color: var(--text);
  border-radius: 5px;
  white-space: nowrap;
}
.submenu a:hover { background: var(--bg-soft); color: var(--navy); }

.nav-cta { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-phone { display: flex; flex-direction: column; line-height: 1.25; text-align: right; }
.nav-phone small { font-size: 11px; color: var(--muted); letter-spacing: .5px; }
.nav-phone strong { font-size: 16px; color: var(--navy); font-weight: 800; }

.burger {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  padding: 0;
  place-items: center;
}
.burger span { display: block; width: 18px; height: 2px; background: var(--ink); margin: 3px auto; border-radius: 2px; transition: .2s; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(232, 130, 12, .28); }
.btn-primary:hover { background: var(--accent-dark); color: #fff; transform: translateY(-1px); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-dark); color: #fff; }
.btn-ghost { background: transparent; border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .14); color: #fff; border-color: #fff; }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-sm { padding: 9px 18px; font-size: 14px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  color: #fff;
  background: var(--navy-dark);
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
  transform: scale(1.04);
}
.hero-slide.active { opacity: 1; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(7, 42, 76, .92) 0%, rgba(7, 42, 76, .72) 45%, rgba(7, 42, 76, .25) 100%);
  z-index: 1;
}
.hero .container { position: relative; z-index: 2; padding-top: 60px; padding-bottom: 60px; }
.hero-inner { max-width: 680px; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 18px;
}
.hero-eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--accent); }
.hero h1 { color: #fff; font-size: 3.1rem; margin-bottom: 20px; line-height: 1.18; }
.hero p { font-size: 1.12rem; color: rgba(255, 255, 255, .85); margin-bottom: 32px; max-width: 560px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}
.hero-dots button {
  width: 30px; height: 4px;
  border: 0;
  background: rgba(255, 255, 255, .35);
  border-radius: 4px;
  cursor: pointer;
  padding: 0;
}
.hero-dots button.active { background: var(--accent); }

/* ---------- 通用标题 ---------- */
.sec-head { max-width: 720px; margin-bottom: 46px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.sec-head h2 { margin-bottom: 14px; }
.sec-head p { color: var(--muted); font-size: 1.02rem; margin: 0; }

/* ---------- 服务卡片 ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.svc-card {
  position: relative;
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 30px 28px 26px;
  overflow: hidden;
  transition: all .28s;
}
.svc-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .28s;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.svc-card:hover::before { transform: scaleY(1); }
.svc-icon {
  width: 52px; height: 52px;
  border-radius: 10px;
  background: var(--bg-soft);
  color: var(--navy);
  display: grid; place-items: center;
  margin-bottom: 18px;
  transition: all .28s;
}
.svc-icon svg { width: 26px; height: 26px; }
.svc-card:hover .svc-icon { background: var(--navy); color: #fff; }
.svc-card h3 { font-size: 1.16rem; margin-bottom: 8px; }
.svc-card p { font-size: 14.5px; color: var(--muted); margin: 0 0 14px; line-height: 1.7; }
.svc-more { font-size: 13.5px; font-weight: 700; color: var(--navy); display: inline-flex; align-items: center; gap: 6px; }
.svc-more::after { content: "→"; transition: transform .2s; }
.svc-card:hover .svc-more::after { transform: translateX(4px); }

/* ---------- 图片 + 文字 ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.split-media { position: relative; }
.split-media img { border-radius: 10px; box-shadow: var(--shadow-lg); }
.split-media .badge {
  position: absolute;
  right: -18px;
  bottom: -18px;
  background: var(--accent);
  color: #fff;
  border-radius: 10px;
  padding: 18px 22px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(232, 130, 12, .35);
}
.split-media .badge strong { display: block; font-size: 1.8rem; line-height: 1; }
.split-media .badge span { font-size: 12px; opacity: .9; }

.check-list { list-style: none; padding: 0; margin: 0 0 28px; }
.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  font-size: 15px;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 5px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(15, 123, 168, .12);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230f7ba8'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}

/* ---------- 数据条 ---------- */
.stats {
  background: linear-gradient(120deg, var(--navy-dark), var(--navy) 60%, var(--teal));
  color: #fff;
  padding: 56px 0;
}
.stats .grid-4 { gap: 32px; }
.stat { text-align: center; position: relative; }
.stat + .stat::before {
  content: "";
  position: absolute;
  left: -16px; top: 50%;
  transform: translateY(-50%);
  width: 1px; height: 48px;
  background: rgba(255, 255, 255, .16);
}
.stat strong { display: block; font-size: 2.6rem; font-weight: 800; line-height: 1.1; letter-spacing: -1px; }
.stat strong em { font-style: normal; font-size: 1.3rem; color: var(--accent); }
.stat span { font-size: 13.5px; color: rgba(255, 255, 255, .72); letter-spacing: .4px; }

/* ---------- 优势 ---------- */
.adv { display: flex; gap: 18px; }
.adv-icon {
  flex: 0 0 46px;
  height: 46px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--accent);
  display: grid; place-items: center;
}
.adv-icon svg { width: 22px; height: 22px; }
.adv h3 { font-size: 1.02rem; margin-bottom: 6px; }
.adv p { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.65; }

/* ---------- 文章卡片 ---------- */
.post-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  transition: all .25s;
  height: 100%;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.post-thumb { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-deep); }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post-card:hover .post-thumb img { transform: scale(1.06); }
.post-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.post-meta { font-size: 12.5px; color: var(--muted); margin-bottom: 10px; display: flex; gap: 12px; align-items: center; }
.post-tag { background: var(--bg-soft); color: var(--navy); padding: 2px 10px; border-radius: 100px; font-weight: 700; font-size: 11.5px; }
.post-card h3 { font-size: 1.06rem; line-height: 1.5; margin-bottom: 10px; }
.post-card h3 a { color: var(--ink); }
.post-card h3 a:hover { color: var(--navy); }
.post-card p { font-size: 14px; color: var(--muted); margin: 0 0 16px; }
.post-card .svc-more { margin-top: auto; }

/* ---------- CTA ---------- */
.cta {
  position: relative;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  right: -120px; top: -120px;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: rgba(15, 123, 168, .35);
}
.cta::after {
  content: "";
  position: absolute;
  left: -80px; bottom: -160px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: rgba(232, 130, 12, .18);
}
.cta .container { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-top: 56px; padding-bottom: 56px; }
.cta h2 { color: #fff; margin-bottom: 8px; font-size: 1.75rem; }
.cta p { color: rgba(255, 255, 255, .78); margin: 0; }
.cta-actions { display: flex; gap: 12px; flex-shrink: 0; flex-wrap: wrap; }

/* ---------- 内页 banner ---------- */
.page-hero {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  background: var(--navy-dark) center/cover no-repeat;
  padding-bottom: 40px;
  padding-top: 90px;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 42, 76, .55) 0%, rgba(7, 42, 76, .88) 100%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: 2.4rem; margin-bottom: 10px; }
.page-hero p { color: rgba(255, 255, 255, .82); margin: 0; max-width: 720px; }
.crumb { display: flex; gap: 8px; align-items: center; font-size: 13px; color: rgba(255, 255, 255, .7); margin-bottom: 14px; flex-wrap: wrap; }
.crumb a { color: rgba(255, 255, 255, .82); }
.crumb a:hover { color: #fff; }
.crumb span { opacity: .5; }

/* ---------- 内容排版 ---------- */
.prose { font-size: 16px; line-height: 1.9; color: var(--text); }
.prose h2 { font-size: 1.5rem; margin: 2.2em 0 .8em; padding-left: 14px; border-left: 4px solid var(--accent); }
.prose h3 { font-size: 1.18rem; margin: 1.8em 0 .6em; color: var(--navy); }
.prose p { margin: 0 0 1.2em; }
.prose ul, .prose ol { margin: 0 0 1.4em; padding-left: 1.5em; }
.prose li { margin-bottom: .5em; }
.prose img { border-radius: 8px; margin: 1.6em 0; }
.prose blockquote {
  margin: 1.6em 0;
  padding: 16px 22px;
  background: var(--bg-soft);
  border-left: 3px solid var(--teal);
  color: var(--text);
}
.prose table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: 14px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; }
.prose th { background: var(--bg-soft); font-weight: 700; color: var(--ink); }
.prose tr:nth-child(even) td { background: #fbfcfe; }

/* ---------- 侧栏布局 ---------- */
.with-side { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 26px; margin-bottom: 24px; }
.side-card h3 { font-size: 1.02rem; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.side-list { list-style: none; padding: 0; margin: 0; }
.side-list li { margin: 0; border-bottom: 1px dashed var(--line); }
.side-list li:last-child { border-bottom: 0; }
.side-list a { display: flex; justify-content: space-between; gap: 10px; padding: 11px 0; font-size: 14.5px; color: var(--text); }
.side-list a:hover { color: var(--navy); padding-left: 4px; }
.side-cta { background: linear-gradient(150deg, var(--navy), var(--teal)); color: #fff; border: 0; }
.side-cta h3 { color: #fff; border-color: rgba(255, 255, 255, .2); }
.side-cta p { color: rgba(255, 255, 255, .8); font-size: 14px; }

/* ---------- 表单 ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.field label .req { color: var(--accent); }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(15, 123, 168, .12);
}
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-msg { display: none; padding: 14px 18px; border-radius: var(--radius); font-size: 14.5px; margin-bottom: 18px; }
.form-msg.ok { display: block; background: #ecfdf5; color: #067647; border: 1px solid #b7ebd0; }
.form-msg.err { display: block; background: #fef2f2; color: #b42318; border: 1px solid #fecdca; }

.cap-box { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cap-img { border-radius: 5px; border: 1px solid var(--line); height: 48px; width: 150px; object-fit: cover; }
.cap-refresh { border: 1px solid var(--line); background: #fff; width: 40px; height: 48px; border-radius: 5px; cursor: pointer; font-size: 18px; color: var(--muted); }
.cap-refresh:hover { color: var(--navy); border-color: var(--navy); }
.cap-input { width: 110px !important; height: 48px; text-align: center; font-weight: 700; }

/* ---------- 联系信息块 ---------- */
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.info-list li:last-child { border-bottom: 0; }
.info-ico { flex: 0 0 40px; height: 40px; border-radius: 8px; background: var(--bg-soft); color: var(--navy); display: grid; place-items: center; }
.info-ico svg { width: 19px; height: 19px; }
.info-list b { display: block; font-size: 13px; color: var(--muted); font-weight: 600; }
.info-list span { font-size: 15px; color: var(--ink); }

/* ---------- 悬浮联系栏 ---------- */
.cw { position: fixed; right: 18px; bottom: 90px; z-index: 80; display: flex; flex-direction: column; gap: 10px; }
.cw-btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 0;
  display: grid; place-items: center;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(11, 61, 107, .22);
  transition: transform .2s, box-shadow .2s;
  position: relative;
}
.cw-btn:hover { transform: scale(1.08); color: #fff; }
.cw-btn svg { width: 22px; height: 22px; }
.cw-btn.wa { background: #25d366; }
.cw-btn.wx { background: #07c160; }
.cw-btn.msg { background: var(--accent); }
.cw-btn.top { background: var(--navy); opacity: 0; pointer-events: none; }
.cw-btn.top.show { opacity: 1; pointer-events: auto; }
.cw-tip {
  position: absolute;
  right: 58px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}
.cw-btn:hover .cw-tip { opacity: 1; }
.cw-pop {
  position: fixed;
  right: 78px;
  bottom: 200px;
  background: #fff;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  padding: 14px;
  z-index: 81;
  text-align: center;
}
.cw-pop img { width: 160px; height: 160px; object-fit: contain; border-radius: 6px; }
.cw-pop p { font-size: 12.5px; color: var(--muted); margin: 8px 0 0; }

/* 留言弹窗 */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(7, 26, 46, .6);
  backdrop-filter: blur(3px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal.open { display: flex; }
.modal-box {
  background: #fff;
  border-radius: 12px;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.modal-close {
  position: absolute;
  right: 16px; top: 14px;
  width: 34px; height: 34px;
  border: 0;
  background: var(--bg-soft);
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
}
.modal-close:hover { background: var(--bg-deep); color: var(--ink); }
.modal-box h3 { font-size: 1.3rem; margin-bottom: 6px; }
.modal-box > p { color: var(--muted); font-size: 14px; margin-bottom: 22px; }

/* ---------- 页脚 ---------- */
.footer { background: var(--navy-dark); color: rgba(255, 255, 255, .72); font-size: 14px; padding-top: 64px; }
.footer h4 { color: #fff; font-size: 14px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 18px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 48px; padding-bottom: 48px; }
.footer .brand-name { color: #fff; }
.footer .brand-sub { color: rgba(255, 255, 255, .5); }
.footer p { line-height: 1.8; }
.footer a { color: rgba(255, 255, 255, .72); }
.footer a:hover { color: var(--accent); }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: 10px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 22px 0;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, .55);
}
.footer-contact li { display: flex; gap: 10px; margin-bottom: 14px; line-height: 1.6; }
.footer-contact svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 4px; opacity: .7; }

/* ---------- 分页 ---------- */
.pager { display: flex; gap: 8px; justify-content: center; margin-top: 48px; flex-wrap: wrap; }
.pager a, .pager span {
  min-width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 14px;
  color: var(--text);
  padding: 0 12px;
}
.pager a:hover { border-color: var(--navy); color: var(--navy); }
.pager a.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.pager-gap { border: 0; }

/* ---------- 提示 ---------- */
.np-alert { padding: 12px 16px; border-radius: 6px; margin-bottom: 16px; font-size: 14px; }
.np-alert-success { background: #ecfdf5; color: #067647; border: 1px solid #b7ebd0; }
.np-alert-error { background: #fef2f2; color: #b42318; border: 1px solid #fecdca; }

/* ---------- 空状态 ---------- */
.empty { text-align: center; padding: 70px 20px; color: var(--muted); }
.empty svg { width: 56px; height: 56px; margin: 0 auto 18px; opacity: .35; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .with-side { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .hero h1 { font-size: 2.4rem; }
  .stat + .stat::before { display: none; }
  .nav-phone { display: none; }
}

@media (max-width: 860px) {
  .menu {
    position: fixed;
    left: 0; right: 0; top: 76px;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px 20px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-120%);
    transition: transform .3s;
    max-height: calc(100vh - 76px);
    overflow-y: auto;
    z-index: 89;
  }
  .menu.open { transform: translateY(0); }
  .menu > li > a { padding: 13px 10px; border-bottom: 1px solid var(--line); }
  .menu > li.active > a::after { display: none; }
  .submenu {
    position: static;
    opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; padding: 4px 0 8px 14px;
    display: none;
  }
  .menu > li.open .submenu { display: block; }
  .burger { display: grid; }
  .nav-cta .btn { display: none; }
  .topbar-left span:nth-child(n+2) { display: none; }
  .section { padding: 56px 0; }
  .hero { min-height: 520px; }
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; }
  .cta .container { flex-direction: column; align-items: flex-start; }
  .form-grid { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: 1.8rem; }
  .split-media .badge { right: 8px; bottom: -14px; padding: 12px 16px; }
  .split-media .badge strong { font-size: 1.4rem; }
  .prose table { font-size: 13px; }
  .prose th, .prose td { padding: 7px 8px; }
  .table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .cw { right: 12px; bottom: 76px; gap: 8px; }
  .cw-btn { width: 44px; height: 44px; }
  .cw-pop { right: 66px; bottom: 170px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .modal-box { padding: 24px 20px; }
}

@media (max-width: 560px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }
  .container { padding: 0 18px; }
  .topbar-left { gap: 12px; }
  .hero-actions .btn { flex: 1; }
}
