:root {
  --bg: #0a1625;
  --panel: #10233c;
  --panel-soft: #16304f;
  --surface: #f6f7f9;
  --card: #ffffff;
  --text: #11161d;
  --muted: #5d6876;
  --line: rgba(17, 22, 29, 0.12);
  --line-dark: rgba(255, 255, 255, 0.12);
  --accent: #123a67;
  --accent-navy: #123a67;
  --accent-navy-strong: #0b2745;
  --accent-red: #b81f24;
  --accent-strong: #8e171b;
  --accent-soft: rgba(18, 58, 103, 0.12);
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(5, 10, 18, 0.12);
  --radius: 22px;
  --radius-sm: 14px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(18, 58, 103, 0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(184, 31, 36, 0.08), transparent 22%),
    linear-gradient(180deg, #f9fafb 0%, #eef1f5 100%);
}

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

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

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(15, 17, 21, 0.88);
  border-bottom: 1px solid var(--line-dark);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--white);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent-navy) 0%, var(--accent-red) 100%);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand-copy {
  display: grid;
  gap: 0.1rem;
}

.brand-copy strong {
  font-size: 1rem;
}

.brand-copy small {
  color: rgba(255, 255, 255, 0.72);
}

.nav {
  display: flex;
  gap: 1.35rem;
  color: rgba(255, 255, 255, 0.82);
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--white);
}

.button,
.text-button {
  font: inherit;
  cursor: pointer;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--accent-navy) 0%, #1e4f87 100%);
  box-shadow: 0 16px 34px rgba(18, 58, 103, 0.28);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: linear-gradient(135deg, var(--accent-navy-strong) 0%, var(--accent-navy) 100%);
}

.button-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.hero .button-secondary,
.contact .button-secondary,
.inventory .button-secondary {
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--line);
}

.header-cta {
  white-space: nowrap;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0)),
    linear-gradient(180deg, #091320 0%, #12243b 100%);
  color: var(--white);
  padding: 4rem 0 3rem;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 140px;
  background: linear-gradient(180deg, rgba(15, 17, 21, 0) 0%, rgba(15, 17, 21, 0.78) 100%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 2.25rem;
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.86rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8db5df;
  font-weight: 800;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
}

h1,
h2 {
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

h1 {
  font-size: clamp(3rem, 6vw, 5.6rem);
  max-width: 10ch;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  max-width: 13ch;
}

h3 {
  font-size: 1.15rem;
}

.lede,
.stack p,
.service-card p,
.review-card p,
.contact-stack p,
.truck-card p {
  line-height: 1.7;
}

.lede {
  max-width: 60ch;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.06rem;
  margin: 1.25rem 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.75rem;
}

.hero-points {
  display: grid;
  gap: 0.8rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.82);
}

.hero-points li {
  position: relative;
  padding-left: 1.4rem;
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--accent-red);
}

.hero-panel {
  display: grid;
  gap: 1rem;
}

.hero-visual {
  position: relative;
  min-height: 470px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0)),
    radial-gradient(circle at top right, rgba(184, 31, 36, 0.18), transparent 30%),
    radial-gradient(circle at bottom left, rgba(18, 58, 103, 0.32), transparent 34%),
    linear-gradient(180deg, #1a2a40 0%, #0d1420 100%);
}

.hero-visual::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 34%;
  background:
    linear-gradient(180deg, transparent 0%, rgba(8, 10, 13, 0.82) 20%),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.04) 0 1px,
      transparent 1px 42px
    );
}

.truck-card {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  width: min(320px, calc(100% - 3rem));
  padding: 1.3rem;
  border-radius: 18px;
  background: rgba(15, 17, 21, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
}

.truck-card h2 {
  margin-top: 0.8rem;
  font-size: 2rem;
  max-width: 10ch;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 0.85rem;
  border-radius: 999px;
  background: rgba(18, 58, 103, 0.24);
  color: #d4e6fb;
  font-size: 0.85rem;
  font-weight: 700;
}

.truck-silhouette {
  position: absolute;
  right: 1rem;
  bottom: 3.2rem;
  width: min(440px, 95%);
  height: 200px;
}

.cab,
.bed {
  position: absolute;
  bottom: 54px;
  background: linear-gradient(180deg, #f2f4f7 0%, #b8c0cb 100%);
  box-shadow: inset 0 -8px 0 rgba(0, 0, 0, 0.16);
}

.cab {
  right: 0;
  width: 168px;
  height: 96px;
  border-radius: 20px 26px 10px 10px;
  clip-path: polygon(18% 0, 84% 0, 100% 34%, 100% 100%, 0 100%, 0 34%);
}

.bed {
  left: 0;
  width: 250px;
  height: 78px;
  border-radius: 14px 10px 10px 12px;
}

.wheel {
  position: absolute;
  bottom: 0;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background:
    radial-gradient(circle, #5e6570 0 22%, #c9d0d8 23% 32%, #161b22 33% 100%);
  box-shadow: inset 0 0 0 7px #080a0d;
}

.wheel-left {
  left: 62px;
}

.wheel-right {
  right: 48px;
}

.stats,
.trust-grid,
.feature-grid,
.service-grid,
.review-grid,
.inventory-grid,
.contact-grid,
.footer-grid {
  display: grid;
}

.stats {
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.stats article {
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.stats strong,
.trust-grid strong {
  display: block;
  font-size: 1rem;
}

.stats span {
  display: block;
  margin-top: 0.45rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
}

.trust-strip {
  background: #0d1b2d;
  color: var(--white);
  padding: 1.1rem 0;
}

.trust-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.trust-label {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.84rem;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.section {
  padding: 5.5rem 0;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
  gap: 2.5rem;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.stack {
  display: grid;
  gap: 1rem;
}

.feature-grid,
.service-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
  margin-top: 1rem;
}

.feature-card,
.service-card,
.review-card,
.inventory-card,
.contact-panel,
.filters,
.rating-box {
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.feature-card,
.service-card,
.review-card,
.rating-box {
  padding: 1.35rem;
  border-radius: var(--radius);
}

.inventory {
  background:
    radial-gradient(circle at top right, rgba(18, 58, 103, 0.11), transparent 22%),
    linear-gradient(180deg, #eef2f5 0%, #f8f9fb 100%);
}

.filters {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.9rem;
  padding: 1rem;
  border-radius: var(--radius);
}

.filters label,
.contact-form label {
  display: grid;
  gap: 0.45rem;
}

.filters span,
.contact-form span {
  font-size: 0.9rem;
  font-weight: 700;
}

select,
input,
textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fbfbfc;
  padding: 0.9rem 1rem;
  font: inherit;
  color: var(--text);
}

select:focus,
input:focus,
textarea:focus {
  outline: 2px solid rgba(184, 31, 36, 0.25);
  border-color: rgba(184, 31, 36, 0.4);
}

.inventory-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 1rem 0 1.25rem;
}

.text-button {
  border: 0;
  background: transparent;
  color: var(--accent-strong);
  font-weight: 700;
  padding: 0;
}

.inventory-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.inventory-card {
  overflow: hidden;
  border-radius: 24px;
}

.inventory-photo {
  aspect-ratio: 16 / 10;
  background: #d9dee6;
  position: relative;
}

.inventory-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.inventory-body {
  padding: 1.25rem;
}

.inventory-body h3 {
  font-size: 1.2rem;
}

.inventory-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0.95rem 0;
}

.inventory-specs span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 0.8rem;
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.inventory-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
}

.inventory-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.price {
  font-size: 1.3rem;
  font-weight: 800;
}

.inventory-note {
  margin: 0 0 1.25rem;
  color: var(--muted);
}

.service-card,
.review-card {
  position: relative;
}

.service-card::before,
.review-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-navy), transparent);
}

.rating-box {
  min-width: 180px;
  text-align: center;
}

.rating-box strong {
  display: block;
  font-size: 2rem;
}

.rating-box span {
  color: var(--muted);
}

.contact-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 2rem;
  align-items: start;
}

.contact-stack {
  display: grid;
  gap: 0.3rem;
  margin: 1.25rem 0 1.5rem;
}

.contact-stack a {
  color: var(--accent-navy);
}

.contact-panel {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  border-radius: 28px;
}

.contact-form {
  display: grid;
  gap: 0.9rem;
}

.form-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.map-frame {
  min-height: 300px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 300px;
  border: 0;
}

.site-footer {
  background: #0d1b2d;
  color: rgba(255, 255, 255, 0.82);
  padding: 2rem 0;
}

.footer-grid {
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
}

.footer-grid p {
  margin: 0.45rem 0 0;
  max-width: 50ch;
}

.footer-grid div:last-child {
  display: grid;
  gap: 0.45rem;
  justify-items: end;
}

@media (max-width: 1080px) {
  .hero-grid,
  .section-grid,
  .contact-grid,
  .trust-grid,
  .inventory-grid {
    grid-template-columns: 1fr;
  }

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

  .stats {
    grid-template-columns: 1fr;
  }

  .trust-grid {
    gap: 1.25rem;
  }
}

@media (max-width: 820px) {
  .topbar {
    flex-wrap: wrap;
  }

  .nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 0.3rem;
  }

  .section {
    padding: 4.25rem 0;
  }

  .section-head,
  .inventory-meta,
  .footer-grid {
    align-items: start;
    justify-content: start;
    grid-template-columns: 1fr;
  }

  .section-head,
  .inventory-meta {
    display: grid;
  }

  .feature-grid,
  .service-grid,
  .inventory-grid,
  .filters {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(calc(100% - 1.25rem), var(--container));
  }

  h1 {
    font-size: 2.85rem;
  }

  h2 {
    font-size: 2.15rem;
  }

  .hero {
    padding-top: 2.75rem;
  }

  .hero-visual {
    min-height: 400px;
  }

  .truck-card {
    position: relative;
    top: auto;
    left: auto;
    margin: 1rem;
    width: auto;
  }

  .truck-silhouette {
    width: 98%;
    right: -0.2rem;
    bottom: 2.6rem;
    transform: scale(0.86);
    transform-origin: bottom right;
  }

  .button,
  .header-cta {
    width: 100%;
  }

  .hero-actions {
    display: grid;
  }
}
