/* ========================================
   东瀛通行供应链 - 门户网站样式
   配色：深蓝（专业信任）+ 红色（中日物流）
======================================== */

/* ====== CSS变量 ====== */
:root {
  --primary: #1a3a6c;
  --primary-light: #2563eb;
  --primary-dark: #0f2949;
  --accent: #dc2626;
  --accent-light: #ef4444;
  --success: #059669;
  --warning: #ea580c;
  --info: #0891b2;
  --bg: #f8fafc;
  --bg-alt: #f1f5f9;
  --surface: #ffffff;
  --text: #1e293b;
  --text-light: #64748b;
  --text-lighter: #94a3b8;
  --border: #e2e8f0;
  --border-dark: #cbd5e1;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.05);
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --max-width: 1200px;
  --header-height: 72px;
}

/* ====== 重置 ====== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, select, textarea { font-family: inherit; }

/* ====== 通用工具类 ====== */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.text-light { color: var(--text-light); }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; } .mb-4 { margin-bottom: 32px; }
.hidden { display: none !important; }

/* ====== 按钮 ====== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.btn-accent {
  background: var(--accent);
  color: #fff;
}
.btn-accent:hover { background: #b91c1c; transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.btn-outline {
  background: transparent;
  border: 2px solid var(--border-dark);
  color: var(--text);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-light {
  background: #fff;
  color: var(--primary);
}
.btn-light:hover { background: var(--bg-alt); }
.btn-lg { padding: 16px 36px; font-size: 17px; }
.btn-sm { padding: 8px 18px; font-size: 14px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ====== 头部导航 ====== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-height);
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}
.logo-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -1px;
  box-shadow: 0 4px 12px rgba(26,58,108,0.3);
}
.logo-text { display: flex; flex-direction: column; }
.logo-text .name { font-size: 17px; font-weight: 800; color: var(--primary); line-height: 1.2; }
.logo-text .sub { font-size: 11px; color: var(--text-light); letter-spacing: 1px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav-item {
  padding: 8px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s;
}
.nav-item:hover { background: var(--bg-alt); color: var(--primary); }
.nav-item.active { color: var(--primary); background: rgba(37,99,235,0.08); font-weight: 600; }
.nav-item.admin-btn { color: var(--accent); }
.nav-item.admin-btn:hover { background: rgba(220,38,38,0.08); }

.mobile-toggle { display: none; font-size: 24px; color: var(--primary); }

/* ====== 语言切换器 ====== */
.header-right { display: flex; align-items: center; gap: 12px; }
.lang-switcher { position: relative; }
.lang-btn {
  display: flex; align-items: center; gap: 4px;
  padding: 6px 12px; border: 1px solid var(--border);
  border-radius: var(--radius); background: #fff;
  color: var(--text); font-size: 13px; font-weight: 500;
  cursor: pointer; transition: all 0.2s; white-space: nowrap;
}
.lang-btn:hover { border-color: var(--primary); color: var(--primary); }
.lang-menu {
  display: none; position: absolute; top: calc(100% + 4px); right: 0;
  min-width: 140px; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  overflow: hidden; z-index: 1000;
}
.lang-menu.show { display: block; }
.lang-option {
  display: flex; align-items: center; gap: 6px;
  width: 100%; padding: 10px 14px; border: none;
  background: transparent; color: var(--text); font-size: 13px;
  cursor: pointer; transition: background 0.2s; text-align: left;
}
.lang-option:hover { background: var(--bg-alt); }
.lang-option.active { color: var(--primary); font-weight: 600; background: rgba(37,99,235,0.05); }

/* ====== 页面容器 ====== */
.page { padding-top: var(--header-height); min-height: 100vh; }
.page-content { padding: 0 0 60px; }

/* ====== Hero区域 ====== */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  color: #fff;
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%; left: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(220,38,38,0.1) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-inner { position: relative; z-index: 1; max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  max-width: 700px;
}
.hero h1 .highlight { color: #fbbf24; }
.hero p {
  font-size: 18px;
  opacity: 0.9;
  max-width: 600px;
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 60px;
  flex-wrap: wrap;
}
.hero-stat .num { font-size: 36px; font-weight: 800; color: #fbbf24; }
.hero-stat .label { font-size: 14px; opacity: 0.85; }

/* ====== 快速查询卡片 ====== */
.quick-query {
  max-width: var(--max-width);
  margin: -50px auto 0;
  padding: 0 24px;
  position: relative;
  z-index: 10;
}
.quick-query-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-xl);
}
.quick-query-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.quick-query-card h3 i { color: var(--accent); }

/* ====== 表单 ====== */
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.form-group { display: flex; flex-direction: column; }
.form-group.full { grid-column: 1 / -1; }
.form-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.form-label .required { color: var(--accent); }
.form-input, .form-select, .form-textarea {
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px;
  color: var(--text);
  background: #fff;
  transition: all 0.2s;
  width: 100%;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
.form-input::placeholder { color: var(--text-lighter); }
.form-hint { font-size: 12px; color: var(--text-light); margin-top: 4px; }
.form-error { font-size: 13px; color: var(--accent); margin-top: 4px; }

.input-group { display: flex; align-items: center; }
.input-group .form-input { border-radius: var(--radius) 0 0 var(--radius); }
.input-group .input-suffix {
  padding: 11px 14px;
  background: var(--bg-alt);
  border: 1.5px solid var(--border);
  border-left: none;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 14px;
  color: var(--text-light);
  white-space: nowrap;
}

/* ====== 区块标题 ====== */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header .eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-header h2 {
  font-size: 34px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 16px;
}
.section-header p {
  font-size: 17px;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* ====== 优势卡片 ====== */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.advantage-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: 1px solid var(--border);
}
.advantage-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-light);
}
.advantage-card .icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
  margin-bottom: 20px;
}
.advantage-card:nth-child(2n) .icon {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
}
.advantage-card h3 { font-size: 19px; font-weight: 700; color: var(--primary); margin-bottom: 10px; }
.advantage-card p { font-size: 15px; color: var(--text-light); line-height: 1.7; }

/* ====== 服务流程 ====== */
.flow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  position: relative;
}
.flow-step {
  text-align: center;
  position: relative;
  padding: 24px 16px;
}
.flow-step .step-num {
  width: 48px; height: 48px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  margin: 0 auto 16px;
  position: relative;
  z-index: 1;
}
.flow-step .step-icon {
  font-size: 28px;
  color: var(--primary-light);
  margin-bottom: 12px;
}
.flow-step h4 { font-size: 16px; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.flow-step p { font-size: 13px; color: var(--text-light); line-height: 1.5; }

/* ====== 统计数据 ====== */
.stats-bar {
  background: var(--primary-dark);
  color: #fff;
  padding: 56px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  text-align: center;
}
.stat-item .num {
  font-size: 48px;
  font-weight: 800;
  color: #fbbf24;
  line-height: 1;
}
.stat-item .num .suffix { font-size: 24px; }
.stat-item .label { font-size: 15px; opacity: 0.85; margin-top: 8px; }

/* ====== 运费查询结果 ====== */
.query-result {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  margin-top: 24px;
  display: none;
}
.query-result.show { display: block; animation: slideUp 0.4s ease; }
@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.result-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--border);
  margin-bottom: 24px;
}
.result-title { font-size: 22px; font-weight: 700; color: var(--primary); }
.result-zone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37,99,235,0.08);
  color: var(--primary);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  margin-top: 8px;
}
.result-total-box {
  text-align: right;
}
.result-total-box .label { font-size: 14px; color: var(--text-light); }
.result-total-box .amount {
  font-size: 36px;
  font-weight: 800;
  color: var(--accent);
}
.result-total-box .currency { font-size: 18px; }

.result-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.result-item {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 16px;
}
.result-item .label { font-size: 13px; color: var(--text-light); margin-bottom: 4px; }
.result-item .value { font-size: 16px; font-weight: 600; color: var(--text); }

.result-breakdown {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 24px;
}
.result-breakdown h4 { font-size: 15px; font-weight: 700; color: var(--primary); margin-bottom: 12px; }
.breakdown-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 14px;
}
.breakdown-item:last-child { border-bottom: none; font-weight: 700; color: var(--accent); font-size: 16px; }
.breakdown-item .name { color: var(--text); }
.breakdown-item .amount { color: var(--text); font-variant-numeric: tabular-nums; }

.result-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.result-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: var(--accent);
  padding: 16px 20px;
  border-radius: var(--radius);
  margin-top: 24px;
  display: none;
  font-size: 15px;
}
.result-error.show { display: flex; align-items: center; gap: 10px; }

/* ====== 资讯版块 ====== */
.news-layout { display: grid; grid-template-columns: 240px 1fr; gap: 32px; }
.news-sidebar {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow);
  height: fit-content;
  position: sticky;
  top: calc(var(--header-height) + 24px);
}
.news-cat-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s;
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 4px;
}
.news-cat-item:hover { background: var(--bg-alt); }
.news-cat-item.active { background: var(--primary); color: #fff; }
.news-cat-item .count {
  font-size: 12px;
  background: rgba(0,0,0,0.08);
  padding: 2px 8px;
  border-radius: 50px;
}
.news-cat-item.active .count { background: rgba(255,255,255,0.2); }

.news-list { display: flex; flex-direction: column; gap: 16px; }
.news-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid var(--border);
}
.news-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); border-color: var(--primary-light); }
.news-card.top { border-left: 4px solid var(--accent); }
.news-card-header { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.news-cat-badge {
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 50px;
  color: #fff;
}
.news-top-badge {
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 50px;
  background: var(--accent);
  color: #fff;
}
.news-date { font-size: 13px; color: var(--text-light); margin-left: auto; }
.news-card h3 { font-size: 18px; font-weight: 700; color: var(--primary); margin-bottom: 10px; line-height: 1.4; }
.news-card .summary { font-size: 15px; color: var(--text-light); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-card-footer { display: flex; align-items: center; gap: 16px; margin-top: 14px; font-size: 13px; color: var(--text-lighter); }
.news-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.news-tag { background: var(--bg-alt); padding: 2px 8px; border-radius: 4px; font-size: 12px; }

/* 资讯详情 */
.news-detail-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 2000;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 20px;
  overflow-y: auto;
}
.news-detail-overlay.show { display: flex; }
.news-detail {
  background: #fff;
  border-radius: var(--radius-xl);
  max-width: 800px;
  width: 100%;
  padding: 40px;
  position: relative;
  animation: slideUp 0.3s ease;
}
.news-detail-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  cursor: pointer;
}
.news-detail-close:hover { background: var(--border-dark); }
.news-detail h1 { font-size: 26px; font-weight: 800; color: var(--primary); margin-bottom: 16px; line-height: 1.4; }
.news-detail-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--border); font-size: 14px; color: var(--text-light); }
.news-detail-content { font-size: 16px; line-height: 1.9; color: var(--text); white-space: pre-wrap; }

/* ====== 后台管理 ====== */
.admin-login {
  max-width: 400px;
  margin: 80px auto;
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}
.admin-login h2 { font-size: 24px; font-weight: 700; color: var(--primary); text-align: center; margin-bottom: 8px; }
.admin-login p { text-align: center; color: var(--text-light); margin-bottom: 28px; }

.admin-layout { display: grid; grid-template-columns: 240px 1fr; min-height: calc(100vh - var(--header-height)); }
.admin-sidebar {
  background: var(--primary-dark);
  color: #fff;
  padding: 24px 0;
  position: sticky;
  top: var(--header-height);
  height: calc(100vh - var(--header-height));
}
.admin-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 15px;
  color: rgba(255,255,255,0.7);
}
.admin-menu-item:hover { background: rgba(255,255,255,0.08); color: #fff; }
.admin-menu-item.active { background: var(--primary-light); color: #fff; }
.admin-content { padding: 32px; background: var(--bg); }
.admin-section { display: none; }
.admin-section.show { display: block; }

.admin-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}
.admin-card h3 { font-size: 18px; font-weight: 700; color: var(--primary); margin-bottom: 20px; }

/* 价格表编辑 */
.price-table { width: 100%; border-collapse: collapse; }
.price-table th, .price-table td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.price-table th { background: var(--bg-alt); font-weight: 600; color: var(--text); }
.price-table .price-input {
  width: 100px;
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 14px;
}
.price-table .price-input:focus { outline: none; border-color: var(--primary-light); }
.price-table-row:hover { background: var(--bg-alt); }
.price-table .weight-cell { font-weight: 600; color: var(--primary); }

.price-table-scroll { max-height: 500px; overflow-y: auto; border: 1px solid var(--border); border-radius: var(--radius); }

/* ====== Toast提示 ====== */
.toast-container {
  position: fixed;
  top: 90px; right: 24px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.toast {
  background: #fff;
  border-radius: var(--radius);
  padding: 14px 20px;
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  min-width: 280px;
  animation: slideInRight 0.3s ease;
  border-left: 4px solid var(--primary);
}
@keyframes slideInRight { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
.toast.success { border-left-color: var(--success); }
.toast.error { border-left-color: var(--accent); }
.toast.warning { border-left-color: var(--warning); }
.toast .icon { font-size: 20px; }
.toast.success .icon { color: var(--success); }
.toast.error .icon { color: var(--accent); }
.toast.warning .icon { color: var(--warning); }

/* ====== 页脚 ====== */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.85);
  padding: 60px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .logo-text .name { color: #fff; }
.footer-brand .logo-text .sub { color: rgba(255,255,255,0.6); }
.footer-brand p { font-size: 14px; line-height: 1.7; margin-top: 16px; opacity: 0.8; }
.footer-col h4 { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; font-size: 14px; }
.footer-col ul li a { opacity: 0.7; transition: opacity 0.2s; }
.footer-col ul li a:hover { opacity: 1; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; font-size: 14px; opacity: 0.8; }
.footer-contact-item i { margin-top: 3px; color: #fbbf24; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
  opacity: 0.6;
}

/* ====== 时效查询 ====== */
.transit-table {
  width: 100%;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.transit-table th, .transit-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}
.transit-table th { background: var(--primary); color: #fff; font-weight: 600; }
.transit-table tbody tr:hover { background: var(--bg-alt); }
.transit-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
}
.transit-badge.fast { background: rgba(5,150,105,0.1); color: var(--success); }
.transit-badge.normal { background: rgba(8,145,178,0.1); color: var(--info); }
.transit-badge.slow { background: rgba(234,88,12,0.1); color: var(--warning); }

/* ====== 响应式 ====== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .news-layout { grid-template-columns: 1fr; }
  .news-sidebar { position: static; display: flex; flex-wrap: wrap; gap: 8px; }
  .news-cat-item { margin-bottom: 0; }
}

@media (max-width: 768px) {
  .nav { display: none; }
  .mobile-toggle { display: block; }
  .lang-btn { padding: 4px 8px; font-size: 12px; }
  .lang-btn .fa-chevron-down { display: none; }
  .nav.mobile-show {
    display: flex;
    position: absolute;
    top: var(--header-height);
    left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    padding: 16px;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--border);
  }
  .nav.mobile-show .nav-item { width: 100; }
  .hero h1 { font-size: 30px; }
  .hero p { font-size: 16px; }
  .section-header h2 { font-size: 26px; }
  .hero-stats { gap: 24px; }
  .hero-stat .num { font-size: 28px; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { position: static; height: auto; display: flex; overflow-x: auto; padding: 12px; }
  .admin-menu-item { white-space: nowrap; padding: 10px 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .result-header { flex-direction: column; }
  .result-total-box { text-align: left; }
  .result-total-box .amount { font-size: 30px; }
  .form-grid { grid-template-columns: 1fr; }
  .quick-query-card { padding: 20px; }
  .section { padding: 56px 0; }
  .container { padding: 0 16px; }
}
