/* Homepage only: shared across the English, French, and Chinese documents. */
@font-face {
  font-family: "Noto Sans SC";
  src: url("/fonts/noto-sans-sc-home.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
}

:root {
  --action: #3E6AE1;
  --heading: #171A20;
  --body: #393C41;
  --secondary: #5C5E62;
  --muted: #8E8E8E;
  --surface: #FFFFFF;
  --alternate: #F4F4F4;
  --line: #EEEEEE;
  --header-height: 64px;
  --page-width: 1280px;
}

* { box-sizing: border-box; }

html {
  scroll-padding-top: calc(var(--header-height) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--body);
  font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  font-synthesis: none;
}

html:lang(zh) body {
  font-family: "Noto Sans SC", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }
h1, h2, h3, h4 { color: var(--heading); font-weight: 500; }
h1 { font-size: 40px; line-height: 1.15; letter-spacing: -0.6px; }
h2 { font-size: 24px; line-height: 1.3; letter-spacing: -0.2px; }
h3, h4 { font-size: 17px; line-height: 1.4; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, select { color: inherit; }
button { cursor: pointer; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.container {
  width: min(calc(100% - 40px), var(--page-width));
  margin-inline: auto;
}

.icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 10px 16px;
  background: var(--surface);
  color: var(--heading);
  clip-path: inset(50%);
}

.skip-link:focus { clip-path: none; }

/* The transparent header changes surface only after leaving the hero top. */
.site-header {
  position: fixed;
  z-index: 30;
  inset: 0 0 auto;
  color: var(--surface);
  background: transparent;
}

.site-header.is-scrolled {
  color: var(--heading);
  background: rgba(255, 255, 255, .75);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-height);
  width: calc(100% - 40px);
  margin-inline: auto;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: inherit;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 6px;
  white-space: nowrap;
}

.primary-nav { display: none; }

.nav-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex: 0 0 auto;
}

.nav-tools > a,
.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}

.language-switch {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  max-width: 124px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 12px;
  font-weight: 500;
}

select.language-switch { cursor: pointer; padding-inline: 4px; }
.language-switch option { color: var(--heading); background: var(--surface); }
.language-switch a { display: inline-flex; align-items: center; min-height: 40px; }
.language-switch [aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; }

.menu-toggle {
  flex: 0 0 auto;
  padding: 8px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: inherit;
}

.mobile-nav {
  display: grid;
  gap: 4px;
  padding: 16px 20px 24px;
  max-height: calc(100svh - var(--header-height));
  overflow-y: auto;
  background: var(--surface);
  color: var(--heading);
  border-bottom: 1px solid var(--line);
}

.mobile-nav a { padding: 12px 0; font-weight: 500; }

/* This neutral field is an explicit photo placeholder, never a substitute car. */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--header-height) + 44px) 20px 28px;
  background: var(--secondary);
  color: var(--surface);
  text-align: center;
}

.hero-copy { width: min(100%, 720px); }
.hero h1 { margin-top: 12px; color: inherit; }
.hero-eyebrow { font-size: 12px; line-height: 1.6; }
.hero-subtitle { max-width: 560px; margin: 16px auto 0; font-size: 14px; }

.hero-placeholder {
  display: flex;
  flex: 1 0 180px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: min(100%, 680px);
  min-height: 180px;
  padding: 40px 16px;
  color: var(--surface);
  font-size: 12px;
}

.hero-placeholder > .icon,
.hero-placeholder > svg { width: 48px; height: 48px; }
.hero-placeholder p { max-width: 420px; }

.hero-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(100%, 560px);
}

.hero-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 520px;
}

.hero-note { max-width: 560px; margin-top: 16px; font-size: 12px; }

/* All inquiry actions use the same fixed-height, four-pixel button treatment. */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.button-primary { background: var(--action); color: var(--surface); }
.button-primary:hover { background: color-mix(in srgb, var(--action) 88%, var(--heading)); }
.button-secondary { background: var(--surface); color: var(--body); }
.button-secondary:hover { text-decoration: underline; text-underline-offset: 3px; }
.button:focus-visible { outline-color: var(--heading); }
.hero .button:focus-visible,
.inquiry-band .button:focus-visible { outline-color: var(--surface); }

.section { padding-block: 80px; }
.section + .section { border-top: 1px solid var(--line); }
.section-heading { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 32px; }
.section-intro { max-width: 640px; margin-top: 12px; color: var(--secondary); }
.section-heading > .section-intro { margin-top: 0; }
.text-link { font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }
.text-link:hover { color: var(--heading); }

/* Cards keep photography and commercial facts in a stable, borderless grid. */
.vehicle-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px 24px; }
.vehicle-card { display: flex; min-width: 0; flex-direction: column; background: var(--surface); }
.vehicle-image { display: block; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; background: var(--alternate); }
.vehicle-image img,
img.vehicle-image { width: 100%; height: 100%; object-fit: cover; }
img.vehicle-image { height: auto; }
.vehicle-copy { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding-top: 20px; }
.vehicle-copy h3 { font-size: 17px; line-height: 1.4; }
.vehicle-meta { margin-top: 8px; color: var(--secondary); font-size: 12px; line-height: 1.6; }
.trade-terms { display: grid; gap: 8px; width: 100%; margin-top: 20px; font-size: 12px; }
.trade-terms > div { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: baseline; }
.trade-terms dt { color: var(--secondary); }
.trade-terms dd { color: var(--body); text-align: right; overflow-wrap: anywhere; }
.vehicle-copy > .button { align-self: flex-start; margin-top: 24px; }
.vehicle-card > .button { margin-top: 24px; }
.vehicle-availability { margin-top: 12px; color: var(--secondary); font-size: 12px; }

.why-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
.why-item { min-width: 0; }
.section-number { display: block; margin-bottom: 20px; color: var(--muted); font-size: 12px; }
.why-item h3 { margin-bottom: 12px; }
.why-item p { max-width: 350px; color: var(--secondary); }

/* A restrained trade route supports the Nigeria focus without a decorative map. */
.market-grid { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: 40px; }
.market-route { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; min-height: 160px; padding: 32px 24px; background: var(--alternate); }
.market-points { display: flex; align-items: center; gap: 20px; width: 100%; }
.market-route > p { color: var(--secondary); font-size: 12px; text-align: center; }
.market-point { display: flex; flex: 0 1 auto; flex-direction: column; align-items: center; gap: 8px; max-width: 40%; color: var(--heading); font-size: 17px; font-weight: 500; text-align: center; }
.market-point .icon { width: 24px; height: 24px; }
.market-point small,
.market-point span + span { color: var(--secondary); font-size: 12px; font-weight: 400; }
.market-line { flex: 1 1 24px; min-width: 24px; height: 1px; background: var(--muted); }
.market-copy { min-width: 0; }
.market-copy p { margin-top: 16px; color: var(--secondary); }
.market-copy .text-link { display: inline-block; margin-top: 24px; }

.inquiry-band { padding-block: 56px; background: var(--heading); color: var(--surface); }
.inquiry-inner { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.inquiry-inner h2 { max-width: 700px; color: inherit; }
.inquiry-inner p { max-width: 640px; margin-top: 12px; }
.inquiry-inner .button { flex: 0 0 auto; }

.site-footer { padding-block: 56px 24px; background: var(--surface); color: var(--secondary); font-size: 12px; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 40px; }
.footer-brand .wordmark { color: var(--heading); }
.footer-brand p { max-width: 400px; }
.footer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
.footer-column { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; }
.footer-column h2,
.footer-column h3,
.footer-column h4 { margin-bottom: 16px; font-size: 14px; font-weight: 500; }
.footer-column a { display: inline-block; padding-block: 5px; overflow-wrap: anywhere; }
.footer-column a:hover { color: var(--heading); text-decoration: underline; text-underline-offset: 3px; }
.footer-column p + p { margin-top: 8px; }
.footer-column ul { margin: 0; padding: 0; list-style: none; }
.footer-bottom { display: flex; flex-direction: column; gap: 12px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.footer-bottom .wordmark { color: var(--heading); font-size: 14px; }

@media (min-width: 600px) {
  .container { width: min(calc(100% - 64px), var(--page-width)); }
  .header-inner { width: calc(100% - 48px); }
  .hero { padding-inline: 32px; padding-bottom: 36px; }
  .hero-actions { flex-direction: row; justify-content: center; gap: 20px; max-width: none; }
  .button { width: 200px; }
  .vehicle-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 28px; }
  .section-heading { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 24px; }
  .section-heading > .text-link { flex: 0 0 auto; }
  .market-route { min-height: 220px; padding: 40px; }
  .footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
  .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; }
}

@media (min-width: 1000px) {
  :root { --header-height: 72px; }
  .header-inner { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; width: calc(100% - 64px); }
  .wordmark { justify-self: start; }
  .primary-nav { display: flex; align-items: center; gap: 24px; font-weight: 500; }
  .primary-nav a { display: inline-flex; align-items: center; min-height: 40px; white-space: nowrap; }
  .primary-nav a:hover,
  .primary-nav [aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; }
  .nav-tools { justify-self: end; gap: 16px; }
  .menu-toggle, .mobile-nav { display: none; }
  .hero { padding-top: calc(var(--header-height) + 64px); padding-bottom: 40px; }
  .hero-placeholder { flex-basis: 220px; }
  .vehicle-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
  .vehicle-copy h3 { min-height: 4.2em; }
  .why-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 64px; }
  .market-grid { grid-template-columns: 1fr 1fr; gap: 80px; }
  .market-route { min-height: 260px; }
  .inquiry-inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 48px; }
  .site-footer { padding-top: 64px; }
}

@media (min-width: 1440px) {
  .header-inner { width: calc(100% - 96px); }
  .primary-nav { gap: 32px; }
}
