/* ===== 桐乡市优行汽车租赁有限公司 平台样式 ===== */
:root {
  --ink: #17324d;
  --ink-2: #274b6d;
  --ink-3: #5b7a89;
  --gold: #b98a2f;
  --gold-2: #c9a25a;
  --gold-soft: #f2e8d5;
  --bg: #f5f7fa;
  --card: #ffffff;
  --line: #e4e9f0;
  --text: #24313f;
  --muted: #6b7a89;
  --red: #b4552f;
  --green: #2e7d54;
  --shadow: 0 10px 30px rgba(23, 50, 77, .08);
  --shadow-sm: 0 4px 14px rgba(23, 50, 77, .07);
  --radius: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.7;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }

.ic { display: inline-flex; width: 18px; height: 18px; vertical-align: -4px; }
.ic svg { width: 100%; height: 100%; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 20px; border-radius: 9px; border: 1px solid transparent;
  font-size: 14px; cursor: pointer; transition: all .18s ease; font-family: inherit;
}
.btn-sm { padding: 6px 14px; font-size: 13px; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--ink-2); box-shadow: var(--shadow-sm); }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: #a67a24; box-shadow: var(--shadow-sm); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--gold-2); color: var(--gold); }
.btn-text { background: none; border: none; color: var(--muted); }
.btn-text:hover { color: var(--ink); }
.btn-danger { background: #fdf3ee; color: var(--red); border-color: #ecd4c7; }
.btn-danger:hover { background: var(--red); color: #fff; }
.btn-success { background: #eef7f1; color: var(--green); border-color: #cfe5d8; }
.btn-success:hover { background: var(--green); color: #fff; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* ---------- 页头 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 28px; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.logo-mark { width: 44px; height: 44px; flex: 0 0 44px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.brand-text strong { font-size: 16.5px; color: var(--ink); letter-spacing: .5px; white-space: nowrap; }
.main-nav { display: flex; gap: 4px; margin-left: auto; }
.nav-link {
  padding: 8px 15px; border-radius: 8px; font-size: 14.5px; color: var(--text);
}
.nav-link:hover { background: var(--gold-soft); color: var(--ink); }
.nav-link.active { background: var(--ink); color: #fff; }
.user-box { display: flex; align-items: center; gap: 10px; }
.user-hello { font-size: 13.5px; color: var(--muted); display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.user-hello .ic { width: 16px; height: 16px; }

/* ---------- 首页 Hero ---------- */
.hero {
  background: linear-gradient(135deg, #142c45 0%, #1d4265 55%, #27547c 100%);
  color: #fff; padding: 64px 0 84px; position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px;
  border: 1px solid rgba(201, 162, 90, .35); border-radius: 50%;
}
.hero::before {
  content: ""; position: absolute; right: -60px; top: -60px; width: 300px; height: 300px;
  border: 1px solid rgba(201, 162, 90, .22); border-radius: 50%;
}
.hero-inner { position: relative; z-index: 1; max-width: 720px; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; letter-spacing: 2px;
  color: var(--gold-2); border: 1px solid rgba(201, 162, 90, .45); border-radius: 999px;
  padding: 5px 16px; margin-bottom: 20px;
}
.hero h1 { font-size: 34px; line-height: 1.35; letter-spacing: 1px; margin-bottom: 14px; }
.hero h1 span { color: var(--gold-2); }
.hero p { color: #c3d2e0; font-size: 15.5px; margin-bottom: 30px; }
.hero-search {
  display: flex; background: #fff; border-radius: 12px; padding: 6px; max-width: 560px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, .25);
}
.hero-search input {
  flex: 1; border: none; outline: none; padding: 10px 16px; font-size: 14.5px; font-family: inherit; color: var(--text);
}
.hero-search .btn { border-radius: 8px; }
.hero-stats { display: flex; gap: 44px; margin-top: 38px; }
.hero-stat strong { font-size: 26px; color: #fff; font-family: Georgia, serif; }
.hero-stat em { display: block; font-style: normal; font-size: 12.5px; color: #9db2c6; letter-spacing: 1px; margin-top: 2px; }

/* ---------- 区块通用 ---------- */
.section { padding: 56px 0 8px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 26px; }
.section-head h2 { font-size: 24px; color: var(--ink); letter-spacing: 1px; }
.section-head h2::after { content: ""; display: block; width: 34px; height: 3px; background: var(--gold); border-radius: 2px; margin-top: 8px; }
.section-head .more { font-size: 13.5px; color: var(--muted); display: inline-flex; align-items: center; gap: 4px; }
.section-head .more:hover { color: var(--gold); }

/* 类目 */
.cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.cat-tile {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 16px; text-align: center; transition: all .2s ease; box-shadow: var(--shadow-sm);
}
.cat-tile:hover { transform: translateY(-3px); border-color: var(--gold-2); box-shadow: var(--shadow); }
.cat-tile .ic { width: 40px; height: 40px; color: var(--ink); margin-bottom: 10px; }
.cat-tile:hover .ic { color: var(--gold); }
.cat-tile h3 { font-size: 15.5px; color: var(--ink); }
.cat-tile p { font-size: 12px; color: var(--muted); margin-top: 3px; }

/* 信息卡片 */
.car-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.car-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: all .2s ease; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.car-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d8c49a; }
.car-card-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #dfe6ee; }
.car-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.car-card:hover .car-card-img img { transform: scale(1.04); }
.pill {
  display: inline-flex; align-items: center; gap: 5px; font-size: 12px;
  border-radius: 999px; padding: 4px 12px;
}
.pill .ic { width: 14px; height: 14px; }
.pill-cat { position: absolute; left: 12px; bottom: 12px; background: rgba(23, 50, 77, .88); color: #f0e6cf; backdrop-filter: blur(4px); }
.car-card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.car-card-body h3 {
  font-size: 15.5px; color: var(--ink); line-height: 1.45; margin-bottom: 8px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.car-card-summary {
  font-size: 13px; color: var(--muted); margin-bottom: 14px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; flex: 1;
}
.car-card-meta { display: flex; gap: 14px; font-size: 12px; color: #8a97a4; border-top: 1px dashed var(--line); padding-top: 12px; }
.car-card-meta span { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.car-card-meta .ic { width: 14px; height: 14px; }

/* 服务特色 */
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feat {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
}
.feat::after { content: ""; position: absolute; left: 0; top: 0; width: 3px; height: 44px; background: var(--gold); border-radius: 0 2px 2px 0; }
.feat .ic { width: 34px; height: 34px; color: var(--gold); margin-bottom: 14px; }
.feat h3 { font-size: 16px; color: var(--ink); margin-bottom: 8px; }
.feat p { font-size: 13px; color: var(--muted); }

/* 流程 */
.step-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; box-shadow: var(--shadow-sm); }
.step b {
  counter-increment: step; display: inline-flex; width: 34px; height: 34px; border-radius: 50%;
  background: var(--ink); color: var(--gold-2); align-items: center; justify-content: center;
  font-size: 15px; font-family: Georgia, serif; margin-bottom: 12px;
}
.step b::before { content: counter(step); }
.step h3 { font-size: 15.5px; color: var(--ink); margin-bottom: 6px; }
.step p { font-size: 13px; color: var(--muted); }

/* ---------- 列表页 ---------- */
.page-head { background: var(--ink); color: #fff; padding: 38px 0; }
.page-head h1 { font-size: 24px; letter-spacing: 1px; }
.page-head p { color: #b7c7d6; font-size: 13.5px; margin-top: 6px; }
.breadcrumb { font-size: 13px; color: #9db2c6; margin-bottom: 10px; }
.breadcrumb a { color: var(--gold-2); }

.listings-layout { display: grid; grid-template-columns: 250px 1fr; gap: 24px; padding: 30px 0 60px; }
.filter-panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); align-self: start; position: sticky; top: 92px; }
.filter-panel h4 { font-size: 14px; color: var(--ink); margin-bottom: 12px; display: flex; align-items: center; gap: 6px; }
.filter-panel h4 .ic { color: var(--gold); width: 16px; height: 16px; }
.cat-list a {
  display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 8px;
  font-size: 14px; color: var(--text); margin-bottom: 2px;
}
.cat-list a .ic { width: 18px; height: 18px; color: var(--muted); }
.cat-list a:hover { background: var(--gold-soft); }
.cat-list a.active { background: var(--ink); color: #fff; }
.cat-list a.active .ic { color: var(--gold-2); }
.filter-tip { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line); font-size: 12.5px; color: var(--muted); }
.filter-tip .ic { color: var(--gold); width: 15px; height: 15px; }

.listings-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; gap: 12px; flex-wrap: wrap; }
.result-count { font-size: 13.5px; color: var(--muted); }
.sort-tabs { display: flex; gap: 6px; }
.sort-tabs button {
  border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 6px 14px;
  font-size: 13px; cursor: pointer; color: var(--muted); font-family: inherit;
}
.sort-tabs button.active { background: var(--ink); color: #fff; border-color: var(--ink); }

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 34px; }
.pagination button {
  min-width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--line);
  background: #fff; cursor: pointer; font-size: 14px; color: var(--text); font-family: inherit;
}
.pagination button.cur { background: var(--ink); color: #fff; border-color: var(--ink); }
.pagination button:disabled { opacity: .4; cursor: not-allowed; }

.empty-state { text-align: center; padding: 70px 20px; color: var(--muted); }
.empty-state .ic { width: 52px; height: 52px; color: #c6d1dc; margin-bottom: 16px; }

/* ---------- 详情页 ---------- */
.detail-layout { display: grid; grid-template-columns: 1fr 340px; gap: 24px; padding: 30px 0 60px; align-items: start; }
.detail-main { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.detail-img { aspect-ratio: 16 / 10; overflow: hidden; background: #dfe6ee; }
.detail-img img { width: 100%; height: 100%; object-fit: cover; }
.detail-body { padding: 28px 30px 30px; }
.detail-body h1 { font-size: 22px; color: var(--ink); line-height: 1.5; margin-bottom: 12px; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 18px; font-size: 13px; color: var(--muted); padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.detail-meta span { display: inline-flex; align-items: center; gap: 5px; }
.detail-meta .ic { width: 15px; height: 15px; color: var(--gold); }
.detail-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.detail-tags .pill { background: var(--gold-soft); color: #8a6a2c; border: 1px solid #e5d5b4; }
.detail-content p { margin-bottom: 16px; font-size: 15px; color: #3a4754; text-align: justify; }
.detail-content p:first-letter { }
.detail-side { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 18px; }
.side-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.side-card h4 { font-size: 15px; color: var(--ink); margin-bottom: 16px; display: flex; align-items: center; gap: 7px; }
.side-card h4 .ic { color: var(--gold); width: 17px; height: 17px; }
.contact-row { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.contact-row:last-of-type { border-bottom: none; }
.contact-row .ic { width: 20px; height: 20px; color: var(--gold); flex: 0 0 20px; }
.contact-row b { font-size: 15px; color: var(--ink); display: block; }
.contact-row span { font-size: 14px; color: var(--text); letter-spacing: .5px; }
.contact-row em { font-style: normal; font-size: 11.5px; color: var(--muted); display: block; }
.side-note { font-size: 12.5px; color: var(--muted); background: #f6f8fb; border-radius: 10px; padding: 14px 16px; line-height: 1.8; }
.side-note b { color: var(--ink); }
.side-link { display: block; text-align: center; margin-top: 14px; }

/* ---------- 表单页 ---------- */
.auth-wrap { max-width: 460px; margin: 60px auto 80px; padding: 0 20px; }
.auth-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 34px; box-shadow: var(--shadow); }
.auth-card h1 { font-size: 21px; color: var(--ink); margin-bottom: 6px; }
.auth-card .sub { font-size: 13px; color: var(--muted); margin-bottom: 26px; }
.form-item { margin-bottom: 18px; }
.form-item label { display: block; font-size: 13.5px; color: var(--ink); margin-bottom: 7px; font-weight: 600; }
.form-item label i { color: var(--red); font-style: normal; margin-left: 2px; }
.form-item input[type="text"], .form-item input[type="password"], .form-item input[type="tel"],
.form-item select, .form-item textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 9px; padding: 10px 14px;
  font-size: 14px; font-family: inherit; outline: none; transition: border .15s; background: #fff; color: var(--text);
}
.form-item textarea { min-height: 120px; resize: vertical; line-height: 1.8; }
.form-item input:focus, .form-item select:focus, .form-item textarea:focus { border-color: var(--gold-2); box-shadow: 0 0 0 3px rgba(201, 162, 90, .14); }
.form-item .hint { font-size: 12px; color: var(--muted); margin-top: 5px; }
.form-item .err { font-size: 12.5px; color: var(--red); margin-top: 5px; }
.agree-row { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.agree-row input { margin-top: 4px; accent-color: var(--gold); }
.agree-row a { color: var(--gold); }
.agree-row a:hover { text-decoration: underline; }
.auth-switch { text-align: center; font-size: 13.5px; color: var(--muted); margin-top: 18px; }
.auth-switch a { color: var(--gold); }
.msg-tip { border-radius: 9px; padding: 10px 14px; font-size: 13px; margin-bottom: 16px; display: none; }
.msg-tip.error { display: block; background: #fdf0ec; color: var(--red); border: 1px solid #f2d4cb; }
.msg-tip.ok { display: block; background: #eef7f1; color: var(--green); border: 1px solid #cfe5d8; }

/* 发布页 */
.publish-wrap { max-width: 760px; margin: 40px auto 80px; padding: 0 20px; }
.publish-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 36px; box-shadow: var(--shadow); }
.publish-card h1 { font-size: 21px; color: var(--ink); margin-bottom: 6px; }
.publish-card .sub { font-size: 13px; color: var(--muted); margin-bottom: 26px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.form-grid .full { grid-column: 1 / -1; }
.login-gate { text-align: center; padding: 46px 20px; }
.login-gate .ic { width: 46px; height: 46px; color: var(--gold); margin-bottom: 14px; }
.login-gate p { color: var(--muted); margin-bottom: 20px; }

/* ---------- 关于我们 ---------- */
.about-wrap { max-width: 860px; margin: 40px auto 80px; padding: 0 20px; }
.about-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px 44px; box-shadow: var(--shadow-sm); margin-bottom: 22px; }
.about-card h2 { font-size: 20px; color: var(--ink); margin-bottom: 18px; display: flex; align-items: center; gap: 9px; }
.about-card h2 .ic { color: var(--gold); width: 22px; height: 22px; }
.about-card h2::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.about-card p { margin-bottom: 14px; font-size: 14.5px; color: #3a4754; text-align: justify; }
.about-card p:last-child { margin-bottom: 0; }
.about-contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.about-contact { background: #f6f8fb; border-radius: 10px; padding: 18px; display: flex; gap: 12px; align-items: flex-start; }
.about-contact .ic { width: 22px; height: 22px; color: var(--gold); margin-top: 3px; }
.about-contact b { display: block; font-size: 13px; color: var(--muted); font-weight: 500; }
.about-contact span { font-size: 15px; color: var(--ink); }

/* ---------- 法务页 ---------- */
.legal-wrap { max-width: 860px; margin: 40px auto 80px; padding: 0 20px; }
.legal-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 44px 48px; box-shadow: var(--shadow-sm); }
.legal-card h1 { font-size: 22px; color: var(--ink); text-align: center; margin-bottom: 6px; }
.legal-card .updated { text-align: center; font-size: 12.5px; color: var(--muted); margin-bottom: 28px; }
.legal-card h3 { font-size: 16px; color: var(--ink); margin: 24px 0 10px; padding-left: 10px; border-left: 3px solid var(--gold); }
.legal-card p, .legal-card li { font-size: 14px; color: #3a4754; margin-bottom: 8px; }
.legal-card ul { padding-left: 22px; }

/* ---------- 管理后台 ---------- */
.admin-wrap { max-width: 1160px; margin: 34px auto 80px; padding: 0 20px; }
.admin-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; flex-wrap: wrap; gap: 12px; }
.admin-head h1 { font-size: 22px; color: var(--ink); display: flex; align-items: center; gap: 10px; }
.admin-head h1 .ic { color: var(--gold); width: 24px; height: 24px; }
.admin-id { font-size: 13px; color: var(--muted); }
.admin-id b { color: var(--ink); }
.stat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-bottom: 26px; }
.stat-card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 18px 16px; box-shadow: var(--shadow-sm); }
.stat-card strong { font-size: 24px; color: var(--ink); font-family: Georgia, serif; }
.stat-card em { display: block; font-style: normal; font-size: 12px; color: var(--muted); margin-top: 2px; }
.stat-card.hl { border-top: 3px solid var(--gold); }
.admin-tabs { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.admin-tabs button {
  border: 1px solid var(--line); background: #fff; border-radius: 9px; padding: 8px 18px;
  font-size: 13.5px; cursor: pointer; color: var(--muted); font-family: inherit;
}
.admin-tabs button.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.admin-tabs button .cnt { display: inline-flex; margin-left: 6px; background: var(--gold); color: #fff; border-radius: 999px; font-size: 11px; padding: 0 7px; line-height: 17px; }
.admin-panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.admin-table th { text-align: left; background: #f6f8fb; color: var(--muted); font-weight: 600; padding: 12px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.admin-table td { padding: 13px 16px; border-bottom: 1px solid #eef1f5; vertical-align: middle; }
.admin-table tr:hover td { background: #fafbfd; }
.admin-table .t-title { max-width: 320px; color: var(--ink); font-weight: 600; line-height: 1.5; }
.admin-table .t-sub { font-size: 12px; color: var(--muted); font-weight: 400; margin-top: 2px; }
.status-pill { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; border-radius: 999px; padding: 3px 11px; white-space: nowrap; }
.status-pill.s-pending { background: #faf3e4; color: #9a7a20; border: 1px solid #eddfb9; }
.status-pill.s-approved { background: #eef7f1; color: var(--green); border: 1px solid #cfe5d8; }
.status-pill.s-rejected { background: #fdf0ec; color: var(--red); border: 1px solid #f2d4cb; }
.row-actions { display: flex; gap: 8px; }
.reject-pop { position: fixed; inset: 0; background: rgba(15, 30, 45, .45); display: flex; align-items: center; justify-content: center; z-index: 100; }
.reject-box { background: #fff; border-radius: 14px; padding: 28px; width: 420px; max-width: 92vw; box-shadow: 0 20px 60px rgba(0,0,0,.25); }
.reject-box h3 { font-size: 17px; color: var(--ink); margin-bottom: 8px; }
.reject-box p { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.reject-box textarea { width: 100%; min-height: 84px; border: 1px solid var(--line); border-radius: 9px; padding: 10px 12px; font-family: inherit; font-size: 13.5px; resize: vertical; }
.reject-box .btns { display: flex; justify-content: flex-end; gap: 10px; margin-top: 16px; }

/* ---------- 页脚 ---------- */
.site-footer { background: #132a41; color: #a9bccd; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; padding: 52px 20px 40px; }
.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-brand .logo-mark { width: 46px; height: 46px; }
.footer-brand p { font-size: 13px; line-height: 1.8; }
.footer-brand strong { color: #fff; font-size: 15px; }
.footer-col h4 { color: #fff; font-size: 14.5px; margin-bottom: 16px; letter-spacing: 1px; }
.footer-col a { display: block; font-size: 13px; color: #a9bccd; margin-bottom: 10px; }
.footer-col a:hover { color: var(--gold-2); }
.footer-contact { display: flex; align-items: center; gap: 8px; font-size: 13px; margin-bottom: 10px; }
.footer-contact .ic { color: var(--gold-2); width: 15px; height: 15px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 18px 0; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 12.5px; color: #7e93a8; }
.icp-link { color: #7e93a8; }
.icp-link:hover { color: var(--gold-2); }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .header-inner { flex-wrap: wrap; height: auto; padding: 12px 0; gap: 10px; }
  .brand-text strong { font-size: 14px; }
  .main-nav { order: 3; width: 100%; margin-left: 0; }
  .user-box { margin-left: auto; }
  .cat-grid, .feat-grid, .step-grid { grid-template-columns: repeat(2, 1fr); }
  .car-grid { grid-template-columns: repeat(2, 1fr); }
  .listings-layout, .detail-layout { grid-template-columns: 1fr; }
  .filter-panel, .detail-side { position: static; }
  .stat-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 26px; flex-wrap: wrap; }
  .form-grid { grid-template-columns: 1fr; }
  .about-contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .car-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .feat-grid, .step-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 25px; }
  .footer-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-body, .legal-card, .about-card { padding: 24px 20px; }
  .admin-table { font-size: 12.5px; }
  .admin-table th, .admin-table td { padding: 9px 10px; }
}

/* ===== 证件查看弹层 ===== */
.id-links { margin-top: 6px; display: flex; gap: 4px; }
.id-links .btn { padding: 2px 8px; font-size: 12px; }
.id-viewer {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(15, 23, 42, 0.62);
  display: flex; align-items: center; justify-content: center;
}
.id-viewer-box {
  background: #fff; border-radius: 14px; padding: 18px 22px 14px;
  max-width: min(640px, 90vw); text-align: center;
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
}
.id-viewer-box h3 { font-size: 15px; color: var(--ink); margin-bottom: 12px; }
.id-viewer-box img { width: 100%; max-height: 62vh; object-fit: contain; border-radius: 8px; }
.id-viewer-box p { font-size: 12px; color: var(--muted); margin-top: 10px; }
