/* Freightliner Guy — Draft v1
   Brand: black / navy / metallic silver. Bold. Mobile-first. */

:root {
  --black: #0a0a0b;
  --black-2: #12141a;
  --navy: #0b1e3d;
  --navy-2: #132a52;
  --navy-deep: #071428;
  --silver: #c8ced8;
  --silver-bright: #e8ecf2;
  --chrome: #9aa3b2;
  --accent: #d4a017;
  --accent-hot: #f0b429;
  --red-cta: #c41e1e;
  --red-cta-hot: #e02828;
  --text: #f2f4f7;
  --text-muted: #9aa3b2;
  --border: rgba(200, 206, 216, 0.14);
  --card: #151922;
  --radius: 10px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --font-display: "Oswald", "Arial Narrow", Impact, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --max: 1180px;
  --nav-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--black);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  border-radius: 6px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}

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

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: linear-gradient(180deg, var(--red-cta-hot), var(--red-cta));
  color: #fff;
  box-shadow: 0 8px 24px rgba(196, 30, 30, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 12px 28px rgba(196, 30, 30, 0.5);
}

.btn-secondary {
  background: linear-gradient(180deg, #2a3f66, var(--navy-2));
  border-color: rgba(200, 206, 216, 0.25);
  color: var(--silver-bright);
}

.btn-secondary:hover {
  border-color: var(--silver);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(200, 206, 216, 0.35);
  color: var(--silver-bright);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent-hot);
}

.btn-gold {
  background: linear-gradient(180deg, var(--accent-hot), var(--accent));
  color: #1a1200;
  box-shadow: 0 8px 24px rgba(212, 160, 23, 0.3);
}

.btn-sm {
  padding: 0.55rem 0.9rem;
  font-size: 0.8rem;
}

.btn-block {
  width: 100%;
}

/* —— Nav —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 11, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 1rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-logo img {
  height: 48px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav-links a {
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--silver);
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  transition: color 0.15s, background 0.15s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.nav-phone {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent-hot);
}

.nav-phone:hover {
  color: #fff;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  width: 42px;
  height: 42px;
  border-radius: 6px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--silver);
}

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

  .nav-links,
  .nav-cta .btn {
    display: none;
  }

  .nav.open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--black-2);
    border-bottom: 1px solid var(--border);
    padding: 1rem;
    gap: 0.25rem;
  }

  .nav.open .nav-cta .btn {
    display: inline-flex;
  }

  .nav.open .nav-cta {
    position: absolute;
    top: calc(var(--nav-h) + 220px);
    left: 0;
    right: 0;
    background: var(--black-2);
    padding: 0 1rem 1rem;
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
  }
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: clamp(560px, 78vh, 760px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(115deg, var(--navy-deep) 0%, var(--navy) 56%, #102b50 100%);
}

/* The hero uses a clean navy field; the logo is a separate, contained image. */
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 78% 48%, rgba(51, 102, 158, 0.28) 0%, transparent 46%),
    linear-gradient(115deg, rgba(7, 20, 40, 0.35) 0%, rgba(7, 20, 40, 0) 72%);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 40px,
      rgba(200, 206, 216, 0.015) 40px,
      rgba(200, 206, 216, 0.015) 41px
    );
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 1.05fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 4rem 0 5rem;
  max-width: 720px;
}

.hero-visual {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 2rem 0;
}

.hero-logo-frame {
  width: min(100%, 720px);
  display: block;
  padding: 0;
  border: none;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

.hero-logo {
  width: 100%;
  height: auto;
  max-height: none;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.55));
}


.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-hot);
  margin-bottom: 1rem;
}

.hero-eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--accent);
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0 0 1rem;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
}

.hero h1 span {
  display: block;
  color: var(--silver-bright);
  font-weight: 500;
  font-size: 0.55em;
  letter-spacing: 0.08em;
  margin-top: 0.35rem;
  opacity: 0.9;
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--silver);
  max-width: 34rem;
  margin: 0 0 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-badge {
  margin-top: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--silver);
}

.hero-badge strong {
  color: var(--accent-hot);
  font-family: var(--font-display);
  letter-spacing: 0.04em;
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hero-content {
    padding: 3.75rem 0 1.25rem;
  }

  .hero-visual {
    justify-content: center;
    padding: 0 0 3.5rem;
  }

  .hero-logo-frame {
    width: min(100%, 640px);
  }
}

@media (max-width: 520px) {
  .hero-content {
    padding-top: 3rem;
  }

  .hero-logo-frame {
    width: min(92%, 480px);
  }
}

/* —— Sections —— */
.section {
  padding: 4.5rem 0;
}

.section-header {
  margin-bottom: 2rem;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 0.5rem;
}

.section-header p {
  color: var(--text-muted);
  margin: 0;
  max-width: 36rem;
}

.section-label {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

/* —— Category cards —— */
.categories {
  background: linear-gradient(180deg, var(--black) 0%, var(--navy-deep) 100%);
  border-block: 1px solid var(--border);
}

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

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

@media (max-width: 1024px) {
  .cat-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .cat-grid,
  .cat-grid--4 {
    grid-template-columns: 1fr;
  }
}

.cat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 220px;
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.cat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, var(--navy-2) 0%, var(--black-2) 100%);
  opacity: 1;
  z-index: 0;
}

.cat-card::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 60%;
  height: 80%;
  background: radial-gradient(circle, rgba(212, 160, 23, 0.12), transparent 70%);
  z-index: 0;
}

.cat-card:hover {
  border-color: rgba(212, 160, 23, 0.45);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.cat-card > * {
  position: relative;
  z-index: 1;
}

.cat-card .tag {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-hot);
  margin-bottom: 0.5rem;
}

.cat-card h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 0.5rem;
}

.cat-card p {
  color: var(--text-muted);
  margin: 0 0 1rem;
  font-size: 0.95rem;
}

.cat-card .arrow {
  font-family: var(--font-display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--silver);
}

.cat-card:hover .arrow {
  color: var(--accent-hot);
}

/* —— Pitch / Trust —— */
.pitch {
  background: var(--black-2);
}

.pitch-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (max-width: 800px) {
  .pitch-grid {
    grid-template-columns: 1fr;
  }
}

.pitch-quote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  line-height: 1.25;
  letter-spacing: 0.02em;
  margin: 0 0 1rem;
  color: var(--silver-bright);
}

.pitch-quote em {
  font-style: normal;
  color: var(--accent-hot);
}

.pitch-body {
  color: var(--text-muted);
  margin: 0 0 1.25rem;
}

.pitch-sig {
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--silver);
  font-size: 0.9rem;
}

.trust-list {
  display: grid;
  gap: 1rem;
}

.trust-item {
  display: flex;
  gap: 1rem;
  padding: 1.1rem 1.2rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.trust-item .icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: linear-gradient(145deg, var(--navy-2), var(--navy));
  border: 1px solid rgba(200, 206, 216, 0.2);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
}

.trust-item h4 {
  font-family: var(--font-display);
  margin: 0 0 0.25rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 1rem;
}

.trust-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* —— Financing strip —— */
.financing-strip {
  background:
    linear-gradient(90deg, var(--navy-deep), var(--navy) 50%, var(--navy-deep)),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 80px,
      rgba(200, 206, 216, 0.03) 80px,
      rgba(200, 206, 216, 0.03) 81px
    );
  border-block: 1px solid rgba(212, 160, 23, 0.25);
  padding: 2.5rem 0;
}

.financing-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.financing-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0 0 0.35rem;
}

.financing-inner p {
  margin: 0;
  color: var(--silver);
}

.financing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* —— Inventory page —— */
.page-hero {
  padding: 3rem 0 2rem;
  background:
    linear-gradient(180deg, var(--navy-deep), var(--black));
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 0.5rem;
}

.page-hero p {
  color: var(--text-muted);
  margin: 0;
  max-width: 40rem;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.75rem 0 0;
}

.filter-chip {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--silver);
  transition: all 0.15s;
}

.filter-chip:hover,
.filter-chip.active {
  border-color: var(--accent);
  color: var(--accent-hot);
  background: rgba(212, 160, 23, 0.08);
}

.inventory-note {
  margin: 1.5rem 0 0;
  padding: 0.85rem 1.1rem;
  border-left: 3px solid var(--accent);
  background: rgba(212, 160, 23, 0.06);
  color: var(--silver);
  font-size: 0.9rem;
  border-radius: 0 6px 6px 0;
  line-height: 1.55;
}

.inventory-note a,
.inventory-phone {
  color: var(--accent-hot);
  text-decoration: underline;
  white-space: nowrap;
  font-weight: 700;
}

.truck-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.35rem;
}

.truck-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.truck-card:hover {
  border-color: rgba(200, 206, 216, 0.35);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.truck-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(145deg, #1a2740 0%, #0d1524 60%, #1c1f28 100%);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.truck-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 80%, rgba(212, 160, 23, 0.15), transparent 55%),
    repeating-linear-gradient(
      135deg,
      transparent,
      transparent 12px,
      rgba(255, 255, 255, 0.02) 12px,
      rgba(255, 255, 255, 0.02) 13px
    );
}

.truck-silhouette {
  position: relative;
  z-index: 1;
  font-size: 3.2rem;
  opacity: 0.85;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.5));
}

/* No-photo placeholder — real OEM logo + subtle silhouette */
.oem-placeholder {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 86%;
  max-width: 280px;
  padding: 0.5rem 0.75rem 0.75rem;
  pointer-events: none;
}

.oem-silhouette {
  position: absolute;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
  width: 92%;
  max-width: 260px;
  height: auto;
  opacity: 0.16;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.35));
  z-index: 0;
}

.oem-logo-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 220px;
  min-height: 52px;
  padding: 0.65rem 0.9rem;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(236, 240, 246, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.oem-logo {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 56px;
  height: auto;
  object-fit: contain;
}

.oem-placeholder-title {
  position: relative;
  z-index: 2;
  color: var(--accent-hot);
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 2.4vw, 1.25rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.15;
  max-width: 100%;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
}

.truck-media--placeholder,
.detail-media.truck-media--placeholder {
  background:
    linear-gradient(155deg, #132a52 0%, #0b1e3d 48%, #071428 100%);
}

.truck-media--placeholder::after {
  /* subtle gold hairline frame, not a badge */
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(212, 160, 23, 0.18);
  border-radius: 6px;
  pointer-events: none;
  z-index: 0;
}

.detail-media .oem-placeholder {
  max-width: 420px;
  width: 78%;
  gap: 0.85rem;
}

.detail-media .oem-silhouette {
  max-width: 400px;
  opacity: 0.14;
}

.detail-media .oem-logo-wrap {
  max-width: 320px;
  min-height: 72px;
  padding: 0.9rem 1.25rem;
}

.detail-media .oem-logo {
  max-height: 78px;
}

.detail-media .oem-placeholder-title {
  font-size: clamp(1.15rem, 2.8vw, 1.65rem);
}

/* Keep legacy .truck-silhouette class harmless if leftover */
.truck-silhouette:empty {
  display: none;
}


.truck-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  background: var(--navy);
  border: 1px solid rgba(200, 206, 216, 0.25);
  color: var(--silver-bright);
}

.truck-badge.used {
  background: #2a2110;
  border-color: rgba(212, 160, 23, 0.4);
  color: var(--accent-hot);
}

.truck-badge.dump {
  background: #2a1010;
  border-color: rgba(196, 30, 30, 0.45);
  color: #ff8a8a;
}

.truck-badge.new {
  background: #102a1a;
  border-color: rgba(60, 180, 110, 0.45);
  color: #7dffa8;
}

.truck-badge.coming {
  background: #1a2030;
  border-color: rgba(212, 160, 23, 0.65);
  color: var(--accent-hot);
  box-shadow: 0 0 0 1px rgba(212, 160, 23, 0.15);
}


.truck-badge.hold {
  background: #2a2110;
  border-color: rgba(240, 180, 41, 0.75);
  color: var(--accent-hot);
  box-shadow: 0 0 0 1px rgba(212, 160, 23, 0.2);
  font-weight: 700;
}

.truck-card--hold {
  opacity: 0.78;
  border-color: rgba(212, 160, 23, 0.28);
  background:
    linear-gradient(180deg, rgba(212, 160, 23, 0.03), transparent 45%),
    var(--card);
  filter: saturate(0.85);
}

.truck-card--hold:hover {
  opacity: 0.92;
  border-color: rgba(212, 160, 23, 0.45);
}

.truck-card--hold .truck-media {
  position: relative;
}

.truck-card--hold .truck-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(10, 14, 22, 0.28);
  pointer-events: none;
}

.truck-card--hold .truck-photo {
  filter: grayscale(0.25) brightness(0.92);
}

.hold-status {
  color: var(--accent-hot) !important;
  font-weight: 600;
}

.detail-media--hold {
  position: relative;
}

.detail-media--hold::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(10, 14, 22, 0.22);
  pointer-events: none;
  border-radius: inherit;
}

.detail-hold-note {
  margin: 0.5rem 0 0;
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-hot);
}


.truck-card--coming {
  border-style: dashed;
  border-color: rgba(212, 160, 23, 0.35);
  background:
    linear-gradient(180deg, rgba(212, 160, 23, 0.04), transparent 40%),
    var(--card);
}

.truck-card--coming:hover {
  border-color: rgba(212, 160, 23, 0.55);
  border-style: dashed;
}

.truck-card--coming .truck-media {
  background:
    linear-gradient(145deg, #1c2438 0%, #101820 60%, #1a1e28 100%);
}

.truck-card--coming .truck-media::after {
  content: "Photos soon";
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(212, 160, 23, 0.35);
  color: var(--silver-bright);
}

.truck-price--coming {
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: var(--accent-hot);
  text-transform: uppercase;
}

.coming-status {
  color: var(--accent-hot) !important;
  font-weight: 600;
}

.coming-soon-section {
  background: linear-gradient(180deg, rgba(212, 160, 23, 0.05), transparent 70%);
  border-block: 1px solid rgba(212, 160, 23, 0.18);
}

.coming-soon-section .section-label {
  color: var(--accent-hot);
}

.coming-soon-note {
  margin: 1.25rem 0 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.coming-soon-note a {
  color: var(--accent-hot);
  text-decoration: underline;
}

.cat-card--coming .tag {
  color: var(--accent-hot);
}

.cat-card--coming::after {
  background: radial-gradient(circle, rgba(212, 160, 23, 0.22), transparent 70%);
}

.detail-price--coming {
  color: var(--accent-hot);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 1.35rem;
}

.home-coming-grid {
  margin-top: 1.25rem;
}

.inventory-coming-section {
  padding-bottom: 0.5rem;
}

.truck-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.truck-media.has-photo::before,
.detail-media.has-photo::before {
  display: none;
}

.truck-media.has-photo .truck-silhouette,
.detail-media.has-photo .truck-silhouette {
  display: none;
}

.inventory-count {
  margin: 0.75rem 0 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.inventory-empty {
  margin-top: 1.5rem;
  text-align: center;
  color: var(--text-muted);
}

.inventory-empty[hidden] {
  display: none !important;
}

.home-featured-grid {
  margin-top: 1.25rem;
}


.truck-body {
  padding: 1.15rem 1.2rem 1.3rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.65rem;
}

.truck-body h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin: 0;
  line-height: 1.2;
}

.truck-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.truck-price {
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: 0.03em;
  color: var(--accent-hot);
  margin-top: auto;
}

.truck-price small {
  font-size: 0.7em;
  color: var(--text-muted);
  font-weight: 400;
  letter-spacing: 0;
}

.truck-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-top: 0.35rem;
}

/* —— Contact strip —— */
.contact-strip {
  background: var(--black-2);
  border-top: 1px solid var(--border);
}

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

@media (max-width: 700px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-card {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
}

.contact-card h3 {
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.5rem;
  font-size: 1rem;
  color: var(--accent-hot);
}

.contact-card p {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* —— Footer —— */
.site-footer {
  background: #06070a;
  border-top: 1px solid var(--border);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 700px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand img {
  height: 56px;
  width: auto;
  margin-bottom: 1rem;
  filter: brightness(1.05);
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0 0 1rem;
  max-width: 22rem;
}

.footer-brand .slogan {
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-hot);
  font-size: 0.95rem;
}

.footer-col h4 {
  font-family: var(--font-display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--silver);
  margin: 0 0 1rem;
}

.footer-col a {
  display: block;
  color: var(--text-muted);
  padding: 0.3rem 0;
  font-size: 0.95rem;
  transition: color 0.15s;
}

.footer-col a:hover {
  color: var(--accent-hot);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.85rem;
}

.socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--silver);
  font-size: 0.8rem;
  font-family: var(--font-display);
  letter-spacing: 0;
  transition: border-color 0.15s, color 0.15s;
}

.socials a:hover {
  border-color: var(--accent);
  color: var(--accent-hot);
}

.draft-banner {
  background: #2a2110;
  color: var(--accent-hot);
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.45rem;
  border-bottom: 1px solid rgba(212, 160, 23, 0.3);
}

/* Interest modal stub */
.modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-backdrop.open {
  display: flex;
}

.modal {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
  max-width: 420px;
  width: 100%;
  box-shadow: var(--shadow);
}

.modal h3 {
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 0.5rem;
}

.modal p {
  color: var(--text-muted);
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
}

.modal label {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 0.35rem;
}

.modal input,
.modal textarea {
  width: 100%;
  margin-bottom: 0.9rem;
  padding: 0.7rem 0.85rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--black);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
}

.modal input:focus,
.modal textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.modal-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.modal-note {
  margin-top: 0.85rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
}

.modal-fallbacks {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

.modal-status {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  padding: 0.65rem 0.75rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--black);
  color: var(--text);
}

.modal-status.is-ok {
  border-color: #2f6b3a;
  color: #b8e0c0;
}

.modal-status.is-err {
  border-color: #8a3030;
  color: #f0b0b0;
}

.modal-status.is-pending {
  border-color: var(--accent);
  color: var(--silver);
}

/* —— Truck detail —— */
.detail-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 800px) {
  .detail-layout {
    grid-template-columns: 1fr;
  }
}

.detail-media {
  position: relative;
  aspect-ratio: 16 / 11;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background:
    linear-gradient(145deg, #1a2740 0%, #0d1524 60%, #1c1f28 100%);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.detail-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 80%, rgba(212, 160, 23, 0.18), transparent 55%),
    repeating-linear-gradient(
      135deg,
      transparent,
      transparent 12px,
      rgba(255, 255, 255, 0.02) 12px,
      rgba(255, 255, 255, 0.02) 13px
    );
}

.detail-media .truck-silhouette {
  font-size: 5rem;
}

/* Truck detail gallery */
.detail-media.has-gallery {
  display: block;
  padding: 0;
}
.detail-media.has-gallery::before {
  display: none;
}
.truck-gallery {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 100%;
}
.truck-gallery[hidden] { display: none !important; }
.truck-gallery-viewport {
  width: 100%;
  height: 100%;
  overflow: hidden;
  outline: none;
  touch-action: pan-y;
}
.truck-gallery-track {
  display: flex;
  height: 100%;
  width: 100%;
  transition: transform 0.35s ease;
  will-change: transform;
}
.truck-gallery-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: #0d1524;
}
.truck-gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.truck-gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(10, 16, 28, 0.72);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s ease, background 0.2s ease;
}
.truck-gallery:hover .truck-gallery-btn,
.truck-gallery:focus-within .truck-gallery-btn,
.truck-gallery.gallery-nav-visible .truck-gallery-btn {
  opacity: 1;
}
.truck-gallery-prev { left: 0.6rem; }
.truck-gallery-next { right: 0.6rem; }
.truck-gallery-btn:hover {
  background: rgba(212, 160, 23, 0.9);
  border-color: var(--accent);
}
.truck-gallery-btn:focus-visible {
  opacity: 1;
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.truck-gallery-counter {
  position: absolute;
  right: 0.7rem;
  bottom: 0.7rem;
  z-index: 3;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(10, 16, 28, 0.78);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.truck-gallery-dots {
  position: absolute;
  left: 50%;
  bottom: 0.7rem;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 0.35rem;
  max-width: calc(100% - 6rem);
  overflow: hidden;
  padding: 0.2rem;
}
.truck-gallery-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  flex: 0 0 auto;
}
.truck-gallery-dot.is-active {
  background: var(--accent);
  width: 0.85rem;
}
.truck-gallery-dot:focus-visible {
  outline: 2px solid var(--accent);
}
.detail-media.has-gallery .truck-badge {
  z-index: 4;
}
@media (max-width: 800px) {
  .truck-gallery-btn { opacity: 1; }
}


.detail-panel h1 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin: 0.5rem 0 0.75rem;
  line-height: 1.1;
}

.detail-price {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--accent-hot);
  letter-spacing: 0.03em;
  margin: 0 0 1rem;
}

.detail-price small {
  font-size: 0.55em;
  color: var(--text-muted);
}

.detail-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin: 0 0 1.25rem;
}

.detail-specs li {
  padding: 0.65rem 0.85rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.9rem;
  color: var(--silver);
}

.detail-specs li strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
  font-weight: 500;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.5rem;
}

.detail-blurb {
  color: var(--text-muted);
  margin: 0 0 1.25rem;
  line-height: 1.6;
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: var(--silver);
}

.breadcrumb a:hover {
  color: var(--accent-hot);
}

.truck-card-link {
  color: inherit;
  display: block;
}

.truck-card-link:hover h3 {
  color: var(--accent-hot);
}

.truck-card h3 a {
  color: inherit;
}

.truck-card h3 a:hover {
  color: var(--accent-hot);
}

/* —— Reviews / Testimonials —— */
.reviews {
  background:
    linear-gradient(180deg, var(--black) 0%, var(--navy-deep) 40%, var(--black-2) 100%);
  border-block: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.reviews::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 50%;
  height: 60%;
  background: radial-gradient(circle, rgba(212, 160, 23, 0.08), transparent 65%);
  pointer-events: none;
}

.reviews-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
  position: relative;
}

.reviews-header .section-header {
  margin-bottom: 0;
}

.reviews-score {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.1rem;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.reviews-score .stars {
  color: var(--accent-hot);
  letter-spacing: 0.05em;
  font-size: 1rem;
}

.reviews-score strong {
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.carousel-wrap {
  position: relative;
}

.carousel-track {
  display: flex;
  gap: 1.15rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.35rem 0.15rem 1.25rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--navy-2) transparent;
}

.carousel-track::-webkit-scrollbar {
  height: 6px;
}

.carousel-track::-webkit-scrollbar-thumb {
  background: var(--navy-2);
  border-radius: 999px;
}

/* Review cards — large photo layouts */
.review-card {
  flex: 0 0 min(320px, 85vw);
  scroll-snap-align: start;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.3rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-height: 260px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  transition: border-color 0.2s, transform 0.2s;
}

.review-card:hover {
  border-color: rgba(212, 160, 23, 0.35);
  transform: translateY(-2px);
}

/* Text-only cards stay compact */
.review-card:not(.has-photos) {
  flex-basis: min(320px, 85vw);
}

/* Photo cards — large hero image on top */
.review-card.has-photos {
  flex: 0 0 min(420px, 90vw);
  padding: 0;
  overflow: hidden;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.review-card.has-photos.featured-wide {
  flex-basis: min(500px, 92vw);
}

.review-media {
  position: relative;
  background: var(--navy-deep);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.review-hero {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  width: 100%;
}

.review-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.review-card.has-photos:hover .review-hero img {
  transform: scale(1.03);
}

.review-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10, 10, 11, 0.55));
  pointer-events: none;
}

/* In-card multi-photo gallery */
.review-gallery {
  position: relative;
  width: 100%;
  outline: none;
  background: var(--navy-deep);
}

.review-gallery:focus-visible {
  box-shadow: inset 0 0 0 2px var(--accent);
}

.review-gallery-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  aspect-ratio: 16 / 10;
  width: 100%;
  touch-action: pan-x;
}

.review-gallery-viewport::-webkit-scrollbar {
  display: none;
}

.review-gallery-track {
  display: flex;
  height: 100%;
}

.review-gallery-slide {
  flex: 0 0 100%;
  margin: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.review-gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.review-gallery::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10, 10, 11, 0.5));
  pointer-events: none;
  z-index: 1;
}

.review-gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(10, 10, 11, 0.55);
  color: var(--silver-bright);
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s, background 0.15s, border-color 0.15s, color 0.15s;
  backdrop-filter: blur(4px);
}

.review-gallery:hover .review-gallery-btn,
.review-gallery:focus-within .review-gallery-btn,
.review-gallery.gallery-nav-visible .review-gallery-btn {
  opacity: 1;
}

.review-gallery-prev { left: 0.55rem; }
.review-gallery-next { right: 0.55rem; }

.review-gallery-btn:hover {
  border-color: var(--accent);
  color: var(--accent-hot);
  background: rgba(10, 10, 11, 0.75);
}

.review-gallery-btn:focus-visible {
  opacity: 1;
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.review-gallery-counter {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  z-index: 3;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #fff;
  background: rgba(10, 10, 11, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 0.22rem 0.55rem;
  backdrop-filter: blur(4px);
  pointer-events: none;
}

.review-gallery-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.55rem;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  pointer-events: none;
}

.review-gallery-dot {
  pointer-events: auto;
  width: 7px;
  height: 7px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}

.review-gallery-dot.is-active {
  background: var(--accent-hot);
  transform: scale(1.2);
}

.review-gallery-dot:hover {
  background: rgba(255, 255, 255, 0.75);
}

.review-gallery-dot:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Disable old hero zoom on gallery cards */
.review-card.has-photos:hover .review-gallery-slide img {
  transform: none;
}

.review-body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0;
  flex: 1;
}

.review-card.has-photos .review-body {
  padding: 1.15rem 1.25rem 1.2rem;
  justify-content: space-between;
}

.review-stars {
  color: var(--accent-hot);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
}

.review-quote {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--silver-bright);
  flex: 1;
}

.review-card.has-photos .review-quote {
  font-size: 0.94rem;
}

.review-quote::before {
  content: "“";
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 0;
  margin-right: 0.15rem;
}

.review-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.35rem;
  border-top: 1px solid var(--border);
}

.review-meta .who {
  font-family: var(--font-display);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.review-meta .when {
  color: var(--text-muted);
  font-size: 0.8rem;
  white-space: nowrap;
}

@media (max-width: 700px) {
  .review-card.has-photos,
  .review-card.has-photos.featured-wide {
    flex-basis: min(100%, 92vw);
  }

  .review-gallery-btn {
    opacity: 1;
    width: 32px;
    height: 32px;
  }
}

.carousel-nav {
  display: flex;
  gap: 0.5rem;
}

.carousel-nav button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.4);
  color: var(--silver-bright);
  cursor: pointer;
  font-size: 1.1rem;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.carousel-nav button:hover {
  border-color: var(--accent);
  color: var(--accent-hot);
  background: rgba(212, 160, 23, 0.08);
}

.reviews-attr {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

.reviews-attr a {
  color: var(--silver);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.reviews-attr a:hover {
  color: var(--accent-hot);
}

.reviews-cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Archive grid */
.reviews-archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}

.review-card.archive {
  flex: none;
  width: 100%;
  min-height: 0;
}

.review-card.archive.has-photos {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
}

.review-card.archive.has-photos .review-hero,
.review-card.archive.has-photos .review-gallery-viewport {
  aspect-ratio: 21 / 10;
  min-height: 260px;
}

.review-card.archive:not(.has-photos) {
  display: flex;
  flex-direction: column;
}

@media (max-width: 800px) {
  .review-card.archive.has-photos {
    grid-column: span 1;
  }

  .review-card.archive.has-photos .review-hero,
  .review-card.archive.has-photos .review-gallery-viewport {
    aspect-ratio: 16 / 10;
    min-height: 200px;
  }

  .reviews-archive-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1100px) {
  .reviews-archive-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .review-card.archive.has-photos {
    grid-column: span 2;
  }
}



/* —— Dedicated page layouts (financing / about / contact) —— */
.page-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 900px) {
  .page-layout {
    grid-template-columns: 1fr;
  }
}

.page-prose h2 {
  font-family: var(--font-display);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  margin: 0 0 0.75rem;
}

.page-prose h3 {
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 1.05rem;
  color: var(--accent-hot);
  margin: 1.75rem 0 0.5rem;
}

.page-prose p {
  color: var(--text-muted);
  margin: 0 0 1rem;
  line-height: 1.65;
  max-width: 40rem;
}

.page-prose ul {
  margin: 0 0 1.25rem;
  padding-left: 1.2rem;
  color: var(--text-muted);
  max-width: 40rem;
}

.page-prose li {
  margin-bottom: 0.45rem;
  line-height: 1.55;
}

.page-prose .lead {
  color: var(--silver);
  font-size: 1.05rem;
}

.page-prose .slogan-inline {
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-hot);
}

.std-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.5rem;
  display: grid;
  gap: 0.85rem;
}

.std-list li {
  padding: 1rem 1.15rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  margin: 0;
}

.std-list strong {
  display: block;
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
}

.form-panel {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
}

.form-panel h2,
.form-panel h3 {
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}

.form-panel > p {
  color: var(--text-muted);
  margin: 0 0 1.15rem;
  font-size: 0.95rem;
}

.credit-pull-notice {
  margin: 0 0 1.15rem !important;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(212, 160, 23, 0.35);
  border-left: 3px solid var(--accent);
  background: rgba(212, 160, 23, 0.08);
  color: var(--silver-bright) !important;
  font-size: 0.88rem !important;
  line-height: 1.45;
}

.credit-pull-notice strong {
  display: block;
  color: var(--accent-hot);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
  font-weight: 600;
}

.apply-next-note {
  margin: -0.35rem 0 1rem !important;
  color: var(--silver-bright) !important;
  font-size: 0.9rem !important;
  line-height: 1.4;
}

.form-panel label {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 0.35rem;
}

.form-panel input,
.form-panel textarea {
  width: 100%;
  margin-bottom: 0.9rem;
  padding: 0.7rem 0.85rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--black);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
}

.form-panel input:focus,
.form-panel textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-panel .modal-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.form-panel .modal-note {
  margin-top: 0.85rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
}

.ghl-embed {
  width: 100%;
  min-height: 720px;
  border: 0;
  border-radius: 8px;
  background: #fff;
}

.ghl-note {
  margin-top: 0.85rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.ghl-note a {
  color: var(--accent-hot);
  text-decoration: underline;
}

.cta-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.25rem 0 0;
}

.about-aside {
  display: grid;
  gap: 1.25rem;
}

.aside-card {
  padding: 1.35rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
}

.aside-card h3 {
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  color: var(--accent-hot);
}

.aside-card p {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.aside-card p:last-child {
  margin-bottom: 0;
}

.financing-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.5rem 0 0;
}

@media (max-width: 700px) {
  .financing-steps {
    grid-template-columns: 1fr;
  }
}

.financing-step {
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
}

.financing-step .step-num {
  font-family: var(--font-display);
  color: var(--accent-hot);
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  margin-bottom: 0.35rem;
}

.financing-step h3 {
  font-family: var(--font-display);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 1rem;
  margin: 0 0 0.4rem;
}

.financing-step p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.contact-hours {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.65rem 1rem;
  border-left: 3px solid var(--accent);
  background: rgba(212, 160, 23, 0.06);
  color: var(--silver);
  font-size: 0.95rem;
  border-radius: 0 6px 6px 0;
}

/* --- Inventory click cues --- */
.truck-media-cue {
  position: absolute;
  right: 0.65rem;
  bottom: 0.65rem;
  z-index: 2;
  padding: 0.28rem 0.55rem;
  border-radius: 4px;
  background: rgba(7, 20, 40, 0.78);
  border: 1px solid rgba(212, 160, 23, 0.35);
  color: var(--silver-bright);
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  pointer-events: none;
  opacity: 0.92;
}

.truck-card:hover .truck-media-cue,
.truck-card:focus-within .truck-media-cue {
  border-color: rgba(212, 160, 23, 0.7);
  color: #fff;
}

.truck-view-cue {
  margin: 0.15rem 0 0.55rem;
  font-size: 0.92rem;
}

.truck-view-cue a {
  color: var(--accent-hot);
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.truck-view-cue a:hover {
  text-decoration: underline;
}

.truck-details-btn {
  order: -1;
}

/* --- Detail page OEM brand badge (all trucks) --- */
.detail-brand-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-bottom: 0.35rem;
}

.detail-brand-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 168px;
  min-height: 40px;
  padding: 0.4rem 0.65rem;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(236, 240, 246, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28);
}

.detail-brand-logo {
  display: block;
  width: auto;
  max-width: 148px;
  max-height: 44px;
  height: auto;
  object-fit: contain;
}

.detail-brand-row .section-label {
  margin: 0;
}

/* --- Share row --- */
.detail-share {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(200, 206, 216, 0.14);
}

.detail-share-label {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--silver);
}

.detail-share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.detail-share-actions .btn {
  text-decoration: none;
}

.detail-share-note {
  margin: 0.55rem 0 0;
  color: var(--accent-hot);
  font-size: 0.88rem;
}

@media (max-width: 640px) {
  .truck-media-cue {
    font-size: 0.62rem;
    padding: 0.22rem 0.45rem;
  }
  .detail-brand-logo-wrap {
    max-width: 140px;
  }
  .detail-brand-logo {
    max-height: 38px;
  }
}

/* oem-logo-share-cue-deploy 2026-09-28 */


/* —— Hero merch callout —— */
.hero-merch {
  margin-top: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  max-width: 100%;
  padding: 0.55rem 0.85rem 0.55rem 0.55rem;
  border-radius: 14px;
  border: 1px solid rgba(212, 160, 23, 0.35);
  background: linear-gradient(135deg, rgba(19, 42, 82, 0.85), rgba(10, 10, 11, 0.9));
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.hero-merch:hover {
  border-color: rgba(240, 180, 41, 0.7);
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
}

.hero-merch img {
  width: 128px;
  height: 128px;
  object-fit: contain;
  border-radius: 12px;
  background: #f4f4f2;
  flex-shrink: 0;
}

.hero-merch-copy {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  min-width: 0;
}

.hero-merch-tag {
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-hot);
}

.hero-merch-copy strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--silver-bright);
  line-height: 1.15;
}

.hero-merch-meta {
  font-size: 0.88rem;
  color: var(--silver);
}

.hero-merch-cta {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 0.15rem;
}

.hero-merch:hover .hero-merch-cta {
  color: var(--accent-hot);
}

/* —— Merch / Gear section —— */
.merch-section {
  background: linear-gradient(180deg, var(--navy-deep) 0%, var(--black) 100%);
  border-block: 1px solid var(--border);
}

.merch-featured {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 1.5rem;
  padding: 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.merch-featured:hover {
  border-color: rgba(212, 160, 23, 0.45);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.merch-featured-media {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  background: #f5f5f3;
  overflow: hidden;
  min-height: 220px;
}

.merch-featured-media img {
  width: auto;
  max-width: 88%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  display: block;
  filter: none;
}

.merch-featured-body {
  padding: 0.35rem 0.5rem 0.35rem 0;
}

.merch-featured-body .tag {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-hot);
  margin-bottom: 0.45rem;
  display: inline-block;
}

.merch-featured-body h3 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 0.55rem;
  line-height: 1.05;
}

.merch-title {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0 0 0.85rem;
  max-width: 34rem;
}

.merch-price {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  color: var(--accent-hot);
  margin: 0 0 0.85rem;
}

.merch-featured .arrow,
.merch-card .arrow {
  font-family: var(--font-display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--silver);
}

.merch-featured:hover .arrow,
.merch-card:hover .arrow {
  color: var(--accent-hot);
}

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

.merch-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.merch-card:hover {
  border-color: rgba(212, 160, 23, 0.4);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.merch-card-media {
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  background: #f5f5f3;
  padding: 1rem;
  min-height: 180px;
}

.merch-card-media img {
  width: auto;
  max-width: 90%;
  height: auto;
  max-height: 90%;
  object-fit: contain;
  display: block;
  filter: none;
}

.merch-card-body {
  padding: 1rem 1.1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}

.merch-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0;
  line-height: 1.15;
}

.merch-card-body .merch-price {
  font-size: 1.1rem;
  margin: 0.15rem 0 0.45rem;
}

.merch-footer {
  margin-top: 1.75rem;
  text-align: center;
}

@media (max-width: 900px) {
  .merch-featured {
    grid-template-columns: 1fr;
  }

  .merch-featured-body {
    padding: 0;
  }

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

@media (max-width: 520px) {
  .hero-merch {
    width: 100%;
  }

  .hero-merch img {
    width: 96px;
    height: 96px;
  }
}

/* merch-dtp-hats 2026-09-28 */

/* merch-img-force 2026-09-28 */

.merch-featured-media img,
.merch-card-media img,
.hero-merch img {
  opacity: 1 !important;
  visibility: visible !important;
  max-width: 100%;
}
.merch-featured-media,
.merch-card-media {
  background: #f5f5f3 !important;
  min-height: 200px;
}
.merch-featured-media img {
  width: 100% !important;
  max-width: 420px !important;
  height: auto !important;
  max-height: none !important;
}
.merch-card-media img {
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
}


/* merch-visible-force */
.merch-featured-media img, .merch-card-media img, .hero-merch img {
  opacity: 1 !important; visibility: visible !important;
  display: block !important;
  width: 100% !important; height: auto !important; max-height: none !important;
  object-fit: contain !important;
}
.hero-merch img { width: 128px !important; height: 128px !important; }
.merch-featured-media, .merch-card-media { background: #f5f5f3 !important; min-height: 200px !important; }

/* hero-split-pro 2026-09-28 */
.hero.hero--split {
  position: relative;
  min-height: clamp(560px, 78vh, 780px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(115deg, #06101f 0%, #0a1f3d 52%, #102b50 100%);
}
.hero.hero--split .hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 82% 45%, rgba(51, 102, 158, 0.32) 0%, transparent 52%),
    linear-gradient(90deg, rgba(6, 16, 31, 0.25) 0%, transparent 55%);
}
.hero.hero--split .hero-bg::after { display: none; }
.hero.hero--split .hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 1fr);
  align-items: center;
  gap: clamp(1.75rem, 5vw, 4rem);
}
.hero.hero--split .hero-content {
  max-width: 36rem;
  padding: 4rem 0 4.5rem;
}
.hero.hero--split .hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 0;
}
.hero.hero--split .hero-logo {
  width: min(100%, 680px);
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 22px 44px rgba(0, 0, 0, 0.55));
}
.hero.hero--split .hero-banner-stage,
.hero.hero--split .hero-content-bar,
.hero.hero--split .hero-aside { display: none !important; }
@media (max-width: 900px) {
  .hero.hero--split { min-height: auto; }
  .hero.hero--split .hero-layout {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .hero.hero--split .hero-content { padding: 3.25rem 0 1rem; max-width: 40rem; }
  .hero.hero--split .hero-visual { order: -1; padding: 2.5rem 0 0; }
  .hero.hero--split .hero-logo { width: min(88%, 460px); }
}
@media (max-width: 520px) {
  .hero.hero--split .hero-content { padding: 2.5rem 0 2rem; }
  .hero.hero--split .hero-logo { width: min(92%, 380px); }
}

/* hat-cdn-visible */
.merch-featured-media, .merch-card-media { background:#f5f5f3!important; min-height:220px!important; overflow:hidden; }
.merch-featured-media img, .merch-card-media img, .hero-merch img {
  opacity:1!important; visibility:visible!important; display:block!important;
  object-fit:cover!important; object-position:center center!important;
}
.merch-featured-media { aspect-ratio: 1 / 1; max-width: 420px; }
.merch-featured-media img { width:100%!important; height:100%!important; min-height:320px!important; max-height:none!important; object-fit:cover!important; object-position:center center!important; transform:scale(1.18); }
.merch-card-media img { width:100%!important; height:100%!important; min-height:200px!important; max-height:none!important; transform:scale(1.08); }
.hero-merch img { width:128px!important; height:128px!important; object-fit:cover!important; transform:scale(1.15); }

/* featured-hat-crop-strong */
.merch-featured-media{aspect-ratio:1/1;overflow:hidden;}
.merch-featured-media img{transform:scale(1.18)!important;object-fit:cover!important;object-position:center!important;width:100%!important;height:100%!important;}
