/* ═══════════════════════════════════════════════════════════════════════════
   COPPER STATE GARAGE PROS — STYLES
   Built by B.O.S.S. — Brave Ones Smart Solutions | bossdoesit.com
   Compliant with B.O.S.S. Visual Standards v1.0 (Tier 2 v2.2)
   ═══════════════════════════════════════════════════════════════════════════
   Per-client deviation from Visual Standards v1.0 §4:
   Copper State uses PNG logo image instead of text wordmark, per client preference
   ═══════════════════════════════════════════════════════════════════════════ */

/* ───── DESIGN TOKENS ─────────────────────────────────────────────────────── */
:root {
  /* ────────────────────────────────────────────────
     COPPER STATE GARAGE PROS — BRAND TOKENS
     Source: Truck wrap canonical brand palette
     Per Visual Standards v1.0 §1 (Layer 2)
     ──────────────────────────────────────────────── */

  /* Brand colors — from the truck */
  --primary:    #223439;
  --accent:     #b04f22;
  --tan:        #dacab1;
  --refined:    #a9a190;

  /* Functional neutrals */
  --white:      #ffffff;
  --black:      #000000;
  --body:       #1f1f1f;
  --surface:    #f5f5f5;
  --muted:      #a9a190;

  /* Typography — Raleway single-family system */
  --font-d:     'Raleway', sans-serif;
  --font-b:     'Raleway', sans-serif;

  /* Layout — universal */
  --mw:         1280px;
  --pad:        clamp(16px, 4vw, 40px);
  --sp:         clamp(56px, 8vw, 96px);

  /* Effects — universal */
  --tr:         0.2s ease;
  --sh:         0 2px 14px rgba(34, 52, 57, 0.10);
  --sh-lg:      0 8px 32px rgba(34, 52, 57, 0.16);

  /* Auxiliary spacing scale (8pt grid) — kept for component padding/gap */
  --s-1:  0.25rem;
  --s-2:  0.5rem;
  --s-3:  0.75rem;
  --s-4:  1rem;
  --s-5:  1.25rem;
  --s-6:  1.5rem;
  --s-8:  2rem;
  --s-10: 2.5rem;
  --s-12: 3rem;
  --s-16: 4rem;
  --s-20: 5rem;
  --s-24: 6rem;

  /* Auxiliary layout tokens */
  --container-narrow: 880px;
  --radius: 4px;
  --radius-lg: 4px;  /* normalized to ≤4px per §15 anti-pattern */
}

/* ───── ACCESSIBILITY: skip-nav link (Visual Standards v1.0 §16) ──────────── */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--primary);
  color: var(--white);
  padding: var(--s-3) var(--s-4);
  font-family: var(--font-d);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.875rem;
  z-index: 100;
}

.skip-link:focus {
  left: var(--s-3);
  top: var(--s-3);
}

/* ───── RESET / BASE ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-b);
  font-size: 16px;
  line-height: 1.6;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--tr) ease;
}

a:hover {
  color: var(--accent);
}

button {
  font-family: inherit;
  cursor: pointer;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-d);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--primary);
  margin: 0 0 var(--s-4);
}

h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p { margin: 0 0 var(--s-4); }

p:last-child { margin-bottom: 0; }

/* ───── LAYOUT PRIMITIVES ─────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--mw);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.container-narrow {
  max-width: var(--container-narrow);
}

.section {
  padding: var(--sp) 0;
}

.section-tan { background: var(--tan); }
.section-primary {
  background: var(--primary);
  color: var(--white);
}
.section-primary h1,
.section-primary h2,
.section-primary h3,
.section-primary h4 { color: var(--white); }
.section-primary .lede,
.section-primary p { color: rgba(255, 255, 255, 0.85); }
.section-primary .review-card { color: var(--body); }
.section-primary .review-card .review-text,
.section-primary .review-card .review-author,
.section-primary .review-card .review-meta { color: var(--body); }

/* Legacy class aliases — map prior names to canonical tokens */
.section-sand { background: var(--tan); }
.section-cream { background: var(--tan); }
.section-teal {
  background: var(--primary);
  color: var(--white);
}
.section-teal h1, .section-teal h2, .section-teal h3 { color: var(--white); }

.eyebrow {
  font-family: var(--font-d);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 var(--s-4);
  display: block;
}

.section-teal .eyebrow,
.section-primary .eyebrow { color: rgba(255, 255, 255, 0.92); }

.lede {
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--body);
  max-width: 60ch;
}

.section-teal .lede { color: rgba(255, 255, 255, 0.85); }

/* ───── BUTTONS ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  padding: var(--s-4) var(--s-6);
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 0;
  cursor: pointer;
  transition: all var(--tr) ease;
  line-height: 1;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--sh);
}

.btn-copper {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.btn-copper:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--sh);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

.section-teal .btn-outline {
  color: var(--white);
  border-color: var(--white);
}

.section-teal .btn-outline:hover {
  background: var(--white);
  color: var(--primary);
}

.btn-lg {
  padding: var(--s-5) var(--s-8);
  font-size: 1rem;
}

.btn-block {
  display: flex;
  width: 100%;
}

/* ───── HEADER / NAV ──────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--refined);
  box-shadow: var(--sh);
}

.brand-logo {
  height: 64px !important;
  width: auto;
  max-height: 64px !important;
  min-height: 64px !important;
  object-fit: contain;
  display: block;
  flex-shrink: 0 !important;
}

@media (max-width: 768px) {
  .brand-logo {
    height: 44px !important;
    max-height: 44px !important;
    min-height: 44px !important;
  }
}

.brand,
a.brand {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--s-4) 0;
  gap: var(--s-6);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  text-decoration: none;
}

.brand-mark {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--font-d);
  font-weight: 900;
  color: var(--primary);
  font-size: 1.0625rem;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.brand-name small {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--refined);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-top: 2px;
}

.nav-links {
  display: none;
  align-items: center;
  gap: var(--s-6);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-family: var(--font-d);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary);
  white-space: nowrap;
}

.nav-links a:hover { color: var(--accent); }

.nav-cta {
  display: none;
  align-items: center;
  gap: var(--s-3);
}

.nav-phone {
  font-family: var(--font-d);
  font-weight: 800;
  color: var(--primary);
  font-size: 1rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: var(--s-2);
  white-space: nowrap;
}

.nav-phone:hover { color: var(--accent); }

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: none;
  border: 1px solid var(--refined);
  border-radius: var(--radius);
  padding: 0;
  gap: 4px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--primary);
  transition: transform var(--tr) ease;
}

@media (min-width: 768px) {
  .nav-links { display: flex; }
  .nav-cta { display: flex; }
  .nav-toggle { display: none; }
}

@media (max-width: 1023px) and (min-width: 769px) {
  .nav-links { gap: 1rem; }
  .nav-links a { font-size: 0.85rem; }
}

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--refined);
  padding: var(--s-4) var(--s-6);
}

.mobile-nav.is-open { display: block; }

.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-1);
}

.mobile-nav a {
  display: block;
  padding: var(--s-3) 0;
  font-family: var(--font-d);
  font-size: 0.9375rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--primary);
  border-bottom: 1px solid var(--refined);
}

.mobile-nav .btn {
  margin-top: var(--s-4);
}

@media (min-width: 1024px) {
  .mobile-nav { display: none !important; }
}

/* ───── HERO ──────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  background: var(--tan);
  overflow: hidden;
  padding: var(--s-16) 0 var(--s-20);
  min-height: 640px;
  display: flex;
  align-items: center;
}

@media (max-width: 768px) {
  .hero { min-height: 520px; }
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 85% 20%, rgba(196, 84, 26, 0.10), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(44, 74, 62, 0.06), transparent 50%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  gap: var(--s-12);
  align-items: center;
  position: relative;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.15fr 1fr;
    gap: var(--s-16);
  }
}

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

.hero h1 {
  font-size: clamp(2.25rem, 4.8vw, 3.5rem);
  margin-bottom: var(--s-5);
}

.hero h1 .accent { color: var(--accent); }

.hero-lede {
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--body);
  margin-bottom: var(--s-8);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-bottom: var(--s-8);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3) var(--s-6);
  align-items: center;
  padding-top: var(--s-6);
  border-top: 1px solid var(--refined);
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: var(--font-d);
}

.trust-item svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
  flex-shrink: 0;
}

/* ───── SERVICES GRID ─────────────────────────────────────────────────────── */
.services-grid {
  display: grid;
  gap: var(--s-5);
  grid-template-columns: 1fr;
}

@media (min-width: 480px)  { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(4, 1fr); } }

.service-card {
  background: var(--white);
  border: 1px solid var(--refined);
  border-radius: var(--radius-lg);
  padding: var(--s-6);
  transition: all var(--tr) ease;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--tr) ease;
}

.service-card:hover {
  border-color: var(--refined);
  transform: translateY(-3px);
  box-shadow: var(--sh);
}

.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--tan);
  border-radius: var(--radius);
  color: var(--accent);
  margin-bottom: var(--s-4);
}

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

.service-card h3 {
  font-size: 1.125rem;
  margin-bottom: var(--s-2);
}

.service-card p {
  font-size: 0.9375rem;
  color: var(--body);
  margin-bottom: var(--s-4);
  flex-grow: 1;
}

.service-link {
  font-family: var(--font-d);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
}

.service-link::after {
  content: "→";
  transition: transform var(--tr) ease;
}

.service-card:hover .service-link::after { transform: translateX(4px); }

/* ───── CITY GRID ─────────────────────────────────────────────────────────── */
.city-grid {
  display: grid;
  gap: var(--s-3);
  grid-template-columns: 1fr;
}

@media (min-width: 480px)  { .city-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px)  { .city-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .city-grid { grid-template-columns: repeat(5, 1fr); } }

.city-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  padding: 1.5rem 1rem;
  background: var(--white);
  border: 1px solid var(--refined);
  border-radius: var(--radius);
  text-align: center;
  text-decoration: none;
  color: var(--primary);
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all var(--tr) ease;
}

.city-tile:hover {
  background: var(--tan);
  color: var(--primary);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.city-tile-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.city-tile-primary:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* ───── REVIEWS / SOCIAL PROOF ────────────────────────────────────────────── */
.reviews-grid {
  display: grid;
  gap: var(--s-5);
  grid-template-columns: 1fr;
}

@media (min-width: 768px)  { .reviews-grid { grid-template-columns: repeat(3, 1fr); } }

.review-card {
  background: var(--white);
  border: 1px solid var(--refined);
  border-radius: var(--radius-lg);
  padding: var(--s-6);
  position: relative;
}

.review-stars {
  color: var(--accent);
  font-size: 1rem;
  letter-spacing: 0.1em;
  margin-bottom: var(--s-3);
  line-height: 1;
}

.review-stars svg { width: 18px; height: 18px; }

.review-text {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--body);
  font-style: italic;
  margin-bottom: var(--s-4);
}

.review-author {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--primary);
}

.review-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: var(--s-2);
}

.review-platform {
  font-size: 0.7rem;
  color: var(--refined);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ───── PROCESS / 3-STEP ──────────────────────────────────────────────────── */
.process {
  display: grid;
  gap: var(--s-8);
  grid-template-columns: 1fr;
}

@media (min-width: 768px) { .process { grid-template-columns: repeat(3, 1fr); } }

.process-step { position: relative; }

.process-num {
  font-family: var(--font-d);
  font-size: 3rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: var(--s-4);
  display: block;
}

.process-step h3 {
  font-size: 1.25rem;
  margin-bottom: var(--s-3);
}

.process-step p {
  color: var(--body);
  font-size: 0.9375rem;
}

/* ───── CTA BAND ──────────────────────────────────────────────────────────── */
.cta-band {
  background: var(--accent);
  color: var(--white);
  padding: var(--s-16) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    radial-gradient(circle at 80% 30%, rgba(0, 0, 0, 0.12), transparent 50%);
  pointer-events: none;
}

.cta-band > .container { position: relative; }

.cta-band h2 {
  color: var(--white);
  margin-bottom: var(--s-4);
}

.cta-band p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.125rem;
  max-width: 50ch;
  margin: 0 auto var(--s-6);
}

/* CTAs on accent-colored band — high contrast (Visual Standards v1.0 §9) */
.cta-band .btn-primary,
.cta-band .btn-copper,
.cta-band .btn {
  background: var(--white);
  color: var(--primary);
  border: 2px solid var(--white);
}

.cta-band .btn-primary:hover,
.cta-band .btn-copper:hover,
.cta-band .btn:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--white);
}

.cta-band .btn-outline,
.cta-band .btn-outline-light,
.cta-band .btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.cta-band .btn-outline:hover,
.cta-band .btn-outline-light:hover,
.cta-band .btn-secondary:hover {
  background: var(--white);
  color: var(--primary);
}

.cta-band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  justify-content: center;
}

/* ───── FORM ──────────────────────────────────────────────────────────────── */
.form-card {
  background: var(--white);
  border: 1px solid var(--refined);
  border-radius: var(--radius-lg);
  padding: var(--s-8);
  box-shadow: var(--sh);
  border-top: 4px solid var(--accent);
}

.form-row {
  margin-bottom: var(--s-5);
}

.form-grid-2 {
  display: grid;
  gap: var(--s-5);
  grid-template-columns: 1fr;
}

@media (min-width: 480px) { .form-grid-2 { grid-template-columns: 1fr 1fr; } }

.form-row label {
  display: block;
  font-family: var(--font-d);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: var(--s-2);
}

.form-row label .req { color: var(--accent); }

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: var(--s-3) var(--s-4);
  font-family: var(--font-b);
  font-size: 1rem;
  color: var(--body);
  background: var(--white);
  border: 1.5px solid var(--refined);
  border-radius: var(--radius);
  transition: border-color var(--tr) ease, box-shadow var(--tr) ease;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(196, 84, 26, 0.15);
}

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

.form-disclaimer {
  font-size: 0.8125rem;
  color: var(--body);
  opacity: 0.7;
  margin-top: var(--s-4);
  text-align: center;
}

/* Honeypot */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

/* ───── FAQ ───────────────────────────────────────────────────────────────── */
.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
  border-bottom: 1px solid var(--refined);
  padding: var(--s-5) 0;
}

.faq-item summary {
  font-family: var(--font-d);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-4);
  padding: var(--s-2) 0;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--accent);
  font-weight: 400;
  transition: transform var(--tr) ease;
  flex-shrink: 0;
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item p {
  margin-top: var(--s-3);
  color: var(--body);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* ───── PRICING / SPECIALS ────────────────────────────────────────────────── */
.specials-grid {
  display: grid;
  gap: var(--s-6);
  grid-template-columns: 1fr;
}

@media (min-width: 768px) { .specials-grid { grid-template-columns: repeat(3, 1fr); } }

.special-card {
  background: var(--white);
  border: 2px solid var(--refined);
  border-radius: var(--radius-lg);
  padding: var(--s-8);
  text-align: center;
  position: relative;
  transition: all var(--tr) ease;
}

.special-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--sh);
}

.special-tag {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  padding: 4px 10px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  margin-bottom: var(--s-4);
  font-family: var(--font-d);
}

.special-price {
  font-family: var(--font-d);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin: var(--s-2) 0;
}

.special-price small {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--refined);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: var(--s-1);
}

.special-card h3 {
  font-size: 1.0625rem;
  margin-bottom: var(--s-3);
}

.special-card p {
  font-size: 0.875rem;
  color: var(--body);
  margin-bottom: var(--s-5);
}

/* ───── PAGE HEADER (for inner pages) ─────────────────────────────────────── */
.page-header {
  background: var(--primary);
  color: var(--white);
  padding: var(--s-16) 0 var(--s-12);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 90% 0%, rgba(196, 84, 26, 0.20), transparent 50%);
  pointer-events: none;
}

.page-header > .container { position: relative; }

.page-header .eyebrow { color: var(--accent); }

.page-header h1 {
  color: var(--white);
  font-size: clamp(2rem, 4.5vw, 3rem);
  max-width: 24ch;
}

.page-header p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.125rem;
  max-width: 60ch;
  margin-top: var(--s-4);
}

.breadcrumbs {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--s-4);
  font-family: var(--font-d);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.breadcrumbs a {
  color: var(--accent);
}

.breadcrumbs a:hover { color: var(--white); }

.breadcrumbs span { color: rgba(255, 255, 255, 0.5); margin: 0 var(--s-2); }

/* ───── CONTENT (long-form prose) ─────────────────────────────────────────── */
.prose {
  max-width: 70ch;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--body);
}

.prose h2 {
  margin-top: var(--s-12);
  margin-bottom: var(--s-4);
}

.prose h3 {
  margin-top: var(--s-8);
  margin-bottom: var(--s-3);
}

.prose ul, .prose ol {
  padding-left: var(--s-6);
  margin: 0 0 var(--s-4);
}

.prose li {
  margin-bottom: var(--s-2);
}

.prose ul li::marker { color: var(--accent); }

.prose strong { color: var(--primary); font-weight: 700; }

/* Two-column inner layout for service / city pages */
.two-col {
  display: grid;
  gap: var(--s-12);
  grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
  .two-col {
    grid-template-columns: 1.3fr 1fr;
    gap: var(--s-16);
  }
}

.sidebar-card {
  background: var(--tan);
  border-radius: var(--radius-lg);
  padding: var(--s-6);
  position: sticky;
  top: 90px;
}

.sidebar-card h3 {
  font-size: 1.125rem;
  margin-bottom: var(--s-3);
}

.sidebar-phone {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  font-family: var(--font-d);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary);
  text-decoration: none;
  margin: var(--s-3) 0;
}

.sidebar-phone:hover { color: var(--accent); }

.sidebar-list {
  list-style: none;
  margin: var(--s-4) 0;
  padding: 0;
}

.sidebar-list li {
  padding: var(--s-2) 0;
  font-size: 0.9375rem;
  color: var(--body);
  display: flex;
  gap: var(--s-2);
}

.sidebar-list li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 700;
}

/* ───── FOOTER ────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--primary);
  color: var(--white);
  padding: var(--s-16) 0 var(--s-8);
  border-top: 3px solid var(--accent);
}

/* Footer logo — invert to white via CSS filter (temporary launch fix; proper inverted PNG post-launch) */
.site-footer .brand-logo,
.footer-logo {
  filter: brightness(0) invert(1);
  opacity: 0.95;
  height: 48px !important;
  max-height: 48px !important;
  min-height: 48px !important;
}

.footer-grid {
  display: grid;
  gap: var(--s-10);
  grid-template-columns: 1fr;
  margin-bottom: var(--s-12);
}

@media (min-width: 480px)  { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }

/* Footer text sizing — per Visual Standards v1.0 §11 + bossdoesit.com reference */
.site-footer h3,
.site-footer h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li { margin-bottom: var(--s-2); }

.site-footer a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  line-height: 1.7;
}

.site-footer a:hover { color: var(--white); }

.footer-brand .brand-name { color: var(--white); }
.footer-brand .brand-name small { color: rgba(255, 255, 255, 0.65); }

.footer-col ul li a {
  font-size: 0.85rem;
  line-height: 1.7;
}

.footer-tagline,
.site-footer .brand-block p {
  font-style: italic;
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
  margin: var(--s-4) 0;
  max-width: 36ch;
}

.footer-credentials {
  font-size: 0.78rem;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
}

.footer-contact a { color: var(--white); font-weight: 600; }

/* Footer-bottom — TopShield reference standard (3-element layout) */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
  max-width: var(--mw);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
}

.footer-bottom-links {
  display: flex;
  gap: var(--s-4);
}

.footer-roc {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.02em;
}

.footer-boss {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
}

.footer-boss a {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}

/* ───── UTILITIES ─────────────────────────────────────────────────────────── */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0 !important; }
.mb-4 { margin-bottom: var(--s-4) !important; }
.mb-8 { margin-bottom: var(--s-8) !important; }
.mt-6 { margin-top: var(--s-6) !important; }

.section-head {
  text-align: center;
  max-width: 60ch;
  margin: 0 auto var(--s-12);
}

.section-head .lede { margin: 0 auto; }

.divider-copper {
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: var(--s-4) auto;
  border: 0;
}

.section-head.text-left { text-align: left; margin-left: 0; }
.section-head.text-left .divider-copper { margin-left: 0; margin-right: auto; }

/* ───── ANIMATIONS ────────────────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate-up {
  opacity: 0;
  animation: fadeUp 700ms ease forwards;
}

.animate-up.delay-1 { animation-delay: 100ms; }
.animate-up.delay-2 { animation-delay: 200ms; }
.animate-up.delay-3 { animation-delay: 300ms; }

/* Visible focus states (Visual Standards v1.0 §16) */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
[type="text"]:focus-visible,
[type="email"]:focus-visible,
[type="tel"]:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ───── PHOTOGRAPHIC HERO + PAGE-HEADER (truck-imagery treatment) ────────── */
/* Cream/sand overlay direction — photo glows through, dark text reads on top. */
.hero-photo {
  position: relative;
  background-size: cover;
  background-position: center 65%;
  background-repeat: no-repeat;
}

@media (max-width: 768px) {
  .hero-photo { background-position: center 70%; }
}

.hero-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(34, 52, 57, 0.96) 0%,
    rgba(34, 52, 57, 0.85) 35%,
    rgba(34, 52, 57, 0.55) 70%,
    rgba(34, 52, 57, 0.30) 100%);
  pointer-events: none;
}

.hero-photo > .container {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin-left: 0;
  margin-right: auto;
}

.page-header-photo {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-header-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.88) 100%);
  pointer-events: none;
}

.page-header-photo > .container {
  position: relative;
  z-index: 1;
}

/* Hero-photo text overrides — text reads on dark primary overlay (white-on-dark) */
.hero-photo .hero-content {
  max-width: 640px;
  position: relative;
  z-index: 1;
}

.hero-photo h1 { color: var(--white); }
.hero-photo h1 .accent { color: var(--accent); }
.hero-photo .eyebrow { color: var(--accent); }
.hero-photo .hero-lede { color: rgba(255, 255, 255, 0.92); }

/* Hero-photo mini trust line — sits between lede and CTAs for above-fold trust density */
.hero-photo .hero-trust-mini {
  font-family: var(--font-d);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--s-6);
}

/* Hero-photo trust row — flex layout so the 5.0 badge anchors inline at the right */
.hero-photo .hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
  border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.hero-photo .hero-trust-items {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-3) var(--s-6);
}

.hero-photo .hero-badge {
  position: static;
  margin: 0;
  flex-shrink: 0;
}

/* ───── TRUST BAR (full-bleed contrast band, sits between hero and services) ── */
.trust-bar {
  background: var(--primary);
  color: var(--white);
  padding: var(--s-5) 0;
}

.trust-bar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-4) var(--s-6);
}

.trust-bar-item {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-family: var(--font-d);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  white-space: nowrap;
}

/* Bullet dot — 5px circle in accent (Visual Standards v1.0 §6) */
.trust-bar-item::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* Rating item — keep its star icon, suppress the dot */
.trust-bar-item.trust-bar-rating::before { display: none; }

.trust-bar-item.trust-bar-rating svg {
  width: 14px;
  height: 14px;
  color: var(--accent);
  flex-shrink: 0;
}

.trust-bar-item.trust-bar-rating {
  color: var(--accent);
}

@media (max-width: 768px) {
  .trust-bar-inner {
    justify-content: center;
    gap: var(--s-3) var(--s-5);
  }
  .trust-bar-item {
    font-size: 0.75rem;
  }
}

/* Page-header-photo text overrides — existing .page-header rules assume teal bg + white text;
   override to dark text for the cream/sand overlay treatment. */
.page-header-photo h1 { color: var(--primary); }
.page-header-photo p { color: var(--body); }
.page-header-photo .breadcrumbs { color: var(--body); opacity: 0.7; }
.page-header-photo .breadcrumbs a { color: var(--accent); }
.page-header-photo .breadcrumbs a:hover { color: var(--primary); }
.page-header-photo .breadcrumbs span { color: rgba(0, 0, 0, 0.4); }

/* .btn-outline-light — transparent button with white border, kept for any future dark-overlay use */
.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}

/* Footer attribution — per Visual Standards v1.0 §11 */
.footer-built {
  font-size: 0.67rem;
  color: rgba(255, 255, 255, 0.35);
  margin: 0;
}

.footer-built a {
  color: rgba(255, 255, 255, 0.65);
  font-weight: 600;
}

/* ───── PRINT (for invoice/document parity) ──────────────────────────────── */
@media print {
  .site-header, .site-footer, .nav-toggle, .hero-cta, .cta-band { display: none; }
}
