/* =========================================================
   RAGIN TRAILERS — Design System v2 "INDUSTRIAL"
   Dark charcoal / steel panels / sharp corners / red accent.
   Mobile-first, no frameworks, no external assets.
   ========================================================= */

:root {
  --red: #C8102E;
  --red-dark: #9E0B23;
  --red-light: #E8324B;
  --black: #101112;
  --ink: #17181a;
  --charcoal: #1b1d1f;
  --steel: #2e3236;
  --steel-light: #494f55;
  --gray: #5f6870;
  --gray-light: #9aa0a6;
  --line: #d6dadd;
  --line-dark: #33383d;
  --bg: #ffffff;
  --bg-soft: #eceef0;
  --bg-dark: #121314;
  --white: #ffffff;
  --gold: #F2A900;
  --green: #1c8a4e;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.14);
  --shadow: 0 8px 22px rgba(0,0,0,.16);
  --shadow-lg: 0 18px 44px rgba(0,0,0,.30);
  --radius: 0px;          /* industrial = square corners */
  --radius-lg: 0px;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-head: "Arial Narrow", "Helvetica Neue Condensed", "Segoe UI", system-ui, sans-serif;

  --wrap: 1200px;
  --header-h: 70px;
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  font-size: 16px;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.02;
  letter-spacing: .6px;
  margin: 0 0 .4em;
  text-transform: uppercase;
  font-weight: 800;
}
h1 { font-size: clamp(2.1rem, 6.4vw, 3.9rem); }
h2 { font-size: clamp(1.6rem, 4.5vw, 2.7rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.5rem); }
p { margin: 0 0 1rem; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 18px; }
.section { padding: 56px 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--bg-dark); color: #fff; }
.section--dark h2, .section--dark h3 { color: #fff; }
.center { text-align: center; }
.eyebrow {
  color: var(--red);
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: .78rem;
  margin-bottom: 8px;
}
.lead { font-size: 1.1rem; color: var(--gray); max-width: 660px; }
.center .lead { margin-left: auto; margin-right: auto; }
.muted { color: var(--gray); }
.hide { display: none !important; }

/* Red slab under section headings — industrial marker */
.section-head h2 { position: relative; padding-bottom: 14px; }
.section-head h2::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 64px; height: 5px; background: var(--red);
}
.section-head.center h2::after { left: 50%; transform: translateX(-50%); }

/* ---------- Steel / diamond-plate textures (pure CSS) ---------- */
.plate {
  background-color: var(--charcoal);
  background-image:
    repeating-linear-gradient(45deg, rgba(255,255,255,.045) 0 2px, transparent 2px 14px),
    repeating-linear-gradient(-45deg, rgba(255,255,255,.045) 0 2px, transparent 2px 14px),
    linear-gradient(180deg, #202225 0%, #131415 100%);
}
.steel-edge { border-top: 4px solid var(--red); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 2px;
  font-weight: 800; font-size: .98rem; letter-spacing: 1px;
  border: 2px solid transparent; cursor: pointer;
  text-decoration: none !important; transition: transform .12s ease, background .15s ease, box-shadow .15s;
  text-transform: uppercase; font-family: var(--font-head);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--red); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--red-dark); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.75); }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn--dark { background: var(--black); color: #fff; }
.btn--dark:hover { background: #000; }
.btn--gold { background: var(--gold); color: #191100; }
.btn--gold:hover { background: #d99700; }
.btn--sm { padding: 10px 16px; font-size: .85rem; }
.btn--block { display: flex; width: 100%; }
.btn--wide { min-width: 230px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: var(--black); color: #fff;
  height: var(--header-h);
  box-shadow: 0 2px 12px rgba(0,0,0,.4);
  border-bottom: 3px solid var(--red);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none !important; color: #fff; }
.logo-img { height: 52px; width: 52px; object-fit: cover; display: block; }
.brand-word {
  font-family: var(--font-head); font-weight: 800; font-size: 1.35rem; letter-spacing: 2px;
  color: #fff; text-transform: uppercase; white-space: nowrap;
}
.brand-word em { font-style: normal; color: var(--red); }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  color: #f2f2f2; padding: 9px 11px; font-weight: 700;
  font-size: .92rem; text-decoration: none; text-transform: uppercase; letter-spacing: .5px;
  border-bottom: 3px solid transparent;
}
.nav a:hover, .nav a.active { color: #fff; border-bottom-color: var(--red); background: rgba(255,255,255,.06); }
.nav a.nav-cta { background: var(--red); border-bottom: 0; }
.nav a.nav-cta:hover { background: var(--red-dark); }
.header-phone { display: inline-flex; align-items: center; gap: 8px; color: #fff !important; font-weight: 800; text-decoration: none; }
.header-phone .num { font-size: 1.05rem; font-family: var(--font-head); letter-spacing: 1px; }
.nav-toggle { display: none; background: transparent; border: 0; color: #fff; cursor: pointer; padding: 8px; }
.nav-toggle svg { height: 26px; width: 26px; }

/* Mobile nav drawer */
.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0 0; background: rgba(14,15,16,.98);
  transform: translateX(100%); transition: transform .25s ease; z-index: 55;
  display: flex; flex-direction: column; padding: 18px; gap: 6px; overflow-y: auto;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a {
  color: #fff; font-size: 1.25rem; font-weight: 800; padding: 14px 10px;
  border-bottom: 1px solid rgba(255,255,255,.08); text-transform: uppercase; text-decoration: none;
  font-family: var(--font-head); letter-spacing: 1px;
}
.mobile-nav a.nav-cta { background: var(--red); text-align: center; border: 0; margin-top: 10px; }

/* ---------- Hero (photo background, dark steel overlay) ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background:
    linear-gradient(100deg, rgba(7,7,8,.48) 0%, rgba(10,10,12,.18) 40%, rgba(20,4,8,0) 100%),
    var(--hero-img, linear-gradient(115deg, #17181a, #26080d)) center / cover no-repeat;
  border-bottom: 4px solid var(--red);
}
/* The horizontal 18px must be kept here. This element carries both .wrap and
   .hero__inner, and the shorthand below used to say "88px 0 96px" -- the 0
   wiped out .wrap's side padding, so on a phone the headline and buttons sat
   flush against the screen edge. */
.hero__inner { position: relative; z-index: 2; padding: 88px 18px 96px; }
.hero h1 { max-width: 16ch; text-shadow: 0 2px 14px rgba(0,0,0,.55); }
.hero h1 .accent { color: var(--gold); }
.hero p { max-width: 46ch; font-size: 1.16rem; color: #eee3e3; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 26px; font-size: .9rem; color: #f0dcdc; }
.hero__trust span { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; }

/* ---------- Grid helpers ---------- */
.grid { display: grid; gap: 18px; }
.grid--cats { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: repeat(2, 1fr); }

/* ---------- Category cards (photo tiles) ---------- */
.cat-card {
  position: relative; display: flex; flex-direction: column; background: var(--charcoal);
  border: 1px solid var(--line-dark);
  overflow: hidden; text-decoration: none !important; color: #fff;
  box-shadow: var(--shadow-sm); transition: transform .15s, box-shadow .15s;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cat-card:hover .cat-card__img img { transform: scale(1.05); }
.cat-card__img { background: var(--steel); aspect-ratio: 16/10; overflow: hidden; }
.cat-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.cat-card__body { padding: 14px 16px 16px; border-top: 3px solid var(--red); }
.cat-card__body h3 { margin: 0 0 4px; color: #fff; }
.cat-card__body p { margin: 0; color: #b9bfc4; font-size: .9rem; }
.cat-card__more { color: var(--red-light); font-weight: 800; margin-top: 8px; display: inline-block; font-size: .88rem; text-transform: uppercase; letter-spacing: 1px; }

/* ---------- Inventory cards ---------- */
.inv-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-top: 3px solid var(--steel);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .15s, box-shadow .15s;
}
.inv-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-top-color: var(--red); }
.inv-card__media { position: relative; background: var(--bg-soft); aspect-ratio: 4/3; overflow: hidden; }
.inv-card__media svg, .inv-card__media img { width: 100%; height: 100%; object-fit: cover; }
.badge {
  position: absolute; top: 10px; left: 10px; background: var(--black); color: #fff;
  font-size: .7rem; font-weight: 800; padding: 4px 10px; letter-spacing: 1px; text-transform: uppercase;
  font-family: var(--font-head);
}
.badge--new { background: var(--green); }
.badge--used { background: var(--gold); color: #191100; }
.badge--sold { background: var(--gray); }
.badge--pending { background: var(--red); }
.badge--right { left: auto; right: 10px; }

/* SOLD banner — a green bar across the top of the photo. A small corner chip
   was too easy to miss, and a customer asking about a trailer that sold last
   week is a worse experience than not listing it at all. */
.badge--sold-banner {
  left: 0; right: 0; top: 0;
  background: linear-gradient(180deg, #23a55f, #146b3a);
  color: #fff;
  text-align: center;
  font-size: 1.05rem;
  letter-spacing: 4px;
  padding: 9px 0;
  border-bottom: 2px solid rgba(0,0,0,.25);
  box-shadow: 0 2px 12px rgba(0,0,0,.35);
  z-index: 3;
}
/* dim the photo a little so the banner reads cleanly over any image */
.inv-card--sold .inv-card__media img,
.inv-card--sold .inv-card__media svg { filter: brightness(.72) saturate(.85); }
.inv-card__body { padding: 14px 15px 16px; display: flex; flex-direction: column; flex: 1; }
.inv-card__brand { font-size: .72rem; font-weight: 800; letter-spacing: 1.5px; color: var(--red); text-transform: uppercase; }
.inv-card__title { font-family: var(--font-head); text-transform: uppercase; font-size: 1.12rem; font-weight: 800; margin: 2px 0 6px; line-height: 1.1; }
.inv-card__price { font-size: 1.55rem; font-weight: 900; color: var(--ink); font-family: var(--font-head); letter-spacing: .5px; }
.inv-card__mo { font-size: .85rem; color: var(--green); font-weight: 700; margin: 2px 0 8px; }
.inv-card__specs { list-style: none; margin: 0 0 12px; padding: 0; font-size: .82rem; color: var(--gray); display: flex; flex-wrap: wrap; gap: 4px 10px; }
.inv-card__specs li::before { content: "▪"; color: var(--red); margin-right: 5px; }
.inv-card__foot { margin-top: auto; display: flex; gap: 8px; }
.inv-card__foot .btn { flex: 1; }

/* ---------- Filters bar ---------- */
.filters {
  background: var(--charcoal); border: 1px solid var(--line-dark); border-top: 3px solid var(--red);
  padding: 16px; box-shadow: var(--shadow-sm); margin-bottom: 22px; color: #fff;
}
.filters__row { display: grid; grid-template-columns: 1fr; gap: 12px; }
.field label { display: block; font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 5px; }
.filters .field label { color: #cfd4d8; }
.form .field label { color: var(--charcoal); }
.field select, .field input, .form input, .form select, .form textarea {
  width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 2px;
  font-size: 1rem; font-family: inherit; background: #fff; color: var(--ink);
}
.field select:focus, .form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(200,16,46,.16);
}
.filters__meta { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; flex-wrap: wrap; gap: 10px; }
.result-count { font-weight: 800; font-family: var(--font-head); letter-spacing: 1px; text-transform: uppercase; }
.link-btn { background: none; border: 0; color: var(--red-light); font-weight: 800; cursor: pointer; text-transform: uppercase; font-size: .85rem; letter-spacing: 1px; }

/* ---------- Brands row ---------- */
.brands { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; align-items: stretch; }
.brand-chip {
  background: var(--charcoal); border: 1px solid var(--line-dark); border-bottom: 3px solid var(--red);
  padding: 18px 12px; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm); min-height: 78px; text-align: center;
}
.brand-chip .brand-name {
  font-family: var(--font-head); font-weight: 800; letter-spacing: 2px; color: #fff;
  text-transform: uppercase; font-size: 1.05rem; line-height: 1.2;
}
.brand-chip .brand-name small { display: block; color: var(--gray-light); font-size: .68rem; letter-spacing: 1.5px; }
.brand-chip img { max-height: 46px; width: auto; object-fit: contain; }

/* ---------- Brand feature cards (photos + video) ---------- */
.brand-card {
  background: var(--charcoal); border: 1px solid var(--line-dark); color: #fff;
  overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.brand-card__media { aspect-ratio: 16/9; background: var(--steel); overflow: hidden; }
.brand-card__media img { width: 100%; height: 100%; object-fit: cover; }
.brand-card__body { padding: 16px 18px 18px; border-top: 3px solid var(--red); }
.brand-card__body h3 { color: #fff; margin-bottom: 4px; }
.brand-card__body p { color: #b9bfc4; font-size: .92rem; margin: 0; }
.video-embed { position: relative; aspect-ratio: 16/9; background: #000; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Financing banner ---------- */
.fin-banner {
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,.05) 0 2px, transparent 2px 16px),
    linear-gradient(100deg, var(--red) 0%, var(--red-dark) 100%);
  color: #fff; border-left: 6px solid var(--black);
  padding: 36px 26px; text-align: center; box-shadow: var(--shadow);
}
.fin-banner h2 { color: #fff; }
.fin-banner p { color: #ffe3e6; max-width: 640px; margin: 0 auto 18px; }

/* ---------- Trust / Why ---------- */
.why-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.why-card {
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--red);
  padding: 22px; box-shadow: var(--shadow-sm);
}
.section--dark .why-card, .section--soft .why-card { background: #fff; }
.why-card .ic { width: 44px; height: 44px; color: var(--red); margin-bottom: 10px; }
.why-card h3 { margin-bottom: 6px; }
.why-card p { margin: 0; color: var(--gray); font-size: .95rem; }

/* ---------- Testimonials ---------- */
.reviews { display: grid; grid-template-columns: 1fr; gap: 18px; }
.review { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--gold); padding: 22px; box-shadow: var(--shadow-sm); }
.review .stars { color: var(--gold); font-size: 1.1rem; letter-spacing: 2px; margin-bottom: 8px; }
.review p { font-style: italic; color: var(--steel); }
.review .who { font-weight: 800; margin-top: 8px; font-style: normal; color: var(--ink); }
.review .where { color: var(--gray); font-size: .85rem; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 14px; }
.form .row { display: grid; grid-template-columns: 1fr; gap: 14px; }
.form label.req::after { content: " *"; color: var(--red); }
.form .error-msg { color: var(--red); font-size: .82rem; margin-top: 4px; display: none; }
.form .field.invalid input, .form .field.invalid select, .form .field.invalid textarea { border-color: var(--red); }
.form .field.invalid .error-msg { display: block; }
.form-note { font-size: .82rem; color: var(--gray); }
.form-card {
  background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--red);
  padding: 26px; box-shadow: var(--shadow);
}
.form-success { display: none; background: #eaf7ef; border: 1px solid #b6e2c6; color: #14663b; padding: 16px; font-weight: 700; }

/* ---------- Modal ---------- */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,.62); z-index: 200;
  display: none; align-items: flex-start; justify-content: center; padding: 20px; overflow-y: auto;
}
.modal-backdrop.open { display: flex; }
.modal {
  background: #fff; border-top: 4px solid var(--red); max-width: 520px; width: 100%;
  margin: 24px auto; padding: 26px; box-shadow: var(--shadow-lg); position: relative;
}
.modal__close { position: absolute; top: 12px; right: 12px; background: var(--bg-soft); border: 0; width: 36px; height: 36px; font-size: 1.3rem; cursor: pointer; line-height: 1; }
.modal__unit { background: var(--bg-soft); border-left: 4px solid var(--steel); padding: 12px 14px; margin-bottom: 14px; font-size: .9rem; }
.modal__unit strong { display: block; font-size: 1.05rem; font-family: var(--font-head); text-transform: uppercase; letter-spacing: .5px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-dark); color: #c6cbd0; padding: 46px 0 26px; border-top: 4px solid var(--red); }
.site-footer a { color: #e6e6e6; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
.site-footer h4 { color: #fff; font-size: 1rem; letter-spacing: 2px; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .92rem; }
.footer-nap { font-size: .95rem; line-height: 1.7; }
.footer-nap .big { font-size: 1.25rem; color: #fff; font-weight: 800; font-family: var(--font-head); letter-spacing: 1px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 30px; padding-top: 18px; font-size: .82rem; color: #9a9a9a; display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 34px; height: 34px; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; }
.footer-social svg { width: 18px; height: 18px; color: #fff; }

/* ---------- Mobile sticky call bar ---------- */
.mobile-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90; display: none;
  background: var(--black); box-shadow: 0 -3px 14px rgba(0,0,0,.4); border-top: 2px solid var(--red);
}
.mobile-bar a {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 8px; color: #fff; font-weight: 800; text-decoration: none; text-transform: uppercase; font-size: .95rem;
  font-family: var(--font-head); letter-spacing: 1px;
}
.mobile-bar a.call { background: var(--red); }
.mobile-bar a.text { background: var(--charcoal); }
.mobile-bar svg { width: 18px; height: 18px; }

/* ---------- Steps (financing / configurator) ---------- */
.steps { display: grid; grid-template-columns: 1fr; gap: 18px; counter-reset: step; }
.step-card { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--steel); padding: 22px; position: relative; box-shadow: var(--shadow-sm); }
.step-card .num {
  width: 44px; height: 44px; background: var(--red); color: #fff; font-weight: 900;
  display: flex; align-items: center; justify-content: center; font-size: 1.25rem; margin-bottom: 12px;
  font-family: var(--font-head); clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%);
}

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); }
table.pay { width: 100%; border-collapse: collapse; min-width: 480px; background: #fff; }
table.pay th, table.pay td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); }
table.pay th { background: var(--black); color: #fff; font-family: var(--font-head); text-transform: uppercase; letter-spacing: 1px; font-size: .9rem; border-bottom: 3px solid var(--red); }
table.pay tr:last-child td { border-bottom: 0; }
table.pay tr:nth-child(even) td { background: var(--bg-soft); }
table.pay td.mo { color: var(--green); font-weight: 800; }

/* ---------- FAQ ---------- */
.faq details { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--steel); margin-bottom: 12px; padding: 4px 16px; }
.faq details[open] { border-left-color: var(--red); }
.faq summary { cursor: pointer; font-weight: 800; padding: 12px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; font-family: var(--font-head); text-transform: uppercase; letter-spacing: .5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--red); font-size: 1.4rem; font-weight: 800; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--gray); padding-bottom: 12px; margin: 0; }

/* ---------- Configurator ---------- */
.config { display: grid; grid-template-columns: 1fr; gap: 22px; }
.config__steps { display: grid; gap: 26px; }
.cfg-step { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--steel); padding: 20px; box-shadow: var(--shadow-sm); }
.cfg-step h3 { display: flex; align-items: center; gap: 10px; }
.cfg-step h3 .n {
  width: 32px; height: 30px; background: var(--red); color: #fff; font-size: .95rem;
  display: inline-flex; align-items: center; justify-content: center; font-weight: 900; flex: none;
  clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%);
}
.opt-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 6px; }
.opt {
  border: 2px solid var(--line); padding: 12px; cursor: pointer;
  display: flex; flex-direction: column; gap: 3px; background: #fff; transition: border-color .12s, background .12s;
}
.opt:hover { border-color: var(--red-light); }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt.selected { border-color: var(--red); background: #fdf2f4; box-shadow: inset 0 0 0 1px var(--red); }
.opt .opt-name { font-weight: 800; font-size: .95rem; }
.opt .opt-price { color: var(--green); font-weight: 800; font-size: .88rem; }
.opt .opt-desc { color: var(--gray); font-size: .8rem; }
.opt--check { flex-direction: row; align-items: center; }
.opt--check .opt-name { flex: 1; }
.stepper { display: inline-flex; align-items: center; gap: 0; border: 2px solid var(--line); overflow: hidden; }
.stepper button { width: 40px; height: 40px; border: 0; background: var(--charcoal); font-size: 1.3rem; font-weight: 900; cursor: pointer; color: #fff; }
.stepper button:hover { background: var(--red); }
.stepper output { width: 48px; text-align: center; font-weight: 800; font-size: 1.05rem; }
.locked { font-size: .8rem; color: var(--green); font-weight: 700; }

.config__summary { position: relative; }
.summary-card {
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,.03) 0 2px, transparent 2px 14px),
    linear-gradient(180deg, #1b1d1f, #101112);
  color: #fff; border: 1px solid var(--line-dark); border-top: 4px solid var(--red);
  padding: 22px; box-shadow: var(--shadow);
}
.summary-card h3 { color: #fff; }
.summary-list { list-style: none; padding: 0; margin: 0 0 14px; font-size: .9rem; display: grid; gap: 6px; max-height: 320px; overflow-y: auto; }
.summary-list li { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid rgba(255,255,255,.1); padding-bottom: 6px; }
.summary-list .s-name { color: #ddd; }
.summary-list .s-price { color: #fff; font-weight: 700; white-space: nowrap; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 2px solid var(--red); padding-top: 12px; margin-top: 6px; }
.summary-total .lbl { font-family: var(--font-head); text-transform: uppercase; font-size: 1.1rem; letter-spacing: 1px; }
.summary-total .amt { font-size: 2rem; font-weight: 900; color: var(--gold); font-family: var(--font-head); }
.summary-mo { text-align: right; color: #b9f5cf; font-weight: 700; font-size: .9rem; margin-top: 2px; }

/* ---------- Landing pages ---------- */
.lp-header { background: var(--black); height: 60px; display: flex; align-items: center; border-bottom: 3px solid var(--red); }
.lp-header .wrap { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.lp-hero {
  background:
    linear-gradient(100deg, rgba(10,10,11,.95) 0%, rgba(18,16,17,.85) 45%, rgba(64,9,17,.78) 100%),
    var(--hero-img, linear-gradient(120deg, #17110c, #3a0d14)) center / cover no-repeat;
  color: #fff; border-bottom: 4px solid var(--red);
}
.lp-hero__grid { display: grid; grid-template-columns: 1fr; gap: 26px; padding: 42px 0 52px; align-items: center; }
.lp-benefits { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 12px; }
.lp-benefits li { display: flex; gap: 10px; align-items: flex-start; font-size: 1.05rem; }
.lp-benefits li svg { color: var(--gold); flex: none; width: 24px; height: 24px; margin-top: 1px; }
.lp-form-wrap { background: #fff; color: var(--ink); border-top: 4px solid var(--red); padding: 26px; box-shadow: var(--shadow-lg); }
.lp-form-wrap h2 { color: var(--red); }
.trust-strip { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 20px; font-size: .9rem; color: #f3dede; }
.trust-strip span { display: inline-flex; gap: 6px; align-items: center; font-weight: 600; }

/* ---------- Blog ---------- */
.post-list { display: grid; grid-template-columns: 1fr; gap: 22px; }
.post-card { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--steel); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.post-card:hover { border-top-color: var(--red); }
.post-card__media { aspect-ratio: 16/9; background: var(--bg-soft); overflow: hidden; }
.post-card__media img, .post-card__media svg { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 16px 18px 20px; }
.post-card__cat { color: var(--red); font-weight: 800; font-size: .75rem; letter-spacing: 1.5px; text-transform: uppercase; }
.post-card__body h3 { margin: 6px 0; }
.post-card__meta { color: var(--gray); font-size: .82rem; }
.article { max-width: 760px; margin: 0 auto; }
.article h1 { text-transform: none; }
.article .meta { color: var(--gray); margin-bottom: 20px; }
.article p, .article li { font-size: 1.08rem; line-height: 1.7; }
.article h2, .article h3 { text-transform: none; margin-top: 1.4em; }
.article img, .article .article__hero { margin: 20px 0; border: 1px solid var(--line); }

/* ---------- Misc utility ---------- */
.section-head { max-width: 720px; margin-bottom: 28px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { background: var(--charcoal); color: #fff; border: 1px solid var(--line-dark); padding: 6px 14px; font-size: .85rem; font-weight: 700; font-family: var(--font-head); text-transform: uppercase; letter-spacing: 1px; }
.split { display: grid; grid-template-columns: 1fr; gap: 26px; align-items: start; }
.map-embed { aspect-ratio: 16/10; background: var(--bg-soft); border: 1px dashed var(--gray-light); display: flex; align-items: center; justify-content: center; text-align: center; color: var(--gray); padding: 20px; }
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.info-list li { display: flex; gap: 12px; align-items: flex-start; }
.info-list svg { color: var(--red); width: 22px; height: 22px; flex: none; margin-top: 2px; }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td { padding: 7px 0; border-bottom: 1px solid var(--line); }
.hours-table td:last-child { text-align: right; font-weight: 700; }
.photo-frame { border: 1px solid var(--line-dark); border-bottom: 4px solid var(--red); overflow: hidden; }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Responsive ---------- */
@media (min-width: 620px) {
  .grid--cats { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .form .row { grid-template-columns: 1fr 1fr; }
  .filters__row { grid-template-columns: repeat(2, 1fr); }
  .brands { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(3, 1fr); }
  .reviews { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .post-list { grid-template-columns: repeat(2, 1fr); }
  .lp-benefits { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
  .grid--cats { grid-template-columns: repeat(4, 1fr); }
  .filters__row { grid-template-columns: repeat(4, 1fr); }
  .brands { grid-template-columns: repeat(5, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.4fr; }
  .config { grid-template-columns: 1.6fr 1fr; align-items: start; }
  .config__summary { position: sticky; top: calc(var(--header-h) + 16px); }
  .opt-grid { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1fr 1fr; }
  .split--form { grid-template-columns: 1.1fr .9fr; }
  .lp-hero__grid { grid-template-columns: 1.05fr .95fr; padding: 60px 0 70px; }
  .post-list { grid-template-columns: repeat(3, 1fr); }
}

/* Show/hide by breakpoint */
.only-mobile { display: inline-flex; }
.only-desktop { display: none; }
@media (min-width: 900px) {
  .nav { display: flex; }
  .nav-toggle { display: none; }
  .only-mobile { display: none; }
  .only-desktop { display: inline-flex; }
}
@media (max-width: 1080px) {
  .brand-word { display: none; }
}
@media (max-width: 899px) {
  .brand-word { display: inline; font-size: 1.15rem; }
  .nav.main-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .mobile-bar { display: flex; }
  body { padding-bottom: 52px; }
  .header-phone .label { display: none; }
}

/* ============================================================
   INDUSTRIAL FORGED-METAL THEME - from the owner's graphics
   package (ragin-trailers-claude-code-package). This layer
   re-skins the whole site dark: deep blacks, distressed
   crimson, steel highlights, clipped panel corners.
   ============================================================ */
:root {
  --bg: #0b0b0d;
  --bg-soft: #131316;
  --bg-dark: #070707;
  --ink: #f2f2f2;
  --charcoal: #17171a;
  --steel: #202226;
  --gray: #a0a0a6;
  --gray-light: #8d9299;
  --line: #2a2c31;
  --line-dark: #33363c;
  --red: #d31b20;
  --red-dark: #6f090d;
  --red-light: #e8474b;
  --rt-steel: #b9bcc2;
  --rt-glow: 0 0 24px rgba(211, 27, 32, .18);
  --rt-clip: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  --rt-border-red: 1px solid rgba(211, 27, 32, .45);
}
body { background: var(--bg); color: var(--ink); }
h1, h2, h3, h4 { color: #fff; letter-spacing: -.01em; }
.section { background:
    radial-gradient(circle at 12% 8%, rgba(179,18,23,.10), transparent 38%),
    var(--bg); }
.section--soft { background:
    radial-gradient(circle at 88% 12%, rgba(179,18,23,.08), transparent 40%),
    var(--bg-soft); }
.section--dark { background: var(--bg-dark); }
.lead, .muted { color: var(--gray); }
a { color: var(--red-light); }

/* steel text accent for section headings (chrome feel) */
.section-head h2 {
  background: linear-gradient(180deg, #ffffff 0%, #c9ccd2 55%, #83878e 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: #e3e5e8;
}
.section-head h2::after { box-shadow: var(--rt-glow); }

/* buttons: forged red gradient + glow, clipped corners */
.btn { clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); }
.btn--primary { background: linear-gradient(180deg, var(--red) 0%, var(--red-dark) 100%); border-color: rgba(255,255,255,.12); box-shadow: var(--rt-glow); }
.btn--primary:hover { background: linear-gradient(180deg, var(--red-light) 0%, var(--red) 100%); }
.btn--dark { background: #1a1a1e; border-color: rgba(227,229,232,.28); }
.btn--dark:hover { background: #222228; }

/* panels that were white -> forged steel panels */
.inv-card, .why-card, .review, .form-card, .step-card, .cfg-step,
.faq details, .post-card, .opt, .lp-form-wrap, .modal {
  background: linear-gradient(180deg, rgba(35,35,39,.96), rgba(16,16,18,.98));
  color: var(--ink); border: var(--rt-border-red); box-shadow: 0 14px 40px rgba(0,0,0,.45);
}
.inv-card, .why-card, .review, .post-card, .cat-card, .brand-card { clip-path: var(--rt-clip); }
.inv-card__price { color: #fff; }
.inv-card__title { color: #fff; }
.review p { color: var(--rt-steel); }
.review .who { color: #fff; }
.review .stars { color: var(--red-light); }
.review { border-top: 3px solid var(--red); }
.why-card { border-left: 4px solid var(--red); }
.why-card p { color: var(--gray); }
.section--dark .why-card, .section--soft .why-card { background: linear-gradient(180deg, rgba(35,35,39,.96), rgba(16,16,18,.98)); }
.step-card, .cfg-step, .post-card { border-top: 3px solid var(--red); }
.faq details { border-left: 4px solid var(--line-dark); }
.faq details[open] { border-left-color: var(--red); }
.faq details p { color: var(--gray); }
.post-card__media { background: var(--steel); }
.article p, .article li { color: #d8d9dc; }

/* forms & inputs: dark steel */
.field select, .field input, .form input, .form select, .form textarea {
  background: #141417; color: #f2f2f2; border: 1px solid var(--line-dark);
}
.form .field label { color: #cfd4d8; }
.form-note { color: var(--gray); }
.form-success { background: rgba(28,138,78,.14); border-color: rgba(28,138,78,.5); color: #7fd7a4; }
.modal__close { background: #232327; color: #fff; }
.modal__unit { background: #141417; color: #d8d9dc; border-left: 4px solid var(--red); }
.lp-form-wrap { color: var(--ink); }
.lp-form-wrap h2 { color: var(--red-light); }
.opt { background: #141417; border: 2px solid var(--line-dark); }
.opt:hover { border-color: var(--red-light); }
.opt.selected { background: rgba(211,27,32,.12); border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); }
.opt .opt-desc { color: var(--gray); }
.stepper { border-color: var(--line-dark); }
.stepper output { color: #fff; }

/* tables */
.table-wrap { border-color: var(--line-dark); }
table.pay { background: #141417; color: var(--ink); }
table.pay th, table.pay td { border-bottom-color: var(--line-dark); }
table.pay tr:nth-child(even) td { background: #1a1a1e; }

/* misc */
.map-embed { background: #141417; border-color: var(--line-dark); color: var(--gray); }
.hours-table td { border-bottom-color: var(--line-dark); }
.brand-chip, .chip, .filters { border: var(--rt-border-red); }
.brand-chip { clip-path: var(--rt-clip); }
.hero { border-bottom-width: 3px; }
.hero h1 .accent { color: var(--red-light); text-shadow: 0 0 22px rgba(211,27,32,.45); }
.btn--gold { background: linear-gradient(180deg, var(--red) 0%, var(--red-dark) 100%); color: #fff; box-shadow: var(--rt-glow); }
.btn--gold:hover { background: linear-gradient(180deg, var(--red-light) 0%, var(--red) 100%); }
.summary-total .amt { color: #fff; }
.hero__trust, .trust-strip { color: #cfd4d8; }

/* header: bigger chrome logo, subtle texture strip */
.site-header {
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.02) 0 1px, transparent 1px 8px),
    #0a0a0c;
}
.logo-img { height: 56px; width: 56px; object-fit: contain; background: #000; }

/* WHY band icons */
.why-ic { width: 52px; height: 52px; border: 2px solid var(--red); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; margin-bottom: 12px;
  color: var(--red-light); background: rgba(211,27,32,.08); box-shadow: var(--rt-glow); }
.why-ic svg { width: 26px; height: 26px; }

/* Lafayette fleur-de-lis plate */
.fleur-plate {
  display: flex; align-items: center; gap: 16px; padding: 22px 24px;
  background: linear-gradient(180deg, rgba(40,40,44,.96), rgba(14,14,16,.98));
  border: var(--rt-border-red); clip-path: var(--rt-clip); box-shadow: 0 14px 40px rgba(0,0,0,.45);
}
.fleur-plate .fleur { font-size: 3.2rem; line-height: 1;
  background: linear-gradient(180deg, #f0f1f3 0%, #b9bcc2 50%, #6c7076 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.fleur-plate .fp-title { font-family: var(--font-head); font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: #cfd4d8; font-size: .85rem; }
.fleur-plate .fp-city { font-family: var(--font-head); font-weight: 900; text-transform: uppercase; font-size: 1.6rem; color: var(--red-light); letter-spacing: 1px; line-height: 1.05; }

/* video cards - "Built by the Brands You Trust" */
.video-card { background: linear-gradient(180deg, rgba(35,35,39,.96), rgba(16,16,18,.98));
  border: var(--rt-border-red); clip-path: var(--rt-clip); overflow: hidden; color: #fff;
  display: flex; flex-direction: column; box-shadow: 0 14px 40px rgba(0,0,0,.45); }
.video-card .vc-head { padding: 12px 14px 10px; }
.video-card .vc-brand { font-family: var(--font-head); font-weight: 900; text-transform: uppercase; letter-spacing: 1px; font-size: 1.02rem; color: #fff; }
.video-card .vc-title { color: var(--gray); font-size: .82rem; }
.video-card .video-embed { margin-top: auto; }

/* financing band */
.fin-band { display: grid; gap: 22px; align-items: center;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,.03) 0 2px, transparent 2px 16px),
    linear-gradient(100deg, #101013 0%, #1c090b 100%);
  border: var(--rt-border-red); clip-path: var(--rt-clip);
  padding: 30px 26px; box-shadow: 0 14px 40px rgba(0,0,0,.45); }
.fin-band h2 { margin-bottom: 4px; }
.fin-band .fb-sub { color: var(--red-light); font-weight: 800; text-transform: uppercase; letter-spacing: 1px; font-size: .95rem; }
.fin-checks { list-style: none; margin: 14px 0 20px; padding: 0; display: grid; gap: 10px; }
.fin-checks li { display: flex; gap: 10px; align-items: center; font-weight: 700; color: #e6e7ea; }
.fin-checks .ck { width: 26px; height: 26px; flex: none; border-radius: 50%; border: 2px solid var(--red);
  display: inline-flex; align-items: center; justify-content: center; color: var(--red-light); font-weight: 900; font-size: .9rem; box-shadow: var(--rt-glow); }
.fin-band .fb-photo { clip-path: var(--rt-clip); border: var(--rt-border-red); }
.fin-band .fb-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (min-width: 900px) { .fin-band { grid-template-columns: 1.2fr .8fr; padding: 38px 34px; } }

/* ============================================================
   MOCKUP FIDELITY LAYER - matches the approved homepage
   design reference (final-homepage-design-reference.png)
   ============================================================ */

/* header: chrome logo only + red phone pill */
.brand-word { display: none !important; }
.logo-img { height: 60px; width: auto; max-width: 130px; object-fit: contain; }
.header-phone {
  background: linear-gradient(180deg, var(--red) 0%, var(--red-dark) 100%);
  padding: 10px 18px; box-shadow: var(--rt-glow);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  border: 1px solid rgba(255,255,255,.14);
}
.nav a.header-phone:hover { background: linear-gradient(180deg, var(--red-light) 0%, var(--red) 100%); border-bottom-color: transparent; }

/* hero: chrome headline treatment over yard photo */
.hero h1 { font-size: clamp(2.4rem, 7vw, 4.6rem); font-style: italic; }
.hero h1 .chrome {
  background: linear-gradient(180deg, #ffffff 0%, #d4d7db 45%, #7e838b 85%, #b9bcc2 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.65));
}
.hero .subline { font-family: var(--font-head); text-transform: uppercase; font-weight: 700; font-style: italic; letter-spacing: 1px; color: #e3e5e8; font-size: 1rem; }

/* category cards: title bar on top, red VIEW INVENTORY footer */
.cat-card { border: var(--rt-border-red); clip-path: var(--rt-clip); background: linear-gradient(180deg, rgba(30,30,34,.97), rgba(12,12,14,.99)); }
.cat-card__title-bar {
  padding: 12px 10px 10px; text-align: center;
  font-family: var(--font-head); font-weight: 900; text-transform: uppercase; font-style: italic;
  letter-spacing: .5px; font-size: 1.02rem; color: #fff; line-height: 1.1;
}
.cat-card__img { aspect-ratio: 16/11; }
.cat-card__btn {
  margin: 12px; padding: 10px 8px; text-align: center;
  background: linear-gradient(180deg, var(--red) 0%, var(--red-dark) 100%);
  color: #fff; font-family: var(--font-head); font-weight: 800; text-transform: uppercase;
  letter-spacing: 1px; font-size: .85rem; box-shadow: var(--rt-glow);
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}
.cat-card:hover .cat-card__btn { background: linear-gradient(180deg, var(--red-light) 0%, var(--red) 100%); }
@media (min-width: 1100px) { .grid--cats { grid-template-columns: repeat(6, 1fr); gap: 12px; } }

/* WHY band: horizontal strip like the reference */
.why-band { display: grid; gap: 22px; align-items: center; grid-template-columns: 1fr; }
.why-band__title h2 { margin: 0; line-height: .95; }
.why-band__title .t1 {
  display: block; font-style: italic;
  background: linear-gradient(180deg, #ffffff 0%, #c9ccd2 55%, #83878e 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.why-band__title .t2 { display: block; color: var(--red-light); font-style: italic; }
.why-band__title .slashes { color: var(--red); letter-spacing: -2px; font-size: 1.4rem; margin-top: 6px; }
.why-band__items { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.why-item { text-align: center; padding: 0 10px; }
.why-item .why-ic { margin: 0 auto 10px; }
.why-item h3 { font-size: .95rem; margin-bottom: 4px; }
.why-item p { color: var(--gray); font-size: .82rem; margin: 0; line-height: 1.45; }
@media (min-width: 1000px) {
  .why-band { grid-template-columns: auto 1fr auto; }
  .why-band__items { grid-template-columns: repeat(4, 1fr); }
  .why-item + .why-item { border-left: 1px solid rgba(255,255,255,.09); }
}

/* financing band: add shield graphic column */
.fin-shield { display: none; }
@media (min-width: 1000px) {
  .fin-band { grid-template-columns: 1.1fr auto .9fr; }
  .fin-shield { display: flex; align-items: center; justify-content: center; }
  .fin-shield svg { width: 150px; height: 170px; filter: drop-shadow(0 0 26px rgba(211,27,32,.4)); }
}

/* testimonials: 4-up, italic quotes, red stars */
.review p { font-style: italic; }
.review .quote-mark { color: var(--red); font-size: 2.2rem; font-family: Georgia, serif; line-height: .6; display: block; margin-bottom: 10px; }
@media (min-width: 1100px) { .reviews { grid-template-columns: repeat(4, 1fr); } }

/* footer: chrome logo + directions card */
.footer-logo { height: 120px; width: auto; object-fit: contain; margin-bottom: 10px; }
.map-card {
  background: linear-gradient(180deg, rgba(35,35,39,.96), rgba(16,16,18,.98));
  border: var(--rt-border-red); clip-path: var(--rt-clip); padding: 14px;
}
.map-card .map-ph {
  aspect-ratio: 16/9; background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.05) 0 1px, transparent 1px 22px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, transparent 1px 22px),
    #1a1a1e;
  display: flex; align-items: center; justify-content: center; margin-bottom: 12px; position: relative;
}
.map-card .pin { color: var(--red-light); font-size: 2rem; filter: drop-shadow(0 0 10px rgba(211,27,32,.5)); }

/* thin red hairline between major sections */
.section + .section, section.section { border-top: 1px solid rgba(211,27,32,.16); }
.hero + .section { border-top: 0; }

/* video boxes: clean red-line frames (owner: "fix boxes around videos") */
.video-card { clip-path: none; border: 1px solid rgba(211,27,32,.55); background: #101013; box-shadow: 0 10px 30px rgba(0,0,0,.5); }
.video-card .vc-head { padding: 12px 14px; border-bottom: 1px solid rgba(211,27,32,.25); }
.video-card .video-embed { aspect-ratio: 16/9; overflow: hidden; background: #000; }
.video-card .video-embed img { width: 100%; height: 100%; object-fit: cover; display: block; }
#brandVideos { background:
    repeating-linear-gradient(45deg, rgba(255,255,255,.02) 0 2px, transparent 2px 16px), #0d0d10;
  border: 1px solid rgba(211,27,32,.35); padding: 18px; }

/* cinematic photo grade: pulls bright daytime photos into the dark
   forged-metal look of the approved design reference */
.cat-card__img img, .video-embed img, .fb-photo img, .brand-card__media img {
  filter: brightness(.8) contrast(1.18) saturate(.88);
}
.cat-card__img, .video-embed, .fb-photo, .brand-card__media { position: relative; }
.cat-card__img::after, .brand-card__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(7,7,7,.22) 0%, transparent 30% 60%, rgba(7,7,7,.5) 100%);
}
.cat-card:hover .cat-card__img img { filter: brightness(.95) contrast(1.15) saturate(.95); }

/* readability pass: brighten dim text on dark panels */
.opt .opt-desc, .opt-desc { color: #b9bcc2; }
.locked { color: #4ccb84; }
.opt .opt-name { color: #fff; }
.summary-mo { color: #7fd7a4; }
.inv-card__mo { color: #4ccb84; }
table.pay td.mo { color: #4ccb84; }

/* mockup-scale logo: large chrome mark overlapping the hero on desktop */
@media (min-width: 900px) {
  .site-header { overflow: visible; }
  .site-header .logo-img {
    height: 96px; width: auto; max-width: 150px;
    margin: 0 0 -34px 0; position: relative; z-index: 70;
    filter: drop-shadow(0 8px 18px rgba(0,0,0,.65));
  }
}

/* review fixes: even category cards, centered brand chips, mockup-exact logo */
.cat-card__title-bar { min-height: 52px; display: flex; align-items: center; justify-content: center; }
.cat-card__img { aspect-ratio: 16/11; }
.brands { max-width: 1020px; margin-left: auto; margin-right: auto; justify-items: stretch; }
.site-header .logo-img, .footer-brand .logo-img, .footer-nap .logo-img { mix-blend-mode: screen; }
.site-header .logo-img { height: 74px; width: auto; max-width: 120px; }
@media (min-width: 900px) {
  .site-header .logo-img { height: 128px; max-width: 190px; margin: 0 0 -58px 0; }
}
.footer-nap .logo-img { height: 110px; width: auto; max-width: 170px; }
.cat-card__title-bar { min-height: 58px; }

/* hero text legibility over the lighter overlay */
.hero h1 { text-shadow: 0 2px 10px rgba(0,0,0,.85), 0 0 40px rgba(0,0,0,.6); }
.hero .subline { text-shadow: 0 1px 8px rgba(0,0,0,.9); }

/* center brand card text under photos */
.brand-card__body { text-align: center; }
.brand-card__body .btn { margin: 0 auto; }

/* SALE pricing */
.badge--sale { background: linear-gradient(180deg, #d31b20, #6f090d); color: #fff; box-shadow: 0 0 14px rgba(211,27,32,.5); animation: salePulse 1.6s ease-in-out infinite; }
@keyframes salePulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.08); } }
.inv-card__price--sale { color: #e8474b; }
.inv-card__price--sale .was { color: var(--gray); font-size: 1.05rem; font-weight: 600; margin-right: 6px; }

/* catalog-ad deep link: spotlight the trailer the customer clicked */
.inv-card--spotlight { outline: 3px solid var(--red); box-shadow: 0 0 34px rgba(211,27,32,.55); position: relative; }
.inv-card--spotlight::before { content: "THE ONE YOU CLICKED"; position: absolute; top: -1px; left: -1px; z-index: 3;
  background: var(--red); color: #fff; font-family: var(--font-head); font-size: .68rem; font-weight: 800;
  letter-spacing: 1px; padding: 4px 10px; }
