/* ==========================================================================
   BLF Transportation — global stylesheet
   Design tokens mirror blftransportation.com (see BLF-SITE-SPEC.md)
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --teal: #27B9B3;
  --teal-dark: #1fa39d;
  --charcoal: #212529;
  --charcoal-alt: #2A3135;
  --heading: #2A3135;
  --body: #607179;
  --white: #ffffff;
  --black: #000000;
  --grey-100: #fafafa;
  --grey-200: #f5f5f5;
  --grey-300: #e9ecef;
  --field-bg: #f2f4f5;

  --font: "Poppins", "Open Sans", "Segoe UI", Arial, sans-serif;

  --maxw: 1200px;
  --radius: 3px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--body);
  font-size: 16px;
  line-height: 1.7;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-dark); }
h1, h2, h3, h4 { font-family: var(--font); color: var(--heading); margin: 0 0 .5em; line-height: 1.15; }
p { margin: 0 0 1rem; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .5px;
  border: none;
  cursor: pointer;
  border-radius: var(--radius);
  transition: background .2s, color .2s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn--primary {
  background: var(--charcoal);
  color: var(--white);
  padding: 14px 32px;
  font-size: 14px;
}
.btn--primary:hover { background: var(--teal); color: var(--white); }
.btn--light {
  background: var(--white);
  color: var(--charcoal);
  padding: 16px 34px;
  border-radius: 0;
  font-size: 14px;
}
.btn--light:hover { background: var(--teal); color: var(--white); }
.btn--block { display: block; width: 100%; text-align: center; padding: 16px; }

/* ==========================================================================
   Top utility bar
   ========================================================================== */
.topbar {
  background: var(--black);
  color: var(--white);
  font-size: 14px;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 50px;
  gap: 24px;
}
.topbar__social { display: flex; gap: 20px; }
.topbar__social a { color: var(--white); display: inline-flex; }
.topbar__social a:hover { color: var(--teal); }
.topbar__contact { display: flex; gap: 40px; margin-left: auto; align-items: center; }
.topbar__contact a { color: var(--white); display: inline-flex; align-items: center; gap: 8px; }
.topbar__contact a:hover { color: var(--teal); }
.topbar__cta { color: var(--white); text-transform: uppercase; letter-spacing: .5px; font-weight: 500; }

/* ==========================================================================
   Header / nav
   ========================================================================== */
.header { background: var(--white); position: sticky; top: 0; z-index: 100; box-shadow: 0 1px 0 rgba(0,0,0,.04); }
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 104px;
  gap: 24px;
}
.logo { display: flex; align-items: center; }
.logo img { height: 76px; width: auto; display: block; }

.nav { display: flex; align-items: center; }
.nav ul { list-style: none; display: flex; gap: 34px; margin: 0; padding: 0; }
.nav > ul > li { position: relative; }
.nav a {
  color: var(--heading);
  font-weight: 500;
  font-size: 17px;
  padding: 12px 0;
  display: inline-block;
}
.nav a:hover, .nav .active > a, .nav li:hover > a { color: var(--teal); }

/* dropdown */
.nav .has-dropdown > .dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 220px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
  border-radius: 4px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s, transform .2s, visibility .2s;
  list-style: none;
  margin: 0;
  z-index: 10;
}
.nav .has-dropdown:hover > .dropdown,
.nav .has-dropdown.open > .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav .dropdown li + li { border-top: 1px solid var(--grey-300); }
.nav .dropdown a { display: block; padding: 14px 24px; font-weight: 700; font-size: 15px; color: var(--heading); }
.nav .dropdown a:hover { color: var(--teal); }

/* mobile toggle */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--heading); margin: 5px 0; transition: .3s; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  color: var(--white);
}
.hero::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.25); }
.hero .container { position: relative; z-index: 2; }
.hero__inner { max-width: 640px; }
.hero--right .hero__inner { margin-left: auto; text-align: right; }
.hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: 6px;
  font-size: 20px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 12px;
  display: block;
}
.hero__title {
  color: var(--white);
  text-transform: uppercase;
  font-weight: 700;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.02;
  margin: 0 0 28px;
}
.hero--sm { min-height: 380px; }
.hero--sm .hero__title { font-size: clamp(36px, 5vw, 60px); }

/* ==========================================================================
   Teal band
   ========================================================================== */
.band {
  background: var(--teal);
  color: var(--white);
  text-align: center;
  padding: 26px 24px;
}
.band h2 { color: var(--white); font-style: italic; font-weight: 700; font-size: clamp(26px, 3.5vw, 40px); margin: 0; }

/* ==========================================================================
   Sections & headings
   ========================================================================== */
.section { padding: 80px 0; }
.section--grey { background: var(--grey-200); }
.section--dark { background: var(--black); color: rgba(255,255,255,.85); }
.section--dark h2, .section--dark h3 { color: var(--white); }

.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-weight: 700; font-size: clamp(30px, 4vw, 44px); text-transform: uppercase; }
.section-title .rule { width: 90px; height: 4px; background: var(--teal); margin: 14px auto 0; border-radius: 2px; }

/* feature 3-col */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px; }
.feature h3 { font-size: 22px; font-weight: 700; text-transform: uppercase; margin-bottom: 14px; }
.feature h3::after { content: ""; display: block; width: 46px; height: 4px; background: var(--teal); margin-top: 12px; border-radius: 2px; }
.feature p { font-size: 15px; }

/* full-width image band */
.imgband { width: 100%; height: 620px; background-size: cover; background-position: center; }

/* call line */
.callline { background: var(--grey-200); text-align: center; padding: 40px 24px; color: var(--body); font-size: 18px; }
.callline strong { color: var(--heading); }

/* services grid (dark section) */
.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px 60px; }
.svc h3 { color: var(--teal); font-size: 26px; font-weight: 700; margin-bottom: 14px; }
.svc p { color: rgba(255,255,255,.85); margin-bottom: 22px; }

/* alternating rows (services detail) */
.altrow { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-bottom: 70px; }
.altrow:last-child { margin-bottom: 0; }
.altrow--flip .altrow__media { order: 2; }
.altrow__media img { width: 100%; border-radius: 4px; object-fit: cover; }
.altrow h3 { font-size: 34px; font-weight: 700; margin-bottom: 18px; }

/* split CTA (photo + form) */
.split { display: grid; grid-template-columns: 1fr 1fr; min-height: 640px; }
.split__media {
  position: relative;
  background-size: cover; background-position: center;
  display: flex; align-items: center; padding: 60px;
}
.split__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.55), rgba(0,0,0,.15)); }
.split__media-inner { position: relative; z-index: 2; color: var(--white); max-width: 480px; }
.split__media h2 { color: var(--white); text-transform: uppercase; font-size: clamp(34px, 4vw, 52px); font-weight: 700; }
.split__media p { color: rgba(255,255,255,.9); font-size: 15px; }
.split__form { background: var(--white); display: flex; align-items: center; padding: 60px; }
.split__form-inner { width: 100%; max-width: 460px; margin: 0 auto; }

/* cargo lists */
.cargo { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }
.cargo h3 { text-transform: uppercase; font-weight: 700; font-size: 22px; margin-bottom: 16px; }
.cargo h3::after { content: ""; display: block; width: 46px; height: 4px; background: var(--teal); margin-top: 10px; border-radius: 2px; }
.cargo ul { list-style: none; padding: 0; margin: 0; }
.cargo li { padding: 8px 0 8px 26px; position: relative; }
.cargo li::before { content: "\2713"; color: var(--teal); position: absolute; left: 0; font-weight: 700; }

/* ==========================================================================
   Forms
   ========================================================================== */
.form-card h2 { text-align: center; text-transform: uppercase; font-weight: 700; font-size: clamp(28px, 3.5vw, 40px); }
.form-card > p { text-align: center; margin-bottom: 30px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 14px; color: var(--heading); margin-bottom: 8px; }
.field .req { color: var(--body); }
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--field-bg);
  border: 1px solid var(--grey-300);
  border-radius: 4px;
  padding: 14px 16px;
  font-family: var(--font);
  font-size: 15px;
  color: var(--heading);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; margin: 18px 0 22px; }
.consent input { margin-top: 3px; }
.form-status { display: none; margin-top: 14px; font-size: 14px; line-height: 1.5; }
.form-status.show { display: block; }
.form-status.ok { color: #1a8f57; }
.form-status.error { color: #c0392b; }

/* trust strip (under hero) */
.trust-strip { background: var(--charcoal); color: #fff; }
.trust-strip .container { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 40px; padding: 16px 24px; text-align: center; }
.trust-strip span { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; letter-spacing: .3px; }
.trust-strip span svg { width: 18px; height: 18px; color: var(--teal); flex: none; }

/* pull quote band */
.quote { background: var(--charcoal-alt); color: #fff; text-align: center; padding: 74px 24px; }
.quote blockquote { max-width: 900px; margin: 0 auto; font-size: clamp(22px, 3vw, 34px); font-weight: 600; line-height: 1.35; font-style: italic; }
.quote blockquote span { color: var(--teal); font-style: normal; }
.quote cite { display: block; margin-top: 18px; font-size: 14px; font-style: normal; color: rgba(255,255,255,.6); letter-spacing: 2px; text-transform: uppercase; }

/* mission / vision / values grid */
.mv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 44px; }
.mv { background: var(--grey-200); border-top: 4px solid var(--teal); padding: 38px 34px; border-radius: 4px; }
.mv h3 { text-transform: uppercase; font-weight: 700; font-size: 24px; letter-spacing: 1px; margin-bottom: 16px; }
.mv p { font-size: 15px; }
.mv p:last-child { margin-bottom: 0; }

/* badge / safety callout */
.badge { display: inline-flex; align-items: center; gap: 10px; background: rgba(39,185,179,.12); color: var(--teal-dark); border: 1px solid rgba(39,185,179,.4); border-radius: 999px; padding: 8px 18px; font-size: 14px; font-weight: 600; margin-bottom: 20px; }
.badge svg { width: 16px; height: 16px; }

.safety { display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; align-items: center; }
.safety h2 { font-size: clamp(28px, 3.5vw, 40px); font-weight: 700; text-transform: uppercase; }
.safety__points { list-style: none; padding: 0; margin: 22px 0 0; }
.safety__points li { padding: 10px 0 10px 34px; position: relative; font-weight: 500; color: var(--heading); }
.safety__points li::before { content: "\2713"; position: absolute; left: 0; top: 10px; width: 22px; height: 22px; background: var(--teal); color: #fff; border-radius: 50%; font-size: 13px; text-align: center; line-height: 22px; }
.footer-tagline { color: rgba(255,255,255,.7); font-style: italic; display: block; margin-top: 4px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer-contact { background: var(--grey-200); padding: 70px 0; }
.footer-contact .cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; text-align: center; }
.fc-icon {
  width: 74px; height: 74px; border-radius: 50%;
  background: var(--teal); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.fc-icon svg { width: 30px; height: 30px; }
.footer-contact h3 { text-transform: uppercase; font-weight: 700; font-size: 28px; letter-spacing: 1px; }
.footer-contact p { color: var(--body); font-size: 17px; margin: 0; }

.footer-bottom { background: var(--black); color: rgba(255,255,255,.85); text-align: center; padding: 24px; font-size: 15px; }
.footer-bottom a { color: var(--teal); }
.footer-bottom .privacy { display: block; margin-top: 8px; color: var(--white); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
  .features, .svc-grid, .altrow, .split, .cargo, .footer-contact .cols, .mv-grid, .safety { grid-template-columns: 1fr; }
  .altrow--flip .altrow__media { order: 0; }
  .split { min-height: 0; }
  .split__media, .split__form { padding: 44px 24px; }
  .topbar__contact { gap: 18px; }
  .hero--right .hero__inner { text-align: left; margin-left: 0; }

  .nav ul { display: none; }
  .nav.open ul {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); box-shadow: 0 10px 30px rgba(0,0,0,.12); padding: 8px 0;
  }
  .nav.open > ul > li { padding: 0 24px; }
  .nav .has-dropdown > .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; min-width: 0; padding-left: 16px; }
  .nav-toggle { display: block; }
  .header .container { flex-wrap: wrap; }
}
@media (max-width: 620px) {
  .topbar .container { flex-wrap: wrap; min-height: 0; padding: 8px 24px; gap: 10px; }
  .topbar__contact { flex-direction: column; gap: 4px; align-items: flex-start; }
  .imgband { height: 340px; }
  .section { padding: 54px 0; }
}
