:root {
  --blue: #0b57d0;
  --ink: #101828;
  --muted: #667085;
  --line: #dbe3ef;
  --paper: #ffffff;
  --soft: #f4f7fb;
  --orange: #ff8a1f;
  --radius: 18px;
  --shadow: 0 24px 70px rgba(6, 25, 58, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
.shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 999; transform: translateY(-160%); padding: 10px 16px; border-radius: 8px; background: #fff; color: var(--blue); font-weight: 700; }
.skip-link:focus { transform: translateY(0); }

.business-banner { display: grid; place-items: center; min-height: 52px; color: #fff; background: var(--blue); text-align: center; }
.business-banner strong { font-size: 18px; letter-spacing: 0.08em; }

.site-header { height: 76px; background: #fff; border-bottom: 1px solid rgba(16, 24, 40, 0.08); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; color: #fff; background: linear-gradient(145deg, var(--blue), #36a4ff); font-size: 13px; font-weight: 900; letter-spacing: 1px; box-shadow: 0 8px 20px rgba(11, 87, 208, 0.24); }
.brand-copy { display: flex; flex-direction: column; line-height: 1.2; }
.brand-copy strong { font-size: 20px; letter-spacing: 0.04em; }
.brand-copy small { margin-top: 5px; color: var(--muted); font-size: 12px; }
.header-phone { display: flex; align-items: baseline; gap: 12px; text-decoration: none; }
.header-phone span { color: var(--muted); font-size: 13px; }
.header-phone strong { color: var(--blue); font-size: 20px; letter-spacing: 0.02em; }

.hero { position: relative; min-height: 700px; overflow: hidden; background: #0a1422 url("../images/used-car-showroom-hero.jpg") center center / cover no-repeat; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 13, 24, 0.92) 0%, rgba(6, 16, 29, 0.79) 36%, rgba(6, 16, 29, 0.2) 68%, rgba(6, 16, 29, 0.36) 100%); }
.hero-layout { position: relative; min-height: 700px; display: grid; grid-template-columns: minmax(0, 1fr) 410px; align-items: center; gap: 70px; padding-top: 48px; padding-bottom: 48px; }
.hero-copy { max-width: 580px; color: #fff; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: #8ec6ff; font-size: 14px; font-weight: 800; letter-spacing: 0.18em; }
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 999px; background: var(--orange); }
.hero-copy h1 { margin: 22px 0; font-size: clamp(46px, 5.5vw, 76px); line-height: 1.04; letter-spacing: -0.04em; }
.hero-copy h1 em { color: #78bbff; font-style: normal; }
.hero-copy p { max-width: 520px; margin: 0; color: rgba(255, 255, 255, 0.82); font-size: 17px; line-height: 1.9; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.hero-points span { padding: 9px 14px; border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 999px; background: rgba(4, 12, 24, 0.35); color: #fff; font-size: 13px; backdrop-filter: blur(8px); }

.lead-card { padding: 28px; border: 1px solid rgba(255, 255, 255, 0.45); border-radius: 22px; background: rgba(255, 255, 255, 0.97); box-shadow: var(--shadow); }
.lead-heading > span { display: inline-block; padding: 5px 10px; border-radius: 6px; color: var(--blue); background: #eaf2ff; font-size: 12px; font-weight: 800; }
.lead-heading h2 { margin: 12px 0 6px; font-size: 25px; }
.lead-heading p { margin: 0 0 20px; color: var(--muted); font-size: 13px; }
.intent-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 0 16px; padding: 0; border: 0; }
.intent-switch legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.intent-switch input { position: absolute; opacity: 0; pointer-events: none; }
.intent-switch span { display: grid; place-items: center; min-height: 42px; border: 1px solid var(--line); border-radius: 9px; color: #475467; background: #fff; cursor: pointer; font-size: 14px; font-weight: 700; transition: 0.2s ease; }
.intent-switch input:checked + span { color: #fff; border-color: var(--blue); background: var(--blue); box-shadow: 0 7px 16px rgba(11, 87, 208, 0.2); }
.intent-switch input:focus-visible + span { outline: 3px solid rgba(11, 87, 208, 0.25); outline-offset: 2px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
[hidden] { display: none !important; }
.form-status { margin: 0 0 12px; color: var(--muted); font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.form-status.is-error, .form-message { color: #d92d20; }
.retry-button { margin: 0 0 12px; padding: 8px 12px; border: 1px solid var(--blue); border-radius: 8px; background: #fff; color: var(--blue); cursor: pointer; }
.submit-button:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.field { min-width: 0; }
.field select:disabled { color: var(--muted); background-color: var(--soft); }
.field textarea { width: 100%; min-height: 88px; padding: 12px; border: 1px solid var(--line); border-radius: 9px; resize: vertical; font-size: 14px; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-wide { grid-column: 1 / -1; }
.field > span { color: #344054; font-size: 13px; font-weight: 700; }
.field > span i { color: #98a2b3; font-style: normal; font-weight: 400; }
.field input, .field select { width: 100%; min-height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 9px; outline: 0; color: var(--ink); background: #fff; font-size: 14px; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.field select { -webkit-appearance: none; appearance: none; padding-right: 42px; background-image: url("../images/select-chevron.svg"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px 16px; }
.field input::placeholder { color: #98a2b3; }
.field :is(input, select, textarea):focus { outline: none; border-color: #6b9cde; box-shadow: 0 0 0 2px rgba(11, 87, 208, 0.07), 0 2px 6px rgba(16, 24, 40, 0.035); }
.field.is-invalid :is(input, select, textarea) { border-color: #e18179; }
.field.is-invalid :is(input, select, textarea):focus { outline: none; border-color: #d96c63; box-shadow: 0 0 0 2px rgba(217, 45, 32, 0.06), 0 2px 6px rgba(16, 24, 40, 0.025); }
.field-error { display: none; color: #d92d20; font-size: 11px; }
.field.is-invalid .field-error { display: block; }
.consent { display: flex; align-items: flex-start; gap: 8px; margin-top: 14px; color: var(--muted); font-size: 11px; line-height: 1.55; cursor: pointer; }
.consent input { flex: 0 0 auto; margin: 2px 0 0; accent-color: var(--blue); }
.consent-error { display: none; margin: 5px 0 0 23px; color: #d92d20; font-size: 11px; }
.consent-error.is-visible { display: block; }
.submit-button { width: 100%; min-height: 48px; margin-top: 16px; border: 0; border-radius: 10px; color: #fff; background: linear-gradient(135deg, var(--blue), #1976ed); box-shadow: 0 10px 22px rgba(11, 87, 208, 0.26); cursor: pointer; font-weight: 800; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.submit-button:hover { transform: translateY(-1px); box-shadow: 0 13px 26px rgba(11, 87, 208, 0.34); }

.quick-facts { position: relative; z-index: 2; margin-top: -1px; background: var(--blue); color: #fff; }
.facts-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.facts-grid div { display: flex; align-items: baseline; justify-content: center; gap: 12px; min-height: 86px; padding: 18px; border-right: 1px solid rgba(255, 255, 255, 0.18); }
.facts-grid div:last-child { border-right: 0; }
.facts-grid strong { font-size: 20px; }
.facts-grid span { color: rgba(255, 255, 255, 0.76); font-size: 13px; }

.vehicle-section { padding: 98px 0 108px; background: #fff; }
.section-heading { max-width: 660px; margin: 0 auto 44px; text-align: center; }
.section-heading > span { color: var(--blue); font-size: 13px; font-weight: 900; letter-spacing: 0.15em; }
.section-heading h2 { margin: 12px 0 14px; font-size: clamp(30px, 4vw, 44px); line-height: 1.2; letter-spacing: -0.035em; }
.section-heading p { margin: 0; color: var(--muted); line-height: 1.8; }
.vehicle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.vehicle-card { position: relative; min-height: 310px; padding: 34px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(155deg, #fff 58%, #eff5ff 100%); transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease; }
.vehicle-card:hover { transform: translateY(-5px); border-color: #a8c7fa; box-shadow: 0 22px 48px rgba(19, 53, 94, 0.12); }
.card-number { position: absolute; top: 24px; right: 26px; color: #c7d8ef; font-size: 50px; font-weight: 900; line-height: 1; }
.vehicle-type { display: inline-flex; align-items: center; min-height: 52px; padding: 0 18px; border-radius: 14px; color: #fff; background: var(--blue); box-shadow: 0 10px 22px rgba(11, 87, 208, 0.2); font-size: 17px; font-weight: 900; letter-spacing: 0.12em; }
.suv-card .vehicle-type { background: #0d7a68; box-shadow: 0 10px 22px rgba(13, 122, 104, 0.2); }
.ev-card .vehicle-type { background: #7a3fd0; box-shadow: 0 10px 22px rgba(122, 63, 208, 0.2); }
.vehicle-card h3 { margin: 28px 0 12px; font-size: 24px; }
.vehicle-card p { min-height: 56px; margin: 0; color: var(--muted); line-height: 1.75; }
.text-button { margin-top: 24px; padding: 0; border: 0; color: var(--blue); background: transparent; cursor: pointer; font-weight: 800; }
.text-button span { display: inline-block; margin-left: 6px; transition: transform 0.2s ease; }
.text-button:hover span { transform: translateX(4px); }

.buy-sell-section { position: relative; padding: 96px 0 104px; overflow: hidden; background: #081d3c; color: #fff; }
.buy-sell-section::after { content: "新车"; position: absolute; right: -30px; bottom: -75px; color: rgba(255, 255, 255, 0.035); font-size: 210px; font-weight: 900; white-space: nowrap; }
.light-heading { position: relative; z-index: 1; }
.light-heading > span { color: #78bbff; }
.light-heading h2 { margin-bottom: 0; }
.buy-sell-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.buy-sell-grid article { padding: 38px; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--radius); background: rgba(255, 255, 255, 0.055); }
.service-tag { color: #78bbff; font-size: 12px; font-weight: 900; letter-spacing: 0.18em; }
.buy-sell-grid h3 { margin: 13px 0 12px; font-size: 27px; }
.buy-sell-grid p { max-width: 450px; margin: 0 0 26px; color: rgba(255, 255, 255, 0.7); line-height: 1.8; }
.outline-button { min-height: 44px; padding: 0 20px; border: 1px solid rgba(255, 255, 255, 0.45); border-radius: 9px; color: #fff; background: transparent; cursor: pointer; font-weight: 700; transition: 0.2s ease; }
.outline-button:hover { border-color: #fff; background: #fff; color: #081d3c; }

.contact-section { padding: 70px 0; background: var(--soft); }
.contact-card { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 42px 48px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 18px 50px rgba(23, 54, 93, 0.08); }
.dark-eyebrow { color: var(--blue); }
.contact-card h2 { margin: 12px 0 8px; font-size: 30px; }
.contact-card p { margin: 0; color: var(--muted); }
.contact-phone { display: flex; flex-direction: column; min-width: 250px; padding: 17px 22px; border-radius: 12px; color: #fff; background: var(--blue); text-decoration: none; }
.contact-phone span { color: rgba(255, 255, 255, 0.72); font-size: 12px; }
.contact-phone strong { margin-top: 3px; font-size: 25px; letter-spacing: 0.025em; }

.site-footer { padding: 58px 0 24px; color: #fff; background: #061327; }
.footer-grid { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 70px; padding-bottom: 38px; }
.footer-brand strong { font-size: 23px; }
.footer-brand p { max-width: 320px; color: rgba(255, 255, 255, 0.58); line-height: 1.8; }
.business-info { display: grid; gap: 12px; }
.business-info p { display: grid; grid-template-columns: 76px 1fr; gap: 14px; margin: 0; color: rgba(255, 255, 255, 0.78); line-height: 1.7; }
.business-info span { color: rgba(255, 255, 255, 0.42); }
.business-info a { text-decoration: none; }
.copyright { padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.4); font-size: 12px; text-align: center; }
.copyright a { text-decoration: none; }

.success-dialog { width: min(390px, calc(100% - 36px)); padding: 34px; border: 0; border-radius: 20px; color: var(--ink); text-align: center; box-shadow: 0 30px 90px rgba(0, 0, 0, 0.32); }
.success-dialog::backdrop { background: rgba(3, 12, 27, 0.68); backdrop-filter: blur(3px); }
.success-icon { display: grid; place-items: center; width: 62px; height: 62px; margin: 0 auto 18px; border-radius: 50%; color: #fff; background: #12a66a; font-size: 30px; font-weight: 900; }
.success-dialog h2 { margin: 0 0 10px; font-size: 26px; }
.success-dialog p { margin: 0; color: var(--muted); line-height: 1.75; }
.success-dialog button { min-width: 140px; min-height: 44px; margin-top: 24px; border: 0; border-radius: 9px; color: #fff; background: var(--blue); cursor: pointer; font-weight: 800; }

button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid rgba(38, 132, 255, 0.35); outline-offset: 3px; }

@media (max-width: 980px) {
  .hero-layout { grid-template-columns: 1fr 370px; gap: 30px; }
  .hero-copy h1 { font-size: 52px; }
  .vehicle-card { padding: 28px; }
}

@media (max-width: 820px) {
  .hero { background-position: 60% top; }
  .hero-shade { background: linear-gradient(180deg, rgba(5, 13, 24, 0.7) 0%, rgba(5, 13, 24, 0.78) 40%, rgba(5, 13, 24, 0.96) 75%); }
  .hero-layout { grid-template-columns: 1fr; padding-top: 72px; padding-bottom: 50px; }
  .hero-copy { padding-top: 26px; }
  .hero-copy p { max-width: 610px; }
  .lead-card { width: min(520px, 100%); }
  .vehicle-grid { grid-template-columns: 1fr; }
  .vehicle-card { min-height: 0; }
  .vehicle-card p { min-height: 0; }
}

@media (max-width: 640px) {
  .shell { width: min(100% - 28px, 1180px); }
  .business-banner { min-height: 46px; }
  .business-banner strong { font-size: 16px; letter-spacing: 0.04em; }
  .site-header { height: 68px; }
  .brand-mark { width: 40px; height: 40px; border-radius: 11px; }
  .brand-copy strong { font-size: 17px; }
  .brand-copy small, .header-phone span { display: none; }
  .header-phone strong { font-size: 16px; }
  .hero-layout { min-height: 0; padding-top: 78px; }
  .hero-copy h1 { margin-top: 18px; font-size: 43px; }
  .hero-copy p { font-size: 15px; }
  .lead-card { padding: 22px 18px; border-radius: 16px; }
  .lead-heading h2 { font-size: 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .field-wide { grid-column: auto; }
  .facts-grid { grid-template-columns: 1fr; padding: 8px 0; }
  .facts-grid div { justify-content: flex-start; min-height: 0; padding: 13px 8px; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.15); }
  .facts-grid div:last-child { border-bottom: 0; }
  .facts-grid strong { min-width: 45px; font-size: 17px; }
  .vehicle-section, .buy-sell-section { padding: 70px 0; }
  .section-heading { margin-bottom: 32px; text-align: left; }
  .vehicle-card { padding: 26px; }
  .buy-sell-grid { grid-template-columns: 1fr; }
  .buy-sell-grid article { padding: 28px; }
  .buy-sell-section::after { display: none; }
  .contact-section { padding: 46px 0; }
  .contact-card { align-items: stretch; flex-direction: column; padding: 28px 22px; }
  .contact-phone { min-width: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .business-info p { grid-template-columns: 68px 1fr; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
