/* ==========================================================================
   上海畅凯网络科技有限公司 · 小微型客车租赁经营服务平台
   全局样式（大厂风格 Design System）
   ========================================================================== */

:root {
  --brand: #1a6dff;
  --brand-dark: #0b4fd0;
  --brand-darker: #083aa0;
  --brand-weak: #eaf2ff;
  --brand-weaker: #f4f8ff;
  --success: #00a870;
  --warning: #ff9a2e;
  --danger: #e34d59;
  --t1: #1d2129;
  --t2: #4e5969;
  --t3: #86909c;
  --t4: #a9aeb8;
  --line: #e5e8ef;
  --line-strong: #d0d6e0;
  --bg: #f5f7fa;
  --card: #ffffff;
  --r-sm: 6px;
  --r: 10px;
  --r-lg: 16px;
  --r-xl: 22px;
  --sd1: 0 1px 2px rgba(12, 32, 64, .05);
  --sd2: 0 4px 16px rgba(12, 32, 64, .08);
  --sd3: 0 12px 32px rgba(12, 32, 64, .14);
  --shadow-brand: 0 8px 20px rgba(26, 109, 255, .25);
  --nav-h: 64px;
  --max: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei",
    "Helvetica Neue", "Hiragino Sans GB", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--t1);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: 14px; }

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

/* ------------------------------- 顶部导航 -------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .2px;
  color: var(--t1);
  white-space: nowrap;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--brand) 0%, #4b9bff 100%);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(26, 109, 255, .3);
}

.logo-sub {
  font-size: 11px;
  font-weight: 500;
  color: var(--t3);
  letter-spacing: 1px;
  border-left: 1px solid var(--line-strong);
  padding-left: 10px;
  margin-left: 2px;
}

.nav-menu { display: flex; align-items: center; gap: 4px; flex: 1; }

.nav-link {
  position: relative;
  padding: 8px 14px;
  border-radius: var(--r);
  font-size: 15px;
  color: var(--t2);
  font-weight: 500;
  transition: color .2s, background .2s;
}

.nav-link:hover { color: var(--brand); background: var(--brand-weaker); }

.nav-link.active { color: var(--brand); font-weight: 600; background: var(--brand-weak); }

.nav-right { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
  align-items: center;
  justify-content: center;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--t1);
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--t1);
}

.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* 用户区 */
.user-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 5px 5px;
  border-radius: 999px;
  background: var(--brand-weaker);
  border: 1px solid var(--line);
}

.avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), #6aa8ff);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
}

.user-name { font-size: 13px; font-weight: 600; color: var(--t1); max-width: 90px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.link-btn { background: none; border: 0; color: var(--t3); font-size: 13px; padding: 0 2px; }
.link-btn:hover { color: var(--danger); }

/* ------------------------------- 按钮 ------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 40px;
  padding: 0 20px;
  border-radius: var(--r);
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  transition: all .18s ease;
  white-space: nowrap;
}

.btn-primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-brand); }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }

.btn-outline { background: #fff; color: var(--brand); border-color: #bcd6ff; }
.btn-outline:hover { background: var(--brand-weaker); border-color: var(--brand); }

.btn-ghost { background: var(--brand-weaker); color: var(--brand); }
.btn-ghost:hover { background: var(--brand-weak); }

.btn-dark { background: var(--t1); color: #fff; }
.btn-dark:hover { background: #000; }

.btn-lg { height: 48px; padding: 0 28px; font-size: 15px; border-radius: var(--r); }
.btn-sm { height: 32px; padding: 0 14px; font-size: 13px; border-radius: var(--r-sm); }
.btn-block { width: 100%; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }

/* ------------------------------- 首页 Hero -------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #0b3fa8 0%, #1a6dff 45%, #4b9bff 100%);
  color: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 380px at 78% 12%, rgba(255, 255, 255, .22), transparent 60%),
    radial-gradient(700px 320px at 8% 92%, rgba(255, 255, 255, .14), transparent 60%);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 70px;
  background: var(--bg);
  clip-path: polygon(0 100%, 100% 100%, 100% 0);
  opacity: .95;
}

.hero-inner { position: relative; padding: 76px 0 96px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .28);
  font-size: 13px;
  margin-bottom: 22px;
}

.hero-badge i {
  width: 6px; height: 6px; border-radius: 50%;
  background: #4ade80; display: inline-block;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: 44px;
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: -.5px;
}

.hero h1 em { font-style: normal; color: #ffd76a; }

.hero p { margin: 0 0 30px; font-size: 17px; color: rgba(255, 255, 255, .88); max-width: 620px; }

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.hero .btn-dark { background: #fff; color: var(--brand); }
.hero .btn-dark:hover { background: #f0f6ff; }
.hero .btn-outline { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .5); }
.hero .btn-outline:hover { background: rgba(255, 255, 255, .22); }

/* Hero 搜索条 */
.hero-search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: rgba(255, 255, 255, .96);
  border-radius: var(--r-lg);
  box-shadow: var(--sd3);
  max-width: 860px;
  flex-wrap: wrap;
}

.hero-search .field {
  flex: 1;
  min-width: 150px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 4px 12px;
  border-right: 1px solid var(--line);
}

.hero-search .field:last-of-type { border-right: 0; }
.hero-search label { font-size: 12px; color: var(--t3); font-weight: 600; }

.hero-search input,
.hero-search select {
  border: 0;
  outline: none;
  background: transparent;
  height: 26px;
  color: var(--t1);
  font-weight: 600;
  width: 100%;
}

.hero-stats {
  display: flex;
  gap: 56px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.hero-stats b { display: block; font-size: 30px; font-weight: 800; letter-spacing: -.5px; }
.hero-stats span { font-size: 13px; color: rgba(255, 255, 255, .78); }

/* ------------------------------- 区块 ------------------------------------ */
.section { padding: 64px 0; }
.section-sm { padding: 40px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 28px; gap: 20px; flex-wrap: wrap; }
.section-head h2 { margin: 0 0 8px; font-size: 28px; font-weight: 800; letter-spacing: -.3px; }
.section-head p { margin: 0; color: var(--t3); font-size: 15px; }
.more-link { color: var(--brand); font-size: 14px; font-weight: 600; }
.more-link:hover { text-decoration: underline; }

/* 特性卡片 */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.feature {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px 22px;
  transition: all .22s ease;
}

.feature:hover { transform: translateY(-4px); box-shadow: var(--sd2); border-color: #cfe0ff; }
.feature .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-weaker); display: grid; place-items: center; margin-bottom: 16px; font-size: 22px; }
.feature h3 { margin: 0 0 8px; font-size: 17px; font-weight: 700; }
.feature p { margin: 0; color: var(--t3); font-size: 13.5px; }

/* ------------------------------- 车辆卡片 -------------------------------- */
.grid-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.car-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all .22s ease;
}

.car-card:hover { transform: translateY(-4px); box-shadow: var(--sd3); border-color: #cfe0ff; }

.car-thumb { position: relative; aspect-ratio: 5 / 3; background: var(--brand-weaker); overflow: hidden; }
.car-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.car-card:hover .car-thumb img { transform: scale(1.05); }

.car-badge {
  position: absolute;
  left: 12px; top: 12px;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .55);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

.car-seat {
  position: absolute;
  right: 12px; top: 12px;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
}

.car-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }

.car-title {
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 46px;
}

.car-tags { display: flex; gap: 6px; flex-wrap: wrap; }

.tag {
  height: 22px;
  padding: 0 8px;
  border-radius: var(--r-sm);
  background: var(--brand-weaker);
  color: var(--brand);
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

.tag-gray { background: #f2f4f7; color: var(--t2); }
.tag-green { background: #e8fff5; color: var(--success); }
.tag-orange { background: #fff4e6; color: #d97706; }

.car-meta { display: flex; align-items: center; gap: 14px; color: var(--t3); font-size: 13px; }
.car-meta i { font-style: normal; }

.car-price { display: flex; align-items: baseline; justify-content: space-between; margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line); }
.price { color: var(--danger); font-weight: 800; font-size: 22px; }
.price small { font-size: 13px; font-weight: 600; }
.price-unit { color: var(--t3); font-size: 12px; }

/* ------------------------------- 筛选栏 ---------------------------------- */
.filter-bar {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 18px 22px;
  margin-bottom: 22px;
  box-shadow: var(--sd1);
}

.filter-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.filter-row + .filter-row { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); }
.filter-label { font-size: 13px; color: var(--t3); font-weight: 600; min-width: 52px; }

.chip {
  height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--t2);
  font-size: 13px;
  font-weight: 500;
  transition: all .18s;
}

.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip.on { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }

.sort-tabs { display: flex; gap: 4px; margin-left: auto; }
.sort-tab { padding: 6px 12px; border-radius: var(--r-sm); font-size: 13px; color: var(--t2); background: none; border: 0; }
.sort-tab.on { color: var(--brand); font-weight: 700; background: var(--brand-weaker); }

.result-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; color: var(--t2); font-size: 14px; }
.result-bar b { color: var(--brand); font-size: 16px; }

/* ------------------------------- 详情页 ---------------------------------- */
.crumb { padding: 18px 0; color: var(--t3); font-size: 13px; }
.crumb a:hover { color: var(--brand); }
.crumb span { margin: 0 6px; color: var(--line-strong); }

.detail-layout { display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: start; }

.gallery {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 14px;
  box-shadow: var(--sd1);
}

.gallery-main { border-radius: var(--r); overflow: hidden; background: var(--brand-weaker); aspect-ratio: 5 / 3; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }

.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.gallery-thumbs button {
  width: 96px;
  height: 64px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: var(--r);
  overflow: hidden;
  background: none;
}
.gallery-thumbs button.on { border-color: var(--brand); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--sd1);
  margin-bottom: 20px;
}

.panel h3 {
  margin: 0 0 18px;
  font-size: 17px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.panel h3::before { content: ""; width: 4px; height: 16px; border-radius: 2px; background: var(--brand); }

.detail-title { font-size: 26px; font-weight: 800; margin: 0 0 12px; line-height: 1.35; letter-spacing: -.3px; }
.detail-sub { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; color: var(--t3); font-size: 13px; margin-bottom: 18px; }

.spec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.spec-item { background: #fff; padding: 14px 16px; }
.spec-item b { display: block; font-size: 16px; font-weight: 700; margin-bottom: 2px; }
.spec-item span { font-size: 12px; color: var(--t3); }

.detail-rich { font-size: 15px; color: var(--t2); line-height: 1.9; }
.detail-rich p { margin: 0 0 14px; }
.detail-rich h4 { color: var(--t1); font-size: 16px; margin: 22px 0 10px; font-weight: 700; }
.detail-rich img { border-radius: var(--r); margin: 14px 0; }
.detail-rich ul { padding-left: 0; }
.detail-rich li { position: relative; padding-left: 18px; margin-bottom: 8px; }
.detail-rich li::before { content: ""; position: absolute; left: 4px; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }

.highlight-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.highlight-item { display: flex; gap: 10px; align-items: flex-start; background: var(--brand-weaker); border-radius: var(--r); padding: 12px 14px; }
.highlight-item .k { width: 22px; height: 22px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 700; flex: none; }
.highlight-item .v { font-size: 13.5px; color: var(--t2); }

/* 侧边卡片 */
.side-card {
  position: sticky;
  top: calc(var(--nav-h) + 20px);
  z-index: 10;
  max-height: calc(100vh - var(--nav-h) - 40px);
  overflow-y: auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--sd2);
}

.side-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 4px; }
.side-price .num { font-size: 32px; font-weight: 800; color: var(--danger); letter-spacing: -1px; }
.side-price .unit { color: var(--t3); font-size: 13px; }
.side-note { color: var(--t3); font-size: 12.5px; margin-bottom: 18px; }

.contact-box { background: linear-gradient(135deg, var(--brand-weaker), #fff); border: 1px solid #dbe7ff; border-radius: var(--r); padding: 16px; margin-bottom: 16px; }
.contact-box .row { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; font-size: 13.5px; }
.contact-box .row + .row { border-top: 1px dashed #dbe7ff; }
.contact-box .row .k { color: var(--t3); }
.contact-box .row .v { font-weight: 700; color: var(--t1); }
.contact-box .tel { color: var(--brand); font-size: 17px; font-weight: 800; letter-spacing: .5px; }

.side-actions { display: grid; gap: 10px; }

/* ------------------------------- 表单 ------------------------------------ */
.form-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 34px;
  box-shadow: var(--sd1);
}

.field { margin-bottom: 20px; }
.field > label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; color: var(--t1); }
.field > label .req { color: var(--danger); margin-right: 3px; }
.field .hint { font-size: 12.5px; color: var(--t3); margin-top: 6px; }

.input, .textarea, .select {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  background: #fff;
  color: var(--t1);
  outline: none;
  transition: border-color .18s, box-shadow .18s;
}

.textarea { height: auto; min-height: 150px; padding: 12px 14px; resize: vertical; line-height: 1.7; }
.select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'><path d='M2 4l4 4 4-4' fill='none' stroke='%2386909c' stroke-width='1.6' stroke-linecap='round'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; }

.input:focus, .textarea:focus, .select:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(26, 109, 255, .14); }
.input::placeholder, .textarea::placeholder { color: var(--t4); }
.input.error, .textarea.error { border-color: var(--danger); }
.err-msg { color: var(--danger); font-size: 12.5px; margin-top: 6px; display: none; }
.err-msg.show { display: block; }

/* 图片上传 */
.uploader {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.upload-box {
  width: 116px;
  height: 116px;
  border: 1.5px dashed var(--line-strong);
  border-radius: var(--r);
  background: #fafbfd;
  display: grid;
  place-items: center;
  gap: 4px;
  color: var(--t3);
  font-size: 13px;
  transition: all .18s;
  cursor: pointer;
}

.upload-box:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-weaker); }
.upload-box .plus { font-size: 26px; line-height: 1; }

.upload-item { position: relative; width: 116px; height: 116px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.upload-item img { width: 100%; height: 100%; object-fit: cover; }
.upload-item .del { position: absolute; right: 4px; top: 4px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .55); color: #fff; font-size: 13px; display: grid; place-items: center; }
.upload-item .del:hover { background: var(--danger); }

/* ------------------------------- 弹窗 ------------------------------------ */
.modal-mask {
  position: fixed;
  inset: 0;
  background: rgba(15, 25, 45, .55);
  backdrop-filter: blur(2px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 20px;
}

.modal-mask.show { display: flex; animation: fadeIn .2s ease; }

.modal {
  width: 100%;
  max-width: 400px;
  background: #fff;
  border-radius: var(--r-xl);
  padding: 30px 28px 26px;
  text-align: center;
  box-shadow: var(--sd3);
  animation: popIn .24s cubic-bezier(.2, .9, .3, 1.2);
}

@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }
@keyframes popIn { from { opacity: 0; transform: translateY(16px) scale(.96) } to { opacity: 1; transform: none } }

.modal h3 { margin: 0 0 6px; font-size: 20px; font-weight: 800; }
.modal .modal-sub { color: var(--t3); font-size: 13.5px; margin-bottom: 18px; }

.qr-wrap {
  width: 232px;
  height: 232px;
  margin: 0 auto 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 10px;
  background: #fff;
  display: grid;
  place-items: center;
  box-shadow: var(--sd1);
}

.qr-wrap img { width: 100%; height: 100%; object-fit: contain; }
.qr-placeholder { color: var(--t3); font-size: 12.5px; text-align: center; line-height: 1.7; }

.pay-amount { font-size: 30px; font-weight: 800; color: var(--danger); letter-spacing: -1px; }
.pay-amount small { font-size: 15px; }

.pay-tips { background: var(--brand-weaker); border-radius: var(--r); padding: 12px 14px; color: var(--t2); font-size: 12.5px; text-align: left; line-height: 1.7; margin: 14px 0 18px; }
.pay-tips b { color: var(--brand); }

.modal-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  top: 84px;
  transform: translateX(-50%) translateY(-14px);
  background: rgba(29, 33, 41, .94);
  color: #fff;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14px;
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: all .25s ease;
  box-shadow: var(--sd3);
}

.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ------------------------------- 关于 / 联系 ----------------------------- */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.info-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px;
  box-shadow: var(--sd1);
}

.info-card .ico { font-size: 26px; margin-bottom: 12px; }
.info-card h4 { margin: 0 0 6px; font-size: 16px; font-weight: 700; }
.info-card p { margin: 0; color: var(--t2); font-size: 14px; }
.info-card .strong { font-size: 18px; font-weight: 800; color: var(--brand); }

.map-box {
  margin-top: 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #fff;
}

.map-box img { width: 100%; display: block; }

/* 流程步骤 */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { position: relative; text-align: center; padding: 0 8px; }
.step .no { width: 44px; height: 44px; margin: 0 auto 14px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 17px; font-weight: 800; box-shadow: var(--shadow-brand); }
.step h4 { margin: 0 0 6px; font-size: 16px; font-weight: 700; }
.step p { margin: 0; color: var(--t3); font-size: 13.5px; }
.step:not(:last-child)::after { content: ""; position: absolute; right: -12px; top: 22px; width: 24px; height: 1px; background: var(--line-strong); }

/* 认证/资质 */
.certs { display: flex; gap: 14px; flex-wrap: wrap; }
.cert { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 12px 18px; font-size: 13.5px; color: var(--t2); display: flex; align-items: center; gap: 8px; }

/* ------------------------------- 登录注册 -------------------------------- */
.auth-wrap { min-height: calc(100vh - var(--nav-h) - 200px); display: flex; align-items: center; justify-content: center; padding: 48px 0; }
.auth-card { width: 100%; max-width: 420px; margin: 0 auto; }
.auth-head { text-align: center; margin-bottom: 26px; }
.auth-head h2 { margin: 0 0 8px; font-size: 26px; font-weight: 800; letter-spacing: -.3px; }
.auth-head p { margin: 0; color: var(--t3); font-size: 14px; }
.auth-switch { text-align: center; margin-top: 18px; color: var(--t3); font-size: 13.5px; }
.auth-switch a { color: var(--brand); font-weight: 600; }
.auth-switch a:hover { text-decoration: underline; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--t4); font-size: 12px; margin: 18px 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ------------------------------- 协议正文 -------------------------------- */
.agree-body { font-size: 14px; line-height: 1.95; color: var(--t2); }
.agree-body .agree-block + .agree-block { margin-top: 34px; padding-top: 26px; border-top: 1px dashed var(--line); }
.agree-body h3 { font-size: 21px; font-weight: 800; color: var(--t1); margin: 0 0 16px; display: block; }
.agree-body h3::before { display: none; }
.agree-body h4 { font-size: 16px; font-weight: 700; color: var(--t1); margin: 24px 0 10px; display: block; }
.agree-body p { margin: 0 0 12px; }

/* ------------------------------- 页脚 ------------------------------------ */
.footer { background: #12161f; color: #9aa3b2; margin-top: 40px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding: 52px 0 36px; }
.footer h5 { color: #fff; font-size: 15px; margin: 0 0 16px; font-weight: 700; }
.footer p { margin: 0 0 12px; font-size: 13.5px; line-height: 1.9; }
.footer li { margin-bottom: 10px; font-size: 13.5px; }
.footer li a:hover { color: #fff; }
.footer .brand-name { color: #fff; font-size: 17px; font-weight: 800; margin-bottom: 14px; display: block; }
.footer-contact b { color: #fff; font-weight: 700; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .09); padding: 18px 0; font-size: 13px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom a:hover { color: #fff; }

/* ------------------------------- 空状态 ---------------------------------- */
.empty { text-align: center; padding: 70px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); }
.empty .ico { font-size: 46px; margin-bottom: 12px; }
.empty h4 { margin: 0 0 8px; font-size: 17px; }
.empty p { margin: 0 0 18px; color: var(--t3); }

/* ------------------------------- 响应式 ---------------------------------- */
@media (max-width: 1080px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .grid-cards { grid-template-columns: repeat(2, 1fr); }
  .detail-layout { grid-template-columns: 1fr; }
  .side-card { position: static; max-height: none; overflow: visible; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 860px) {
  .nav-menu {
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 16px 16px;
    display: none;
    box-shadow: var(--sd2);
  }
  .nav-menu.open { display: flex; }
  .nav-link { padding: 12px 8px; font-size: 16px; }
  .nav-toggle { display: flex; }
  .nav-right .btn { height: 34px; padding: 0 14px; font-size: 13px; }
  .logo-sub { display: none; }
  .hero h1 { font-size: 32px; }
  .hero p { font-size: 15px; }
  .hero-stats { gap: 32px; }
  .section { padding: 44px 0; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:not(:last-child)::after { display: none; }
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .info-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .pub-2col, .pub-3col { grid-template-columns: 1fr !important; }
  .features { grid-template-columns: 1fr; }
  .grid-cards { grid-template-columns: 1fr; }
  .hero-inner { padding: 48px 0 72px; }
  .hero h1 { font-size: 27px; }
  .hero-search { flex-direction: column; align-items: stretch; }
  .hero-search .field { border-right: 0; border-bottom: 1px solid var(--line); }
  .highlight-list { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .form-card { padding: 22px 18px; }
  .panel { padding: 18px; }
  .detail-title { font-size: 21px; }
  .sort-tabs { margin-left: 0; width: 100%; }
}
