/*
Theme Name: MMB Transportation Recruiting
Theme URI: https://mmbtransportation.org/
Author: MMB Transportation
Author URI: https://mmbtransportation.org/
Description: Upload-ready WordPress theme for third-party truck driver recruiting, carrier driver requests, and driver quick-apply forms for MMB Transportation.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mmb-transportation
Tags: transportation, recruiting, trucking, responsive, landing-page
*/

:root {
  --mmb-navy: #06254a;
  --mmb-blue: #0b4b82;
  --mmb-orange: #ff6a00;
  --mmb-steel: #677383;
  --mmb-silver: #eef3f7;
  --mmb-ink: #16202c;
  --mmb-white: #ffffff;
  --mmb-shadow: 0 18px 45px rgba(6, 37, 74, .14);
  --mmb-radius: 24px;
  --mmb-max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--mmb-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  background: #fbfdff;
}
a { color: inherit; }
img { max-width: 100%; height: auto; }
.mmb-container { width: min(var(--mmb-max), calc(100% - 40px)); margin: 0 auto; }
.screen-reader-text { position:absolute; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden; }

.mmb-topbar {
  background: var(--mmb-navy);
  color: rgba(255,255,255,.88);
  font-size: 14px;
}
.mmb-topbar-inner { display:flex; justify-content:space-between; align-items:center; gap: 18px; padding: 9px 0; flex-wrap: wrap; }
.mmb-topbar a { color:#fff; text-decoration:none; font-weight:700; }
.mmb-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(6,37,74,.08);
}
.mmb-header-inner { display:flex; justify-content:space-between; align-items:center; gap: 24px; padding: 14px 0; }
.mmb-brand { display:flex; align-items:center; gap: 12px; text-decoration:none; min-width: 245px; }
.mmb-brand img { width: 72px; height: 72px; object-fit: contain; }
.mmb-brand-text strong { display:block; color: var(--mmb-navy); font-size: 20px; letter-spacing: -.02em; line-height:1.05; }
.mmb-brand-text span { color: var(--mmb-steel); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .11em; }
.mmb-nav { display:flex; align-items:center; gap: 8px; flex-wrap: wrap; justify-content:flex-end; }
.mmb-nav a { text-decoration:none; color: var(--mmb-navy); font-weight:800; font-size: 14px; padding: 10px 12px; border-radius: 999px; }
.mmb-nav a:hover, .mmb-nav a:focus { background: var(--mmb-silver); outline: none; }
.mmb-nav .mmb-nav-cta { color: #fff; background: var(--mmb-orange); box-shadow: 0 10px 22px rgba(255,106,0,.25); }
.mmb-mobile-toggle { display:none; border:0; border-radius:12px; padding: 10px 12px; background:var(--mmb-navy); color:#fff; font-weight:800; }

.mmb-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(110deg, rgba(6,37,74,.96), rgba(11,75,130,.86)),
    radial-gradient(circle at 80% 20%, rgba(255,106,0,.32), transparent 32%);
}
.mmb-hero:after {
  content: "";
  position:absolute; inset: auto -10% -32% -10%; height: 280px;
  background: repeating-linear-gradient(115deg, transparent 0 38px, rgba(255,255,255,.06) 38px 44px);
  transform: skewY(-4deg);
}
.mmb-hero-inner { position:relative; z-index:1; display:grid; grid-template-columns: 1.08fr .92fr; gap: 46px; align-items:center; padding: 82px 0; }
.mmb-eyebrow { display:inline-flex; align-items:center; gap:10px; color: #ffd5b8; font-weight:900; text-transform: uppercase; letter-spacing:.14em; font-size: 13px; }
.mmb-eyebrow:before { content:""; width:36px; height:3px; background:var(--mmb-orange); border-radius:999px; }
h1, h2, h3 { line-height:1.12; letter-spacing:-.035em; margin:0 0 18px; color: var(--mmb-navy); }
.mmb-hero h1 { color:#fff; font-size: clamp(40px, 6vw, 74px); margin-top: 12px; }
.mmb-hero p { color: rgba(255,255,255,.86); font-size: 19px; max-width: 640px; }
.mmb-actions { display:flex; gap:14px; flex-wrap:wrap; margin-top:28px; }
.mmb-button { display:inline-flex; align-items:center; justify-content:center; gap:10px; text-decoration:none; border:0; cursor:pointer; border-radius: 999px; padding: 14px 22px; font-weight:900; transition:.2s ease; }
.mmb-button-primary { background:var(--mmb-orange); color:#fff; box-shadow: 0 14px 25px rgba(255,106,0,.28); }
.mmb-button-secondary { background:#fff; color:var(--mmb-navy); }
.mmb-button-outline { border:2px solid rgba(255,255,255,.55); color:#fff; }
.mmb-button:hover { transform: translateY(-2px); }
.mmb-hero-card { background: rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.2); border-radius: var(--mmb-radius); padding: 28px; box-shadow: 0 24px 60px rgba(0,0,0,.22); backdrop-filter: blur(16px); }
.mmb-hero-card img { width: 170px; display:block; margin: 0 auto 18px; filter: drop-shadow(0 18px 22px rgba(0,0,0,.25)); }
.mmb-hero-stat { display:grid; grid-template-columns: repeat(3,1fr); gap:10px; margin-top:20px; }
.mmb-hero-stat div { background:rgba(255,255,255,.12); padding:14px; border-radius:16px; text-align:center; }
.mmb-hero-stat strong { display:block; font-size:26px; color:#fff; }
.mmb-hero-stat span { font-size:12px; color:rgba(255,255,255,.78); font-weight:800; text-transform:uppercase; }

.mmb-section { padding: 76px 0; }
.mmb-section-muted { background: var(--mmb-silver); }
.mmb-section-title { text-align:center; max-width: 760px; margin:0 auto 36px; }
.mmb-section-title h2 { font-size: clamp(32px, 4vw, 48px); }
.mmb-section-title p { color: var(--mmb-steel); font-size: 18px; margin:0; }
.mmb-grid-3 { display:grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.mmb-grid-2 { display:grid; grid-template-columns: repeat(2,1fr); gap: 28px; align-items:start; }
.mmb-card { background:#fff; border:1px solid rgba(6,37,74,.08); border-radius: var(--mmb-radius); padding: 28px; box-shadow: var(--mmb-shadow); }
.mmb-card h3 { font-size: 24px; }
.mmb-card p { color: var(--mmb-steel); }
.mmb-icon { width: 54px; height:54px; border-radius:18px; display:grid; place-items:center; background: rgba(255,106,0,.12); color:var(--mmb-orange); font-weight:900; font-size: 24px; margin-bottom:18px; }
.mmb-list { padding:0; margin: 16px 0 0; list-style:none; }
.mmb-list li { padding: 9px 0 9px 30px; position:relative; color:var(--mmb-steel); }
.mmb-list li:before { content:"✓"; position:absolute; left:0; top:9px; color:var(--mmb-orange); font-weight:900; }
.mmb-band { background: linear-gradient(135deg, var(--mmb-navy), var(--mmb-blue)); color:#fff; border-radius: 34px; padding: 44px; display:grid; grid-template-columns:1fr auto; gap:28px; align-items:center; box-shadow: var(--mmb-shadow); }
.mmb-band h2 { color:#fff; font-size: clamp(30px, 4vw, 46px); }
.mmb-band p { margin:0; color:rgba(255,255,255,.8); }

.mmb-page-hero { background: linear-gradient(135deg, var(--mmb-navy), var(--mmb-blue)); color:#fff; padding: 72px 0; }
.mmb-page-hero h1 { color:#fff; font-size: clamp(38px, 5vw, 60px); }
.mmb-page-hero p { color: rgba(255,255,255,.84); max-width:780px; font-size:19px; }
.mmb-content { padding: 60px 0; }
.mmb-content :where(p, li) { color: var(--mmb-steel); font-size: 17px; }

.mmb-form { display:grid; gap: 16px; }
.mmb-form-row { display:grid; grid-template-columns: repeat(2,1fr); gap:16px; }
.mmb-field label { display:block; font-weight:900; color:var(--mmb-navy); margin-bottom:7px; font-size: 14px; }
.mmb-field input, .mmb-field select, .mmb-field textarea {
  width:100%; border:1px solid rgba(6,37,74,.16); border-radius:14px; padding: 13px 14px; font: inherit; background:#fff; color:var(--mmb-ink);
}
.mmb-field textarea { min-height: 132px; resize: vertical; }
.mmb-field input:focus, .mmb-field select:focus, .mmb-field textarea:focus { outline: 3px solid rgba(255,106,0,.22); border-color: var(--mmb-orange); }
.mmb-alert { border-radius:16px; padding:15px 18px; margin: 0 0 18px; font-weight:800; }
.mmb-alert-success { background:#eaf8ef; color:#14612d; }
.mmb-alert-error { background:#fff1ed; color:#9b2d11; }
.mmb-note { color:var(--mmb-steel); font-size: 13px; margin-top: 6px; }
.mmb-contact-box { background: var(--mmb-navy); color:#fff; border-radius:var(--mmb-radius); padding: 30px; }
.mmb-contact-box h3 { color:#fff; }
.mmb-contact-box a { color:#fff; font-weight:900; }

.mmb-footer { background:#061a31; color: rgba(255,255,255,.78); padding: 48px 0 22px; }
.mmb-footer-grid { display:grid; grid-template-columns: 1.3fr .7fr .7fr; gap: 32px; }
.mmb-footer h3, .mmb-footer strong { color:#fff; }
.mmb-footer a { color:rgba(255,255,255,.88); text-decoration:none; }
.mmb-footer a:hover { color:#fff; text-decoration:underline; }
.mmb-footer-logo { display:flex; gap: 12px; align-items:center; margin-bottom: 12px; }
.mmb-footer-logo img { width:58px; height:58px; object-fit:contain; }
.mmb-copyright { border-top:1px solid rgba(255,255,255,.12); margin-top:30px; padding-top:18px; font-size: 13px; }

@media (max-width: 900px) {
  .mmb-mobile-toggle { display:inline-flex; }
  .mmb-nav { display:none; width:100%; flex-direction:column; align-items:stretch; }
  .mmb-nav.is-open { display:flex; }
  .mmb-header-inner { flex-wrap:wrap; }
  .mmb-hero-inner, .mmb-grid-2, .mmb-band { grid-template-columns:1fr; }
  .mmb-grid-3 { grid-template-columns:1fr; }
  .mmb-footer-grid { grid-template-columns:1fr; }
}
@media (max-width: 640px) {
  .mmb-container { width:min(100% - 28px, var(--mmb-max)); }
  .mmb-form-row { grid-template-columns:1fr; }
  .mmb-hero-inner { padding: 56px 0; }
  .mmb-section { padding: 54px 0; }
  .mmb-hero-stat { grid-template-columns:1fr; }
  .mmb-brand img { width:58px; height:58px; }
}
