/* Midland Express LLC — brand styles (loaded after Bootstrap 5 to override its defaults) */

:root {
  --brand-red: #E8393E;
  --brand-red-dark: #C22A2F;
  --ink: #17181C;
  --ink-soft: #3A3B42;
  --body-text: #55565C;
  --muted: #8A8B92;
  --border: #ECECEF;
  --surface: #F6F6F8;
  --surface-alt: #F1F1F4;
  --footer-bg: #0E0F12;
  --font-display: 'Roboto Condensed', sans-serif;
}

html { scroll-behavior: smooth; }
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  color: var(--ink);
  background: #fff;
}
a { color: var(--brand-red); text-decoration: none; }
a:hover { color: var(--brand-red-dark); }
img { max-width: 100%; }
p { margin: 0; }

.container { padding-left: 24px; padding-right: 24px; }

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand-red);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2.5px;
}
.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  font-size: clamp(28px, 5.5vw, 42px);
}
.section-py { padding-top: clamp(56px, 9vw, 96px); padding-bottom: clamp(56px, 9vw, 96px); }
.bg-surface { background: var(--surface); }
.bg-ink { background: var(--ink); color: #fff; }
.text-body { color: var(--body-text); font-size: 17px; line-height: 1.7; }

/* Buttons */
.btn-brand {
  background: var(--brand-red);
  color: #fff;
  padding: 16px 30px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 16px;
  display: inline-block;
  border: none;
}
.btn-brand:hover { background: var(--brand-red-dark); color: #fff; }
.btn-brand-sm { padding: 11px 20px; font-size: 14.5px; }
.btn-ghost {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
  padding: 16px 30px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 16px;
  display: inline-block;
}
.btn-ghost:hover { background: rgba(255,255,255,0.22); color: #fff; }
.btn-outline-brand {
  border: 2px solid var(--brand-red);
  color: var(--brand-red);
  padding: 13px 24px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  display: inline-block;
}
.btn-outline-brand:hover { background: var(--brand-red); color: #fff; }
.btn-dark {
  background: var(--ink);
  color: #fff;
  padding: 15px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15.5px;
  display: inline-block;
}
.btn-dark:hover { background: var(--brand-red); color: #fff; }

/* Header / nav */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--border); }
.brand-mark {
  width: 38px; height: 38px; border-radius: 10px; background: var(--brand-red);
  display: flex; align-items: center; justify-content: center; color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 22px; flex-shrink: 0;
}
.brand-name { font-weight: 900; font-size: 19px; letter-spacing: -0.2px; color: var(--ink); padding-bottom: 3px; }
.brand-sub { font-size: 11px; letter-spacing: 2.2px; color: var(--muted); font-weight: 500; }
.nav-link-item { color: var(--ink-soft); font-weight: 500; font-size: 14.5px; padding: 8px 4px; }
.nav-link-item:hover { color: var(--brand-red); }
.navbar-toggler { border: none; padding: 4px 8px; }
.navbar-toggler:focus { box-shadow: none; }
@media (max-width: 991.98px) {
  .navbar-collapse { margin-top: 12px; padding-bottom: 16px; border-top: 1px solid var(--border); }
  .navbar-nav { padding-top: 8px; }
  .nav-link-item { padding: 12px 4px; border-bottom: 1px solid var(--surface-alt); }
  .navbar-nav .btn-brand-sm { margin-top: 12px; text-align: center; }
}

/* Hero */
.hero-section { position: relative; min-height: clamp(460px, 88vh, 640px); display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,10,14,0.82) 0%, rgba(10,10,14,0.55) 45%, rgba(10,10,14,0.15) 100%); }
.hero-content { position: relative; padding-top: clamp(56px, 12vw, 96px); padding-bottom: clamp(56px, 12vw, 96px); }
.hero-tag {
  margin: 0 0 16px; display: inline-block; background: rgba(232,57,62,0.95); color: #fff;
  font-size: 12.5px; font-weight: 700; letter-spacing: 2.5px; padding: 8px 14px; border-radius: 6px;
}
.hero-title { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(34px, 7vw, 64px); line-height: 1.05; color: #fff; max-width: 660px; }
.hero-body { margin: 22px 0 0; font-size: clamp(16px, 2.4vw, 19px); line-height: 1.6; color: rgba(255,255,255,0.88); max-width: 600px; }
.hero-stat-num { font-family: var(--font-display); font-weight: 700; font-size: clamp(26px, 3.5vw, 34px); color: #fff; }
.hero-stat-label { font-size: 13.5px; color: rgba(255,255,255,0.7); margin-top: 2px; }

/* Welcome */
.mission-panel { margin-top: 28px; background: var(--ink); border-radius: 12px; padding: 26px 30px; }
.mission-panel .kicker { margin: 0; color: rgba(255,255,255,0.65); font-size: 12px; font-weight: 700; letter-spacing: 2px; }
.mission-panel .statement { margin: 10px 0 0; color: #fff; font-size: 19px; font-weight: 500; line-height: 1.5; }
.welcome-badge { position: absolute; left: 20px; bottom: 20px; background: var(--brand-red); color: #fff; padding: 14px 20px; border-radius: 10px; font-weight: 700; font-size: 14.5px; }

/* Why-choose cards */
.why-card { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 30px 28px; height: 100%; }
.why-card:hover { border-color: var(--brand-red); }
.why-card-num { width: 44px; height: 44px; border-radius: 10px; background: rgba(232,57,62,0.1); color: var(--brand-red);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 19px; }
.why-card h3 { margin: 18px 0 0; font-size: 19px; font-weight: 700; }
.why-card p { margin: 10px 0 0; font-size: 15px; line-height: 1.65; color: var(--body-text); }

/* About */
.value-chip { background: rgba(232,57,62,0.14); border: 1px solid rgba(232,57,62,0.45); color: #fff; padding: 10px 18px; border-radius: 999px; font-size: 14px; font-weight: 500; }
.info-box { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); border-radius: 12px; padding: 24px; height: 100%; }
.info-box h3 { margin: 0; font-size: 15px; font-weight: 700; color: var(--brand-red); letter-spacing: 1.5px; }
.info-box p { margin: 10px 0 0; font-size: 14.5px; line-height: 1.65; color: rgba(255,255,255,0.8); }

/* Services */
.service-feature { position: relative; border-radius: 14px; overflow: hidden; min-height: 520px; height: 100%; }
.service-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.service-feature-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,14,0) 30%, rgba(10,10,14,0.88) 100%); }
.service-feature-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px; }
.service-feature-body h3 { margin: 0; color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 28px; }
.service-feature-body p { margin: 10px 0 0; color: rgba(255,255,255,0.85); font-size: 15px; line-height: 1.6; }
@media (max-width: 767.98px) { .service-feature { min-height: 360px; } }
.service-card { background: var(--surface); border-radius: 14px; padding: 28px; display: flex; flex-direction: column; height: 100%; }
.service-card:hover { background: var(--surface-alt); }
.service-card h3 { margin: 0; font-size: 19px; font-weight: 700; }
.service-card p { margin: 10px 0 16px; font-size: 14.5px; line-height: 1.6; color: var(--body-text); }
.service-point { display: flex; gap: 9px; align-items: baseline; font-size: 14px; color: var(--ink-soft); }
.service-point .arrow { color: var(--brand-red); font-weight: 900; }

/* Technology */
.tech-item { display: flex; gap: 10px; align-items: baseline; font-size: 15px; color: rgba(255,255,255,0.88); }
.tech-item .check { color: var(--brand-red); font-weight: 900; }
.tech-callout { margin-top: 34px; border-left: 3px solid var(--brand-red); padding: 6px 0 6px 22px; }
.tech-callout p:first-child { font-weight: 700; font-size: 16px; color: #fff; }
.tech-callout p:last-child { margin: 8px 0 0; font-size: 14.5px; line-height: 1.65; color: rgba(255,255,255,0.7); }
.tech-shot { background: #fff; border-radius: 16px; padding: 8px; box-shadow: 0 30px 80px rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.08); }
.tech-shot img { width: 100%; border-radius: 10px; display: block; }

/* Industries */
.industry-card { background: #fff; border-radius: 14px; padding: 28px; border: 1px solid var(--border); display: flex; gap: 18px; align-items: flex-start; height: 100%; }
.industry-card:hover { border-color: var(--brand-red); }
.industry-dot { width: 10px; height: 10px; border-radius: 3px; background: var(--brand-red); margin-top: 7px; flex-shrink: 0; }
.industry-card h3 { margin: 0; font-size: 18px; font-weight: 700; }
.industry-card p { margin: 8px 0 0; font-size: 14.5px; line-height: 1.6; color: var(--body-text); }

/* Fleet band */
.fleet-band { position: relative; padding: clamp(56px, 9vw, 110px) 0; overflow: hidden; }
.fleet-band-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fleet-band-overlay { position: absolute; inset: 0; background: rgba(200,30,36,0.88); }
.fleet-band-title { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 5vw, 44px); line-height: 1.08; color: #fff; }
.why-customer-item { display: flex; gap: 10px; align-items: baseline; font-size: 15.5px; color: #fff; font-weight: 500; }

/* Careers */
.career-perk { display: flex; gap: 10px; align-items: baseline; font-size: 15px; color: var(--ink-soft); }

/* FAQ */
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.faq-question {
  all: unset; box-sizing: border-box; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  gap: 16px; width: 100%; padding: 20px 24px; font-family: 'Roboto', sans-serif; font-size: 16.5px; font-weight: 700; color: var(--ink);
}
.faq-icon { color: var(--brand-red); font-size: 20px; font-weight: 900; }
.faq-answer { margin: 0; padding: 0 24px 20px; font-size: 15px; line-height: 1.65; color: var(--body-text); }

/* Contact */
.contact-detail { background: var(--surface); border-radius: 12px; padding: 20px 24px; }
.contact-detail .label { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: 2px; color: var(--muted); }
.contact-detail .value { margin: 6px 0 0; font-size: 19px; font-weight: 700; }
.contact-panel { background: var(--ink); border-radius: 16px; padding: 38px; }
.contact-panel h3 { margin: 0; color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 26px; }
.contact-panel > p { margin: 10px 0 0; color: rgba(255,255,255,0.65); font-size: 14px; line-height: 1.6; }
.contact-input {
  box-sizing: border-box; width: 100%; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.18);
  border-radius: 8px; padding: 14px 16px; color: #fff; font-family: 'Roboto', sans-serif; font-size: 14.5px;
}
.contact-input::placeholder { color: rgba(255,255,255,0.5); }
.contact-submit {
  all: unset; box-sizing: border-box; cursor: pointer; margin-top: 20px; width: 100%; text-align: center;
  background: var(--brand-red); color: #fff; padding: 16px; border-radius: 8px; font-family: 'Roboto', sans-serif; font-weight: 700; font-size: 16px;
}
.contact-submit:hover { background: var(--brand-red-dark); }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Footer */
.site-footer { background: var(--footer-bg); color: #fff; padding: 72px 0 0; }
.footer-tagline { margin: 12px 0 0; font-size: 13px; font-weight: 700; letter-spacing: 2px; color: var(--brand-red); }
.footer-heading { margin: 0 0 16px; font-size: 12.5px; font-weight: 700; letter-spacing: 2px; color: rgba(255,255,255,0.5); }
.footer-link { color: rgba(255,255,255,0.8); }
.footer-link:hover { color: var(--brand-red); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 56px; padding: 22px 24px; text-align: center; font-size: 13px; color: rgba(255,255,255,0.45); }
