:root {
  --navy: #0f2a4a;
  --navy-700: #163a63;
  --accent: #e8a33d;
  --accent-600: #d18e27;
  --accent-text: #8a5a0b;
  --error: #b42318;
  --success: #1e7d4f;
  --ink: #1b2533;
  --muted: #5b6878;
  --line: #d6dee8;
  --bg: #ffffff;
  --bg-alt: #f4f7fb;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 42, 74, 0.10);
  --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--navy-700); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; color: var(--navy); }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); letter-spacing: -0.01em; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }

.skip-link {
  position: absolute; left: -999px; top: 8px;
  background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100;
}
.skip-link:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5em; padding: .8em 1.4em; border-radius: 999px;
  font-weight: 700; font-size: 1rem; text-decoration: none;
  border: 2px solid transparent; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .1s;
  font-family: inherit;
}
.btn:active { transform: translateY(1px); }
.btn-sm { padding: .5em 1.1em; font-size: .95rem; }
.btn-lg { padding: 1em 1.7em; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-accent { background: var(--accent); color: var(--navy); }
.btn-accent:hover { background: var(--accent-600); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-700); }
.btn-ghost { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { color: var(--navy); font-size: 1.15rem; font-weight: 800; }
.brand-text small { color: var(--accent-text); font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.brand-light .brand-text strong { color: #fff; }

.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; }
.site-nav a:not(.btn):hover { color: var(--accent-text); }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: transform .2s, opacity .2s; }

/* Hero */
.hero {
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(232,163,61,.25), transparent 60%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-700) 100%);
  color: #fff;
  padding: 80px 0 90px;
}
.hero h1 { color: #fff; }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .12em; font-size: .8rem;
  font-weight: 700; color: var(--accent-text); margin-bottom: .75em;
}
.hero .eyebrow { color: var(--accent); }
.lead { font-size: 1.15rem; color: #d7e2ef; max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0; }
.hero-badges { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero-badges li { font-weight: 600; color: #e9eef5; }
.hero-badges li::before { content: "✓"; color: var(--accent); font-weight: 800; margin-right: 8px; }


/* Sections */
.section { padding: 90px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--navy); color: #d7e2ef; }
.section-dark h2 { color: #fff; }
.section-dark .eyebrow { color: var(--accent); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-head p:last-child { color: var(--muted); }
.section-dark .section-head p:last-child { color: #b9c7d8; }

.grid.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card p { color: var(--muted); margin: 0; }
.card-icon {
  width: 52px; height: 52px; border-radius: 12px; background: #fdf3e3;
  display: grid; place-items: center; font-size: 1.6rem; margin-bottom: 16px;
}

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.split > div > p { color: var(--muted); }
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.feature-list li {
  background: #fff; border-radius: var(--radius); padding: 20px 22px 20px 64px;
  position: relative; border: 1px solid var(--line);
}
.feature-list li::before {
  content: "✓"; position: absolute; left: 20px; top: 20px;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--accent); color: var(--navy); font-weight: 800;
  display: grid; place-items: center;
}
.feature-list h3 { margin-bottom: .25em; }
.feature-list p { color: var(--muted); margin: 0; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: none; }
.steps li { text-align: center; padding: 10px; }
.steps p { color: var(--muted); }
.step-num {
  display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--navy); color: #fff; font-weight: 800; font-size: 1.3rem; margin-bottom: 14px;
  box-shadow: 0 0 0 6px #e3eaf3;
}

.areas { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.areas li {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px; padding: 14px 16px; color: #fff; font-weight: 600;
}
.areas li::before { content: "📍"; margin-right: 8px; }

.faq details {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0 22px; margin-bottom: 12px; background: #fff;
}
.faq summary {
  cursor: pointer; font-weight: 700; color: var(--navy); padding: 18px 0;
  list-style: none; display: flex; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--accent-text); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 18px; margin: 0; }

/* Quote */
.contact-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.contact-list li { display: flex; gap: 14px; }
.contact-list span { min-width: 64px; font-weight: 700; color: var(--navy); }

.quote-form {
  background: #fff; border-radius: 18px; padding: 30px; box-shadow: var(--shadow);
  display: grid; gap: 16px; border: 1px solid var(--line);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.quote-form label { display: block; font-weight: 600; font-size: .92rem; color: var(--navy); }
.quote-form input, .quote-form select, .quote-form textarea {
  font: inherit; font-weight: 400; color: var(--ink);
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; width: 100%;
}
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus {
  outline: none; border-color: var(--navy-700); box-shadow: 0 0 0 3px rgba(22,58,99,.15);
}
.quote-form .invalid { border-color: var(--error); box-shadow: 0 0 0 3px rgba(180,35,24,.12); }
.form-status { margin: 0; font-weight: 600; min-height: 1.5em; }
.form-status.ok { color: var(--success); }
.form-status.err { color: var(--error); }

/* Footer */
.site-footer { background: #0a1e36; color: #b9c7d8; padding: 56px 0 24px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.footer-note { margin-top: 14px; max-width: 30em; }
.footer-links, .footer-contact { display: grid; gap: 8px; align-content: start; }
.site-footer a { color: #e3eaf3; text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 36px; padding-top: 20px; font-size: .9rem; }
.footer-bottom p { margin: 0; }

/* Responsive */
@media (max-width: 960px) {
  .hero-inner, .split { grid-template-columns: 1fr; }
  .grid.cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .areas { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-inner > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px 20px 20px; display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: 14px; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .section { padding: 64px 0; }
  .hero { padding: 56px 0 64px; }
  .grid.cards, .steps, .form-row { grid-template-columns: 1fr; }
  .areas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .areas li { padding: 12px; overflow-wrap: anywhere; }
  .footer-inner { grid-template-columns: 1fr; }
  .quote-form { padding: 22px; }
  .hero-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ---------- Multi-page additions ---------- */

.site-nav a[aria-current="page"]:not(.btn) { color: var(--accent-text); font-weight: 700; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.header-phone { font-weight: 700; color: var(--navy) !important; white-space: nowrap; }

/* Hero with quote form */
.hero-quote .hero-inner { grid-template-columns: 1.05fr .95fr; align-items: start; }
.hero-quote .quote-form { color: var(--ink); }
.form-title { margin: 0 0 4px; font-size: 1.35rem; }
.form-sub { margin: 0 0 4px; color: var(--muted); font-size: .95rem; }
.form-fine { margin: 0; font-size: .85rem; color: var(--muted); text-align: center; }

.trust-strip { background: #fff; border-bottom: 1px solid var(--line); }
.trust-strip ul {
  list-style: none; margin: 0; padding: 22px 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.trust-strip li { display: flex; gap: 12px; align-items: center; font-weight: 600; color: var(--navy); }
.trust-strip li span.ti {
  flex: none; width: 40px; height: 40px; border-radius: 10px; background: #fdf3e3;
  display: grid; place-items: center; font-size: 1.2rem;
}
.trust-strip small { display: block; font-weight: 400; color: var(--muted); }

/* Page hero (inner pages) */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-700) 100%);
  color: #d7e2ef; padding: 64px 0 56px; text-align: center;
}
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 2.8rem); }
.page-hero .eyebrow { color: var(--accent); }
.page-hero p { max-width: 640px; margin: 0 auto; font-size: 1.1rem; }

/* Photo placeholders — replace with real crew/truck photos */
.photo-slot {
  aspect-ratio: 4 / 3; border-radius: var(--radius);
  background: repeating-linear-gradient(45deg, #eef2f7, #eef2f7 12px, #e5ebf2 12px, #e5ebf2 24px);
  border: 2px dashed #b9c7d8; color: var(--muted);
  display: grid; place-items: center; text-align: center; padding: 16px; font-weight: 600;
}
.photo-slot img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; display: flex; flex-direction: column; gap: 12px; margin: 0;
}
.review .stars { color: var(--accent); letter-spacing: 2px; font-size: 1.1rem; }
.review blockquote { margin: 0; color: var(--ink); font-size: 1.02rem; }
.review figcaption { margin-top: auto; font-weight: 700; color: var(--navy); }
.review figcaption small { display: block; font-weight: 400; color: var(--muted); }
.review.placeholder { border-style: dashed; background: #fbfcfe; }
.review.placeholder blockquote { color: var(--muted); font-style: italic; }
.review-links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 36px; }

/* Service detail rows */
.service-rows { display: grid; gap: 28px; }
.service-row {
  display: grid; grid-template-columns: 1fr 1.3fr; gap: 36px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px;
}
.service-row:nth-child(even) { grid-template-columns: 1.3fr 1fr; }
.service-row:nth-child(even) .photo-slot { order: 2; }
.service-row ul { margin: 0 0 1em; padding-left: 1.2em; color: var(--muted); }
.service-row p { color: var(--muted); }

/* Credentials */
.credentials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.credential { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.credential strong { display: block; color: var(--navy); font-size: 1.05rem; margin-bottom: 4px; }
.credential span { color: var(--muted); }
.todo { background: #fff4d6; color: #7a5200; border-radius: 6px; padding: 0 6px; font-weight: 600; }

/* CTA band */
.cta-band { background: var(--accent); padding: 56px 0; }
.cta-band .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.cta-band h2 { margin: 0; }
.cta-band p { margin: 4px 0 0; color: var(--navy); }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-outline-navy { border-color: var(--navy); color: var(--navy); }
.btn-outline-navy:hover { background: rgba(15,42,74,.08); }

/* Sticky mobile call / quote bar */
.mobile-bar { display: none; }
@media (max-width: 820px) {
  .header-phone { display: none; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: #fff; border-top: 1px solid var(--line);
    box-shadow: 0 -6px 20px rgba(15,42,74,.08);
  }
  .mobile-bar .btn { padding: .8em .5em; font-size: .95rem; white-space: nowrap; }
  html { scroll-padding-bottom: 90px; }
  body { padding-bottom: 76px; }
}

@media (max-width: 960px) {
  .hero-quote .hero-inner { grid-template-columns: 1fr; }
  .trust-strip ul { grid-template-columns: repeat(2, 1fr); }
  .reviews, .photo-grid, .credentials { grid-template-columns: 1fr 1fr; }
  .service-row, .service-row:nth-child(even) { grid-template-columns: 1fr; }
  .service-row:nth-child(even) .photo-slot { order: 0; }
}
@media (max-width: 600px) {
  .reviews, .photo-grid, .credentials { grid-template-columns: 1fr; }
  .trust-strip ul { grid-template-columns: 1fr; }
  .cta-band .actions, .cta-band .actions .btn { width: 100%; }
}

/* ---------- Build-quality additions ---------- */
.brand-light .brand-text small { color: var(--accent); }
main:focus { outline: none; }
.center-actions { text-align: center; margin-top: 32px; }
.link-light { color: #fff; }

/* Form fields, errors, loading */
.field { display: grid; gap: 6px; align-content: start; }
.quote-form .field label { font-weight: 600; font-size: .92rem; color: var(--navy); }
.req { color: var(--error); }
.req-note { white-space: nowrap; }
.field-error { margin: 0; color: var(--error); font-size: .88rem; font-weight: 600; }
.field-error::before { content: "⚠ "; }
.form-status:empty { display: none; }
.form-status { padding: 10px 14px; border-radius: 10px; background: var(--bg-alt); }
.form-status.ok { background: #e7f6ee; }
.form-status.err { background: #fdecea; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.quote-form { position: relative; }
.btn[disabled] { opacity: .75; cursor: progress; }
.btn-spinner { display: none; width: 1em; height: 1em; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
.btn.is-loading .btn-spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .btn-spinner { animation-duration: 2s; } }

/* Credentials use headings for structure */
.credential h3 { margin: 0 0 4px; font-size: 1.05rem; }
.credential p { margin: 0; color: var(--muted); }

/* Thank-you, 404, legal */
.page-hero-tall { padding: 96px 0; }
.page-hero a.btn-ghost { color: #fff; }
.error-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px !important; }
.next-steps { max-width: 460px; margin: 32px auto; text-align: left; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius); padding: 20px 24px; }
.next-steps h2 { color: #fff; font-size: 1.15rem; }
.next-steps ol { margin: 0; padding-left: 1.2em; }
.prose h2 { font-size: 1.35rem; margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }
.prose p, .prose li { color: var(--ink); }
.legal-draft { background: #fff4d6; border-radius: 10px; padding: 12px 16px; color: #5c3d00; }
