/* ========================================
   813 Junk Solutions — Base Styles
   ======================================== */

:root {
  /* Primary palette — Bucs-inspired red/black/white/grey */
  --color-primary: #CC0000;
  --color-primary-dark: #A30000;
  --color-primary-light: #FFF0F0;
  --color-accent: #1A1A1A;
  --color-accent-dark: #000000;

  /* Neutrals */
  --color-bg: #F5F5F5;
  --color-surface: #FFFFFF;
  --color-text: #1A1A1A;
  --color-text-light: #555555;
  --color-text-muted: #888888;
  --color-border: #E0E0E0;

  /* Typography */
  --font-heading: 'Barlow Condensed', 'Impact', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 2px 8px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.04);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.10), 0 16px 48px rgba(0,0,0,0.06);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; height: auto; }
ul { list-style: none; }
input, textarea, button, select { font-family: inherit; font-size: inherit; }

/* ---- Layout ---- */
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---- Scroll Animations ---- */
.fade-in {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-left {
  opacity: 0; transform: translateX(-32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in-left.visible { opacity: 1; transform: translateX(0); }
.fade-in-right {
  opacity: 0; transform: translateX(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in-right.visible { opacity: 1; transform: translateX(0); }

/* Staggered children */
.stagger-children > * { opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease, transform 0.5s ease; }
.stagger-children.visible > *:nth-child(1) { transition-delay: 0s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.3s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.4s; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.5s; }
.stagger-children.visible > * { opacity: 1; transform: translateY(0); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 28px; border-radius: var(--radius-sm); font-weight: 700;
  font-family: var(--font-heading); font-size: 1rem;
  letter-spacing: 0.03em; text-transform: uppercase;
  border: 2px solid transparent; cursor: pointer;
  transition: all 0.2s ease; text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.btn:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.18); transform: translateY(-1px); }
.btn:active { transform: translateY(0); box-shadow: 0 1px 4px rgba(0,0,0,0.12); }
.btn-primary {
  background: var(--color-primary); color: #fff; border-color: var(--color-primary);
}
.btn-primary:hover { background: var(--color-primary-dark); border-color: var(--color-primary-dark); }
.btn-outline {
  background: transparent; color: #fff; border-color: rgba(255,255,255,0.5);
  box-shadow: none;
}
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; box-shadow: 0 2px 12px rgba(255,255,255,0.15); }
.btn-lg { padding: 16px 40px; font-size: 1.1rem; }
.btn-full { width: 100%; }

/* ---- Navigation ---- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.97); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: var(--shadow); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.logo { display: flex; align-items: center; }
.logo-img { height: 56px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-family: var(--font-heading); font-size: 0.95rem; font-weight: 600;
  letter-spacing: 0.02em; text-transform: uppercase;
  color: var(--color-text-light); transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--color-primary); }
.nav-cta {
  background: var(--color-primary); color: #fff !important;
  padding: 10px 20px; border-radius: var(--radius-sm); font-weight: 700;
  letter-spacing: 0.02em; transition: background 0.2s;
}
.nav-cta:hover { background: var(--color-primary-dark); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span {
  display: block; width: 24px; height: 2px; background: var(--color-text);
  margin: 5px 0; transition: 0.3s;
}

/* Dropdown */
.nav-dropdown { position: relative; }
.dropdown-arrow { font-size: 0.7rem; margin-left: 2px; }
.dropdown-menu {
  display: none; position: absolute; top: 100%; left: -12px;
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-sm); box-shadow: var(--shadow-lg);
  min-width: 200px; padding: 8px 0; padding-top: 16px;
}
.dropdown-menu::before {
  content: ''; position: absolute; top: -8px; left: 0; right: 0; height: 16px;
}
.dropdown-menu li { padding: 0; }
.dropdown-menu a {
  display: block; padding: 10px 20px; font-size: 0.85rem; text-transform: none;
  color: var(--color-text-light) !important; transition: background 0.15s;
}
.dropdown-menu a:hover { background: var(--color-primary-light); color: var(--color-primary) !important; }
.nav-dropdown:hover .dropdown-menu { display: block; }

/* ---- Hero ---- */
.hero {
  padding: 160px 0 100px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, #0D0D0D 0%, #1A1A1A 35%, #CC0000 100%);
  color: #fff; text-align: center;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(204,0,0,0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(255,255,255,0.04) 0%, transparent 50%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 80px;
  background: linear-gradient(to top, var(--color-surface), transparent);
  pointer-events: none;
}
.hero > * { position: relative; z-index: 1; }
.hero-logo { height: 160px; width: auto; margin: 0 auto 32px; filter: drop-shadow(0 4px 24px rgba(0,0,0,0.3)); }
.hero h1 {
  font-family: var(--font-heading); font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 800; line-height: 1.05; letter-spacing: -0.02em;
  text-transform: uppercase;
}
.hero-tagline {
  font-family: var(--font-heading); font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  margin-top: 16px; color: rgba(255,255,255,0.9); font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.2rem); margin-top: 20px;
  color: rgba(255,255,255,0.75); max-width: 540px; margin-left: auto; margin-right: auto;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.hero-badges { display: flex; gap: 16px; justify-content: center; margin-top: 48px; flex-wrap: wrap; }
.badge {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  padding: 10px 24px; border-radius: 100px; font-size: 0.85rem; font-weight: 600;
  font-family: var(--font-heading); letter-spacing: 0.04em; text-transform: uppercase;
  backdrop-filter: blur(4px);
}

/* ---- Page Header (subpages) ---- */
.page-header {
  padding: 140px 0 84px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, #0D0D0D 0%, #1A1A1A 35%, #CC0000 100%);
  color: #fff; text-align: center;
}
.page-header::before {
  content: ''; position: absolute; inset: 0;
  background:
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.page-header::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 60px;
  background: linear-gradient(to top, var(--color-surface), transparent);
  pointer-events: none;
}
.page-header > * { position: relative; z-index: 1; }
.page-header h1 {
  font-family: var(--font-heading); font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800; letter-spacing: -0.01em; text-transform: uppercase;
  text-shadow: 0 2px 18px rgba(0,0,0,0.3);
}
.page-header p {
  font-size: 1.1rem; color: rgba(255,255,255,0.95);
  margin-top: 14px; max-width: 520px; margin-left: auto; margin-right: auto;
  text-shadow: 0 1px 10px rgba(0,0,0,0.35);
}

/* ---- Section Common ---- */
section { padding: 96px 0; position: relative; }
.section-title {
  font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800; letter-spacing: -0.01em; text-align: center;
  text-transform: uppercase;
}
.section-sub {
  text-align: center; color: var(--color-text-light); margin-top: 12px;
  font-size: 1.05rem; max-width: 520px; margin-left: auto; margin-right: auto;
}
.section-cta { text-align: center; margin-top: 40px; }

/* Section dividers */
.section-divider-top {
  position: relative;
}
.section-divider-top::before {
  content: ''; position: absolute; top: -1px; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
}

/* ---- Services (homepage preview) ---- */
.services { background: var(--color-surface); }
.services-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; margin-top: 56px;
}
.service-card {
  display: block; position: relative;
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius); padding: 36px 24px; text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.service-card::after {
  content: ''; position: absolute; bottom: 0; left: 50%; width: 0; height: 3px;
  background: var(--color-primary); transition: width 0.3s ease, left 0.3s ease;
  border-radius: 0 0 var(--radius) var(--radius);
}
.service-card:hover {
  transform: translateY(-6px); box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}
.service-card:hover::after { width: 100%; left: 0; }
.service-icon { margin-bottom: 16px; width: 40px; height: 40px; color: var(--color-primary); }
.service-card h3 {
  font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700;
  margin-bottom: 8px; color: var(--color-text); text-transform: uppercase;
}
.service-card p { font-size: 0.9rem; color: var(--color-text-light); line-height: 1.5; }

/* ---- Service Detail (services page) ---- */
.service-detail { background: var(--color-surface); }
.service-detail.alt { background: var(--color-bg); }
.service-detail-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.service-detail-inner.reverse { direction: rtl; }
.service-detail-inner.reverse > * { direction: ltr; }
.service-detail-icon { margin-bottom: 16px; width: 48px; height: 48px; color: var(--color-primary); }
.service-detail-text h2 {
  font-family: var(--font-heading); font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800; letter-spacing: -0.01em; margin-bottom: 16px; text-transform: uppercase;
}
.service-detail-text h2::before { display: none; }
.service-detail-text p { color: var(--color-text-light); font-size: 1rem; line-height: 1.7; margin-bottom: 20px; }
.service-list {
  list-style: none; margin-bottom: 28px;
}
.service-list li {
  padding: 6px 0 6px 28px; position: relative;
  font-size: 0.95rem; color: var(--color-text-light);
}
.service-list li::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--color-primary-light); border: 2px solid var(--color-primary);
}

/* ---- Estimator ---- */
.estimator { background: var(--color-bg); padding-top: 48px; }
.estimator-box {
  max-width: 720px; margin: 0 auto; background: var(--color-surface);
  border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden;
}

/* Service type selector */
.service-selector {
  padding: 24px 32px 20px;
  border-bottom: 2px solid var(--color-border);
  background: var(--color-bg);
}
.service-selector label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}
.service-selector select {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text);
  background: var(--color-surface);
  cursor: pointer;
  transition: border-color 0.2s;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.service-selector select:focus {
  outline: none;
  border-color: var(--color-primary);
}

/* Service panels */
.service-panel { display: none; }
.service-panel.active { display: block; }

/* Specialty form styles */
.specialty-form {
  padding: 32px;
}
.specialty-field {
  margin-bottom: 20px;
}
.specialty-field label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--color-text-light);
  margin-bottom: 6px;
}
.specialty-field input,
.specialty-field select {
  width: 100%;
  padding: 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 1.1rem;
  background: var(--color-surface);
  color: var(--color-text);
  transition: border-color 0.2s;
}
.specialty-field input:focus,
.specialty-field select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(204,0,0,0.1);
}
.specialty-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.specialty-note {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: -8px;
  margin-bottom: 8px;
  line-height: 1.5;
}
.specialty-check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  margin-bottom: 16px;
  transition: border-color 0.2s, background 0.2s;
}
.specialty-check:has(input:checked) {
  border-color: var(--color-primary);
  background: var(--color-primary-light);
}
.specialty-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--color-primary);
  cursor: pointer;
}
.specialty-check span {
  font-size: 0.95rem;
  font-weight: 500;
}
.service-panel .btn-full {
  margin: 0 32px 32px;
  width: calc(100% - 64px);
}

.tab-toggle { display: flex; border-bottom: 2px solid var(--color-border); }
.tab-btn {
  flex: 1; padding: 18px; background: none; border: none; cursor: pointer;
  font-family: var(--font-heading); font-weight: 600; font-size: 1.05rem;
  text-transform: uppercase; letter-spacing: 0.03em;
  color: var(--color-text-muted);
  border-bottom: 3px solid transparent; margin-bottom: -2px; transition: 0.2s;
}
.tab-btn.active { color: var(--color-primary); border-bottom-color: var(--color-primary); }
.tab-btn:hover:not(.active) { color: var(--color-text); }
.tab-content { display: none; padding: 32px; }
.tab-content.active { display: block; }
.tab-desc { color: var(--color-text-light); margin-bottom: 24px; font-size: 0.95rem; }

/* Items grid */
.items-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px; margin-bottom: 28px;
}
.item-row {
  display: flex; align-items: center; gap: 10px;
  background: var(--color-bg); border: 1px solid var(--color-border);
  border-radius: var(--radius-sm); padding: 12px 14px;
  transition: border-color 0.2s, background 0.2s;
}
.item-row.has-qty { border-color: var(--color-primary); background: var(--color-primary-light); }
.item-icon { font-size: 1.3rem; flex-shrink: 0; }
.item-name { flex: 1; font-size: 0.88rem; font-weight: 500; }
.item-controls { display: flex; align-items: center; gap: 6px; }
.item-controls button {
  width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--color-border);
  background: var(--color-surface); cursor: pointer; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  color: var(--color-text); transition: 0.15s;
}
.item-controls button:hover { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
.item-qty {
  width: 28px; text-align: center; font-weight: 600; font-size: 0.9rem;
  color: var(--color-primary);
}

/* Dimensions */
.dim-inputs { display: flex; align-items: flex-end; gap: 12px; margin-bottom: 28px; }
.dim-field { flex: 1; }
.dim-field label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; color: var(--color-text-light); }
.dim-field input {
  width: 100%; padding: 14px; border: 1px solid var(--color-border);
  border-radius: var(--radius-sm); font-size: 1.1rem; text-align: center;
  transition: border-color 0.2s;
}
.dim-field input:focus { outline: none; border-color: var(--color-primary); }
.dim-x { font-size: 1.5rem; color: var(--color-text-muted); padding-bottom: 10px; }

/* ---- Trailer Visualization ---- */
.trailer-viz {
  margin: 24px 0 28px;
  background: linear-gradient(145deg, #1C1C1C, #111);
  border-radius: var(--radius);
  padding: 28px 24px 24px;
  border: 1px solid #333;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 4px 20px rgba(0,0,0,0.15);
  position: relative;
  overflow: hidden;
}
.trailer-viz::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 0%, rgba(204,0,0,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.trailer-viz-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 18px;
  padding: 0 4px;
  position: relative;
}
.trailer-viz-stats {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.trailer-viz-percent {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 800;
  color: #444;
  transition: color 0.4s ease;
  line-height: 1;
}
.trailer-viz-percent.level-low { color: #4CAF50; }
.trailer-viz-percent.level-mid { color: #FF9800; }
.trailer-viz-percent.level-high { color: #F57C00; }
.trailer-viz-percent.level-full { color: #CC0000; }
.trailer-viz-percent.overload {
  color: #FF1744;
  animation: pulse 1s ease infinite;
}
.trailer-viz-sublabel {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.trailer-viz-tier {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.3s;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.trailer-svg {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  margin: 0 auto;
  position: relative;
}

/* SVG dimension labels */
.dim-line { stroke: #555; stroke-width: 0.75; }
.dim-text {
  font-family: var(--font-body);
  font-size: 10px;
  fill: #666;
  text-anchor: middle;
  font-weight: 600;
}

/* Trailer structural elements */
.trailer-rib { stroke: #333; stroke-width: 1; opacity: 0.5; }

/* Fill level overlay inside trailer */
.trailer-fill-rect {
  transform-box: fill-box;
  transform-origin: bottom center;
  transform: scaleY(0);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), fill 0.4s ease;
}

/* Empty state inside trailer */
.trailer-empty-text {
  font-family: var(--font-body);
  font-size: 12px;
  fill: #3A3A3A;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Item blocks inside trailer */
.trailer-item {
  animation: itemSlideUp 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
@keyframes itemSlideUp {
  from { opacity: 0; transform: translateY(-12px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.item-label {
  fill: rgba(255, 255, 255, 0.92);
  font-family: var(--font-body);
  font-weight: 700;
  text-anchor: middle;
  dominant-baseline: middle;
  pointer-events: none;
}

/* Fill Gauge Bar */
.trailer-gauge {
  margin-top: 20px;
  padding: 0 4px;
  position: relative;
}
.trailer-gauge-track {
  position: relative;
  height: 8px;
  background: #222;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid #333;
}
.trailer-gauge-fill {
  height: 100%;
  width: 0%;
  border-radius: 4px;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1), background 0.4s ease;
  position: relative;
}
.trailer-gauge-fill::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.15) 0%, transparent 60%);
  border-radius: 4px;
}
.trailer-gauge-marks {
  position: relative;
  height: 22px;
  margin-top: 6px;
}
.gauge-mark {
  position: absolute;
  transform: translateX(-50%);
}
.gauge-mark::before {
  content: '';
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 5px;
  background: #444;
}
.gauge-mark span {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  color: #555;
  letter-spacing: 0.04em;
}

/* Overflow indicator */
.trailer-overflow {
  display: none;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: #FF1744;
  margin-top: 16px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-align: center;
  animation: pulse 1.5s ease infinite;
}

/* Estimate Result */
.estimate-result {
  display: none; border-top: 2px solid var(--color-border); padding: 40px 32px;
  text-align: center; background: linear-gradient(180deg, var(--color-primary-light), var(--color-surface));
}
.estimate-result.visible { display: block; animation: slideUp 0.4s ease; }
@keyframes slideUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.result-label {
  font-family: var(--font-heading); font-size: 1rem; color: var(--color-text-muted);
  text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600;
}
.result-price {
  font-family: var(--font-heading); font-size: 3.5rem; font-weight: 800;
  color: var(--color-primary); margin: 8px 0; letter-spacing: -0.02em;
}
.result-detail { font-size: 0.95rem; color: var(--color-text-light); margin-bottom: 8px; }
.result-note { font-size: 0.8rem; color: var(--color-text-muted); margin-bottom: 20px; }

/* ---- How It Works ---- */
.how-it-works { background: var(--color-bg); position: relative; }
.how-it-works::before {
  content: ''; position: absolute; top: -1px; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
}
.steps { display: flex; align-items: flex-start; justify-content: center; gap: 0; margin-top: 56px; }
.step { text-align: center; flex: 0 0 220px; }
.step a { color: var(--color-primary); font-weight: 500; }
.step-num {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--color-primary); color: #fff;
  font-family: var(--font-heading); font-size: 1.6rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 20px;
  box-shadow: 0 4px 16px rgba(204,0,0,0.3);
}
.step h3 { font-family: var(--font-heading); font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; text-transform: uppercase; }
.step p { font-size: 0.9rem; color: var(--color-text-light); }
.step-line {
  flex: 0 0 60px; height: 2px; background: var(--color-border); margin-top: 32px;
}

/* ---- CTA Banner ---- */
.cta-banner {
  padding: 80px 0; text-align: center; position: relative; overflow: hidden;
  background: linear-gradient(135deg, #0D0D0D 0%, #1A1A1A 35%, #CC0000 100%);
  color: #fff;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 {
  font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800; letter-spacing: -0.01em; text-transform: uppercase;
}
.cta-banner p {
  font-size: 1.1rem; color: rgba(255,255,255,0.8); margin-top: 12px;
  max-width: 480px; margin-left: auto; margin-right: auto;
}
.cta-actions { display: flex; gap: 16px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }

/* ---- About ---- */
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-text .section-title { text-align: left; }
.about-text p { color: var(--color-text-light); margin-top: 16px; font-size: 1rem; }
.about-list { margin-top: 24px; }
.about-list li {
  padding: 8px 0; padding-left: 28px; position: relative;
  font-weight: 500; font-size: 0.95rem;
}
.about-list li::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--color-primary-light); border: 2px solid var(--color-primary);
}
.about-placeholder {
  width: 100%; aspect-ratio: 4/3; background: var(--color-border);
  border-radius: var(--radius); display: flex; align-items: center; justify-content: center;
  color: var(--color-text-muted); font-weight: 600; text-align: center;
  font-size: 1.1rem;
}
.service-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.service-photos img {
  width: 100%; height: 100%; aspect-ratio: 3/4; object-fit: cover;
  border-radius: var(--radius);
}
.service-photos-3 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.service-photos-3 img {
  width: 100%; height: 100%; aspect-ratio: 4/3; object-fit: cover;
  border-radius: var(--radius);
}
.service-photos-3 img:first-child { grid-column: 1 / -1; aspect-ratio: 16/9; }
.service-photos-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.service-photos-feature img {
  width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius);
}
.service-photos-feature img:first-child { grid-row: span 2; }
.service-photos-feature img:not(:first-child) { aspect-ratio: 4/3; }
.service-photo-single { display: flex; justify-content: center; }
.service-photo-single img {
  width: 100%; max-width: 420px; aspect-ratio: 3/4; object-fit: cover;
  border-radius: var(--radius);
}

/* ---- Why Choose Us ---- */
.why-us { background: var(--color-surface); position: relative; }
.why-us::before {
  content: ''; position: absolute; top: -1px; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
}
.why-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px;
}
.why-card {
  background: var(--color-bg); border: 1px solid var(--color-border);
  border-radius: var(--radius); padding: 32px 24px; text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.why-icon { margin-bottom: 12px; width: 36px; height: 36px; color: var(--color-primary); }
.why-card h3 { font-family: var(--font-heading); font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; text-transform: uppercase; }
.why-card p { font-size: 0.9rem; color: var(--color-text-light); line-height: 1.5; }

/* ---- Contact ---- */
.contact { background: var(--color-surface); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 48px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block; font-family: var(--font-heading); font-size: 0.9rem;
  font-weight: 600; margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.03em;
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 14px; border: 1px solid var(--color-border);
  border-radius: var(--radius-sm); transition: border-color 0.2s, box-shadow 0.2s;
  background: var(--color-surface); color: var(--color-text);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(204,0,0,0.1);
}
.form-group textarea { resize: vertical; }
.contact-info { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-content: start; }
.contact-card {
  background: var(--color-bg); border: 1px solid var(--color-border);
  border-radius: var(--radius-sm); padding: 24px;
  transition: border-color 0.2s;
}
.contact-card:hover { border-color: var(--color-primary); }
.contact-card h3 {
  font-family: var(--font-heading); font-size: 0.85rem; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--color-text-muted); margin-bottom: 8px;
}
.contact-card a { color: var(--color-primary); font-weight: 600; font-size: 1.05rem; }
.contact-card p { font-size: 0.95rem; color: var(--color-text-light); }

/* Form success message */
.form-success {
  display: none; text-align: center; padding: 40px 20px;
}
.form-success.visible { display: block; }
.form-success h3 { font-family: var(--font-heading); font-size: 1.5rem; color: var(--color-primary); margin-bottom: 8px; text-transform: uppercase; }
.form-success p { color: var(--color-text-light); }

/* ---- Footer ---- */
.footer {
  padding: 56px 0 40px; background: #111; color: #fff;
  border-top: 4px solid var(--color-primary);
}
.footer-inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
}
.footer-brand p { font-size: 0.85rem; color: rgba(255,255,255,0.5); margin-top: 12px; }
.footer-copy { font-size: 0.8rem; color: rgba(255,255,255,0.3); margin-top: 8px; }
.footer-nav, .footer-contact { display: flex; flex-direction: column; gap: 8px; }
.footer-nav h4, .footer-contact h4 {
  font-family: var(--font-heading); font-size: 0.85rem; text-transform: uppercase;
  letter-spacing: 0.08em; color: rgba(255,255,255,0.4); margin-bottom: 4px;
}
.footer-nav a, .footer-contact a {
  font-size: 0.88rem; color: rgba(255,255,255,0.7); transition: color 0.2s;
}
.footer-nav a:hover, .footer-contact a:hover { color: var(--color-primary); }
.footer-contact p { font-size: 0.85rem; color: rgba(255,255,255,0.4); }

/* ========== Responsive ========== */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .service-detail-inner, .service-detail-inner.reverse { grid-template-columns: 1fr; direction: ltr; }
  .service-detail-visual { order: -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .steps { flex-direction: column; align-items: center; }
  .step-line { width: 2px; height: 32px; flex: 0 0 32px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 640px) {
  .nav-links {
    display: none; flex-direction: column; position: absolute;
    top: 72px; left: 0; right: 0; background: var(--color-surface);
    padding: 24px; gap: 20px; border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .dropdown-menu { display: none !important; }
  .dropdown-arrow { display: none; }
  .hero { padding: 130px 0 72px; }
  .hero-logo { height: 120px; margin-bottom: 24px; }
  .hero h1 { font-size: 2.2rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .page-header { padding: 120px 0 64px; }
  .page-header h1 { font-size: 1.8rem; }
  .services-grid { grid-template-columns: 1fr; }
  .items-grid { grid-template-columns: 1fr; }
  .dim-inputs { flex-direction: column; align-items: stretch; }
  .dim-x { text-align: center; padding: 0; }
  .form-row { grid-template-columns: 1fr; }
  .contact-info { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .footer-brand { display: flex; flex-direction: column; align-items: center; }
  .footer-nav, .footer-contact { align-items: center; }
  .cta-actions { flex-direction: column; align-items: center; }
  .trailer-viz { padding: 20px 16px 18px; }
  .trailer-viz-header { flex-direction: column; gap: 2px; }
  .trailer-viz-percent { font-size: 2rem; }
  .trailer-viz-tier { font-size: 0.75rem; }
  .specialty-row { grid-template-columns: 1fr; }
  .specialty-form { padding: 24px 20px; }
  .service-panel .btn-full { margin: 0 20px 24px; width: calc(100% - 40px); }
  .service-selector { padding: 20px 20px 16px; }
  section { padding: 64px 0; }
}

/* ---- FAQ (native <details>, no JS) ---- */
.faq-list { max-width: 760px; margin: 32px auto 0; }
.faq-item {
  border: 1px solid var(--color-border); border-radius: var(--radius-sm);
  background: var(--color-surface); margin-bottom: 12px; overflow: hidden;
}
.faq-item summary {
  cursor: pointer; padding: 18px 22px; font-family: var(--font-heading);
  font-weight: 700; font-size: 1.05rem; color: var(--color-text);
  list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--color-primary); font-size: 1.4rem; font-weight: 700; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item summary:hover { color: var(--color-primary); }
.faq-item .faq-answer { padding: 0 22px 20px; color: var(--color-text-light); line-height: 1.7; }

/* ---- Testimonials ---- */
.testimonials { text-align: center; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.testimonial-card {
  border: 1px solid var(--color-border); border-radius: var(--radius-sm);
  background: var(--color-surface); padding: 24px; text-align: left;
}
.testimonial-stars { color: #F5A623; font-size: 1.1rem; letter-spacing: 2px; margin-bottom: 10px; }
.testimonial-card p { color: var(--color-text-light); line-height: 1.7; font-style: italic; }
.testimonial-name { margin-top: 14px; font-weight: 700; color: var(--color-text); font-style: normal; }
@media (max-width: 900px) { .testimonial-grid { grid-template-columns: 1fr; } }

/* ---- City / service-area pages ---- */
.area-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 28px; max-width: 820px; margin-left: auto; margin-right: auto; }
.area-chip {
  padding: 8px 16px; border: 1px solid var(--color-border); border-radius: 999px;
  font-size: 0.9rem; font-weight: 600; color: var(--color-text); background: var(--color-surface);
  text-decoration: none; transition: border-color .2s, color .2s, background .2s;
}
a.area-chip:hover { border-color: var(--color-primary); color: var(--color-primary); background: var(--color-primary-light); }
.city-intro-list { list-style: none; margin: 0 0 20px; padding: 0; }
.city-intro-list li { position: relative; padding-left: 26px; margin-bottom: 10px; color: var(--color-text-light); line-height: 1.6; }
.city-intro-list li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--color-primary); font-weight: 800; }
