/* ============================================================================
   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:    #d4442a;   /* the operator's saturated brand color         */
  --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 { filter: brightness(1.06); 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: 18px; }
.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: 46px; width: auto; }
.nav-desktop { display: flex; align-items: center; gap: 26px; margin-left: auto; margin-right: 26px; }
.nav-desktop a { 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; }
.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%; }
.header-cta { display: flex; align-items: center; gap: 15px; }
.header-phone { font-family: var(--head); font-weight: 700; font-size: 18px; color: #fff; }
.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 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%; }
}
