/* ===== USED FLATBED TRAILER SALES — Redesigned v3 ===== */

:root {
  --color-bg: #f5f6f8;
  --color-text: #1a1e24;
  --color-text-mid: #3d4451;
  --color-text-light: #6b7280;
  --color-border: #d1d5db;
  --color-border-light: #e5e7eb;
  --color-accent: #1a6b3c;
  --color-accent-hover: #145530;
  --color-accent-light: #e8f5ee;
  --color-accent-glow: rgba(26,107,60,0.12);
  --color-surface: #ffffff;
  --color-surface-alt: #f1f3f5;
  --color-dark: #0f1419;
  --color-dark-mid: #1c2127;
  --color-dark-soft: #252b33;
  --color-white: #ffffff;
  --color-warm: #fafaf8;
  --color-gold: #c8a84e;
  --color-tier-newer: #2563eb;
  --color-tier-working: #c8a84e;
  --color-tier-budget: #9c6f3d;
  --color-tier-wholesale: #6b7280;
  /* Legacy alias — keep for any external links that referenced roadworthy */
  --color-tier-roadworthy: #c8a84e;
  --font-body: 'Source Sans 3', sans-serif;
  --font-heading: 'DM Sans', sans-serif;
  --max-width: 1100px;
  --radius: 10px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.03);
  --shadow-md: 0 4px 14px rgba(0,0,0,0.07), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.09);
  --shadow-accent: 0 4px 16px rgba(26,107,60,0.2);
  --transition-fast: 0.15s ease;
  --transition-med: 0.25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: var(--color-accent); text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: var(--color-accent-hover); }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* ===== HEADER ===== */
.site-header {
  background: var(--color-dark);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
}

.site-logo {
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.2;
  flex-shrink: 0;
}
.site-logo:hover { text-decoration: none; color: var(--color-white); }
.site-logo span {
  display: block;
  font-size: 0.67rem;
  font-weight: 500;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 2px;
}

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

.nav-link {
  color: rgba(255,255,255,0.7);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--radius);
  transition: background var(--transition-fast), color var(--transition-fast);
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.nav-link:hover { background: rgba(255,255,255,0.08); color: #fff; text-decoration: none; }
.nav-link.active { color: #fff; background: rgba(255,255,255,0.1); }

.nav-cta {
  background: var(--color-accent);
  color: #fff !important;
  font-size: 0.86rem;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: var(--radius);
  margin-left: 8px;
  transition: all var(--transition-fast);
  letter-spacing: 0.01em;
  box-shadow: 0 2px 8px rgba(26,107,60,0.3);
}
.nav-cta:hover { background: var(--color-accent-hover); text-decoration: none; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(26,107,60,0.35); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: rgba(255,255,255,0.8);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 6px 10px;
  line-height: 1;
  border-radius: 6px;
  transition: background var(--transition-fast);
}
.nav-toggle:hover { background: rgba(255,255,255,0.1); }

/* ===== HERO BANNER IMAGE (Homepage only) ===== */
.hero-banner {
  width: 100%;
  height: 340px;
  position: relative;
  overflow: hidden;
  background: var(--color-dark);
}
.hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.hero-banner::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.05) 50%, rgba(15,20,25,0.85) 100%);
  pointer-events: none;
}

/* ===== HERO ===== */
.hero {
  background: var(--color-dark);
  color: var(--color-white);
  padding: 64px 24px 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
/* Subtle diagonal accent line */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(165deg, transparent 48%, rgba(26,107,60,0.08) 48%, rgba(26,107,60,0.08) 52%, transparent 52%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }

.hero h1 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.65);
  max-width: 580px;
  margin: 0 auto 32px;
  line-height: 1.65;
}

.hero-buttons { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

.hero-contact {
  font-size: 0.86rem;
  color: rgba(255,255,255,0.4);
  margin-top: 28px;
}
.hero-contact a { color: rgba(255,255,255,0.7); font-weight: 600; transition: color var(--transition-fast); }
.hero-contact a:hover { color: #fff; }

/* ===== TRUST STRIP ===== */
.trust-strip {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border-light);
  padding: 18px 24px;
}
.trust-strip-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.trust-item {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.01em;
}
.trust-item::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  flex-shrink: 0;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition-med);
  border: none;
  text-align: center;
  text-decoration: none;
  line-height: 1.3;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
  box-shadow: var(--shadow-accent);
}
.btn-primary:hover {
  background: var(--color-accent-hover);
  color: var(--color-white);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26,107,60,0.3);
}

.btn-outline-light {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255,255,255,0.25);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
  text-decoration: none;
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
}
.btn-outline:hover {
  background: var(--color-accent);
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent);
}

.btn-lg { padding: 16px 42px; font-size: 1rem; border-radius: var(--radius-lg); }

.btn-card {
  display: block;
  width: 100%;
  padding: 14px 20px;
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: var(--radius);
  margin-top: auto;
}

/* ===== SECTIONS ===== */
.section { padding: 64px 24px; }
.section-white { background: var(--color-surface); }
.section-warm { background: var(--color-warm); }
.section-dark {
  background: var(--color-dark);
  color: var(--color-white);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--color-text);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.section-dark .section-title { color: var(--color-white); }

.section-subtitle {
  font-size: 0.95rem;
  color: var(--color-text-light);
  margin-bottom: 36px;
  line-height: 1.6;
  max-width: 640px;
}
.section-dark .section-subtitle { color: rgba(255,255,255,0.55); }

/* Centered section titles */
.section-center { text-align: center; }
.section-center .section-subtitle { margin-left: auto; margin-right: auto; }

/* ===== HOW IT WORKS (Home Page) ===== */
.how-it-works-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
}
.how-it-works-grid::before {
  content: "";
  position: absolute;
  top: 28px;
  left: calc(12.5% + 20px);
  right: calc(12.5% + 20px);
  height: 2px;
  background: rgba(255,255,255,0.12);
  z-index: 0;
}

.hiw-step {
  text-align: center;
  padding: 0 16px;
  position: relative;
  z-index: 1;
}

.hiw-num {
  width: 56px;
  height: 56px;
  background: var(--color-accent);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  box-shadow: 0 4px 16px rgba(26,107,60,0.35);
  position: relative;
}

.hiw-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 8px;
}

.hiw-desc {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.55;
}
.hiw-desc a { color: rgba(255,255,255,0.75); text-decoration: underline; text-decoration-color: rgba(255,255,255,0.3); }
.hiw-desc a:hover { color: #fff; text-decoration-color: #fff; }

/* ===== TIER CARDS ===== */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: var(--max-width);
  margin: 0 auto;
  align-items: stretch;
}

.tier-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: 28px 22px 24px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-med);
  position: relative;
  overflow: hidden;
}
/* Tier accent stripe — always visible, color varies by tier */
.tier-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--color-accent);
}
.tier-card.tier-newer::before { background: var(--color-tier-newer); }
.tier-card.tier-working::before { background: var(--color-tier-working); }
.tier-card.tier-budget::before { background: var(--color-tier-budget); }
.tier-card.tier-wholesale::before { background: var(--color-tier-wholesale); }
/* Legacy alias */
.tier-card.tier-roadworthy::before { background: var(--color-tier-working); }

.tier-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--color-border);
  transform: translateY(-3px);
}

.tier-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  background: var(--color-accent-light);
  padding: 5px 12px;
  border-radius: 6px;
  margin-bottom: 16px;
  align-self: flex-start;
}
.tier-card.tier-newer .tier-label {
  color: var(--color-tier-newer);
  background: rgba(37,99,235,0.1);
}
.tier-card.tier-working .tier-label {
  color: #8a7026;
  background: rgba(200,168,78,0.15);
}
.tier-card.tier-budget .tier-label {
  color: #7a5530;
  background: rgba(156,111,61,0.13);
}
.tier-card.tier-wholesale .tier-label {
  color: #4b5563;
  background: rgba(107,114,128,0.12);
}
/* Legacy alias */
.tier-card.tier-roadworthy .tier-label {
  color: #8a7026;
  background: rgba(200,168,78,0.15);
}

.tier-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.tier-meta {
  font-size: 0.88rem;
  color: var(--color-text-mid);
  font-weight: 500;
  margin-bottom: 14px;
  line-height: 1.45;
}

.tier-card p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.6;
  margin-bottom: 22px;
  flex-grow: 1;
}

/* ===== INFO GRID ===== */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.info-block {
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-med);
}
.info-block:hover { box-shadow: var(--shadow-md); }

.info-block h3 {
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-accent-light);
}
.info-block p, .info-block li {
  font-size: 0.9rem;
  color: var(--color-text-mid);
  line-height: 1.65;
}
.info-block ul { list-style: none; padding: 0; }
.info-block li { padding: 6px 0 6px 22px; position: relative; }
.info-block li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
  opacity: 0.7;
}

/* ===== LOCATION CARDS / FILTERS ===== */
.filter-bar {
  max-width: var(--max-width);
  margin: 0 auto 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.filter-bar-sticky {
  position: sticky;
  top: 66px;
  z-index: 50;
  background: rgba(245,246,248,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 14px 24px;
  border-bottom: 1px solid var(--color-border-light);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  margin: 0 0 24px;
}
.filter-bar-sticky .filter-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.filter-bar select,
.filter-bar-sticky select {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 10px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  color: var(--color-text);
  min-width: 180px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='%236b7280'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.filter-bar select:focus,
.filter-bar-sticky select:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-glow);
}

.inventory-summary {
  font-size: 0.82rem;
  color: var(--color-text-light);
  margin-left: auto;
  white-space: nowrap;
  padding: 10px 0;
  font-weight: 600;
}

/* ===== REGION GROUPING (Inventory Page) ===== */
.region-section {
  max-width: var(--max-width);
  margin: 0 auto 48px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
}
.region-section:first-child {
  padding-top: 0;
  border-top: none;
}
.region-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  margin-bottom: 20px;
  background: var(--color-surface);
  border-radius: var(--radius);
  border-left: 4px solid var(--color-accent);
  box-shadow: var(--shadow-sm);
  gap: 12px;
  flex-wrap: wrap;
}
.region-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.01em;
}
.region-count {
  font-size: 0.82rem;
  color: var(--color-text-light);
  font-weight: 600;
  letter-spacing: 0.02em;
  background: var(--color-bg);
  padding: 4px 10px;
  border-radius: 20px;
}
.region-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
  align-items: stretch;
}

/* Fallback for non-region rendering */
.location-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
  max-width: var(--max-width);
  margin: 0 auto;
  align-items: stretch;
}

/* EQUAL HEIGHT CARDS */
.location-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-med);
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 260px;
}
.location-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.location-card-header {
  background: var(--color-dark);
  color: var(--color-white);
  padding: 16px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}
.location-card-header h3 {
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 700;
}

.unit-badge {
  font-size: 0.76rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.unit-badge.has-stock { background: var(--color-accent); color: #fff; }
.unit-badge.no-stock { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.5); }

.location-card-body {
  padding: 18px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tier-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border-light);
  font-size: 0.87rem;
  gap: 10px;
}
.tier-row:last-child { border-bottom: none; }
.tier-name { font-weight: 700; color: var(--color-text); white-space: nowrap; }
.tier-info { color: var(--color-text-light); text-align: right; font-weight: 500; font-size: 0.82rem; }

.location-card-footer {
  padding: 16px 22px;
  border-top: 1px solid var(--color-border-light);
  flex-shrink: 0;
  margin-top: auto;
}

.no-inventory-msg {
  font-size: 0.85rem;
  color: #9ca3af;
  padding: 24px 0;
  text-align: center;
  font-style: italic;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== INVENTORY PAGE FOOTNOTES ===== */
.inventory-note {
  max-width: var(--max-width);
  margin: 8px auto 0;
  padding: 16px 22px;
  background: var(--color-accent-light);
  border-radius: var(--radius);
  font-size: 0.88rem;
  color: var(--color-text-mid);
  text-align: center;
  line-height: 1.5;
  border-left: 3px solid var(--color-accent);
}
.inventory-note strong { color: var(--color-text); }

.hours-callout {
  max-width: var(--max-width);
  margin: 0 auto 12px;
  font-size: 0.88rem;
  color: var(--color-text-light);
  text-align: center;
  line-height: 1.6;
}
.hours-callout strong { color: var(--color-text); font-weight: 700; }

/* ===== CONTACT PAGE ===== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.contact-method-featured {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, var(--color-accent) 0%, #1a7a42 100%);
  border: none;
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  box-shadow: 0 6px 24px rgba(26,107,60,0.25);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.contact-method-featured::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  pointer-events: none;
}
.contact-method-featured h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.contact-method-featured p {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.55;
  margin: 0;
}
.contact-method-featured .contact-value-featured {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff !important;
}
.contact-method-featured .contact-value-featured a {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.4);
  text-underline-offset: 3px;
}
.contact-method-featured .contact-value-featured a:hover {
  text-decoration-color: #fff;
}
.contact-method-featured .btn-featured {
  background: #fff;
  color: var(--color-accent);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 14px 30px;
  border-radius: var(--radius);
  white-space: nowrap;
  flex-shrink: 0;
  transition: all var(--transition-med);
  text-decoration: none;
  position: relative;
  z-index: 1;
}
.contact-method-featured .btn-featured:hover {
  background: var(--color-accent-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}
.contact-featured-text { flex: 1; min-width: 220px; position: relative; z-index: 1; }

.contact-method {
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-med);
}
.contact-method:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.contact-method h3 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.contact-method p {
  font-size: 0.88rem;
  color: var(--color-text-light);
  line-height: 1.55;
}
.contact-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-accent) !important;
  margin: 6px 0 10px;
  word-break: break-word;
}
.contact-value a { color: var(--color-accent); }

/* Lot Hours block */
.lot-hours-block {
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  max-width: var(--max-width);
  margin: 0 auto;
}
.lot-hours-block h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-accent-light);
}
.lot-hours-block p {
  font-size: 0.92rem;
  color: var(--color-text-mid);
  line-height: 1.65;
}
.lot-hours-block .hours-line {
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 6px;
  font-size: 0.95rem;
}

/* ===== LAST UPDATED ===== */
.last-updated {
  font-size: 0.78rem;
  color: var(--color-text-light);
  text-align: center;
  padding: 10px 24px;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border-light);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ===== STEPS (Contact Page) ===== */
.steps-list { max-width: 640px; margin: 0 auto; }
.step-item { display: flex; gap: 18px; margin-bottom: 24px; align-items: flex-start; }
.step-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--color-accent);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  box-shadow: 0 2px 8px rgba(26,107,60,0.25);
}
.step-text { font-size: 0.92rem; color: var(--color-text-mid); line-height: 1.65; }
.step-text strong { color: var(--color-text); }

/* ===== TIERS PAGE ===== */
.tiers-page-intro {
  max-width: 760px;
  margin: 0 auto 40px;
  text-align: center;
}
.tiers-page-intro p {
  font-size: 1rem;
  color: var(--color-text-mid);
  line-height: 1.7;
  margin-bottom: 14px;
}

.tier-detail {
  max-width: var(--max-width);
  margin: 0 auto 36px;
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-med);
}
.tier-detail:hover { box-shadow: var(--shadow-md); }

.tier-detail-header {
  background: var(--color-dark);
  color: #fff;
  padding: 26px 32px;
  position: relative;
  border-top: 4px solid var(--color-accent);
}
.tier-detail.tier-newer .tier-detail-header { border-top-color: var(--color-tier-newer); }
.tier-detail.tier-working .tier-detail-header { border-top-color: var(--color-tier-working); }
.tier-detail.tier-budget .tier-detail-header { border-top-color: var(--color-tier-budget); }
.tier-detail.tier-wholesale .tier-detail-header { border-top-color: var(--color-tier-wholesale); }
/* Legacy alias */
.tier-detail.tier-roadworthy .tier-detail-header { border-top-color: var(--color-tier-working); }

.tier-detail-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.55);
  margin-bottom: 8px;
}
.tier-detail-header h2 {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 6px;
}
.tier-detail-meta {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
}

.tier-detail-body {
  padding: 28px 32px 32px;
}
.tier-detail-body h3 {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  margin: 28px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--color-accent-light);
}
.tier-detail-body h3:first-child { margin-top: 0; }
.tier-detail-body p {
  font-size: 0.95rem;
  color: var(--color-text-mid);
  line-height: 1.7;
  margin-bottom: 14px;
}
.tier-detail-cta {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--color-border-light);
}

/* Sub-section wrapper for Why/What blocks — keeps labels and content aligned */
.tier-section {
  margin-bottom: 0;
  padding-bottom: 0;
}
.tier-section + .tier-section {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border-light);
}
.tier-section h3 {
  margin-top: 0 !important;
  margin-bottom: 10px;
  padding-bottom: 0;
  border-bottom: none;
}
.tier-section p:last-child {
  margin-bottom: 0;
}

/* FAQ */
.faq-section { max-width: 760px; margin: 0 auto; }
.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  margin-bottom: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-med);
}
.faq-item:hover { box-shadow: var(--shadow-md); }
.faq-question {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  padding: 20px 24px 12px;
  line-height: 1.4;
}
.faq-answer {
  padding: 0 24px 22px;
  font-size: 0.93rem;
  color: var(--color-text-mid);
  line-height: 1.7;
}

.unit-id-note {
  max-width: 760px;
  margin: 0 auto 32px;
  padding: 18px 24px;
  background: var(--color-accent-light);
  border-radius: var(--radius);
  font-size: 0.92rem;
  color: var(--color-text-mid);
  line-height: 1.6;
  border-left: 3px solid var(--color-accent);
}
.unit-id-note strong { color: var(--color-text); }

.tiers-bottom-cta {
  max-width: 760px;
  margin: 36px auto 0;
  text-align: center;
  padding: 28px 24px;
  background: linear-gradient(135deg, var(--color-accent) 0%, #1a7a42 100%);
  border-radius: var(--radius-lg);
  color: #fff;
  box-shadow: 0 6px 24px rgba(26,107,60,0.25);
}
.tiers-bottom-cta h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.tiers-bottom-cta p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 18px;
  line-height: 1.6;
}
.tiers-bottom-cta .btn-tiers-cta {
  background: #fff;
  color: var(--color-accent);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: var(--radius);
  display: inline-block;
  transition: all var(--transition-med);
}
.tiers-bottom-cta .btn-tiers-cta:hover {
  background: var(--color-accent-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
  text-decoration: none;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: var(--color-dark);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-med);
  z-index: 99;
  text-decoration: none;
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}
.back-to-top:hover {
  background: var(--color-accent);
  transform: translateY(-3px);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(26,107,60,0.3);
}

/* ===== STICKY MOBILE CTA ===== */
.mobile-cta-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 98;
  background: var(--color-accent);
  padding: 10px 14px;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.18);
  transform: translateY(100%);
  transition: transform 0.3s ease;
  display: none;
}
.mobile-cta-bar.visible { transform: translateY(0); }
.mobile-cta-bar a {
  display: block;
  width: 100%;
  text-align: center;
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 11px 16px;
  text-decoration: none;
  letter-spacing: 0.01em;
  border-radius: 8px;
  background: rgba(0,0,0,0.08);
  transition: background var(--transition-fast);
}
.mobile-cta-bar a:hover { background: rgba(0,0,0,0.16); color: #fff; text-decoration: none; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--color-dark);
  color: rgba(255,255,255,0.45);
  padding: 44px 24px 32px;
  font-size: 0.85rem;
  line-height: 1.7;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.site-footer a { color: rgba(255,255,255,0.65); transition: color var(--transition-fast); }
.site-footer a:hover { color: #fff; text-decoration: none; }
.footer-inner { max-width: var(--max-width); margin: 0 auto; }

.footer-cta-row {
  text-align: center;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-cta-row .btn-footer-cta {
  display: inline-block;
  background: var(--color-accent);
  color: #fff !important;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 13px 30px;
  border-radius: var(--radius);
  letter-spacing: 0.01em;
  box-shadow: 0 2px 8px rgba(26,107,60,0.3);
  transition: all var(--transition-fast);
}
.footer-cta-row .btn-footer-cta:hover {
  background: var(--color-accent-hover);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(26,107,60,0.4);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 28px;
  text-align: left;
}
.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.85);
  margin-bottom: 12px;
}
.footer-col p, .footer-col a {
  display: block;
  font-size: 0.86rem;
  margin-bottom: 6px;
  color: rgba(255,255,255,0.6);
}
.footer-col a:hover { color: #fff; }
.footer-col strong { color: rgba(255,255,255,0.85); font-weight: 600; }

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.35);
  font-size: 0.78rem;
}

.footer-legal {
  text-align: center;
  padding-top: 10px;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.22);
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
}

/* ===== LOCATIONS TEXT ===== */
.locations-text {
  font-size: 0.88rem;
  color: var(--color-text-light);
  max-width: 720px;
  line-height: 1.7;
}

/* ===== TABLET (4-col tier-grid becomes 2x2) ===== */
@media (max-width: 980px) and (min-width: 769px) {
  .tier-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .header-inner { height: 58px; padding: 0 16px; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 58px;
    left: 0;
    right: 0;
    background: var(--color-dark);
    flex-direction: column;
    padding: 8px 16px 20px;
    gap: 2px;
    border-top: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 12px 24px rgba(0,0,0,0.25);
  }
  .nav-links.open { display: flex; }
  .nav-link { padding: 14px 16px; font-size: 0.95rem; border-radius: 8px; }
  .nav-cta { margin-left: 0; margin-top: 6px; text-align: center; padding: 14px 16px; border-radius: 8px; }

  /* Filter bar is NOT sticky on mobile — it takes too much screen space */
  .filter-bar-sticky {
    position: static;
    top: auto;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    padding: 12px 16px;
    border-bottom: 1px solid var(--color-border-light);
  }

  .hero-banner { height: 200px; }

  .hero { padding: 44px 16px 52px; }
  .hero h1 { font-size: 1.6rem; }
  .hero p { font-size: 0.95rem; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .hero-buttons .btn { width: 100%; max-width: 320px; }

  .trust-strip { padding: 14px 16px; }
  .trust-strip-inner { gap: 14px 22px; }
  .trust-item { font-size: 0.82rem; }

  .container { padding: 0 16px; }
  .section { padding: 44px 16px; }
  .section-title { font-size: 1.35rem; }

  .tier-grid { grid-template-columns: 1fr; gap: 16px; }
  .location-grid, .region-grid { grid-template-columns: 1fr; gap: 16px; }

  .filter-bar { flex-direction: column; align-items: stretch; }
  .filter-bar select { width: 100%; }
  .filter-bar-sticky .filter-inner { flex-direction: column; }
  .filter-bar-sticky select { width: 100%; }
  .inventory-summary { margin-left: 0; text-align: center; }

  .how-it-works-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    max-width: 400px;
  }
  .how-it-works-grid::before { display: none; }
  .hiw-step { text-align: left; display: flex; gap: 16px; padding: 0; align-items: flex-start; }
  .hiw-num { margin: 0; flex-shrink: 0; width: 44px; height: 44px; font-size: 1rem; }
  .hiw-text-wrap { flex: 1; }

  .contact-method-featured {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 24px 20px;
  }
  .contact-method-featured .btn-featured {
    width: 100%;
    text-align: center;
  }

  .tier-detail-header { padding: 22px 22px; }
  .tier-detail-header h2 { font-size: 1.3rem; }
  .tier-detail-body { padding: 22px 22px 26px; }

  .tier-detail-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .tier-detail-cta .btn {
    width: 100%;
    max-width: 320px;
    margin-left: 0 !important;
    text-align: center;
  }

  .region-header { padding: 10px 14px; margin-bottom: 14px; }
  .region-name { font-size: 1rem; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }
  .footer-cta-row { margin-bottom: 22px; padding-bottom: 22px; }

  /* Show mobile CTA bar on mobile only */
  .mobile-cta-bar { display: block; }

  /* Push back-to-top up so it doesn't overlap the mobile CTA */
  .back-to-top { bottom: 80px; right: 18px; width: 40px; height: 40px; font-size: 1rem; }

  /* Add bottom padding to body so content isn't covered by sticky CTA */
  body { padding-bottom: 60px; }
}

/* ===== TABLET tweaks ===== */
@media (max-width: 600px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ===== LARGE DESKTOP ===== */
@media (min-width: 1200px) {
  .hero h1 { font-size: 2.5rem; }
  .hero { padding: 72px 24px 80px; }
  .hero-banner { height: 380px; }
}

/* ===================================================================
   ADDITIONS — May 8, 2026
   Photos page, lightbox, inner-page banner, footer legal visibility
   =================================================================== */

/* ===== INNER-PAGE BANNER (smaller than homepage) ===== */
.hero-banner-inner {
  width: 100%;
  height: 220px;
  position: relative;
  overflow: hidden;
  background: var(--color-dark);
}
.hero-banner-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.hero-banner-inner::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.05) 50%, rgba(15,20,25,0.85) 100%);
  pointer-events: none;
}

/* Compact dark headline strip used on Inventory & Tiers pages (Option B) */
.page-hero {
  background: var(--color-dark);
  color: var(--color-white);
  padding: 36px 24px 40px;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.page-hero h1 {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  color: var(--color-white);
}
.page-hero p {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.55;
}

/* ===== PHOTOS PAGE ===== */
.photos-intro {
  max-width: 780px;
  margin: 0 auto 32px;
  text-align: center;
}
.photos-intro p {
  color: var(--color-text-mid);
  font-size: 1rem;
  line-height: 1.65;
}

.photos-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
  max-width: 1280px;
  margin: 0 auto;
}
.photo-tile {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--color-surface-alt);
  cursor: pointer;
  border-radius: 4px;
  border: none;
  padding: 0;
  display: block;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.photo-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-med);
}
.photo-tile:hover {
  z-index: 2;
  box-shadow: var(--shadow-md);
}
.photo-tile:hover img {
  transform: scale(1.04);
}
.photo-tile:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

.photos-empty {
  text-align: center;
  padding: 48px 24px;
  color: var(--color-text-light);
  font-size: 0.95rem;
}

@media (max-width: 1023px) {
  .photos-grid { grid-template-columns: repeat(4, 1fr); gap: 5px; }
}
@media (max-width: 767px) {
  .photos-grid { grid-template-columns: repeat(3, 1fr); gap: 4px; }
  .photos-intro { margin-bottom: 22px; padding: 0 4px; }
}

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(8, 11, 16, 0.94);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.18s ease;
}
.lightbox.open {
  display: flex;
  opacity: 1;
}
.lightbox-stage {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 4px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
  user-select: none;
  -webkit-user-drag: none;
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1;
  transition: background var(--transition-fast), transform var(--transition-fast);
  -webkit-tap-highlight-color: transparent;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255,255,255,0.18);
  transform: scale(1.05);
}
.lightbox-close {
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  font-size: 1.5rem;
}
.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
}
.lightbox-prev:hover,
.lightbox-next:hover {
  transform: translateY(-50%) scale(1.05);
}
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-counter {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  background: rgba(0,0,0,0.4);
  padding: 6px 14px;
  border-radius: 999px;
  pointer-events: none;
}

@media (max-width: 767px) {
  .lightbox { padding: 12px; }
  .lightbox-close { top: 10px; right: 10px; width: 40px; height: 40px; }
  .lightbox-prev, .lightbox-next { width: 44px; height: 44px; font-size: 1.2rem; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-counter { bottom: 12px; font-size: 0.78rem; }
}

/* Body lock when lightbox open */
body.lightbox-open { overflow: hidden; }

/* ===== FOOTER LEGAL — improved visibility ===== */
.footer-legal {
  text-align: center;
  margin-top: 14px;
  padding-top: 14px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* ===== INNER-PAGE BANNER MOBILE ===== */
@media (max-width: 768px) {
  .hero-banner-inner { height: 140px; }
  .page-hero { padding: 26px 16px 30px; }
  .page-hero h1 { font-size: 1.4rem; }
  .page-hero p { font-size: 0.92rem; }
}
@media (min-width: 1200px) {
  .hero-banner-inner { height: 260px; }
}
