/* MO Construction Rentals — hand-written stylesheet.
   Values transcribed 1:1 from the original bundle's inline styles;
   style-hover/style-focus attributes converted to :hover/:focus rules. */

/* ---------- Fonts (self-hosted Outfit, from the original @font-face blocks) ---------- */
/* latin-ext */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/outfit-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/outfit-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/outfit-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/outfit-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/outfit-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/outfit-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/outfit-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/outfit-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Base ---------- */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  background: #FAF8F5;
  color: #1F2528;
  font-family: Outfit, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: #5A7D7C; text-decoration: none; }
a:hover { color: #46615F; }
input, textarea, select { font-family: Outfit, Helvetica, sans-serif; }
img { max-width: 100%; }
h1, h2, h3, p { margin: 0; }

.page { overflow-x: hidden; }
.container { max-width: 1140px; margin: 0 auto; }

/* Visible focus states (keyboard navigation) */
:focus-visible { outline: 3px solid #5A7D7C; outline-offset: 2px; }
.section-contact :focus-visible { outline-color: #ffffff; }
.btn:focus-visible { outline-color: #1F2528; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Buttons ---------- */
.btn { display: inline-block; font-weight: 600; border-radius: 12px; }
.btn-primary {
  background: #D9622B;
  color: #ffffff;
  transition: background 0.2s ease, transform 0.2s ease;
}
.btn-primary:hover { background: #BF5322; color: #ffffff; }
.btn-sm { font-size: 15px; padding: 10px 22px; }
.btn-sm:hover { transform: translateY(-1px); }
.btn-lg { font-size: 17px; padding: 15px 30px; }
.btn-primary.btn-lg:hover { transform: translateY(-2px); }
.btn-ghost {
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  color: #ffffff;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: #ffffff; color: #ffffff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(31, 37, 40, 0.08);
}
.header-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 11px; }
.brand-logo { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.brand-name { font-weight: 600; font-size: 16px; letter-spacing: 0.01em; }
.header-nav { display: flex; align-items: center; gap: 20px; }
.header-phone { font-weight: 600; font-size: 15px; color: #1F2528; }
.header-phone:hover { color: #5A7D7C; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(88vh, 720px);
  display: flex;
  align-items: flex-end;
}
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Matches the original image-slot pan state (top of photo pinned to frame top) */
  object-position: 50% 0;
  display: block;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 26, 28, 0.82) 0%, rgba(20, 26, 28, 0.35) 55%, rgba(20, 26, 28, 0.15) 100%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  max-width: 1140px;
  margin: 0 auto;
  width: 100%;
  padding: 120px 24px 80px;
}
.hero-copy { max-width: 640px; display: flex; flex-direction: column; gap: 18px; }
.eyebrow {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: lowercase;
  color: #5A7D7C;
}
/* Sits on the hero photo, where the scrim is at its weakest — needs to be
   near-white, and the shadow keeps it legible over the light parts of the image. */
.eyebrow-light {
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 3px rgba(20, 26, 28, 0.55);
}
.hero-title {
  font-weight: 700;
  font-size: clamp(38px, 5.6vw, 62px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: #ffffff;
  text-wrap: pretty;
}
.hero-sub {
  font-size: clamp(17px, 2vw, 19px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  max-width: 520px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 10px; }

/* ---------- Trust bar ---------- */
.trust-bar { background: #ffffff; border-bottom: 1px solid rgba(31, 37, 40, 0.07); }
.trust-grid {
  max-width: 1140px;
  margin: 0 auto;
  padding: 36px 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
}
.stat { display: flex; flex-direction: column; gap: 2px; text-align: center; }
.stat-big {
  font-weight: 700;
  font-size: clamp(26px, 3vw, 34px);
  letter-spacing: -0.01em;
  color: #1F2528;
  line-height: 1.15;
}
.stat-small { font-size: 14px; font-weight: 500; color: rgba(31, 37, 40, 0.55); letter-spacing: 0.04em; }

/* ---------- Sections ---------- */
.section { padding: 110px 24px; }
.section-head { max-width: 560px; margin-bottom: 56px; display: flex; flex-direction: column; gap: 12px; }
.section-title {
  font-weight: 700;
  font-size: clamp(32px, 4.4vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.015em;
}
.section-lede { color: rgba(31, 37, 40, 0.65); }

/* Scroll-reveal (added by JS only; sections are visible by default) */
[data-reveal] { transition: opacity 0.7s ease, transform 0.7s ease; }
[data-reveal].reveal-pending { opacity: 0; transform: translateY(28px); }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { transition: none; }
  [data-reveal].reveal-pending { opacity: 1; transform: none; }
}

.icon-tile {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(90, 125, 124, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Fleet ---------- */
.fleet-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.fleet-card {
  border: 1.5px solid rgba(31, 37, 40, 0.12);
  border-radius: 16px;
  padding: 32px 28px;
  background: #FAF8F5;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.fleet-card:hover {
  border-color: #5A7D7C;
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(31, 37, 40, 0.08);
}
.fleet-name { font-weight: 600; font-size: 21px; line-height: inherit; }
.fleet-specs {
  margin: 0;
  padding: 0 0 0 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 15.5px;
  color: rgba(31, 37, 40, 0.7);
}

/* ---------- Why crews choose us ---------- */
.section-why { background: #ffffff; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 56px;
  align-items: center;
}
.why-figure { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.why-photo {
  display: block;
  width: 100%;
  /* Intrinsic 1200x924 lands at ~420px tall in this column — the height the
     original empty slot reserved — so no cropping is needed. */
  height: auto;
  border-radius: 16px;
  /* Shows through while the lazy image loads. */
  background: rgba(127, 127, 127, 0.08);
}
.photo-credit { font-size: 12px; line-height: 1.5; color: rgba(31, 37, 40, 0.72); }
.photo-credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.why-copy { display: flex; flex-direction: column; gap: 12px; }
.why-title { margin: 0 0 16px; }
.benefits { display: flex; flex-direction: column; gap: 28px; }
.benefit { display: flex; gap: 18px; align-items: flex-start; }
.benefit .icon-tile { flex-shrink: 0; width: 44px; height: 44px; }
.benefit-title { font-weight: 600; font-size: 18px; margin-bottom: 4px; line-height: inherit; }
.benefit-body { font-size: 16px; color: rgba(31, 37, 40, 0.65); line-height: 1.65; }

/* ---------- How it works ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.step { display: flex; flex-direction: column; gap: 10px; }
.step-num {
  font-weight: 700;
  font-size: 72px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px #5A7D7C;
}
.step-title { font-weight: 600; font-size: 20px; line-height: inherit; }
.step-body { font-size: 15.5px; color: rgba(31, 37, 40, 0.65); line-height: 1.65; }

/* ---------- Contact ---------- */
.section-contact { background: #5A7D7C; color: #ffffff; }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 64px;
}
.contact-copy { display: flex; flex-direction: column; gap: 12px; }
/* White is the contrast ceiling on the #5A7D7C panel (4.51:1) — any teal tint
   lands around 3.2:1 and fails AA, so secondary text here separates by weight. */
.eyebrow-contact { color: #ffffff; }
.contact-title { margin: 0 0 12px; }
.contact-lede { margin: 0 0 22px; color: rgba(255, 255, 255, 0.8); max-width: 420px; }
.contact-rows { display: flex; flex-direction: column; gap: 16px; font-size: 16.5px; }
.contact-row { display: flex; gap: 12px; }
.contact-label { color: #ffffff; font-weight: 600; min-width: 96px; }
.contact-value { color: rgba(255, 255, 255, 0.88); }
.contact-phone { color: #ffffff; font-weight: 600; }
/* Underline rather than tint on hover — a teal tint here would drop to 3.2:1. */
.contact-phone:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Quote form ---------- */
.quote-form {
  background: #ffffff;
  border-radius: 16px;
  padding: 36px 32px;
  color: #1F2528;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.quote-form input,
.quote-form select,
.quote-form textarea {
  border: 1.5px solid rgba(31, 37, 40, 0.15);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 16px;
  outline: none;
  width: 100%;
  box-sizing: border-box;
}
.quote-form select { color: #1F2528; background: #ffffff; }
.quote-form textarea { resize: vertical; }
.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: #5A7D7C;
  outline: none;
}
.btn-submit {
  border: none;
  font-family: Outfit, sans-serif;
  font-size: 17px;
  padding: 15px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.btn-submit:hover { background: #BF5322; transform: none; }

/* Honeypot — visually removed, still submittable by naive bots */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- Footer ---------- */
.site-footer { background: #1F2528; color: rgba(255, 255, 255, 0.65); padding: 44px 24px; }
.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-logo { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.footer-name { color: #ffffff; font-weight: 600; font-size: 15px; }
.footer-meta { font-size: 13.5px; }
.footer-right { display: flex; flex-direction: column; gap: 4px; font-size: 13.5px; text-align: right; }
.footer-phone { color: #ffffff; font-weight: 600; font-size: 15px; }
.footer-phone:hover { color: #C8DEDC; }

/* ---------- Standalone pages (thank-you / 404) ---------- */
.standalone {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
}
.standalone-card {
  max-width: 560px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
}
.standalone-card .brand-logo { width: 56px; height: 56px; }
.standalone-title { font-weight: 700; font-size: clamp(30px, 4.4vw, 44px); line-height: 1.12; letter-spacing: -0.015em; }
.standalone-body { color: rgba(31, 37, 40, 0.65); }
.standalone-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 8px; }
