/* ============================================================================
   Vastkam Logistics — public website
   One stylesheet for every public page (home, loads, trucks, track, quote,
   sign-in, register, 404). Dashboards keep using style.css / tabler.
   ----------------------------------------------------------------------------
   Palette
     ink      #0F2133  road-at-night navy — headers, hero, footer, text
     concrete #EEF1EE  depot floor — alternate section background
     hi-vis   #FFB000  reflective tape — routes, primary actions on ink
     eagle    #0F7B4A  Zambian green — live / available / delivered
   Type
     Bricolage Grotesque for headlines (characterful, tight, heavy),
     Instrument Sans for text. Tabular figures for codes and money.
   ========================================================================== */

/* Self-hosted variable fonts — SIL Open Font License (see /fonts/*-LICENSE.txt)
   Bricolage Grotesque: display (wght 200–800, wdth 75–100%)
   Instrument Sans:     text    (wght 400–700, wdth 75–100%) */
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-display: swap; font-weight: 200 800; font-stretch: 75% 100%;
  src: url(/fonts/bricolage-latin.woff2) format('woff2-variations'), url(/fonts/bricolage-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-display: swap; font-weight: 200 800; font-stretch: 75% 100%;
  src: url(/fonts/bricolage-latin-ext.woff2) format('woff2-variations'), url(/fonts/bricolage-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-display: swap; font-weight: 400 700; font-stretch: 75% 100%;
  src: url(/fonts/instrument-latin.woff2) format('woff2-variations'), url(/fonts/instrument-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-display: swap; font-weight: 400 700; font-stretch: 75% 100%;
  src: url(/fonts/instrument-latin-ext.woff2) format('woff2-variations'), url(/fonts/instrument-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

:root {
  --ink:        #0F2133;
  --ink-2:      #172D45;
  --ink-3:      #22405F;
  --ink-line:   rgba(255,255,255,.13);
  --ink-text:   #C9D3DD;
  --ink-mute:   #8FA0B2;

  --paper:      #FFFFFF;
  --concrete:   #EEF1EE;
  --line:       #D9DFDB;
  --line-2:     #C4CCC7;

  --text:       #0F2133;
  --text-2:     #44566A;
  --text-3:     #66778A;

  --hivis:      #FFB000;
  --hivis-dk:   #E59E00;
  --hivis-bg:   #FFF4D6;
  --eagle:      #0F7B4A;
  --eagle-bg:   #E3F2EA;
  --alert:      #B42318;
  --alert-bg:   #FDECEA;
  --wa:         #1FA855;

  --font: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'Bricolage Grotesque', 'Instrument Sans', system-ui, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --focus: 0 0 0 3px var(--paper), 0 0 0 5px var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; font-family: var(--display); font-weight: 700; letter-spacing: -.015em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 4px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.num { font-variant-numeric: tabular-nums; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* Display type ------------------------------------------------------------- */
.display, .h-xl, .h-lg, .h-md {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -.02em;
}
.display { font-size: clamp(2.7rem, 5.6vw, 4.6rem); line-height: .98; letter-spacing: -.035em; }
.h-xl    { font-size: clamp(2.2rem, 4.2vw, 3.4rem); line-height: 1.02; letter-spacing: -.03em; }
.h-lg    { font-size: clamp(1.7rem, 2.8vw, 2.3rem); line-height: 1.06; letter-spacing: -.025em; }
.h-md    { font-size: 1.3rem; line-height: 1.2; letter-spacing: -.01em; }
.lede    { font-size: 1.15rem; line-height: 1.6; color: var(--text-2); max-width: 36em; }
.on-ink .lede { color: var(--ink-text); }

/* Buttons ------------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border-radius: var(--r-sm); border: 2px solid transparent;
  font-weight: 700; font-size: 16px; line-height: 1; text-decoration: none;
  cursor: pointer; white-space: nowrap;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-hivis { background: var(--hivis); color: var(--ink); }
.btn-hivis:hover { background: var(--hivis-dk); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--ink-3); }
.btn-line { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn-line:hover { border-color: var(--ink); }
.on-ink .btn-line { border-color: var(--ink-line); color: #fff; }
.on-ink .btn-line:hover { border-color: #fff; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #178a45; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 15px; }
.btn-block { width: 100%; }

.link { color: var(--ink); font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: var(--hivis); }
.link:hover { text-decoration-color: var(--ink); }
.on-ink .link { color: #fff; }
.on-ink .link:hover { text-decoration-color: #fff; }

/* Header ------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--ink); color: #fff;
  border-bottom: 1px solid var(--ink-line);
}
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; flex: none; }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 19px; letter-spacing: -.01em; line-height: 1; }
.brand-name small { display: block; font-family: var(--font); font-weight: 500; font-size: 12.5px; color: var(--ink-mute); letter-spacing: 0; margin-top: 4px; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { white-space: nowrap; color: var(--ink-text); text-decoration: none; font-weight: 600; font-size: 15.5px; padding: 8px 12px; border-radius: var(--r-sm); }
.nav a:hover { color: #fff; background: var(--ink-2); }
.nav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -3px 0 var(--hivis); border-radius: 0; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .signin { white-space: nowrap; color: #fff; font-weight: 600; text-decoration: none; padding: 8px 12px; font-size: 15.5px; }
.header-actions .signin:hover { text-decoration: underline; text-underline-offset: 4px; }

.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--ink-line); color: #fff; border-radius: var(--r-sm); width: 44px; height: 44px; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle svg { width: 22px; height: 22px; }
.mobile-menu { display: none; }

@media (max-width: 1180px) {
  .nav, .header-actions { display: none; }
  .nav-toggle { display: inline-flex; }
  .mobile-menu { background: var(--ink); border-top: 1px solid var(--ink-line); padding: 8px var(--gutter) 20px; }
  .mobile-menu.open { display: block; }
  .mobile-menu a:not(.btn) { display: block; color: #fff; text-decoration: none; font-weight: 600; font-size: 17px; padding: 14px 0; border-bottom: 1px solid var(--ink-line); }
  .mobile-menu a[aria-current="page"] { color: var(--hivis); }
  .mobile-menu .btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
}
@media (max-width: 420px) { .brand-name small { display: none; } }

/* Sections ----------------------------------------------------------------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-concrete { background: var(--concrete); }
.on-ink { background: var(--ink); color: #fff; }
.section-head { max-width: 40rem; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head p { margin-top: 16px; }

/* Hero --------------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 80px) 0 0; isolation: isolate; }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 72% 40%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 80% at 72% 40%, #000 20%, transparent 75%);
}
.hero::after {
  content: ''; position: absolute; z-index: -1; pointer-events: none;
  width: 720px; height: 720px; right: -160px; top: -120px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,176,0,.10), rgba(255,176,0,0) 62%);
}
.hero-status { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 6px 14px 6px 10px; border: 1px solid var(--ink-line); border-radius: 999px; font-size: 14.5px; font-weight: 600; color: var(--ink-text); }
.pulse-dot { width: 9px; height: 9px; border-radius: 50%; background: #3DD68C; box-shadow: 0 0 0 0 rgba(61,214,140,.6); animation: pulse-g 2.2s infinite; }
@keyframes pulse-g { 70% { box-shadow: 0 0 0 9px rgba(61,214,140,0); } 100% { box-shadow: 0 0 0 0 rgba(61,214,140,0); } }

/* One orchestrated load: copy rises, routes draw, the sample shipment lands */
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero-copy > * { animation: rise .8s cubic-bezier(.2,.75,.25,1) both; }
.hero-copy > :nth-child(2) { animation-delay: .08s; }
.hero-copy > :nth-child(3) { animation-delay: .18s; }
.hero-copy > :nth-child(4) { animation-delay: .28s; }
.hero-copy > :nth-child(5) { animation-delay: .36s; }
.hero .cm-route { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.6s cubic-bezier(.6,0,.3,1) forwards; }
.ship-card { animation: rise .8s cubic-bezier(.2,.75,.25,1) 1.5s both; }
@media (prefers-reduced-motion: reduce) {
  .hero-copy > *, .ship-card, .pulse-dot { animation: none; }
  .hero .cm-route { animation: none; stroke-dashoffset: 0; }
}

.ship-card {
  position: absolute; right: -28px; bottom: -64px; width: min(272px, 58%);
  background: rgba(23,45,69,.88); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.16); border-radius: 14px; padding: 16px 18px 14px;
  box-shadow: 0 24px 48px -16px rgba(0,0,0,.55); color: #fff;
}
.sc-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; }
.sc-code { font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: .03em; }
.sc-status { font-size: 12.5px; font-weight: 700; color: var(--ink); background: var(--hivis); padding: 3px 10px; border-radius: 999px; }
.sc-route { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; font-size: 16px; }
.sc-line { position: relative; height: 4px; border-radius: 4px; background: rgba(255,255,255,.18); overflow: visible; }
.sc-line::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 46%; border-radius: 4px; background: var(--hivis); }
.sc-line i { position: absolute; left: 46%; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #fff; border: 3px solid var(--hivis); }
.sc-meta { display: grid; gap: 2px; margin-top: 12px; font-size: 13px; color: var(--ink-text); }
.sc-meta span:last-child { color: #fff; font-weight: 600; }
.sc-note { margin: 10px 0 0; padding-top: 10px; border-top: 1px solid var(--ink-line); font-size: 12px; color: var(--ink-mute); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero .lede { margin-bottom: 32px; }

.track-form { max-width: 520px; }
.track-form label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 10px; color: #fff; }
.track-row { display: flex; background: #fff; border-radius: var(--r-sm); padding: 5px; gap: 5px; }
.track-row input {
  flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 14px; height: 50px;
  font-size: 17px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: .02em;
}
.track-row input::placeholder { color: #8796A5; font-weight: 500; letter-spacing: 0; }
.track-row input:focus { outline: none; }
.track-row:focus-within { box-shadow: 0 0 0 3px var(--hivis); }
.track-row .btn { min-height: 50px; }
.track-help { font-size: 14.5px; color: var(--ink-mute); margin-top: 12px; }
.track-help a { color: #fff; }
.hero-alt { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }

.hero-map { position: relative; margin-right: calc(var(--gutter) * -1); }
.hero-foot { margin-top: clamp(32px, 5vw, 56px); border-top: 1px solid var(--ink-line); }
.hero-foot .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.hero-foot .wrap > div { padding: 22px 20px 26px 0; }
.hero-foot .wrap > div + div { padding-left: 20px; border-left: 1px solid var(--ink-line); }
.hero-foot strong { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(1.9rem, 3vw, 2.6rem); letter-spacing: -.02em; color: #fff; line-height: 1.1; font-variant-numeric: tabular-nums; }
.hero-foot .wrap > div > span { display: block; margin-top: 4px; font-size: 14.5px; line-height: 1.4; color: var(--ink-mute); }

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-map { margin: 8px 0 0; max-width: 560px; }
  .ship-card { position: relative; left: auto; bottom: auto; width: 100%; margin-top: -8px; }
  .hero-foot .wrap { grid-template-columns: 1fr 1fr; }
  .hero-foot .wrap > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .hero-foot .wrap > div:nth-child(n+3) { border-top: 1px solid var(--ink-line); }
}

/* Corridor map ------------------------------------------------------------- */
.corridor-map { width: 100%; height: auto; overflow: visible; }
.cm-road   { fill: none; stroke: rgba(255,255,255,.16); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.cm-route  { fill: none; stroke: var(--hivis); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.cm-out    { fill: none; stroke: var(--hivis); stroke-width: 2; stroke-dasharray: 2 7; stroke-linecap: round; opacity: .85; }
.cm-city   { fill: var(--ink); stroke: #fff; stroke-width: 2.5; }
.cm-hub    { fill: var(--hivis); stroke: var(--ink); stroke-width: 3; }
.cm-hub-ring { fill: none; stroke: var(--hivis); stroke-width: 1.5; opacity: .5; }
.cm-border { fill: var(--hivis); stroke: var(--ink); stroke-width: 2; }
.cm-label  { fill: #E6ECF2; font-family: var(--font); font-size: 13px; font-weight: 600; }
.cm-label-hub { fill: #fff; font-size: 16px; font-weight: 800; font-family: var(--display); }
.cm-label-out { fill: var(--hivis); font-family: var(--font); font-size: 12.5px; font-weight: 700; }
.cm-legend { fill: var(--ink-mute); font-family: var(--font); font-size: 12px; font-weight: 500; }
.cm-truck  { fill: #fff; }
.corridor-map.compact .cm-label { font-size: 15px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Corridors strip ---------------------------------------------------------- */
.corridors { background: var(--hivis); color: var(--ink); }
.corridors .wrap { display: flex; align-items: center; gap: 12px 28px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 18px; }
.corridors p { margin: 0; font-weight: 700; }
.corridors ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.corridors li { font-weight: 600; display: flex; align-items: center; gap: 8px; }
.corridors li::before { content: ''; width: 9px; height: 9px; background: var(--ink); transform: rotate(45deg); }

/* Services (rows, not cards) ----------------------------------------------- */
.services-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.services-intro { position: sticky; top: 112px; }
.services-intro .btn { margin-top: 12px; }
.service-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.service { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.service-icon { width: 52px; height: 52px; border-radius: var(--r-md); background: var(--ink); display: grid; place-items: center; color: var(--hivis); }
.service-icon svg { width: 28px; height: 28px; }
.service h3 { font-size: 1.4rem; font-family: var(--display); font-weight: 700; letter-spacing: -.02em; margin-bottom: 8px; }
.service p { color: var(--text-2); margin-bottom: 10px; max-width: 34em; }
.service .incl { font-size: 15px; color: var(--text-3); margin: 0; }
.service .incl b { color: var(--text); font-weight: 650; }
@media (max-width: 860px) {
  .services-grid { grid-template-columns: minmax(0, 1fr); }
  .services-intro { position: static; }
}

/* Process ------------------------------------------------------------------ */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; counter-reset: step; }
.steps::before { content: ''; position: absolute; left: 22px; right: calc(25% - 22px); top: 22px; border-top: 3px dashed var(--line-2); }
.step { position: relative; padding-right: 28px; counter-increment: step; }
.step::before {
  content: counter(step);
  position: relative; z-index: 1;
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: var(--ink); color: var(--hivis); font-weight: 800; font-size: 18px;
  border: 4px solid var(--concrete); margin-bottom: 20px;
}
.step:last-child::before { background: var(--eagle); color: #fff; }
.step h3 { font-size: 1.15rem; font-weight: 750; margin-bottom: 8px; }
.step p { color: var(--text-2); font-size: 16px; margin: 0; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps::before { left: 21px; right: auto; top: 22px; bottom: 22px; border-top: 0; border-left: 3px dashed var(--line-2); }
  .step { display: grid; grid-template-columns: 46px 1fr; column-gap: 20px; padding: 0 0 28px; }
  .step::before { grid-row: span 2; margin: 0; }
}

/* Live network board ------------------------------------------------------- */
.board-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 24px; }
.board { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 32px); display: flex; flex-direction: column; }
.board-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 6px; }
.board h3 { font-size: 1.35rem; font-family: var(--display); font-weight: 800; }
.board .who { color: var(--text-3); font-size: 15px; margin: 4px 0 0; }
.live { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--eagle); background: var(--eagle-bg); padding: 5px 12px; border-radius: 999px; white-space: nowrap; }
.live::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--eagle); box-shadow: 0 0 0 0 rgba(15,123,74,.5); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(15,123,74,0); } 100% { box-shadow: 0 0 0 0 rgba(15,123,74,0); } }
@media (prefers-reduced-motion: reduce) { .live::before { animation: none; } }
.board-count { font-family: var(--display); font-weight: 800; font-size: 3rem; line-height: 1; margin: 18px 0 2px; font-variant-numeric: tabular-nums; }
.board-count + p { color: var(--text-2); margin-bottom: 18px; }
.board-rows { list-style: none; margin: 0 0 22px; padding: 0; border-top: 1px solid var(--line); flex: 1; }
.board-rows li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.board-rows .r { font-weight: 650; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.board-rows .m { color: var(--text-3); white-space: nowrap; font-variant-numeric: tabular-nums; }
.board-rows .empty { color: var(--text-3); justify-content: flex-start; }
@media (max-width: 860px) { .board-grid { grid-template-columns: minmax(0, 1fr); } }

/* About -------------------------------------------------------------------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.about-photo { position: relative; }
.about-photo img { width: 100%; aspect-ratio: 4 / 5; max-height: 620px; object-fit: cover; border-radius: var(--r-lg); }
.about-photo figcaption { position: absolute; left: 16px; bottom: 16px; background: var(--ink); color: #fff; font-weight: 650; font-size: 14.5px; padding: 8px 14px; border-radius: var(--r-sm); }
.checks { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; }
.checks svg { width: 22px; height: 22px; color: var(--eagle); margin-top: 2px; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--ink); margin-top: 8px; }
.facts div { padding: 16px 12px 0 0; }
.facts dt { font-family: var(--display); font-weight: 800; font-size: 1.7rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.facts dd { margin: 4px 0 0; font-size: 14.5px; color: var(--text-3); }
@media (max-width: 860px) {
  .about-grid { grid-template-columns: minmax(0, 1fr); }
  .facts { grid-template-columns: 1fr 1fr; row-gap: 12px; }
}

/* Quote / contact ---------------------------------------------------------- */
.quote-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact-lines { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 4px; }
.contact-lines a, .contact-lines span { display: grid; grid-template-columns: 40px 1fr; align-items: center; gap: 12px; padding: 10px 0; text-decoration: none; font-weight: 600; }
.contact-lines a:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact-lines i { width: 40px; height: 40px; border-radius: var(--r-sm); background: var(--ink); color: var(--hivis); display: grid; place-items: center; font-style: normal; }
.contact-lines svg { width: 20px; height: 20px; }
.contact-lines small { display: block; color: var(--text-3); font-weight: 500; font-size: 14px; }

.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 3.5vw, 36px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 650; font-size: 15px; margin-bottom: 7px; }
.field label .opt { color: var(--text-3); font-weight: 500; }
.input, .select, .textarea {
  width: 100%; height: 50px; padding: 0 14px;
  border: 1.5px solid var(--line-2); border-radius: var(--r-sm); background: #fff;
  font-size: 16px; color: var(--text);
  transition: border-color .15s, box-shadow .15s;
}
.textarea { height: auto; min-height: 120px; padding: 12px 14px; resize: vertical; line-height: 1.5; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%230F2133' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.input::placeholder, .textarea::placeholder { color: #8A98A6; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(255,176,0,.45); }
.input[aria-invalid="true"] { border-color: var(--alert); }
.field-hint { font-size: 14px; color: var(--text-3); margin-top: 6px; }
.field-error { font-size: 14px; color: var(--alert); margin-top: 6px; font-weight: 600; }
.form-note { font-size: 14.5px; color: var(--text-3); margin: 14px 0 0; }
.check { display: flex; gap: 10px; align-items: center; font-weight: 600; font-size: 15.5px; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--ink); }
@media (max-width: 860px) { .quote-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }

.success { text-align: center; padding: 28px 8px; }
.success-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--eagle-bg); color: var(--eagle); display: grid; place-items: center; margin: 0 auto 18px; }
.success-icon svg { width: 32px; height: 32px; }
.success h3 { font-size: 1.4rem; margin-bottom: 8px; }
.success p { color: var(--text-2); }

/* Footer ------------------------------------------------------------------- */
.site-footer { background: var(--ink); color: var(--ink-text); padding: clamp(56px, 7vw, 88px) 0 0; font-size: 15.5px; }
.footer-cta { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 40px; flex-wrap: wrap; padding-bottom: clamp(40px, 5vw, 64px); margin-bottom: clamp(40px, 5vw, 56px); border-bottom: 1px solid var(--ink-line); }
.footer-cta h2 { color: #fff; font-weight: 800; font-size: clamp(2.4rem, 5.4vw, 4.4rem); line-height: .98; letter-spacing: -.035em; max-width: 12ch; }
.footer-cta .btns { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.footer-grid h4 { color: #fff; font-size: 15.5px; font-weight: 700; margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-grid a { color: var(--ink-text); text-decoration: none; }
.footer-grid a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer-grid .brand { margin-bottom: 16px; }
.footer-about { max-width: 30em; color: var(--ink-mute); }
.footer-track { display: flex; margin-top: 14px; border: 1px solid var(--ink-line); border-radius: var(--r-sm); overflow: hidden; }
.footer-track input { flex: 1; min-width: 0; border: 0; background: var(--ink-2); color: #fff; padding: 0 12px; height: 44px; font-size: 15px; }
.footer-track input::placeholder { color: var(--ink-mute); }
.footer-track input:focus { outline: none; background: var(--ink-3); }
.footer-track button { border: 0; background: var(--hivis); color: var(--ink); font-weight: 700; padding: 0 16px; cursor: pointer; }
.footer-bottom { border-top: 1px solid var(--ink-line); padding: 20px 0 28px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--ink-mute); font-size: 14.5px; }
@media (max-width: 920px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--wa); color: #fff; text-decoration: none; font-weight: 700; font-size: 15px;
  height: 52px; padding: 0 20px 0 16px; border-radius: 999px;
  box-shadow: 0 6px 20px rgba(15,33,51,.28);
}
.wa-float svg { width: 24px; height: 24px; }
.wa-float:hover { background: #178a45; }
@media (max-width: 600px) { .wa-float { width: 56px; padding: 0; justify-content: center; } .wa-float span { display: none; } }

/* Inner page head ---------------------------------------------------------- */
.page-head { padding: clamp(40px, 6vw, 72px) 0 clamp(72px, 9vw, 104px); }
.page-head h1 { color: #fff; margin-bottom: 14px; }
.crumbs { font-size: 14.5px; color: var(--ink-mute); margin-bottom: 18px; }
.crumbs a { color: var(--ink-text); }

/* Filter bar --------------------------------------------------------------- */
.filters {
  position: relative; z-index: 2; margin-top: -44px;
  background: var(--paper); border-radius: var(--r-lg); border: 1px solid var(--line);
  box-shadow: 0 18px 40px -18px rgba(15,33,51,.35);
  padding: 20px; display: grid; gap: 14px; align-items: end;
}
.filters.f-loads  { grid-template-columns: 1fr 1fr 1fr 1fr auto; }
.filters.f-trucks { grid-template-columns: 1fr 2fr auto; }
.filters .field label { font-size: 14px; }
.filters .input, .filters .select { height: 46px; }
.filters-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.result-count { font-weight: 650; color: var(--text-2); margin: 0; }
@media (max-width: 860px) {
  .filters.f-loads, .filters.f-trucks { grid-template-columns: 1fr 1fr; }
  .filters .clear { grid-column: 1 / -1; }
}

/* Load board table --------------------------------------------------------- */
.results { display: flow-root; padding: 32px 0 clamp(64px, 8vw, 96px); background: var(--concrete); }
.results-surface { background: var(--concrete); }
.board-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.board-table th { text-align: left; font-size: 14px; font-weight: 700; color: var(--text-3); padding: 14px 16px; border-bottom: 2px solid var(--ink); background: var(--paper); white-space: nowrap; }
.board-table td { padding: 18px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; font-size: 15.5px; }
.board-table tr:last-child td { border-bottom: 0; }
.board-table tbody tr:hover td { background: #FAFBFA; }
.route-cell strong { display: block; font-size: 16.5px; font-weight: 750; }
.route-cell .route-arrow { color: var(--hivis-dk); font-weight: 800; padding: 0 4px; }
.route-cell small { color: var(--text-3); font-size: 14px; font-variant-numeric: tabular-nums; }
.pay { font-weight: 750; color: var(--eagle); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pay.neg { color: var(--text-2); font-weight: 600; }
.tag { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.tag-urgent { background: var(--alert-bg); color: var(--alert); }
.tag-live { background: var(--eagle-bg); color: var(--eagle); }
.tag-note { display: block; margin-top: 6px; font-size: 13.5px; color: #7A5A00; }
.board-table .btn { min-height: 40px; font-size: 14.5px; padding: 0 14px; }

@media (max-width: 900px) {
  .board-table, .board-table tbody, .board-table tr, .board-table td { display: block; }
  .board-table { background: transparent; border: 0; }
  .board-table thead { display: none; }
  .board-table tr { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; margin-bottom: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
  .board-table td { padding: 0; border: 0; }
  .board-table td[data-label]::before { content: attr(data-label); display: block; font-size: 13px; color: var(--text-3); font-weight: 600; margin-bottom: 2px; }
  .board-table td.route-cell, .board-table td.act { grid-column: 1 / -1; }
  .board-table td.act .btn { width: 100%; }
  .board-table tbody tr:hover td { background: transparent; }
}

.state { text-align: center; padding: 56px 20px; background: var(--paper); border: 1px dashed var(--line-2); border-radius: var(--r-lg); }
.state h3 { font-size: 1.2rem; margin-bottom: 8px; }
.state p { color: var(--text-2); max-width: 32em; margin: 0 auto 18px; }
.state .btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.skeleton-row { height: 64px; border-radius: var(--r-md); background: linear-gradient(90deg, #E4E8E5 0%, #F2F4F2 50%, #E4E8E5 100%); background-size: 200% 100%; animation: shimmer 1.4s infinite; margin-bottom: 10px; }
@keyframes shimmer { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .skeleton-row { animation: none; } }

/* Truck cards -------------------------------------------------------------- */
.truck-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 18px; }
.truck { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; display: flex; flex-direction: column; }
.truck-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.truck-icon { width: 56px; height: 56px; border-radius: var(--r-md); background: var(--ink); color: var(--hivis); display: grid; place-items: center; flex: none; }
.truck-icon svg { width: 44px; height: 44px; }
.truck h3 { font-size: 1.1rem; font-weight: 750; line-height: 1.25; }
.plate { display: inline-block; margin-top: 6px; background: #FFF8DC; border: 1.5px solid var(--ink); border-radius: 4px; padding: 1px 8px; font-weight: 800; font-size: 13.5px; letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.truck dl { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 0 0 18px; border-top: 1px solid var(--line); }
.truck dl div { padding: 10px 0; border-bottom: 1px solid var(--line); }
.truck dl div:nth-child(odd) { padding-right: 10px; }
.truck dt { font-size: 13.5px; color: var(--text-3); }
.truck dd { margin: 0; font-weight: 650; font-size: 15.5px; }
.stars { color: var(--hivis-dk); letter-spacing: 1px; }
.truck .actions { margin-top: auto; display: grid; gap: 8px; }

/* CTA band ----------------------------------------------------------------- */
.cta-band { border-radius: var(--r-lg); padding: clamp(24px, 4vw, 40px); display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 32px; }
.cta-band h2 { font-size: 1.5rem; font-family: var(--display); font-weight: 800; margin-bottom: 6px; color: #fff; }
.cta-band p { margin: 0; color: var(--ink-text); max-width: 34em; }
.cta-band .btns { display: flex; gap: 10px; flex-wrap: wrap; }

/* Track page --------------------------------------------------------------- */
.track-page .track-form { max-width: 640px; }
.track-result { margin-top: -44px; position: relative; z-index: 2; }
.result-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: 0 18px 40px -20px rgba(15,33,51,.35); overflow: hidden; }
.result-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; padding: 24px clamp(20px, 3vw, 32px); border-bottom: 1px solid var(--line); }
.result-top .code { font-family: var(--display); font-weight: 800; font-size: 1.6rem; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.result-top .sub { color: var(--text-3); font-size: 15px; }
.status { display: inline-flex; align-items: center; gap: 8px; font-weight: 750; font-size: 15px; padding: 7px 14px; border-radius: 999px; background: var(--hivis-bg); color: #7A5200; }
.status.s-delivered { background: var(--eagle-bg); color: var(--eagle); }
.status.s-failed, .status.s-returned, .status.s-cancelled { background: var(--alert-bg); color: var(--alert); }
.status.s-pending { background: var(--concrete); color: var(--text-2); }

.lane { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; padding: 24px clamp(20px, 3vw, 32px); border-bottom: 1px solid var(--line); }
.lane .end small { display: block; color: var(--text-3); font-size: 14px; }
.lane .end strong { font-size: 1.2rem; font-weight: 750; display: block; }
.lane .end span { color: var(--text-2); font-size: 15px; }
.lane .end.to { text-align: right; }
.lane-line { position: relative; height: 3px; background: repeating-linear-gradient(90deg, var(--ink) 0 8px, transparent 8px 14px); min-width: 40px; }
.lane-line::after { content: ''; position: absolute; right: -2px; top: 50%; width: 12px; height: 12px; border-top: 3px solid var(--ink); border-right: 3px solid var(--ink); transform: translateY(-50%) rotate(45deg); }


.progress { padding: 26px clamp(20px, 3vw, 32px) 30px; border-bottom: 1px solid var(--line); }
.progress ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); position: relative; }
.progress li { position: relative; text-align: center; font-size: 13.5px; color: var(--text-3); font-weight: 600; padding-top: 30px; }
.progress li::before { content: ''; position: absolute; top: 9px; left: 0; right: 0; height: 4px; background: var(--line); }
.progress li:first-child::before { left: 50%; }
.progress li:last-child::before { right: 50%; }
.progress li::after { content: ''; position: absolute; top: 2px; left: 50%; transform: translateX(-50%); width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid var(--line-2); box-sizing: border-box; }
.progress li.done { color: var(--text); }
.progress li.done::before { background: var(--ink); }
.progress li.done::after { background: var(--ink); border-color: var(--ink); }
.progress li.now { color: var(--text); font-weight: 750; }
.progress li.now::after { width: 22px; height: 22px; top: 0; background: var(--hivis); border-color: var(--ink); }
.progress li.now::before { background: linear-gradient(90deg, var(--ink) 50%, var(--line) 50%); }
.progress li.now:last-child::before { background: var(--ink); }
.progress li.now.delivered::after { background: var(--eagle); border-color: var(--eagle); }
@media (max-width: 640px) {
  .progress ol { grid-template-columns: 1fr; gap: 0; }
  .progress li { text-align: left; padding: 0 0 18px 34px; }
  .progress li::before { top: 0; bottom: 0; left: 9px; right: auto; width: 4px; height: auto; }
  .progress li:first-child::before { left: 9px; top: 10px; }
  .progress li:last-child::before { right: auto; bottom: auto; height: 10px; }
  .progress li::after { left: 11px; top: 2px; }
  .progress li.now::before { background: linear-gradient(180deg, var(--ink) 50%, var(--line) 50%); }
  .lane { grid-template-columns: minmax(0, 1fr); }
  .lane .end.to { text-align: left; }
  .lane-line { display: none; }
}

.result-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
.result-body > div { padding: 24px clamp(20px, 3vw, 32px); }
.result-body > div + div { border-left: 1px solid var(--line); }
.result-body h3 { font-size: 1.05rem; font-weight: 750; margin-bottom: 14px; }
.kv { margin: 0; display: grid; gap: 0; }
.kv div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.kv dt { color: var(--text-3); }
.kv dd { margin: 0; font-weight: 650; text-align: right; }
.eta { background: var(--eagle-bg); color: var(--eagle); border-radius: var(--r-md); padding: 12px 14px; font-weight: 650; margin-bottom: 14px; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 22px 28px; }
.timeline li::before { content: ''; position: absolute; left: 6px; top: 8px; bottom: -8px; width: 2px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline li::after { content: ''; position: absolute; left: 0; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 2.5px solid var(--line-2); box-sizing: border-box; }
.timeline li.latest::after { background: var(--hivis); border-color: var(--ink); }
.timeline .ev { font-weight: 700; }
.timeline .loc, .timeline .desc { color: var(--text-2); font-size: 15px; }
.timeline time { display: block; color: var(--text-3); font-size: 14px; margin-top: 2px; font-variant-numeric: tabular-nums; }
@media (max-width: 860px) {
  .result-body { grid-template-columns: minmax(0, 1fr); }
  .result-body > div + div { border-left: 0; border-top: 1px solid var(--line); }
}

.notice { border-radius: var(--r-md); padding: 16px 18px; display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; font-size: 15.5px; }
.notice svg { width: 22px; height: 22px; margin-top: 1px; }
.notice-error { background: var(--alert-bg); color: #7A1810; }
.notice-error svg { color: var(--alert); }
.notice-ok { background: var(--eagle-bg); color: #0B5534; }
.notice-ok svg { color: var(--eagle); }
.notice-warn { background: var(--hivis-bg); color: #6A4700; }
.notice-warn svg { color: var(--hivis-dk); }
.notice b { font-weight: 750; }
.notice p { margin: 4px 0 0; }

/* Auth pages --------------------------------------------------------------- */
.auth { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.auth-side { background: var(--ink); color: #fff; padding: 36px clamp(24px, 4vw, 56px); display: flex; flex-direction: column; gap: 28px; position: relative; overflow: hidden; }
.auth-side .copy { margin-top: auto; }
.auth-side h2 { color: #fff; margin-bottom: 14px; }
.auth-side .corridor-map { max-width: 520px; margin: 0 auto; opacity: .95; }
.auth-main { display: flex; flex-direction: column; padding: 28px clamp(20px, 5vw, 72px); }
.auth-top { display: flex; justify-content: flex-end; gap: 16px; font-size: 15px; color: var(--text-3); }
.auth-top a { color: var(--ink); font-weight: 700; }
.auth-box { width: 100%; max-width: 440px; margin: auto; padding: 32px 0; }
.auth-box.wide { max-width: 560px; }
.auth-box h1 { font-size: 2rem; font-family: var(--display); font-weight: 800; margin-bottom: 8px; }
.auth-box > p { color: var(--text-2); margin-bottom: 28px; }
.auth-box form { display: grid; gap: 18px; }
.auth-box .notice { margin-bottom: 20px; }
.pw-wrap { position: relative; }
.pw-wrap .input { padding-right: 70px; }
.pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); background: none; border: 0; font-weight: 700; font-size: 14px; color: var(--ink); cursor: pointer; padding: 8px 10px; border-radius: 4px; }
.alt-line { text-align: center; color: var(--text-2); margin-top: 22px; font-size: 15.5px; }
.demo { margin-top: 28px; border: 1px dashed var(--line-2); border-radius: var(--r-md); padding: 14px 16px; font-size: 14.5px; color: var(--text-2); }
.demo summary { font-weight: 700; color: var(--ink); cursor: pointer; }
.demo table { width: 100%; margin-top: 10px; border-collapse: collapse; }
.demo td { padding: 5px 0; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.demo td:first-child { font-weight: 650; color: var(--text); padding-right: 10px; }
.demo button { background: none; border: 0; color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 0; font-size: 14px; }

.role-pick { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.role-pick legend { font-weight: 650; font-size: 15px; margin-bottom: 8px; padding: 0; }
.role-opt { position: relative; }
.role-opt input { position: absolute; opacity: 0; inset: 0; }
.role-opt label { display: block; height: 100%; border: 1.5px solid var(--line-2); border-radius: var(--r-md); padding: 14px; cursor: pointer; transition: border-color .15s, background-color .15s; }
.role-opt label svg { width: 26px; height: 26px; color: var(--text-2); margin-bottom: 8px; }
.role-opt label strong { display: block; font-size: 15.5px; }
.role-opt label span { display: block; font-size: 13.5px; color: var(--text-3); line-height: 1.4; margin-top: 2px; }
.role-opt input:checked + label { border-color: var(--ink); background: var(--hivis-bg); box-shadow: inset 0 0 0 1px var(--ink); }
.role-opt input:checked + label svg { color: var(--ink); }
.role-opt input:focus-visible + label { box-shadow: var(--focus); }

@media (max-width: 920px) {
  .auth { grid-template-columns: minmax(0, 1fr); }
  .auth-side { padding: 20px var(--gutter); }
  .auth-side .copy, .auth-side .corridor-map { display: none; }
  .auth-main { padding: 20px var(--gutter); }
}
@media (max-width: 520px) { .role-pick { grid-template-columns: minmax(0, 1fr); } }

/* Quote calculator --------------------------------------------------------- */
.calc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; margin-top: -44px; position: relative; z-index: 2; align-items: start; }
.calc-total { font-family: var(--display); font-weight: 800; font-size: 3rem; line-height: 1; font-variant-numeric: tabular-nums; }
.calc-meta { color: var(--text-2); margin: 8px 0 18px; }
.calc-lines { margin: 0; border-top: 1px solid var(--line); }
.calc-lines div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; font-variant-numeric: tabular-nums; }
.calc-lines dt { color: var(--text-2); }
.calc-lines dd { margin: 0; font-weight: 650; }
.calc-lines .total { border-bottom: 0; border-top: 2px solid var(--ink); font-weight: 800; font-size: 17px; }
.calc-lines .total dt { color: var(--text); }
.svc-compare { list-style: none; margin: 0; padding: 0; }
.svc-compare li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-md); margin-bottom: 8px; cursor: pointer; }
.svc-compare li[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: var(--hivis-bg); }
.svc-compare strong { display: block; text-transform: capitalize; }
.svc-compare small { color: var(--text-3); }
.svc-compare .p { font-weight: 750; font-variant-numeric: tabular-nums; }
@media (max-width: 860px) { .calc-grid { grid-template-columns: minmax(0, 1fr); } }

/* 404 / lock --------------------------------------------------------------- */
.lost { min-height: calc(100vh - 72px); display: grid; place-items: center; padding: 64px 0; }
.lost .code { font-family: var(--display); font-weight: 900; font-size: clamp(5rem, 16vw, 10rem); line-height: .9; color: var(--hivis); letter-spacing: -.03em; }
.lost h1 { color: #fff; margin: 18px 0 12px; }
.lost .btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

/* Industries ---------------------------------------------------------------- */
.industries { position: relative; overflow: hidden; }
.industries-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.ind-list { list-style: none; margin: 32px 0 0; padding: 0; border-top: 1px solid var(--ink-line); }
.ind-list li { display: grid; grid-template-columns: minmax(150px, 13rem) 1fr; gap: 8px 24px; padding: 16px 0; border-bottom: 1px solid var(--ink-line); }
.ind-list strong { font-family: var(--display); font-weight: 700; font-size: 1.1rem; color: #fff; letter-spacing: -.01em; }
.ind-list span { color: var(--ink-text); font-size: 15.5px; }
.collage { display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: auto auto; gap: 14px; }
.collage img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-lg); }
.collage .c1 { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.collage .c2 { aspect-ratio: 4 / 3; }
.collage .c3 { aspect-ratio: 4 / 3; object-position: 50% 30%; }
@media (max-width: 920px) {
  .industries-grid { grid-template-columns: minmax(0, 1fr); }
  .ind-list li { grid-template-columns: minmax(0, 1fr); }
}

/* Map-grid texture shared by inner page headers and the auth panel */
.page-head, .auth-side, .lost {
  background-image:
    radial-gradient(ellipse 60% 90% at 85% 0%, rgba(255,176,0,.08), transparent 60%),
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: auto, 56px 56px, 56px 56px;
}
.page-head h1 { font-size: clamp(2.4rem, 5vw, 4rem); line-height: .98; letter-spacing: -.035em; }
