/* ============================================================
   LAPEER MOBILE MECHANIC — Shared Design System
   "Industrial Professional"
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,400;0,500;0,600;0,700;1,500&family=Barlow+Condensed:wght@500;600;700;800&family=Barlow+Semi+Condensed:wght@600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* ---------- Tokens ---------- */
:root {
  --ink:        oklch(0.20 0.014 248);
  --ink-deep:   oklch(0.155 0.014 248);
  --ink-2:      oklch(0.255 0.016 248);
  --steel:      oklch(0.34 0.018 248);
  --steel-line: oklch(0.40 0.02 248);

  --paper:      oklch(0.972 0.006 80);
  --paper-2:    oklch(0.935 0.009 78);
  --paper-line: oklch(0.86 0.012 78);

  --amber:      oklch(0.80 0.142 71);
  --amber-deep: oklch(0.715 0.152 58);
  --amber-soft: oklch(0.80 0.142 71 / 0.14);

  --flag-red:   #B22234;
  --flag-blue:  #3C3B6E;

  --txt:        oklch(0.26 0.012 248);
  --txt-soft:   oklch(0.46 0.011 248);
  --on-ink:     oklch(0.93 0.006 80);
  --on-ink-soft:oklch(0.72 0.01 248);

  --font-display: 'Barlow Condensed', system-ui, sans-serif;
  --font-semi:    'Barlow Semi Condensed', system-ui, sans-serif;
  --font-body:    'Barlow', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, monospace;

  --wrap: 1240px;
  --gut: clamp(20px, 5vw, 64px);

  --shadow-sm: 0 1px 2px rgba(10,14,18,.08), 0 2px 8px rgba(10,14,18,.06);
  --shadow-md: 0 10px 30px -12px rgba(10,14,18,.30);
  --shadow-lg: 0 28px 60px -22px rgba(10,14,18,.45);

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  color: var(--txt);
  background: var(--paper);
  line-height: 1.55;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
/* Defensive default: any icon SVG stays small even if its scoped CSS rule is missing/stale. */
svg.ic { width: 18px; height: 18px; flex: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: clamp(64px, 9vw, 128px); }
.section--tight { padding-block: clamp(48px, 6vw, 84px); }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-semi);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 13px;
  color: var(--amber-deep);
}
.eyebrow--light { color: var(--amber); }
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: currentColor; opacity: .9;
}
.eyebrow.no-rule::before { display: none; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 0.98; text-transform: uppercase; letter-spacing: .005em; }
.display {
  font-size: clamp(44px, 7.4vw, 104px);
  font-weight: 800;
  letter-spacing: -0.005em;
}
.h2 { font-size: clamp(34px, 4.6vw, 60px); }
.h3 { font-size: clamp(22px, 2.4vw, 30px); letter-spacing: .01em; }
.lead { font-size: clamp(18px, 1.7vw, 21px); color: var(--txt-soft); line-height: 1.6; max-width: 60ch; }
.lead--light { color: var(--on-ink-soft); }
.amber-text { color: var(--amber-deep); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--amber);
  display: inline-flex; align-items: center; gap: 11px;
  font-family: var(--font-semi); font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
  font-size: 16px; line-height: 1;
  padding: 17px 26px;
  background: var(--bg); color: var(--ink-deep);
  border: 2px solid transparent; border-radius: 4px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s var(--ease), color .2s;
  box-shadow: 0 8px 22px -10px oklch(0.715 0.152 58 / .8);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px oklch(0.715 0.152 58 / .9); background: var(--amber-deep); }
.btn:active { transform: translateY(0); }
.btn .ic { width: 18px; height: 18px; flex: none; }
.btn--ghost {
  background: transparent; color: var(--on-ink);
  border-color: oklch(1 0 0 / .28); box-shadow: none;
}
.btn--ghost:hover { background: oklch(1 0 0 / .08); border-color: oklch(1 0 0 / .5); color: var(--on-ink); }
.btn--dark { background: var(--ink); color: var(--on-ink); box-shadow: var(--shadow-sm); }
.btn--dark:hover { background: var(--ink-deep); color: var(--on-ink); }
.btn--lg { padding: 20px 32px; font-size: 18px; }
.btn--block { display: flex; width: 100%; justify-content: center; }

/* ---------- Flag motif (accurate US flag drawn as inline SVG) ---------- */
.flag {
  width: 38px; height: 20px; border-radius: 1.5px; overflow: hidden; flex: none;
  box-shadow: 0 0 0 1px rgba(0,0,0,.14), var(--shadow-sm);
  background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2076%2040%22%3E%3Crect%20width%3D%2276%22%20height%3D%2240%22%20fill%3D%22%23B22234%22%2F%3E%3Crect%20y%3D%223.077%22%20width%3D%2276%22%20height%3D%223.077%22%20fill%3D%22%23fff%22%2F%3E%3Crect%20y%3D%229.231%22%20width%3D%2276%22%20height%3D%223.077%22%20fill%3D%22%23fff%22%2F%3E%3Crect%20y%3D%2215.385%22%20width%3D%2276%22%20height%3D%223.077%22%20fill%3D%22%23fff%22%2F%3E%3Crect%20y%3D%2221.538%22%20width%3D%2276%22%20height%3D%223.077%22%20fill%3D%22%23fff%22%2F%3E%3Crect%20y%3D%2227.692%22%20width%3D%2276%22%20height%3D%223.077%22%20fill%3D%22%23fff%22%2F%3E%3Crect%20y%3D%2233.846%22%20width%3D%2276%22%20height%3D%223.077%22%20fill%3D%22%23fff%22%2F%3E%3Crect%20width%3D%2230.400%22%20height%3D%2221.538%22%20fill%3D%22%233C3B6E%22%2F%3E%3Ccircle%20cx%3D%222.53%22%20cy%3D%222.15%22%20r%3D%220.9%22%20fill%3D%22%23fff%22%2F%3E%3Ccircle%20cx%3D%227.60%22%20cy%3D%222.15%22%20r%3D%220.9%22%20fill%3D%22%23fff%22%2F%3E%3Ccircle%20cx%3D%2212.67%22%20cy%3D%222.15%22%20r%3D%220.9%22%20fill%3D%22%23fff%22%2F%3E%3Ccircle%20cx%3D%2217.73%22%20cy%3D%222.15%22%20r%3D%220.9%22%20fill%3D%22%23fff%22%2F%3E%3Ccircle%20cx%3D%2222.80%22%20cy%3D%222.15%22%20r%3D%220.9%22%20fill%3D%22%23fff%22%2F%3E%3Ccircle%20cx%3D%2227.87%22%20cy%3D%222.15%22%20r%3D%220.9%22%20fill%3D%22%23fff%22%2F%3E%3Ccircle%20cx%3D%225.07%22%20cy%3D%224.31%22%20r%3D%220.9%22%20fill%3D%22%23fff%22%2F%3E%3Ccircle%20cx%3D%2210.13%22%20cy%3D%224.31%22%20r%3D%220.9%22%20fill%3D%22%23fff%22%2F%3E%3Ccircle%20cx%3D%2215.20%22%20cy%3D%224.31%22%20r%3D%220.9%22%20fill%3D%22%23fff%22%2F%3E%3Ccircle%20cx%3D%2220.27%22%20cy%3D%224.31%22%20r%3D%220.9%22%20fill%3D%22%23fff%22%2F%3E%3Ccircle%20cx%3D%2225.33%22%20cy%3D%224.31%22%20r%3D%220.9%22%20fill%3D%22%23fff%22%2F%3E%3Ccircle%20cx%3D%222.53%22%20cy%3D%226.46%22%20r%3D%220.9%22%20fill%3D%22%23fff%22%2F%3E%3Ccircle%20cx%3D%227.60%22%20cy%3D%226.46%22%20r%3D%220.9%22%20fill%3D%22%23fff%22%2F%3E%3Ccircle%20cx%3D%2212.67%22%20cy%3D%226.46%22%20r%3D%220.9%22%20fill%3D%22%23fff%22%2F%3E%3Ccircle%20cx%3D%2217.73%22%20cy%3D%226.46%22%20r%3D%220.9%22%20fill%3D%22%23fff%22%2F%3E%3Ccircle%20cx%3D%2222.80%22%20cy%3D%226.46%22%20r%3D%220.9%22%20fill%3D%22%23fff%22%2F%3E%3Ccircle%20cx%3D%2227.87%22%20cy%3D%226.46%22%20r%3D%220.9%22%20fill%3D%22%23fff%22%2F%3E%3Ccircle%20cx%3D%225.07%22%20cy%3D%228.62%22%20r%3D%220.9%22%20fill%3D%22%23fff%22%2F%3E%3Ccircle%20cx%3D%2210.13%22%20cy%3D%228.62%22%20r%3D%220.9%22%20fill%3D%22%23fff%22%2F%3E%3Ccircle%20cx%3D%2215.20%22%20cy%3D%228.62%22%20r%3D%220.9%22%20fill%3D%22%23fff%22%2F%3E%3Ccircle%20cx%3D%2220.27%22%20cy%3D%228.62%22%20r%3D%220.9%22%20fill%3D%22%23fff%22%2F%3E%3Ccircle%20cx%3D%2225.33%22%20cy%3D%228.62%22%20r%3D%220.9%22%20fill%3D%22%23fff%22%2F%3E%3Ccircle%20cx%3D%222.53%22%20cy%3D%2210.77%22%20r%3D%220.9%22%20fill%3D%22%23fff%22%2F%3E%3Ccircle%20cx%3D%227.60%22%20cy%3D%2210.77%22%20r%3D%220.9%22%20fill%3D%22%23fff%22%2F%3E%3Ccircle%20cx%3D%2212.67%22%20cy%3D%2210.77%22%20r%3D%220.9%22%20fill%3D%22%23fff%22%2F%3E%3Ccircle%20cx%3D%2217.73%22%20cy%3D%2210.77%22%20r%3D%220.9%22%20fill%3D%22%23fff%22%2F%3E%3Ccircle%20cx%3D%2222.80%22%20cy%3D%2210.77%22%20r%3D%220.9%22%20fill%3D%22%23fff%22%2F%3E%3Ccircle%20cx%3D%2227.87%22%20cy%3D%2210.77%22%20r%3D%220.9%22%20fill%3D%22%23fff%22%2F%3E%3Ccircle%20cx%3D%225.07%22%20cy%3D%2212.92%22%20r%3D%220.9%22%20fill%3D%22%23fff%22%2F%3E%3Ccircle%20cx%3D%2210.13%22%20cy%3D%2212.92%22%20r%3D%220.9%22%20fill%3D%22%23fff%22%2F%3E%3Ccircle%20cx%3D%2215.20%22%20cy%3D%2212.92%22%20r%3D%220.9%22%20fill%3D%22%23fff%22%2F%3E%3Ccircle%20cx%3D%2220.27%22%20cy%3D%2212.92%22%20r%3D%220.9%22%20fill%3D%22%23fff%22%2F%3E%3Ccircle%20cx%3D%2225.33%22%20cy%3D%2212.92%22%20r%3D%220.9%22%20fill%3D%22%23fff%22%2F%3E%3Ccircle%20cx%3D%222.53%22%20cy%3D%2215.08%22%20r%3D%220.9%22%20fill%3D%22%23fff%22%2F%3E%3Ccircle%20cx%3D%227.60%22%20cy%3D%2215.08%22%20r%3D%220.9%22%20fill%3D%22%23fff%22%2F%3E%3Ccircle%20cx%3D%2212.67%22%20cy%3D%2215.08%22%20r%3D%220.9%22%20fill%3D%22%23fff%22%2F%3E%3Ccircle%20cx%3D%2217.73%22%20cy%3D%2215.08%22%20r%3D%220.9%22%20fill%3D%22%23fff%22%2F%3E%3Ccircle%20cx%3D%2222.80%22%20cy%3D%2215.08%22%20r%3D%220.9%22%20fill%3D%22%23fff%22%2F%3E%3Ccircle%20cx%3D%2227.87%22%20cy%3D%2215.08%22%20r%3D%220.9%22%20fill%3D%22%23fff%22%2F%3E%3Ccircle%20cx%3D%225.07%22%20cy%3D%2217.23%22%20r%3D%220.9%22%20fill%3D%22%23fff%22%2F%3E%3Ccircle%20cx%3D%2210.13%22%20cy%3D%2217.23%22%20r%3D%220.9%22%20fill%3D%22%23fff%22%2F%3E%3Ccircle%20cx%3D%2215.20%22%20cy%3D%2217.23%22%20r%3D%220.9%22%20fill%3D%22%23fff%22%2F%3E%3Ccircle%20cx%3D%2220.27%22%20cy%3D%2217.23%22%20r%3D%220.9%22%20fill%3D%22%23fff%22%2F%3E%3Ccircle%20cx%3D%2225.33%22%20cy%3D%2217.23%22%20r%3D%220.9%22%20fill%3D%22%23fff%22%2F%3E%3Ccircle%20cx%3D%222.53%22%20cy%3D%2219.38%22%20r%3D%220.9%22%20fill%3D%22%23fff%22%2F%3E%3Ccircle%20cx%3D%227.60%22%20cy%3D%2219.38%22%20r%3D%220.9%22%20fill%3D%22%23fff%22%2F%3E%3Ccircle%20cx%3D%2212.67%22%20cy%3D%2219.38%22%20r%3D%220.9%22%20fill%3D%22%23fff%22%2F%3E%3Ccircle%20cx%3D%2217.73%22%20cy%3D%2219.38%22%20r%3D%220.9%22%20fill%3D%22%23fff%22%2F%3E%3Ccircle%20cx%3D%2222.80%22%20cy%3D%2219.38%22%20r%3D%220.9%22%20fill%3D%22%23fff%22%2F%3E%3Ccircle%20cx%3D%2227.87%22%20cy%3D%2219.38%22%20r%3D%220.9%22%20fill%3D%22%23fff%22%2F%3E%3C%2Fsvg%3E") center / 100% 100% no-repeat;
}
.flag--lg { width: 62px; height: 33px; border-radius: 2px; }

.flag-badge {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-semi); font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em; font-size: 13px;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: oklch(0.155 0.014 248 / .82);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid oklch(1 0 0 / .08);
  transition: background .3s var(--ease), border-color .3s;
}
.site-header.scrolled { background: oklch(0.145 0.014 248 / .95); }
.nav { display: flex; align-items: center; gap: 28px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand__mark {
  width: 40px; height: 40px; border-radius: 6px; flex: none;
  background: linear-gradient(160deg, var(--amber), var(--amber-deep));
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 24px;
  color: var(--ink-deep); box-shadow: var(--shadow-sm);
  position: relative; overflow: hidden;
}
.brand__mark::after {
  content:""; position:absolute; inset:0;
  background: repeating-linear-gradient(135deg, transparent 0 7px, oklch(0 0 0 /.08) 7px 9px);
}
.brand__name { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; line-height: .92; color: var(--on-ink); letter-spacing: .01em; }
.brand__name b { display: block; font-size: 21px; }
.brand__name span { display: block; font-family: var(--font-semi); font-weight: 700; font-size: 11px; letter-spacing: .24em; color: var(--amber); white-space: normal; }
.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links a {
  font-family: var(--font-semi); font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; font-size: 14px; color: var(--on-ink-soft);
  padding: 10px 16px; border-radius: 4px; transition: color .2s, background .2s;
}
.nav__links a:hover { color: var(--on-ink); background: oklch(1 0 0 / .06); }
.nav__links a.active { color: var(--ink-deep); background: var(--amber); }
.nav__phone {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-semi); font-weight: 700;
  color: var(--on-ink); padding: 11px 18px; border-radius: 4px;
  border: 2px solid oklch(1 0 0 / .2); transition: border-color .2s, background .2s, transform .2s;
}
.nav__phone:hover { border-color: var(--amber); background: var(--amber-soft); transform: translateY(-1px); }
.nav__phone .ic { width: 17px; height: 17px; color: var(--amber); }
.nav__phone b { font-size: 16px; letter-spacing: .01em; }
.nav__toggle { display: none; }
.nav__call-mobile { display: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-deep); color: var(--on-ink-soft); padding-block: 64px 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
.footer-brand .brand { margin: 0 0 18px; }
.footer-col h4 { font-family: var(--font-semi); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: 13px; color: var(--amber); margin-bottom: 16px; }
.footer-col a, .footer-col p { display: block; color: var(--on-ink-soft); font-size: 16px; padding: 5px 0; transition: color .2s; }
.footer-col a:hover { color: var(--on-ink); }
.footer-bottom {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid oklch(1 0 0 / .08);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 14px; color: var(--on-ink-soft);
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Mobile nav ---------- */
@media (max-width: 940px) {
  .nav__links {
    position: fixed; inset: 76px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: oklch(0.145 0.014 248 / .98); backdrop-filter: blur(14px);
    padding: 16px var(--gut) 24px; border-bottom: 1px solid oklch(1 0 0 /.1);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity .25s var(--ease), transform .25s var(--ease);
  }
  .nav__links.open { transform: none; opacity: 1; pointer-events: auto; z-index: 200; }
  .nav__links a { padding: 14px 16px; font-size: 16px; }
  .nav { gap: 12px; }
  /* tighten the brand on phones so the hamburger keeps its room; sub-text wraps if needed */
  .brand { gap: 9px; }
  .brand__name b { font-size: 18px; }
  .brand__name span { font-size: 10px; letter-spacing: .16em; }
  /* call button removed on mobile — the menu holds the phone link; gives the hamburger more room */
  .nav__phone { display: none; }
  .nav__toggle {
    display: inline-grid; place-items: center; width: 50px; height: 50px;
    background: oklch(1 0 0 /.06); border: 1px solid oklch(1 0 0 /.14); border-radius: 7px;
    color: var(--on-ink);
  }
  .nav__toggle .ic { width: 26px; height: 26px; }
  /* prominent call link inside the mobile menu (replaces the removed nav call button) */
  .nav__links a.nav__call-mobile {
    display: flex; align-items: center; justify-content: center; gap: 11px;
    margin-top: 12px; padding: 16px; border-radius: 7px;
    background: var(--amber); color: var(--ink-deep);
    letter-spacing: .04em; font-size: 17px;
  }
  .nav__links a.nav__call-mobile:hover { background: var(--amber-deep); color: var(--ink-deep); }
  .nav__links a.nav__call-mobile .ic { width: 19px; height: 19px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ============================================================
   HOME — showcases both services. No imagery; pure type + color.
   ============================================================ */

:root {
  --hazard:      oklch(0.865 0.176 96);
  --hazard-deep: oklch(0.79 0.158 84);
  --black-2:     oklch(0.205 0.006 250);
}

/* ============ HERO ============ */
.home-hero {
  background: var(--ink-deep); color: var(--on-ink);
  text-align: center; position: relative; overflow: hidden;
  padding-block: clamp(72px, 13vh, 150px) clamp(64px, 10vh, 120px);
}
.home-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% -10%, oklch(0.80 0.142 71 / .14), transparent 55%),
    radial-gradient(80% 70% at 50% 120%, oklch(0.36 0.018 248 / .5), transparent 60%);
}
.home-hero__inner { position: relative; z-index: 1; max-width: 940px; margin-inline: auto; }
.home-hero .eyebrow { justify-content: center; }
.home-hero .display { color: #fff; margin: 20px auto 22px; max-width: 16ch; }
.home-hero .display em { font-style: normal; color: var(--amber); }
.home-hero .lead { color: var(--on-ink-soft); margin-inline: auto; max-width: 60ch; }
.home-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 34px; }
.home-hero__meta {
  display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: center; align-items: center;
  margin-top: 40px; padding-top: 28px; border-top: 1px solid oklch(1 0 0 /.1);
}
.home-hero__meta span {
  font-family: var(--font-semi); font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; font-size: 14px; color: var(--on-ink);
  display: inline-flex; align-items: center; gap: 10px;
}
.home-hero__meta span::before { content: ""; width: 7px; height: 7px; background: var(--amber); transform: rotate(45deg); flex: none; }

/* ============ SERVICES SPLIT ============ */
.home-services { background: var(--ink); display: grid; grid-template-columns: 1fr 1fr; }
.home-svc {
  position: relative; overflow: hidden; color: var(--on-ink);
  padding: clamp(40px, 5vw, 76px) clamp(28px, 4vw, 60px) clamp(36px, 4vw, 60px);
  display: flex; flex-direction: column; gap: 18px;
  transition: background .3s var(--ease);
}
.home-svc--truck { background: var(--ink); border-top: 5px solid var(--amber); }
.home-svc--equip { background: var(--black-2); border-top: 5px solid var(--hazard); }
.home-svc--truck:hover { background: oklch(0.235 0.016 248); }
.home-svc--equip:hover { background: oklch(0.245 0.008 250); }
.home-svc--equip::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px;
  background: repeating-linear-gradient(-45deg, var(--hazard) 0 14px, var(--ink-deep) 14px 28px);
}

.home-svc__tag {
  font-family: var(--font-semi); font-weight: 700; text-transform: uppercase;
  letter-spacing: .16em; font-size: 13px;
}
.home-svc--truck .home-svc__tag { color: var(--amber); }
.home-svc--equip .home-svc__tag { color: var(--hazard); }
.home-svc h2 { font-size: clamp(30px, 3.6vw, 46px); color: #fff; line-height: .98; }
.home-svc__desc { color: var(--on-ink-soft); font-size: 17px; line-height: 1.55; max-width: 44ch; }

.home-svc__list { list-style: none; padding: 0; margin: 4px 0 8px; display: grid; gap: 11px; }
.home-svc__list li {
  display: flex; align-items: center; gap: 13px;
  font-family: var(--font-semi); font-weight: 600; font-size: 16.5px; color: var(--on-ink);
}
.home-svc__list svg { width: 18px; height: 18px; flex: none; }
.home-svc--truck .home-svc__list svg { color: var(--amber); }
.home-svc--equip .home-svc__list svg { color: var(--hazard); }

.home-svc__cta { margin-top: auto; padding-top: 14px; }
.home-svc--equip .btn { --bg: var(--hazard); box-shadow: 0 8px 22px -10px oklch(0.79 0.158 84 / .8); }
.home-svc--equip .btn:hover { background: var(--hazard-deep); }

/* ============ VALUES ============ */
.home-values { background: var(--paper); }
.home-values__head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.home-values__head .eyebrow { justify-content: center; }
.home-values__head .h2 { margin: 14px 0 18px; }
.home-values__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--paper-line); border: 1px solid var(--paper-line); border-radius: 8px; overflow: hidden; }
.home-value { background: #fff; padding: clamp(28px, 3vw, 42px); }
.home-value__k { font-family: var(--font-mono); font-size: 13px; color: var(--amber-deep); font-weight: 500; }
.home-value h3 { font-size: clamp(22px, 2.4vw, 28px); margin: 12px 0 12px; color: var(--txt); }
.home-value p { color: var(--txt-soft); font-size: 16px; line-height: 1.55; }

/* ============ CTA STRIP ============ */
.home-cta { background: var(--amber); color: var(--ink-deep); text-align: center; }
.home-cta__inner { padding-block: clamp(48px, 6vw, 80px); }
.home-cta h2 { font-size: clamp(32px, 4.4vw, 56px); color: var(--ink-deep); margin-bottom: 14px; }
.home-cta p { font-family: var(--font-semi); font-weight: 600; font-size: 19px; color: oklch(0.30 0.04 60); margin-bottom: 30px; }
.home-cta .btn--dark { background: var(--ink-deep); color: #fff; }
.home-cta .btn--dark:hover { background: #000; color: #fff; }

/* ============ HOME RESPONSIVE ============ */
@media (max-width: 860px) {
  .home-services { grid-template-columns: 1fr; }
  .home-values__grid { grid-template-columns: 1fr; }
  .home-contact__grid { grid-template-columns: 1fr; }
  /* CTAs go full-width so long phone-number buttons never overflow / clip / off-center */
  .home-hero__cta { flex-direction: column; align-items: stretch; }
  .home-hero__cta .btn { width: 100%; justify-content: center; white-space: normal; text-align: center; }
  .home-svc__cta { width: 100%; }
  .home-svc__cta .btn { display: flex; width: 100%; justify-content: center; white-space: normal; text-align: center; }
  .home-cta .btn { display: flex; width: 100%; max-width: 420px; margin-inline: auto; justify-content: center; white-space: normal; }
}
@media (max-width: 560px) {
  .home-form .field-row { grid-template-columns: 1fr; }
}

/* ============================================================
   Form validation states (shared across service pages)
   ============================================================ */
.form-error {
  color: oklch(0.60 0.19 25);
  font-family: var(--font-semi);
  font-size: 14.5px;
  text-align: center;
  margin-top: 10px;
}
.eq-form .form-error { color: oklch(0.78 0.16 25); }
.field input.invalid,
.field textarea.invalid {
  border-color: oklch(0.60 0.19 25) !important;
}
.eq-form .field input.invalid,
.eq-form .field textarea.invalid {
  border-color: oklch(0.68 0.19 25) !important;
}
