/* ==========================================================================
   B&D Transportation, Inc. — Site Stylesheet
   ========================================================================== */

:root {
  --red: #CC252C;
  --red-dark: #A31E24;
  --red-darker: #7E171C;
  --charcoal: #1A1D1F;
  --charcoal-2: #24282B;
  --steel: #4A5257;
  --steel-light: #7C868C;
  --fog: #F4F5F6;
  --fog-2: #E8EAEC;
  --white: #FFFFFF;
  --gold: #E8A93E;
  --font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.12);
  --shadow-lg: 0 20px 48px rgba(0,0,0,0.18);
  --radius: 6px;
}

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

.icon {
  width: 1em;
  height: 1em;
  display: inline-block;
  fill: currentColor;
  vertical-align: -0.125em;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 88px 0; }

.section-tight { padding: 64px 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.1;
  color: var(--charcoal);
}

h1 { font-size: clamp(2.6rem, 5vw, 4.4rem); }
h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); }
h3 { font-size: 1.4rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 3px;
  background: var(--red);
  display: inline-block;
}

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--steel); font-size: 1.08rem; margin-top: 14px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 16px 32px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-dark { background: var(--charcoal); color: var(--white); }
.btn-dark:hover { background: #000; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }
.btn-outline-dark { background: transparent; color: var(--charcoal); border-color: var(--charcoal); }
.btn-outline-dark:hover { background: var(--charcoal); color: var(--white); }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--charcoal);
  color: var(--fog-2);
  font-size: 0.85rem;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 9px;
  padding-bottom: 9px;
  flex-wrap: wrap;
  gap: 8px;
}
.topbar-item { display: inline-flex; align-items: center; gap: 8px; margin-right: 22px; }
.topbar-item i { color: var(--red); }
.topbar-item a:hover { color: var(--white); }
.topbar-right { display: flex; align-items: center; gap: 18px; }
.topbar-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(255,255,255,0.08); transition: background 0.2s;
}
.topbar-social a:hover { background: var(--red); }

/* ---------- Header / Nav ---------- */
.site-header {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 500;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 46px; height: 46px;
  background: var(--red);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 1.4rem;
  flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 1px;
  color: var(--charcoal);
}
.logo-text span {
  font-size: 0.68rem;
  letter-spacing: 2px;
  color: var(--steel);
  text-transform: uppercase;
  margin-top: 2px;
}

.main-nav ul { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  display: inline-block;
  padding: 10px 16px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--charcoal);
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
}
.main-nav a:hover, .main-nav a.active { color: var(--red); background: var(--fog); }

.header-actions { display: flex; align-items: center; gap: 18px; }
.header-cta { display: flex; align-items: center; gap: 10px; }
.header-cta .btn { padding: 12px 22px; font-size: 0.9rem; }

.nav-toggle {
  display: none;
  background: none; border: none;
  font-size: 1.6rem; color: var(--charcoal);
}

@media (max-width: 1080px) {
  .main-nav {
    position: fixed; top: 0; right: -320px; height: 100vh; width: 300px;
    background: var(--charcoal); padding: 90px 28px 28px;
    transition: right 0.3s ease; z-index: 600;
  }
  .main-nav.open { right: 0; }
  .main-nav ul { flex-direction: column; align-items: flex-start; gap: 2px; width: 100%; }
  .main-nav a { color: var(--fog-2); width: 100%; padding: 14px 12px; }
  .main-nav a:hover, .main-nav a.active { background: rgba(255,255,255,0.08); color: var(--white); }
  .nav-toggle { display: block; }
  .nav-scrim {
    display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 550;
  }
  .nav-scrim.open { display: block; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(100deg, rgba(20,22,24,0.94) 0%, rgba(20,22,24,0.82) 45%, rgba(204,37,44,0.55) 100%),
    repeating-linear-gradient(120deg, #1c1f21 0px, #1c1f21 2px, #232629 2px, #232629 40px);
  color: var(--white);
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 85% 20%, rgba(232,169,62,0.12), transparent 45%);
}
.hero .container { position: relative; z-index: 2; }
.hero-content { max-width: 700px; }
.hero-content .eyebrow { color: var(--gold); }
.hero-content .eyebrow::before { background: var(--gold); }
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero h1 em { color: var(--gold); font-style: normal; }
.hero-sub {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.82);
  max-width: 560px;
  margin-bottom: 34px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 46px; }
.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.18);
  padding-top: 28px;
}
.hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--white);
}
.hero-stat span { font-size: 0.85rem; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,0.65); }

.hero-truckbar {
  position: absolute; bottom: 0; left: 0; right: 0; height: 8px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 24px, transparent 24px 48px);
  opacity: 0.9;
}

/* ---------- Page header (interior pages) ---------- */
.page-header {
  background: linear-gradient(110deg, var(--charcoal) 0%, #2b1315 100%);
  color: var(--white);
  padding: 64px 0 56px;
  position: relative;
}
.page-header .eyebrow { color: var(--gold); }
.page-header .eyebrow::before { background: var(--gold); }
.page-header h1 { color: var(--white); }
.breadcrumbs { margin-top: 16px; font-size: 0.9rem; color: rgba(255,255,255,0.6); }
.breadcrumbs a:hover { color: var(--gold); }

/* ---------- Trust bar ---------- */
.trust-bar { background: var(--fog); border-bottom: 1px solid var(--fog-2); border-top: 1px solid var(--fog-2); }
.trust-bar .container {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 24px; padding: 28px 24px;
}
.trust-item { display: flex; align-items: center; gap: 12px; color: var(--steel); font-size: 0.95rem; font-weight: 600; }
.trust-item i { color: var(--red); font-size: 1.3rem; }

/* ---------- Services / Cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.card {
  background: var(--white);
  border: 1px solid var(--fog-2);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card-icon {
  width: 58px; height: 58px;
  background: var(--fog);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--red);
  margin-bottom: 20px;
  transition: background 0.25s, color 0.25s;
}
.card:hover .card-icon { background: var(--red); color: var(--white); }
.card h3 { margin-bottom: 10px; text-transform: none; letter-spacing: 0; }
.card p { color: var(--steel); font-size: 0.98rem; }
.card-link { margin-top: 16px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--red); font-size: 0.92rem; text-transform: uppercase; letter-spacing: 1px; }

.dark-card {
  background: var(--charcoal);
  color: var(--white);
  border-radius: var(--radius);
  padding: 34px 30px;
}
.dark-card h3 { color: var(--white); }
.dark-card p { color: rgba(255,255,255,0.65); }
.dark-card .card-icon { background: rgba(255,255,255,0.08); color: var(--gold); }

/* ---------- Split section ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3.2;
  background: linear-gradient(135deg, var(--charcoal) 0%, var(--red-darker) 100%);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
}
.split-media i { font-size: 5rem; color: rgba(255,255,255,0.18); }
.split-media .media-badge {
  position: absolute; bottom: -1px; right: -1px;
  background: var(--gold); color: var(--charcoal);
  padding: 18px 26px;
  font-family: var(--font-display);
  font-weight: 700;
  text-align: center;
  border-top-left-radius: var(--radius);
}
.split-media .media-badge strong { display: block; font-size: 1.8rem; }
.split-media .media-badge span { font-size: 0.72rem; letter-spacing: 1px; text-transform: uppercase; }

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--steel);
}
.check-list i { color: var(--red); margin-top: 4px; }
.check-list strong { color: var(--charcoal); }

/* ---------- Stats band ---------- */
.stats-band {
  background: var(--charcoal);
  color: var(--white);
  padding: 56px 0;
}
.stats-band .grid-4 { text-align: center; }
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--gold);
}
.stat span { text-transform: uppercase; letter-spacing: 1.5px; font-size: 0.82rem; color: rgba(255,255,255,0.68); }

/* ---------- Fleet ---------- */
.fleet-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--fog-2);
}
.fleet-media {
  height: 160px;
  background: linear-gradient(135deg, var(--steel) 0%, var(--charcoal) 100%);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.35); font-size: 3rem;
}
.fleet-body { padding: 24px 26px 28px; }
.fleet-body h3 { text-transform: none; letter-spacing: 0; margin-bottom: 8px; }
.fleet-body p { color: var(--steel); font-size: 0.95rem; }

/* ---------- Clients ---------- */
.client-strip { background: var(--fog); }
.client-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.client-badge {
  background: var(--white);
  border: 1px solid var(--fog-2);
  border-radius: var(--radius);
  padding: 26px 22px;
  display: flex; align-items: center; gap: 16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  color: var(--charcoal);
  transition: box-shadow 0.2s, transform 0.2s;
}
.client-badge:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.client-badge i { color: var(--red); font-size: 1.4rem; }

/* ---------- Timeline (about) ---------- */
.timeline { position: relative; padding-left: 32px; border-left: 3px solid var(--fog-2); }
.timeline-item { position: relative; padding-bottom: 40px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute; left: -41px; top: 4px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--red); border: 3px solid var(--white); box-shadow: 0 0 0 2px var(--red);
}
.timeline-item h4 { color: var(--red); font-family: var(--font-display); letter-spacing: 1px; margin-bottom: 6px; }
.timeline-item p { color: var(--steel); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(110deg, var(--red) 0%, var(--red-dark) 100%);
  color: var(--white);
  padding: 64px 0;
}
.cta-band .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 28px; }
.cta-band h2 { color: var(--white); margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,0.85); }
.cta-band .btn-dark:hover { background: #000; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 40px;
  border: 1px solid var(--fog-2);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; font-weight: 700; font-size: 0.85rem;
  text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 8px; color: var(--charcoal);
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 13px 16px;
  border: 1.5px solid var(--fog-2); border-radius: var(--radius);
  font-family: var(--font-body); font-size: 0.98rem;
  background: var(--fog);
  transition: border-color 0.2s, background 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--red); background: var(--white);
}
.form-note { font-size: 0.82rem; color: var(--steel-light); margin-top: 8px; }

.contact-info-card {
  background: var(--charcoal);
  color: var(--white);
  border-radius: var(--radius);
  padding: 40px;
}
.contact-info-card h3 { color: var(--white); margin-bottom: 24px; text-transform: none; letter-spacing: 0; }
.contact-line { display: flex; gap: 16px; margin-bottom: 24px; align-items: flex-start; }
.contact-line i {
  width: 44px; height: 44px; flex-shrink: 0;
  background: rgba(255,255,255,0.08); color: var(--gold);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
}
.contact-line strong { display: block; color: var(--white); margin-bottom: 3px; }
.contact-line span, .contact-line a { color: rgba(255,255,255,0.68); font-size: 0.95rem; }
.contact-line a:hover { color: var(--gold); }

.map-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--fog-2); }
.map-frame iframe { width: 100%; height: 380px; border: 0; display: block; }

/* ---------- Careers ---------- */
.req-list { margin-top: 18px; }
.req-list li {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid var(--fog-2);
  color: var(--steel); font-size: 0.96rem;
}
.req-list li:last-child { border-bottom: none; }
.req-list i { color: var(--red); }

.badge-pill {
  display: inline-block; background: var(--fog); color: var(--red);
  font-family: var(--font-display); font-weight: 700; letter-spacing: 1px;
  font-size: 0.78rem; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 14px;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal-2); color: rgba(255,255,255,0.65); }
.footer-top { padding: 72px 0 48px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-logo strong { font-family: var(--font-display); font-size: 1.4rem; color: var(--white); letter-spacing: 1px; }
.footer-col h4 {
  color: var(--white); font-size: 0.92rem; letter-spacing: 1.5px;
  margin-bottom: 20px; text-transform: uppercase;
}
.footer-col ul li { margin-bottom: 12px; }
.footer-col a:hover { color: var(--gold); }
.footer-col p { font-size: 0.92rem; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.footer-social a:hover { background: var(--red); }
.footer-contact-item { display: flex; gap: 10px; margin-bottom: 14px; font-size: 0.92rem; align-items: flex-start; }
.footer-contact-item i { color: var(--red); margin-top: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 22px 0;
  font-size: 0.85rem;
}
.footer-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-bottom a:hover { color: var(--gold); }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.bg-fog { background: var(--fog); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .topbar .topbar-item.hide-mobile { display: none; }
}
@media (max-width: 640px) {
  section { padding: 60px 0; }
  .grid-3, .grid-4, .grid-2, .client-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding: 80px 0 60px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .cta-band .container { flex-direction: column; text-align: center; }
  .trust-bar .container { justify-content: center; text-align: center; }
}

/* ==========================================================================
   PHOTO LAYER — real photography, logo, galleries, lightbox
   Everything below intentionally overrides the placeholder styling above.
   ========================================================================== */

:root {
  --scrim-1: rgba(14,16,18,0.90);
  --scrim-2: rgba(14,16,18,0.55);
}

/* ---------- Logo (real artwork) ---------- */
.logo { gap: 0; }
.logo-mark { display: none; }
.logo-text { display: none; }
.logo img.logo-img {
  height: 54px;
  width: auto;
  display: block;
}
.site-header .container { padding-top: 12px; padding-bottom: 12px; }
.footer-logo .logo-mark { display: none; }
.footer-logo strong { display: none; }
.footer-logo img.logo-img { height: 46px; width: auto; }

@media (max-width: 640px) {
  .logo img.logo-img { height: 42px; }
}

/* ---------- Hero with real photography ---------- */
.hero {
  min-height: 720px;
  background: var(--charcoal);
}
.hero::after { display: none; }
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  animation: heroDrift 26s ease-in-out infinite alternate;
}
@keyframes heroDrift {
  from { transform: scale(1.06) translate3d(0,0,0); }
  to   { transform: scale(1.14) translate3d(-1.2%, -1%, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg img { animation: none; transform: scale(1.04); }
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(95deg, var(--scrim-1) 0%, rgba(14,16,18,0.78) 42%, rgba(14,16,18,0.35) 72%, rgba(14,16,18,0.55) 100%),
    linear-gradient(to top, rgba(14,16,18,0.85) 0%, transparent 42%);
}
.hero-content { max-width: 720px; }
.hero h1 { text-shadow: 0 2px 26px rgba(0,0,0,0.45); }
.hero-sub { color: rgba(255,255,255,0.9); text-shadow: 0 1px 12px rgba(0,0,0,0.5); }
.hero-truckbar { z-index: 3; }

/* ---------- Interior page headers with photo banner ---------- */
.page-header {
  background: var(--charcoal);
  padding: 88px 0 76px;
  overflow: hidden;
}
.page-header .container { position: relative; z-index: 2; }
.page-banner-bg { position: absolute; inset: 0; z-index: 0; }
.page-banner-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.page-banner-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(95deg, rgba(14,16,18,0.92) 0%, rgba(14,16,18,0.78) 48%, rgba(14,16,18,0.45) 100%);
}
.page-header h1 { text-shadow: 0 2px 20px rgba(0,0,0,0.4); }

/* ---------- Service cards with photos ---------- */
.card.card-photo { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card-photo .card-media {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--fog-2);
}
.card-photo .card-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s cubic-bezier(.2,.7,.3,1);
}
.card-photo:hover .card-media img { transform: scale(1.07); }
.card-photo .card-media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(14,16,18,0.55), transparent 55%);
}
.card-photo .card-media .card-icon {
  position: absolute; left: 22px; bottom: 18px; z-index: 2;
  margin: 0;
  background: var(--red); color: var(--white);
  box-shadow: 0 6px 18px rgba(0,0,0,0.3);
}
.card-photo:hover .card-media .card-icon { background: var(--white); color: var(--red); }
.card-photo .card-body { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.card-photo .card-body h3 { margin-bottom: 10px; }
.card-photo .card-link { margin-top: auto; padding-top: 16px; }

/* ---------- Fleet cards with photos + spec drawings ---------- */
.fleet-card { display: flex; flex-direction: column; }
.fleet-media {
  height: auto;
  aspect-ratio: 3/2;
  padding: 0;
  position: relative;
  overflow: hidden;
  background: var(--fog-2);
}
.fleet-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s cubic-bezier(.2,.7,.3,1);
}
.fleet-card:hover .fleet-media img { transform: scale(1.06); }
.fleet-tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: rgba(14,16,18,0.82); color: var(--gold);
  font-family: var(--font-display); font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase; font-size: 0.74rem;
  padding: 6px 12px; border-radius: 3px;
}
.fleet-body { display: flex; flex-direction: column; flex: 1; }
.fleet-spec {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--fog-2);
}
.fleet-spec img { width: 100%; height: auto; }
.fleet-spec-label {
  display: block; margin-top: 8px;
  font-size: 0.74rem; letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--steel-light);
}

/* ---------- Split media with real photo ---------- */
.split-media { background: var(--fog-2); }
.split-media > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.split-media .media-badge { z-index: 2; }
.split-media.media-tall { aspect-ratio: 4/3.4; }

/* ---------- Photo strip / gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--fog-2);
  cursor: zoom-in;
  display: block;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s cubic-bezier(.2,.7,.3,1);
}
.gallery-item::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(204,37,44,0);
  transition: background 0.3s;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item:hover::after { background: rgba(204,37,44,0.18); }
@media (max-width: 980px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 900;
  background: rgba(10,11,12,0.94);
  display: none;
  align-items: center; justify-content: center;
  padding: 40px 24px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: min(1200px, 92vw); max-height: 86vh; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: rgba(255,255,255,0.1);
  border: none; color: var(--white);
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; transition: background 0.2s;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: var(--red); }
.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
  .lightbox-prev { left: 8px; } .lightbox-next { right: 8px; }
}

/* ---------- CTA band over photo ---------- */
.cta-band { position: relative; overflow: hidden; }
.cta-band .cta-bg { position: absolute; inset: 0; z-index: 0; }
.cta-band .cta-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.cta-band .cta-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(163,30,36,0.95) 0%, rgba(204,37,44,0.88) 55%, rgba(126,23,28,0.92) 100%);
}
.cta-band .container { position: relative; z-index: 2; }

/* ---------- Wide feature banner ---------- */
.feature-banner {
  position: relative;
  overflow: hidden;
  background: var(--charcoal);
  color: var(--white);
  padding: 96px 0;
}
.feature-banner .fb-bg { position: absolute; inset: 0; z-index: 0; }
.feature-banner .fb-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 50%; }
.feature-banner .fb-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(14,16,18,0.93) 0%, rgba(14,16,18,0.72) 55%, rgba(14,16,18,0.3) 100%);
}
.feature-banner .container { position: relative; z-index: 2; }
.feature-banner h2 { color: var(--white); }
.feature-banner p { color: rgba(255,255,255,0.82); max-width: 620px; margin-top: 16px; font-size: 1.06rem; }
.feature-banner .eyebrow { color: var(--gold); }
.feature-banner .eyebrow::before { background: var(--gold); }
.feature-banner .check-list li { color: rgba(255,255,255,0.82); }
.feature-banner .check-list strong { color: var(--white); }
.feature-banner .check-list .icon { color: var(--gold); }

/* ---------- Client badges with a touch more presence ---------- */
.client-badge { justify-content: flex-start; }

/* ---------- Misc polish ---------- */
.icon { flex-shrink: 0; }
.check-list .icon { color: var(--red); margin-top: 5px; }
.trust-item .icon { color: var(--red); font-size: 1.25rem; }
.card-icon .icon { font-size: 1.4rem; }
.contact-line .icon-wrap {
  width: 44px; height: 44px; flex-shrink: 0;
  background: rgba(255,255,255,0.08); color: var(--gold);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem;
}
.req-list .icon { color: var(--red); }
.footer-contact-item .icon { color: var(--red); margin-top: 5px; }
.topbar-item .icon { color: var(--red); }
.timeline-item .icon { color: var(--red); }

.section-sub { color: var(--steel); font-size: 1.05rem; margin-top: 16px; }
.mt-16 { margin-top: 16px; }
.mt-32 { margin-top: 32px; }
.lead { color: var(--steel); font-size: 1.06rem; margin: 18px 0 22px; }

/* Reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2,.7,.3,1); }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

@media (max-width: 640px) {
  .hero { min-height: 0; padding: 72px 0 56px; }
  .hero-stats { gap: 26px; }
  .hero-stat strong { font-size: 1.8rem; }
  .page-header { padding: 64px 0 56px; }
  .feature-banner { padding: 64px 0; }
}

/* ==========================================================================
   FIXES — corrections found during cross-browser / responsive review
   ========================================================================== */

/* The base `.stat span` rule also matched the counter <span> nested inside
   <strong>, shrinking the big numbers. Restore inheritance for that one. */
.stat strong span {
  font-size: inherit;
  color: inherit;
  letter-spacing: inherit;
  text-transform: none;
}

/* Hero stats: keep all four on one row instead of wrapping */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px 24px;
}
.hero-stat strong { font-size: clamp(1.7rem, 2.4vw, 2.2rem); }
.hero-stat span { display: block; font-size: 0.78rem; line-height: 1.35; }
@media (max-width: 640px) {
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Long email/URL strings must not force horizontal scroll on phones */
.contact-info-card, .contact-line, .contact-line a, .contact-line span,
.footer-contact-item, .footer-contact-item a { overflow-wrap: anywhere; }

@media (max-width: 640px) {
  .contact-info-card, .form-card { padding: 26px 20px; }
  .contact-line { gap: 12px; }
  .dark-card, .card { padding: 26px 22px; }
}

/* Let the photograph read through the red CTA overlay */
.cta-band .cta-bg::after {
  background: linear-gradient(100deg, rgba(163,30,36,0.90) 0%, rgba(204,37,44,0.80) 55%, rgba(126,23,28,0.88) 100%);
}

/* Footer logo is a pure-white knockout — give it a little breathing room */
.footer-logo img.logo-img { height: 42px; opacity: 0.95; }

/* Off-canvas nav must never create a horizontal scrollbar */
.main-nav { max-width: 85vw; }

/* Desktop nav must never wrap onto two lines */
.main-nav a { white-space: nowrap; }
.main-nav ul { gap: 0; }
.main-nav a { padding: 10px 13px; }
.header-actions { gap: 14px; }

@media (max-width: 1240px) {
  .logo img.logo-img { height: 46px; }
  .main-nav a { padding: 10px 10px; font-size: 0.96rem; }
  .header-cta .btn { padding: 12px 16px; font-size: 0.84rem; }
}
@media (max-width: 1080px) {
  .header-cta { display: none; }
}

/* Any .hide-mobile element (not just topbar items) hides on small screens */
@media (max-width: 980px) {
  .hide-mobile { display: none !important; }
}

/* ==========================================================================
   CREDENTIALS — licence / registration numbers
   ========================================================================== */

.cred-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(202px, 1fr));
  gap: 16px;
}
.cred-item {
  background: var(--white);
  border: 1px solid var(--fog-2);
  border-left: 3px solid var(--red);
  border-radius: var(--radius);
  padding: 18px 18px;
  min-width: 0;
}
.cred-item .cred-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--steel-light);
  margin-bottom: 6px;
}
.cred-item .cred-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--charcoal);
  overflow-wrap: anywhere;
}
.cred-item .cred-note {
  display: block;
  margin-top: 6px;
  font-size: 0.82rem;
  color: var(--steel);
}
.bg-fog .cred-item { background: var(--white); }

/* Dark variant, for use inside .dark-card / .contact-info-card */
.cred-grid.on-dark .cred-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-left: 3px solid var(--gold);
}
.cred-grid.on-dark .cred-label { color: rgba(255,255,255,0.55); }
.cred-grid.on-dark .cred-value { color: var(--white); }
.cred-grid.on-dark .cred-note { color: rgba(255,255,255,0.6); }

.cred-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cred-grid.cols-1 { grid-template-columns: 1fr; }

@media (max-width: 560px) { .cred-grid, .cred-grid.cols-2 { grid-template-columns: 1fr; } }

/* Compliance line in the footer */
.footer-creds {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.86rem;
  line-height: 1.75;
}
.footer-creds strong { color: var(--white); font-weight: 600; }
.footer-bottom .container span { max-width: 100%; }

/* Driver Login link in the top bar */
.topbar-login {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,0.1);
  padding: 5px 13px; border-radius: 999px;
  font-weight: 600; letter-spacing: 0.3px;
  transition: background 0.2s, color 0.2s;
}
.topbar-login:hover { background: var(--red); color: var(--white) !important; }
@media (max-width: 480px) { .topbar-login span.lbl { display: none; } }

/* Long button labels must wrap rather than push the page sideways on phones */
@media (max-width: 560px) {
  .btn {
    white-space: normal;
    text-align: center;
    padding-left: 20px;
    padding-right: 20px;
    max-width: 100%;
  }
}

/* ==========================================================================
   TOP BAR — always exactly one line
   Items drop out from least important to most as the viewport narrows, so the
   bar never wraps onto a second row.
   ========================================================================== */
.topbar .container {
  flex-wrap: nowrap;
  gap: 16px;
}
.topbar-left, .topbar-right { display: flex; align-items: center; flex-wrap: nowrap; min-width: 0; }
.topbar-left { gap: 22px; }
.topbar-item { margin-right: 0; white-space: nowrap; }
.topbar-right { gap: 16px; white-space: nowrap; }
.topbar-login { white-space: nowrap; }

@media (max-width: 1240px) { .tb-tagline { display: none; } }
@media (max-width: 940px)  { .tb-hours   { display: none; } }
@media (max-width: 700px)  { .tb-email   { display: none; } }
@media (max-width: 430px) {
  .topbar { font-size: 0.8rem; }
  .topbar .container { gap: 10px; }
  .topbar-left { gap: 12px; }
  .topbar-right { gap: 10px; }
  .topbar-social { display: none; }
}

/* ==========================================================================
   CERTIFICATES
   ========================================================================== */
.cert-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: 22px; }
.cert-card {
  background: var(--white);
  border: 1px solid var(--fog-2);
  border-top: 3px solid var(--red);
  border-radius: var(--radius);
  padding: 26px 26px 22px;
  display: flex; flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.cert-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.cert-head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 16px; }
.cert-icon {
  width: 46px; height: 46px; flex-shrink: 0; border-radius: var(--radius);
  background: var(--fog); color: var(--red);
  display: flex; align-items: center; justify-content: center; font-size: 1.15rem;
}
.cert-title { flex: 1; min-width: 0; }
.cert-title strong {
  display: block; font-family: var(--font-display); font-size: 1.18rem;
  letter-spacing: 0.4px; color: var(--charcoal); line-height: 1.2;
}
.cert-title span {
  display: block; margin-top: 4px; font-size: 0.84rem;
  letter-spacing: 1px; text-transform: uppercase; color: var(--steel-light);
}
.cert-rows { border-top: 1px solid var(--fog-2); margin-bottom: 16px; }
.cert-row {
  display: flex; justify-content: space-between; gap: 14px;
  padding: 9px 0; border-bottom: 1px solid var(--fog-2); font-size: 0.9rem;
}
.cert-row .k { color: var(--steel); flex-shrink: 0; }
.cert-row .v { color: var(--charcoal); font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.cert-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.cert-status {
  display: none; align-items: center; gap: 7px;
  font-family: var(--font-display); font-weight: 700; font-size: 0.78rem;
  letter-spacing: 1.2px; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
  background: #E8F5EE; color: #1F8A4C;
}
.cert-status.show { display: inline-flex; }
.cert-status.is-soon { background: #FDF3E1; color: #B4740A; }
.cert-status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.cert-card .btn { padding: 11px 20px; font-size: 0.84rem; }
.cert-card .btn.is-missing { opacity: 0.45; pointer-events: none; }

.cert-note {
  background: var(--fog); border-left: 3px solid var(--red);
  border-radius: var(--radius); padding: 20px 24px; margin-top: 8px;
}
.cert-note strong { display: block; font-family: var(--font-display); font-size: 1.05rem; letter-spacing: 0.5px; margin-bottom: 6px; color: var(--charcoal); }
.cert-note p { color: var(--steel); font-size: 0.95rem; }
