/* ==========================================================================
   深圳市鑫源发国际物流 · 设计系统
   商务专业风格 | 深蓝主色 + 橙色强调
   ========================================================================== */

:root {
  --navy-950: #05162a;
  --navy-900: #071f39;
  --navy-800: #0b2a4a;
  --navy-700: #0f3a63;
  --navy-600: #14507f;
  --navy-500: #1f6ca8;
  --navy-100: #e8f0f8;

  --accent-600: #c96a0c;
  --accent-500: #f0871f;
  --accent-100: #fdf1e3;

  --ink: #14202e;
  --ink-soft: #3d4d5e;
  --muted: #66788a;
  --line: #e2e8f0;
  --line-soft: #eef2f7;

  --surface: #ffffff;
  --surface-2: #f5f8fb;
  --surface-3: #eef3f9;
  --success: #1c7f52;
  --danger: #c0392b;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 2px rgba(11, 42, 74, 0.06), 0 1px 3px rgba(11, 42, 74, 0.05);
  --shadow: 0 4px 12px rgba(11, 42, 74, 0.07), 0 2px 4px rgba(11, 42, 74, 0.04);
  --shadow-lg: 0 18px 40px -12px rgba(11, 42, 74, 0.22);

  --container: 1180px;
  --header-h: 76px;

  --font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
  --font-num: "DIN Alternate", "Bahnschrift", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  margin: 0 0 .6em;
  color: var(--navy-900);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

h1 { font-size: 42px; }
h2 { font-size: 32px; }
h3 { font-size: 20px; }
h4 { font-size: 16px; }

p { margin: 0 0 1em; }

a { color: var(--navy-600); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--accent-500); }

img { max-width: 100%; display: block; }

ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
li { margin-bottom: .4em; }

hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }

::selection { background: var(--accent-100); color: var(--navy-900); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 84px 0; }
.section--tight { padding: 60px 0; }
.section--alt { background: var(--surface-2); }
.section--dark { background: var(--navy-900); color: #c8d7e6; }
.section--dark h2, .section--dark h3 { color: #fff; }

.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-600);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--accent-500);
}
.section-head--center .eyebrow::after {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--accent-500);
}

.lead { font-size: 16.5px; color: var(--muted); line-height: 1.85; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: all .18s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--accent-500); color: #fff; box-shadow: 0 6px 16px -6px rgba(240, 135, 31, .7); }
.btn-primary:hover { background: var(--accent-600); color: #fff; transform: translateY(-1px); }
.btn-navy { background: var(--navy-800); color: #fff; }
.btn-navy:hover { background: var(--navy-700); color: #fff; }
.btn-outline { border-color: rgba(255, 255, 255, .45); color: #fff; background: transparent; }
.btn-outline:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--navy-800); background: #fff; }
.btn-ghost:hover { border-color: var(--navy-600); color: var(--navy-600); }
.btn-sm { padding: 8px 16px; font-size: 13.5px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- 顶部信息条 ---------- */
.topbar {
  background: var(--navy-950);
  color: #93a9bf;
  font-size: 13px;
  line-height: 1;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 40px;
  flex-wrap: wrap;
}
.topbar a { color: #cfdcea; }
.topbar a:hover { color: var(--accent-500); }
.topbar-list { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.topbar-item { display: inline-flex; align-items: center; gap: 7px; }
.topbar-item svg { width: 14px; height: 14px; flex: none; opacity: .8; }

/* ---------- 页头 / 导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header.is-scrolled { box-shadow: var(--shadow); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 48px; height: 48px;
  flex: none;
  display: grid;
  place-items: center;
}
.brand-mark svg { width: 24px; height: 24px; }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-size: 19px; font-weight: 700; color: var(--navy-900); letter-spacing: .04em; }
.brand-sub { font-size: 10.5px; letter-spacing: .22em; color: var(--muted); text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links li { margin: 0; }
.nav-links a {
  display: block;
  padding: 10px 15px;
  border-radius: var(--radius-sm);
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 500;
  position: relative;
}
.nav-links a:hover { color: var(--navy-700); background: var(--surface-2); }
.nav-links a.is-active { color: var(--navy-800); font-weight: 700; }
.nav-links a.is-active::after {
  content: "";
  position: absolute;
  left: 15px; right: 15px; bottom: 3px;
  height: 2px;
  background: var(--accent-500);
  border-radius: 2px;
}

.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 0;
  place-items: center;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--navy-800); position: relative; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--navy-800);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* ---------- 首页 Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--navy-950) 0%, var(--navy-800) 52%, var(--navy-700) 100%);
  color: #cddbe9;
  padding: 88px 0 96px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 70% at 70% 30%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 70% 30%, #000 0%, transparent 75%);
}
.hero::after {
  content: "";
  position: absolute;
  right: -180px; top: -160px;
  width: 640px; height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 135, 31, .22), transparent 62%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 64px;
  align-items: center;
}
.hero h1 { color: #fff; font-size: 46px; line-height: 1.22; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--accent-500); }
.hero p.hero-sub { font-size: 17px; color: #a9bed3; max-width: 540px; margin-bottom: 32px; }
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  padding: 7px 15px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  font-size: 13px;
  color: #d7e3f0;
  letter-spacing: .02em;
}
.hero-tag .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #46c98a;
  box-shadow: 0 0 0 3px rgba(70, 201, 138, .22);
}

.hero-panel {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow-lg);
}
.hero-panel h3 { color: #fff; font-size: 17px; margin-bottom: 4px; }
.hero-panel .panel-note { font-size: 13px; color: #93a9bf; margin-bottom: 20px; }
.hero-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,.13); border-radius: var(--radius); overflow: hidden; }
.hero-metric { background: rgba(7, 31, 57, .55); padding: 18px 16px; }
.hero-metric strong {
  display: block;
  font-family: var(--font-num);
  font-size: 27px;
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
}
.hero-metric strong span { font-size: 15px; color: var(--accent-500); margin-left: 3px; }
.hero-metric small { display: block; font-size: 12.5px; color: #93a9bf; margin-top: 4px; }

.hero-points { margin-top: 22px; display: grid; gap: 10px; }
.hero-points li { list-style: none; display: flex; gap: 10px; font-size: 14px; color: #c3d3e2; }
.hero-points svg { width: 17px; height: 17px; flex: none; margin-top: 4px; color: var(--accent-500); }

/* ---------- 数据条 ---------- */
.stats-bar {
  background: var(--navy-800);
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat {
  padding: 30px 24px;
  border-right: 1px solid rgba(255, 255, 255, .1);
  text-align: center;
}
.stat:last-child { border-right: 0; }
.stat b {
  display: block;
  font-family: var(--font-num);
  font-size: 34px;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  letter-spacing: .01em;
}
.stat b i { font-style: normal; font-size: 17px; color: var(--accent-500); margin-left: 2px; }
.stat span { display: block; font-size: 13px; color: #9db3c9; margin-top: 6px; letter-spacing: .04em; }

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

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  transition: all .2s ease;
  height: 100%;
  position: relative;
}
.card:hover { border-color: #c9d7e5; box-shadow: var(--shadow-lg); transform: translateY(-3px); }

/* 资质卡片内的备案编号行 */
.card-filing {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
  letter-spacing: .02em;
}
.card-filing span { color: var(--ink-soft); font-weight: 600; }
.card-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--navy-100);
  color: var(--navy-700);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.card-icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 18px; margin-bottom: 10px; }
.card p { font-size: 14.5px; color: var(--muted); margin-bottom: 0; }
.card-tag {
  display: inline-block;
  margin-bottom: 14px;
  padding: 3px 10px;
  border-radius: 4px;
  background: var(--accent-100);
  color: var(--accent-600);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
}
.card--accent { border-top: 3px solid var(--accent-500); }
.card-features { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; }
.card-features li {
  position: relative;
  padding-left: 20px;
  font-size: 13.5px;
  color: var(--ink-soft);
  margin: 0;
}
.card-features li::before {
  content: "";
  position: absolute;
  left: 4px; top: 10px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-500);
}

/* ---------- 流程 ---------- */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.flow-item { position: relative; padding: 0 26px; }
.flow-item::after {
  content: "";
  position: absolute;
  top: 21px; right: -6px;
  width: 12px; height: 12px;
  border-top: 2px solid #cddbe8;
  border-right: 2px solid #cddbe8;
  transform: rotate(45deg);
}
.flow-item:last-child::after { display: none; }
.flow-num {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy-800);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-num);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 16px;
}
.flow-item h4 { font-size: 16.5px; margin-bottom: 8px; }
.flow-item p { font-size: 14px; color: var(--muted); margin: 0; }

/* ---------- 覆盖网络 ---------- */
.network-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 56px; align-items: center; }
.city-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.city-tag {
  padding: 8px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 13.5px;
  color: var(--ink-soft);
  transition: all .18s ease;
}
.city-tag:hover { border-color: var(--accent-500); color: var(--accent-600); background: var(--accent-100); }
.city-tag--core { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.city-tag--core:hover { background: var(--navy-700); border-color: var(--navy-700); color: #fff; }

.map-panel {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-2);
  padding: 24px;
  overflow: hidden;
}
.map-panel svg { width: 100%; height: auto; display: block; }
.map-legend { display: flex; gap: 20px; margin-top: 16px; font-size: 12.5px; color: var(--muted); }
.map-legend i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; }

/* ---------- 行业方案 ---------- */
.industry-list { display: grid; gap: 14px; }
.industry-row {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: all .18s ease;
}
.industry-row:hover { border-color: #c9d7e5; box-shadow: var(--shadow); }
.industry-row strong { font-size: 15.5px; color: var(--navy-900); white-space: nowrap; min-width: 92px; }
.industry-row p { margin: 0; font-size: 14px; color: var(--muted); }
.industry-row .ico { width: 38px; height: 38px; border-radius: 9px; background: var(--navy-100); color: var(--navy-700); display: grid; place-items: center; flex: none; }
.industry-row .ico svg { width: 20px; height: 20px; }

/* ---------- 内页头 ---------- */
.page-hero {
  position: relative;
  background: linear-gradient(120deg, var(--navy-950), var(--navy-800) 70%, var(--navy-700));
  color: #b9cbdd;
  padding: 62px 0 70px;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 100% at 20% 0%, #000, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 80% 100% at 20% 0%, #000, transparent 72%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: 38px; margin-bottom: 14px; }
.page-hero p { max-width: 620px; color: #a9bed3; margin: 0; font-size: 16px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #8ba2b8; margin-bottom: 16px; }
.breadcrumb a { color: #b9cbdd; }
.breadcrumb a:hover { color: var(--accent-500); }
.breadcrumb span { opacity: .55; }

/* ---------- 时间轴 ---------- */
.timeline { position: relative; padding-left: 30px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline-item { position: relative; padding-bottom: 32px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -30px; top: 6px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--accent-500);
}
.timeline-year { font-family: var(--font-num); font-size: 15px; font-weight: 700; color: var(--accent-600); letter-spacing: .04em; }
.timeline-item h4 { margin: 4px 0 6px; font-size: 16.5px; }
.timeline-item p { margin: 0; font-size: 14.5px; color: var(--muted); }

/* ---------- 图文两栏 ---------- */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; align-items: center; }
.split--wide-left { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.media-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  background: var(--surface-2);
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

.check-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 13px; }
.check-list li { display: flex; gap: 11px; align-items: flex-start; font-size: 15px; color: var(--ink-soft); margin: 0; }
.check-list svg { width: 19px; height: 19px; flex: none; margin-top: 4px; color: var(--success); }

/* ---------- CTA ---------- */
.cta {
  background: linear-gradient(120deg, var(--navy-900), var(--navy-700));
  color: #c4d5e5;
  border-radius: var(--radius-lg);
  padding: 48px 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta::after {
  content: "";
  position: absolute;
  right: -120px; bottom: -140px;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240,135,31,.2), transparent 65%);
}
.cta > * { position: relative; z-index: 1; }
.cta h2 { color: #fff; font-size: 27px; margin-bottom: 8px; }
.cta p { margin: 0; color: #a9bed3; font-size: 15px; }

/* ---------- 表单 ---------- */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--navy-900); }
.field label .req { color: var(--accent-500); margin-left: 3px; }
.field .hint { font-size: 12.5px; color: var(--muted); font-weight: 400; }

.input, .select, .textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  font-family: inherit;
  font-size: 14.5px;
  line-height: 1.6;
  transition: border-color .18s ease, box-shadow .18s ease;
  appearance: none;
}
.textarea { min-height: 132px; resize: vertical; }
.select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%2366788a' d='M6 8 0 1.4 1.4 0 6 4.6 10.6 0 12 1.4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 11px;
  padding-right: 38px;
}
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--navy-600);
  box-shadow: 0 0 0 3px rgba(20, 80, 127, .12);
}
.input::placeholder, .textarea::placeholder { color: #a8b6c4; }
.input.is-error, .select.is-error, .textarea.is-error { border-color: var(--danger); }

.form-alert {
  display: none;
  align-items: flex-start;
  gap: 10px;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}
.form-alert.is-visible { display: flex; }
.form-alert.is-error { background: #fdf0ee; border: 1px solid #f4cfc9; color: #8f2c1f; }
.form-alert.is-success { background: #eaf7f0; border: 1px solid #bfe3d0; color: #1a6844; }
.form-alert svg { width: 18px; height: 18px; flex: none; margin-top: 3px; }

.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 26px; }
.form-foot .privacy { font-size: 12.5px; color: var(--muted); margin: 0; max-width: 460px; }

/* ---------- 联系信息块 ---------- */
.contact-cards { display: grid; gap: 18px; }
.contact-item { display: flex; gap: 16px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.contact-item .ico { width: 44px; height: 44px; flex: none; border-radius: 11px; background: var(--navy-100); color: var(--navy-700); display: grid; place-items: center; }
.contact-item .ico svg { width: 21px; height: 21px; }
.contact-item h4 { margin: 0 0 4px; font-size: 14.5px; }
.contact-item p { margin: 0; font-size: 14.5px; color: var(--muted); }
.contact-item a { font-weight: 600; }

/* ---------- 表格 ---------- */
.table-wrap { border: 1px solid var(--line); border-radius: var(--radius); overflow: auto; background: #fff; }
table.data { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 860px; }
table.data th {
  text-align: left;
  padding: 13px 16px;
  background: var(--surface-3);
  color: var(--navy-900);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .02em;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
table.data td { padding: 14px 16px; border-bottom: 1px solid var(--line-soft); color: var(--ink-soft); vertical-align: top; }
table.data tbody tr:last-child td { border-bottom: 0; }
table.data tbody tr:hover { background: #fafcfe; }
table.data .strong { color: var(--navy-900); font-weight: 600; }
table.data .nowrap { white-space: nowrap; }
table.data .muted { color: var(--muted); font-size: 13px; }
.cell-ellipsis { max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- 徽标 ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge-new { background: #fff2e4; color: #b8620a; }
.badge-following { background: #e8f1fb; color: #17558a; }
.badge-quoted { background: #f0ecfb; color: #5b45ad; }
.badge-won { background: #e9f7f0; color: #186b47; }
.badge-closed { background: #f0f2f5; color: #6b7a8a; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--navy-950); color: #8ba2b8; font-size: 14px; padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 44px; padding-bottom: 48px; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-sub { color: #7d94ab; }
.site-footer .brand-mark { width: 54px; height: 54px; }
.footer-about { margin-top: 20px; line-height: 1.9; font-size: 13.8px; color: #8ba2b8; max-width: 330px; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 18px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.footer-col a { color: #93a9bf; font-size: 14px; }
.footer-col a:hover { color: var(--accent-500); }
.footer-contact li { display: flex; gap: 10px; font-size: 14px; color: #93a9bf; }
.footer-contact svg { width: 16px; height: 16px; flex: none; margin-top: 5px; opacity: .75; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .09);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #6f8497;
}
.footer-bottom a { color: #93a9bf; }
.footer-bottom a:hover { color: var(--accent-500); }

/* 备案信息链接：与普通页脚链接区分，悬停才出现下划线 */
.footer-bottom .icp-link {
  color: #8fa5ba;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .18s ease, border-color .18s ease;
}
.footer-bottom .icp-link:hover { color: var(--accent-500); border-bottom-color: var(--accent-500); }
.footer-bottom .icp-link:focus-visible { outline: 2px solid var(--accent-500); outline-offset: 2px; }

/* ==========================================================================
   管理后台
   ========================================================================== */

.admin-body { background: var(--surface-2); min-height: 100vh; }

/* 登录 */
.login-wrap { min-height: 100vh; display: grid; place-items: center; padding: 40px 20px; background: linear-gradient(135deg, var(--navy-950), var(--navy-800) 60%, var(--navy-600)); }
.login-card { width: 100%; max-width: 412px; background: #fff; border-radius: var(--radius-lg); box-shadow: 0 30px 60px -20px rgba(5, 22, 42, .55); padding: 40px 36px; }
.login-card .brand { justify-content: center; margin-bottom: 26px; }
.login-card h1 { font-size: 21px; text-align: center; margin-bottom: 6px; }
.login-card .sub { text-align: center; font-size: 13.5px; color: var(--muted); margin-bottom: 28px; }
.login-card .field { margin-bottom: 18px; }

/* 后台框架 */
.admin-shell { min-height: 100vh; display: flex; flex-direction: column; }
.admin-header { background: var(--navy-900); color: #c8d7e6; }
.admin-header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 66px; }
.admin-header .brand-name { color: #fff; }
.admin-header .brand-sub { color: #7d94ab; }
.admin-header .brand-mark { width: 38px; height: 38px; }
.admin-user { display: flex; align-items: center; gap: 14px; font-size: 13.5px; }
.admin-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--accent-500); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.admin-main { flex: 1; padding: 32px 0 56px; }

.admin-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 22px; }
.admin-title h1 { font-size: 23px; margin-bottom: 3px; }
.admin-title p { margin: 0; font-size: 13.5px; color: var(--muted); }

.stat-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 24px; }
.stat-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.stat-card .k { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 7px; }
.stat-card .k svg { width: 15px; height: 15px; opacity: .7; }
.stat-card .v { font-family: var(--font-num); font-size: 30px; font-weight: 700; color: var(--navy-900); line-height: 1.2; margin-top: 6px; }
.stat-card .v small { font-size: 13px; color: var(--accent-600); font-family: var(--font); font-weight: 600; margin-left: 6px; }

.filter-bar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 16px;
}
.filter-bar .input, .filter-bar .select { width: auto; min-width: 160px; padding: 9px 13px; font-size: 14px; }
.filter-bar .select { padding-right: 36px; }
.filter-bar .grow { flex: 1 1 220px; }
.filter-bar .input.grow { min-width: 200px; }

.pager { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 18px; font-size: 13.5px; color: var(--muted); }
.pager-btns { display: flex; gap: 8px; }

.empty-state { text-align: center; padding: 64px 20px; background: #fff; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); }
.empty-state svg { width: 42px; height: 42px; margin: 0 auto 14px; color: #c2cfdb; display: block; }
.empty-state p { margin: 0; font-size: 14.5px; }

/* 抽屉 */
.drawer-mask {
  position: fixed;
  inset: 0;
  background: rgba(7, 31, 57, .42);
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s ease, visibility .22s ease;
  z-index: 90;
}
.drawer-mask.is-open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed;
  top: 0; right: 0;
  height: 100%;
  width: 460px;
  max-width: 92vw;
  background: #fff;
  box-shadow: -18px 0 48px -18px rgba(7, 31, 57, .38);
  transform: translateX(102%);
  transition: transform .26s cubic-bezier(.4, 0, .2, 1);
  z-index: 91;
  display: flex;
  flex-direction: column;
}
.drawer.is-open { transform: translateX(0); }
.drawer-head { padding: 22px 24px; border-bottom: 1px solid var(--line); display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.drawer-head h3 { margin: 0 0 4px; font-size: 17px; }
.drawer-head .meta { font-size: 12.5px; color: var(--muted); }
.drawer-close { border: 0; background: transparent; cursor: pointer; color: var(--muted); padding: 4px; line-height: 0; border-radius: 6px; }
.drawer-close:hover { background: var(--surface-2); color: var(--navy-800); }
.drawer-close svg { width: 20px; height: 20px; }
.drawer-body { padding: 22px 24px; overflow-y: auto; flex: 1; }
.drawer-foot { padding: 18px 24px; border-top: 1px solid var(--line); display: flex; gap: 12px; justify-content: flex-end; background: var(--surface-2); }

.detail-list { display: grid; gap: 0; margin: 0 0 24px; }
.detail-list dt { font-size: 12.5px; color: var(--muted); margin-top: 16px; }
.detail-list dd { margin: 4px 0 0; font-size: 14.5px; color: var(--ink); line-height: 1.7; word-break: break-word; }
.detail-list .msg { background: var(--surface-2); border: 1px solid var(--line-soft); border-radius: var(--radius-sm); padding: 12px 14px; white-space: pre-wrap; }
.drawer h4.section-label { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 0 0 10px; }

/* 模态 */
.modal-mask { position: fixed; inset: 0; background: rgba(7, 31, 57, .45); display: none; place-items: center; z-index: 95; padding: 20px; }
.modal-mask.is-open { display: grid; }
.modal { background: #fff; border-radius: var(--radius-lg); width: 100%; max-width: 400px; padding: 28px; box-shadow: var(--shadow-lg); }
.modal h3 { margin-bottom: 6px; font-size: 18px; }
.modal p.sub { font-size: 13.5px; color: var(--muted); margin-bottom: 20px; }
.modal .field { margin-bottom: 16px; }
.modal-actions { display: flex; gap: 12px; justify-content: flex-end; margin-top: 8px; }

.toast-stack { position: fixed; top: 20px; right: 20px; z-index: 99; display: grid; gap: 10px; }
.toast {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--navy-600);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 12px 18px;
  font-size: 14px;
  color: var(--ink);
  min-width: 240px;
  animation: toast-in .22s ease;
}
.toast.is-success { border-left-color: var(--success); }
.toast.is-error { border-left-color: var(--danger); }
@keyframes toast-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

.spinner {
  width: 15px; height: 15px;
  border: 2px solid rgba(255, 255, 255, .4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.hidden { display: none !important; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .hero { padding: 68px 0 76px; }
  .hero h1 { font-size: 38px; }
  .hero-grid { grid-template-columns: 1fr; gap: 46px; }
  .hero p.hero-sub { max-width: none; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .stat-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .nav-toggle { display: grid; }
  .nav-actions .btn { display: none; }
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 10px 16px 18px;
    display: none;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 13px 12px; }
  .nav-links a.is-active::after { display: none; }
  .nav-links a.is-active { background: var(--surface-2); }
  .site-header { position: relative; }

  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .split, .split--wide-left, .network-grid { grid-template-columns: 1fr; gap: 40px; }
  .flow { grid-template-columns: 1fr 1fr; gap: 30px 0; }
  .flow-item::after { display: none; }
  .flow-item:nth-child(odd) { padding-right: 16px; }
  .section { padding: 62px 0; }
  h1 { font-size: 32px; }
  h2 { font-size: 26px; }
  .page-hero h1 { font-size: 30px; }
}

@media (max-width: 720px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { border-bottom: 1px solid rgba(255,255,255,.1); }
  .stat:nth-child(2n) { border-right: 0; }
  .stat:nth-child(n+3) { border-bottom: 0; }
  .form-grid { grid-template-columns: 1fr; }
  .cta { padding: 34px 26px; }
  .cta h2 { font-size: 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero h1 { font-size: 30px; }
  .hero-metrics { grid-template-columns: 1fr 1fr; }
  .admin-header .container { min-height: 60px; }
  .admin-user .name { display: none; }
  .filter-bar .input, .filter-bar .select { width: 100%; min-width: 0; }
  .stat-cards { grid-template-columns: 1fr 1fr; }
  .drawer { width: 100%; max-width: 100%; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .stat:last-child { border-bottom: 0; }
  .flow { grid-template-columns: 1fr; }
  .stat-cards { grid-template-columns: 1fr; }
  .topbar-list { gap: 14px; }
  .topbar-item.hide-sm { display: none; }
}

@media print {
  .site-header, .topbar, .site-footer, .filter-bar, .pager, .btn { display: none !important; }
  body { background: #fff; }
}

/* ==========================================================================
   运单追踪
   ========================================================================== */

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.track-form { display: flex; gap: 10px; align-items: stretch; }
.track-form .input { flex: 1 1 auto; min-width: 0; }
.track-form .btn { flex: none; }

/* Hero 内嵌追踪表单（深色面板） */
.hero-panel .track-form .input {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .22);
  color: #fff;
}
.hero-panel .track-form .input::placeholder { color: #8ba2b8; }
.hero-panel .track-form .input:focus {
  border-color: var(--accent-500);
  box-shadow: 0 0 0 3px rgba(240, 135, 31, .18);
}
.panel-note--sm { font-size: 12px; color: #7d94ab; margin: 12px 0 0; }

/* 追踪页搜索区 */
.track-search { max-width: 760px; margin: 0 auto; }
.track-search .track-form .input { padding: 15px 17px; font-size: 16px; letter-spacing: .04em; }
.track-demo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted);
}
.track-chip {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 4px 13px;
  font-size: 12.5px;
  font-family: var(--font-num);
  letter-spacing: .04em;
  color: var(--navy-600);
  cursor: pointer;
  transition: border-color .18s ease, color .18s ease, background .18s ease;
}
.track-chip:hover { border-color: var(--accent-500); color: var(--accent-600); background: var(--accent-100); }

/* 结果卡片 */
.track-result { margin-top: 40px; }
.track-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
}
.track-head h3 {
  margin: 4px 0 0;
  font-family: var(--font-num);
  font-size: 24px;
  letter-spacing: .05em;
}
.track-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 26px; }
.track-meta dt { font-size: 12.5px; color: var(--muted); }
.track-meta dd { margin: 3px 0 0; font-size: 14.5px; font-weight: 600; color: var(--ink); word-break: break-word; }

.track-events-title { margin: 40px 0 22px; font-size: 18px; }

/* 当前节点高亮 */
.timeline-item.is-current::before {
  border-color: var(--navy-800);
  box-shadow: 0 0 0 4px rgba(11, 42, 74, .12);
}
.timeline-item.is-current .timeline-year { color: var(--navy-800); }

@media (max-width: 900px) {
  .track-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .track-form { flex-direction: column; }
  .track-form .btn { width: 100%; justify-content: center; }
  .track-head h3 { font-size: 20px; }
}
@media (max-width: 480px) {
  .track-meta { grid-template-columns: 1fr; }
}

/* ==========================================================================
   新闻动态
   ========================================================================== */

.news-list { display: grid; gap: 26px; }
.news-item { padding: 34px 36px; }
.news-item:hover { transform: none; }
.news-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 14px;
}
.news-meta .card-tag { margin: 0; }
.news-item h3 { font-size: 21px; margin-bottom: 14px; }
.news-item p { font-size: 15px; color: var(--ink-soft); }
.news-item p:last-child { margin-bottom: 0; }

@media (max-width: 720px) {
  .news-item { padding: 26px 22px; }
  .news-item h3 { font-size: 18.5px; }
}


