/* ================================
   BLACK RIVER OUTDOORS — MOCKUP
   Two color themes: red (default) & green
   ================================ */

/* ---- DESIGN TOKENS ---- */
:root {
  /* Type scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Layout */
  --content-wide: 1280px;
  --content-default: 1024px;

  /* Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;

  /* Transition */
  --ease: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgb(0 0 0 / 0.25);
  --shadow-md: 0 4px 16px rgb(0 0 0 / 0.35);
  --shadow-lg: 0 12px 40px rgb(0 0 0 / 0.45);

  /* Fonts */
  --font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body: 'Barlow', 'Helvetica Neue', Arial, sans-serif;
}

/* ---- RED THEME (Black River brand) ---- */
[data-color="red"] {
  --accent: #cc1f1f;
  --accent-hover: #b01a1a;
  --accent-active: #8f1414;
  --accent-light: rgba(204, 31, 31, 0.12);
  --accent-glow: rgba(204, 31, 31, 0.3);

  --bg: #111111;
  --surface: #1a1a1a;
  --surface-2: #222222;
  --surface-3: #2a2a2a;
  --border: #333333;
  --divider: #2a2a2a;

  --text: #f0f0f0;
  --text-muted: #999999;
  --text-faint: #555555;
  --text-inverse: #111111;

  --header-bg: #0d0d0d;
  --topbar-bg: #cc1f1f;
  --topbar-text: #fff;
  --section-dark: #0d0d0d;
  --section-mid: #161616;
  --nav-bg: #1a1a1a;
}

/* ---- SHARED LIGHT-BODY VARS (green / blue / orange) ---- */
[data-color="green"],
[data-color="blue"],
[data-color="orange"] {
  --bg: #f4f4f4;
  --surface: #ffffff;
  --surface-2: #ebebeb;
  --surface-3: #e0e0e0;
  --border: #d0d0d0;
  --divider: #e0e0e0;
  --text: #111111;
  --text-muted: #555555;
  --text-faint: #aaaaaa;
  --text-inverse: #ffffff;
  --header-bg: #0a0a0a;
  --topbar-bg: #0a0a0a;
  --section-dark: #1a1a1a;
  --section-mid: #222222;
  --nav-bg: #111111;
}

/* ---- GREEN THEME ---- */
[data-color="green"] {
  --accent: #a2d900;
  --accent-hover: #8ec000;
  --accent-active: #78a800;
  --accent-light: rgba(162, 217, 0, 0.12);
  --accent-glow: rgba(162, 217, 0, 0.3);
  --topbar-text: #a2d900;
}

/* ---- BLUE THEME ---- */
[data-color="blue"] {
  --accent: #00b4d8;
  --accent-hover: #0099ba;
  --accent-active: #007f9c;
  --accent-light: rgba(0, 180, 216, 0.12);
  --accent-glow: rgba(0, 180, 216, 0.3);
  --topbar-text: #00b4d8;
}

/* ---- ORANGE THEME ---- */
[data-color="orange"] {
  --accent: #ff6b00;
  --accent-hover: #e05f00;
  --accent-active: #c25200;
  --accent-light: rgba(255, 107, 0, 0.12);
  --accent-glow: rgba(255, 107, 0, 0.3);
  --topbar-text: #ff6b00;
}

/* ---- BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}

body {
  min-height: 100dvh;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: color var(--ease), background var(--ease), border-color var(--ease), box-shadow var(--ease); }
button { cursor: pointer; background: none; border: none; font: inherit; color: inherit; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  text-transform: uppercase;
  line-height: 1.1;
  letter-spacing: 0.02em;
}

/* ---- TOP BAR ---- */
.topbar {
  background: var(--topbar-bg);
  color: var(--topbar-text);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.03em;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.topbar-inner {
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: var(--space-2) var(--space-6);
  display: flex;
  align-items: center;
  gap: var(--space-6);
  flex-wrap: wrap;
}
.topbar-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  opacity: 0.9;
}
.topbar-right { margin-left: auto; }

/* ---- HEADER ---- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: var(--space-3) var(--space-6);
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.logo { flex-shrink: 0; }
.logo-svg { height: 48px; width: auto; }
.logo-img {
  height: 56px;
  width: auto;
  /* Logo is black — invert to white for dark background */
  filter: brightness(0) invert(1);
}
.footer-logo-img {
  height: 48px;
}

/* Header search */
.header-search {
  flex: 1;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.search-tabs {
  display: flex;
  gap: 2px;
}

.search-tab {
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-xs);
  font-weight: 600;
  font-family: var(--font-display);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--surface-2);
  color: var(--text-muted);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  transition: background var(--ease), color var(--ease);
}
.search-tab.active {
  background: var(--accent);
  color: #fff;
}
.search-tab:hover:not(.active) {
  background: var(--surface-3);
  color: var(--text);
}

.search-input-wrap {
  display: flex;
  background: var(--surface-2);
  border: 1.5px solid var(--border);
  border-radius: 0 var(--radius-sm) var(--radius-sm) var(--radius-sm);
  overflow: hidden;
  transition: border-color var(--ease);
}
.search-input-wrap:focus-within {
  border-color: var(--accent);
}

.search-input {
  flex: 1;
  padding: var(--space-2) var(--space-4);
  background: none;
  border: none;
  color: var(--text);
  font-size: var(--text-sm);
  outline: none;
}
.search-input::placeholder { color: var(--text-muted); }

.search-btn {
  padding: var(--space-2) var(--space-4);
  background: var(--accent);
  color: #fff;
  border-radius: 0;
  transition: background var(--ease);
}
.search-btn:hover { background: var(--accent-hover); }

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-shrink: 0;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text);
  white-space: nowrap;
}
.header-phone:hover { color: var(--accent); }

.theme-switcher {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-full);
  padding: 5px 10px;
  border: 1px solid rgba(255,255,255,0.12);
}
.theme-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease;
  border: 2px solid transparent;
  flex-shrink: 0;
}
.theme-dot.red    { background: #cc1f1f; }
.theme-dot.green  { background: #a2d900; }
.theme-dot.blue   { background: #00b4d8; }
.theme-dot.orange { background: #ff6b00; }
.theme-dot:hover  { transform: scale(1.2); }
.theme-dot.active { border-color: #ffffff; box-shadow: 0 0 0 2px rgba(255,255,255,0.5); transform: scale(1.15); }

.mobile-menu-btn {
  display: none;
  padding: var(--space-2);
  color: var(--text);
}

/* Main nav */
.main-nav {
  background: var(--nav-bg);
  border-top: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: 0 var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-links {
  display: flex;
  align-items: center;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-3) var(--space-4);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 3px solid transparent;
  transition: color var(--ease), border-color var(--ease);
}
.nav-link:hover {
  color: var(--text);
  border-bottom-color: var(--accent);
}

.nav-cta {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: var(--space-2) var(--space-5);
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius-sm);
  transition: background var(--ease);
}
.nav-cta:hover { background: var(--accent-hover); }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-8);
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: background var(--ease), color var(--ease), border-color var(--ease), box-shadow var(--ease);
  white-space: nowrap;
}
.btn-lg { padding: var(--space-4) var(--space-10); font-size: var(--text-lg); }
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 4px 24px var(--accent-glow);
}
.btn-secondary {
  background: var(--surface-2);
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-secondary:hover {
  background: var(--surface-3);
  border-color: var(--text-muted);
}
.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
}

/* Accent text */
.accent-text { color: var(--accent); }

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 75vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  filter: brightness(0.92);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.72) 0%,
    rgba(0,0,0,0.45) 55%,
    rgba(0,0,0,0.1) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: var(--space-20) var(--space-6);
  width: 100%;
}

.hero-eyebrow {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-4);
}

.hero-heading {
  font-size: var(--text-3xl);
  font-weight: 900;
  color: #fff;
  margin-bottom: var(--space-5);
  max-width: 14ch;
  line-height: 1.0;
  letter-spacing: 0.01em;
}

.hero-sub {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.75);
  max-width: 52ch;
  margin-bottom: var(--space-8);
  font-family: var(--font-body);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.6;
}

.hero-btns {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* Hero stats bar */
.hero-stats {
  position: relative;
  z-index: 2;
  background: #111111;
  border-top: 3px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-5) var(--space-12);
  gap: var(--space-1);
}
.stat-num {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}
.stat-label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}
.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
  flex-shrink: 0;
}

/* ---- VALUE BAR ---- */
.value-bar {
  background: var(--accent);
  padding: var(--space-5) var(--space-6);
}
[data-color="green"] .value-bar {
  background: #111111;
  border-bottom: 3px solid var(--accent);
}
.value-inner {
  max-width: var(--content-wide);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-10);
  flex-wrap: wrap;
}
.value-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
[data-color="red"] .value-item svg { stroke: #fff; }
[data-color="red"] .value-item strong { color: #fff; }
[data-color="red"] .value-item span { color: rgba(255,255,255,0.8); font-size: var(--text-xs); }
[data-color="green"] .value-item svg { stroke: var(--accent) !important; }
[data-color="green"] .value-item strong { color: #ffffff; }
[data-color="green"] .value-item span { color: rgba(255,255,255,0.7); font-size: var(--text-xs); }
.value-item div { display: flex; flex-direction: column; }
.value-item strong {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.2;
}

/* ---- SECTIONS ---- */
.section {
  padding: clamp(var(--space-12), 6vw, var(--space-20)) var(--space-6);
}
.section--dark {
  background: var(--section-dark);
}
.section-inner {
  max-width: var(--content-wide);
  margin: 0 auto;
}
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: var(--space-8);
  border-bottom: 2px solid var(--border);
  padding-bottom: var(--space-4);
}
.section-header--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: none;
}
.section-title {
  font-size: var(--text-xl);
  font-weight: 900;
  color: var(--text);
}
.section-sub {
  color: var(--text-muted);
  font-size: var(--text-sm);
  margin-top: var(--space-2);
  text-transform: none;
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: 0;
}
.view-all-link {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  flex-shrink: 0;
}
.view-all-link:hover { color: var(--accent-hover); }

.section-cta {
  text-align: center;
  margin-top: var(--space-10);
}

/* ---- SHOP BY TYPE ---- */
.shop-by-type { background: var(--bg); }
.type-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-3);
}

.type-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-3);
  background: #e8e8e8;
  border: 1.5px solid #d0d0d0;
  border-radius: var(--radius-md);
  text-align: center;
  transition: background var(--ease), border-color var(--ease), transform var(--ease), box-shadow var(--ease);
}
.type-card:hover {
  background: #f0f0f0;
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--accent-glow);
}
.type-card--sale {
  border-color: var(--accent);
  background: #f5f0e8;
}

.type-icon {
  width: 100%;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.type-icon svg {
  width: 80px;
  height: 60px;
}
.type-icon img {
  width: 100%;
  height: 90px;
  object-fit: contain;
  object-position: center;
  transition: transform var(--ease);
}
.type-card:hover .type-icon img {
  transform: scale(1.06);
}
.sale-badge-icon {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: var(--accent);
  border: 3px solid var(--accent);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
}
.type-label {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #333333;
  transition: color var(--ease);
}
.type-card:hover .type-label { color: #111111; }

/* ---- SHOP BY BRAND ---- */
.shop-by-brand { background: var(--section-dark); }
.brand-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-4);
}
.brand-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-5) var(--space-6);
  background: #0a0a0a;
  border: 1.5px solid #222222;
  border-radius: var(--radius-md);
  transition: background var(--ease), border-color var(--ease), transform var(--ease), box-shadow var(--ease);
  aspect-ratio: 3 / 2;
  overflow: hidden;
}
.brand-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}
.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-height: 80px;
  transition: transform 0.25s ease;
  filter: none;
}
.brand-card:hover .brand-logo {
  transform: scale(1.06);
}

/* ---- FEATURED INVENTORY ---- */
.featured-inventory { background: var(--bg); }
.inventory-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
}

.inv-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--ease), transform var(--ease), box-shadow var(--ease);
}
.inv-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.inv-img-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #f0f0f0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.inv-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
  transition: transform 0.3s ease;
}
.inv-card:hover .inv-img {
  transform: scale(1.04);
}
.inv-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-faint);
}
.inv-img-placeholder svg { width: 70%; height: auto; }
.inv-badge {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  padding: var(--space-1) var(--space-3);
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
}
.inv-badge--sale { background: #e6a800; color: #000; }

.inv-info { padding: var(--space-4); }
.inv-cat {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-1);
  display: block;
}
.inv-title {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--space-2);
  line-height: 1.3;
}
.inv-meta { margin-bottom: var(--space-3); }
.inv-location {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-xs);
  color: var(--text-muted);
}
.inv-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: var(--space-3);
}
.inv-price {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 900;
  color: var(--text);
}
.inv-finance {
  font-size: var(--text-xs);
  color: var(--text-muted);
  font-weight: 500;
}

/* ---- REVIEWS ---- */
.reviews-section { background: var(--section-dark); }
.reviews-stars {
  display: flex;
  gap: var(--space-1);
  justify-content: center;
  margin-bottom: var(--space-4);
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  margin-top: var(--space-8);
}

/* On smaller screens, make it horizontally scrollable */
@media (max-width: 900px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .reviews-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: var(--space-4);
    padding-bottom: var(--space-4);
  }
  .review-card {
    min-width: 85vw;
    scroll-snap-align: start;
  }
}
.review-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.review-stars {
  color: var(--accent);
  font-size: var(--text-lg);
  letter-spacing: 0.05em;
}
.review-text {
  font-size: var(--text-sm);
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.7;
  text-transform: none;
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: 0;
  flex: 1;
}
.review-author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  border-top: 1px solid var(--border);
  padding-top: var(--space-4);
}
.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-light);
  border: 1.5px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
}
.review-author div { display: flex; flex-direction: column; gap: 2px; }
.review-author strong {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text);
}
.review-author span {
  font-size: var(--text-xs);
  color: var(--text-muted);
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

/* ---- FINANCING BANNER ---- */
.financing-banner {
  background: var(--accent);
  padding: clamp(var(--space-10), 5vw, var(--space-16)) var(--space-6);
}
[data-color="green"] .financing-banner {
  background: #2a2a2a;
  border-top: 3px solid var(--accent);
  border-bottom: 3px solid var(--accent);
}
.financing-inner {
  max-width: var(--content-wide);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
  flex-wrap: wrap;
}
.financing-text h2 {
  font-size: var(--text-xl);
  font-weight: 900;
  color: #fff;
  margin-bottom: var(--space-2);
}
[data-color="green"] .financing-text h2 { color: #ffffff; }
.financing-text p {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.85);
  max-width: 55ch;
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.6;
}
[data-color="green"] .financing-text p { color: rgba(255,255,255,0.75); }
.financing-actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  flex-shrink: 0;
}
[data-color="green"] .financing-actions .btn-outline-light {
  border-color: rgba(255,255,255,0.4);
  color: #ffffff;
}
[data-color="green"] .financing-actions .btn-primary {
  background: var(--accent);
  color: #ffffff;
}

/* ---- LOCATIONS ---- */
.locations-section { background: var(--bg); }
.locations-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}
.location-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-5);
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color var(--ease), background var(--ease);
}
.location-card:hover {
  border-color: var(--accent);
  background: var(--surface-2);
}
.location-card--primary {
  grid-column: span 2;
  background: var(--surface-2);
  border-color: var(--accent);
  border-width: 2px;
}
.loc-icon { flex-shrink: 0; margin-top: 2px; }
.loc-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}
.loc-info strong {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text);
}
.loc-info span {
  font-size: var(--text-xs);
  color: var(--text-muted);
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}
.loc-hours { color: var(--accent) !important; font-weight: 600 !important; }
.loc-phone { font-weight: 600 !important; color: var(--text) !important; }

/* ---- FOOTER ---- */
.footer {
  background: var(--section-dark);
  border-top: 1px solid var(--border);
  padding-top: clamp(var(--space-10), 5vw, var(--space-16));
}
.footer-inner {
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: 0 var(--space-6) var(--space-10);
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: var(--space-12);
}
.footer-brand { display: flex; flex-direction: column; gap: var(--space-4); }
.footer-brand p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  max-width: 38ch;
  font-family: var(--font-body);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.7;
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}
.footer-col { display: flex; flex-direction: column; gap: var(--space-2); }
.footer-col h4 {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-2);
}
.footer-col a {
  font-size: var(--text-sm);
  color: var(--text-muted);
  transition: color var(--ease);
  font-family: var(--font-body);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: var(--space-4) var(--space-6);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  font-size: var(--text-xs);
  color: var(--text-faint);
  font-family: var(--font-body);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

/* ---- SMS BUTTON ---- */
.sms-btn {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: 90;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: var(--shadow-lg);
  transition: background var(--ease), box-shadow var(--ease), transform var(--ease);
}
.sms-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px var(--accent-glow);
}
[data-color="green"] .sms-btn { color: #ffffff; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1100px) {
  .type-grid { grid-template-columns: repeat(4, 1fr); }
  .brand-grid { grid-template-columns: repeat(4, 1fr); }
  .inventory-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .header-search { display: none; }
  .header-phone { display: none; }
  .mobile-menu-btn { display: flex; }
  .nav-links { display: none; }
  .topbar-right { display: none; }
  .type-grid { grid-template-columns: repeat(3, 1fr); }
  .brand-grid { grid-template-columns: repeat(3, 1fr); }

  .reviews-grid { grid-template-columns: 1fr; }
  .financing-inner { flex-direction: column; }
  .locations-grid { grid-template-columns: repeat(2, 1fr); }
  .location-card--primary { grid-column: span 2; }
  .footer-inner { grid-template-columns: 1fr; gap: var(--space-8); }
}

@media (max-width: 640px) {
  .hero-heading { font-size: clamp(2.5rem, 8vw, 4rem); }
  .type-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-grid { grid-template-columns: repeat(2, 1fr); }
  .inventory-grid { grid-template-columns: 1fr; }
  .locations-grid { grid-template-columns: 1fr; }
  .location-card--primary { grid-column: span 1; }
  .hero-stats { flex-direction: column; gap: var(--space-2); }
  .stat-divider { width: 60px; height: 1px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .value-inner { gap: var(--space-6); }
  .hero-btns { flex-direction: column; }
}

/* ---- TEAM LOGIN BUTTON ---- */
.team-login-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: var(--accent);
  color: #000;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  transition: background var(--ease), transform var(--ease), box-shadow var(--ease);
  white-space: nowrap;
  flex-shrink: 0;
}
[data-color="red"] .team-login-btn { color: #fff; }
.team-login-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px var(--accent-glow);
}

/* ---- SEARCH OVERLAY & MODAL ---- */
.search-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 900;
  backdrop-filter: blur(2px);
}
.search-modal {
  position: fixed;
  top: 80px; left: 50%; transform: translateX(-50%);
  width: min(700px, 95vw);
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
  z-index: 950;
  display: flex;
  flex-direction: column;
  max-height: 75vh;
  overflow: hidden;
}
.search-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #e5e5e5;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #111;
}
.search-modal-close {
  font-size: 1.5rem;
  line-height: 1;
  color: #666;
  padding: 0 4px;
  cursor: pointer;
  background: none;
  border: none;
}
.search-modal-close:hover { color: #111; }
.search-results { overflow-y: auto; flex: 1; }
.search-result-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer;
  transition: background 120ms;
}
.search-result-item:hover { background: #f8f8f8; }
.sri-info { display: flex; flex-direction: column; gap: 2px; }
.sri-type { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.sri-title { font-weight: 600; font-size: 0.95rem; color: #111; }
.sri-loc { font-size: 0.8rem; color: #666; }
.sri-right { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex-shrink: 0; }
.sri-price { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; color: #111; }
.sri-badge { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 2px 8px; border-radius: 4px; background: var(--accent); color: #000; }
[data-color="red"] .sri-badge { color: #fff; }
.sri-badge--sale { background: #e6a800; color: #000 !important; }
.sri-badge--used { background: #666; color: #fff !important; }

/* ---- LOGIN MODAL ---- */
.login-modal {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: min(420px, 95vw);
  background: #111;
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 64px rgba(0,0,0,0.6);
  z-index: 950;
  display: flex;
  flex-direction: column;
  padding: 2.5rem 2rem;
  position: fixed;
}
.login-logo { text-align: center; margin-bottom: 1.25rem; }
.login-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  text-align: center;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}
.login-sub { text-align: center; color: rgba(255,255,255,0.5); font-size: 0.85rem; margin-bottom: 1.75rem; }
.login-form { display: flex; flex-direction: column; gap: 1rem; }
.login-field { display: flex; flex-direction: column; gap: 0.4rem; }
.login-field label { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.6); }
.login-input {
  padding: 0.7rem 0.9rem;
  background: rgba(255,255,255,0.07);
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  color: #fff;
  font-size: 0.95rem;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 150ms;
}
.login-input:focus { border-color: var(--accent); }
.login-input::placeholder { color: rgba(255,255,255,0.25); }
.login-dms-note { margin-top: 1.25rem; text-align: center; font-size: 0.8rem; color: rgba(255,255,255,0.4); }
.login-dms-note a { color: var(--accent); text-decoration: underline; }

/* ---- FINANCING CALCULATOR ---- */
.financing-calc-section { background: var(--bg); }
.calc-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 860px;
  margin: 0 auto;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
}
.calc-inputs { display: flex; flex-direction: column; gap: 1.25rem; }
.calc-field { display: flex; flex-direction: column; gap: 0.4rem; }
.calc-label { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--text-muted); }
.calc-input-wrap { position: relative; display: flex; align-items: center; }
.calc-prefix, .calc-suffix {
  position: absolute;
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.95rem;
  pointer-events: none;
}
.calc-prefix { left: 0.75rem; }
.calc-suffix { right: 0.75rem; }
.calc-input {
  width: 100%;
  padding: 0.65rem 0.85rem 0.65rem 1.75rem;
  background: var(--surface-2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text);
  font-size: 1rem;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 150ms;
}
.calc-input:focus { border-color: var(--accent); }
.calc-select { padding-left: 0.85rem; appearance: none; cursor: pointer; }
.calc-result {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--section-dark);
  border-radius: var(--radius-lg);
  padding: 2rem;
  gap: 0.5rem;
}
.calc-result-label { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.5); }
.calc-result-amount {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}
.calc-result-mo { font-size: 1.4rem; font-weight: 600; color: rgba(255,255,255,0.4); }
.calc-result-detail { font-size: 0.8rem; color: rgba(255,255,255,0.4); max-width: 200px; line-height: 1.4; }
@media (max-width: 640px) {
  .calc-wrap { grid-template-columns: 1fr; }
}

/* ---- FIND YOUR TRAILER (header CTA next to logo) ---- */
.find-trailer-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  margin-left: var(--space-2);
  padding: 0.65rem 1.15rem;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  background: var(--accent);
  border-radius: var(--radius-md, 6px);
  box-shadow: 0 2px 12px var(--accent-glow, rgba(220, 38, 38, 0.4));
  transition: background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
  white-space: nowrap;
}
.find-trailer-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 18px var(--accent-glow, rgba(220, 38, 38, 0.55));
}
.find-trailer-btn:active { transform: translateY(0); }
.find-trailer-btn svg { stroke: currentColor; }

@media (max-width: 900px) {
  .find-trailer-btn span { display: none; }
  .find-trailer-btn { padding: 0.6rem 0.75rem; }
}
