/* PrimeHaul Logistics Inc. — site styles
   Matches the client's Airo reference: navy + amber, red CTA band, Barlow headings. */

:root {
  --navy-900: #0A1630;
  --navy-800: #0B1B3A;
  --navy-700: #0F2550;
  --navy-600: #16326A;
  --accent: #F29F0A;
  --accent-hover: #FFB224;
  --accent-soft: #FDF1DC;
  --red: #B91C1C;
  --ink: #0B1220;
  --muted: #5B6578;
  --bg: #FFFFFF;
  --surface: #EEF1F6;
  --line: #E2E6EE;
  --on-dark: #E6ECF5;
  --on-dark-muted: #9AA8C0;

  --font-head: "Barlow", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;

  --radius: 6px;
  --container: 1216px;
  --header-h: 64px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
.caps { text-transform: uppercase; }

.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;
}

.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 100;
  background: var(--accent); color: var(--navy-900); padding: 10px 14px;
  border-radius: var(--radius); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.eyebrow {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.9em;
}
.eyebrow-muted { color: var(--on-dark-muted); }

/* ---------- Draft placeholders ---------- */
.draft .tbd {
  background: rgba(255, 214, 0, 0.28);
  outline: 1px dashed #C9A400;
  border-radius: 3px;
  padding: 0 3px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 30px;
  border: 1px solid transparent; border-radius: 3px;
  font: 700 1rem/1 var(--font-head);
  letter-spacing: 0.01em;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn-xs { min-height: 30px; padding: 0 16px; font-size: 0.8rem; text-transform: uppercase; }
.btn-sm { min-height: 36px; padding: 0 16px; font-size: 0.875rem; }
.btn-lg { min-height: 64px; padding: 0 40px; font-size: 1.05rem; }
.btn-block { width: 100%; }

.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-hover); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.35); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.06); }
.btn-outline { border-color: var(--accent); color: var(--accent); }
.btn-outline:hover { background: var(--accent); color: var(--navy-900); }
.btn-navy { background: var(--navy-800); color: #fff; }
.btn-navy:hover { background: var(--navy-600); }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-900); color: var(--on-dark-muted); font-size: 0.8rem; }
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 40px;
}
.topbar-tag { margin: 0; font-family: var(--font-head); font-weight: 600; font-size: 0.85rem; }
.topbar-contact { display: flex; align-items: center; gap: 20px; }
.topbar-contact a:not(.btn),
.topbar-hq {
  display: inline-flex; align-items: center; gap: 6px;
  text-decoration: none; color: var(--on-dark);
}
.topbar-hq { color: var(--on-dark-muted); }
.topbar-contact a:not(.btn):hover { color: var(--accent); }
.topbar-contact svg { width: 13px; height: 13px; fill: currentColor; opacity: .75; }

/* ---------- Header ---------- */
/* Header = the brand banner with the nav menu overlaid on top (one unit) */
.site-header {
  position: relative;
  background: #000;
  text-align: center;
  line-height: 0;
}
.header-bar {
  position: absolute; top: 0; left: 0; right: 0; z-index: 5;
  background: linear-gradient(180deg, rgba(4, 10, 22, 0.88) 0%, rgba(4, 10, 22, 0.55) 55%, rgba(4, 10, 22, 0) 100%);
}
.header-inner { display: flex; align-items: center; justify-content: center; min-height: var(--header-h); position: relative; }
.brand-banner-img {
  display: inline-block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: clamp(240px, 44vw, 500px);
}

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.brand-logo { height: 52px; width: auto; border-radius: 4px; }
.brand-logo-footer { height: 56px; }
.brand-name {
  font-family: var(--font-head); font-weight: 800; font-size: 1.3rem;
  letter-spacing: 0.01em; text-transform: uppercase; font-style: italic;
}
.brand-name span { font-weight: 600; font-style: normal; color: var(--on-dark-muted); font-size: 0.8em; }

.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  position: relative;
  padding: 10px 12px;
  color: var(--on-dark);
  text-decoration: none;
  font: 600 1rem var(--font-head);
}
.site-nav a:hover { color: var(--accent); }
.site-nav a.is-active { color: var(--accent); }
.site-nav a.is-active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -10px;
  height: 2px; background: var(--accent);
}

.nav-toggle {
  display: none; width: 44px; height: 44px; padding: 10px;
  background: transparent; border: 0; cursor: pointer;
}
.nav-toggle .bar {
  display: block; height: 2px; background: #fff; border-radius: 2px;
  margin: 5px 0; transition: transform .2s, opacity .2s;
}
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--navy-800);
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(8, 20, 44, 0.92) 0%, rgba(8, 20, 44, 0.72) 48%, rgba(8, 20, 44, 0.45) 100%),
    linear-gradient(0deg, rgba(8, 20, 44, 0.65) 0%, transparent 40%);
}
.hero-inner { position: relative; z-index: 2; padding-top: 150px; padding-bottom: 130px; }
.hero h1 {
  font-size: clamp(2.8rem, 6.4vw, 4.6rem);
  font-weight: 800;
  line-height: 1.02;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 0.3em;
}
.hero h1 span { color: var(--accent); }
.hero-tag {
  font: 700 0.95rem var(--font-head);
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--on-dark-muted); margin-bottom: 0.6em;
}
.hero .lead { font-size: 1.15rem; color: var(--on-dark); max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--surface); }
.section-dark { background: var(--navy-700); color: #fff; }
#where {
  position: relative;
  background:
    linear-gradient(0deg, rgba(10, 22, 48, 0.78), rgba(10, 22, 48, 0.62)),
    url("../img/truck-fleet.jpg") center / cover no-repeat,
    var(--navy-700);
}
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-sub { color: var(--muted); font-size: 1.05rem; }
.section-sub-dark { color: var(--on-dark-muted); font-size: 1.05rem; max-width: 42em; margin: 0 auto 48px; }

/* Pricing cards */
.price-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.price-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 32px 28px 28px;
  background: #fff;
}
.price-card h3 { margin-bottom: 4px; }
.price-tag {
  font: 700 0.8rem var(--font-head); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 18px;
}
.price-card p:not(.price-tag) { color: var(--muted); font-size: 0.95rem; flex: 1; margin-bottom: 24px; }

.calc {
  margin-top: 48px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.calc h3 { margin-bottom: 20px; }
.calc-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px;
}
.calc-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font-size: 0.95rem; }
.calc-icon {
  flex: none; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; background: var(--accent-soft);
}
.calc-icon svg { width: 15px; height: 15px; fill: var(--accent); }

.disclaimer { margin-top: 24px; font-size: 0.8rem; font-style: italic; color: var(--muted); }

/* Photo band (Caribbean) */
/* Drop the client's port/container photo at assets/img/caribbean.jpg. */
.photo-band {
  color: #fff;
  padding: 104px 0;
  background:
    linear-gradient(90deg, rgba(11, 27, 58, 0.96) 0%, rgba(11, 27, 58, 0.82) 55%, rgba(11, 27, 58, 0.7) 100%),
    radial-gradient(900px 520px at 82% 45%, #2C4772 0%, transparent 65%),
    var(--navy-800);
}
.photo-band-copy { max-width: 680px; }
.photo-band-copy p { color: var(--on-dark); font-size: 1.05rem; }
.photo-band-copy .note { font-style: italic; font-size: 0.85rem; color: var(--on-dark-muted); margin-bottom: 32px; }

/* Truck band (full-width photo) */
.truck-band {
  position: relative;
  color: #fff;
  padding: 120px 0;
  background:
    linear-gradient(90deg, rgba(8, 20, 44, 0.82) 0%, rgba(8, 20, 44, 0.45) 55%, rgba(8, 20, 44, 0.25) 100%),
    url("../img/truck-band.jpg") center / cover no-repeat,
    var(--navy-800);
}
.truck-band-inner { max-width: 640px; }
.truck-band-kicker {
  font: 700 0.8rem var(--font-head); letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 0.6em;
}
.truck-band-line {
  font: 700 clamp(1.5rem, 3vw, 2.1rem)/1.15 var(--font-head);
  margin: 0; text-wrap: balance;
}

/* Steps */
.steps {
  list-style: none; margin: 40px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
}
.steps li { border-left: 2px solid var(--accent); padding: 0 8px 4px 20px; }
.step-num { display: block; font: 700 1.8rem/1 var(--font-head); color: #F8CF84; margin-bottom: 14px; }
.steps h3 { font-size: 1.05rem; margin-bottom: 10px; }
.steps p { color: var(--muted); font-size: 0.925rem; margin: 0; }

/* Countries */
.countries {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.countries li { display: flex; }
.country {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  background: rgba(8, 18, 40, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 28px 16px 22px;
  text-decoration: none; color: #fff;
  transition: border-color .18s, background-color .18s, transform .18s;
}
.country:hover,
.country:focus-visible {
  border-color: var(--accent);
  background: rgba(8, 18, 40, 0.9);
  transform: translateY(-3px);
}
.country .flag {
  width: 46px; height: 31px; border-radius: 4px; overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35); border: 1px solid rgba(255, 255, 255, 0.15);
}
.country .flag svg { width: 100%; height: 100%; display: block; }
.country .cname { font: 700 1rem var(--font-head); text-align: center; }
.country .code {
  font: 600 0.75rem var(--font-head); letter-spacing: 0.14em;
  color: var(--accent);
}

/* Our Services */
.split-services { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: start; }
.checklist { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; }
.checklist li { position: relative; padding-left: 30px; font-weight: 500; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 4px;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%230B1B3A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.coverage { background: var(--navy-800); color: #fff; border-radius: var(--radius); padding: 40px 36px; border-top: 4px solid var(--accent); }
.coverage-kicker { font: 700 1rem var(--font-head); letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark-muted); margin: 0; }
.coverage-big { font: 800 clamp(2.4rem, 4vw, 3.2rem)/1 var(--font-head); color: var(--accent); text-transform: uppercase; margin: 6px 0 12px; }
.coverage-sub { color: var(--on-dark); }
.values { list-style: none; margin: 28px 0 0; padding: 24px 0 0; border-top: 1px solid rgba(255,255,255,.12); display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.values li { font: 700 1rem var(--font-head); text-transform: uppercase; letter-spacing: .04em; display: flex; gap: 8px; align-items: center; }
.values li::before { content: ""; width: 6px; height: 6px; background: var(--accent); transform: rotate(45deg); }

/* Carriers split */
.split { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: center; }
.split-cta { text-align: right; }

/* Partner cards (Carriers & Drivers) */
.partner-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.partner-card {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 32px 30px;
}
.partner-card p { color: var(--muted); }
.partner-list { list-style: none; margin: 4px 0 28px; padding: 0; display: grid; gap: 10px; flex: 1; }
.partner-list li { position: relative; padding-left: 28px; color: var(--ink); font-size: 0.95rem; }
.partner-list li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 4px;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%230B1B3A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Quote */
.quote { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 18px; }
.contact-list li { display: grid; gap: 2px; }
.contact-list span {
  font: 700 0.75rem var(--font-head); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
.contact-list a,
.contact-list p { margin: 0; color: var(--navy-800); font-weight: 600; font-size: 1.05rem; text-decoration: none; word-break: break-word; }
.contact-list a:hover { color: var(--accent); }

.form {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: 0 20px 50px rgba(11, 27, 58, 0.08);
  display: grid; gap: 16px;
}
.form .honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: 0.875rem; font-weight: 600; }
.form .optional { font-weight: 400; color: var(--muted); }
.form input,
.form select,
.form textarea {
  width: 100%;
  font: 400 1rem var(--font-body);
  color: var(--ink);
  background: #fff;
  border: 1px solid #C9D0DC;
  border-radius: 4px;
  padding: 12px 14px;
  min-height: 48px;
}
.form textarea { resize: vertical; }
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(242, 159, 10, 0.25);
}
.form [aria-invalid="true"] { border-color: #DC2626; }
.form-status { margin: 0; font-size: 0.925rem; min-height: 1.4em; }
.form-status.is-error { color: #B91C1C; }
.form-status.is-ok { color: #15803D; }

/* CTA band */
.cta-band { background: var(--red); color: #fff; padding: 72px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { text-transform: uppercase; font-weight: 800; margin-bottom: 8px; }
.cta-sub { text-transform: uppercase; font-size: 1.05rem; margin-bottom: 14px; color: #FDE2E2; }
.cta-phone {
  display: inline-flex; align-items: center; gap: 10px;
  font: 700 1.25rem var(--font-head); text-decoration: none;
}
.cta-phone svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 1.6; }

/* Footer */
.site-footer { background: var(--navy-800); color: var(--on-dark-muted); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.footer-tag { color: var(--on-dark); margin: 20px 0 10px; }
.footer-kicker { font: 700 0.8rem var(--font-head); letter-spacing: 0.14em; text-transform: uppercase; }
.footer-head { font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: 18px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-links a { color: var(--on-dark); text-decoration: none; }
.footer-links a:hover { color: var(--accent); }
.authority { margin: 0; display: grid; gap: 10px; }
.authority div { display: flex; align-items: baseline; gap: 10px; }
.authority dt { font-size: 0.75rem; text-transform: uppercase; color: var(--on-dark-muted); }
.authority dd { margin: 0; font-family: var(--font-mono); color: var(--on-dark); }
.footer-legal {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 24px; font-size: 0.85rem;
}
.footer-legal p { margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .price-cards { grid-template-columns: 1fr 1fr; }
  .calc-list { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .topbar-tag,
  .topbar-hq { display: none; }
  .topbar-inner { justify-content: center; }
  .header-inner { justify-content: flex-end; }
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy-700);
    padding: 8px 24px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .site-nav a.is-active::after { display: none; }

  .hero-inner { padding-top: 96px; padding-bottom: 96px; }
  .section { padding: 72px 0; }
  .quote,
  .split,
  .split-services,
  .partner-cards { grid-template-columns: 1fr; gap: 32px; }
  .split-cta { text-align: left; }
  .countries { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .container { padding-left: 16px; padding-right: 16px; }
  .topbar-contact a[href^="mailto"] { display: none; }
  .price-cards,
  .calc-list,
  .steps,
  .form-row,
  .footer-grid,
  .checklist { grid-template-columns: 1fr; }
  .form { padding: 24px 18px; }
  .brand-name span { display: none; }
  .hero-actions .btn,
  .cta-band .btn { flex: 1 1 100%; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
