/* Calvex Transport — public site. Design "A — Steel" */
:root {
  --ink: #1B2128;
  --text: #56606B;
  --line: #D5DADF;
  --field: #C2C9D0;
  --bg: #EEF0F2;
  --paper: #FFFFFF;
  --accent: #D9590F;
  --accent-hover: #B8480C;
  --accent-soft: #FDEBDD;
  --on-dark: #C5CCD3;
  --ok: #2F7D32;
  --err: #B42318;
  --head: 'Sora', system-ui, sans-serif;
  --font: 'Work Sans', system-ui, sans-serif;
  --wrap: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.55; color: var(--ink); background: var(--bg); }
img { max-width: 100%; display: block; }
a { color: var(--ink); }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--head); letter-spacing: -0.02em; line-height: 1.1; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.mono { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
.muted { color: var(--text); }
.accent { color: var(--accent); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px; font: 600 17px var(--font); text-decoration: none; border: 1.5px solid transparent; border-radius: 6px; cursor: pointer; transition: background .15s, color .15s; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-hover); color: #fff; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #333B44; color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.on-dark .btn-outline { border-color: #5A646F; color: #fff; }
.on-dark .btn-outline:hover { background: #fff; color: var(--ink); }

/* Header */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); font-family: var(--head); font-weight: 800; font-size: 22px; letter-spacing: -0.02em; }
.logo:hover { color: var(--ink); }
.logo .light { font-weight: 400; color: var(--text); }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; font-weight: 500; font-size: 15px; }
.nav a { text-decoration: none; }
.nav a.active { color: var(--accent); }
.nav .btn { min-height: 44px; padding: 0 18px; font-size: 15px; color: #fff; }
.nav-toggle { display: none; background: #fff; border: 1.5px solid var(--ink); border-radius: 6px; min-height: 44px; padding: 0 14px; font: 600 15px var(--font); cursor: pointer; }
@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; align-items: center; }
  .nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-top: 1px solid var(--line); }
  .nav .btn { margin-top: 12px; }
}

/* Home hero */
.hero-steel { background: var(--ink); color: #fff; }
.hero-steel .wrap { padding-top: 72px; padding-bottom: 72px; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.hero-steel .copy { flex: 1 1 520px; min-width: 0; }
.tag { display: inline-block; background: var(--accent); color: #fff; font-weight: 600; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; padding: 6px 12px; border-radius: 4px; margin: 0 0 18px; }
.hero-steel h1 { margin: 0; font-weight: 800; font-size: clamp(40px, 5.6vw, 68px); line-height: 1.02; letter-spacing: -0.03em; }
.hero-steel .sub { margin: 24px 0 0; font-size: 20px; line-height: 1.6; color: var(--on-dark); max-width: 540px; }
.creds { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 32px; color: var(--on-dark); font-size: 15px; }
.creds strong { display: block; color: #fff; font-family: var(--head); font-size: 20px; }
.quote-card { flex: 1 1 400px; min-width: 0; background: var(--paper); color: var(--ink); border-radius: 10px; padding: 30px; border-top: 6px solid var(--accent); }
.quote-card h2 { margin: 0 0 16px; font-size: 22px; }
.quote-card .grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.quote-card .stack { display: flex; flex-direction: column; gap: 14px; }

/* Generic hero (404) */
.hero { padding: 72px 0; }
.hero h1 { margin: 16px 0 0; font-size: clamp(48px, 8vw, 96px); font-weight: 800; letter-spacing: -0.04em; line-height: 0.95; }
.hero-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; margin-top: 32px; }
.hero-foot p { margin: 0; font-size: 20px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Sections */
.section { padding: 88px 0; }
.section-white { background: var(--paper); }
.section-ink { background: var(--ink); color: #fff; }
.section-ink a { color: #fff; }
.section-ink .muted { color: var(--on-dark); }
.eyebrow { margin: 0 0 24px; color: var(--accent); }
.section-ink .eyebrow { color: #F4A06B; }
h2.big, h2.title { margin: 0 0 40px; font-size: clamp(32px, 4vw, 44px); font-weight: 800; }
.lede { font-size: 20px; max-width: 720px; color: var(--text); }

/* Service cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 16px; }
.svc { background: var(--paper); border-radius: 10px; overflow: hidden; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; border: 1px solid transparent; transition: border-color .15s; }
.svc:hover { border-color: var(--accent); color: var(--ink); }
.svc .ph { height: 150px; background: #D5DADF; }
.svc .ph img { width: 100%; height: 100%; object-fit: cover; }
.svc .body { padding: 24px; }
.svc h3 { margin: 0 0 8px; font-size: 20px; }
.svc p { margin: 0; color: var(--text); }
.svc .more { display: inline-block; margin-top: 14px; color: var(--accent); font-weight: 600; font-size: 15px; }

/* Rows (other services list) */
.rows { display: flex; flex-direction: column; }
.row-link { text-decoration: none; border-top: 1px solid var(--line); padding: 24px 0; display: flex; flex-wrap: wrap; gap: 12px 40px; align-items: baseline; }
.row-link:last-child { border-bottom: 1px solid var(--line); }
.row-link .num { color: var(--accent); font-weight: 700; min-width: 40px; font-family: var(--head); }
.row-link .title { flex: 1 1 300px; font-family: var(--head); font-size: clamp(24px, 3vw, 32px); font-weight: 700; letter-spacing: -0.02em; }
.row-link .desc { flex: 1 1 300px; color: var(--text); }
.row-link:hover .title { color: var(--accent); }
.section-ink .row-link { border-color: #333B44; }
.section-ink .row-link .desc { color: var(--on-dark); }
.section-ink .row-link .num { color: #F4A06B; }
.section-ink .row-link:hover .title { color: #F4A06B; }

/* Why */
.why { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 40px; }
.why h2 { margin: 0; font-size: clamp(32px, 4vw, 44px); font-weight: 800; line-height: 1.05; }
.why .ico { width: 44px; height: 44px; border-radius: 8px; background: var(--accent-soft); display: flex; align-items: center; justify-content: center; color: var(--accent); }
.why h3 { margin: 16px 0 8px; font-size: 20px; }
.why p { margin: 0; color: var(--text); }

/* Route line (lanes page) */
.route { background: var(--paper); border-radius: 10px; padding: 36px 32px; display: flex; flex-wrap: wrap; align-items: center; row-gap: 24px; }
.route-stop { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.route-dot { width: 18px; height: 18px; border-radius: 50%; border: 3px solid var(--ink); background: #fff; }
.route-dot.start { background: var(--accent); border-color: var(--accent); }
.route-dot.end { background: var(--ink); }
.route-name { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.route-line { flex: 1 1 60px; border-top: 3px dashed var(--field); margin: 0 12px 24px; }

/* Table */
.table-box { overflow-x: auto; background: var(--paper); border-radius: 10px; border: 1px solid var(--line); }
.table { width: 100%; min-width: 640px; border-collapse: collapse; }
.table th { background: var(--ink); color: #fff; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; text-align: left; padding: 15px 20px; }
.table td { padding: 16px 20px; border-top: 1px solid var(--line); }

/* CTA band */
.cta { background: var(--accent); color: #fff; border-radius: 12px; padding: 48px; display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-end; }
.cta h2 { flex: 1 1 320px; margin: 0; font-size: clamp(32px, 4vw, 40px); font-weight: 800; }
.cta form { flex: 2 1 520px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.cta .field > span { color: #fff; }
.cta .input { border-color: #fff; }

/* Drivers band */
.band .wrap { padding-top: 0; padding-bottom: 88px; }
.band .inner { background: var(--ink); color: #fff; border-radius: 12px; padding: 48px; display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; }
.band h2 { margin: 0; font-size: clamp(28px, 3.5vw, 38px); font-weight: 800; }
.band p { margin: 10px 0 0; color: var(--on-dark); font-size: 18px; }

/* Inner page header */
.page-head { background: var(--ink); color: #fff; padding: 56px 0 48px; }
.page-head h1 { margin: 12px 0 0; font-size: clamp(38px, 5.5vw, 60px); font-weight: 800; letter-spacing: -0.03em; }
.page-head p { margin: 18px 0 0; }
.page-head .lede { color: var(--on-dark); }
.crumbs { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: #9AA4AE; margin: 0; }
.crumbs a { color: #9AA4AE; text-decoration: none; }
.crumbs a:hover { color: #fff; }

/* Prose */
.prose { max-width: 760px; font-size: 18px; line-height: 1.7; }
.prose h2 { font-size: 30px; margin: 1.6em 0 .5em; }
.prose h3 { font-size: 23px; margin: 1.5em 0 .5em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin: .35em 0; }
.prose li::marker { color: var(--accent); }

.layout-2 { display: flex; flex-wrap: wrap; gap: 56px; }
.layout-2 > .main { flex: 999 1 560px; min-width: 0; }
.layout-2 > .side { flex: 1 1 290px; }
.side-box { background: var(--paper); border-radius: 10px; border-top: 6px solid var(--accent); padding: 28px; position: sticky; top: 100px; }
.side-box h3 { margin: 0 0 12px; font-size: 22px; }

/* Forms */
.form { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; background: var(--paper); border-radius: 10px; padding: 32px; }
.form .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span, .label { font-size: 13px; font-weight: 600; color: var(--text); }
.input, .select, .textarea { width: 100%; font: 17px var(--font); color: var(--ink); background: #fff; border: 1px solid var(--field); border-radius: 6px; padding: 12px 14px; min-height: 48px; }
.textarea { min-height: 130px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(217, 89, 15, .18); }
.field .error, .error { color: var(--err); font-size: 14px; }
.has-error .input, .has-error .select, .has-error .textarea { border-color: var(--err); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.check input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--accent); }
.fieldset-title { grid-column: 1 / -1; margin: 12px 0 0; padding-top: 20px; border-top: 1px solid var(--line); color: var(--accent); }

.alert { padding: 16px 20px; border-radius: 8px; margin-bottom: 24px; font-weight: 500; }
.alert-ok { background: #E6F2E6; color: var(--ok); }
.alert-err { background: #FDECEA; color: var(--err); }

/* Footer */
.site-footer { background: var(--ink); color: var(--on-dark); font-size: 15px; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; padding: 64px 0 32px; }
.footer-grid .mono { color: #fff; display: block; margin-bottom: 10px; }
.footer-list { display: flex; flex-direction: column; gap: 8px; }
.copyright { margin: 0; padding: 20px 0 32px; border-top: 1px solid #333B44; font-size: 13px; }

/* Pagination */
.pager { display: flex; gap: 8px; margin-top: 32px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 6px; background: #fff; text-decoration: none; padding: 0 12px; }
.pager .current { background: var(--ink); color: #fff; }
.pager .disabled { opacity: .4; }
