.oslm-front {
  --ink: #16212f;
  --muted: #5f6b7a;
  --line: #d8dee8;
  --navy: #11263f;
  --blue: #1c5f91;
  --teal: #197278;
  --gold: #c3912e;
  --paper: #f7f9fc;
  color: var(--ink);
  background: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
}

body:has(.oslm-front) .navbar-brand img {
  display: none;
}

body:has(.oslm-front) .navbar-brand::after {
  content: "One Stop Logistics";
  color: var(--navy);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.28rem;
  font-weight: 800;
  white-space: nowrap;
}

.oslm-front a {
  color: var(--blue);
}

.oslm-hero {
  min-height: 74vh;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
  /* USDA photo by Bob Nichols, public domain U.S. federal government work. */
  background:
    linear-gradient(90deg, rgba(10, 25, 42, 0.92), rgba(10, 25, 42, 0.66) 48%, rgba(10, 25, 42, 0.18)),
    url("/static/OSLM/pics/port_baltimore_usda_aerial_hero.jpg") center/cover no-repeat;
}

.oslm-hero-content {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 7rem 1.5rem 5rem;
}

.oslm-eyebrow {
  color: #d7e6f7;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.oslm-hero h1 {
  color: #ffffff;
  font-size: 3.6rem;
  line-height: 1.05;
  font-weight: 800;
  max-width: 760px;
  margin: 1rem 0;
}

.oslm-hero-copy {
  color: #e9f1fb;
  font-size: 1.2rem;
  line-height: 1.55;
  max-width: 700px;
  margin-bottom: 2rem;
}

.oslm-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.oslm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.7rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.28);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 8px 20px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(8px) saturate(130%);
  -webkit-backdrop-filter: blur(8px) saturate(130%);
}

.oslm-btn:hover {
  color: #ffffff;
  text-decoration: none;
}

.oslm-btn-primary {
  background: var(--gold);
  border-color: var(--gold);
  color: #16212f;
  text-shadow: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.oslm-btn-primary:hover {
  color: #16212f;
}

.oslm-main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem;
}

.oslm-section-header {
  max-width: 780px;
  margin-bottom: 1.5rem;
}

.oslm-section-header h2 {
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 0.65rem;
  font-weight: 800;
}

.oslm-section-header p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.oslm-proof-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.oslm-proof-item {
  background: var(--paper);
  padding: 1.2rem;
}

.oslm-proof-value {
  font-size: 1.28rem;
  font-weight: 800;
  color: var(--navy);
  white-space: nowrap;
}

.oslm-proof-label {
  color: var(--muted);
  font-size: 0.9rem;
}

.oslm-service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.oslm-service {
  border: 1px solid var(--line);
  background: #ffffff;
  min-height: 250px;
  display: grid;
  grid-template-columns: 42% 58%;
}

.oslm-service img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Service card image sources:
   oslm_drayage_card.jpg: Andrew McMillan, public domain, via Wikimedia Commons.
   oslm_operations_card.jpg: U.S. Forest Service dispatch center, public domain U.S. government work, via Wikimedia Commons.
   oslm_export_loading_card.jpg: Goterrestrial, CC BY 4.0, via Wikimedia Commons. */

.oslm-service-body {
  padding: 1.25rem;
}

.oslm-service h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.65rem;
}

.oslm-service p {
  color: var(--muted);
  line-height: 1.5;
}

.oslm-service ul,
.oslm-forwarding-list {
  color: var(--ink);
  padding-left: 1.1rem;
  margin-bottom: 0;
}

.oslm-service li,
.oslm-forwarding-list li {
  margin-bottom: 0.35rem;
}

.oslm-band {
  background: var(--navy);
  color: #ffffff;
}

.oslm-band-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.oslm-band h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.oslm-band p {
  color: #dbe6f2;
  line-height: 1.55;
}

.oslm-band-panel {
  border-left: 4px solid var(--gold);
  background: #f7f9fc;
  color: var(--ink);
  padding: 1.25rem;
}

.oslm-lane-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.oslm-lane {
  border-top: 3px solid var(--teal);
  background: var(--paper);
  padding: 1rem;
}

.oslm-lane h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.oslm-lane p {
  color: var(--muted);
  margin-bottom: 0;
}

.oslm-contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.5rem;
  align-items: start;
}

.oslm-contact-card,
.oslm-contact-form {
  border: 1px solid var(--line);
  padding: 1.25rem;
  background: #ffffff;
}

.oslm-contact-card h3,
.oslm-contact-form h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.oslm-contact-detail {
  margin-bottom: 0.9rem;
  color: var(--muted);
}

.oslm-contact-detail strong {
  display: block;
  color: var(--ink);
}

.oslm-alert {
  padding: 0.85rem 1rem;
  background: #e8f4ed;
  border: 1px solid #b9ddc9;
  color: #184b2b;
  margin-bottom: 1rem;
}

@media (max-width: 991px) {
  .oslm-hero h1 {
    font-size: 2.7rem;
  }

  .oslm-service-grid,
  .oslm-band-inner,
  .oslm-lane-grid,
  .oslm-contact {
    grid-template-columns: 1fr;
  }

  .oslm-proof-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .oslm-service {
    grid-template-columns: 1fr;
  }

  .oslm-service img {
    height: 220px;
  }
}

@media (max-width: 575px) {
  .oslm-hero {
    min-height: 82vh;
  }

  .oslm-hero-content {
    padding: 5rem 1rem 3rem;
  }

  .oslm-hero h1 {
    font-size: 2.15rem;
  }

  .oslm-main {
    padding: 2.5rem 1rem;
  }

  .oslm-proof-strip {
    grid-template-columns: 1fr;
  }
}
