/* Evans Trucking — shared styles (light theme, steel blue + safety orange) */
:root {
  --paper: #f7f8fa;
  --white: #ffffff;
  --ink: #1f2933;
  --ink-soft: #55616d;
  --steel: #2e4a62;
  --steel-deep: #22374a;
  --steel-tint: #e7edf3;
  --orange: #e8762c;
  --orange-deep: #c85f1d;
  --orange-tint: #fdeee1;
  --line: #dde3e9;
  --radius: 10px;
  --shadow: 0 16px 40px -18px rgba(34, 55, 74, 0.35);
  --shadow-sm: 0 2px 8px rgba(34, 55, 74, 0.08);
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", "Segoe UI", system-ui, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { font-family: var(--font-body); background: var(--paper); color: var(--ink); line-height: 1.65; font-size: 1.04rem; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.06; color: var(--ink); text-transform: uppercase; letter-spacing: 0.01em; }
h1 { font-size: clamp(2.8rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3rem); }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--orange-deep); margin-bottom: 12px; }
.kicker::before { content: ""; width: 26px; height: 3px; background: var(--orange); }
.section { padding: clamp(64px, 9vw, 108px) 0; }
.section-head { max-width: 680px; margin-bottom: clamp(32px, 5vw, 52px); }
.section-head p { color: var(--ink-soft); margin-top: 10px; }
.center { text-align: center; }

/* buttons */
.btn { display: inline-block; text-decoration: none; cursor: pointer; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; letter-spacing: 0.06em; text-transform: uppercase; padding: 14px 30px; border-radius: 6px; border: 2px solid transparent; transition: all 0.2s ease; }
.btn-solid { background: var(--orange); color: #fff; box-shadow: var(--shadow-sm); }
.btn-solid:hover { background: var(--orange-deep); transform: translateY(-1px); }
.btn-steel { background: var(--steel); color: #fff; }
.btn-steel:hover { background: var(--steel-deep); }
.btn-line { border-color: rgba(255,255,255,0.85); color: #fff; }
.btn-line:hover { background: rgba(255,255,255,0.14); }
.btn-line-dark { border-color: var(--steel); color: var(--steel); }
.btn-line-dark:hover { background: var(--steel-tint); }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.96); backdrop-filter: blur(10px); border-bottom: 3px solid var(--steel); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.wordmark { text-decoration: none; display: flex; align-items: center; gap: 12px; }
.wordmark img { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; }
.wordmark div { line-height: 1.02; }
.wordmark strong { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; text-transform: uppercase; color: var(--steel); letter-spacing: 0.03em; }
.wordmark span { font-size: 0.66rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--orange-deep); font-weight: 700; }
.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; }
.nav-links a:not(.btn) { text-decoration: none; color: var(--ink-soft); font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; transition: color 0.2s; padding-bottom: 4px; border-bottom: 3px solid transparent; }
.nav-links a:not(.btn):hover { color: var(--steel); }
.nav-links a.active { color: var(--steel); border-bottom-color: var(--orange); }
.nav .btn { padding: 10px 22px; }
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 26px; height: 3px; background: var(--steel); margin: 5px 0; }

/* page header */
.page-head { background: var(--steel); color: #fff; padding: clamp(48px, 7vw, 84px) 0; position: relative; overflow: hidden; }
.page-head::after { content: ""; position: absolute; right: -60px; top: 0; bottom: 0; width: 220px; background: repeating-linear-gradient(135deg, rgba(232,118,44,0.18) 0 18px, transparent 18px 40px); }
.page-head h1 { color: #fff; font-size: clamp(2.4rem, 5vw, 3.6rem); }
.page-head p { color: rgba(255,255,255,0.85); max-width: 560px; margin-top: 12px; }
.crumbs { font-size: 0.85rem; font-weight: 700; color: rgba(255,255,255,0.75); margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.08em; }
.crumbs a { color: #f5b98a; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* cards */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc { background: var(--white); border: 1px solid var(--line); border-left: 5px solid var(--steel); border-radius: var(--radius); padding: 28px 24px; transition: transform 0.22s, box-shadow 0.22s, border-left-color 0.22s; }
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-left-color: var(--orange); }
.svc-ic { width: 50px; height: 50px; border-radius: 8px; background: var(--steel-tint); color: var(--steel); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.svc h3 { font-size: 1.45rem; margin-bottom: 6px; }
.svc p { font-size: 0.95rem; color: var(--ink-soft); }

/* trust strip */
.trust { background: var(--steel-deep); color: #fff; padding: 18px 0; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px 36px; justify-content: center; align-items: center; }
.trust-chip { display: flex; align-items: center; gap: 9px; font-family: var(--font-display); font-size: 1.02rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: #dbe6f0; }
.trust-chip::before { content: ""; width: 8px; height: 8px; background: var(--orange); transform: rotate(45deg); }

/* split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 76px); align-items: center; }
.split-media { position: relative; }
.split-media img { width: 100%; height: clamp(320px, 40vw, 460px); object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.split-media::before { content: ""; position: absolute; left: -12px; top: 18px; bottom: -12px; width: 60%; border: 3px solid var(--orange); border-radius: var(--radius); z-index: -1; }

/* checklist */
.check-list { list-style: none; display: grid; gap: 16px; margin-top: 24px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; }
.check-dot { flex: none; width: 30px; height: 30px; border-radius: 6px; background: var(--orange-tint); color: var(--orange-deep); display: flex; align-items: center; justify-content: center; font-weight: 800; }
.check-list strong { display: block; font-family: var(--font-display); font-size: 1.18rem; text-transform: uppercase; letter-spacing: 0.03em; }
.check-list p { font-size: 0.95rem; color: var(--ink-soft); }

/* badges */
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.badge { font-size: 0.85rem; font-weight: 700; background: var(--steel-tint); color: var(--steel-deep); padding: 8px 15px; border-radius: 6px; border: 1px solid #cdd9e4; }

/* promise band */
.band { background: linear-gradient(135deg, var(--steel-deep), var(--steel)); color: #fff; text-align: center; padding: clamp(56px, 8vw, 92px) 0; position: relative; overflow: hidden; }
.band::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: repeating-linear-gradient(90deg, var(--orange) 0 40px, transparent 40px 64px); }
.band h2 { color: #fff; }
.band p { color: rgba(255,255,255,0.85); max-width: 560px; margin: 14px auto 28px; }

/* CTA band */
.cta-band { background: var(--orange-tint); border-top: 1px solid var(--line); text-align: center; padding: clamp(56px, 8vw, 88px) 0; }
.cta-band h2 { margin-bottom: 12px; }
.cta-band p { color: var(--ink-soft); max-width: 540px; margin: 0 auto 26px; }

/* stats/pillars */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pillar { background: var(--white); border: 1px solid var(--line); border-top: 5px solid var(--orange); border-radius: var(--radius); padding: 26px; text-align: center; }
.pillar strong { display: block; font-family: var(--font-display); font-size: 1.6rem; text-transform: uppercase; color: var(--steel); }
.pillar span { font-size: 0.92rem; color: var(--ink-soft); }

/* contact */
.c-list { list-style: none; display: grid; gap: 18px; margin: 26px 0; }
.c-list small { display: block; font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--orange-deep); font-weight: 800; margin-bottom: 2px; }
.c-list a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1.05rem; }
.c-list a:hover { color: var(--steel); text-decoration: underline; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(26px, 3.5vw, 40px); box-shadow: var(--shadow-sm); }
.form-card h3 { font-size: 1.6rem; margin-bottom: 6px; }
.form-card > p { font-size: 0.92rem; color: var(--ink-soft); margin-bottom: 20px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.86rem; font-weight: 700; margin-bottom: 6px; }
.field input, .field textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 6px; font-family: var(--font-body); font-size: 0.98rem; background: var(--white); color: var(--ink); transition: border-color 0.2s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--steel); }
.note-card { background: var(--steel-tint); border: 1px solid #cdd9e4; border-radius: var(--radius); padding: 20px 22px; font-size: 0.95rem; color: var(--steel-deep); }

/* footer */
footer { background: var(--steel-deep); color: #c3d1dd; padding: 56px 0 30px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
footer .wordmark strong { color: #fff; }
footer h4 { color: #fff; font-family: var(--font-display); font-size: 1rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 14px; }
footer p, footer a { font-size: 0.94rem; color: #c3d1dd; text-decoration: none; }
footer a:hover { color: #fff; text-decoration: underline; }
footer ul { list-style: none; display: grid; gap: 8px; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,0.14); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 0.82rem; color: #8ba0b2; }

/* reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .svc, .btn { transition: none; }
}

/* responsive */
@media (max-width: 900px) {
  .svc-grid, .pillars { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .split-media { order: -1; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  .svc-grid, .pillars { grid-template-columns: 1fr; }
  .nav-links { position: absolute; top: 80px; left: 0; right: 0; background: var(--white); border-bottom: 3px solid var(--steel); flex-direction: column; align-items: flex-start; padding: 20px 24px; gap: 16px; display: none; }
  .nav-links.open { display: flex; }
  .hamburger { display: block; }
}

/* SYNTH-NOJS-FALLBACK: show scroll-reveal content when JS is blocked/unavailable */
html:not(.js) .reveal,html:not(.js) .svc-card,html:not(.js) .svc{opacity:1!important;transform:none!important}
