/* ============================================================
   ProTouch PowerWash — Industrial / NASA HUD
   VIBE.md spec: JetBrains Mono display, Inter Tight body,
   concrete white bg, true black text, teal accent,
   safety orange hazard, black hairline borders, no rounded
   corners, no gradients, stat panel hero.
   ============================================================ */

/* --- Design Tokens --- */
:root {
  /* Core Palette */
  --bg: #fafaf9;          /* concrete white */
  --bg-alt: #f3f2f1;
  --surface: #e7e5e4;     /* concrete gray */
  --surface-dark: #d6d3d1;
  --text: #0a0a0a;        /* true black */
  --text-muted: #404040;
  --text-dim: #737373;
  --border: #1a1a1a;      /* black hairline */
  --border-soft: #262626;
  --accent: #0d9488;      /* teal — sharp */
  --accent-dark: #0f766e;
  --accent-rgb: 13, 148, 136;
  --hazard: #f59e0b;      /* safety orange */
  --hazard-dark: #d97706;
  --hazard-rgb: 245, 158, 11;
  --danger: #dc2626;
  --success: #15803d;

  /* Typography */
  --font-display: 'JetBrains Mono', 'Courier New', monospace;
  --font-body: 'Inter Tight', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 5rem;
  --space-section: 5rem;

  /* Radius — sharp */
  --radius: 0px;
  --radius-sm: 0px;
  --radius-xs: 2px;
  --radius-full: 0px;

  /* Layout */
  --max-width: 1280px;

  /* No shadows — this is industrial */
  --transition: 0.15s ease-out;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-feature-settings: "ss01", "cv11";
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* --- Selection --- */
::selection { background: var(--hazard); color: var(--text); }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
h1 { font-size: clamp(2.25rem, 5.5vw, 4rem); letter-spacing: 0.02em; }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.125rem, 2vw, 1.375rem); }
h4 { font-size: 1rem; letter-spacing: 0.08em; }
h5 { font-size: 0.875rem; letter-spacing: 0.1em; }
h6 { font-size: 0.75rem; letter-spacing: 0.12em; }
p {
  margin-bottom: 1.25rem;
  font-family: var(--font-body);
  line-height: 1.75;
  max-width: 68ch;
}

code, .mono { font-family: var(--font-mono); }

/* --- Layout --- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; width: 100%; }
.section { padding: var(--space-section) 0; position: relative; }
.section-alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-header { margin-bottom: 64px; max-width: 780px; }
.section-header.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-header h2 { margin-bottom: 20px; }
.section-header p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text);
  margin-bottom: 20px;
  padding: 6px 12px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 0;
}
.section-label::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--hazard);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  border-radius: 0;
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}
.btn-accent,
.btn-primary {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}
.btn-accent:hover,
.btn-primary:hover {
  background: var(--hazard);
  color: var(--text);
  border-color: var(--text);
}
.btn-hazard {
  background: var(--hazard);
  color: var(--text);
  border-color: var(--text);
}
.btn-hazard:hover {
  background: var(--text);
  color: var(--hazard);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover {
  background: var(--text);
  color: var(--bg);
}
.btn-white {
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-white:hover {
  background: var(--text);
  color: var(--bg);
}
.btn-lg {
  padding: 18px 32px;
  font-size: 0.875rem;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* --- Top Bar --- */
.top-bar {
  background: var(--text);
  color: var(--bg);
  padding: 8px 0;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border);
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.top-bar a { color: var(--bg); font-weight: 500; transition: color var(--transition); }
.top-bar a:hover { color: var(--hazard); }
.top-bar-left { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.top-bar-left > span { color: rgba(255, 255, 255, 0.3); }
.top-bar-right { display: flex; gap: 16px; align-items: center; }
.top-bar-badge {
  background: var(--hazard);
  color: var(--text);
  padding: 3px 10px;
  border: 1px solid var(--bg);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
}

/* --- Header --- */
.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}
.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.125rem;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.logo::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  background: var(--hazard);
  border: 1px solid var(--text);
  margin-right: 6px;
}
.logo span { color: var(--accent); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.nav-links a {
  color: var(--text);
  transition: color var(--transition);
  position: relative;
  padding: 8px 0;
}
.nav-links a:hover { color: var(--accent); }
.nav-links a:hover::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--hazard);
}
.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-phone {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.05em;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.header-phone:hover { color: var(--accent); }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  border: 1px solid var(--border);
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
}

/* --- HERO: STAT PANEL (the signature element) --- */
.hero {
  background: var(--bg);
  padding: 48px 0 0 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(0,0,0,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0,0,0,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.hero-content { position: relative; }
.hero-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text);
}
.hero-meta .dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--hazard);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.75rem);
  margin-bottom: 20px;
  max-width: 14ch;
  line-height: 1.05;
}
.hero h1 .highlight {
  display: block;
  color: var(--accent);
}
.hero-sub {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 60ch;
  margin-bottom: 32px;
  text-transform: none;
  letter-spacing: 0;
}
.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

/* Stat Panel — the NASA HUD */
.stat-panel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  border-bottom: none;
  margin: 0 -24px;
  background: var(--bg);
  position: relative;
}
.stat-cell {
  padding: 28px 24px 32px;
  border-right: 1px solid var(--border);
  position: relative;
  background: var(--bg);
}
.stat-cell:last-child { border-right: none; }
.stat-cell:nth-child(4n) { border-right: none; }
.stat-cell .stat-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.stat-cell .stat-label::before {
  content: ">";
  color: var(--hazard);
  font-weight: 800;
}
.stat-cell .stat-value {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.stat-cell .stat-unit {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}
.stat-cell .stat-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--hazard);
  width: 40%;
}
.stat-cell:nth-child(2) .stat-bar { background: var(--accent); width: 65%; }
.stat-cell:nth-child(3) .stat-bar { background: var(--hazard); width: 85%; }
.stat-cell:nth-child(4) .stat-bar { background: var(--accent); width: 55%; }

/* --- Trust Bar --- */
.trust-bar {
  background: var(--text);
  color: var(--bg);
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-bar .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.trust-item svg { color: var(--hazard); flex-shrink: 0; }
.trust-item .stars { color: var(--hazard); letter-spacing: 0.1em; font-size: 0.875rem; }

/* --- Cards & Grids --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 0;
  border: 1px solid var(--border);
}
.service-card {
  background: var(--bg);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 28px;
  transition: background var(--transition);
  position: relative;
}
.service-card:hover { background: var(--surface); }
.service-card:hover h3 a { color: var(--accent); }
.service-card-img {
  display: none; /* industrial: no photos in cards */
}
.service-card-body { position: relative; }
.service-card::before {
  content: attr(data-num);
  position: absolute;
  top: 20px;
  right: 24px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--text-dim);
  font-weight: 600;
  letter-spacing: 0.1em;
}
.service-card h3 {
  margin-bottom: 12px;
  font-size: 1.0625rem;
  letter-spacing: 0.05em;
}
.service-card h3 a { color: var(--text); transition: color var(--transition); }
.service-card p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 18px;
  text-transform: none;
  font-family: var(--font-body);
  letter-spacing: 0;
}
.service-card-link {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
}
.service-card-link:hover { color: var(--accent); border-color: var(--accent); }

/* --- Stats section (non-hero) --- */
.stats { padding: 0; background: var(--text); color: var(--bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  padding: 32px 24px;
  border-right: 1px solid rgba(255,255,255,0.12);
  text-align: left;
}
.stat-item:last-child { border-right: none; }
.stat-item .stat-label {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--bg);
}

/* --- Gallery / Before-After --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.ba-card {
  position: relative;
  border: 1px solid var(--border);
  background: var(--surface);
  aspect-ratio: 4/3;
  overflow: hidden;
}
.ba-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ba-after { clip-path: inset(0 0 0 50%); }
.ba-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--hazard);
}
.ba-label {
  position: absolute;
  top: 12px;
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 1px solid var(--text);
  background: var(--bg);
}
.ba-label-before { left: 12px; }
.ba-label-after { right: 12px; background: var(--hazard); }

/* --- Features --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0;
  border: 1px solid var(--border);
}
.feature-card {
  padding: 36px 28px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: relative;
}
.feature-card:last-child { border-right: none; }
.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  width: 40px;
  background: var(--hazard);
}
.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--text);
  color: var(--bg);
  margin-bottom: 20px;
  border: 1px solid var(--text);
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-card h3 {
  font-size: 1rem;
  margin-bottom: 10px;
  letter-spacing: 0.05em;
}
.feature-card p {
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--text-muted);
  text-transform: none;
  letter-spacing: 0;
}

/* --- Process --- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0;
  border: 1px solid var(--border);
}
.process-step {
  padding: 36px 28px;
  border-right: 1px solid var(--border);
  position: relative;
  background: var(--bg);
}
.process-step:last-child { border-right: none; }
.process-num {
  font-family: var(--font-mono);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  color: var(--hazard);
  margin-bottom: 18px;
  display: block;
}
.process-num::before { content: "["; color: var(--text); }
.process-num::after { content: "]"; color: var(--text); }
.process-step h3 { font-size: 1rem; margin-bottom: 10px; }
.process-step p {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--text-muted);
  text-transform: none;
  letter-spacing: 0;
}

/* --- Testimonials --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 0;
  border: 1px solid var(--border);
}
.testimonial-card {
  padding: 32px 28px;
  border-right: 1px solid var(--border);
  background: var(--bg);
  position: relative;
}
.testimonial-card:last-child { border-right: none; }
.testimonial-card::before {
  content: "//";
  position: absolute;
  top: 18px;
  right: 24px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--hazard);
  font-weight: 700;
}
.testimonial-stars {
  color: var(--hazard);
  font-size: 0.875rem;
  letter-spacing: 2px;
  margin-bottom: 14px;
}
.testimonial-text {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 18px;
  text-transform: none;
  letter-spacing: 0;
}
.testimonial-author { border-top: 1px solid var(--border); padding-top: 14px; }
.testimonial-role {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

/* --- Area Cards --- */
.area-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
  border: 1px solid var(--border);
}
.area-card {
  padding: 22px 24px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
  transition: all var(--transition);
  background: var(--bg);
}
.area-card:hover { background: var(--text); color: var(--bg); }
.area-card:hover svg { color: var(--hazard); }
.area-card svg { color: var(--hazard); }

/* --- CTA Banner --- */
.cta-banner {
  background: var(--text);
  color: var(--bg);
  padding: 80px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.cta-banner .container { position: relative; }
.cta-banner h2 { color: var(--bg); margin-bottom: 16px; max-width: 18ch; }
.cta-banner p {
  color: rgba(255,255,255,0.75);
  margin-bottom: 28px;
  font-family: var(--font-body);
  text-transform: none;
  letter-spacing: 0;
}
.cta-banner .btn-white { background: var(--hazard); border-color: var(--hazard); color: var(--text); }
.cta-banner .btn-white:hover { background: var(--bg); border-color: var(--bg); }
.cta-banner .btn-accent { background: var(--bg); border-color: var(--bg); color: var(--text); }
.cta-banner .btn-accent:hover { background: var(--hazard); border-color: var(--hazard); }

/* --- Footer --- */
.site-footer {
  background: var(--text);
  color: var(--bg);
  padding: 64px 0 0;
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-brand .logo { color: var(--bg); margin-bottom: 16px; display: inline-flex; }
.footer-brand p {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  text-transform: none;
  letter-spacing: 0;
}
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--hazard);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.75);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--hazard); }
.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.5;
}
.footer-contact-item svg { color: var(--hazard); flex-shrink: 0; margin-top: 2px; }
.footer-contact-item a { color: rgba(255,255,255,0.85); }
.footer-contact-item a:hover { color: var(--hazard); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.75);
  transition: all var(--transition);
}
.footer-social a:hover { background: var(--hazard); color: var(--text); border-color: var(--hazard); }

/* --- Page Hero (subpages) --- */
.page-hero {
  background: var(--bg);
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(0,0,0,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0,0,0,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.page-hero .container { position: relative; }
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.breadcrumb a { color: var(--text-muted); border-bottom: 1px solid transparent; }
.breadcrumb a:hover { color: var(--hazard); border-color: var(--hazard); }
.breadcrumb span { color: var(--text-dim); }
.page-hero h1 { margin-bottom: 16px; max-width: 22ch; }
.page-hero p {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  color: var(--text-muted);
  text-transform: none;
  letter-spacing: 0;
  max-width: 68ch;
}

/* --- Service Detail Layout --- */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
}
.service-content {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
}
.service-content h2 {
  margin-top: 40px;
  margin-bottom: 16px;
  font-size: 1.375rem;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.service-content h2:first-child { margin-top: 0; }
.service-content h3 {
  margin-top: 28px;
  margin-bottom: 12px;
  font-size: 1.0625rem;
}
.service-content p {
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--font-body);
  color: var(--text-muted);
  max-width: none;
}
.service-content p strong { color: var(--text); font-weight: 700; }
.service-content ul {
  list-style: none;
  margin: 16px 0 24px;
  padding-left: 0;
}
.service-content ul li {
  position: relative;
  padding: 8px 0 8px 28px;
  color: var(--text-muted);
  border-bottom: 1px dashed var(--border);
  font-size: 15px;
  line-height: 1.6;
}
.service-content ul li::before {
  content: ">";
  position: absolute;
  left: 4px;
  top: 8px;
  color: var(--hazard);
  font-family: var(--font-mono);
  font-weight: 800;
}
.service-content a {
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  font-weight: 600;
}
.service-content a:hover { color: var(--hazard); border-color: var(--hazard); }

/* --- Sidebar --- */
.service-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 96px;
  align-self: start;
}
.sidebar-cta {
  background: var(--text);
  color: var(--bg);
  padding: 28px 24px;
  border: 1px solid var(--border);
}
.sidebar-cta::before {
  content: "FORM_STATUS: PENDING";
  display: block;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  color: var(--hazard);
  letter-spacing: 0.15em;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.sidebar-cta h3 {
  color: var(--bg);
  font-size: 1rem;
  margin-bottom: 10px;
  letter-spacing: 0.05em;
}
.sidebar-cta p {
  color: rgba(255,255,255,0.75);
  font-size: 0.8125rem;
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--font-body);
  margin-bottom: 16px;
  max-width: none;
}
.sidebar-cta .btn { width: 100%; background: var(--hazard); border-color: var(--hazard); color: var(--text); }
.sidebar-cta .btn:hover { background: var(--bg); }
.sidebar-services {
  border: 1px solid var(--border);
  padding: 24px;
  background: var(--bg);
}
.sidebar-services h4 {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.sidebar-services ul { display: flex; flex-direction: column; }
.sidebar-services ul li { border-bottom: 1px dashed var(--border); }
.sidebar-services ul li:last-child { border-bottom: none; }
.sidebar-services ul li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text);
}
.sidebar-services ul li a:hover { color: var(--accent); }

/* --- Mobile nav + Hamburger --- */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: rgba(10,10,10,0.85);
  z-index: 200;
  display: none;
}
.mobile-nav.open { display: block; }
.mobile-nav-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(340px, 85vw);
  background: var(--bg);
  border-left: 1px solid var(--border);
  padding: 24px;
  overflow-y: auto;
}
.mobile-nav-close {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
}
.mobile-nav-links {
  display: flex;
  flex-direction: column;
  margin-top: 56px;
  margin-bottom: 24px;
  border-top: 1px solid var(--border);
}
.mobile-nav-links a {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
}
.mobile-nav-links a:hover { color: var(--accent); }
.mobile-nav-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--text);
  border-top: 1px solid var(--border);
  padding: 12px 16px;
  z-index: 99;
}
.mobile-bottom-bar .container {
  display: flex;
  gap: 10px;
  padding: 0;
}
.mobile-bottom-bar .btn { flex: 1; }

/* --- Stat Panel variant for subpages --- */
.spec-panel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  margin: 32px 0;
  background: var(--bg);
}
.spec-panel .stat-cell {
  border-bottom: none;
}

/* --- Fade In --- */
.fade-in { opacity: 1; }
.stagger > * { opacity: 1; }

/* --- Highlight --- */
.highlight { color: var(--accent); }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .stat-panel { grid-template-columns: repeat(2, 1fr); }
  .stat-cell:nth-child(2) { border-right: none; }
  .stat-cell:nth-child(1), .stat-cell:nth-child(2) { border-bottom: 1px solid var(--border); }
  .stat-cell:nth-child(3) { border-right: 1px solid var(--border); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .service-detail { grid-template-columns: 1fr; }
  .service-sidebar { position: static; }
  .trust-bar .container { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(1), .stat-item:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,0.12); }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .header-cta .header-phone { display: none; }
  .header-cta .btn { display: none; }
  .hamburger { display: flex; }
  .top-bar { display: none; }
  .stat-panel { grid-template-columns: 1fr; margin: 0 -24px; }
  .stat-cell { border-right: none !important; border-bottom: 1px solid var(--border); }
  .stat-cell:last-child { border-bottom: none; }
  .hero { padding-top: 32px; }
  .hero h1 { font-size: 2rem; max-width: none; }
  .hero-btns { flex-direction: column; align-items: stretch; }
  .hero-btns .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .spec-panel { grid-template-columns: 1fr; }
  .spec-panel .stat-cell { border-right: none; border-bottom: 1px solid var(--border); }
  .spec-panel .stat-cell:last-child { border-bottom: none; }
  .mobile-bottom-bar { display: block; }
  body { padding-bottom: 70px; }
  .cta-banner { padding: 56px 0; }
  .cta-banner .btn { display: block; margin: 8px 0; width: 100%; }
}
@media (max-width: 480px) {
  .trust-bar .container { grid-template-columns: 1fr; gap: 16px; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { border-right: none !important; border-bottom: 1px solid rgba(255,255,255,0.12); }
  .stat-item:last-child { border-bottom: none; }
  .services-grid, .features-grid, .process-grid, .testimonials-grid, .area-grid { grid-template-columns: 1fr; }
  .service-card, .feature-card, .process-step, .testimonial-card, .area-card { border-right: none; }
}

/* ============================================================
   Hero image (homepage) + Service page hero image
   Added 2026-04-08 for image audit fix pass
   ============================================================ */
.hero-image {
  position: relative;
  margin-top: 32px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: #0f1417;
  overflow: hidden;
}
.hero-image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
  filter: contrast(1.03) saturate(1.05);
}
.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(0,0,0,0.35) 100%);
  pointer-events: none;
}

/* Service page primary image block — sits below .page-hero, above .service-detail */
.service-hero-img {
  position: relative;
  margin: 0 0 8px 0;
  border-bottom: 1px solid var(--border);
  background: #0f1417;
  overflow: hidden;
}
.service-hero-img img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
}
.service-hero-img figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 8px 14px;
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #fff;
  background: rgba(0,0,0,0.55);
  border-top: 1px solid rgba(245, 158, 11, 0.5);
  border-right: 1px solid rgba(245, 158, 11, 0.5);
}

/* ============================================================
   Services Hub page — built 2026-04-08
   ============================================================ */
.services-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  background: var(--bg);
}
.services-hub-card {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background 0.18s ease;
  text-decoration: none;
  color: inherit;
}
.services-hub-card:nth-child(3n) { border-right: none; }
.services-hub-card:hover {
  background: #0f1417;
}
.services-hub-card:hover .services-hub-card-img img {
  transform: scale(1.04);
}
.services-hub-card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #0b0f12;
}
.services-hub-card-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.services-hub-card-img .services-hub-num {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--hazard, #f59e0b);
  background: rgba(0,0,0,0.72);
  padding: 4px 8px;
  border: 1px solid rgba(245, 158, 11, 0.55);
}
.services-hub-card-body {
  padding: 22px 24px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.services-hub-card-body h3 {
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 10px 0;
  color: var(--text);
}
.services-hub-card-body p {
  font-family: var(--font-body, "Inter Tight", sans-serif);
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0 0 18px 0;
  flex: 1;
}
.services-hub-card-link {
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--hazard, #f59e0b);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

@media (max-width: 960px) {
  .services-hub-grid { grid-template-columns: repeat(2, 1fr); }
  .services-hub-card:nth-child(3n) { border-right: 1px solid var(--border); }
  .services-hub-card:nth-child(2n) { border-right: none; }
  .service-hero-img img { max-height: 320px; }
  .hero-image img { max-height: 360px; }
}
@media (max-width: 560px) {
  .services-hub-grid { grid-template-columns: 1fr; }
  .services-hub-card { border-right: none !important; }
  .service-hero-img img { max-height: 240px; }
  .hero-image img { max-height: 280px; }
}
