/* Handy Truck Line brand: royal blue #2A4499 (logo), sky blue #71CCEB (truck stripe) */
:root {
  --royal: #2a4499;
  --royal-dark: #1e3170;
  --navy: #14224f;
  --sky: #71cceb;
  --sky-soft: #e3f3fb;
  --bg: #ffffff;
  --bg-alt: #f4f7fc;
  --text: #1a2233;
  --text-muted: #4c5870;
  --border: #c9d3e4;
  --radius: 10px;
  --shadow: 0 4px 20px rgba(20, 34, 79, 0.10);
  --font-head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 1.0625rem;
}

img { max-width: 100%; display: block; }

a { color: var(--royal); }

.container { max-width: 1160px; margin: 0 auto; padding: 0 20px; }

/* ---------- Accessibility ---------- */
.skip-link {
  position: absolute;
  top: -60px;
  left: 12px;
  z-index: 1000;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 0 0 8px 8px;
  text-decoration: none;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 0; }

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

a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 3px;
  border-radius: 4px;
}
.btn:focus-visible { outline-offset: 4px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .btn:hover { transform: none; }
}

/* Two-tone livery stripe (echoes the truck paint) */
.stripe { height: 6px; background: var(--sky); position: relative; }
.stripe::after { content: ""; display: block; height: 6px; background: var(--royal); }

/* ---------- Header ---------- */
.site-header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 0 var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 28px;
  max-width: 1160px;
  margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand img { height: 58px; width: auto; }
.brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.45rem;
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.brand-name small { display: block; font-family: var(--font-body); font-weight: 600; font-size: 0.68rem; letter-spacing: 0.14em; color: var(--text-muted); }

.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 6px 2px;
  border-bottom: 3px solid transparent;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--royal); border-bottom-color: var(--sky); }
.main-nav a.btn-primary, .main-nav a.btn-primary:hover { color: #fff; border-bottom-color: transparent; }
.nav-cta { margin: 4px 4px 4px 14px; padding: 12px 24px; font-size: 0.95rem; letter-spacing: 0.02em; white-space: nowrap; }

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--royal);
  border-radius: 8px;
  color: var(--royal);
  font-size: 1.4rem;
  line-height: 1;
  padding: 6px 10px;
  cursor: pointer;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  text-align: center;
  border: 2px solid transparent;
  transition: transform 0.12s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--royal); color: #fff; }
.btn-primary:hover { background: var(--royal-dark); }
.btn-outline { border-color: var(--royal); color: var(--royal); background: #fff; }
.btn-outline:hover { background: var(--sky-soft); }
.btn-sky { background: var(--sky); color: var(--navy); }
.btn-sky:hover { background: #8ed7f0; }
.btn-ghost-light { border-color: #fff; color: #fff; background: transparent; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.15); }
.btn-lg { padding: 16px 36px; font-size: 1.1rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  min-height: 560px;
  display: flex;
  align-items: center;
  background: var(--navy);
}
.hero-bg { position: absolute; inset: 0; overflow: hidden; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(20, 34, 79, 0.88) 0%, rgba(20, 34, 79, 0.62) 45%, rgba(20, 34, 79, 0.25) 100%);
}
.hero-content { position: relative; z-index: 1; padding: 90px 0; max-width: 640px; }
.hero-kicker {
  display: inline-block;
  background: var(--sky);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 4px;
  margin-bottom: 18px;
}
.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}
.hero p { font-size: 1.2rem; color: #e8eefb; margin-bottom: 30px; max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Sections ---------- */
.section { padding: 78px 0; }
.section-alt { background: var(--bg-alt); }
.section-navy { background: var(--navy); color: #fff; }

.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker {
  color: var(--royal);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}
.section-navy .kicker { color: var(--sky); }
h2 {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.1;
  color: var(--navy);
  margin-bottom: 12px;
}
.section-navy h2 { color: #fff; }
.section-head p { color: var(--text-muted); font-size: 1.1rem; }
.section-navy .section-head p { color: #c4d2ef; }

h3 { font-family: var(--font-head); font-size: 1.45rem; font-weight: 700; text-transform: uppercase; color: var(--navy); }

/* ---------- Service cards ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 26px;
}
.service-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border-top: 5px solid var(--sky);
  display: flex;
  flex-direction: column;
}
.service-card img { height: 210px; width: 100%; object-fit: cover; }
.service-card .card-body { padding: 22px 24px 26px; flex: 1; }
.service-card h3 { margin-bottom: 8px; }
.service-card p { color: var(--text-muted); font-size: 0.99rem; }

/* ---------- About / split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.split-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.split-img img { width: 100%; height: 100%; object-fit: cover; }
.split h2 { margin-bottom: 16px; }
.split p { color: var(--text-muted); margin-bottom: 14px; }
.checklist { list-style: none; margin: 20px 0 28px; }
.checklist li { padding-left: 32px; position: relative; margin-bottom: 10px; font-weight: 500; }
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  background: var(--sky);
  color: var(--navy);
  font-weight: 800;
  font-size: 0.85rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Stats band ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 30px; text-align: center; }
.stat-num {
  font-family: var(--font-head);
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--sky);
  line-height: 1;
}
.stat-label { color: #c4d2ef; font-weight: 600; margin-top: 6px; }

/* ---------- Locations ---------- */
.locations-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.location-chip {
  background: #fff;
  border: 1px solid var(--border);
  border-left: 5px solid var(--royal);
  border-radius: 8px;
  padding: 14px 18px;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 10px;
}
.location-chip svg { flex-shrink: 0; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; color: #fff; overflow: hidden; background: var(--royal); }
.cta-band .container { position: relative; z-index: 1; padding-top: 70px; padding-bottom: 70px; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #dbe6fb; max-width: 560px; margin: 0 auto 30px; font-size: 1.15rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 26px; }
.contact-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-top: 5px solid var(--royal);
  padding: 30px 28px;
  text-align: center;
}
.contact-card .icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 14px;
  background: var(--sky-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--royal);
}
.contact-card h3 { margin-bottom: 6px; }
.contact-card p { color: var(--text-muted); font-size: 0.98rem; margin-bottom: 12px; }
.contact-card a.big-link {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--royal);
  text-decoration: none;
  word-break: break-word;
}
.contact-card a.big-link:hover { text-decoration: underline; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-list details {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 12px;
  padding: 0;
}
.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  padding: 18px 22px;
  color: var(--navy);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 1.4rem; color: var(--royal); font-weight: 400; }
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p { padding: 0 22px 18px; color: var(--text-muted); }

/* ---------- Page hero (interior pages) ---------- */
.page-hero { position: relative; background: var(--navy); color: #fff; }
.page-hero .hero-bg::after { background: linear-gradient(100deg, rgba(20, 34, 79, 0.92) 0%, rgba(20, 34, 79, 0.55) 100%); }
.page-hero .hero-content { padding: 70px 0; }
.page-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.08;
  margin-bottom: 12px;
}
.page-hero p { font-size: 1.15rem; color: #e8eefb; max-width: 600px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #b9c7e6; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding: 60px 20px 40px;
}
.footer-grid img { width: 92px; margin-bottom: 14px; }
.footer-grid h3 {
  font-family: var(--font-head);
  color: #fff;
  text-transform: uppercase;
  font-size: 1.15rem;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 4px; padding: 2px 0; font-size: 0.97rem; }
.footer-grid a { display: inline-block; padding: 3px 0; color: #b9c7e6; text-decoration: none; }
.footer-grid a:hover { color: var(--sky); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px 20px;
  font-size: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
}
.footer-bottom a { color: #b9c7e6; }
.footer-bottom a:hover { color: var(--sky); }

/* ---------- Sticky mobile call bar ---------- */
.mobile-call-bar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 20px 20px;
    box-shadow: 0 12px 24px rgba(20, 34, 79, 0.12);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 4px; border-bottom: 1px solid var(--border); }
  .nav-cta { margin: 14px 0 0; }
  .split { grid-template-columns: 1fr; gap: 30px; }
  .split-img { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; padding: 46px 20px 30px; }
  .hero { min-height: 480px; }
  .section { padding: 56px 0; }
  body { padding-bottom: 64px; }
  .mobile-call-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 90;
  }
  .mobile-call-bar a {
    flex: 1;
    text-align: center;
    padding: 15px 8px;
    font-weight: 700;
    text-decoration: none;
    font-size: 1rem;
  }
  .mobile-call-bar .call { background: var(--royal); color: #fff; }
  .mobile-call-bar .apply { background: var(--sky); color: var(--navy); }
}

@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
  .brand-name { font-size: 1.2rem; }
  .brand-name small { display: none; }
  .brand img { height: 46px; width: auto; }
}
