/* ============================================================
   HLD Autotech — site stylesheet
   Palette derived from the HLD logo: #172A88 / #036EB8
   ============================================================ */
:root {
  --navy: #172A88;
  --navy-700: #22369e;
  --navy-900: #0e1b57;
  --blue: #036eb8;
  --blue-300: #5aa9dd;
  --blue-50: #eaf3fb;
  --blue-25: #f4f9fd;
  --ink: #0d1729;
  --body: #46536b;
  --muted: #7b879b;
  --line: #e2e8f2;
  --line-2: #eef2f8;
  --bg: #f5f8fc;
  --white: #fff;
  --ok: #0f9d6b;
  --shadow-sm: 0 1px 2px rgba(13, 23, 41, .05), 0 4px 14px rgba(13, 23, 41, .04);
  --shadow-md: 0 10px 30px rgba(13, 23, 41, .08), 0 2px 8px rgba(13, 23, 41, .04);
  --shadow-lg: 0 24px 60px rgba(13, 23, 41, .14);
  --r-sm: 8px;
  --r: 12px;
  --r-lg: 18px;
  --wrap: 1220px;
  --font: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --mono: "SF Mono", "JetBrains Mono", Consolas, "Courier New", monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--white);
  font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -.015em; line-height: 1.25; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.ico { width: 20px; height: 20px; flex: 0 0 auto; }

/* ---------- bilingual text ---------- */
.bi { display: flex; flex-direction: column; gap: 2px; }
.bi-p { font-weight: inherit; }
.bi-s { font-size: .78em; font-weight: 500; color: var(--muted); letter-spacing: .01em; }
.bi-inline i { font-style: normal; color: var(--muted); font-size: .85em; margin-left: 6px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 22px; border-radius: 10px; border: 1px solid transparent;
  font-weight: 600; font-size: 14.5px; cursor: pointer; transition: .18s ease; white-space: nowrap;
}
.btn-primary { background: var(--navy); color: #fff; box-shadow: 0 6px 18px rgba(23, 42, 136, .22); }
.btn-primary:hover { background: var(--navy-700); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(23, 42, 136, .28); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: #0580d3; }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn-light { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .28); color: #fff; }
.btn-light:hover { background: rgba(255, 255, 255, .18); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 13.5px; border-radius: 8px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* ---------- top bar ---------- */
.topbar { background: var(--navy-900); color: rgba(255, 255, 255, .78); font-size: 12.5px; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; height: 38px; gap: 16px; }
.topbar-left { display: flex; align-items: center; gap: 8px; letter-spacing: .02em; }
.topbar-left .ico { width: 15px; height: 15px; opacity: .7; }
.topbar-right { display: flex; align-items: center; gap: 20px; }
.tb-item { display: flex; align-items: center; gap: 7px; opacity: .82; transition: .16s; }
.tb-item:hover { opacity: 1; color: #fff; }
.tb-item .ico { width: 14px; height: 14px; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 4px; background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2); color: #fff; border-radius: 6px;
  height: 24px; padding: 0 9px; font-size: 11.5px; cursor: pointer; transition: .16s;
}
.lang-btn:hover { background: rgba(255, 255, 255, .2); }
.lang-btn b { font-weight: 700; }
.lang-btn i { font-style: normal; opacity: .45; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: #fff; border-bottom: 1px solid var(--line-2); transition: .2s; }
.site-header.is-stuck { box-shadow: 0 6px 24px rgba(13, 23, 41, .07); }
.head-in { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 24px; }
.brandmark img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  position: relative; padding: 10px 14px; font-size: 14.5px; font-weight: 500; color: var(--body); border-radius: 8px; transition: .16s;
}
.nav-link:hover { color: var(--navy); background: var(--blue-25); }
.nav-link.is-active { color: var(--navy); font-weight: 600; }
.nav-link.is-active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; background: var(--blue); border-radius: 2px;
}
.head-actions { display: flex; align-items: center; gap: 12px; }
.burger { display: none; width: 40px; height: 40px; border: 1px solid var(--line); background: #fff; border-radius: 8px; cursor: pointer; padding: 10px; }
.burger span { display: block; height: 1.6px; background: var(--ink); margin: 4px 0; border-radius: 2px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(115deg, #0b1750 0%, #172a88 48%, #0a4c8c 100%); color: #fff; }
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 72%);
}
.hero::after {
  content: ""; position: absolute; width: 720px; height: 720px; right: -160px; top: -260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(3, 110, 184, .55) 0%, rgba(3, 110, 184, 0) 62%);
}
.hero-in { position: relative; z-index: 2; padding: 64px 0 60px; }
.hero-copy { max-width: 660px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--blue-300); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 1.5px; background: var(--blue-300); display: block; }
.hero h1 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.16; letter-spacing: -.02em; }
.hero-sub { margin-top: 18px; font-size: 15.5px; line-height: 1.75; color: rgba(255, 255, 255, .74); max-width: 600px; }
.hero-art {
  position: absolute; right: -40px; top: 40px; width: 460px; height: 460px; opacity: .3; z-index: 1; pointer-events: none;
}
.hero-art svg { width: 100%; height: 100%; }
.hero-art .spin { transform-origin: 230px 230px; animation: spin 90s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- search card ---------- */
.search-card {
  position: relative; z-index: 5; margin-top: 42px; background: #fff; border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid rgba(255, 255, 255, .5);
}
.sc-tabs { display: flex; border-bottom: 1px solid var(--line); background: #fbfcfe; }
.sc-tab {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 9px; padding: 16px 26px; border: 0; background: transparent;
  font-size: 15px; font-weight: 600; color: var(--muted); cursor: pointer; position: relative; transition: .16s;
}
.sc-tab .ico { width: 19px; height: 19px; }
.sc-tab:hover { color: var(--navy); }
.sc-tab.is-active { color: var(--navy); background: #fff; }
.sc-tab.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--navy); }
.sc-body { padding: 26px 26px 20px; }
.sc-grid { display: grid; grid-template-columns: repeat(3, 1fr) 1.25fr; gap: 16px; align-items: end; }
.sc-grid.brand-mode { grid-template-columns: 1fr 1fr 1.4fr; }
.field label { display: block; font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: .04em; margin-bottom: 8px; text-transform: uppercase; }
.select-wrap, .input-wrap { position: relative; }
.select-wrap::after {
  content: ""; position: absolute; right: 14px; top: 50%; width: 6px; height: 6px; margin-top: -4px;
  border-right: 1.6px solid var(--muted); border-bottom: 1.6px solid var(--muted); transform: rotate(45deg); pointer-events: none;
}
.field select, .field input {
  width: 100%; height: 48px; border: 1px solid var(--line); border-radius: 10px; background: #fff;
  padding: 0 38px 0 14px; font-size: 15px; color: var(--ink); appearance: none; cursor: pointer; transition: .16s;
}
.field input { padding: 0 14px; cursor: text; }
.field select:hover, .field input:hover { border-color: #c9d5e6; }
.field select:focus, .field input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(23, 42, 136, .1); }
.field select:disabled { background: #f7f9fc; color: var(--muted); cursor: not-allowed; }
.sc-actions { display: flex; gap: 16px; align-items: center; margin-top: 18px; flex-wrap: wrap; }
.hot { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.hot a {
  padding: 4px 10px; border-radius: 999px; background: var(--blue-25); color: var(--blue); font-size: 12.5px; transition: .16s;
}
.hot a:hover { background: var(--blue-50); color: var(--navy); }

/* ---------- stat strip ---------- */
.stats { background: #fff; border-bottom: 1px solid var(--line-2); }
.stats-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat { padding: 26px 20px; text-align: center; border-right: 1px solid var(--line-2); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-size: 30px; font-weight: 700; color: var(--navy); letter-spacing: -.02em; line-height: 1.2; }
.stat span { font-size: 13px; color: var(--muted); }
.stat i { font-style: normal; display: block; font-size: 11.5px; color: #a7b2c4; }

/* ---------- sections ---------- */
.section { padding: 78px 0; }
.section.tight { padding: 56px 0; }
.section.alt { background: var(--bg); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 34px; }
.sec-head .eyebrow { margin-bottom: 12px; color: var(--blue); }
.sec-head .eyebrow::before { background: var(--blue); }
.sec-title { font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -.02em; }
.sec-title .bi-s { display: block; font-size: 14px; font-weight: 500; color: var(--muted); margin-top: 8px; letter-spacing: 0; }
.sec-desc { max-width: 560px; color: var(--body); font-size: 14.5px; line-height: 1.75; margin-top: 12px; }
.link-more { display: inline-flex; align-items: center; gap: 8px; color: var(--navy); font-weight: 600; font-size: 14px; white-space: nowrap; }
.link-more .ico { width: 17px; height: 17px; transition: .18s; }
.link-more:hover .ico { transform: translateX(3px); }

/* ---------- system grid ---------- */
.sys-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.sys-card {
  position: relative; display: flex; align-items: center; gap: 14px; padding: 16px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r); transition: .18s ease; overflow: hidden;
}
.sys-card:hover { border-color: #c3d0ea; box-shadow: var(--shadow-md); transform: translateY(-2px); }
.sys-icon {
  width: 40px; height: 40px; flex: 0 0 auto; border-radius: 10px; display: grid; place-items: center;
  background: var(--blue-50); color: var(--navy); transition: .18s;
}
.sys-icon .ico { width: 21px; height: 21px; }
.sys-card:hover .sys-icon { background: var(--navy); color: #fff; }
.sys-meta { min-width: 0; }
.sys-name { font-size: 14px; font-weight: 600; line-height: 1.35; }
.sys-en { font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sys-count {
  position: absolute; right: 12px; bottom: 12px; font-size: 11px; font-weight: 600; color: #a6b3c8;
  font-variant-numeric: tabular-nums;
}

/* ---------- brand cards ---------- */
.brand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.brand-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; transition: .18s;
  display: flex; flex-direction: column; gap: 14px;
}
.brand-card:hover { border-color: #c3d0ea; box-shadow: var(--shadow-md); transform: translateY(-2px); }
.bc-top { display: flex; align-items: center; gap: 14px; }
.brand-mark {
  width: 60px; height: 44px; border-radius: 8px; display: grid; place-items: center; flex: 0 0 auto;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%); color: #fff;
  font-weight: 800; font-size: 13px; letter-spacing: .04em; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
}
.brand-mark.lg { width: 96px; height: 72px; font-size: 19px; border-radius: 12px; }
.bc-name { font-size: 16px; font-weight: 700; line-height: 1.3; }
.bc-en { font-size: 12px; color: var(--muted); }
.bc-role { font-size: 12px; color: var(--blue); font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  font-size: 11.5px; padding: 3px 9px; border-radius: 999px; background: var(--blue-25); color: #3a4b68; border: 1px solid #e6eef8;
}
.chip.solid { background: var(--navy); color: #fff; border-color: var(--navy); }
.chip.ghost { background: #fff; }
.bc-desc { font-size: 12.8px; color: var(--body); line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bc-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 12.5px; color: var(--muted); }
.bc-foot .link-more { font-size: 13px; }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.about-copy p { color: var(--body); font-size: 15px; line-height: 1.85; margin-top: 16px; }
.pillars { display: grid; gap: 12px; }
.pillar { display: flex; gap: 14px; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.pillar-num { font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--blue); letter-spacing: .06em; }
.pillar h4 { font-size: 14.5px; margin-bottom: 4px; }
.pillar p { font-size: 13px; color: var(--muted); line-height: 1.65; }

/* ---------- CTA ---------- */
.cta { background: linear-gradient(115deg, #0e1b57 0%, #172a88 60%, #0a4c8c 100%); color: #fff; border-radius: var(--r-lg); padding: 46px 48px; display: flex; align-items: center; justify-content: space-between; gap: 36px; position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .12); }
.cta h3 { font-size: 24px; letter-spacing: -.02em; }
.cta p { color: rgba(255, 255, 255, .7); margin-top: 8px; font-size: 14px; }
.cta-actions { display: flex; gap: 12px; position: relative; z-index: 2; }
.cta-contact { display: flex; flex-direction: column; gap: 6px; margin-top: 14px; font-size: 13.5px; color: rgba(255, 255, 255, .82); }

/* ---------- page head ---------- */
.pagehead { background: linear-gradient(115deg, #0e1b57, #172a88 55%, #0a4c8c); color: #fff; padding: 44px 0 46px; position: relative; overflow: hidden; }
.pagehead::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 56px 56px; mask-image: linear-gradient(90deg, #000, transparent 80%); -webkit-mask-image: linear-gradient(90deg, #000, transparent 80%); }
.pagehead .wrap { position: relative; z-index: 2; }
.crumbs { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: rgba(255, 255, 255, .55); margin-bottom: 14px; }
.crumbs a:hover { color: #fff; }
.crumbs span.sep { opacity: .5; }
.pagehead h1 { font-size: clamp(26px, 2.8vw, 36px); letter-spacing: -.02em; }
.pagehead .lead { margin-top: 12px; color: rgba(255, 255, 255, .72); max-width: 640px; font-size: 14.5px; line-height: 1.75; }
.pagehead .lead i { display: block; font-style: normal; font-size: 13px; color: rgba(255, 255, 255, .45); margin-top: 6px; }

/* ---------- toolbar / filters ---------- */
.toolbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.seg { display: inline-flex; background: #eef2f8; border-radius: 10px; padding: 4px; gap: 2px; }
.seg button {
  border: 0; background: transparent; padding: 8px 16px; border-radius: 8px; font-size: 13.5px; font-weight: 600;
  color: var(--muted); cursor: pointer; transition: .16s;
}
.seg button.is-on { background: #fff; color: var(--navy); box-shadow: var(--shadow-sm); }
.filter-input { position: relative; flex: 1 1 240px; max-width: 360px; }
.filter-input input { width: 100%; height: 42px; border: 1px solid var(--line); border-radius: 9px; padding: 0 14px 0 40px; font-size: 14px; background: #fff; }
.filter-input input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(23, 42, 136, .08); }
.filter-input .ico { position: absolute; left: 13px; top: 11px; width: 18px; height: 18px; color: var(--muted); }
.select-sm { height: 42px; border: 1px solid var(--line); border-radius: 9px; padding: 0 34px 0 12px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%237b879b' stroke-width='1.4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center; appearance: none; font-size: 13.5px; color: var(--ink); cursor: pointer; }
.result-meta { font-size: 13px; color: var(--muted); margin-bottom: 14px; font-variant-numeric: tabular-nums; }

/* ---------- table ---------- */
.table-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
table.data { width: 100%; border-collapse: collapse; font-size: 13.8px; }
table.data th {
  text-align: left; font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  color: #64718a; background: #f7f9fc; padding: 12px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; position: sticky; top: 0; z-index: 2;
}
table.data td { padding: 13px 16px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
table.data tbody tr:last-child td { border-bottom: 0; }
table.data tbody tr:hover { background: #fafcff; }
table.data .zh { font-weight: 600; color: var(--ink); }
table.data .en { color: #6a778e; font-size: 12.6px; }
table.data .note { color: var(--muted); font-size: 12.4px; }
table.data .num { font-variant-numeric: tabular-nums; color: #8491a6; font-size: 12.5px; }
.mono { font-family: var(--mono); font-size: 12.4px; color: #3f4c66; }
.tbl-scroll { max-height: 640px; overflow: auto; }
.badge { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; border-radius: 999px; font-size: 11.5px; font-weight: 600; background: var(--blue-25); color: #34507e; white-space: nowrap; }
.badge.ex { background: #fff4e5; color: #a2610b; }
.badge.blue { background: var(--blue-50); color: var(--navy); }
.badge.gray { background: #f1f4f9; color: #5d6b83; }

/* ---------- product cards ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.prod-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px; display: flex; flex-direction: column; gap: 10px; transition: .18s; }
.prod-card:hover { border-color: #c3d0ea; box-shadow: var(--shadow-md); transform: translateY(-2px); }
.pc-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pc-sku { font-family: var(--mono); font-size: 11.5px; color: var(--muted); letter-spacing: .02em; }
.pc-name { font-size: 15px; font-weight: 700; line-height: 1.4; }
.pc-name i { display: block; font-style: normal; font-size: 12.5px; font-weight: 500; color: var(--muted); margin-top: 2px; }
.pc-specs { display: grid; gap: 6px; font-size: 12.5px; color: var(--body); padding-top: 8px; border-top: 1px dashed var(--line); }
.pc-row { display: flex; gap: 8px; }
.pc-row b { font-weight: 600; color: var(--muted); flex: 0 0 74px; }
.pc-makes { font-size: 12px; color: var(--muted); }

/* ---------- brand detail ---------- */
.bd-hero { display: flex; gap: 26px; align-items: center; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); }
.bd-info h2 { font-size: 24px; }
.bd-info .bd-en { color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.bd-meta { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 14px; }
.bd-meta div { font-size: 12.5px; color: var(--muted); }
.bd-meta b { display: block; font-size: 13.5px; color: var(--ink); font-weight: 600; margin-top: 2px; }
.bd-desc { color: var(--body); line-height: 1.85; font-size: 14.5px; margin-top: 16px; }
.bd-desc i { display: block; font-style: normal; color: var(--muted); font-size: 13.2px; margin-top: 8px; line-height: 1.75; }
.bd-hl { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.bd-hl li { display: flex; gap: 10px; font-size: 13.5px; color: var(--body); }
.bd-hl .ico { width: 17px; height: 17px; color: var(--ok); margin-top: 2px; }

/* ---------- vehicle picker ---------- */
.make-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.make-btn {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 16px; text-align: left;
  cursor: pointer; transition: .16s; display: flex; flex-direction: column; gap: 4px;
}
.make-btn:hover { border-color: #bccbe6; box-shadow: var(--shadow-sm); }
.make-btn.is-on { border-color: var(--navy); background: var(--blue-25); box-shadow: 0 0 0 3px rgba(23, 42, 136, .08); }
.make-btn b { font-size: 15px; }
.make-btn span { font-size: 11.5px; color: var(--muted); }
.model-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.model-btn {
  background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 13px 15px; cursor: pointer;
  text-align: left; transition: .16s; display: flex; justify-content: space-between; align-items: center; gap: 8px;
}
.model-btn:hover { border-color: #bccbe6; }
.model-btn.is-on { border-color: var(--navy); background: var(--blue-25); }
.model-btn b { font-size: 14px; }
.model-btn span { font-size: 11px; color: var(--muted); display: block; margin-top: 2px; }
.step { margin-bottom: 34px; }
.step-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.step-num { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font-size: 12.5px; font-weight: 700; }
.step-head h3 { font-size: 16px; }
.step-head .hint { font-size: 12.5px; color: var(--muted); }
.empty-hint { padding: 18px; border: 1px dashed var(--line); border-radius: var(--r); color: var(--muted); font-size: 13.5px; background: #fbfcfe; }

/* ---------- admin ---------- */
.admin-shell { display: grid; grid-template-columns: 232px 1fr; gap: 24px; align-items: start; }
.admin-nav { position: sticky; top: 92px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 10px; }
.admin-nav button {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 11px 14px; border: 0; background: transparent;
  border-radius: 8px; text-align: left; font-size: 13.8px; font-weight: 500; color: var(--body); cursor: pointer; transition: .16s;
}
.admin-nav button:hover { background: var(--blue-25); color: var(--navy); }
.admin-nav button.is-on { background: var(--navy); color: #fff; }
.admin-nav .ico { width: 17px; height: 17px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.panel + .panel { margin-top: 18px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.panel-head h3 { font-size: 16px; }
.panel-head .sub { font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.admin-table { max-height: 560px; overflow: auto; border: 1px solid var(--line-2); border-radius: 10px; }
.admin-table table { width: 100%; border-collapse: collapse; font-size: 13.2px; }
.admin-table th { position: sticky; top: 0; background: #f7f9fc; z-index: 2; text-align: left; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: #64718a; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.admin-table td { padding: 10px 12px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.admin-table tr:hover td { background: #fafcff; }
.row-actions { display: flex; gap: 6px; }
.icon-btn { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid var(--line); background: #fff; border-radius: 7px; cursor: pointer; color: var(--body); transition: .16s; }
.icon-btn:hover { border-color: var(--navy); color: var(--navy); }
.icon-btn.danger:hover { border-color: #d9534f; color: #d9534f; }
.icon-btn .ico { width: 15px; height: 15px; }
.export-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.export-card { border: 1px solid var(--line); border-radius: var(--r); padding: 18px; display: flex; flex-direction: column; gap: 8px; transition: .16s; background: #fff; }
.export-card:hover { border-color: #c3d0ea; box-shadow: var(--shadow-sm); }
.export-card b { font-size: 14px; }
.export-card span { font-size: 12.4px; color: var(--muted); line-height: 1.6; }
.notice { display: flex; gap: 10px; padding: 14px 16px; border-radius: 10px; background: #fff8ec; border: 1px solid #f4e3c3; color: #7a5814; font-size: 12.8px; line-height: 1.7; }
.notice.blue { background: var(--blue-25); border-color: #d8e6f6; color: #2c4a72; }
.notice .ico { width: 17px; height: 17px; flex: 0 0 auto; margin-top: 2px; }

/* ---------- modal ---------- */
.modal-mask { position: fixed; inset: 0; background: rgba(11, 20, 40, .5); display: none; align-items: center; justify-content: center; z-index: 200; padding: 24px; }
.modal-mask.is-open { display: flex; }
.modal { background: #fff; border-radius: 16px; width: 100%; max-width: 620px; max-height: 88vh; overflow: auto; box-shadow: var(--shadow-lg); }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #fff; z-index: 2; }
.modal-head h3 { font-size: 17px; }
.modal-body { padding: 22px 24px; display: grid; gap: 14px; }
.modal-foot { padding: 16px 24px; border-top: 1px solid var(--line); display: flex; justify-content: flex-end; gap: 10px; position: sticky; bottom: 0; background: #fff; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-field label { display: block; font-size: 12px; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 9px; padding: 10px 12px; font-size: 14px; background: #fff;
}
.form-field textarea { min-height: 78px; resize: vertical; line-height: 1.6; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(23, 42, 136, .09); }

/* ---------- lock screen ---------- */
.lock { max-width: 430px; margin: 60px auto; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 34px; box-shadow: var(--shadow-md); text-align: center; }
.lock img { height: 42px; margin: 0 auto 20px; }
.lock h2 { font-size: 19px; }
.lock p { font-size: 12.8px; color: var(--muted); margin-top: 8px; line-height: 1.7; }
.lock form { margin-top: 20px; display: grid; gap: 12px; }
.lock input { height: 46px; border: 1px solid var(--line); border-radius: 10px; padding: 0 14px; font-size: 15px; text-align: center; letter-spacing: .1em; }
.lock input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(23, 42, 136, .09); }
.lock .err { color: #d9534f; font-size: 12.5px; min-height: 18px; }

/* ---------- footer ---------- */
.site-footer { background: #0b1745; color: rgba(255, 255, 255, .66); margin-top: 0; }
.foot-grid { display: grid; grid-template-columns: 1.6fr .8fr .8fr 1.1fr; gap: 48px; padding: 56px 24px 46px; }
.foot-logo { height: 38px; margin-bottom: 18px; }
.foot-slogan { color: #fff; font-size: 14.5px; font-weight: 600; margin-bottom: 10px; }
.foot-intro { font-size: 12.8px; line-height: 1.8; color: rgba(255, 255, 255, .5); max-width: 340px; }
.foot-col h4 { color: #fff; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; }
.foot-col a, .foot-col p { display: block; font-size: 13px; padding: 5px 0; color: rgba(255, 255, 255, .62); transition: .16s; }
.foot-col a:hover { color: #fff; }
.foot-col a .ico, .foot-city .ico { width: 14px; height: 14px; display: inline-block; vertical-align: -2px; margin-right: 6px; opacity: .6; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .08); }
.foot-bottom .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 24px; font-size: 12px; color: rgba(255, 255, 255, .4); flex-wrap: wrap; }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 32px; transform: translate(-50%, 20px); background: #101b3f; color: #fff;
  padding: 11px 20px; border-radius: 10px; font-size: 13.5px; opacity: 0; pointer-events: none;
  transition: .22s; z-index: 400; box-shadow: var(--shadow-lg);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- empty state ---------- */
.empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty .ico { width: 34px; height: 34px; margin: 0 auto 12px; opacity: .4; }
.empty h4 { font-size: 15px; color: var(--body); margin-bottom: 6px; }
.empty p { font-size: 13px; }

/* ---------- reveal animation (progressive enhancement) ---------- */
.reveal { transition: opacity .55s ease, transform .55s ease; }
html.reveal-ready .reveal { opacity: 0; transform: translateY(14px); }
html.reveal-ready .reveal.in { opacity: 1; transform: none; }
section[id] { scroll-margin-top: 88px; }

/* ---------- mobile / WeChat webview baseline ---------- */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { -webkit-tap-highlight-color: rgba(23, 42, 136, .10); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .sc-grid, .sc-grid.brand-mode { grid-template-columns: 1fr 1fr; }
  .hero-art { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-nav { position: static; display: flex; gap: 6px; overflow: auto; }
  .admin-nav button { width: auto; white-space: nowrap; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 860px) {
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch;
    padding: 12px 20px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    display: none; z-index: 70; max-height: calc(100vh - 90px); overflow: auto;
  }
  body.nav-open .nav { display: flex; }
  .nav-link { padding: 13px 4px; border-bottom: 1px solid var(--line-2); border-radius: 0; }
  .nav-link.is-active::after { display: none; }
  .burger { display: block; }
  .head-actions .btn { display: none; }
  .topbar-left span { display: none; }
  .topbar-right { gap: 12px; }
  .tb-item span { display: none; }
  .stats-in { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line-2); }
  .section { padding: 54px 0; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .cta { flex-direction: column; align-items: flex-start; padding: 32px 26px; }
  .bd-hero { flex-direction: column; align-items: flex-start; }
  .hero-in { padding-top: 40px; }
  .search-card { border-radius: 14px; margin-top: 32px; }
  .sc-body { padding: 20px; }
  .sc-grid, .sc-grid.brand-mode { grid-template-columns: 1fr; }
  .sc-tab { padding: 14px 18px; font-size: 14px; flex: 1; justify-content: center; }
  .form-row { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .tbl-scroll, .admin-table { max-height: none; }
  table.data { font-size: 13px; }
  table.data th:nth-child(3), table.data td:nth-child(3) { display: none; }
  /* prevent iOS / WeChat webview auto-zoom on focus */
  .form-field input, .form-field select, .form-field textarea,
  .filter-input input, .select-sm, .lock input { font-size: 16px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .section { padding: 44px 0; }
  .stat b { font-size: 24px; }
  .hero h1 { font-size: 28px; }
  .btn { height: 44px; }
  .topbar { display: none; }
  .cta { padding: 30px 20px; }
  .cta-main { min-width: 0; max-width: 100%; }
  .cta-actions { flex-direction: column; align-items: stretch; width: 100%; }
  .cta-actions .btn { width: 100%; }
  .cta-qr { max-width: 100%; }
  .modal-mask { padding: 10px; }
  .modal { max-height: 94vh; border-radius: 14px; }
  .modal-head { padding: 16px 18px; }
  .modal-body { padding: 18px 16px; }
  .modal-foot { padding: 12px 16px; }
  .foot-grid { gap: 26px; }
}

/* hero headline secondary line */
.hero h1 em { display: block; font-style: normal; font-size: .5em; font-weight: 600; color: rgba(255, 255, 255, .48); margin-top: 14px; letter-spacing: 0; line-height: 1.3; }
.brand-detail-grid { display: grid; gap: 18px; }
.mini-brand { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; transition: .16s; }
.mini-brand:hover { border-color: #bccbe6; box-shadow: var(--shadow-sm); }
.mini-brand .brand-mark { width: 44px; height: 34px; font-size: 11px; border-radius: 7px; }
.mini-brand b { font-size: 13.5px; display: block; }
.mini-brand span { font-size: 11px; color: var(--muted); }
button.sys-card { width: 100%; font-family: inherit; }

/* hero side facts */
.hero-facts { position: absolute; right: 0; top: 84px; width: 330px; z-index: 3; border-left: 1px solid rgba(255, 255, 255, .16); padding-left: 28px; display: grid; gap: 22px; }
.hero-fact .k { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .42); }
.hero-fact .v { font-size: 13.5px; color: rgba(255, 255, 255, .88); margin-top: 5px; line-height: 1.55; font-weight: 500; }
.hero-fact .v b { color: #fff; font-weight: 700; }
@media (max-width: 1180px) { .hero-facts { display: none; } }

/* system tile text stacking */
.sys-meta { display: flex; flex-direction: column; gap: 2px; }
.sys-name, .sys-en { display: block; }
.sys-card { padding-right: 58px; }
/* hero facts panel */
.hero-facts { background: rgba(255, 255, 255, .055); border: 1px solid rgba(255, 255, 255, .13); border-left: 2px solid rgba(90, 169, 221, .85); border-radius: 14px; padding: 22px 24px; backdrop-filter: blur(4px); gap: 18px; }

/* system tile: count as third line */
.sys-card { padding-right: 16px; }
.sys-count { position: static; margin-top: 4px; font-size: 10.5px; letter-spacing: .02em; }

/* system tile refinement */
.sys-en { white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.4; }
.sys-count { display: block; position: static; margin-top: 3px; font-size: 10.5px; font-weight: 600; color: #a3b0c5; letter-spacing: .02em; }
.sys-card { align-items: flex-start; }
.sys-icon { margin-top: 1px; }

/* hidden attribute must win */
[hidden] { display: none !important; }
/* brand detail meta spacing */
.bd-meta { gap: 34px; }
.bd-meta div { min-width: 76px; }

/* ---------- contact QR ---------- */
.cta-qr { display: flex; flex-direction: column; gap: 12px; flex: 0 0 auto; }
.qr-title { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.92); letter-spacing: .02em; }
.qr-grid { display: flex; gap: 16px; }
.qr-card { background: #fff; border-radius: 14px; padding: 12px; width: 116px; text-align: center; text-decoration: none; display: block; transition: transform .18s ease, box-shadow .18s ease; }
.qr-card:hover { transform: translateY(-3px); box-shadow: 0 14px 26px rgba(0,0,0,.28); }
.qr-card img { width: 92px; height: 92px; object-fit: contain; display: block; margin: 0 auto; background: #fff; border-radius: 8px; }
.qr-card .qr-label { display: block; margin-top: 8px; font-size:13px; font-weight: 700; color: var(--navy); letter-spacing: .01em; }
.qr-card .qr-cap { display: block; margin-top: 2px; font-size: 10.5px; color: #6b7689; word-break: break-all; }
@media (max-width: 980px) { .qr-card { width: 104px; } .qr-card img { width: 80px; height: 80px; } }

/* ---------- portfolio (represented brands) ---------- */
.portfolio { margin-top: 56px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 32px; box-shadow: 0 10px 30px rgba(15,27,87,.05); }
.pf-head h3 { font-size: 18px; color: var(--navy); letter-spacing: -.01em; }
.pf-head p { margin-top: 6px; font-size: 13px; color: #5d6b82; line-height: 1.5; max-width: 720px; }
.pf-chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.pf-chip { font-size: 12.5px; font-weight: 600; color: var(--navy); background: #eef2fb; border: 1px solid #dbe3f3; border-radius: 999px; padding: 6px 13px; letter-spacing: .02em; }

/* ---------- systems map (full vehicle coverage image) ---------- */
.sysmap { margin: 26px 0 34px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: 0 12px 34px rgba(15,27,87,.06); overflow: hidden; }
.sysmap-cap { padding: 26px 30px 22px; }
.sysmap-kicker { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); background: #e8f1fb; border: 1px solid #d3e4f6; border-radius: 999px; padding: 5px 12px; }
.sysmap-title { display: block; margin-top: 12px; font-size: 20px; font-weight: 700; color: var(--navy); letter-spacing: -.01em; line-height: 1.35; }
.sysmap-title i { display: block; font-style: normal; font-size: 13px; font-weight: 500; color: rgba(23,42,136,.55); margin-top: 5px; letter-spacing: 0; }
.sysmap-sub { display: block; margin-top: 10px; font-size: 13.5px; color: #5d6b82; line-height: 1.6; max-width: 760px; }
.sysmap-sub i { display: block; font-style: normal; font-size: 12.5px; color: #93a0b4; margin-top: 5px; line-height: 1.55; }
.sysmap-frame { background: linear-gradient(180deg, #f4f7fd, #eaf0fa); border-top: 1px solid var(--line); }
.sysmap-frame img { display: block; width: 100%; height: auto; }
@media (max-width: 640px) { .sysmap-cap { padding: 20px 18px 16px; } .sysmap-title { font-size: 17px; } }
