/* ═══════════════════════════════════════════════════════════════════════════
   RockyCarz.com — Light Luxury Theme
   Crisp white base, sharp borders, red accent.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── Design tokens ─────────────────────────────────────────────────────── */
:root {
  --rc-black:      #FFFFFF;       /* page background */
  --rc-surface:    #F6F6F9;       /* card / panel / sidebar */
  --rc-surface-2:  #EBEBEF;       /* inset fields, pills */
  --rc-surface-3:  #E1E1E7;       /* deeper inset, hover */

  --rc-border:     rgba(0,0,0,.07);
  --rc-border-md:  rgba(0,0,0,.12);
  --rc-border-lg:  rgba(0,0,0,.20);

  --rc-white:    #0C0C0F;         /* "white" = darkest ink for headings */
  --rc-text:     #1A1A1F;         /* primary body text */
  --rc-text-2:   #4A4A58;         /* secondary text */
  --rc-muted:    #888896;         /* placeholder / meta */

  --rc-red:      #D41F17;         /* slightly deeper red for light-bg contrast */
  --rc-red-deep: #B51510;
  --rc-red-glow: rgba(212,31,23,.22);
  --rc-warm:     #B8860B;         /* gold accent, darkened for light bg */

  --rc-radius:    8px;
  --rc-radius-lg: 12px;

  --shadow-sm:         0 1px 2px rgba(0,0,0,.06), 0 1px 4px rgba(0,0,0,.04);
  --shadow-md:         0 4px 16px rgba(0,0,0,.08), 0 1px 4px rgba(0,0,0,.05);
  --shadow-lg:         0 12px 40px rgba(0,0,0,.12), 0 4px 12px rgba(0,0,0,.07);
  --shadow-card-hover: 0 0 0 1px rgba(212,31,23,.25), 0 12px 36px rgba(0,0,0,.11);

  --transition: .18s cubic-bezier(.4,0,.2,1);

  --sidebar-w: 270px;
}

/* ─── Reset ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--rc-black);
  color: var(--rc-text);
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img   { display: block; max-width: 100%; }
a     { color: var(--rc-text); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--rc-red); }
button, input, select, textarea { font: inherit; }

/* ─── Layout ─────────────────────────────────────────────────────────────── */
.top-strip-inner, .nav, .section-inner {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
}

/* ─── RC Logo Wordmark ──────────────────────────────────────────────────── */
.rc-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.rc-logo__text {
  font-family: 'Saira Condensed', system-ui, sans-serif;
  font-weight: 800;
  font-style: italic;
  letter-spacing: .5px;
  color: var(--rc-text);
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1;
  white-space: nowrap;
}

.rc-dot { color: var(--rc-red); }

.rc-line {
  display: block;
  height: 3px;
  width: clamp(22px, 3.5vw, 52px);
  border-radius: 2px;
  background: var(--rc-red);
  box-shadow: 0 0 8px var(--rc-red-glow), 0 0 20px rgba(226,35,26,.28);
  flex-shrink: 0;
}

.rc-divider { display: flex; justify-content: center; }
.rc-divider .rc-line { width: 48px; }

/* ─── Top strip ─────────────────────────────────────────────────────────── */
.top-strip {
  background: #F0F0F5;
  border-bottom: 1px solid var(--rc-border-md);
}

.top-strip-inner {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--rc-muted);
}

.top-strip a { color: var(--rc-text-2); font-weight: 600; }
.top-strip a:hover { color: var(--rc-white); }

/* ─── Header ─────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--rc-border-md);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--rc-border-md);
}

.nav {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-links { display: flex; align-items: center; gap: 2px; }

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 6px;
  color: var(--rc-text-2);
  font-size: 0.85rem;
  font-weight: 500;
  transition: color var(--transition), background var(--transition);
}

.nav-links a:hover { color: var(--rc-red); background: var(--rc-surface); }
.nav-links a[aria-current="page"] { color: var(--rc-red); background: var(--rc-surface); font-weight: 600; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none;
  border: 1px solid var(--rc-border-md);
  border-radius: 6px;
  cursor: pointer;
  padding: 10px;
}
.nav-hamburger span { display: block; height: 1.5px; background: var(--rc-text); border-radius: 2px; }

/* ─── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--rc-radius);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), box-shadow var(--transition), transform .12s;
  white-space: nowrap;
  text-decoration: none;
}

.btn:active { transform: scale(0.97); }

.btn-primary { color: #fff; background: var(--rc-red); border-color: var(--rc-red); }
.btn-primary:hover { background: var(--rc-red-deep); border-color: var(--rc-red-deep); color: #fff; box-shadow: 0 0 22px var(--rc-red-glow); }

.btn-secondary { color: var(--rc-text); background: #fff; border-color: var(--rc-border-lg); }
.btn-secondary:hover { color: var(--rc-white); background: var(--rc-surface-2); border-color: var(--rc-border-lg); }

.btn-dark { color: var(--rc-text); background: var(--rc-surface-2); border-color: var(--rc-border-md); }
.btn-dark:hover { background: var(--rc-red); border-color: var(--rc-red); color: #fff; }

.btn-ghost {
  color: var(--rc-red);
  background: transparent;
  border: none;
  padding: 0;
  min-height: auto;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  cursor: pointer;
  text-decoration: none;
}
.btn-ghost:hover { color: var(--rc-red-deep); }

.btn-lg { min-height: 50px; padding: 0 28px; font-size: 0.94rem; }

/* ─── Typography ─────────────────────────────────────────────────────────── */
h1, h2, h3, h4 { margin: 0; line-height: 1.05; }

h1 {
  font-family: 'Saira Condensed', system-ui, sans-serif;
  font-weight: 800; font-style: italic;
  font-size: clamp(2.4rem, 5vw, 5rem);
  color: var(--rc-text);
  letter-spacing: .5px;
  text-transform: uppercase;
}

h2 {
  font-family: 'Saira Condensed', system-ui, sans-serif;
  font-weight: 700; font-style: italic;
  font-size: clamp(1.8rem, 3.5vw, 2.9rem);
  color: var(--rc-text);
  letter-spacing: .3px;
  text-transform: uppercase;
}

h3 {
  font-family: 'Saira Condensed', system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--rc-text);
  text-transform: uppercase;
  letter-spacing: .5px;
}

p { color: var(--rc-text-2); line-height: 1.72; margin: .8em 0 0; }

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: var(--rc-red);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
}

.section-kicker::before {
  content: '';
  display: block;
  width: 18px; height: 1.5px;
  background: var(--rc-red);
  border-radius: 2px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--rc-warm);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 16px;
  opacity: .85;
}

/* ─── Compact Hero (merged home+inventory) ─────────────────────────────── */
.hero-compact {
  position: relative;
  background: var(--rc-surface);
  border-bottom: 1px solid var(--rc-border-md);
  overflow: hidden;
}

.hero-compact::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 120% at 0% 50%, rgba(212,31,23,.06) 0%, transparent 55%),
    radial-gradient(ellipse 40% 80% at 100% 0%, rgba(184,134,11,.05) 0%, transparent 50%);
  pointer-events: none;
}

/* Dot-grid texture */
.hero-compact::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(0,0,0,.05) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.hero-compact .section-inner {
  position: relative;
  z-index: 1;
  padding: 52px 0 48px;
}

.hero-compact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.hero-compact-text h1 { font-size: clamp(2rem, 4vw, 3.6rem); }
.hero-compact-text p { max-width: 480px; font-size: 0.96rem; margin-top: 12px; }

.hero-compact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex-shrink: 0;
}

/* ─── Full-screen Hero (for standalone hero pages) ─────────────────────── */
.hero {
  position: relative;
  min-height: calc(100svh - 106px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 15% 50%, rgba(212,31,23,.05) 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 85% 20%, rgba(184,134,11,.04) 0%, transparent 50%),
    linear-gradient(135deg, #F4F4F8 0%, #F7F7FA 40%, #F2F2F6 100%);
}

.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(0,0,0,.05) 1px, transparent 1px);
  background-size: 28px 28px;
}

.hero .section-inner { position: relative; z-index: 1; padding: 90px 0 60px; }
.hero p { max-width: 540px; color: var(--rc-text-2); font-size: 1.06rem; margin-top: 20px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* ─── Quick search (hero widget) ───────────────────────────────────────── */
.quick-search {
  margin-top: 44px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--rc-border-md);
  border-radius: var(--rc-radius-lg);
  box-shadow: var(--shadow-md);
}

.quick-search-label {
  display: block;
  margin-bottom: 12px;
  color: var(--rc-muted);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.quick-search form { display: grid; grid-template-columns: repeat(5, 1fr) auto; gap: 10px; align-items: end; }

/* ─── Form elements ─────────────────────────────────────────────────────── */
label {
  display: grid;
  gap: 6px;
  color: var(--rc-muted);
  font-weight: 600;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

input, select, textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--rc-border-md);
  border-radius: 6px;
  padding: 9px 12px;
  background: #fff;
  color: var(--rc-text);
  transition: border-color var(--transition), box-shadow var(--transition);
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--rc-red);
  box-shadow: 0 0 0 3px rgba(212,31,23,.10);
}

textarea { min-height: 120px; resize: vertical; }

/* ─── Sections ─────────────────────────────────────────────────────────── */
.section { padding: 80px 0; }
.section-dark { background: var(--rc-surface); }
.section-soft { background: var(--rc-surface); }

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

/* ─── ★ INVENTORY LAYOUT — sidebar + grid ───────────────────────────────── */
.inventory-section {
  padding: 40px 0 80px;
  background: #FAFAFD;
}

.inventory-layout {
  display: grid;
  grid-template-columns: var(--sidebar-w) 1fr;
  gap: 28px;
  align-items: start;
}

/* ─── Filter Sidebar ────────────────────────────────────────────────────── */
.filter-sidebar {
  position: sticky;
  top: 84px;
  background: #fff;
  border: 1px solid var(--rc-border-md);
  border-radius: var(--rc-radius-lg);
  overflow: hidden;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--rc-border-md) transparent;
  box-shadow: var(--shadow-sm);
}

.filter-sidebar::-webkit-scrollbar { width: 4px; }
.filter-sidebar::-webkit-scrollbar-thumb { background: var(--rc-border-md); border-radius: 4px; }

.filter-sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px 14px;
  border-bottom: 1px solid var(--rc-border-md);
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 2;
}

.filter-sidebar-title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--rc-muted);
}

/* Keyword search inside sidebar */
.filter-keyword {
  padding: 12px 14px;
  border-bottom: 1px solid var(--rc-border-md);
}

.filter-keyword input {
  min-height: 38px;
  font-size: 0.85rem;
  padding: 8px 12px;
  background: var(--rc-surface);
  border-color: var(--rc-border-md);
}

/* Each collapsible filter group */
.filter-section {
  border-bottom: 1px solid var(--rc-border);
}

.filter-section-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 18px;
  background: none;
  border: none;
  color: var(--rc-text);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  transition: background var(--transition);
  text-align: left;
}

.filter-section-toggle:hover { background: var(--rc-surface); }

.filter-toggle-right,
.filter-section-toggle-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.filter-active-count {
  display: none;
  background: var(--rc-red);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  width: 17px; height: 17px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.filter-active-count.visible { display: flex; }

.filter-chevron {
  width: 14px; height: 14px;
  color: var(--rc-muted);
  transition: transform var(--transition);
  flex-shrink: 0;
}

.filter-section.open .filter-chevron { transform: rotate(180deg); }

.filter-section-body {
  display: none;
  padding: 2px 18px 14px;
  flex-direction: column;
  gap: 1px;
}

.filter-section.open .filter-section-body { display: flex; }

/* Checkbox rows */
.filter-check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 2px;
  cursor: pointer;
  border-radius: 4px;
  transition: background var(--transition);
}

.filter-check:hover { background: var(--rc-surface); padding-left: 6px; margin: 0 -4px; }

.filter-check input[type="checkbox"] {
  width: 15px; height: 15px;
  min-height: unset;
  border-radius: 3px;
  accent-color: var(--rc-red);
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
  border: 1px solid var(--rc-border-md);
  background: #fff;
}

.filter-check-label {
  font-size: 0.86rem;
  color: var(--rc-text-2);
  flex: 1;
  cursor: pointer;
}

.filter-check-count {
  font-size: 0.72rem;
  color: var(--rc-muted);
  margin-left: auto;
  flex-shrink: 0;
}

/* Year / min-max row */
.filter-year-row,
.filter-range-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 4px 0 2px;
}

.filter-range-row select,
.filter-year-label select {
  min-height: 36px;
  font-size: 0.82rem;
  padding: 6px 10px;
  width: 100%;
}

.filter-year-label,
.filter-range-label {
  font-size: 0.68rem;
  color: var(--rc-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding-top: 4px;
}

/* ─── Inventory main (right side) ───────────────────────────────────────── */
.inventory-main {}

.sort-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.sort-bar-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.result-count {
  display: inline-flex;
  align-items: center;
  padding: 5px 13px;
  border-radius: 4px;
  background: #fff;
  border: 1px solid var(--rc-border-md);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--rc-text-2);
}

.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.active-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(226,35,26,.12);
  border: 1px solid rgba(226,35,26,.3);
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--rc-red);
  cursor: pointer;
  transition: background var(--transition);
}

.active-filter-chip:hover { background: rgba(226,35,26,.2); }
.active-filter-chip .chip-x { font-size: 0.9rem; line-height: 1; }

.sort-select {
  min-height: 38px;
  width: auto;
  padding: 0 12px;
  font-size: 0.84rem;
  border-radius: 6px;
  cursor: pointer;
}

/* ─── Vehicle cards ─────────────────────────────────────────────────────── */
.inventory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

/* Sidebar present → 2 columns in grid */
.inventory-layout .inventory-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.vehicle-card {
  background: #fff;
  border: 1px solid var(--rc-border-md);
  border-radius: var(--rc-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.vehicle-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(212,31,23,.28);
}

.vehicle-card-img-wrap {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--rc-border);
}

.vehicle-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--rc-surface);
  transition: transform .4s ease;
  display: block;
}

.vehicle-card:hover img { transform: scale(1.04); }

.vehicle-badge {
  position: absolute;
  top: 10px; left: 10px;
  padding: 3px 9px;
  border-radius: 4px;
  font-size: 0.66rem;
  font-weight: 700;
  background: var(--rc-red);
  color: #fff;
  letter-spacing: .07em;
  text-transform: uppercase;
  box-shadow: 0 0 10px var(--rc-red-glow);
}

.vehicle-body { padding: 16px 18px 20px; }

.price {
  font-family: 'Saira Condensed', system-ui, sans-serif;
  font-weight: 800;
  font-style: italic;
  color: var(--rc-red);
  font-size: 1.55rem;
  line-height: 1;
  letter-spacing: .5px;
}

.vehicle-body h3 {
  font-size: 0.98rem;
  text-transform: none;
  font-style: normal;
  letter-spacing: 0;
  font-family: 'Inter', sans-serif;
  margin: 8px 0 3px;
  font-weight: 600;
}

.vehicle-body h3 a { color: var(--rc-text); }
.vehicle-body h3 a:hover { color: var(--rc-red); }

.vehicle-body > p { font-size: 0.81rem; color: var(--rc-muted); margin: 0; }

.meta-row { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 11px; }

.pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--rc-border-md);
  border-radius: 4px;
  padding: 3px 8px;
  color: var(--rc-text-2);
  background: var(--rc-surface);
  font-size: 0.72rem;
  font-weight: 500;
}

.card-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 13px; }

/* ─── Feature tiles ─────────────────────────────────────────────────────── */
.tile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.tile {
  background: #fff;
  border: 1px solid var(--rc-border-md);
  border-radius: var(--rc-radius-lg);
  padding: 30px 26px;
  transition: border-color var(--transition), transform var(--transition);
  position: relative;
  overflow: hidden;
}

.tile::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(226,35,26,.5), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.tile:hover { border-color: var(--rc-border-lg); transform: translateY(-3px); }
.tile:hover::before { opacity: 1; }

.tile-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: 8px;
  margin-bottom: 18px;
  background: rgba(226,35,26,.1);
  border: 1px solid rgba(226,35,26,.2);
  color: var(--rc-red);
}

.tile-icon svg { width: 21px; height: 21px; }
.tile h3 { font-size: 1rem; letter-spacing: .06em; margin-bottom: 10px; }
.tile p { margin-top: 0; font-size: 0.88rem; color: var(--rc-text-2); }

/* ─── Trust bar ─────────────────────────────────────────────────────────── */
.trust-bar { background: #fff; border-bottom: 1px solid var(--rc-border-md); }

.trust-bar-inner {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
}

.trust-stat { display: flex; align-items: center; gap: 14px; padding: 22px 20px; flex: 1; min-width: 160px; }
.trust-stat + .trust-stat { border-left: 1px solid var(--rc-border-md); }

.trust-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 8px;
  background: rgba(226,35,26,.1);
  border: 1px solid rgba(226,35,26,.18);
  color: var(--rc-red);
  flex-shrink: 0;
}

.trust-icon svg { width: 19px; height: 19px; }

.trust-stat-number {
  display: block;
  font-family: 'Saira Condensed', system-ui, sans-serif;
  font-weight: 800; font-style: italic;
  font-size: 1.4rem;
  color: var(--rc-white);
  line-height: 1;
}

.trust-stat-label { display: block; font-size: 0.74rem; color: var(--rc-muted); font-weight: 500; margin-top: 3px; }

/* ─── Pillar band ────────────────────────────────────────────────────────── */
.pillars { background: var(--rc-surface); border-top: 1px solid var(--rc-border-md); border-bottom: 1px solid var(--rc-border-md); }

.pillars-inner {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.pillar {
  padding: 52px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: background var(--transition);
}

.pillar:hover { background: var(--rc-surface-2); }
.pillar + .pillar { border-left: 1px solid var(--rc-border-md); }

.pillar-star { font-size: 1.4rem; line-height: 1; color: var(--rc-red); filter: drop-shadow(0 0 8px rgba(226,35,26,.75)); }
.pillar h3 { font-size: 1.5rem; letter-spacing: .1em; margin: 2px 0 0; }
.pillar p { margin: 0; font-size: 0.85rem; color: var(--rc-muted); max-width: 200px; line-height: 1.6; }

/* ─── Showroom ───────────────────────────────────────────────────────────── */
.showroom { padding: 80px 0; background: var(--rc-surface); }

.showroom-frame {
  position: relative;
  background: #111114;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--rc-radius-lg);
  overflow: hidden;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 52px 32px;
  /* REPLACE: background-image: url("assets/showroom-interior.jpg"); background-size:cover; background-position:center; */
}

.showroom-frame::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 80% at 50% 50%, rgba(212,31,23,.07) 0%, transparent 70%);
  pointer-events: none; z-index: 1;
}

.showroom-frame::after {
  content: '';
  position: absolute; inset: 0;
  box-shadow: inset 0 0 60px rgba(0,0,0,.4);
  pointer-events: none;
}

.showroom-lights {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 24px;
  z-index: 2;
}

.showroom-lights span {
  display: block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--rc-warm);
  box-shadow: 0 0 10px rgba(246,201,136,.95), 0 0 22px rgba(246,201,136,.5);
}

.showroom-content {
  position: relative; z-index: 2;
  text-align: center;
  display: flex; flex-direction: column;
  align-items: center; gap: 18px;
}

.showroom-content .rc-logo__text { font-size: clamp(28px, 4vw, 52px); color: #fff; }
.showroom-caption { color: rgba(255,255,255,.45); font-size: 0.78rem; letter-spacing: .1em; text-transform: uppercase; margin: 0; }

/* ─── CTA Banner ─────────────────────────────────────────────────────────── */
.banner {
  position: relative; overflow: hidden;
  background: #fff;
  border-top: 1px solid var(--rc-border-md);
  border-bottom: 1px solid var(--rc-border-md);
}

.banner::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 100% at 100% 50%, rgba(212,31,23,.06) 0%, transparent 65%);
}

.banner .section-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px; flex-wrap: wrap;
  padding: 64px 0;
}

.banner p { max-width: 460px; }

/* ─── Page title ─────────────────────────────────────────────────────────── */
.page-title {
  padding: 56px 0 36px;
  background: var(--rc-black);
  border-bottom: 1px solid var(--rc-border-md);
}

.page-title p { max-width: 640px; }

/* ─── Detail page ────────────────────────────────────────────────────────── */
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) 0.8fr;
  gap: 26px;
  align-items: start;
}

.detail-hero img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--rc-radius-lg);
  border: 1px solid var(--rc-border-md);
}

.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 8px; }

.gallery img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--rc-radius);
  border: 1px solid var(--rc-border);
  cursor: pointer;
  transition: opacity var(--transition);
}

.gallery img:hover { opacity: .8; }

/* ─── Panel ──────────────────────────────────────────────────────────────── */
.panel {
  background: #fff;
  border: 1px solid var(--rc-border-md);
  border-radius: var(--rc-radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.panel-sticky { position: sticky; top: 86px; }

.spec-table { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

.spec-table div {
  padding: 11px 13px;
  background: var(--rc-surface);
  border-radius: 6px;
  border: 1px solid var(--rc-border-md);
}

.spec-table dt { color: var(--rc-muted); font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.spec-table dd { margin: 4px 0 0; font-weight: 600; font-size: 0.88rem; color: var(--rc-text); }

.spec-list { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }

.spec-list span {
  border: 1px solid var(--rc-border-md);
  border-radius: 4px;
  padding: 4px 11px;
  color: var(--rc-text-2);
  background: var(--rc-surface);
  font-size: 0.8rem; font-weight: 500;
}

/* ─── Split layout ────────────────────────────────────────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }

/* ─── Lead form ──────────────────────────────────────────────────────────── */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px; }
.form-grid .full { grid-column: 1 / -1; }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

.notice {
  display: none;
  margin-top: 14px;
  padding: 13px 16px;
  border-radius: 6px;
  font-weight: 600; font-size: 0.88rem;
  color: #7af0b5;
  background: rgba(122,240,181,.07);
  border: 1px solid rgba(122,240,181,.18);
}

.notice[data-show="true"] { display: block; }

/* ─── Reviews placeholder ────────────────────────────────────────────────── */
.reviews-placeholder {
  background: #fff;
  border: 1px solid var(--rc-border-md);
  border-radius: var(--rc-radius-lg);
  padding: 48px 36px;
  text-align: center;
}

.reviews-placeholder h3 { font-style: normal; text-transform: none; font-size: 1.05rem; letter-spacing: 0; margin-bottom: 8px; font-family: 'Inter', sans-serif; font-weight: 600; }
.reviews-placeholder p { margin: 0; font-size: 0.88rem; }

/* ─── Footer (always dark for contrast) ──────────────────────────────────── */
.site-footer { background: #111114; border-top: 1px solid rgba(255,255,255,.08); padding: 68px 0 0; }

.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 44px; padding-bottom: 56px; }

.site-footer h3 {
  font-size: 0.68rem; font-style: normal;
  text-transform: uppercase; letter-spacing: .12em;
  color: rgba(255,255,255,.35); font-family: 'Inter', sans-serif;
  font-weight: 700; margin-bottom: 18px;
}

.site-footer p, .site-footer a { font-size: 0.86rem; color: rgba(255,255,255,.4); }
.site-footer a:hover { color: #fff; }
.site-footer .rc-logo { margin-bottom: 18px; }
.site-footer .rc-logo__text { color: #fff; }

.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.footer-links a { color: rgba(255,255,255,.55); font-weight: 500; }
.footer-links a:hover { color: #fff; }

.hours-list { list-style: none; padding: 0; margin: 0; }

.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
  font-size: 0.83rem;
  color: rgba(255,255,255,.4);
}

.hours-list li strong { color: rgba(255,255,255,.7); font-weight: 500; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,.07); padding: 18px 0; font-size: 0.74rem; color: rgba(255,255,255,.28); text-align: center; }

/* ─── Mobile sticky CTA ──────────────────────────────────────────────────── */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 90;
  background: #fff;
  border-top: 1px solid var(--rc-border-md);
  padding: 10px 16px;
  gap: 10px;
  box-shadow: 0 -4px 20px rgba(0,0,0,.10);
}

/* ─── Empty state ────────────────────────────────────────────────────────── */
.empty-state {
  grid-column: 1 / -1;
  padding: 48px 32px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--rc-border-md);
  border-radius: var(--rc-radius-lg);
}

.empty-state h3 { text-transform: none; font-style: normal; font-size: 1.05rem; font-family: 'Inter', sans-serif; font-weight: 600; letter-spacing: 0; margin-bottom: 8px; }
.empty-state p a { color: var(--rc-red); }

/* ─── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  :root { --sidebar-w: 240px; }
  .inventory-layout .inventory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .top-strip-inner { flex-direction: column; align-items: flex-start; padding: 8px 0; gap: 4px; min-height: auto; }
  .nav { padding: 10px 0; min-height: 60px; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border-bottom: 1px solid var(--rc-border-md);
    padding: 8px 16px 14px;
    gap: 2px;
    z-index: 50;
    box-shadow: var(--shadow-lg);
  }

  .nav-links.open { display: flex; }
  .nav-links a { min-height: 46px; padding: 0 12px; font-size: 0.92rem; }
  .nav-hamburger { display: flex; }
  .site-header { position: relative; }

  /* Sidebar collapses to top-bar on mobile */
  .inventory-layout {
    grid-template-columns: 1fr;
  }

  .filter-sidebar {
    position: static;
    max-height: none;
    overflow: visible;
  }

  .filter-sidebar-mobile-toggle {
    display: flex !important;
  }

  .filter-sidebar-body {
    display: none;
  }

  .filter-sidebar.mobile-open .filter-sidebar-body {
    display: block;
  }

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

  .hero-compact-inner { flex-direction: column; gap: 24px; }

  .split, .detail-grid, .footer-grid { grid-template-columns: 1fr; }
  .tile-grid { grid-template-columns: repeat(2, 1fr); }
  .pillars-inner { grid-template-columns: 1fr; }
  .pillar + .pillar { border-left: none; border-top: 1px solid var(--rc-border-md); }
  .pillar { padding: 36px 28px; }
  .trust-stat + .trust-stat { border-left: none; border-top: 1px solid var(--rc-border-md); }
  .banner .section-inner { flex-direction: column; align-items: flex-start; }

  .mobile-cta { display: flex; }
  body { padding-bottom: 72px; }
}

@media (max-width: 560px) {
  .top-strip-inner, .nav, .section-inner { width: min(100% - 24px, 1280px); }
  .tile-grid, .form-grid, .spec-table, .gallery, .inventory-grid,
  .inventory-layout .inventory-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .showroom-lights span { width: 5px; height: 5px; }
  .trust-bar-inner { flex-direction: column; }
  .trust-stat + .trust-stat { border-left: none; border-top: 1px solid var(--rc-border-md); }
  .trust-stat { padding: 14px 0; }
}

/* Mobile filter toggle button — hidden on desktop */
.filter-sidebar-mobile-toggle {
  display: none;
  width: 100%;
  padding: 13px 18px;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  border-bottom: 1px solid var(--rc-border-md);
  color: var(--rc-text);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  cursor: pointer;
}
