:root {
  --blue: #0682db;
  --blue-dark: #0465ad;
  --ink: #111827;
  --text: #374151;
  --muted: #6b7280;
  --line: #e5e7eb;
  --soft: #f6f6f6;
  --white: #ffffff;
  --dark: #11161c;
  --shadow: 0 18px 50px rgba(17, 24, 39, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--white);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: normal;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

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

.topbar {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  line-height: 1.6;
}

.topbar__inner {
  display: flex;
  justify-content: flex-end;
  gap: 34px;
  padding: 22px 0 0;
}

.navbar {
  position: absolute;
  top: 72px;
  left: 0;
  right: 0;
  z-index: 30;
  color: var(--white);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand__mark {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  color: var(--white);
}

.brand__text {
  font-size: 20px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 16px;
  line-height: 1.5;
}

.nav-links a {
  padding: 12px 4px;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: #8fd0ff;
}

.nav-cta {
  padding: 14px 24px !important;
  border-radius: 6px;
  background: var(--blue);
  color: var(--white) !important;
  box-shadow: 0 8px 24px rgba(6, 130, 219, 0.32);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--white);
}

.hero {
  position: relative;
  min-height: auto;
  overflow: hidden;
  color: var(--white);
  background: var(--dark);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 15, 22, 0.92), rgba(9, 15, 22, 0.64) 45%, rgba(9, 15, 22, 0.25)),
    linear-gradient(180deg, rgba(9, 15, 22, 0.48), rgba(9, 15, 22, 0.2)),
    url("assets/vehicles/hero-vehicle-export.png") center / cover no-repeat;
}

.hero__grid {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: auto;
  padding-top: 185px;
  padding-bottom: 150px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero h1,
.section h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: normal;
}

.hero h1 {
  max-width: 850px;
  color: var(--white);
}

.hero__lead {
  max-width: 700px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 19px;
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 24px;
  border: 0;
  border-radius: 6px;
  font-weight: 750;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 14px 30px rgba(6, 130, 219, 0.28);
}

.btn--primary:hover {
  background: var(--blue-dark);
}

.btn--ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.quick-cats {
  position: relative;
  z-index: 5;
  margin-top: -58px;
}

.quick-cats__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.category-card {
  display: grid;
  min-height: 168px;
  padding: 24px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease;
}

.category-card:hover {
  transform: translateY(-4px);
}

.category-card img {
  width: 72px;
  height: 42px;
  object-fit: contain;
}

.category-card span {
  margin-top: 18px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
}

.category-card small {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.45;
}

.section {
  padding: 92px 0;
}

.section-heading {
  max-width: 920px;
  margin-bottom: 34px;
}

.section-heading--center {
  max-width: 1040px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading h2 {
  font-size: clamp(30px, 3.2vw, 40px);
  line-height: 1.12;
}

.section-heading p:last-child {
  margin: 16px 0 0;
  color: var(--muted);
}

@media (min-width: 981px) {
  .section-heading--center h2 {
    max-width: none;
    white-space: normal;
  }
}

.brands {
  background: var(--white);
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.brand-logo {
  display: grid;
  min-height: 132px;
  place-items: center;
  padding: 22px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.brand-logo img {
  width: 74px;
  height: 54px;
  object-fit: contain;
  filter: grayscale(100%) saturate(0%) opacity(0.62);
  transition: filter 0.25s ease, transform 0.25s ease;
}

.brand-logo span {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.brand-logo:hover {
  border-color: rgba(6, 130, 219, 0.28);
  box-shadow: 0 14px 34px rgba(17, 24, 39, 0.1);
  transform: translateY(-3px);
}

.brand-logo:hover img {
  filter: grayscale(0%) saturate(100%) opacity(1);
  transform: scale(1.05);
}

.brand-logo:hover span {
  color: var(--ink);
}

.recommended,
.advantages,
.faq {
  background: var(--soft);
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -8px 0 26px;
}

.filter-tab {
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: var(--white);
  cursor: pointer;
}

.filter-tab.is-active,
.filter-tab:hover {
  border-color: var(--blue);
  color: var(--white);
  background: var(--blue);
}

.vehicle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.vehicle-card {
  overflow: hidden;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(17, 24, 39, 0.08);
}

.vehicle-card.is-hidden {
  display: none;
}

.vehicle-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #d9dee4;
}

.vehicle-card__body {
  padding: 22px;
}

.card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
}

.pill {
  padding: 4px 9px;
  border-radius: 999px;
  color: var(--blue);
  background: rgba(6, 130, 219, 0.1);
  font-weight: 800;
}

.vehicle-card h3,
.advantage-grid h3 {
  margin: 14px 0 8px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.2;
}

.vehicle-card p,
.advantage-grid p {
  margin: 0;
  color: var(--muted);
}

.vehicle-card dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 20px 0;
}

.vehicle-card dl div {
  padding: 12px;
  border-radius: 6px;
  background: #f8fafc;
}

.vehicle-card dt {
  color: var(--muted);
  font-size: 12px;
}

.vehicle-card dd {
  margin: 3px 0 0;
  color: var(--ink);
  font-weight: 800;
}

.vehicle-card a {
  color: var(--blue);
  font-weight: 800;
}

.inventory__grid,
.faq__grid,
.inquiry__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 60px;
  align-items: start;
}

.inventory h2,
.faq h2,
.inquiry h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(30px, 3.2vw, 40px);
  line-height: 1.12;
}

.inventory p,
.inquiry p {
  color: var(--muted);
}

.inventory-list {
  display: grid;
  gap: 14px;
}

.inventory-list div {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 84px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.inventory-list strong {
  color: var(--blue);
  font-size: 24px;
}

.inventory-list span {
  color: var(--ink);
  font-weight: 750;
}

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.advantage-grid article {
  padding: 26px;
  border-radius: 8px;
  background: var(--white);
}

.advantage-grid span {
  color: var(--blue);
  font-weight: 900;
}

.process-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.process-track div {
  position: relative;
  min-height: 150px;
  padding: 24px;
  border-radius: 8px;
  color: var(--white);
  background: var(--dark);
}

.process-track strong {
  display: block;
  color: var(--blue);
  font-size: 34px;
  line-height: 1;
}

.process-track span {
  display: block;
  margin-top: 34px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
}

.faq-list {
  display: grid;
  gap: 14px;
}

details {
  border-radius: 8px;
  background: var(--white);
}

summary {
  padding: 22px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
}

details p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
}

.inquiry {
  color: var(--white);
  background: linear-gradient(135deg, #11161c, #1b2a38);
}

.inquiry h2 {
  color: var(--white);
}

.contact-card {
  display: inline-grid;
  gap: 4px;
  margin-top: 20px;
  padding: 18px 22px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
}

.contact-card span {
  color: rgba(255, 255, 255, 0.64);
  font-size: 13px;
}

.contact-card strong {
  color: var(--white);
  font-size: 22px;
}

.quote-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 26px;
  border-radius: 8px;
  background: var(--white);
  color: var(--text);
}

.quote-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 750;
}

.quote-form input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  outline: none;
}

.quote-form input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(6, 130, 219, 0.12);
}

.span-2 {
  grid-column: span 2;
}

.form-note {
  grid-column: span 2;
  min-height: 22px;
  margin: 0;
  color: var(--blue) !important;
  font-weight: 750;
}

.footer {
  padding: 24px 0;
  color: rgba(255, 255, 255, 0.74);
  background: #0b1016;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.footer p {
  margin: 0;
}

.footer a {
  color: var(--white);
  font-weight: 750;
}

.floating-cta {
  position: fixed;
  right: 18px;
  top: 48%;
  z-index: 50;
  display: grid;
  gap: 10px;
}

.floating-cta a {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 118px;
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--blue);
  background: var(--white);
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.16);
  font-size: 13px;
  font-weight: 800;
}

.floating-cta img {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
}

@media (max-width: 980px) {
  .topbar {
    display: none;
  }

  .navbar {
    top: 18px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 66px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border-radius: 8px;
    color: var(--ink);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 12px;
  }

  .inventory__grid,
  .faq__grid,
  .inquiry__grid {
    grid-template-columns: 1fr;
  }

  .quick-cats__grid,
  .advantage-grid,
  .process-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .brand-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .vehicle-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .brand__text {
    font-size: 17px;
  }

  .hero,
  .hero__grid {
    min-height: auto;
  }

  .hero__grid {
    padding-top: 122px;
    padding-bottom: 76px;
  }

  .advantage-grid,
  .process-track,
  .quote-form {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 54px 0;
  }

  .section-heading {
    margin-bottom: 24px;
  }

  .section-heading h2,
  .inventory h2,
  .faq h2,
  .inquiry h2 {
    font-size: clamp(26px, 8vw, 32px);
  }

  .section-heading p:last-child {
    margin-top: 12px;
    font-size: 15px;
    line-height: 1.55;
  }

  .quick-cats {
    margin-top: 0;
    padding: 18px 0 0;
    background: var(--soft);
  }

  .quick-cats__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .category-card {
    min-height: 118px;
    padding: 16px 14px;
    box-shadow: 0 10px 28px rgba(17, 24, 39, 0.08);
  }

  .category-card img {
    width: 50px;
    height: 30px;
  }

  .category-card span {
    margin-top: 12px;
    font-size: 17px;
  }

  .category-card small {
    margin-top: 4px;
    font-size: 13px;
    line-height: 1.35;
  }

  .brand-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .brand-logo {
    min-height: 92px;
    padding: 12px 8px;
  }

  .brand-logo img {
    width: 54px;
    height: 38px;
  }

  .brand-logo span {
    margin-top: 8px;
    font-size: 12px;
  }

  .filter-tabs {
    gap: 8px;
  }

  .filter-tab {
    padding: 8px 13px;
    font-size: 14px;
  }

  .vehicle-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .vehicle-card img {
    aspect-ratio: 4 / 3;
  }

  .vehicle-card__body {
    padding: 14px;
  }

  .vehicle-card h3 {
    margin: 10px 0 6px;
    font-size: 17px;
  }

  .advantage-grid h3 {
    font-size: 20px;
  }

  .vehicle-card p {
    display: -webkit-box;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .vehicle-card dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin: 12px 0;
  }

  .vehicle-card dl div {
    padding: 8px 7px;
  }

  .vehicle-card dt {
    font-size: 11px;
  }

  .vehicle-card dd {
    font-size: 12px;
    line-height: 1.25;
  }

  .vehicle-card a {
    font-size: 13px;
  }

  .card-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    font-size: 12px;
  }

  .span-2 {
    grid-column: auto;
  }

  .floating-cta {
    right: 12px;
    top: auto;
    bottom: 12px;
    grid-auto-flow: column;
  }

  .floating-cta a {
    min-width: 0;
    padding: 9px 10px;
  }

  .floating-cta a span {
    display: none;
  }
}

@media (max-width: 380px) {
  .quick-cats__grid {
    gap: 8px;
  }

  .category-card {
    min-height: 108px;
    padding: 14px 10px;
  }

  .category-card span {
    font-size: 16px;
  }

  .category-card small {
    font-size: 12px;
  }

  .brand-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vehicle-grid {
    gap: 10px;
  }

  .vehicle-card__body {
    padding: 12px;
  }

  .vehicle-card dl {
    display: none;
  }
}
