/* Prime Motor — clean, minimal stylesheet */
:root {
  --ink: #1d1d1f;
  --ink-2: #424245;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --hair: rgba(0, 0, 0, .08);
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --bg-soft: #fbfbfd;
  --brand-navy: #1f2d52;
  --brand-gold: #f6c624;
  --accent: #1f2d52;          /* brand navy: buttons */
  --accent-hover: #2c3f70;
  --link: #2a4a8c;            /* slightly brighter navy for text links */
  --gold-soft: #fdf3cf;
  --radius: 22px;
  --radius-sm: 14px;
  --wrap: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.25, .1, .25, 1);
}

*, *::before, *::after { 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(--bg);
  font-size: 17px; line-height: 1.47; letter-spacing: -.022em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.03em; line-height: 1.08; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: 52px;
  background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--hair);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; color: var(--brand-navy); flex-shrink: 0; line-height: 1; }
.brand:hover { text-decoration: none; }
.brand-logo { height: 24px; width: auto; display: block; }
.brand small { font-size: 8.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 500; padding-left: 1px; }
@media (max-width: 640px) { .brand-logo { height: 21px; } }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { color: var(--ink); font-size: 13px; opacity: .85; letter-spacing: -.01em; }
.nav a:hover, .nav a[aria-current="page"] { opacity: 1; text-decoration: none; }
.nav a[aria-current="page"] { font-weight: 600; }
.nav .btn, .nav .btn:hover { opacity: 1; color: #fff; font-weight: 500; }
/* EN | 中文 segmented switch */
.lang-toggle {
  position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; flex-shrink: 0;
  padding: 2px; border: 1px solid var(--line); border-radius: 980px; background: #fff;
}
.lang-toggle button {
  position: relative; z-index: 1; border: 0; background: none; cursor: pointer;
  min-width: 38px; padding: 4px 10px; border-radius: 980px;
  font-size: 12px; font-weight: 500; letter-spacing: 0; line-height: 1.2; white-space: nowrap;
  color: var(--ink-2); transition: color .25s var(--ease);
}
.lang-toggle button[aria-pressed="true"] { color: #fff; cursor: default; }
.lang-toggle button:not([aria-pressed="true"]):hover { color: var(--brand-navy); }
.lang-toggle button:focus-visible { outline: 2px solid var(--brand-gold); outline-offset: 1px; }
.lang-thumb {
  position: absolute; top: 2px; bottom: 2px; left: 2px; width: calc(50% - 2px);
  border-radius: 980px; background: var(--brand-navy);
  transition: transform .25s cubic-bezier(.3, .7, .2, 1);
}
.lang-toggle.is-zh .lang-thumb { transform: translateX(100%); }
@media (prefers-reduced-motion: reduce) { .lang-thumb, .lang-toggle button { transition: none; } }
.site-header .wrap > .nav { margin-left: auto; }
.menu-btn { display: none; background: none; border: 0; padding: 8px; margin-right: -8px; cursor: pointer; }
.menu-btn span { display: block; width: 18px; height: 1.5px; background: var(--ink); margin: 4px 0; transition: transform .3s var(--ease), opacity .2s; }

@media (max-width: 820px) {
  .menu-btn { display: block; }
  .lang-toggle { margin-left: auto; margin-right: 6px; }
  .nav {
    position: fixed; inset: 52px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(255, 255, 255, .97); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    padding: 8px 22px 28px; border-bottom: 1px solid var(--hair);
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .25s var(--ease), transform .25s var(--ease);
  }
  .nav a { font-size: 22px; font-weight: 600; padding: 12px 0; border-bottom: 1px solid var(--hair); opacity: 1; }
  .nav .btn { margin-top: 18px; text-align: center; border: 0; font-size: 17px; }
  body.menu-open .nav { opacity: 1; transform: none; pointer-events: auto; }
  body.menu-open .menu-btn span:first-child { transform: translateY(2.75px) rotate(45deg); }
  body.menu-open .menu-btn span:last-child { transform: translateY(-2.75px) rotate(-45deg); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  background: var(--accent); color: #fff; border: 0; border-radius: 980px;
  padding: 11px 22px; font-size: 17px; font-weight: 400; cursor: pointer; white-space: nowrap;
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { background: var(--accent-hover); text-decoration: none; }
.btn:active { transform: scale(.98); }
.btn-sm { padding: 6px 14px; font-size: 13px; }
.btn-dark { background: var(--ink); }
.btn-dark:hover { background: #000; }
.btn-gold { background: var(--brand-gold); color: var(--brand-navy); font-weight: 500; }
.btn-gold:hover { background: #ffd43f; color: var(--brand-navy); }
.btn-ghost { background: transparent; color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.btn-ghost:hover { background: var(--accent); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #f0f0f2; }
.link-arrow { font-size: 17px; white-space: nowrap; }
.link-arrow::after { content: " ›"; font-size: 1.15em; }
.cta-row { display: flex; gap: 14px 28px; align-items: center; justify-content: center; flex-wrap: wrap; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--brand-navy); color: #f5f5f7; }
.section-dark .muted { color: #b4bbcd; }
.section-dark .btn { background: var(--brand-gold); color: var(--brand-navy); font-weight: 500; }
.section-dark .btn:hover { background: #ffd43f; }
.section-dark .link-arrow { color: var(--brand-gold); }
.section-dark .on-dark-muted { color: #b4bbcd; }
.section-dark .on-dark-fine { color: #8d96ad; }
.eyebrow { font-size: 17px; font-weight: 600; color: var(--muted); margin-bottom: 8px; letter-spacing: -.01em; }
.headline { font-size: clamp(36px, 6vw, 64px); }
.subhead { font-size: clamp(19px, 2.2vw, 24px); line-height: 1.33; color: var(--muted); font-weight: 400; letter-spacing: -.015em; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(32px, 4.6vw, 48px); }
.center { text-align: center; }

/* ---------- Hero ---------- */
.hero { background: var(--bg-soft); text-align: center; padding: 72px 0 0; overflow: hidden; }
.hero h1 { font-size: clamp(44px, 8vw, 96px); letter-spacing: -.045em; }
.hero .subhead { margin: 14px auto 26px; max-width: 640px; }
.hero-img { width: min(1100px, 104%); margin: 18px auto -2%; }
.hero-stats { display: flex; justify-content: center; gap: clamp(28px, 7vw, 96px); padding: 36px 0 60px; flex-wrap: wrap; }
.hero-stats div { text-align: center; }
.hero-stats b { display: block; font-size: clamp(28px, 4vw, 40px); font-weight: 600; letter-spacing: -.03em; }
.hero-stats span { font-size: 14px; color: var(--muted); }
@media (max-width: 600px) { .hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 12px; } }

.page-hero { padding: 72px 0 40px; text-align: center; }
.page-hero h1 { font-size: clamp(40px, 7vw, 80px); letter-spacing: -.04em; }
.page-hero .subhead { margin: 14px auto 0; max-width: 680px; }

/* ---------- Tiles (two-up promo) ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 12px; }
.tile {
  position: relative; border-radius: 0; overflow: hidden; text-align: center;
  padding: 56px 28px 0; min-height: 580px; display: flex; flex-direction: column; align-items: center;
  background: var(--bg-alt); color: var(--ink);
}
.tile h2 { font-size: clamp(34px, 4.2vw, 48px); }
.tile p { font-size: 21px; margin: 6px 0 18px; color: var(--ink-2); }
.tile .tile-img { margin-top: auto; width: 100%; max-width: 560px; }
.tile.dark { background: var(--brand-navy); color: #f5f5f7; }
.tile.dark p { color: #b4bbcd; }
.tile.dark .btn { background: var(--brand-gold); color: var(--brand-navy); font-weight: 500; }
.tile.photo { padding-bottom: 0; }
.tile.photo .tile-img { aspect-ratio: 16/10; object-fit: cover; border-radius: var(--radius-sm) var(--radius-sm) 0 0; }
@media (max-width: 820px) { .duo { grid-template-columns: 1fr; } .tile { min-height: 480px; } }

/* ---------- Car carousel / grid ---------- */
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 1fr); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 22px 24px;
  margin: 0 calc(50% - 50vw); padding-left: max(22px, calc(50vw - var(--wrap) / 2 + 22px)); padding-right: 22px;
  scroll-padding-left: max(22px, calc(50vw - var(--wrap) / 2 + 22px));
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.rail-controls { display: flex; gap: 10px; }
.rail-controls button {
  width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(210, 210, 215, .64); color: var(--ink);
  cursor: pointer; font-size: 18px; line-height: 1; transition: background .2s;
}
.rail-controls button:hover { background: rgba(210, 210, 215, .9); }
@media (min-width: 900px) { .rail { grid-auto-columns: calc((var(--wrap) - 44px - 40px) / 3); } }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }

.card {
  display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden;
  color: var(--ink); box-shadow: 0 2px 12px rgba(0, 0, 0, .04);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.card:hover { text-decoration: none; transform: translateY(-4px) scale(1.005); box-shadow: 0 14px 40px rgba(0, 0, 0, .10); }
.section:not(.section-alt) .card { background: var(--bg-alt); box-shadow: none; }
.section:not(.section-alt) .card:hover { box-shadow: 0 14px 40px rgba(0, 0, 0, .08); }
.card-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card .tag { font-size: 12px; font-weight: 600; color: #b64400; letter-spacing: -.005em; }
.card .tag.hybrid, .card .tag.electric, .card .tag.plug-in-hybrid, .card .tag.mild-hybrid { color: #1a7f37; }
.card h3 { font-size: 24px; letter-spacing: -.025em; }
.card .variant { color: var(--muted); font-size: 15px; }
.card .card-foot { margin-top: auto; padding-top: 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.card .card-foot .link-arrow { font-size: 15px; color: var(--link); }

.new-card .card-media { padding: 28px 18px 0; aspect-ratio: 16 / 10; display: grid; place-items: center; }
.new-card .card-media img { width: 100%; height: 100%; object-fit: contain; transition: transform .6s var(--ease); }
.new-card:hover .card-media img { transform: scale(1.04); }

.used-card .card-media { aspect-ratio: 4 / 3; background: #e8e8ed; overflow: hidden; }
.used-card .card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.used-card:hover .card-media img { transform: scale(1.04); }
.used-card h3 { font-size: 19px; line-height: 1.2; }
.price { font-size: 24px; font-weight: 600; letter-spacing: -.025em; margin-top: 8px; }
.price small { font-size: 13px; font-weight: 400; color: var(--muted); letter-spacing: -.01em; margin-left: 6px; }
.facts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.facts span { font-size: 12px; background: rgba(0, 0, 0, .05); border-radius: 980px; padding: 4px 10px; color: var(--ink-2); white-space: nowrap; }
.section:not(.section-alt) .used-card .facts span { background: #fff; }

/* ---------- Filters ---------- */
.toolbar {
  position: sticky; top: 52px; z-index: 20; background: rgba(255, 255, 255, .8);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--hair); padding: 12px 0;
}
.toolbar .wrap { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.pills { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; flex: 1 1 auto; min-width: 0; }
.pills::-webkit-scrollbar { display: none; }
.pill {
  border: 0; background: var(--bg-alt); color: var(--ink); border-radius: 980px; padding: 7px 16px;
  font-size: 14px; cursor: pointer; white-space: nowrap; transition: background .2s, color .2s;
}
.pill:hover { background: #e8e8ed; }
.pill[aria-pressed="true"] { background: var(--brand-navy); color: #fff; }
.field {
  appearance: none; -webkit-appearance: none; border: 1px solid var(--line); background: #fff; border-radius: 12px;
  padding: 9px 14px; font-size: 14px; min-width: 0;
}
select.field { padding-right: 34px; background-image: 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' fill='none' stroke='%236e6e73' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 13px center; cursor: pointer; }
.field:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(246, 198, 36, .35); }
.search { flex: 1 1 220px; }
.result-count { font-size: 14px; color: var(--muted); margin: 28px 0 18px; }
.empty { text-align: center; padding: 80px 0; color: var(--muted); }
@media (max-width: 640px) {
  .toolbar { position: static; }
  .toolbar .field { flex: 1 1 calc(50% - 5px); }
  .toolbar .search { flex-basis: 100%; }
}

/* ---------- Services / features ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: #fff; border-radius: var(--radius); padding: 34px 30px; }
.section:not(.section-alt) .feature { background: var(--bg-alt); }
.feature .icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-navy); color: var(--brand-gold); margin-bottom: 20px; }
.feature .icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 21px; margin-bottom: 8px; letter-spacing: -.02em; }
.feature p { color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

/* ---------- Big numbers ---------- */
.bignums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: center; }
.bignums b { display: block; font-size: clamp(44px, 7vw, 80px); font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.bignums span { display: block; margin-top: 10px; color: var(--muted); font-size: 17px; }
.section-dark .bignums b { background: linear-gradient(180deg, #fff, #c9cfdd); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width: 640px) { .bignums { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- Quotes ---------- */
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.quote { background: var(--bg-alt); border-radius: var(--radius); padding: 40px; }
.quote p { font-size: 21px; line-height: 1.4; letter-spacing: -.02em; }
.quote footer { margin-top: 22px; font-size: 15px; color: var(--muted); }
.stars { color: var(--brand-gold); letter-spacing: 2px; margin-bottom: 14px; font-size: 15px; }
@media (max-width: 760px) { .quotes { grid-template-columns: 1fr; } .quote p { font-size: 19px; } }

/* ---------- Locations ---------- */
.locations { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.location { background: #fff; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.section:not(.section-alt) .location { background: var(--bg-alt); }
.location iframe { width: 100%; height: 240px; border: 0; filter: grayscale(.4) contrast(1.05); }
.location .body { padding: 28px 30px 30px; }
.location h3 { font-size: 24px; margin-bottom: 10px; }
.location p { color: var(--ink-2); font-size: 15px; }
.location .row { display: flex; gap: 22px; margin-top: 18px; flex-wrap: wrap; font-size: 15px; }
@media (max-width: 760px) { .locations { grid-template-columns: 1fr; } }

/* ---------- Detail pages ---------- */
.crumbs { font-size: 13px; color: var(--muted); padding-top: 20px; }
.crumbs a { color: var(--muted); }
.detail-hero { text-align: center; padding: 40px 0 0; }
.detail-hero .tag { font-size: 14px; font-weight: 600; color: #1a7f37; }
.detail-hero .tag.petrol, .detail-hero .tag.diesel { color: #b64400; }
.used-detail .tag { font-size: 14px; font-weight: 600; color: #1a7f37; }
.used-detail .tag.petrol, .used-detail .tag.diesel { color: #b64400; }
.detail-hero h1 { font-size: clamp(44px, 7.5vw, 88px); letter-spacing: -.045em; margin-top: 6px; }
.detail-hero .subhead { margin-top: 8px; }
.detail-hero .cta-row { margin-top: 24px; }
.detail-img { width: min(980px, 100%); max-height: min(520px, 62vw); object-fit: contain; margin: 20px auto 0; }
.keyspecs { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; border-top: 1px solid var(--hair); padding: 40px 0 10px; margin-top: 20px; }
.keyspecs div + div { border-left: 1px solid var(--hair); }
.keyspecs b { display: block; font-size: clamp(26px, 4vw, 40px); font-weight: 600; letter-spacing: -.03em; }
.keyspecs span { font-size: 14px; color: var(--muted); }
@media (max-width: 600px) { .keyspecs { grid-template-columns: 1fr; gap: 26px; } .keyspecs div + div { border-left: 0; } }

.specs { max-width: 880px; margin: 0 auto; }
.spec-group { border-top: 1px solid var(--line); }
.spec-group:last-child { border-bottom: 1px solid var(--line); }
.spec-group summary {
  list-style: none; cursor: pointer; padding: 22px 0; display: flex; justify-content: space-between; align-items: center;
  font-size: 24px; font-weight: 600; letter-spacing: -.025em;
}
.spec-group summary::-webkit-details-marker { display: none; }
.spec-group summary::after { content: "+"; font-weight: 300; font-size: 30px; color: var(--muted); transition: transform .3s var(--ease); }
.spec-group[open] summary::after { transform: rotate(45deg); }
.spec-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; padding-bottom: 26px; }
.spec-list div { display: flex; justify-content: space-between; gap: 18px; padding: 12px 0; border-bottom: 1px solid var(--hair); font-size: 15px; }
.spec-list dt { color: var(--muted); }
.spec-list dd { margin: 0; text-align: right; font-weight: 500; }
.spec-list .yes { color: #1a7f37; }
.spec-list .no { color: #c7c7cc; }
@media (max-width: 700px) { .spec-list { grid-template-columns: 1fr; } }

.used-detail { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; padding-top: 32px; padding-bottom: 96px; align-items: start; }
.used-detail .photo { border-radius: var(--radius); overflow: hidden; background: #e8e8ed; aspect-ratio: 4/3; }
.used-detail .photo img { width: 100%; height: 100%; object-fit: cover; }
.used-detail h1 { font-size: clamp(32px, 4vw, 44px); letter-spacing: -.035em; }
.used-detail .price { font-size: 40px; margin-top: 18px; }
.used-detail .monthly { color: var(--muted); font-size: 17px; margin-top: 2px; }
.kv { margin: 28px 0; border-top: 1px solid var(--line); }
.kv div { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--hair); font-size: 15px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 500; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.stack .btn { width: 100%; }
.note { font-size: 12px; color: var(--muted); margin-top: 18px; line-height: 1.5; }
@media (max-width: 860px) { .used-detail { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Forms ---------- */
.form-card { background: #fff; border-radius: var(--radius); padding: 40px; max-width: 720px; margin: 0 auto; }
.section:not(.section-alt) .form-card { background: var(--bg-alt); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); }
.form-grid .field { font-size: 17px; padding: 13px 16px; width: 100%; color: var(--ink); }
.form-grid textarea.field { min-height: 120px; resize: vertical; }
.form-foot { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-top: 22px; flex-wrap: wrap; }
.form-foot p { font-size: 12px; color: var(--muted); max-width: 380px; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } .form-card { padding: 28px 22px; } }

/* ---------- Timeline ---------- */
.timeline { max-width: 820px; margin: 0 auto; }
.tl-item { display: grid; grid-template-columns: 140px 1fr; gap: 30px; padding: 34px 0; border-top: 1px solid var(--line); }
.tl-item b { font-size: 40px; font-weight: 600; letter-spacing: -.04em; color: var(--muted); }
.tl-item h3 { font-size: 24px; margin-bottom: 8px; }
.tl-item p { color: var(--muted); }
@media (max-width: 600px) { .tl-item { grid-template-columns: 1fr; gap: 6px; } .tl-item b { font-size: 28px; } }

.group-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.group-card { background: var(--bg-alt); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 8px; }
.group-card p { color: var(--muted); font-size: 15px; flex: 1; }
.group-links { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 10px; }
.group-card a { font-size: 15px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-alt); color: var(--muted); font-size: 12px; padding: 40px 0 28px; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.footer-logo { display: inline-block; }
.footer-logo img { height: 34px; width: auto; }
.site-footer .cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.site-footer h4 { font-size: 12px; color: var(--ink); font-weight: 600; letter-spacing: -.01em; margin-bottom: 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--ink-2); }
.site-footer .legal { display: flex; justify-content: space-between; gap: 18px; padding-top: 18px; flex-wrap: wrap; }
.site-footer .legal nav { display: flex; gap: 18px; }
@media (max-width: 760px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } }

/* ---------- Running mascot ---------- */
.mascot {
  position: fixed; right: 18px; bottom: 10px; z-index: 40;
  width: 75px; height: 100px;               /* frame ratio 189 x 252 */
  pointer-events: none; user-select: none;
  opacity: 0; transition: opacity .5s var(--ease);
}
.mascot.ready { opacity: 1; }
.mascot-sprite {
  width: 100%; height: 100%;
  background-repeat: no-repeat; background-size: 1300% 100%; background-position: 0 0;
  will-change: background-position, transform;
}
@media (max-width: 640px) { .mascot { width: 57px; height: 76px; right: 10px; bottom: 6px; } }
@media print { .mascot { display: none; } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ---------- Chinese ---------- */
html.lang-zh body { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif; letter-spacing: 0; }
html.lang-zh h1, html.lang-zh h2, html.lang-zh h3, html.lang-zh .hero h1, html.lang-zh .page-hero h1, html.lang-zh .detail-hero h1 { letter-spacing: -.01em; }
html.lang-zh .subhead, html.lang-zh .quote p { line-height: 1.55; }
html.lang-zh .brand small { letter-spacing: .06em; font-size: 10px; }

/* Lets photos with a white background sit cleanly on the grey tile */
.tile-img-blend { mix-blend-mode: multiply; }
.tile-img-blend { margin-bottom: 48px; }
@media (max-width: 820px) { .tile-img-blend { margin-bottom: 32px; } }

/* ---------- Hero: car, then person ---------- */
.hero-stage {
  position: relative; width: min(1040px, 100%); margin: 28px auto 0;
  aspect-ratio: 100 / 60;
}
.hero-stage img { position: absolute; display: block; height: auto; user-select: none; -webkit-user-drag: none; }
.hero-car { width: 64%; left: 30%; top: 2%; z-index: 1; }
.hero-person { width: 33%; left: 14%; top: 13%; z-index: 2; filter: drop-shadow(0 18px 24px rgba(31, 45, 82, .12)); }

/* animation: car glides in, then the person rises into place in front of it */
.hero-car { opacity: 0; transform: translateX(6%) scale(.97); }
.hero-person { opacity: 0; transform: translateY(8%) scale(.96); }
.hero-stage.play .hero-car {
  opacity: 1; transform: none;
  transition: opacity 1s var(--ease), transform 1.3s cubic-bezier(.16, 1, .3, 1);
}
.hero-stage.play .hero-person {
  opacity: 1; transform: none;
  transition: opacity .9s var(--ease) .85s, transform 1.1s cubic-bezier(.16, 1, .3, 1) .85s;
}
@media (max-width: 640px) {
  .hero-stage { aspect-ratio: 100 / 72; margin-top: 18px; }
  .hero-car { width: 74%; left: 24%; top: 4%; }
  .hero-person { width: 40%; left: 4%; top: 14%; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-car, .hero-person { opacity: 1; transform: none; }
}

/* ---------- Social buttons ---------- */
.social-row { display: flex; align-items: center; gap: 10px; }
.social-label { font-size: 12px; color: var(--muted); margin-right: 4px; }
.social-btn {
  width: 38px; height: 38px; border-radius: 50%; display: inline-grid; place-items: center;
  background: var(--brand-navy); color: #fff; transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.social-btn:hover { background: var(--brand-gold); color: var(--brand-navy); transform: translateY(-2px); text-decoration: none; }
.social-btn svg { width: 18px; height: 18px; }
.social-btn-lg { width: auto; height: auto; border-radius: 980px; padding: 12px 22px; gap: 10px; display: inline-flex; font-size: 17px; }
.social-btn-lg svg { width: 20px; height: 20px; }
.social-big { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.site-footer .social-btn { color: #fff; }
.site-footer .social-btn:hover { color: var(--brand-navy); }

/* ---------- Form states ---------- */
.form-status { margin-top: 18px; padding: 14px 18px; border-radius: 12px; font-size: 14px; }
.form-status.info { background: var(--gold-soft); color: var(--brand-navy); }
.form-status.error { background: #fdecec; color: #a4161a; }
.form-done { text-align: center; padding: 56px 40px; }
.form-done-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--brand-navy); color: var(--brand-gold); display: grid; place-items: center; font-size: 26px; margin: 0 auto 20px; }
.form-done h3 { font-size: 26px; margin-bottom: 10px; }
.form-done p { color: var(--muted); }
.btn:disabled { opacity: .6; cursor: progress; }
.enquiry-car { background: var(--gold-soft); border-radius: 12px; padding: 12px 16px; margin-bottom: 18px; font-size: 15px; color: var(--brand-navy); }
.enquiry-car span { color: var(--muted); margin-right: 4px; }

/* ---------- Google reviews ---------- */
.reviews-head { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; margin-bottom: 40px; }
.reviews-title { font-size: clamp(32px, 4.6vw, 48px); }
.review-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.review-tag { display: inline-flex; align-items: center; gap: 8px; background: var(--bg-alt); border-radius: 980px; padding: 6px 8px 6px 14px; font-size: 13px; color: var(--ink-2); }
.review-tag b { background: #fff; color: var(--brand-navy); border-radius: 980px; padding: 2px 8px; font-size: 12px; font-weight: 600; }
.rating-card {
  display: grid; grid-template-columns: auto auto; grid-template-areas: "logo num" "stars stars" "count count" "link link";
  justify-items: start; align-items: center; column-gap: 12px; row-gap: 4px;
  background: var(--brand-navy); color: #fff; border-radius: var(--radius); padding: 24px 28px; min-width: 250px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.rating-card:hover { text-decoration: none; transform: translateY(-3px); box-shadow: 0 14px 40px rgba(31, 45, 82, .25); }
.rating-card .g-logo { grid-area: logo; width: 34px; height: 34px; background: #fff; border-radius: 50%; display: grid; place-items: center; }
.rating-card .g-logo svg { width: 20px; height: 20px; }
.rating-num { grid-area: num; font-size: 52px; font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.rating-stars { grid-area: stars; color: var(--brand-gold); font-size: 22px; letter-spacing: 3px; margin-top: 6px; }
.rating-count { grid-area: count; color: #b4bbcd; font-size: 14px; }
.rating-link { grid-area: link; color: var(--brand-gold); font-size: 15px; margin-top: 10px; }
.g-logo-sm { margin-left: auto; width: 20px; height: 20px; flex-shrink: 0; }
.g-logo-sm svg { width: 100%; height: 100%; }
.reviews-rail { align-items: stretch; }
.review-card { background: var(--bg-alt); border-radius: var(--radius); padding: 26px 26px 24px; display: flex; flex-direction: column; gap: 12px; }
.review-top { display: flex; align-items: center; gap: 12px; }
.review-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--brand-navy); color: var(--brand-gold); display: grid; place-items: center; font-weight: 600; font-size: 17px; flex-shrink: 0; }
.review-who { display: flex; flex-direction: column; line-height: 1.25; }
.review-who b { font-size: 16px; font-weight: 600; }
.review-who span { font-size: 12px; color: var(--muted); }
.review-card .stars { margin: 0; }
.review-text { font-size: 16px; line-height: 1.5; color: var(--ink); flex: 1; }
.review-car { font-size: 13px; color: var(--muted); }
.review-car span { color: var(--ink-2); font-weight: 500; }
.review-more { font-size: 14px; }
.reviews-controls { justify-content: flex-end; margin-top: 4px; }
@media (max-width: 760px) {
  .reviews-head { grid-template-columns: 1fr; align-items: start; }
  .rating-card { min-width: 0; width: 100%; }
}
