/* ============================================================================
   PATRIOT HAULS DEALER TEMPLATE — STYLES  (Program B: sales + rentals)
   A productized sibling to simpson-trailer-rental. Same TOKEN ARCHITECTURE
   (:root vars, --head/--body fonts, main.js/site.js class names) but a
   purpose-built LIGHT INDUSTRIAL DEALER look: off-white ground, bold
   condensed display type, squared low-radius inventory cards, dark neutral
   base + ONE saturated accent = the operator's own brand color (config.theme).

   Reskins per dealer from config.js: --primary/--accent/--text/--muted are
   set by main.js/site.js at runtime; everything else derives from these +
   the neutral scale below. Design decoded from vistotrailers / grandvilletrailer
   / mgtrailer (Amanda's references, 2026-09-04).
============================================================================ */

:root {
  /* Brand — overridden per operator by main.js/site.js from config.theme */
  --primary:   #16324f;   /* dark neutral base (headings, header, footer) */
  --accent:    #DC241C;   /* the operator's saturated brand color (PH red) */
  --accent-dark:#A3160F;  /* darker accent for hover / pressed states      */
  --accent-ink:#ffffff;   /* text that sits ON the accent                 */

  /* Neutral ground (light industrial) */
  --bg:        #f4f2ee;   /* off-white page ground   */
  --surface:   #ffffff;   /* cards / panels          */
  --surface-2: #ece9e3;   /* insets / rails / filters*/
  --ink:       #14181d;   /* darkest ink             */
  --text:      #1b2027;   /* body text               */
  --muted:     #5c6672;   /* secondary text          */
  --line:      #d9d5cd;   /* hairline borders        */
  --line-2:    #c7c2b8;   /* stronger borders        */

  /* Semantic */
  --new:       #1f7a4d;   /* "New" condition badge   */
  --preowned:  #7a5a1f;   /* "Pre-Owned" badge       */
  --save:      #c22f1a;   /* savings / sale red      */

  --radius:    6px;       /* squared, low-radius cards */
  --radius-lg: 10px;
  --maxw:      1240px;
  --head:      "Barlow Condensed", "Arial Narrow", sans-serif;
  --body:      "Barlow", system-ui, -apple-system, sans-serif;
  --shadow:    0 10px 30px rgba(20,24,29,.10);
  --shadow-lg: 0 24px 60px rgba(20,24,29,.18);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  font-family: var(--body); background: var(--bg); color: var(--text);
  line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 26px; }
.center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
[hidden] { display: none !important; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--head); font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  font-size: 15px; padding: 13px 26px; border-radius: var(--radius); border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .15s, background .15s, color .15s, border-color .15s;
  white-space: nowrap; line-height: 1;
}
.btn:hover { transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 20px rgba(0,0,0,.14); }
.btn-accent:hover { background: var(--accent-dark); box-shadow: 0 12px 26px rgba(0,0,0,.2); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { filter: brightness(1.12); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--line-2); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-light { background: #fff; color: var(--primary); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-outline-light:hover { background: rgba(255,255,255,.14); }
.btn-sm { padding: 10px 18px; font-size: 13.5px; }
.btn-lg { padding: 16px 32px; font-size: 17px; }
.btn-block { width: 100%; }

/* ---- Header ---- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; padding: 13px 0;
  transition: background .25s, box-shadow .25s, padding .25s;
  background: var(--primary);
}
.site-header.scrolled { padding: 8px 0; box-shadow: 0 6px 24px rgba(0,0,0,.22); }
/* Transparent-over-hero variant on pages that opt in */
body:has(.hero-media) .site-header:not(.scrolled) { background: linear-gradient(180deg, rgba(10,14,20,.72), rgba(10,14,20,0)); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 22px; }
/* Brand lockup — the dark-header logo variant (assets/logo-demo-system-dark.png)
   has a WHITE wordmark + red rule + WHITE brush script, so the whole lockup reads
   directly on the dark teal header / ink footer. No plate/box behind it — the logo
   sits straight on the header. logoText badge fallback keeps the old inline
   treatment when no logoImage is set. */
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--head); font-weight: 800; font-size: 23px; letter-spacing: .01em; color: #fff; text-transform: uppercase; }
.brand .logo-badge {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: var(--radius);
  background: var(--accent); color: var(--accent-ink); font-size: 15px; font-weight: 800;
}
.brand img { height: 54px; width: auto; }
.nav-desktop { display: flex; align-items: center; gap: 30px; margin-left: auto; margin-right: 30px; }
.nav-desktop > a, .nav-group-btn { font-family: var(--head); font-weight: 600; font-size: 16.5px; letter-spacing: .04em; text-transform: uppercase; color: rgba(255,255,255,.86); transition: color .15s; position: relative; white-space: nowrap; }
.nav-desktop > a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 3px; background: var(--accent); transition: width .2s; }
.nav-desktop > a:hover, .nav-desktop > a.active { color: #fff; }
.nav-desktop > a:hover::after, .nav-desktop > a.active::after { width: 100%; }

/* Rentals ▾ dropdown — CSS-only (Henry strips site JS; opens on hover + focus). */
.nav-group { position: relative; display: inline-flex; align-items: center; }
.nav-group-btn { background: none; border: none; cursor: pointer; padding: 0; display: inline-flex; align-items: center; gap: 6px; line-height: 1; }
.nav-group-btn .nav-caret { font-size: 12px; transition: transform .2s ease; }
.nav-group:hover .nav-group-btn, .nav-group:focus-within .nav-group-btn, .nav-group-btn.active { color: #fff; }
.nav-group:hover .nav-caret, .nav-group:focus-within .nav-caret { transform: rotate(180deg); }
/* invisible hover bridge so the pointer can cross the gap to the menu */
.nav-group::after { content: ""; position: absolute; left: -24px; right: -24px; top: 100%; height: 20px; }
.nav-group-menu {
  position: absolute; top: calc(100% + 16px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 216px; background: #0e2530; border: 1px solid rgba(255,255,255,.12); border-radius: 12px;
  padding: 9px; box-shadow: 0 22px 50px rgba(0,0,0,.42); z-index: 130;
  opacity: 0; visibility: hidden; transition: opacity .18s ease, transform .18s ease;
}
.nav-group:hover .nav-group-menu, .nav-group:focus-within .nav-group-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-group-menu a { display: block; padding: 11px 15px; border-radius: 8px; font-family: var(--head); font-weight: 600; font-size: 15px; letter-spacing: .03em; text-transform: uppercase; color: rgba(255,255,255,.86); white-space: nowrap; transition: background .15s, color .15s; }
.nav-group-menu a:hover, .nav-group-menu a.active { background: rgba(255,255,255,.08); color: #fff; }

.header-cta { display: flex; align-items: center; gap: 16px; }
.header-phone { font-family: var(--head); font-weight: 700; font-size: 18px; color: #fff; white-space: nowrap; }
.header-phone:hover { color: var(--accent); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 3px; background: #fff; border-radius: 2px; transition: .25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.nav-mobile { display: none; flex-direction: column; gap: 2px; margin: 0 14px; padding: 12px 18px 18px; background: var(--primary); border-top: 1px solid rgba(255,255,255,.14); }
.nav-mobile.open { display: flex; }
.nav-mobile a { font-family: var(--head); font-weight: 600; font-size: 18px; text-transform: uppercase; letter-spacing: .04em; color: rgba(255,255,255,.9); padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.nav-mobile .btn { margin-top: 12px; border-bottom: none; }

/* ---- Section shell ---- */
.section { padding: 84px 0; }
.section.tight { padding: 56px 0; }
.section-alt { background: var(--surface-2); }
.section-head { display: grid; grid-template-columns: 1fr .82fr; gap: 30px; align-items: end; margin-bottom: 40px; }
.section-eyebrow { font-family: var(--head); font-weight: 700; letter-spacing: .18em; text-transform: uppercase; font-size: 13.5px; color: var(--accent); margin-bottom: 10px; }
.section-eyebrow.center { text-align: center; }
.section-title { font-family: var(--head); font-weight: 800; text-transform: uppercase; line-height: .98; font-size: clamp(32px, 4.6vw, 56px); letter-spacing: -.01em; color: var(--primary); }
.section-title.center { text-align: center; }
.section-title .hi { color: var(--accent); }
.section-lead { color: var(--muted); font-size: 17px; max-width: 480px; }
.section-lead.center { text-align: center; max-width: 620px; margin: 0 auto 46px; }

/* ============================================================================
   HERO — video-capable, full-bleed with left->right gradient
============================================================================ */
.hero { position: relative; min-height: 640px; display: flex; align-items: flex-end; overflow: hidden; background: var(--ink); }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,14,20,.9) 0%, rgba(10,14,20,.72) 42%, rgba(10,14,20,.25) 100%);
}
.hero-inner { position: relative; z-index: 2; width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 150px 26px 64px; }
.hero-copy { max-width: 720px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--head); font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; font-size: 13.5px; color: #fff;
  background: var(--accent); border-radius: var(--radius); padding: 7px 15px; margin-bottom: 22px;
}
.eyebrow.ghost { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3); }
.hero-title { font-family: var(--head); font-weight: 900; line-height: .9; letter-spacing: -.015em; font-size: clamp(48px, 7vw, 96px); text-transform: uppercase; color: #fff; margin-bottom: 20px; }
.hero-title .hi { color: var(--accent); display: block; }
.hero-sub { font-size: clamp(16px, 1.5vw, 20px); color: #dfe3e8; max-width: 560px; margin-bottom: 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 13px; margin-bottom: 26px; }
.hero-trust { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; color: #c9ced6; font-size: 14.5px; }
.hero-trust .stars { color: #ffc63b; letter-spacing: 2px; }
.hero-trust strong { color: #fff; font-family: var(--head); font-size: 17px; }
.hero-trust .dot-sep { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.4); }
.hero-trust .live { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust .live .pulse { width: 9px; height: 9px; border-radius: 50%; background: #34d058; animation: pulse 2s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(52,208,88,.55)} 70%{box-shadow:0 0 0 9px rgba(52,208,88,0)} 100%{box-shadow:0 0 0 0 rgba(52,208,88,0)} }

/* Hero stats band */
.hero-stats-band { background: var(--primary); }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.hero-stats .stat { padding: 24px 10px; text-align: center; border-right: 1px solid rgba(255,255,255,.12); }
.hero-stats .stat:last-child { border-right: none; }
.hero-stats .num { font-family: var(--head); font-weight: 900; font-size: clamp(28px, 3.6vw, 42px); line-height: 1; color: #fff; }
.hero-stats .num.grad { color: var(--accent); }
.hero-stats .lbl { font-size: 12.5px; color: rgba(255,255,255,.66); text-transform: uppercase; letter-spacing: .1em; margin-top: 6px; }

/* ---- Compact page hero (inner pages) ---- */
.page-hero { position: relative; background: var(--primary); color: #fff; padding: 132px 0 46px; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 46px 46px; mask-image: radial-gradient(circle at 78% 20%, #000, transparent 72%); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero .eyebrow { margin-bottom: 16px; }
.page-hero h1 { font-family: var(--head); font-weight: 900; text-transform: uppercase; font-size: clamp(38px, 5.4vw, 66px); line-height: .95; letter-spacing: -.01em; }
.page-hero p { color: #dfe3e8; max-width: 620px; margin-top: 14px; font-size: 17.5px; }
.crumbs { font-family: var(--head); text-transform: uppercase; letter-spacing: .06em; font-size: 13px; color: rgba(255,255,255,.6); margin-bottom: 14px; }
.crumbs a:hover { color: #fff; }

/* ---- Marquee (brand strip) ---- */
.marquee { background: var(--accent); color: var(--accent-ink); overflow: hidden; padding: 12px 0; }
.marquee-track { display: flex; white-space: nowrap; width: max-content; animation: scroll-x 34s linear infinite; }
.marquee-track span { font-family: var(--head); font-weight: 700; font-size: 17px; text-transform: uppercase; letter-spacing: .06em; padding: 0 26px; }
.marquee-track span::after { content: "◆"; margin-left: 26px; opacity: .55; }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ============================================================================
   INVENTORY GRID + CARDS (shared by rentals #fleetGrid and sales #salesGrid)
============================================================================ */
.filter-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.filter-tabs button {
  font-family: var(--head); font-weight: 600; font-size: 15px; letter-spacing: .04em; text-transform: uppercase;
  padding: 10px 18px; border-radius: var(--radius); border: 2px solid var(--line-2); background: var(--surface);
  color: var(--primary); cursor: pointer; transition: .15s;
}
.filter-tabs button:hover { border-color: var(--accent); color: var(--accent); }
.filter-tabs button.active { background: var(--primary); border-color: var(--primary); color: #fff; }

.fleet-grid, .sales-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.trailer-card, .unit-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column; transition: transform .18s, box-shadow .18s, border-color .18s;
}
.trailer-card:hover, .unit-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--line-2); }
.trailer-media, .unit-media { position: relative; aspect-ratio: 4/3; background: var(--surface-2); overflow: hidden; }
.trailer-media img, .unit-media img { width: 100%; height: 100%; object-fit: cover; }
.unit-media.no-photo { display: grid; place-items: center; }
.unit-media .no-photo-mark { font-family: var(--head); text-transform: uppercase; letter-spacing: .12em; font-size: 13px; color: var(--muted); }

.trailer-price-tag { position: absolute; top: 12px; right: 12px; background: var(--primary); color: #fff; font-family: var(--head); font-weight: 700; font-size: 13.5px; padding: 5px 11px; border-radius: var(--radius); }
.trailer-cat-chip, .unit-cat-chip { position: absolute; bottom: 12px; left: 12px; background: rgba(255,255,255,.94); color: var(--primary); font-family: var(--head); font-weight: 600; font-size: 12px; letter-spacing: .05em; text-transform: uppercase; padding: 5px 10px; border-radius: var(--radius); }

.trailer-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.trailer-body h3 { font-family: var(--head); font-weight: 700; font-size: 21px; line-height: 1.05; color: var(--primary); margin-bottom: auto; text-transform: uppercase; }
.trailer-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: 14px; }
.trailer-foot .price .amt { font-family: var(--head); font-weight: 900; font-size: 30px; line-height: .9; color: var(--primary); }
.trailer-foot .price .per { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }

/* ---- Sales card specifics ---- */
.unit-badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; z-index: 2; }
.badge { font-family: var(--head); font-weight: 700; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; padding: 4px 9px; border-radius: var(--radius); color: #fff; }
.badge-new { background: var(--new); }
.badge-preowned { background: var(--preowned); }
.badge-featured { background: var(--accent); }
.unit-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.unit-eyebrow { font-family: var(--head); text-transform: uppercase; letter-spacing: .06em; font-size: 12.5px; color: var(--muted); margin-bottom: 3px; }
.unit-body h3 { font-family: var(--head); font-weight: 700; font-size: 20px; line-height: 1.05; color: var(--primary); text-transform: uppercase; }
.unit-stock { font-size: 12.5px; color: var(--muted); margin-top: 4px; letter-spacing: .02em; }
.unit-specline { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 12px 0 14px; font-size: 13px; color: var(--text); }
.unit-specline span { position: relative; padding-left: 12px; }
.unit-specline span::before { content: ""; position: absolute; left: 0; top: 7px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.unit-price { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.unit-msrp { font-size: 13px; color: var(--muted); text-decoration: line-through; }
.unit-save { font-family: var(--head); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--save); margin-left: 8px; }
.unit-sale { display: flex; align-items: baseline; gap: 8px; margin-top: 2px; }
.unit-sale .amt { font-family: var(--head); font-weight: 900; font-size: 30px; line-height: .9; color: var(--primary); }
.unit-sale .lbl { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.unit-callprice { font-family: var(--head); font-weight: 800; font-size: 22px; color: var(--primary); text-transform: uppercase; }
.unit-actions { display: flex; gap: 8px; margin-top: 14px; }
.unit-actions .btn { flex: 1; }

/* Faceted filter bar (sales) */
.sales-toolbar { display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 12px; align-items: end; margin-bottom: 12px; }
.facet { display: flex; flex-direction: column; gap: 5px; }
.facet label { font-family: var(--head); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; font-size: 12px; color: var(--muted); }
.facet select { font-family: var(--body); font-size: 15px; padding: 11px 12px; border-radius: var(--radius); border: 2px solid var(--line-2); background: var(--surface); color: var(--text); cursor: pointer; }
.facet select:focus { outline: none; border-color: var(--accent); }
.sales-count { font-family: var(--head); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-size: 14px; padding-bottom: 12px; white-space: nowrap; }
.sales-count b { color: var(--primary); }
.sales-reset { align-self: end; }
.sales-empty { grid-column: 1/-1; text-align: center; padding: 48px 0; color: var(--muted); }

/* ---- Sales detail modal ---- */
.unit-modal, .modal { position: fixed; inset: 0; z-index: 200; display: none; }
.unit-modal.open, .modal.open { display: block; }
.unit-modal .backdrop, .modal-backdrop { position: absolute; inset: 0; background: rgba(10,14,20,.6); backdrop-filter: blur(3px); }
.unit-modal .sheet {
  position: relative; z-index: 2; background: var(--surface); max-width: 960px; width: calc(100% - 40px);
  margin: 48px auto; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  max-height: calc(100vh - 96px); display: flex; flex-direction: column;
}
.unit-modal .sheet-scroll { overflow-y: auto; }
.unit-modal .sheet-close { position: absolute; top: 12px; right: 12px; z-index: 5; width: 40px; height: 40px; border-radius: var(--radius); border: none; background: rgba(255,255,255,.92); color: var(--primary); font-size: 22px; cursor: pointer; line-height: 1; }
.unit-gallery { background: var(--ink); }
.unit-gallery img, .unit-gallery video { width: 100%; max-height: 460px; object-fit: contain; background: var(--ink); }
.unit-thumbs { display: flex; gap: 8px; padding: 10px 20px; overflow-x: auto; background: var(--surface-2); }
.unit-thumbs img { width: 82px; height: 62px; object-fit: cover; border-radius: var(--radius); border: 2px solid transparent; cursor: pointer; flex: 0 0 auto; }
.unit-thumbs img.active { border-color: var(--accent); }
.detail-body { padding: 24px 28px 28px; }
.detail-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.detail-head h2 { font-family: var(--head); font-weight: 800; text-transform: uppercase; font-size: clamp(26px, 3.4vw, 38px); line-height: 1; color: var(--primary); }
.detail-head .unit-stock { margin-top: 6px; }
.detail-price { text-align: right; }
.detail-price .unit-msrp { display: block; }
.detail-price .amt { font-family: var(--head); font-weight: 900; font-size: 40px; line-height: .9; color: var(--primary); }
.detail-desc { color: var(--text); margin: 6px 0 20px; white-space: pre-line; }
.spec-table { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 26px; margin-bottom: 22px; }
.spec-table .row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.spec-table .row .k { color: var(--muted); font-size: 14px; }
.spec-table .row .v { font-family: var(--head); font-weight: 600; color: var(--primary); font-size: 15px; }
.options-sheet { background: var(--surface-2); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 22px; }
.options-sheet h4 { font-family: var(--head); text-transform: uppercase; letter-spacing: .05em; color: var(--primary); margin-bottom: 10px; }
.options-sheet ul { display: grid; gap: 6px; }
.options-sheet li { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.options-sheet .opt-disc { font-family: var(--head); color: var(--save); font-weight: 700; margin-top: 10px; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.detail-actions .btn { flex: 1 1 200px; }

/* ---- Per-unit DETAIL PAGE (trailer-detail.html) — gallery left, info right ---- */
.unit-detail { min-height: 40vh; }
.unit-detail-wrap { display: grid; grid-template-columns: 1.12fr .88fr; gap: 34px; align-items: start; }
.unit-detail-gallery { position: sticky; top: 96px; }
.unit-detail-gallery .unit-gallery { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.unit-detail-gallery .unit-gallery img, .unit-detail-gallery .unit-gallery video { max-height: 520px; }
.unit-detail-gallery .unit-thumbs { padding: 10px 0 0; background: transparent; }
.unit-detail-info .crumbs { margin-bottom: 14px; }
.unit-detail-info h1 { font-family: var(--head); font-weight: 800; text-transform: uppercase; font-size: clamp(28px, 3.6vw, 42px); line-height: 1; color: var(--primary); }
.detail-state { padding: 60px 0; text-align: center; font-family: var(--head); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.detail-disclaimer { margin-top: 18px; font-size: 12.5px; color: var(--muted); line-height: 1.5; }

/* ============================================================================
   HOME category cards — primary chooser, one per config.pages[] entry
============================================================================ */
.cat-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.cat-card {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 120px; padding: 26px 22px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); text-decoration: none; transition: transform .18s, box-shadow .18s, border-color .18s;
}
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--accent); }
.cat-card-title { font-family: var(--head); font-weight: 800; text-transform: uppercase; letter-spacing: .01em; font-size: 20px; color: var(--primary); }

/* ============================================================================
   HOME split (Rent vs Buy), why-us, brands, steps, use cases
============================================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.split-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 300px; display: flex; align-items: flex-end; color: #fff; border: 1px solid var(--line); }
.split-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.split-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,14,20,.15), rgba(10,14,20,.86)); z-index: 1; }
.split-card .sc-body { position: relative; z-index: 2; padding: 28px 26px; }
.split-card h3 { font-family: var(--head); font-weight: 900; text-transform: uppercase; font-size: 34px; line-height: .95; }
.split-card p { color: #dfe3e8; margin: 8px 0 16px; max-width: 380px; }

.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 24px; }
.feature .feat-num { font-family: var(--head); font-weight: 900; font-size: 34px; color: var(--surface-2); line-height: 1; }
.feature h3 { font-family: var(--head); font-weight: 700; text-transform: uppercase; font-size: 20px; color: var(--primary); margin: 8px 0 8px; }
.feature p { color: var(--muted); font-size: 15px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { text-align: left; padding: 26px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.step .num { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius); background: var(--accent); color: var(--accent-ink); font-family: var(--head); font-weight: 800; font-size: 20px; margin-bottom: 14px; }
.step h3 { font-family: var(--head); font-weight: 700; text-transform: uppercase; font-size: 20px; color: var(--primary); margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 15px; }

.brands-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.brand-pill { font-family: var(--head); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: 16px; color: var(--primary); background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 12px 20px; }

.usecase-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.usecase { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px 22px; }
.usecase h3 { font-family: var(--head); font-weight: 700; text-transform: uppercase; font-size: 19px; color: var(--primary); margin-bottom: 8px; }
.usecase p { color: var(--muted); font-size: 14.5px; }

/* ---- Policies (brand accent bar, NEVER emoji/box markers) ---- */
.policies { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 28px; }
.policies > h3 { font-family: var(--head); font-weight: 700; text-transform: uppercase; font-size: 22px; color: var(--primary); margin-bottom: 18px; }
.policies-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.policy { position: relative; padding-left: 16px; }
.policy .p-ico { position: absolute; left: 0; top: 3px; width: 4px; height: calc(100% - 6px); border-radius: 2px; background: linear-gradient(180deg, var(--accent), var(--primary)); }
.policy h4 { font-family: var(--head); font-weight: 700; text-transform: uppercase; font-size: 16px; color: var(--primary); margin-bottom: 4px; }
.policy p { color: var(--muted); font-size: 14px; }

/* ---- Financing ---- */
.finance-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: start; }
.finance-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 28px; }
.finance-card h3 { font-family: var(--head); font-weight: 800; text-transform: uppercase; font-size: 24px; color: var(--primary); margin-bottom: 10px; }
.finance-card ul.checks { display: grid; gap: 10px; margin: 16px 0 22px; }
.finance-card ul.checks li { position: relative; padding-left: 24px; color: var(--text); }
.finance-card ul.checks li::before { content: ""; position: absolute; left: 0; top: 7px; width: 12px; height: 7px; border-left: 3px solid var(--accent); border-bottom: 3px solid var(--accent); transform: rotate(-45deg); }
.finance-steps { display: grid; gap: 14px; }
.finance-step { display: flex; gap: 14px; align-items: flex-start; }
.finance-step .n { flex: 0 0 auto; width: 36px; height: 36px; border-radius: var(--radius); background: var(--primary); color: #fff; font-family: var(--head); font-weight: 800; display: grid; place-items: center; }
.finance-disclaimer { color: var(--muted); font-size: 13px; margin-top: 18px; }

/* ---- Gallery ---- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery-grid a { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; background: var(--surface-2); }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery-grid a:hover img { transform: scale(1.06); }

/* ---- Reviews ---- */
.reviews-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 26px; flex-wrap: wrap; }
.reviews-headline { display: flex; align-items: center; gap: 18px; }
.reviews-headline .rating-num { font-family: var(--head); font-weight: 900; font-size: 56px; color: var(--primary); line-height: 1; }
.reviews-headline .stars { color: #ffc63b; font-size: 20px; letter-spacing: 2px; }
.reviews-headline .count { color: var(--muted); font-size: 14px; }

/* ---- Contact ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 30px; }
.contact-list { display: grid; gap: 14px; margin-bottom: 20px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list .ci-ico { flex: 0 0 auto; width: 40px; height: 40px; border-radius: var(--radius); background: var(--surface-2); display: grid; place-items: center; }
.contact-list .ci-label { font-family: var(--head); text-transform: uppercase; letter-spacing: .05em; font-size: 12.5px; color: var(--muted); }
.contact-list .ci-value { font-size: 16px; color: var(--text); }
.contact-map-embed { width: 100%; height: 240px; border: 0; border-radius: var(--radius-lg); margin-top: 6px; }
.contact-form-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; min-height: 200px; }

/* ---- About ---- */
.about-lede { font-size: 20px; color: var(--text); max-width: 760px; }
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 34px; align-items: center; }
.about-grid img { border-radius: var(--radius-lg); border: 1px solid var(--line); }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.team-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; text-align: center; }
.team-card .avatar { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 12px; object-fit: cover; background: var(--surface-2); }
.team-card h4 { font-family: var(--head); text-transform: uppercase; color: var(--primary); font-size: 18px; }
.team-card .role { color: var(--accent); font-family: var(--head); font-size: 13px; text-transform: uppercase; letter-spacing: .05em; }
.hours-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }
.hours-card h3 { font-family: var(--head); text-transform: uppercase; color: var(--primary); margin-bottom: 12px; }
.hours-list li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 15px; }

/* ---- CTA band ---- */
.cta-band { background: var(--primary); color: #fff; }
.cta-inner { padding: 66px 26px; text-align: center; }
.cta-inner h2 { font-family: var(--head); font-weight: 900; text-transform: uppercase; font-size: clamp(30px, 4vw, 50px); line-height: .98; }
.cta-inner p { color: rgba(255,255,255,.8); margin: 12px auto 24px; max-width: 560px; }
.cta-actions { display: flex; gap: 13px; justify-content: center; flex-wrap: wrap; }

/* ---- Content pages (legal / prose) ---- */
.prose { max-width: 820px; }
.prose h2 { font-family: var(--head); text-transform: uppercase; color: var(--primary); font-size: 26px; margin: 28px 0 10px; }
.prose h3 { font-family: var(--head); color: var(--primary); font-size: 20px; margin: 20px 0 8px; }
.prose p, .prose li { color: var(--text); margin-bottom: 12px; }
.prose ul { padding-left: 22px; list-style: disc; }

/* ---- Footer ---- */
.site-footer { background: var(--ink); color: #cfd4db; padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 30px; }
.site-footer .brand { color: #fff; margin-bottom: 12px; }
.footer-brand p { color: #9aa2ad; font-size: 14.5px; max-width: 320px; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a { width: 38px; height: 38px; border-radius: var(--radius); background: rgba(255,255,255,.07); display: grid; place-items: center; color: #cfd4db; transition: .15s; }
.footer-social a:hover { background: var(--accent); color: #fff; }
.footer-col h4 { font-family: var(--head); text-transform: uppercase; letter-spacing: .05em; color: #fff; font-size: 15px; margin-bottom: 14px; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul a:hover { color: #fff; }
.footer-contact li { margin-bottom: 9px; font-size: 14.5px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 46px; padding: 22px 26px; font-size: 13.5px; color: #8a929c; }
.footer-bottom a:hover { color: #fff; }

/* ---- Mobile sticky bar ---- */
.mobile-bar { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 90; background: var(--surface); border-top: 1px solid var(--line); padding: 10px 14px; gap: 10px; }

/* ---- Reveal ---- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================================
   RESPONSIVE
============================================================================ */
@media (max-width: 1000px) {
  .fleet-grid, .sales-grid, .features-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .usecase-grid { grid-template-columns: repeat(2, 1fr); }
  .section-head { grid-template-columns: 1fr; }
  .finance-grid, .contact-grid, .about-grid, .split { grid-template-columns: 1fr; }
  .unit-detail-wrap { grid-template-columns: 1fr; gap: 22px; }
  .unit-detail-gallery { position: static; top: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .sales-toolbar { grid-template-columns: 1fr 1fr; }
  .sales-count { grid-column: 1/-1; padding-bottom: 0; }
}
@media (max-width: 860px) {
  .nav-desktop, .header-cta .header-phone { display: none; }
  .nav-toggle { display: flex; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stats .stat:nth-child(2) { border-right: none; }
  .mobile-bar { display: flex; }
  body { padding-bottom: 66px; }
  .spec-table { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .fleet-grid, .sales-grid, .features-grid, .steps, .usecase-grid, .gallery-grid, .team-grid, .policies-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .sales-toolbar { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .hero-inner { padding-top: 128px; }
  .detail-actions .btn { flex: 1 1 100%; }
}

/* ============================================================================
   ★ TRINITY-CALIBER OVERRIDE LAYER  (Demo Yard redesign, 2026-09-09)
   Appended last so it wins over the dealer base — mirrors how trinity-bend
   layers its brand + cinematic hero. Upgrades the reusable dealer template to
   the north-star polish (demo.myhenrysite.com): Montserrat/Inter display type,
   glass header over full-bleed real-photo heroes, rounder premium cards with
   image-zoom + gradient overlays, circular connected steps, teal marquee,
   richer scroll-reveal, gradient CTA band, and the slim live-demo notice bar.
   Purely additive CSS: no structural hooks (#fleetGrid[data-asset-class],
   #salesGrid, config.pages, data-sales-*) are touched.
============================================================================ */
:root{
  --head:"Montserrat", system-ui, -apple-system, sans-serif;
  --body:"Inter", system-ui, -apple-system, sans-serif;
  --radius-lg: 18px;                     /* rounder premium cards */
  --shadow:    0 16px 40px rgba(20,30,45,.12);
  --shadow-lg: 0 26px 64px rgba(15,26,40,.20);
  --demo-bar-h: 42px;
}
body{ line-height:1.65; }

/* Montserrat is wider than Barlow Condensed — retune the display scale so
   headlines don't overflow. */
.hero-title{ font-weight:800; font-size:clamp(40px,5.8vw,76px); line-height:.98; letter-spacing:-.02em; }
/* Mobile: the display clamp floors at 40px, and the single long word on the
   .hi line ("HEADQUARTERS.") clipped its trailing "S." at ~375px. Scale the
   mobile display size down (30px floor) and tighten tracking so it never clips.
   Desktop hero is untouched (this only applies at <=600px). */
@media (max-width:600px){
  .hero-title{ font-size:clamp(30px,8.2vw,40px); letter-spacing:-.03em; }
}
.section-title{ font-weight:800; font-size:clamp(28px,3.8vw,46px); letter-spacing:-.02em; line-height:1.04; }
.page-hero h1{ font-weight:800; font-size:clamp(32px,4.6vw,56px); letter-spacing:-.02em; line-height:1.02; }
.cta-inner h2{ font-weight:800; font-size:clamp(30px,4.2vw,52px); letter-spacing:-.02em; }
.brand{ font-weight:800; letter-spacing:-.01em; }

/* Pill buttons + tags to match the north star */
.btn{ border-radius:999px; letter-spacing:.04em; transition:transform .18s cubic-bezier(.3,.8,.4,1), box-shadow .2s, background .2s, color .2s, filter .2s; }
.btn:hover{ transform:translateY(-2px); }
.btn-accent{ box-shadow:0 10px 28px rgba(220,36,28,.32); }
.btn-accent:hover{ box-shadow:0 16px 38px rgba(220,36,28,.46); }
.trailer-price-tag,.trailer-cat-chip,.unit-cat-chip,.badge,.eyebrow{ border-radius:999px; }
.filter-tabs button{ border-radius:999px; }

/* ---- Section rhythm: a touch more air ---- */
.section{ padding:96px 0; }
.section.tight{ padding:60px 0; }
.section-eyebrow{ letter-spacing:.16em; }

/* ============================================================================
   GLASS HEADER over the dark hero / page-hero (floating, blurred)
============================================================================ */
.site-header{ backdrop-filter:none; }
body:has(.hero-media) .site-header:not(.scrolled),
body:has(.page-hero)  .site-header:not(.scrolled){
  background:linear-gradient(180deg, rgba(8,16,20,.55), rgba(8,16,20,.12));
  backdrop-filter:blur(8px) saturate(130%);
}
.site-header.scrolled{
  background:rgba(15,34,44,.86); backdrop-filter:blur(16px) saturate(140%);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.nav-desktop a::after{ height:2.5px; bottom:-6px; }

/* ============================================================================
   LIVE-DEMO NOTICE BAR — slim fixed bar above the header (static markup in
   every page; Henry strips JS so it must live in the HTML). Header + body are
   pushed down by --demo-bar-h.
============================================================================ */
.demo-bar{
  position:fixed; top:0; left:0; right:0; z-index:200; height:var(--demo-bar-h);
  background:linear-gradient(100deg,#14323F,#1D4B5E);
  border-bottom:2px solid var(--accent);
  font-family:var(--body);
}
.demo-bar-inner{ max-width:var(--maxw); height:100%; margin:0 auto; padding:0 22px; display:flex; align-items:center; gap:14px; }
.demo-bar-msg{ margin:0; font-size:13.5px; line-height:1.2; color:rgba(255,255,255,.92); }
.demo-bar-msg strong{ color:#fff; }
.demo-bar-safe{ display:inline-block; margin-left:8px; padding:1px 9px; border-radius:999px; background:rgba(220,36,28,.20); border:1px solid rgba(220,36,28,.55); color:#F6C6C1; font-size:12px; font-weight:600; white-space:nowrap; }
.demo-bar-row{ margin-left:auto; display:flex; align-items:center; gap:12px; }
.cta-short{ display:none; }
.demo-bar-cta{ padding:6px 15px; border-radius:999px; text-decoration:none; white-space:nowrap; background:var(--accent); color:#fff; font-family:var(--head); font-weight:700; font-size:13px; letter-spacing:.02em; transition:filter .15s ease, transform .15s ease; }
.demo-bar-cta:hover{ background:var(--accent-dark); transform:translateY(-1px); }
#siteHeader{ top:var(--demo-bar-h); }
body{ padding-top:var(--demo-bar-h); }
@media (max-width:720px){
  :root{ --demo-bar-h:58px; }
  .demo-bar-inner{ flex-wrap:wrap; align-content:center; padding:0 14px; gap:2px 8px; }
  .demo-bar-msg{ order:1; flex:1 1 auto; min-width:0; font-size:12px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .demo-bar-long{ display:none; }
  .demo-bar-safe{ order:2; margin-left:0; font-size:10.5px; padding:1px 7px; }
  .demo-bar-row{ order:3; flex:0 0 100%; margin-left:0; margin-top:2px; }
  .cta-long{ display:none; } .cta-short{ display:inline; }
  .demo-bar-cta{ padding:5px 12px; font-size:11.5px; }
}

/* ============================================================================
   HERO — deepen the cinematic left→right gradient; bolder overlay copy
============================================================================ */
.hero{ min-height:660px; }
.hero-media::after{
  background:linear-gradient(100deg, rgba(9,18,26,.94) 0%, rgba(9,18,26,.80) 26%, rgba(9,18,26,.42) 52%, rgba(9,18,26,.05) 82%);
}
.hero-title .hi{ color:transparent; background:linear-gradient(100deg,#DC241C,#F2685F); -webkit-background-clip:text; background-clip:text; }
.hero-sub{ color:rgba(255,255,255,.80); }
.hero-trust{ color:rgba(255,255,255,.62); }
.hero-trust strong{ color:#fff; }
/* stats band — teal with a hairline top rule (already teal via --primary) */
.hero-stats-band{ border-top:3px solid var(--accent); }
.hero-stats .num.grad{ color:transparent; background:linear-gradient(100deg,#DC241C,#F2685F); -webkit-background-clip:text; background-clip:text; }

/* ============================================================================
   PAGE HERO (inner pages) — real photo background + gradient, like the north star
============================================================================ */
.page-hero{
  background:#0d1a22 url('/a/PatriotHaulsDemoYard/2d64bf1f34032d235d6f.jpg') center 42% / cover no-repeat;
  padding:150px 0 60px;
}
.page-hero::before{
  background:linear-gradient(120deg, rgba(9,18,26,.90) 0%, rgba(9,18,26,.72) 45%, rgba(9,18,26,.40) 100%);
  -webkit-mask-image:none; mask-image:none; background-size:auto;
}
/* dark cap so the transparent nav always reads over the photo */
.page-hero::after{
  content:''; position:absolute; top:0; left:0; right:0; height:120px; z-index:0; pointer-events:none;
  background:linear-gradient(to bottom, rgba(8,14,18,.85), transparent);
}
.page-hero .eyebrow.ghost{ background:rgba(220,36,28,.18); border-color:rgba(220,36,28,.42); color:#F3ADA7; }

/* ============================================================================
   CARDS — rounder, deeper shadow, image-zoom + gradient overlay on hover
============================================================================ */
.trailer-card,.unit-card{ border-radius:var(--radius-lg); }
.trailer-card:hover,.unit-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-lg); }
.trailer-media img,.unit-media img{ transition:transform .5s ease; }
.trailer-card:hover .trailer-media img,.unit-card:hover .unit-media img{ transform:scale(1.06); }
.trailer-media::after{ content:""; position:absolute; inset:0; background:linear-gradient(180deg, transparent 55%, rgba(9,18,26,.34)); pointer-events:none; }
.trailer-price-tag{ background:rgba(9,18,26,.72); backdrop-filter:blur(6px); border:1px solid rgba(255,255,255,.18); }
.cat-card{ border-radius:var(--radius-lg); }
.cat-card:hover{ transform:translateY(-5px); box-shadow:var(--shadow-lg); }
.split-card{ border-radius:var(--radius-lg); }
.split-card img{ transition:transform .6s ease; }
.split-card:hover img{ transform:scale(1.05); }
.feature,.usecase,.step,.finance-card,.team-card,.hours-card,.policies,.contact-form-wrap{ border-radius:var(--radius-lg); }
.feature{ transition:transform .22s, box-shadow .22s, border-color .22s; }
.feature:hover{ transform:translateY(-5px); box-shadow:var(--shadow); border-color:var(--line-2); }
.usecase{ transition:transform .22s, box-shadow .22s, border-color .22s; }
.usecase:hover{ transform:translateY(-4px); box-shadow:var(--shadow); border-color:var(--line-2); }
.feature .feat-num{ color:var(--accent); opacity:.28; }

/* ============================================================================
   STEPS — circular numbers joined by a connector line (north-star treatment)
============================================================================ */
.steps{ position:relative; }
.steps::before{ content:""; position:absolute; top:34px; left:16%; right:16%; height:2px; background:linear-gradient(90deg, var(--primary), var(--accent)); opacity:.35; }
.step{ text-align:center; background:transparent; border:none; padding:0 16px; position:relative; z-index:1; }
.step .num{ width:68px; height:68px; border-radius:50%; margin:0 auto 20px; background:var(--surface); color:var(--primary); border:2px solid var(--accent); font-size:28px; box-shadow:0 0 0 8px var(--bg); }
.step h3{ font-size:22px; }
.step p{ max-width:300px; margin:0 auto; }
@media (max-width:860px){ .steps::before{ display:none; } .step{ background:var(--surface); border:1px solid var(--line); padding:26px 24px; text-align:left; } .step .num{ margin:0 0 14px; } .step p{ margin:0; } }

/* ============================================================================
   MARQUEE — teal (structure), red diamond separators
============================================================================ */
.marquee{ background:var(--primary); color:#fff; }
.marquee-track span{ color:#fff; }
.marquee-track span::after{ content:"◆"; color:var(--accent); opacity:.9; }

/* ============================================================================
   CTA BAND — teal → deep red → Patriot red gradient (north star)
============================================================================ */
.cta-band{ background:linear-gradient(120deg,#14323F,#7a140f 56%,#DC241C); position:relative; overflow:hidden; }
.cta-band::before{ content:""; position:absolute; inset:0; background:radial-gradient(circle at 82% 18%, rgba(255,255,255,.14), transparent 42%); pointer-events:none; }
.cta-inner{ position:relative; z-index:1; }

/* ============================================================================
   MOTION — richer scroll-reveal (bake.mjs adds .in so it ships visible on Henry;
   the animation plays on the source/live render and degrades to visible)
============================================================================ */
.reveal{ opacity:0; transform:translateY(26px); transition:opacity .7s ease, transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.in{ opacity:1; transform:none; }
@media (prefers-reduced-motion:reduce){ .reveal{ opacity:1 !important; transform:none !important; } }

/* Footer social pills a touch rounder to match */
.footer-social a{ border-radius:10px; }

/* Mobile: hide the whole header CTA cluster (phone + button) — the bottom
   .mobile-bar carries Call + the primary action, and the base only hid the
   phone, leaving the header button to overflow past 375px next to the toggle. */
@media (max-width:860px){ .header-cta{ display:none; } }

/* No-horizontal-scroll guard on the root too (base only guarded body). Matches
   the Henry mobile-fix code slot so local == production; clips the marquee track. */
html{ overflow-x:hidden; max-width:100%; }

/* Header brand: keep the wordmark on one line; tighten nav so the logo lockup +
   the consolidated 5-item nav (Rentals ▾ · For Sale · Financing · About · Contact)
   sit comfortably with air to spare. */
.brand{ white-space:nowrap; }
.brand span{ white-space:nowrap; }
@media (max-width:1180px){
  .nav-desktop{ gap:22px; margin-right:20px; }
  .brand{ font-size:20px; }
  .nav-desktop > a, .nav-group-btn{ font-size:15.5px; }
  .brand img{ height:48px; }
}
/* Mobile: only the logo lockup + hamburger show, so scale the wide wordmark to
   fit a 375px bar without crowding the toggle. */
@media (max-width:860px){
  .brand img{ height:40px; }
}
@media (max-width:400px){
  .brand img{ height:34px; }
}

/* Sale card media wrapper must be positioned so its absolute badges + category
   chip anchor to the card, not a distant ancestor (they were stacking at the
   page edge). Also give the rental/sale cards a positioning context as a belt. */
.trailer-card,.unit-card{ position:relative; }
.unit-media-link{ position:relative; display:block; }
