/* =========================================================
   鲁运通 · 前台样式（PC / 手机自适应）
   ========================================================= */

:root {
    --brand: #0e4bc2;
    --brand-2: #1f6bff;
    --brand-deep: #082764;
    --accent: #ff8a2b;
    --accent-soft: #fff2e4;
    --ink: #16213a;
    --ink-2: #3b4763;
    --muted: #6d7a90;
    --line: #e6eaf2;
    --bg: #f4f6fb;
    --card: #ffffff;
    --ok: #12a05c;
    --warn: #d88700;
    --danger: #d8382f;
    --radius: 14px;
    --shadow: 0 10px 28px rgba(18, 38, 84, .08);
    --shadow-sm: 0 2px 10px rgba(18, 38, 84, .06);
}

* { box-sizing: border-box; }

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

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font: 15px/1.7 -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; font-size: 15px; }
p { margin: 0 0 10px; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: .2px; }

.wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

/* ---------------- 顶部条 ---------------- */
.topbar {
    background: var(--brand-deep);
    color: #cfe0ff;
    font-size: 13px;
}
.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    height: 38px;
}
.topbar-notice { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.topbar-tel strong { color: #ffd9ae; font-weight: 600; letter-spacing: .5px; }

/* ---------------- 头部 ---------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
}
.header-inner {
    display: flex;
    align-items: center;
    gap: 26px;
    height: 74px;
}
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark {
    width: 40px; height: 40px;
    border-radius: 11px;
    background: linear-gradient(135deg, var(--brand-2), var(--brand));
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 16px rgba(14, 75, 194, .28);
    color: #fff;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: 0;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-text strong { font-size: 24px; letter-spacing: 1px; }
.logo-text small { font-size: 12px; color: var(--muted); letter-spacing: .5px; margin-top: 3px; }

.main-nav { display: flex; align-items: center; gap: 4px; flex: 1; }
.main-nav a {
    padding: 8px 14px;
    border-radius: 8px;
    color: var(--ink-2);
    font-size: 15px;
    transition: .18s;
}
.main-nav a:hover { background: #f1f5ff; color: var(--brand); }
.main-nav a.active { color: var(--brand); font-weight: 600; background: #eef4ff; }

.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 40px;
    padding: 0 18px;
    border-radius: 9px;
    border: 1px solid transparent;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: .18s;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 16px rgba(14, 75, 194, .22); }
.btn-primary:hover { background: #0b3fa6; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: #ef7920; }
.btn-ghost { border-color: var(--line); color: var(--ink-2); background: #fff; }
.btn-ghost:hover { border-color: #c3d4f5; color: var(--brand); }
.btn-sm { height: 32px; padding: 0 13px; font-size: 13px; border-radius: 7px; }
.btn-block { width: 100%; }
.btn-danger { background: #fff; color: var(--danger); border-color: #f3c9c6; }
.btn-danger:hover { background: #fdf3f2; }

.avatar-dot {
    width: 26px; height: 26px;
    border-radius: 50%;
    background: #e4edff;
    color: var(--brand);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 700;
}

.nav-toggle {
    display: none;
    width: 40px; height: 40px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: #fff;
    cursor: pointer;
    padding: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink-2); border-radius: 2px; transition: .2s; }

/* ---------------- 提示 ---------------- */
.flash-wrap { padding-top: 16px; }
.alert {
    padding: 11px 16px;
    border-radius: 10px;
    font-size: 14px;
    margin-bottom: 10px;
    border: 1px solid;
}
.alert.success { background: #eaf9f1; border-color: #bfe9d3; color: #0c7d48; }
.alert.error   { background: #fdeeed; border-color: #f5c9c5; color: #b32c23; }
.alert.info    { background: #eef4ff; border-color: #cfdcf7; color: #0e4bc2; }

/* ---------------- 首页 Hero ---------------- */
.hero {
    position: relative;
    overflow: hidden;
    padding: 54px 0 58px;
    color: #fff;
    background:
        radial-gradient(900px 380px at 18% -10%, rgba(84, 148, 255, .55), transparent 62%),
        linear-gradient(118deg, #061f52 0%, #0e4bc2 58%, #1f6bff 100%);
}
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, .55), transparent 78%);
    pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .22);
    margin-bottom: 16px;
}
.hero h1 { font-size: 36px; line-height: 1.28; margin-bottom: 12px; }
.hero h1 em { font-style: normal; color: #ffdcb0; }
.hero p.hero-sub { max-width: 620px; color: rgba(255, 255, 255, .82); font-size: 15px; margin-bottom: 26px; }

.search-panel {
    background: #fff;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 22px 46px rgba(4, 22, 60, .26);
}
.search-form {
    display: grid;
    grid-template-columns: 1fr 1fr 190px auto;
    gap: 12px;
    align-items: end;
}
.search-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.search-field label { font-size: 12px; color: var(--muted); padding-left: 2px; }
.search-field input,
.search-field select {
    height: 46px;
    border: 1px solid var(--line);
    border-radius: 9px;
    padding: 0 13px;
    background: #fbfcfe;
    color: var(--ink);
    outline: none;
    transition: .18s;
    width: 100%;
    min-width: 0;
}
.search-field input:focus,
.search-field select:focus { border-color: #9dbbf2; background: #fff; box-shadow: 0 0 0 3px rgba(31, 107, 255, .1); }
.search-form .btn-search { height: 46px; padding: 0 26px; font-size: 15px; }
.search-tips {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    font-size: 13px;
    color: var(--muted);
}
.search-tips span { color: #9aa6bb; }
.search-tips a {
    padding: 3px 10px;
    border-radius: 999px;
    background: #f3f6fc;
    color: var(--ink-2);
    transition: .18s;
}
.search-tips a:hover { background: #e8f0ff; color: var(--brand); }

/* ---------------- 快捷入口 ---------------- */
.quick-wrap { margin-top: -28px; position: relative; z-index: 5; }
.quick-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.quick-item {
    background: #fff;
    border-radius: 12px;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid transparent;
    transition: .2s;
    min-width: 0;
}
.quick-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #dbe6fb; }
.quick-item .qi-icon {
    width: 42px; height: 42px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    background: #eef4ff;
    color: var(--brand);
    flex-shrink: 0;
    font-size: 18px;
}
.quick-item .qi-icon.orange { background: var(--accent-soft); color: #e8781a; }
.quick-item strong { display: block; font-size: 15px; }
.quick-item small { color: var(--muted); font-size: 12px; }
.quick-item > span:last-child { min-width: 0; }

/* ---------------- 区块 ---------------- */
.section { padding: 46px 0 8px; }
.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}
.section-head h2 {
    font-size: 22px;
    position: relative;
    padding-left: 13px;
}
.section-head h2::before {
    content: "";
    position: absolute;
    left: 0; top: 6px; bottom: 6px;
    width: 4px;
    border-radius: 3px;
    background: linear-gradient(180deg, var(--brand-2), var(--brand));
}
.section-head .sub { color: var(--muted); font-size: 13px; margin-top: 4px; padding-left: 13px; }
.section-head .more { color: var(--muted); font-size: 13px; white-space: nowrap; }
.section-head .more:hover { color: var(--brand); }

/* 首页：压缩模块上下间距 */
body.page-home .section { padding: 26px 0 4px; }
body.page-home .section-head { margin-bottom: 14px; }
body.page-home .hero { padding: 46px 0 50px; }
body.page-home .quick-wrap { margin-top: -30px; }

.card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

/* 企业卡片 */
.company-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.company-card { padding: 20px; display: flex; flex-direction: column; gap: 12px; transition: .2s; }
.company-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.company-top { display: flex; gap: 12px; align-items: center; }
.company-logo {
    width: 46px; height: 46px;
    border-radius: 11px;
    display: flex; align-items: center; justify-content: center;
    font-size: 19px; font-weight: 700; color: #fff;
    background: linear-gradient(135deg, #2f7bff, #0e4bc2);
    flex-shrink: 0;
}
.company-logo.alt { background: linear-gradient(135deg, #8fa6c9, #62789e); }
.company-name { font-weight: 700; font-size: 16px; line-height: 1.4; }
.company-name .verified {
    display: inline-block;
    margin-left: 6px;
    font-size: 11px;
    font-weight: 500;
    color: #0c7d48;
    background: #e9f8f0;
    border: 1px solid #c6ecd7;
    border-radius: 4px;
    padding: 0 5px;
    vertical-align: 2px;
}
.company-sub { font-size: 12px; color: var(--muted); margin-top: 2px; }
.company-intro {
    font-size: 13px;
    color: var(--ink-2);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 44px;
}
.company-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px dashed var(--line);
    padding-top: 12px;
    margin-top: auto;
}
.company-foot .tel { font-size: 13px; color: var(--muted); }
.company-foot .tel strong { color: var(--ink); font-weight: 600; }

.tag {
    display: inline-flex;
    align-items: center;
    height: 24px;
    padding: 0 9px;
    border-radius: 5px;
    font-size: 12px;
    line-height: 1;
    background: #eef4ff;
    color: var(--brand);
    border: 1px solid #dbe6fb;
    white-space: nowrap;
}
.tag.orange { background: var(--accent-soft); color: #d96f10; border-color: #f7dcc0; }
.tag.green  { background: #eaf8f0; color: #0c7d48; border-color: #c8ecd8; }
.tag.grey   { background: #f3f5f9; color: #6d7a90; border-color: #e6eaf2; }
.tag.return { background: #fff7e8; color: #b4620a; border-color: #f3ddb8; }

/* 线路卡片 */
.route-list { display: grid; gap: 12px; }
.route-list-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.route-list-3 .route-card {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 16px 18px;
    min-width: 0;
}
.route-list-3 .route-path { font-size: 16px; margin-bottom: 10px; }
.route-list-3 .route-tags { margin-bottom: 0; }
.route-list-3 .route-side {
    border-left: 0;
    border-top: 1px dashed var(--line);
    padding: 12px 0 0;
    min-width: 0;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.route-list-3 .route-side .company { margin-bottom: 0; }
.route-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: .2s;
}
.route-card:hover { border-color: #cfdff9; box-shadow: var(--shadow); }
.route-main { flex: 1; min-width: 0; }
.route-path {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
}
.route-path .pt { color: var(--ink); }
.route-path .arrow {
    color: var(--brand);
    font-size: 13px;
    letter-spacing: 1px;
    background: #eef4ff;
    border-radius: 999px;
    padding: 2px 10px;
    font-weight: 500;
}
.route-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.route-meta { display: flex; flex-wrap: wrap; gap: 18px; font-size: 13px; color: var(--muted); }
.route-meta strong { color: var(--ink-2); font-weight: 600; }
.route-side {
    flex-shrink: 0;
    text-align: right;
    border-left: 1px dashed var(--line);
    padding-left: 20px;
    min-width: 190px;
}
.route-side .company { font-size: 13px; color: var(--ink-2); margin-bottom: 8px; }
.route-side .company b { display: block; font-size: 14px; color: var(--ink); margin-bottom: 2px; }
.side-actions { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }

.verified {
    display: inline-flex;
    align-items: center;
    height: 21px;
    margin-left: 8px;
    font-size: 11px;
    font-weight: 500;
    color: #0c7d48;
    background: #e9f8f0;
    border: 1px solid #c6ecd7;
    border-radius: 4px;
    padding: 0 6px;
    vertical-align: 3px;
}


/* 车源卡片 */
.vehicle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.vehicle-card { padding: 18px; display: flex; flex-direction: column; gap: 10px; transition: .2s; }
.vehicle-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.vehicle-title { font-size: 16px; font-weight: 700; line-height: 1.45; }
.vehicle-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.vehicle-route {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--ink-2);
    background: #f7f9fe;
    border-radius: 8px;
    padding: 9px 12px;
}
.vehicle-route .arrow { color: var(--brand); }
.vehicle-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12px; color: var(--muted); }
.vehicle-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px dashed var(--line);
    padding-top: 12px;
    margin-top: auto;
}
.price { color: #d9541b; font-weight: 700; font-size: 15px; }
.price small { font-weight: 400; font-size: 12px; color: var(--muted); margin-left: 2px; }

/* 数据条 */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px 8px;
    box-shadow: var(--shadow-sm);
}
.stat { text-align: center; padding: 0 12px; min-width: 0; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat b { display: block; font-size: 26px; color: var(--brand); line-height: 1.3; letter-spacing: .5px; }
.stat span { font-size: 13px; color: var(--muted); }

/* 优势 */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-grid-2 { grid-template-columns: repeat(2, 1fr); }
.feature {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: var(--shadow-sm);
}
.feature .fi {
    width: 44px; height: 44px;
    border-radius: 11px;
    background: #eef4ff;
    color: var(--brand);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 14px;
    font-size: 20px;
}
.feature h3 { font-size: 16px; margin-bottom: 6px; }
.feature p { font-size: 13px; color: var(--muted); margin: 0; }

/* ---------------- 列表页 ---------------- */
.page-head {
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 26px 0 0;
}
.crumb { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.crumb a:hover { color: var(--brand); }
.crumb span { margin: 0 6px; color: #c2cad9; }
.page-head h1 { font-size: 26px; margin-bottom: 6px; }
.page-head .desc { color: var(--muted); font-size: 14px; padding-bottom: 20px; }

.filter-bar {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 16px;
    margin: 22px 0 18px;
    box-shadow: var(--shadow-sm);
}
.filter-form { display: grid; grid-template-columns: 1fr 1fr 170px 150px; gap: 12px; align-items: end; }
.filter-form .search-field input,
.filter-form .search-field select { height: 42px; }
.filter-form .btn { height: 42px; }
.filter-extra {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-top: 12px;
    font-size: 13px;
    color: var(--muted);
}
.check { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.check input { width: 15px; height: 15px; accent-color: var(--brand); }

.result-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 13px;
    color: var(--muted);
}
.result-bar b { color: var(--brand); font-weight: 600; }

.empty {
    background: #fff;
    border: 1px dashed #d5ddea;
    border-radius: var(--radius);
    padding: 56px 20px;
    text-align: center;
    color: var(--muted);
}
.empty strong { display: block; color: var(--ink); font-size: 16px; margin-bottom: 6px; }
.empty p { margin: 0 0 16px; font-size: 13px; }

/* 列表页两栏（左侧筛选/侧边，右侧内容） */
.split { display: grid; grid-template-columns: 260px 1fr; gap: 20px; align-items: start; }
.side-card { padding: 18px; position: sticky; top: 92px; }
.side-card h3 { font-size: 15px; margin-bottom: 12px; }
.side-links { display: grid; gap: 8px; }
.side-links a {
    display: flex; align-items: center; justify-content: space-between;
    padding: 9px 12px;
    border-radius: 8px;
    background: #f7f9fe;
    font-size: 13px;
    color: var(--ink-2);
}
.side-links a:hover { background: #eef4ff; color: var(--brand); }

/* ---------------- 详情 / 表单 ---------------- */
.detail-grid { display: grid; grid-template-columns: 1fr 320px; gap: 20px; align-items: start; padding: 26px 0 0; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.panel h2 { font-size: 18px; margin-bottom: 16px; }
.panel + .panel { margin-top: 16px; }

.company-hero { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 18px; }
.company-hero .company-logo { width: 58px; height: 58px; font-size: 23px; border-radius: 13px; }
.company-hero h1 { font-size: 23px; margin-bottom: 6px; }
.company-hero .meta { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--muted); }
.meta-row { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 13px; color: var(--muted); margin-top: 10px; }
.meta-row strong { color: var(--ink-2); font-weight: 600; }

.contact-box { padding: 18px; border-radius: 12px; background: linear-gradient(150deg, #f4f8ff, #eef4ff); border: 1px solid #dbe6fb; }
.contact-box .tel { font-size: 22px; font-weight: 700; color: var(--brand); letter-spacing: .5px; margin: 6px 0 4px; }
.contact-box .hint { font-size: 12px; color: var(--muted); margin-bottom: 14px; }

/* 车源详情 */
.breadcrumb { font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--brand); }
.detail-main { padding: 26px; }
.detail-title h1 { font-size: 22px; margin-bottom: 10px; line-height: 1.4; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.route-big {
    display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
    font-size: 20px; margin: 18px 0; padding: 16px 18px;
    background: #f7f9fe; border: 1px solid var(--line); border-radius: 12px;
}
.route-big .arrow { color: var(--brand); font-weight: 700; }
.detail-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.detail-meta div { background: #fafbff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.detail-meta label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.detail-meta span { font-size: 14px; color: var(--ink); font-weight: 600; word-break: break-all; }
.detail-block { margin-top: 22px; }
.detail-block h3 { font-size: 16px; margin-bottom: 10px; }
.detail-block p { font-size: 14px; color: var(--ink-2); line-height: 1.8; }
.contact-locked p { font-size: 13px; color: var(--muted); line-height: 1.8; margin-bottom: 12px; }
.contact-box label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 3px; }
.contact-box strong { font-size: 16px; color: var(--ink); }
.contact-box strong a { color: var(--brand); }

/* 会员套餐 */
.plan-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.plan-card { display: flex; flex-direction: column; gap: 10px; padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.plan-name { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.plan-price { font-size: 32px; font-weight: 700; color: var(--brand); line-height: 1.1; }
.plan-price span { font-size: 17px; margin-right: 2px; }
.plan-price small { font-size: 12px; font-weight: 400; color: var(--muted); margin-left: 4px; }
.plan-desc { flex: 1; font-size: 12px; color: var(--muted); line-height: 1.7; }
.plan-card .btn { width: 100%; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 13px; color: var(--ink-2); font-weight: 500; }
.field label .req { color: var(--danger); margin-left: 2px; }
.field input, .field select, .field textarea {
    border: 1px solid var(--line);
    border-radius: 9px;
    padding: 10px 13px;
    background: #fbfcfe;
    outline: none;
    width: 100%;
    transition: .18s;
    color: var(--ink);
}
.field input, .field select { height: 44px; }
.field textarea { min-height: 108px; resize: vertical; line-height: 1.7; }
.field input:focus, .field select:focus, .field textarea:focus {
    border-color: #9dbbf2; background: #fff; box-shadow: 0 0 0 3px rgba(31, 107, 255, .1);
}
.field .hint { font-size: 12px; color: var(--muted); }

.type-choice { display: grid; gap: 10px; }
.choice {
    display: flex; gap: 10px; align-items: flex-start; cursor: pointer;
    border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; background: #fff;
    transition: .18s;
}
.choice input[type="radio"] { width: 16px; height: 16px; flex: 0 0 16px; margin-top: 2px; accent-color: var(--brand); }
.choice span strong { display: block; font-size: 14px; color: var(--ink); }
.choice span small { display: block; font-size: 12px; color: var(--muted); line-height: 1.6; margin-top: 3px; }
.choice:has(input:checked) { border-color: #9dbbf2; background: #f4f8ff; }
.form-actions { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.form-actions .btn { height: 44px; padding: 0 26px; }

/* 登录 / 注册 */
.auth-wrap {
    min-height: calc(100vh - 300px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 46px 20px;
    background:
        radial-gradient(700px 320px at 50% 0%, rgba(31, 107, 255, .12), transparent 70%),
        var(--bg);
}
.auth-card { width: min(430px, 100%); background: #fff; border-radius: 16px; padding: 30px; box-shadow: 0 20px 50px rgba(16, 42, 100, .12); border: 1px solid var(--line); }
.auth-card h1 { font-size: 22px; margin-bottom: 6px; }
.auth-card .sub { color: var(--muted); font-size: 13px; margin-bottom: 22px; }
.auth-card .field { margin-bottom: 14px; }
.auth-card .btn { height: 46px; margin-top: 6px; }
.auth-alt { text-align: center; font-size: 13px; color: var(--muted); margin-top: 16px; }
.auth-alt a { color: var(--brand); font-weight: 500; }

/* ---------------- 会员中心 ---------------- */
.account { padding: 26px 0 10px; }
.account-layout { display: grid; grid-template-columns: 236px 1fr; gap: 20px; align-items: start; }
.account-side { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow-sm); position: sticky; top: 92px; }
.account-user { text-align: center; padding-bottom: 14px; margin-bottom: 12px; border-bottom: 1px dashed var(--line); }
.account-user .avatar {
    width: 54px; height: 54px; border-radius: 50%;
    margin: 0 auto 8px;
    background: linear-gradient(135deg, #2f7bff, #0e4bc2);
    color: #fff; font-size: 20px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
}
.account-user strong { display: block; font-size: 15px; }
.account-user small { color: var(--muted); font-size: 12px; }
.account-nav { display: grid; gap: 4px; }
.account-nav a { padding: 10px 12px; border-radius: 8px; font-size: 14px; color: var(--ink-2); }
.account-nav a:hover { background: #f5f8ff; color: var(--brand); }
.account-nav a.active { background: #eef4ff; color: var(--brand); font-weight: 600; }
.account-nav .logout { color: var(--muted); font-size: 13px; margin-top: 6px; }

.account-main { display: grid; gap: 16px; }
.account-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.account-head h1 { font-size: 22px; }

.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.mini-stat { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.mini-stat b { display: block; font-size: 24px; color: var(--brand); line-height: 1.3; }
.mini-stat span { font-size: 13px; color: var(--muted); }

/* 数据列表（会员中心 / 后台通用） */
.list-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.list-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px 18px;
    border-bottom: 1px solid var(--line);
}
.list-row:last-child { border-bottom: 0; }
.list-row .lr-main { flex: 1; min-width: 0; }
.list-row .lr-title { font-weight: 600; font-size: 15px; margin-bottom: 4px; }
.list-row .lr-sub { font-size: 12px; color: var(--muted); }
.list-row .lr-actions { display: flex; gap: 8px; flex-shrink: 0; }

.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
table.data { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 720px; }
table.data th, table.data td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.data th { background: #f7f9fe; color: var(--ink-2); font-weight: 600; font-size: 13px; white-space: nowrap; }
table.data tr:last-child td { border-bottom: 0; }
table.data td .sub { display: block; font-size: 12px; color: var(--muted); }

.status {
    display: inline-block;
    padding: 1px 9px;
    border-radius: 5px;
    font-size: 12px;
    line-height: 1.7;
    border: 1px solid;
}
.status.ok { color: #0c7d48; background: #eaf8f0; border-color: #c8ecd8; }
.status.warn { color: #b4620a; background: #fff7e8; border-color: #f3ddb8; }
.status.muted { color: #6d7a90; background: #f3f5f9; border-color: #e6eaf2; }

/* ---------------- 分页 ---------------- */
.pager { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 24px 0 10px; }
.pager .pg {
    min-width: 36px; height: 36px;
    padding: 0 12px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: #fff;
    font-size: 13px;
    color: var(--ink-2);
    transition: .18s;
}
.pager .pg:hover { border-color: #bcd0f5; color: var(--brand); }
.pager .pg.current { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }
.pager .pg.disabled { color: #b3bccc; background: #f7f8fb; cursor: not-allowed; }
.pager .pg-total { font-size: 12px; color: var(--muted); margin-left: 4px; }

/* ---------------- 页脚 ---------------- */
.site-footer { margin-top: 50px; background: #0b1730; color: #b7c4dc; padding: 44px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 30px; }
.footer-logo { font-size: 20px; font-weight: 700; color: #fff; letter-spacing: 1px; margin-bottom: 8px; }
.footer-brand p { font-size: 13px; margin: 0 0 6px; }
.footer-tel { margin-top: 12px; }
.footer-tel strong { color: #ffd9ae; font-size: 18px; letter-spacing: .5px; }
.footer-col h4 { font-size: 14px; color: #fff; margin-bottom: 12px; font-weight: 600; }
.footer-col a { display: block; font-size: 13px; color: #9fb0cd; margin-bottom: 8px; }
.footer-col a:hover { color: #fff; }
.footer-note { font-size: 12px; color: #8a9ab8; line-height: 1.8; margin: 0; }
.footer-record a { color: #7b8cad; text-decoration: none; border-bottom: 1px dotted rgba(255, 255, 255, .18); }
.footer-record a:hover { color: #fff; border-bottom-color: rgba(255, 255, 255, .5); }
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    justify-content: space-between;
    font-size: 12px;
    color: #7b8cad;
    border-top: 1px solid rgba(255, 255, 255, .08);
    margin-top: 34px;
    padding: 16px 0 24px;
}

/* ---------------- 响应式 ---------------- */
@media (max-width: 1080px) {
    .company-grid, .vehicle-grid, .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .route-list-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .search-form { grid-template-columns: 1fr 1fr 170px auto; }
    .hero h1 { font-size: 32px; }
}

@media (max-width: 900px) {
    html, body { overflow-x: clip; }
    .main-nav {
        position: fixed;
        top: 0; right: 0;
        width: min(300px, 82vw);
        height: 100vh;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        padding: 84px 18px 24px;
        box-shadow: -16px 0 40px rgba(9, 26, 62, .16);
        transform: translateX(104%);
        transition: transform .26s ease;
        z-index: 60;
        overflow-y: auto;
    }
    .main-nav.open { transform: translateX(0); }
    .main-nav a { padding: 13px 14px; font-size: 15px; }
    .nav-toggle { display: flex; }
    .nav-toggle.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
    .nav-toggle.active span:nth-child(2) { opacity: 0; }
    .nav-toggle.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
    .header-inner { gap: 16px; height: 68px; }
    .header-actions { margin-left: auto; }
    .header-actions .btn { padding: 0 12px; }
    .search-form { grid-template-columns: 1fr 1fr; }
    .search-form .field-type { grid-column: 1 / -1; }
    .search-form .btn-search { grid-column: 1 / -1; width: 100%; }
    .quick-grid { grid-template-columns: repeat(2, 1fr); }
    .stats { grid-template-columns: repeat(2, 1fr); gap: 20px 0; padding: 18px 0; }
    .stats .stat:nth-child(3) { border-left: 0; }
    .route-card { flex-direction: column; align-items: stretch; gap: 12px; }
    .route-side { border-left: 0; border-top: 1px dashed var(--line); padding: 12px 0 0; text-align: left; display: flex; align-items: center; justify-content: space-between; min-width: 0; }
    .route-side .company { margin-bottom: 0; }
    .split { grid-template-columns: 1fr; }
    .side-card { position: static; }
    .account-layout { grid-template-columns: 1fr; }
    .account-side { position: static; }
    .account-nav { grid-template-columns: repeat(2, 1fr); }
    .detail-grid { grid-template-columns: 1fr; }
    .detail-meta { grid-template-columns: 1fr; }
    .plan-grid { grid-template-columns: 1fr; }
    .filter-form { grid-template-columns: 1fr 1fr; }
    .filter-form .filter-type { grid-column: 1 / -1; }
    .filter-form .btn { grid-column: 1 / -1; width: 100%; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
}

@media (max-width: 620px) {
    .wrap { width: calc(100% - 28px); }
    .topbar { display: none; }
    .header-inner { height: 62px; gap: 10px; }
    .logo-mark { width: 34px; height: 34px; border-radius: 9px; }
    .logo-text strong { font-size: 19px; }
    .logo-text small { display: none; }
    .header-actions .btn-ghost { display: none; }
    .header-actions .btn-primary,
    .header-actions .btn-ghost:last-child { height: 34px; padding: 0 11px; font-size: 13px; }
    .nav-toggle { width: 36px; height: 36px; }
    .hero { padding: 34px 0 40px; }
    .hero h1 { font-size: 24px; }
    .hero p.hero-sub { font-size: 13px; margin-bottom: 18px; }
    .search-panel { padding: 12px; border-radius: 12px; }
    .search-form { gap: 10px; grid-template-columns: 1fr; }
    .search-form .field-type { grid-column: auto; }
    .filter-form { grid-template-columns: 1fr; }
    .filter-form .filter-type { grid-column: auto; }
    .search-tips { font-size: 12px; }
    .quick-wrap { margin-top: -18px; }
    .quick-grid { gap: 10px; }
    .quick-item { padding: 12px; gap: 9px; }
    .quick-item .qi-icon { width: 34px; height: 34px; font-size: 15px; }
    .quick-item strong { font-size: 13px; }
    .quick-item small { display: none; }
    .section { padding: 32px 0 4px; }
    .section-head { margin-bottom: 14px; }
    .section-head h2 { font-size: 18px; }
    .section-head .more { font-size: 12px; }
    .company-grid, .vehicle-grid, .feature-grid { grid-template-columns: 1fr; gap: 12px; }
    .route-list-3 { grid-template-columns: 1fr; gap: 12px; }
    .company-card, .vehicle-card { padding: 15px; }
    .route-card { padding: 14px; }
    .route-path { font-size: 15px; }
    .route-meta { gap: 10px; font-size: 12px; }
    .stats { grid-template-columns: 1fr 1fr; }
    .stat b { font-size: 22px; }
    .page-head { padding-top: 18px; }
    .page-head h1 { font-size: 21px; }
    .filter-bar { padding: 12px; margin: 14px 0; }
    .form-grid { grid-template-columns: 1fr; gap: 12px; }
    .panel { padding: 16px; }
    .auth-card { padding: 22px; }
    .auth-wrap { padding: 24px 14px; }
    .company-hero { flex-direction: column; gap: 10px; }
    .mini-stats { grid-template-columns: 1fr; }
    .list-row { flex-wrap: wrap; }
    .list-row .lr-actions { width: 100%; }
    .footer-grid { grid-template-columns: 1fr; gap: 22px; }
    .site-footer { padding-top: 32px; }
    .footer-bottom { margin-top: 24px; }
}

/* 安全：蜜罐字段，正常访客不可见，自动脚本会误填 */
.hp-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}
