/* Freight Helpers — palette derived from the brand logo: highway green
   ("FREIGHT") + gold ("HELPERS"). Single stylesheet, no framework, zero JS.
   Phone number and quote form always within reach. */
:root {
  --bg: #f4f6f4;
  --surface: #ffffff;
  --ink: #1b211c;
  --muted: #5b665d;
  --line: #dce3dc;
  --asphalt: #175c33;        /* brand green (dark sections) */
  --asphalt-dark: #0f3d21;   /* deep brand green */
  --blue: #17603a;           /* link green */
  --accent: #f4a71d;         /* brand gold */
  --accent-dark: #d68e08;
  --accent-soft: #fdf1d8;
  --ok: #2e7d43;
  --err: #a3382e;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(15,61,33,.06), 0 10px 26px rgba(15,61,33,.10);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg); color: var(--ink); line-height: 1.6; }
a { color: var(--blue); }
h1, h2, h3 { line-height: 1.15; font-weight: 800; letter-spacing: -0.015em; color: var(--asphalt-dark); }
h1 { font-size: clamp(1.9rem, 4.5vw, 2.9rem); }
h2 { font-size: clamp(1.35rem, 2.6vw, 1.8rem); margin: 0 0 .6rem; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 3rem 1.25rem; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.hidden { display: none !important; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; background: #fff; padding: .5rem .8rem; z-index: 200; }

/* top strip */
.topstrip { background: var(--asphalt-dark); color: #b9ccbd; font-size: .8rem; }
.topstrip-in { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 0; flex-wrap: wrap; }
.topstrip a { color: #fff; text-decoration: none; white-space: nowrap; }
.topstrip strong { color: #f6c25e; }

/* header */
.topbar { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
.topbar-in { display: flex; align-items: center; gap: 1.2rem; height: 64px; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand-logo { display: block; width: 240px; height: auto; flex-shrink: 0; }
.nav { display: flex; gap: 1.1rem; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 550; font-size: .93rem; padding: .4rem 0; }
.nav a:hover { color: var(--asphalt); }
.topbar-cta { flex-shrink: 0; }

/* buttons */
.btn { display: inline-block; border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  padding: .65rem 1.25rem; border-radius: 10px; font-weight: 700; font-size: .95rem; text-decoration: none;
  cursor: pointer; transition: background .15s, transform .05s; }
.btn:active { transform: translateY(1px); }
.btn-cta { background: var(--accent); border-color: var(--accent); color: #201700; }
.btn-cta:hover { background: var(--accent-dark); color: #201700; }
.btn-navy { background: var(--asphalt); border-color: var(--asphalt); color: #fff; }
.btn-navy:hover { background: var(--asphalt-dark); }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-big { font-size: 1.15rem; padding: .8rem 1.6rem; }
.btn-block { display: block; width: 100%; text-align: center; }

/* hero: copy left, quote form right */
.hero { position: relative; color: #eef2f5; padding: 3.6rem 0;
  background: linear-gradient(100deg, rgba(12,38,21,.93) 35%, rgba(12,38,21,.72) 65%, rgba(12,38,21,.5)),
    url("/static/img/truck-on-highway.webp") center/cover no-repeat; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 2.6rem; align-items: center; }
.hero .eyebrow { text-transform: uppercase; letter-spacing: .15em; font-size: .78rem; font-weight: 750; color: #f6c25e; margin: 0 0 .7rem; }
.hero h1 { margin: 0 0 1rem; color: #fff; max-width: 18ch; text-shadow: 0 2px 16px rgba(0,0,0,.4); }
.hero .lede { max-width: 52ch; color: #d3ddd5; font-size: 1.06rem; margin: 0 0 1.5rem; }
.hero-actions { margin-bottom: 1.6rem; }
.hero-badges { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.hero-badges div { font-size: .84rem; color: #c3d3c6; }
.hero-badges strong { display: block; font-size: 1.05rem; color: #fff; }

/* the quote form card */
.quote-form { background: var(--surface); color: var(--ink); border-radius: var(--radius);
  box-shadow: 0 8px 40px rgba(0,0,0,.35); padding: 1.4rem 1.5rem 1.2rem; display: flex; flex-direction: column; gap: .7rem; }
.quote-form h2 { margin: 0; font-size: 1.25rem; }
.qf-sub { margin: -.3rem 0 .1rem; color: var(--muted); font-size: .88rem; }
.qf-alt { margin: .3rem 0 0; text-align: center; font-size: .9rem; color: var(--muted); }
.qf-alt a { color: var(--accent-dark); text-decoration: none; }
.field { display: flex; flex-direction: column; gap: .25rem; font-weight: 600; font-size: .88rem; }
.field .optional { font-weight: 400; color: var(--muted); }
.field input, .field textarea { border: 1px solid var(--line); border-radius: 8px; padding: .6rem .7rem;
  font-size: 1rem; font-family: inherit; background: var(--surface); }
.field input:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }

/* service grid */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 1.1rem; margin-top: 1.4rem; }
.svc { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent);
  border-radius: 10px; padding: 1rem 1.1rem; box-shadow: var(--shadow); }
.svc h3 { margin: 0 0 .3rem; font-size: 1.02rem; color: var(--asphalt); }
.svc p { margin: 0; color: var(--muted); font-size: .9rem; }
a.svc-link { text-decoration: none; display: block; transition: transform .12s, box-shadow .12s; }
a.svc-link:hover { transform: translateY(-2px); box-shadow: 0 4px 8px rgba(15,61,33,.08), 0 14px 34px rgba(15,61,33,.14); }

/* testimonials (renders only when real quotes exist in config) */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 1.2rem; margin-top: 1.4rem; }
.quote { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 10px; padding: 1.2rem 1.3rem; box-shadow: var(--shadow); margin: 0; }
.quote p { margin: 0 0 .7rem; }
.quote footer { color: var(--muted); font-size: .88rem; font-weight: 650; }

/* checklist */
.checks { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .6rem; }
.checks li { padding-left: 1.7rem; position: relative; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--asphalt); font-weight: 800; }
.checks.cons li::before { content: "✕"; color: var(--err); }
.checks.cons li { color: var(--muted); }

/* numbered steps */
.steps { margin: 1rem 0 0; padding-left: 1.4rem; display: grid; gap: .9rem; }
.steps li { padding-left: .3rem; }
.steps li::marker { color: var(--accent); font-weight: 800; }

/* split */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 2.4rem; align-items: center; }
.split img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); display: block; }

/* dark band */
.band { background: var(--asphalt); color: #d3e0d5; padding: 3rem 0; }
.band h2 { color: #fff; }
.band a { color: #f6c25e; }
.band-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.6rem; }

/* cta band */
.cta-band { background: linear-gradient(100deg, var(--asphalt-dark), var(--asphalt)); color: #fff; padding: 2.4rem 0; }
.cta-band h2 { color: #fff; margin: 0 0 .4rem; }
.cta-band p { margin: 0; max-width: 60ch; color: #d9e6db; }
.cta-band-in { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-actions { display: flex; gap: .7rem; flex-wrap: wrap; }
.cta-band .btn-cta { background: var(--accent); border-color: var(--accent); color: #201700; }

/* page head */
.page-head { background: var(--asphalt); color: #d3e0d5; padding: 2.8rem 0 2.4rem; }
.page-head h1 { color: #fff; margin: 0 0 .5rem; }
.page-head .lede { max-width: 68ch; margin: 0; color: #bed0c1; font-size: 1.05rem; }
.crumb { font-size: .82rem; margin: 0 0 .9rem; color: #93a996; }
.crumb a { color: #d3e0d5; text-decoration: none; }

/* contact layout */
.contact-grid { display: grid; grid-template-columns: 1fr .8fr; gap: 2.6rem; align-items: start; }
.contact-grid .quote-form { box-shadow: var(--shadow); }
.contact-side h2, .contact-side h3 { margin-top: 1.2rem; }
.contact-side h2:first-child { margin-top: 0; }
.big-phone a { font-size: clamp(1.6rem, 4vw, 2.1rem); font-weight: 800; color: var(--accent-dark); text-decoration: none; }
.status-ok { background: #e9f2ea; border: 1px solid #b9d6c0; border-radius: 12px; padding: 1.1rem 1.3rem; margin: 1rem 0; font-size: 1.05rem; }
.error { color: var(--err); background: #f9e9e7; border-radius: 10px; padding: .6rem .8rem; margin: 0 0 1rem; }

/* misc */
.doc-row { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.4rem; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 45%), 1fr)); gap: .8rem; }
.gallery img { width: 100%; border-radius: 10px; border: 1px solid var(--line); display: block; }
.states-cloud { max-width: 78ch; color: var(--muted); line-height: 2; }
.faq-list { max-width: 820px; margin-top: 1.2rem; }
.faq { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: .9rem 1.1rem; margin-bottom: .6rem; }
.faq summary { cursor: pointer; font-weight: 680; }
.faq summary:hover { color: var(--asphalt); }
.faq p { margin: .6rem 0 0; color: var(--muted); }

/* footer */
.footer { background: var(--asphalt-dark); color: #b0c2b3; margin-top: 3.2rem; padding: 2.4rem 0 1.2rem; font-size: .92rem; }
.footer a { color: #f0cd85; text-decoration: none; display: block; padding: .16rem 0; }
.footer a:hover { color: #fff; }
.footer h3 { color: #fff; font-size: .92rem; margin: 0 0 .6rem; text-transform: uppercase; letter-spacing: .06em; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2rem; }
.footer-logo { display: inline-block; background: #fff; border-radius: 8px; padding: .45rem .6rem; margin-bottom: .5rem; }
.footer-logo img { display: block; width: 150px; height: auto; }
.footer-nap { line-height: 1.7; }
.footer-nap a { display: inline; padding: 0; }
.footer-hours { margin: .15rem 0; }
.muted-f { color: #7e937f; font-size: .82rem; }
.footer-legal { margin-top: 1.8rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .8rem; color: #7e937f; }
.footer-legal a { display: inline; color: #b0c2b3; }

/* responsive */
@media (max-width: 1020px) {
  .nav { display: none; }
  .topbar-in { justify-content: space-between; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero h1 { max-width: none; }
  .split { grid-template-columns: 1fr; gap: 1.4rem; }
  .band-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.6rem; }
}
@media (max-width: 640px) {
  .section { padding: 2.1rem 1.25rem; }
  .hero { padding: 2.4rem 0; }
  .topstrip-in { justify-content: center; text-align: center; }
  .topstrip-in > span:first-child { display: none; } /* keep the phone line */
  .topbar-in { height: 58px; gap: .8rem; }
  .brand-logo { width: 150px; }
  .topbar-cta { padding: .45rem .85rem; font-size: .84rem; }
  .hero-badges { gap: 1rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band-in { flex-direction: column; align-items: flex-start; }
  .field-pair { grid-template-columns: 1fr 1fr; } /* From/To stay side-by-side even on phones */
}
