:root {
  --ink: #15181d;
  --muted: #5e6878;
  --line: #dde3ea;
  --paper: #ffffff;
  --soft: #f4f6f8;
  --dark: #101318;
  --red: #c8242f;
  --red-dark: #9f1d27;
  --gold: #c79847;
  --radius: 8px;
  --shadow: 0 18px 45px rgba(20, 24, 29, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

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

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

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.7rem, 7vw, 5.8rem);
}

h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.8rem);
}

h3 {
  font-size: 1.1rem;
}

.container {
  width: min(1160px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: var(--red);
  color: white;
  font-weight: 800;
}

.brand strong,
.footer-brand {
  display: block;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-list a {
  display: block;
  padding: 10px 12px;
  color: #28313d;
  font-weight: 700;
  font-size: 0.93rem;
}

.nav-list a:hover {
  color: var(--red);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
}

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

.hero {
  position: relative;
  min-height: 680px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
}

.hero-clean {
  min-height: 620px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 10, 13, 0.82), rgba(8, 10, 13, 0.38), rgba(8, 10, 13, 0.08));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin-left: max(16px, calc((100vw - 1160px) / 2));
  color: white;
}

.eyebrow,
.section-kicker {
  color: var(--red);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  margin-bottom: 12px;
}

.hero .eyebrow {
  color: #ffffff;
}

.hero-lead {
  max-width: 660px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.18rem;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-weight: 800;
}

.btn-primary {
  background: var(--red);
  color: white;
}

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

.btn-light {
  background: white;
  color: var(--ink);
}

.btn-outline {
  border-color: var(--line);
  color: var(--ink);
  background: white;
}

.btn.full {
  width: 100%;
}

.section {
  padding: 78px 0;
}

.soft {
  background: var(--soft);
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head.inline {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.text-link {
  color: var(--red);
  font-weight: 800;
}

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

.service-grid article,
.pillars article,
.review-grid blockquote,
.vehicle-card,
.detail-summary,
.seo-note {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
}

.service-grid article {
  padding: 26px;
}

.service-grid h3,
.pillars h3 {
  margin-bottom: 10px;
}

.pillars article {
  padding: 28px;
}

.pillars span {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 6px;
  background: var(--red);
  color: #fff;
  font-weight: 900;
}

.vehicle-card {
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(20, 24, 29, 0.08);
}

.vehicle-image {
  aspect-ratio: 4 / 3;
  background: #e8edf2;
  overflow: hidden;
}

.vehicle-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.vehicle-card:hover .vehicle-image img {
  transform: scale(1.035);
}

.vehicle-body {
  padding: 20px;
}

.vehicle-price {
  margin-bottom: 8px;
  color: var(--red);
  font-size: 1.25rem;
  font-weight: 900;
}

.vehicle-body h3 {
  margin-bottom: 10px;
}

.vehicle-body h2 {
  margin-bottom: 8px;
  font-size: 1.28rem;
}

.vehicle-body h3 a:hover {
  color: var(--red);
}

.vehicle-body h2 a:hover {
  color: var(--red);
}

.vehicle-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.vehicle-specs span {
  padding: 5px 8px;
  border-radius: 5px;
  background: var(--soft);
  color: #303946;
  font-size: 0.86rem;
  font-weight: 700;
}

.vehicle-link {
  display: inline-flex;
  margin-top: 6px;
  color: var(--red);
  font-weight: 900;
}

.listings-section {
  background: #fff;
}

.vehicle-search {
  margin-bottom: 36px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.vehicle-search label {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-weight: 900;
}

.vehicle-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
}

.vehicle-search input {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.vehicle-search input:focus {
  outline: 2px solid rgba(200, 36, 47, 0.2);
  border-color: var(--red);
}

.listing-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.listing-head h2 {
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
}

.listing-count {
  margin: 0;
  color: var(--ink);
  font-weight: 900;
}

.vehicle-list {
  display: grid;
  gap: 16px;
}

.vehicle-listing {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  min-height: 164px;
  overflow: hidden;
}

.vehicle-listing .vehicle-image {
  height: 100%;
  min-height: 164px;
  aspect-ratio: auto;
}

.vehicle-listing .vehicle-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px;
  gap: 22px;
  align-items: center;
  padding: 18px 20px;
}

.vehicle-copy p {
  margin-bottom: 10px;
}

.vehicle-location {
  margin-bottom: 4px;
  color: var(--red);
  font-size: 0.84rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.vehicle-aside {
  display: grid;
  justify-items: end;
  align-content: center;
  min-height: 100%;
  padding-left: 20px;
  border-left: 1px solid var(--line);
  text-align: right;
}

.vehicle-aside .vehicle-price {
  margin-bottom: 10px;
}

.empty-state {
  max-width: 620px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.empty-state h2 {
  margin-bottom: 10px;
}

.pagination .page-numbers {
  display: inline-flex;
  min-width: 38px;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  margin-right: 6px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  font-weight: 800;
}

.pagination .current {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

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

.brands p {
  color: #d6dce4;
}

.brand-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.brand-list span {
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  color: white;
  font-weight: 800;
}

.finance-box,
.contact-grid,
.detail-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 42px;
  align-items: center;
}

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  padding: 14px 0 14px 34px;
  position: relative;
  border-bottom: 1px solid var(--line);
  font-weight: 800;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--red);
}

.review-grid blockquote {
  margin: 0;
  padding: 24px;
}

.review-grid p {
  color: #313a45;
}

.review-grid cite {
  color: var(--red);
  font-weight: 900;
  font-style: normal;
}

.contact {
  background: #fff;
}

.map-card {
  min-height: 280px;
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 34px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(200, 36, 47, 0.92), rgba(16, 19, 24, 0.92)),
    repeating-linear-gradient(45deg, #d8dde4 0 2px, #eef1f5 2px 18px);
  color: white;
  box-shadow: var(--shadow);
}

.map-card span {
  color: #ffe1e4;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.map-card strong {
  font-size: 1.5rem;
  line-height: 1.25;
}

.page-hero {
  padding: 78px 0;
  background: var(--dark);
  color: white;
}

.page-hero p {
  max-width: 760px;
  color: #d6dce4;
  font-size: 1.08rem;
}

.vehicle-detail {
  padding: 48px 0 18px;
  background: var(--soft);
}

.detail-image {
  overflow: hidden;
  border-radius: var(--radius);
  background: #d9dfe7;
  box-shadow: var(--shadow);
}

.detail-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.detail-summary {
  padding: 30px;
}

.detail-summary h1 {
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.detail-price {
  margin: 18px 0;
  color: var(--red);
  font-size: 1.8rem;
  font-weight: 900;
}

.detail-list {
  display: grid;
  gap: 10px;
  margin: 0 0 24px;
}

.detail-list div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.detail-list dt {
  color: var(--muted);
}

.detail-list dd {
  margin: 0;
  font-weight: 900;
  text-align: right;
}

.content-narrow {
  max-width: 820px;
}

.entry-content a {
  color: var(--red);
  font-weight: 800;
}

.entry-content h2 {
  margin-bottom: 18px;
}

.entry-content h3 {
  margin: 30px 0 12px;
  font-size: 1.35rem;
}

.entry-content p {
  margin-bottom: 18px;
}

.seo-note {
  margin-top: 28px;
  padding: 22px;
}

.site-footer {
  background: var(--dark);
  color: white;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 34px;
  padding: 48px 0;
}

.site-footer h2 {
  font-size: 1rem;
  margin-bottom: 12px;
}

.site-footer p {
  color: #c8d0da;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 16px;
  color: #c8d0da;
  text-align: center;
  font-size: 0.9rem;
}

.pagination {
  margin-top: 36px;
}

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  .primary-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 74px;
    display: none;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: white;
    box-shadow: var(--shadow);
  }

  .primary-nav.is-open {
    display: block;
  }

  .nav-list {
    display: grid;
    gap: 2px;
  }

  .hero {
    min-height: 580px;
  }

  .hero-overlay {
    background: rgba(8, 10, 13, 0.68);
  }

  .split,
  .finance-box,
  .contact-grid,
  .detail-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

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

  .header-inner {
    min-height: 66px;
  }

  .primary-nav {
    top: 66px;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: 540px;
  }

  .hero-content {
    margin-left: 12px;
    margin-right: 12px;
  }

  .section,
  .page-hero {
    padding: 54px 0;
  }

  .section-head.inline {
    display: grid;
    align-items: start;
  }

  .service-grid,
  .pillars,
  .vehicle-grid,
  .review-grid {
    grid-template-columns: 1fr;
  }

  .detail-summary {
    padding: 22px;
  }

  .vehicle-search-row,
  .listing-head,
  .vehicle-listing,
  .vehicle-listing .vehicle-body {
    grid-template-columns: 1fr;
  }

  .listing-head {
    display: grid;
    align-items: start;
  }

  .vehicle-listing .vehicle-image {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .vehicle-aside {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-top: 14px;
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
    text-align: left;
  }

  .vehicle-aside .vehicle-price {
    margin: 0;
  }
}
