/* ==========================================================================
   VLJ CONSTRUCTION SERVICES, INC. - DESIGN SYSTEM
   Based on the T. Disney Trucking system; re-themed black / VLJ red, Space Grotesk + Plus Jakarta Sans
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Properties / Design Tokens (Bright, Crisp & Modern)
   -------------------------------------------------------------------------- */
:root {
  /* Brand Colors */
  --brand-crimson: #BE151C;
  --brand-crimson-glow: rgba(190, 21, 28, 0.25);
  --brand-crimson-dark: #960F15;
  --brand-crimson-light: #DC2626;
  --brand-crimson-subtle: #FEF2F2;
  
  --brand-amber: #E8590C;
  --brand-amber-light: #F97316;
  --brand-amber-subtle: #FFF4EC;
  
  /* Bright Modern Surfaces */
  --bg-core: #FFFFFF;
  --bg-subtle: #F8FAFC;
  --bg-surface: #F1F5F9;
  --bg-surface-raised: #FFFFFF;
  --bg-surface-glass: rgba(255, 255, 255, 0.92);
  --bg-card: #FFFFFF;
  --bg-card-hover: #F8FAFC;
  --bg-dark-accent: #111318;
  
  /* Borders & Dividers */
  --border-subtle: #E2E8F0;
  --border-medium: #CBD5E1;
  --border-active: #BE151C;
  --border-gold: #F97316;

  /* Text & Typography Colors (High Contrast) */
  --text-primary: #0B0D12;
  --text-secondary: #2F3542;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --text-inverse: #FFFFFF;

  /* Typography Scales */
  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: 'Space Grotesk', 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  /* Spacing */
  --container-max: 1360px;
  --header-height: 84px;
  --topbar-height: 42px;

  /* Shadows & Lighting */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.08), 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.12), 0 4px 8px rgba(15, 23, 42, 0.06);
  --shadow-crimson: 0 8px 24px rgba(190, 21, 28, 0.25);
  --shadow-card-hover: 0 20px 40px rgba(15, 23, 42, 0.12);

  /* Transitions */
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.2s var(--ease-smooth);
  --transition-normal: 0.35s var(--ease-smooth);
}

/* --------------------------------------------------------------------------
   2. Base & Reset
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-core);
  color: var(--text-primary);
  font-family: var(--font-main);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  line-height: 1.6;
  background-color: var(--bg-core);
  color: var(--text-primary);
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* --------------------------------------------------------------------------
   3. Typography & Display
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

h1 { font-size: clamp(2.4rem, 4.2vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.75rem); }
h4 { font-size: 1.2rem; font-weight: 600; }

p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.highlight-red {
  color: var(--brand-crimson);
}

.highlight-gold {
  color: var(--brand-amber);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--brand-crimson-subtle);
  border: 1px solid rgba(190, 21, 28, 0.2);
  border-radius: 9999px;
  color: var(--brand-crimson);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.section-tag-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-crimson);
}

.section-title-wrap {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 52px auto;
}

.section-title-wrap.align-left {
  text-align: left;
  margin-left: 0;
}

.section-subtitle {
  font-size: 1.12rem;
  color: var(--text-secondary);
  margin-top: 14px;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   4. Buttons & Interactive Controls
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 8px;
  transition: all var(--transition-normal);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-crimson-light) 0%, var(--brand-crimson) 100%);
  color: #ffffff;
  box-shadow: var(--shadow-crimson);
  border: 1px solid var(--brand-crimson-dark);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(190, 21, 28, 0.4);
  background: linear-gradient(135deg, #EF4444 0%, var(--brand-crimson) 100%);
  color: #ffffff;
}

.btn-secondary {
  background: #FFFFFF;
  color: var(--text-primary);
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--bg-subtle);
  border-color: var(--brand-crimson);
  color: var(--brand-crimson);
  transform: translateY(-2px);
}

.btn-gold {
  background: linear-gradient(135deg, #F59E0B 0%, var(--brand-amber) 100%);
  color: #FFFFFF;
  font-weight: 800;
  box-shadow: 0 4px 16px rgba(217, 119, 6, 0.25);
  border: 1px solid #B45309;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(217, 119, 6, 0.35);
  color: #FFFFFF;
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.86rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

.btn-icon {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.btn:hover .btn-icon {
  transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   5. Top Bar & Header Navigation (Bright, Clean, Zero Overlap)
   -------------------------------------------------------------------------- */
.topbar {
  background: #0F172A;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  height: var(--topbar-height);
  font-size: 0.84rem;
  color: #CBD5E1;
  display: flex;
  align-items: center;
}

.topbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.topbar-info {
  display: flex;
  align-items: center;
  gap: 28px;
}

.topbar-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.topbar-item svg {
  color: #EF4444;
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.topbar-item a:hover {
  color: #FFFFFF;
}

.topbar-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #10B981;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
  animation: pulseDot 2s infinite ease-in-out;
  flex-shrink: 0;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* Main Header */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-surface-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  height: var(--header-height);
  transition: all var(--transition-normal);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.98);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 24px;
}

.brand-logo-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0 auto;
}

.nav-link {
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--brand-crimson);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-crimson);
  transition: width var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.phone-quick-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
  padding: 9px 16px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.phone-quick-btn:hover {
  background: var(--brand-crimson-subtle);
  border-color: var(--brand-crimson);
  color: var(--brand-crimson);
}

.phone-quick-btn svg {
  color: var(--brand-crimson);
  width: 16px;
  height: 16px;
}

.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
}

.mobile-nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all var(--transition-fast);
}

/* --------------------------------------------------------------------------
   6. Hero Section & Bright 3D Dump Truck Viewport
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: calc(100vh - var(--header-height) - var(--topbar-height));
  display: flex;
  align-items: center;
  padding: 40px 0 60px 0;
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
  overflow: hidden;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: 
    radial-gradient(circle at 80% 30%, rgba(190, 21, 28, 0.05) 0%, transparent 60%),
    radial-gradient(circle at 20% 80%, rgba(217, 119, 6, 0.04) 0%, transparent 50%);
  z-index: 1;
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.4;
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(226, 232, 240, 0.6) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(226, 232, 240, 0.6) 1px, transparent 1px);
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 1.15fr;
  gap: 36px;
  align-items: center;
}

.hero-copy {
  max-width: 640px;
}

.hero-badge-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-crimson-subtle);
  border: 1px solid rgba(190, 21, 28, 0.25);
  color: var(--brand-crimson);
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-tag-fdot {
  background: var(--brand-amber-subtle);
  border: 1px solid rgba(217, 119, 6, 0.3);
  color: var(--brand-amber);
}

.hero-headline {
  margin-bottom: 20px;
  color: var(--text-primary);
}

.hero-desc {
  font-size: 1.14rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.hero-metrics-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 20px 24px;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}

.metric-cell {
  border-right: 1px solid var(--border-subtle);
  padding-right: 12px;
}

.metric-cell:last-child {
  border-right: none;
  padding-right: 0;
}

.metric-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.metric-num span {
  color: var(--brand-crimson);
  font-size: 1.3rem;
}

.metric-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

/* Clean Photorealistic Truck Stage */
.hero-3d-stage {
  position: relative;
  width: 100%;
  height: 540px;
  background: radial-gradient(circle at 50% 45%, #FFFFFF 30%, #F1F5F9 100%);
  border: 1px solid var(--border-medium);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: crosshair;
}

.photorealistic-truck-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  perspective: 1200px;
  padding: 16px;
}

.truck-main-render-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.25s var(--ease-smooth), opacity 0.25s ease;
  transform-origin: center center;
  user-select: none;
  pointer-events: none;
}

.stage-overlay-ui {
  position: absolute;
  top: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  pointer-events: none;
  z-index: 10;
}

.stage-badge {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border-medium);
  padding: 8px 16px;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
}

/* Minimalist Clean Bottom Action Bar */
.stage-controls-clean {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 15;
  pointer-events: auto;
}

.truck-lift-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #FFFFFF;
  border: 1px solid var(--brand-crimson);
  color: var(--brand-crimson);
  font-weight: 800;
  font-size: 0.9rem;
  padding: 10px 22px;
  border-radius: 9999px;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-fast);
}

.truck-lift-pill-btn:hover, .truck-lift-pill-btn.active {
  background: var(--brand-crimson);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: var(--shadow-crimson);
}

.truck-lift-pill-btn svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.truck-lift-pill-btn.active svg {
  transform: rotate(180deg);
}

.stage-hint-tag {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
  background: rgba(255, 255, 255, 0.9);
  padding: 6px 14px;
  border-radius: 9999px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* 3D Interactive Hotspot Markers */
.truck-hotspot-pin {
  position: absolute;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--brand-crimson);
  border: 2px solid #FFFFFF;
  box-shadow: 0 2px 10px rgba(190, 21, 28, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
  z-index: 20;
  transform: translate(-50%, -50%);
  animation: pulsePin 2.2s infinite ease-in-out;
  transition: transform var(--transition-fast);
}

.truck-hotspot-pin:hover {
  transform: translate(-50%, -50%) scale(1.25);
  background: #EF4444;
}

@keyframes pulsePin {
  0%, 100% { box-shadow: 0 0 8px rgba(190, 21, 28, 0.4); }
  50% { box-shadow: 0 0 18px rgba(190, 21, 28, 0.8); }
}

.hotspot-card-popup {
  position: absolute;
  bottom: 80px;
  left: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--brand-crimson);
  border-radius: 12px;
  padding: 16px 20px;
  z-index: 30;
  display: none;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-lg);
}

.hotspot-card-popup.show {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hotspot-info h4 {
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.hotspot-info p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.hotspot-close {
  color: var(--text-muted);
  font-size: 20px;
  cursor: pointer;
  padding: 4px 8px;
}

.hotspot-close:hover {
  color: var(--text-primary);
}

/* 3D Stage Bottom Controls */
.stage-controls {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
  pointer-events: auto;
  flex-wrap: wrap;
  gap: 10px;
}

.truck-action-btns {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.truck-ctrl-btn {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border-medium);
  color: var(--text-primary);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.truck-ctrl-btn:hover, .truck-ctrl-btn.active {
  background: var(--brand-crimson);
  color: #FFFFFF;
  border-color: var(--brand-crimson);
  box-shadow: var(--shadow-crimson);
}

.cargo-material-picker {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border-medium);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.8rem;
  box-shadow: var(--shadow-sm);
}

.cargo-material-picker select {
  background: transparent;
  border: none;
  color: var(--brand-crimson);
  font-weight: 700;
  outline: none;
  cursor: pointer;
}

/* Photo Fleet Gallery View inside Stage */
.fleet-photo-view {
  position: absolute;
  inset: 0;
  background: #F8FAFC;
  display: none;
  z-index: 5;
  padding: 20px;
}

.fleet-photo-view.active {
  display: block;
}

.fleet-photo-main {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}

.fleet-thumbs-row {
  display: flex;
  gap: 12px;
  margin-top: 14px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.fleet-thumb-btn {
  width: 84px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  flex-shrink: 0;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.fleet-thumb-btn.active, .fleet-thumb-btn:hover {
  border-color: var(--brand-crimson);
}

.fleet-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   7. 3D Aggregate Material Showroom (Bright Theme)
   -------------------------------------------------------------------------- */
.section-showroom {
  padding: 100px 0;
  position: relative;
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.material-filter-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}

.filter-tab {
  padding: 10px 22px;
  border-radius: 8px;
  background: #FFFFFF;
  border: 1px solid var(--border-medium);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.filter-tab:hover {
  color: var(--brand-crimson);
  border-color: var(--brand-crimson);
}

.filter-tab.active {
  background: var(--brand-crimson);
  border-color: var(--brand-crimson);
  color: #FFFFFF;
  box-shadow: var(--shadow-crimson);
}

.materials-3d-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 28px;
}

.material-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease-smooth), box-shadow 0.3s var(--ease-smooth), border-color 0.3s var(--ease-smooth);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.material-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--brand-crimson);
}

.material-img-box {
  position: relative;
  height: 210px;
  overflow: hidden;
  background: #E2E8F0;
}

.material-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-smooth);
}

.material-card:hover .material-img {
  transform: scale(1.06);
}

.material-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--border-medium);
  color: var(--brand-amber);
  font-size: 0.74rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 4px;
  backdrop-filter: blur(8px);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: var(--shadow-sm);
}

.material-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.material-title {
  font-size: 1.3rem;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.material-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.material-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: var(--bg-subtle);
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 0.82rem;
  border: 1px solid var(--border-subtle);
}

.spec-item {
  display: flex;
  flex-direction: column;
}

.spec-key {
  color: var(--text-muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  font-weight: 600;
}

.spec-val {
  color: var(--text-primary);
  font-weight: 700;
}

.material-action {
  display: flex;
  gap: 10px;
}

/* --------------------------------------------------------------------------
   8. Instant Freight & Material Calculator
   -------------------------------------------------------------------------- */
.section-calculator {
  padding: 100px 0;
  position: relative;
  background-color: var(--bg-core);
}

.calc-wrapper {
  background: #FFFFFF;
  border: 1px solid var(--border-medium);
  border-radius: 24px;
  padding: 48px;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.calc-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  justify-content: space-between;
}

.form-label-hint {
  color: var(--text-muted);
  font-weight: 400;
}

.calc-input, .calc-select {
  background: var(--bg-subtle);
  border: 1px solid var(--border-medium);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--text-primary);
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.calc-input:focus, .calc-select:focus {
  outline: none;
  border-color: var(--brand-crimson);
  box-shadow: 0 0 0 3px rgba(190, 21, 28, 0.15);
  background: #FFFFFF;
}

.dim-inputs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}

/* Output Display Box */
.calc-result-display {
  background: var(--bg-subtle);
  border: 1px solid var(--border-medium);
  border-radius: 20px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.calc-result-display::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-crimson), var(--brand-amber));
}

.calc-result-header {
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 16px;
}

.calc-result-title {
  font-size: 1.1rem;
  color: var(--text-primary);
  font-weight: 700;
}

.calc-result-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.result-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.result-stat-label {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.result-stat-value {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-primary);
}

.result-stat-value.highlight-red {
  color: var(--brand-crimson);
}

.result-stat-value.highlight-gold {
  color: var(--brand-amber);
}

.truckloads-box {
  background: var(--brand-crimson-subtle);
  border: 1px solid rgba(190, 21, 28, 0.25);
  border-radius: 12px;
  padding: 18px;
  text-align: center;
}

.truckloads-title {
  font-size: 0.85rem;
  color: var(--brand-crimson);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.truckloads-number {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--brand-crimson-dark);
  margin: 4px 0;
}

.truckloads-note {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   9. Fleet & Services Showcase (Bright Theme)
   -------------------------------------------------------------------------- */
.section-services {
  padding: 100px 0;
  position: relative;
  background-color: var(--bg-subtle);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 36px 30px;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--brand-crimson);
  transition: width var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--brand-crimson);
  box-shadow: var(--shadow-card-hover);
}

.service-card:hover::after {
  width: 100%;
}

.service-icon-box {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  background: var(--brand-crimson-subtle);
  border: 1px solid rgba(190, 21, 28, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-crimson);
  margin-bottom: 24px;
}

.service-icon-box svg {
  width: 28px;
  height: 28px;
}

.service-card-title {
  font-size: 1.35rem;
  margin-bottom: 14px;
  color: var(--text-primary);
}

.service-card-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 24px;
  flex: 1;
}

.service-card-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.service-feature-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.service-feature-row svg {
  width: 16px;
  height: 16px;
  color: #10B981;
}

/* --------------------------------------------------------------------------
   10. Real Interactive Florida Map & Operating Yards
   -------------------------------------------------------------------------- */
.section-logistics {
  padding: 100px 0;
  position: relative;
  background-color: var(--bg-core);
}

.logistics-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: stretch;
}

.real-map-container {
  position: relative;
  background: #E2E8F0;
  border: 1px solid var(--border-medium);
  border-radius: 20px;
  min-height: 580px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

#leaflet-florida-map {
  width: 100%;
  height: 100%;
  min-height: 580px;
  z-index: 1;
}

.map-floating-overlay {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 10;
  pointer-events: none;
}

.map-badge-bright {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border-medium);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
}

/* Map Permanent Hub Labels */
.map-hub-label {
  background: #FFFFFF !important;
  color: #0F172A !important;
  font-family: var(--font-display) !important;
  font-weight: 800 !important;
  font-size: 11px !important;
  border-radius: 6px !important;
  border: 1px solid #CBD5E1 !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
  padding: 3px 8px !important;
  white-space: nowrap !important;
}

.map-hub-label::before {
  border-top-color: #FFFFFF !important;
}

.yards-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
}

.yard-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 20px;
  transition: all var(--transition-fast);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.yard-card:hover, .yard-card.active {
  border-color: var(--brand-crimson);
  background: var(--bg-subtle);
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
}

.yard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.yard-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
}

.yard-badge {
  background: var(--brand-crimson-subtle);
  color: var(--brand-crimson);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

.yard-addr {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.yard-phone {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-amber);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* --------------------------------------------------------------------------
   11. Client Testimonials & Social Proof (Bright Theme)
   -------------------------------------------------------------------------- */
.section-testimonials {
  padding: 100px 0;
  position: relative;
  background-color: var(--bg-subtle);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.testimonial-card:hover {
  transform: translateY(-6px);
  border-color: var(--brand-crimson);
  box-shadow: var(--shadow-card-hover);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  color: #F59E0B;
  margin-bottom: 18px;
}

.testimonial-quote {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 24px;
  flex: 1;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand-crimson);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #FFFFFF;
  font-size: 0.95rem;
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

.author-org {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   12. Subcontractors & Owner-Operators Portal Banner
   -------------------------------------------------------------------------- */
.section-hauler-banner {
  padding: 80px 0;
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  color: #FFFFFF;
  border-top: 1px solid rgba(190, 21, 28, 0.4);
  border-bottom: 1px solid rgba(190, 21, 28, 0.4);
  position: relative;
  overflow: hidden;
}

.hauler-banner-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.hauler-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.hauler-point-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #F8FAFC;
}

.hauler-point-item svg {
  color: #F59E0B;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.hauler-action-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  backdrop-filter: blur(12px);
}

/* --------------------------------------------------------------------------
   13. Contact & Quote Engine Form (Bright Theme)
   -------------------------------------------------------------------------- */
.section-contact {
  padding: 100px 0;
  position: relative;
  background-color: var(--bg-core);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
}

.contact-details-panel {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-card-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--brand-crimson-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-crimson);
  flex-shrink: 0;
}

.contact-card-icon svg {
  width: 22px;
  height: 22px;
}

.contact-card-info h4 {
  font-size: 1.05rem;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.contact-card-info p, .contact-card-info a {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.quote-form-card {
  background: #FFFFFF;
  border: 1px solid var(--border-medium);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  background: var(--bg-subtle);
  border: 1px solid var(--border-medium);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--brand-crimson);
  box-shadow: 0 0 0 3px rgba(190, 21, 28, 0.15);
  background: #FFFFFF;
}

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

/* --------------------------------------------------------------------------
   14. Footer (Clean Slate Modern)
   -------------------------------------------------------------------------- */
.footer {
  background: #0B1120;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 80px 0 30px 0;
  color: #94A3B8;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 320px;
}

.footer-heading {
  font-size: 1rem;
  color: #FFFFFF;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: #FFFFFF;
  transform: translateX(4px);
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #CBD5E1;
  transition: all var(--transition-fast);
}

.social-btn:hover {
  background: var(--brand-crimson);
  color: #FFFFFF;
  border-color: var(--brand-crimson);
  transform: translateY(-2px);
}

.social-btn svg {
  width: 16px;
  height: 16px;
}

/* --------------------------------------------------------------------------
   15. Modals & Toast UI
   -------------------------------------------------------------------------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  background: #FFFFFF;
  border: 1px solid var(--border-medium);
  border-radius: 20px;
  max-width: 620px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 36px;
  box-shadow: var(--shadow-lg);
  transform: scale(0.92) translateY(20px);
  transition: transform var(--transition-normal);
  position: relative;
}

.modal-backdrop.open .modal-container {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--brand-crimson);
  color: #FFFFFF;
}

.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #0F172A;
  border: 1px solid var(--brand-crimson);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  padding: 16px 24px;
  border-radius: 10px;
  color: #FFFFFF;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 3000;
  transform: translateY(100px);
  opacity: 0;
  transition: all var(--transition-normal);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* --------------------------------------------------------------------------
   14. Onboarding Workflows (Subcontractors, Drivers, Clients)
   -------------------------------------------------------------------------- */
.section-onboarding {
  padding: 100px 0;
  background-color: #FFFFFF;
  position: relative;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.onboarding-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}

.onboarding-tab-btn {
  padding: 12px 24px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-medium);
  border-radius: 9999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

.onboarding-tab-btn:hover {
  border-color: var(--brand-crimson);
  color: var(--brand-crimson);
}

.onboarding-tab-btn.active {
  background: var(--brand-crimson);
  color: #FFFFFF;
  border-color: var(--brand-crimson);
  box-shadow: var(--shadow-crimson);
}

.onboarding-track-panel {
  display: none;
  animation: fadeIn 0.35s ease;
}

.onboarding-track-panel.active {
  display: block;
}

.steps-flow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 40px;
}

.step-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 32px 26px;
  position: relative;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-crimson);
  box-shadow: var(--shadow-md);
  background: #FFFFFF;
}

.step-number-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--brand-crimson);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 18px;
}

.step-card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.step-card-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-secondary);
  flex-grow: 1;
}

.step-reqs-list {
  margin-top: 14px;
  padding-left: 0;
  list-style: none;
  font-size: 0.86rem;
  color: var(--text-primary);
}

.step-reqs-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 6px;
}

.step-reqs-list li svg {
  width: 14px;
  height: 14px;
  color: var(--brand-crimson);
  flex-shrink: 0;
  margin-top: 3px;
}

.onboarding-action-box {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  border-radius: 16px;
  padding: 32px 40px;
  color: #FFFFFF;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.onboarding-action-box h4 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: #FFFFFF;
}

.onboarding-action-box p {
  color: var(--text-muted);
  font-size: 0.92rem;
  max-width: 600px;
}


/* --------------------------------------------------------------------------
   15. Blog & Industry News Section
   -------------------------------------------------------------------------- */
.section-blogs {
  padding: 100px 0;
  background-color: var(--bg-subtle);
  position: relative;
}

.blogs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}

.blog-card:hover {
  transform: translateY(-6px);
  border-color: var(--brand-crimson);
  box-shadow: var(--shadow-card-hover);
}

.blog-card-media {
  width: 100%;
  height: 210px;
  background: #1E293B;
  position: relative;
  overflow: hidden;
}

.blog-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.blog-card:hover .blog-card-img {
  transform: scale(1.06);
}

.blog-tag-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(4px);
  color: #FFCE9E;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.blog-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 8px;
}

.blog-card-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--text-primary);
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color var(--transition-fast);
}

.blog-card:hover .blog-card-title {
  color: var(--brand-crimson);
}

.blog-card-excerpt {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-secondary);
  margin-bottom: 18px;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-read-more {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--brand-crimson);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
}

.blog-read-more svg {
  width: 14px;
  height: 14px;
  transition: transform var(--transition-fast);
}

.blog-card:hover .blog-read-more svg {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   16. Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 1180px) {
  .nav-menu {
    gap: 18px;
  }
  .nav-link {
    font-size: 0.88rem;
  }
  .hero-container {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .hero-copy {
    max-width: 100%;
  }
  .hero-3d-stage {
    height: 460px;
  }
  .calc-wrapper {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .services-grid, .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .logistics-layout {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 900px) {
  .topbar {
    display: none;
  }
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: #FFFFFF;
    border-bottom: 1px solid var(--border-medium);
    flex-direction: column;
    padding: 24px;
    gap: 18px;
    transform: translateY(-150%);
    transition: transform var(--transition-normal);
    box-shadow: var(--shadow-lg);
  }
  .nav-menu.mobile-open {
    transform: translateY(0);
  }
  .mobile-nav-toggle {
    display: flex;
  }
  .phone-quick-btn {
    display: none;
  }
  .hero-metrics-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .dim-inputs-grid {
    grid-template-columns: 1fr;
  }
  .services-grid, .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .hauler-banner-content {
    grid-template-columns: 1fr;
  }
  .hauler-points {
    grid-template-columns: 1fr;
  }
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 540px) {
  .hero-3d-stage {
    height: 380px;
  }
  .calc-wrapper {
    padding: 24px;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}


/* ==========================================================================
   17. Additions: About & Community, full material list, sub-pages (blog, FAQ,
       legal), lightbox, extra responsive rules
   ========================================================================== */

/* --- Header tweaks --------------------------------------------------------- */
@media (max-width: 1280px) {
  .phone-quick-btn { display: none; }
}
@media (max-width: 900px) {
  .nav-menu .nav-link { font-size: 1.02rem; padding: 6px 0; }
}

/* --- Hero: softer, family-forward badges ---------------------------------- */
.hero-tag-soft {
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

/* --- About & Community ----------------------------------------------------- */
.section-about {
  padding: 100px 0;
  background: var(--bg-core);
}
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.about-copy h2 { margin-bottom: 18px; }
.about-copy p {
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.75;
  margin-bottom: 16px;
}
.about-copy p.lead {
  font-size: 1.18rem;
  color: var(--text-primary);
  font-weight: 500;
}
.about-media {
  position: relative;
}
.about-media img {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  aspect-ratio: 4 / 3;
}
.about-media-badge {
  position: absolute;
  left: 22px;
  bottom: 22px;
  background: rgba(255,255,255,0.96);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
  display: flex;
  gap: 14px;
  align-items: center;
}
.about-media-badge strong {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--brand-crimson);
  line-height: 1;
}
.about-media-badge span {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
  line-height: 1.3;
}
.about-values {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.value-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 26px 26px 24px;
}
.value-card h3 {
  font-size: 1.1rem;
  margin: 12px 0 8px;
}
.value-card p {
  color: var(--text-secondary);
  font-size: 0.93rem;
  line-height: 1.6;
}
.value-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--brand-crimson-subtle);
  color: var(--brand-crimson);
  display: flex;
  align-items: center;
  justify-content: center;
}
.value-icon svg { width: 22px; height: 22px; }

/* Community */
.section-community {
  padding: 100px 0;
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.community-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: center;
}
.community-grid .about-media img { aspect-ratio: 5 / 4; }
.community-list {
  margin-top: 22px;
  display: grid;
  gap: 12px;
}
.community-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}
.community-list li strong { color: var(--text-primary); }
.community-list svg { width: 20px; height: 20px; color: var(--brand-crimson); flex-shrink: 0; margin-top: 2px; }

/* Team gallery */
.team-gallery-wrap { margin-top: 64px; }
.team-gallery-wrap h3 {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 8px;
}
.team-gallery-wrap > p {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 28px;
}
.team-gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-auto-rows: 170px;
  gap: 12px;
}
.team-photo {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  background: #e2e8f0;
  position: relative;
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}
.team-photo:hover img { transform: scale(1.05); }
.team-photo:nth-child(1), .team-photo:nth-child(8), .team-photo:nth-child(17) {
  grid-column: span 2;
  grid-row: span 2;
}
.team-gallery.collapsed .team-photo:nth-child(n+11) { display: none; }
.team-gallery-more {
  text-align: center;
  margin-top: 22px;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.92);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: min(1200px, 100%);
  max-height: 90vh;
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.lightbox-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-btn:hover { background: rgba(255,255,255,0.25); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  color: #fff;
  font-size: 2.2rem;
  line-height: 1;
}

/* --- Materials: complete list ---------------------------------------------- */
.materials-full-list {
  margin-top: 56px;
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
.materials-full-list > h3 {
  font-size: 1.45rem;
  margin-bottom: 6px;
}
.materials-full-list > p {
  color: var(--text-secondary);
  margin-bottom: 28px;
}
.material-groups {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.material-group h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-crimson);
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 2px solid var(--brand-crimson-subtle);
}
.material-group li {
  padding: 10px 0;
  border-bottom: 1px dashed var(--border-subtle);
}
.material-group li:last-child { border-bottom: none; }
.material-group li strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-primary);
}
.material-group li span {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.materials-note {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  color: var(--text-secondary);
}

/* --- Safety block inside services ----------------------------------------- */
.safety-panel {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  background: var(--bg-dark-accent);
  color: #fff;
  border-radius: 24px;
  padding: 52px;
  overflow: hidden;
  position: relative;
  scroll-margin-top: 110px;
}
.safety-panel h3 {
  color: #fff;
  font-size: 1.8rem;
  margin-bottom: 14px;
}
.safety-panel p {
  color: rgba(255,255,255,0.78);
  line-height: 1.7;
  margin-bottom: 14px;
}
.safety-panel .section-tag {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
  color: #FFCE9E;
}
.safety-list {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}
.safety-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: #fff;
  font-size: 0.95rem;
}
.safety-list svg { width: 20px; height: 20px; color: #F59E0B; flex-shrink: 0; margin-top: 2px; }
.safety-panel img {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}

/* --- Testimonials: 5 cards ------------------------------------------------- */
.testimonials-grid.five { grid-template-columns: repeat(3, 1fr); }

/* --- Sub-page shell (blog, FAQ, legal) ------------------------------------ */
body.subpage .page-main { min-height: 60vh; }
.page-hero {
  padding: 64px 0 48px;
  background:
    radial-gradient(1200px 400px at 10% -10%, var(--brand-crimson-subtle) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg-subtle) 0%, var(--bg-core) 100%);
  border-bottom: 1px solid var(--border-subtle);
}
.page-hero .section-tag { margin-bottom: 18px; }
.page-title {
  font-size: clamp(2rem, 3.6vw, 3rem);
  max-width: 900px;
}
.page-hero .section-subtitle {
  margin: 16px 0 0;
  max-width: 720px;
}
.breadcrumb {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.breadcrumb a { color: var(--text-secondary); font-weight: 600; }
.breadcrumb a:hover { color: var(--brand-crimson); }
.crumb-sep { color: var(--text-light); }

/* Blog index */
.section-blog-index { padding: 56px 0 100px; }
.blog-filter-tabs { margin-bottom: 40px; }
.blog-card-img-empty {
  background: linear-gradient(135deg, #1E293B, #334155);
}

/* Post */
.page-hero-post { padding-bottom: 40px; }
.post-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 18px;
}
.post-cat-badge {
  background: var(--brand-crimson);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 6px;
}
.meta-dot { color: var(--text-light); }
.post-title { max-width: 980px; }
.post-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 56px;
  padding: 48px 24px 80px;
}
.post-article { min-width: 0; }
.post-featured {
  margin: 0 0 36px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: #e2e8f0;
}
.post-featured img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}
.post-content {
  font-size: 1.06rem;
  line-height: 1.8;
  color: var(--text-secondary);
}
.post-content > * + * { margin-top: 1.1em; }
.post-content h2, .post-content h3, .post-content h4 {
  color: var(--text-primary);
  margin-top: 1.9em;
  margin-bottom: 0.5em;
  line-height: 1.25;
}
.post-content h2 { font-size: 1.65rem; }
.post-content h3 { font-size: 1.3rem; }
.post-content h4 { font-size: 1.1rem; }
.post-content ul, .post-content ol {
  padding-left: 1.5em;
}
.post-content ul { list-style: disc; }
.post-content ol { list-style: decimal; }
.post-content li { margin: 0.45em 0; }
.post-content li::marker { color: var(--brand-crimson); }
.post-content a {
  color: var(--brand-crimson);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.post-content a:hover { color: var(--brand-crimson-dark); }
.post-content strong { color: var(--text-primary); }
.post-content blockquote {
  border-left: 4px solid var(--brand-crimson);
  background: var(--bg-subtle);
  padding: 18px 22px;
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: var(--text-primary);
}
.post-content img.post-img {
  display: inline-block;
  vertical-align: middle;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 8px 8px 8px 0;
  box-shadow: var(--shadow-sm);
}
.post-content img.post-img.align-left { float: left; margin: 6px 22px 12px 0; max-width: 45%; }
.post-content img.post-img.align-right { float: right; margin: 6px 0 12px 22px; max-width: 45%; }
.post-content figure { margin: 1.5em 0; }
.post-content figure img.post-img { display: block; margin: 0; width: 100%; }
.post-content figcaption {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 8px;
}
.post-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  display: block;
  overflow-x: auto;
}
.post-content th, .post-content td {
  border: 1px solid var(--border-subtle);
  padding: 10px 12px;
  text-align: left;
}
.post-content th { background: var(--bg-subtle); color: var(--text-primary); }
.post-content hr { border: none; border-top: 1px solid var(--border-subtle); }
.post-content::after { content: ''; display: block; clear: both; }

.post-cta {
  margin-top: 48px;
  background: var(--bg-dark-accent);
  color: #fff;
  border-radius: 20px;
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.post-cta h3 { color: #fff; font-size: 1.4rem; margin-bottom: 6px; }
.post-cta p { color: rgba(255,255,255,0.75); max-width: 520px; }
.post-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.post-cta .btn-secondary { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.25); color: #fff; }
.post-cta .btn-secondary:hover { background: rgba(255,255,255,0.16); }

.post-pagination {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 28px;
}
.post-nav-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  transition: all var(--transition-fast);
}
.post-nav-link:hover { border-color: var(--brand-crimson); background: var(--brand-crimson-subtle); }
.post-nav-next { text-align: right; align-items: flex-end; }
.post-nav-label { font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--brand-crimson); }
.post-nav-title { font-weight: 700; color: var(--text-primary); font-size: 0.95rem; line-height: 1.35; }

.post-sidebar { display: flex; flex-direction: column; gap: 22px; }
.sidebar-card {
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.sidebar-card h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-crimson);
  margin-bottom: 14px;
}
.sidebar-card-brand p { color: var(--text-secondary); font-size: 0.93rem; line-height: 1.6; margin-bottom: 16px; }
.sidebar-logo { height: 46px; width: auto; margin-bottom: 14px; }
.sidebar-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  padding: 9px 0;
  border-bottom: 1px dashed var(--border-subtle);
  font-size: 0.92rem;
}
.sidebar-list li:last-child { border-bottom: none; }
.sidebar-list a { color: var(--text-primary); font-weight: 600; line-height: 1.35; }
.sidebar-list a:hover { color: var(--brand-crimson); }
.sidebar-list span { color: var(--text-muted); font-size: 0.8rem; white-space: nowrap; }
.section-related { padding: 80px 0; }

/* FAQ */
.section-faq { padding: 56px 0 100px; }
.faq-container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 48px;
  align-items: start;
}
.faq-group { margin-bottom: 40px; scroll-margin-top: 110px; }
.faq-group-title {
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-crimson);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--brand-crimson-subtle);
}
.faq-item {
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  margin-bottom: 12px;
  transition: box-shadow var(--transition-fast), border-color var(--transition-fast);
}
.faq-item[open] { border-color: var(--brand-crimson); box-shadow: var(--shadow-md); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-primary);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-chev { flex-shrink: 0; color: var(--text-muted); transition: transform var(--transition-fast); }
.faq-item[open] .faq-chev { transform: rotate(180deg); color: var(--brand-crimson); }
.faq-answer { padding: 0 22px 20px; color: var(--text-secondary); line-height: 1.7; }
.faq-answer p + p { margin-top: 10px; }
.faq-answer a { color: var(--brand-crimson); font-weight: 600; text-decoration: underline; }
.faq-aside { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 22px; }

/* Legal */
.section-legal { padding: 56px 0 100px; }
.legal-content {
  max-width: 820px;
  color: var(--text-secondary);
  line-height: 1.75;
  font-size: 1rem;
}
.legal-content > * + * { margin-top: 1em; }
.legal-content h2, .legal-content h3, .legal-content h4 { color: var(--text-primary); margin-top: 2em; }
.legal-content h2 { font-size: 1.4rem; }
.legal-content h3 { font-size: 1.15rem; }
.legal-content h2 { font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 0.6em; }
.legal-content h2 + p, .legal-content h3 + p { margin-top: 0; }
.legal-content ul, .legal-content ol { padding-left: 1.5em; }
.legal-content ul { list-style: disc; }
.legal-content ol { list-style: decimal; }
.legal-content li { margin: 0.4em 0; }
.legal-content a { color: var(--brand-crimson); text-decoration: underline; }
.legal-content table { width: 100%; border-collapse: collapse; }
.legal-content th, .legal-content td { border: 1px solid var(--border-subtle); padding: 8px 10px; text-align: left; }
.legal-content th { background: var(--bg-subtle); }

/* Contact: location list + form feedback */
.contact-locations { display: grid; gap: 12px; margin-top: 8px; }
.contact-loc {
  padding: 12px 14px;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  background: var(--bg-subtle);
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.contact-loc strong { display: block; color: var(--text-primary); }
.contact-loc a { color: var(--brand-crimson); font-weight: 700; }
.form-note { font-size: 0.82rem; color: var(--text-muted); margin-top: 12px; line-height: 1.5; }
.form-status {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 0.9rem;
  display: none;
}
.form-status.show { display: block; }
.form-status.ok { background: #ECFDF5; color: #065F46; border: 1px solid #A7F3D0; }
.form-status.err { background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }
.form-status a { font-weight: 700; text-decoration: underline; }
.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* Onboarding: anchor targets so /#onboarding-hauler etc. land nicely */
.section-onboarding { scroll-margin-top: 90px; }
.section-about, .section-community, .section-showroom, .section-calculator, .section-services,
.section-logistics, .section-testimonials, .section-blogs, .section-contact { scroll-margin-top: 80px; }

/* --- Extra responsive rules ------------------------------------------------ */
@media (max-width: 1180px) {
  .about-grid, .community-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-values { grid-template-columns: 1fr 1fr; }
  .team-gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 150px; }
  .material-groups { grid-template-columns: 1fr 1fr; }
  .safety-panel { grid-template-columns: 1fr; padding: 36px; }
  .blogs-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-flow-grid { grid-template-columns: 1fr; }
  .post-layout { grid-template-columns: 1fr; gap: 40px; }
  .post-sidebar { flex-direction: row; flex-wrap: wrap; }
  .post-sidebar .sidebar-card { flex: 1 1 280px; }
  .faq-container { grid-template-columns: 1fr; }
  .faq-aside { position: static; }
  .testimonials-grid.five { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .section-about, .section-community { padding: 72px 0; }
  .about-values { grid-template-columns: 1fr; }
  .team-gallery { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 120px; }
  .team-photo:nth-child(1), .team-photo:nth-child(8), .team-photo:nth-child(17) { grid-column: span 1; grid-row: span 1; }
  .material-groups { grid-template-columns: 1fr; }
  .materials-full-list { padding: 26px; }
  .blogs-grid { grid-template-columns: 1fr; }
  .post-pagination { grid-template-columns: 1fr; }
  .post-nav-next { text-align: left; align-items: flex-start; }
  .post-cta { padding: 28px; }
  .testimonials-grid.five { grid-template-columns: 1fr; }
  .page-hero { padding: 40px 0 32px; }
}
@media (max-width: 540px) {
  .team-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 130px; }
  .post-layout { padding: 28px 24px 60px; }
  .post-content img.post-img.align-left, .post-content img.post-img.align-right { float: none; max-width: 100%; margin: 12px 0; }
}


/* --- Mobile fixes: header actions + form controls never overflow ------------ */
.calc-input, .calc-select, .form-input, .form-select, .form-textarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
.form-label { flex-wrap: wrap; gap: 4px 12px; }
.calc-form, .quote-form-card form, .modal-container form { min-width: 0; }
@media (max-width: 540px) {
  .header-content { gap: 10px; }
  .brand-logo-img { height: 40px; }
  .nav-actions { gap: 8px; }
  .nav-actions .btn-sm { padding: 9px 12px; font-size: 0.78rem; }
  .nav-actions .btn-sm .btn-icon { display: none; }
  .mobile-nav-toggle { flex-shrink: 0; width: 40px; align-items: center; }
  .mobile-nav-toggle span { width: 22px; }
  .calc-wrapper { padding: 20px; }
  .materials-note { flex-direction: column; align-items: flex-start; }
  .about-media-badge { left: 12px; bottom: 12px; padding: 10px 12px; }
  .about-media-badge strong { font-size: 1.3rem; }
  .post-cta { padding: 24px 20px; }
}
.contact-card-info { min-width: 0; flex: 1; overflow-wrap: anywhere; }
.contact-grid, .contact-details-panel, .quote-form-card { min-width: 0; }
@media (max-width: 540px) {
  .quote-form-card { padding: 22px; }
  .contact-card-box { padding: 18px; }
}

/* Team gallery: fill the grid at every breakpoint when collapsed */
.team-gallery { grid-auto-flow: dense; }
.team-gallery.collapsed .team-photo:nth-child(n+11) { display: block; }
.team-gallery.collapsed .team-photo:nth-child(n+15) { display: none; }
@media (max-width: 1180px) {
  .team-gallery.collapsed .team-photo:nth-child(n+11) { display: none; }
}
@media (max-width: 900px) {
  .team-gallery.collapsed .team-photo:nth-child(n+10) { display: none; }
}
@media (max-width: 540px) {
  .team-gallery.collapsed .team-photo:nth-child(n+9) { display: none; }
}

/* Material list: let the long first group use two columns so the panel stays balanced */
.material-groups { grid-template-columns: 2fr 1fr 1fr 1fr; }
.material-group:first-child ul { columns: 2; column-gap: 28px; }
.material-group li { break-inside: avoid; }
@media (max-width: 1180px) {
  .material-groups { grid-template-columns: 1fr 1fr; }
  .material-group:first-child { grid-column: span 2; }
}
@media (max-width: 900px) {
  .material-groups { grid-template-columns: 1fr; }
  .material-group:first-child { grid-column: auto; }
  .material-group:first-child ul { columns: 1; }
}

/* Header: switch to the hamburger menu a little earlier so links never crowd the buttons */
@media (max-width: 1060px) {
  .topbar { display: none; }
  .phone-quick-btn { display: none; }
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    margin: 0;
    background: #FFFFFF;
    border-bottom: 1px solid var(--border-medium);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 18px;
    transform: translateY(-150%);
    transition: transform var(--transition-normal);
    box-shadow: var(--shadow-lg);
  }
  .nav-menu.mobile-open { transform: translateY(0); }
  .nav-menu .nav-link { font-size: 1.02rem; padding: 6px 0; }
  .mobile-nav-toggle { display: flex; }
}

/* Dark call-to-action boxes: readable body text on navy */
.onboarding-action-box { padding: 36px 44px; gap: 28px; }
.onboarding-action-box > div:first-child { flex: 1 1 520px; min-width: 0; }
.onboarding-action-box h4 { font-size: 1.45rem; margin-bottom: 10px; }
.onboarding-action-box p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.02rem;
  line-height: 1.65;
  max-width: 760px;
}
.onboarding-action-box p strong { color: #FFCE9E; font-weight: 700; }
.onboarding-action-box p a { color: #FFCE9E !important; }
.onboarding-action-box .btn { flex-shrink: 0; }
.post-cta p { color: rgba(255, 255, 255, 0.88); font-size: 1.02rem; line-height: 1.65; }

/* Footer: brighter text and a visible logo on the dark background */
.footer { color: rgba(255, 255, 255, 0.86); }
.footer-desc { color: rgba(255, 255, 255, 0.86); font-size: 0.98rem; line-height: 1.7; max-width: 360px; }
.footer-links { font-size: 1rem; gap: 14px; }
.footer-links a { color: rgba(255, 255, 255, 0.86); }
.footer-links a:hover { color: #FFCE9E; }
.footer-bottom { color: rgba(255, 255, 255, 0.78); font-size: 0.9rem; }
.footer .brand-logo-wrap {
  display: inline-flex;
  align-self: flex-start;
  background: #FFFFFF;
  border-radius: 12px;
  padding: 10px 16px;
}
.footer-brand-logo { height: 46px; }
.footer .yard-phone { font-size: 1.05rem; }
.footer .yard-phone svg { color: var(--brand-amber-light); }
.social-btn { color: #FFFFFF; background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.25); }
.safety-panel p { color: rgba(255, 255, 255, 0.9); font-size: 1rem; }
.safety-list li { font-size: 1rem; }
.testimonial-card[style*="bg-dark-accent"] p { color: rgba(255, 255, 255, 0.9) !important; }

/* Footer logo: reversed (white lettering) artwork instead of a white tile */
.footer .brand-logo-wrap { background: none; padding: 0; border-radius: 0; }
.footer-brand-logo { height: 60px; width: auto; }

/* Hero: real fleet photo instead of the interactive truck stage */
.hero-photo-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
  background: #E2E8F0;
  aspect-ratio: 4 / 3;
  max-height: 560px;
}
.hero-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-photo-caption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.95);
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;
  padding: 8px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}
@media (max-width: 1180px) { .hero-photo-card { max-height: 460px; } }
@media (max-width: 540px) { .hero-photo-card { border-radius: 16px; } .hero-photo-caption { left: 12px; bottom: 12px; font-size: 0.75rem; } }

/* Turnstile widget spacing */
.cf-turnstile { margin: 14px 0 4px; min-height: 65px; }
.hero-photo-card { aspect-ratio: 16 / 9; max-height: none; background: #F8FAFC; }

/* Hero without an image: single wide column */
.hero-container { grid-template-columns: 1fr; }
.hero-copy { max-width: 900px; }
.hero-headline { font-size: clamp(2.6rem, 5vw, 4.4rem); }
.hero-desc { max-width: 760px; }
.hero-metrics-strip { max-width: 900px; }
.hero-section { padding-bottom: 72px; }

/* Hero: centered layout */
.hero-container { justify-items: center; text-align: center; }
.hero-copy { max-width: 960px; margin: 0 auto; }
.hero-badge-row { justify-content: center; }
.hero-headline { margin-left: auto; margin-right: auto; }
.hero-desc { margin: 0 auto 32px; }
.hero-cta-group { justify-content: center; }
.hero-metrics-strip { margin-left: auto; margin-right: auto; }
.metric-cell { text-align: center; }

/* Hero metrics: numbers and labels both centered, single-line labels */
.metric-num { justify-content: center; }
.metric-cell { padding: 0 12px; }
.metric-cell:last-child { padding-right: 12px; }
.metric-label { white-space: nowrap; }
@media (max-width: 900px) { .metric-label { white-space: normal; } }

/* Blog post photo galleries (converted from WordPress [gallery]) */
.post-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
  margin: 28px 0;
}
.post-gallery a { display: block; border-radius: 10px; overflow: hidden; background: #E2E8F0; aspect-ratio: 1 / 1; }
.post-gallery img.post-img, .post-gallery img {
  width: 100%; height: 100%; object-fit: cover; display: block; margin: 0; border-radius: 0;
  transition: transform 0.35s ease;
}
.post-gallery a:hover img { transform: scale(1.04); }
@media (max-width: 540px) { .post-gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; } }

/* 404 page */
.notfound-links { list-style: none !important; padding-left: 0 !important; }
.notfound-links li { margin: 0.7em 0; padding-left: 0; }
.notfound-links a { font-weight: 700; color: var(--brand-crimson); }

/* ==========================================================================
   VLJ CONSTRUCTION — site-specific additions (on top of the shared system)
   ========================================================================== */

/* Slightly squarer, more industrial corners */
.btn, .material-card, .value-card, .service-card, .blog-card, .quote-form-card, .contact-card-box, .hero-metrics-strip,
.about-media img, .about-media-badge, .safety-panel, .onboarding-action-box, .modal-container, .form-input, .form-select, .form-textarea { border-radius: 8px; }
.material-img-box { border-radius: 0; }
.hero-tag, .section-tag, .material-badge, .blog-tag-badge { border-radius: 4px; }
.section-tag, .hero-tag, .metric-label, .footer-heading { letter-spacing: 0.08em; }

/* Photo hero: full-bleed real jobsite photo, dark shade, light text, left-aligned copy */
.hero-section.hero-photo {
  background: #0B0D12;
  color: #FFFFFF;
  min-height: min(720px, calc(100vh - var(--header-height) - var(--topbar-height)));
  padding: 96px 0 88px;
}
.hero-photo-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; z-index: 0; }
.hero-photo-shade { position: absolute; inset: 0; z-index: 1; background:
  linear-gradient(90deg, rgba(11,13,18,0.92) 0%, rgba(11,13,18,0.82) 40%, rgba(11,13,18,0.45) 75%, rgba(11,13,18,0.35) 100%),
  linear-gradient(180deg, rgba(11,13,18,0.25) 0%, rgba(11,13,18,0) 30%, rgba(11,13,18,0.55) 100%); }
.hero-photo .hero-container { grid-template-columns: 1fr; justify-items: start; text-align: left; }
.hero-photo .hero-copy { max-width: 780px; margin: 0; }
.hero-photo .hero-badge-row, .hero-photo .hero-cta-group { justify-content: flex-start; }
.hero-photo .hero-tag { background: rgba(190,21,28,0.18); border-color: rgba(255,255,255,0.28); color: #FFFFFF; }
.hero-photo .hero-tag-soft { background: rgba(255,255,255,0.10); color: #F1F5F9; }
.hero-photo .hero-headline { color: #FFFFFF; margin-left: 0; margin-right: 0; font-size: clamp(2.5rem, 4.6vw, 4.1rem); letter-spacing: -0.02em; }
.hero-photo .highlight-red { color: #FF5A61; }
.hero-photo .hero-desc { color: rgba(255,255,255,0.86); margin: 0 0 32px; max-width: 720px; font-size: 1.1rem; }
.hero-photo .hero-metrics-strip { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.16); backdrop-filter: blur(6px); box-shadow: none; margin: 0; max-width: 820px; width: 100%; }
.hero-photo .metric-cell { border-right-color: rgba(255,255,255,0.14); text-align: left; padding: 0 12px; }
.hero-photo .metric-num { color: #FFFFFF; justify-content: flex-start; }
.hero-photo .metric-num span { color: #FF5A61; }
.hero-photo .metric-label { color: rgba(255,255,255,0.72); }
.btn-on-dark { background: rgba(255,255,255,0.10); border-color: rgba(255,255,255,0.4); color: #FFFFFF; }
.btn-on-dark:hover { background: #FFFFFF; color: var(--text-primary); border-color: #FFFFFF; }
@media (max-width: 900px) {
  .hero-section.hero-photo { padding: 64px 0 56px; }
  .hero-photo-shade { background: linear-gradient(180deg, rgba(11,13,18,0.86) 0%, rgba(11,13,18,0.78) 100%); }
  .hero-photo .hero-metrics-strip { grid-template-columns: repeat(2, 1fr); }
  .hero-photo .metric-cell:nth-child(2) { border-right: none; }
}

/* Services grid: six photo cards */
.services-photo-grid { grid-template-columns: repeat(3, 1fr); }
.services-photo-grid .material-img-box { height: 200px; }
.services-photo-grid .material-desc { font-size: 0.93rem; }
.services-photo-grid .btn { align-self: flex-start; }
@media (max-width: 1100px) { .services-photo-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .services-photo-grid { grid-template-columns: 1fr; } }
.materials-note a { color: var(--brand-crimson); font-weight: 700; }

/* About: mission / vision */
.about-mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 26px; }
.about-mission-grid > div { background: var(--bg-subtle); border: 1px solid var(--border-subtle); border-left: 4px solid var(--brand-crimson); border-radius: 8px; padding: 18px 20px; }
.about-mission-grid h4 { font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 6px; color: var(--text-primary); }
.about-mission-grid p { font-size: 0.95rem; color: var(--text-secondary); margin: 0; }
@media (max-width: 640px) { .about-mission-grid { grid-template-columns: 1fr; } }

/* Our Work: photo grid + project types */
.section-work { background: var(--bg-subtle); border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); }
.work-gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 12px; margin-top: 8px; }
.work-photo { display: block; overflow: hidden; border-radius: 8px; background: #E2E8F0; }
.work-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s var(--ease-smooth); }
.work-photo:hover img { transform: scale(1.04); }
.work-photo:nth-child(1), .work-photo:nth-child(6) { grid-column: span 2; }
@media (max-width: 900px) { .work-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; } }
@media (max-width: 540px) { .work-gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; gap: 8px; } }
.work-types { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 40px; }
.work-types > div { background: #FFFFFF; border: 1px solid var(--border-subtle); border-radius: 8px; padding: 26px 28px; }
.work-types h4 { font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 14px; color: var(--text-primary); }
.work-types .community-list li { font-size: 0.95rem; }
@media (max-width: 760px) { .work-types { grid-template-columns: 1fr; } }

/* Community cards */
.community-cards { grid-template-columns: repeat(3, 1fr); }
.value-link { display: inline-block; margin-top: 12px; color: var(--brand-crimson); font-weight: 700; font-size: 0.9rem; }
.value-link:hover { text-decoration: underline; }
@media (max-width: 960px) { .community-cards { grid-template-columns: 1fr; } }

/* Newsletter band */
.section-newsletter { padding: 0 0 80px; background: #FFFFFF; }
.newsletter-box { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center; background: var(--bg-dark-accent); color: #FFFFFF; border-radius: 10px; padding: 40px 48px; }
.newsletter-box h3 { color: #FFFFFF; font-size: 1.5rem; margin-bottom: 8px; }
.newsletter-box p { color: rgba(255,255,255,0.8); font-size: 0.95rem; margin: 0; }
.newsletter-box p a { color: #FFCE9E; text-decoration: underline; }
.newsletter-form { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: start; }
.newsletter-form .form-input { background: #FFFFFF; color: var(--text-primary); border-color: transparent; }
.newsletter-form .cf-turnstile { grid-column: 1 / -1; margin: 0; min-height: 0; }
.newsletter-form .form-status { grid-column: 1 / -1; }
.newsletter-form .form-status.ok { background: rgba(16,185,129,0.15); color: #A7F3D0; border-color: rgba(16,185,129,0.4); }
.newsletter-form .form-status.err { background: rgba(190,21,28,0.18); color: #FECACA; border-color: rgba(190,21,28,0.5); }
@media (max-width: 860px) { .newsletter-box { grid-template-columns: 1fr; padding: 32px 26px; } }
@media (max-width: 480px) { .newsletter-form { grid-template-columns: 1fr; } }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Footer logo: reversed (white/red) version */
.footer-brand-logo { height: 64px; width: auto; }


/* VLJ header logo is squarish; give it more height than the wide Disney logo needed */
.brand-logo-img { height: 66px; }
.header.scrolled .brand-logo-img { height: 58px; }
@media (max-width: 640px) { .brand-logo-img { height: 54px; } }
.section-subtitle a, .materials-note a { color: var(--brand-crimson); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.safety-panel p a { color: #FFCE9E; font-weight: 700; }
