/* ==========================================================================
   MBARK Land Management LLC — Core Stylesheet
   Brand palette sourced from logo: green #3F8048 / brown #5D3824 /
   charcoal #3E3C2C / neutral gray #8F908E, on a bright warm-white ground.
   ========================================================================== */

:root {
  /* Brand colors */
  --mb-green: #3F8048;
  --mb-green-dark: #2E5F35;
  --mb-green-light: #6BAF6E;
  --mb-brown: #5D3824;
  --mb-brown-dark: #42271A;
  --mb-charcoal: #3E3C2C;
  --mb-gray: #8F908E;

  /* Surfaces */
  --mb-bg: #FAF9F6;
  --mb-bg-alt: #F1EFE8;
  --mb-white: #FFFFFF;
  --mb-border: #E4E1D8;

  /* Text */
  --mb-text: #3E3C2C;
  --mb-text-muted: #6b6a5c;
  --mb-text-on-dark: #FAF9F6;

  /* Type */
  --font-head: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Shape / depth */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(62,60,44,0.08), 0 1px 1px rgba(62,60,44,0.06);
  --shadow-md: 0 6px 16px rgba(62,60,44,0.10), 0 2px 6px rgba(62,60,44,0.08);
  --shadow-lg: 0 20px 45px rgba(62,60,44,0.16), 0 6px 16px rgba(62,60,44,0.10);
  --shadow-green: 0 10px 24px rgba(63,128,72,0.30), 0 3px 8px rgba(63,128,72,0.24);
  --shadow-inset: inset 0 1px 0 rgba(255,255,255,0.5);

  --container: 1180px;
  --header-h: 84px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--mb-text);
  background: var(--mb-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--mb-charcoal);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 600;
}
p { margin: 0 0 1em; }
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
section { position: relative; }

/* Google Fonts (self-hosted-friendly fallback stacks defined above; loaded in <head>) */

/* ---------- Utility ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mb-green-dark);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--mb-green);
  display: inline-block;
}
.section-head {
  max-width: 640px;
  margin: 0 0 44px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--mb-text-muted); font-size: 1.08rem; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.bg-alt { background: var(--mb-bg-alt); }
.bg-charcoal { background: var(--mb-charcoal); color: var(--mb-text-on-dark); }
.bg-charcoal h2, .bg-charcoal h3 { color: var(--mb-text-on-dark); }
.bg-brown { background: linear-gradient(135deg, var(--mb-brown-dark) 0%, var(--mb-brown) 100%); color: var(--mb-text-on-dark); }
.bg-brown h2, .bg-brown h3 { color: var(--mb-text-on-dark); }
.bg-green { background: var(--mb-green); color: #fff; }
.py { padding-top: 96px; padding-bottom: 96px; }
.py-sm { padding-top: 56px; padding-bottom: 56px; }
.divider {
  height: 4px;
  width: 70px;
  background: var(--mb-brown);
  border-radius: 2px;
  margin: 18px 0 0;
}
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 12px; top: -60px;
  background: var(--mb-charcoal); color: #fff;
  padding: 10px 16px; border-radius: var(--radius-sm);
  z-index: 1000; transition: top .2s ease;
}
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.98rem;
  border: none;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(180deg, #47904f, var(--mb-green) 55%, var(--mb-green-dark));
  color: #fff;
  box-shadow: var(--shadow-green), var(--shadow-inset);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px rgba(63,128,72,0.36), 0 4px 10px rgba(63,128,72,0.26); }
.btn-primary:active { transform: translateY(0); }
.btn-outline {
  background: transparent;
  color: var(--mb-charcoal);
  border: 1.5px solid var(--mb-charcoal);
}
.btn-outline:hover { background: var(--mb-charcoal); color: #fff; transform: translateY(-2px); }
.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.6);
}
.btn-outline-light:hover { background: #fff; color: var(--mb-charcoal); transform: translateY(-2px); }
.btn-lg { padding: 18px 36px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(250,249,246,0.9);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--mb-border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { height: 50px; width: auto; flex-shrink: 0; }
.main-nav { display: flex; align-items: center; gap: 8px; }
.main-nav ul { display: flex; align-items: center; gap: 2px; }
.main-nav a {
  display: inline-block;
  padding: 10px 14px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--mb-charcoal);
  border-radius: var(--radius-sm);
  transition: color .15s ease, background-color .15s ease;
  position: relative;
}
.main-nav a:hover { color: var(--mb-green-dark); background: rgba(63,128,72,0.08); }
.main-nav a.active { color: var(--mb-green-dark); }
.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 2px;
  background: var(--mb-green);
  border-radius: 2px;
}
.header-cta { display: flex; align-items: center; gap: 14px; }
.header-cta-mobile { display: none; }
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--mb-brown);
  font-size: 0.95rem;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  background: var(--mb-charcoal);
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span { margin: 5px 0; }
.nav-toggle[aria-expanded="true"]::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span { opacity: 0; }
.nav-toggle[aria-expanded="true"]::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
}
.hero-media {
  position: absolute;
  inset: -10% 0 -10% 0;
  z-index: -2;
  will-change: transform;
}
.hero-media .img-slot {
  width: 100%;
  height: 100%;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(46,45,33,0.35) 0%, rgba(38,37,27,0.55) 55%, rgba(28,27,19,0.86) 100%);
}
.hero-content {
  padding: 0 0 88px;
  max-width: 760px;
}
.hero .eyebrow { color: var(--mb-green-light); }
.hero .eyebrow::before { background: var(--mb-green-light); }
.hero h1 {
  color: #fff;
  font-size: clamp(2.4rem, 5vw, 3.9rem);
  text-shadow: 0 3px 18px rgba(0,0,0,0.35), 0 1px 2px rgba(0,0,0,0.4);
  margin-bottom: 0.4em;
}
.hero p.lead {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.92);
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
  max-width: 620px;
}
.hero-actions { display: flex; gap: 16px; margin-top: 32px; flex-wrap: wrap; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 64px;
  border-top: 1px solid rgba(255,255,255,0.22);
  padding-top: 28px;
}
.hero-stats .stat + .stat { border-left: 1px solid rgba(255,255,255,0.22); }
.hero-stats .stat { padding-left: 20px; }
.hero-stats .stat:first-child { padding-left: 0; }
.hero-stats .num {
  font-family: var(--font-head);
  font-size: 2rem;
  color: #fff;
  display: block;
}
.hero-stats .label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.78);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Page (non-home) hero — shorter */
.page-hero {
  min-height: 46vh;
  align-items: center;
}
.page-hero .hero-content { padding: 120px 0 56px; max-width: 820px; }

/* ---------- Image placeholder slots ---------- */
.img-slot {
  position: relative;
  width: 100%;
  background: linear-gradient(135deg, #e9e6da 0%, #d9d5c5 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
  color: var(--mb-gray);
}
.img-slot::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(45deg, rgba(93,56,36,0.06) 0 2px, transparent 2px 14px);
}
.img-slot .slot-label {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 10px 14px;
  margin-top: 16px;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--mb-brown);
  background: rgba(255,255,255,0.82);
  border: 1px dashed var(--mb-gray);
  border-radius: var(--radius-sm);
  max-width: 80%;
  line-height: 1.4;
}
.img-slot img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.img-slot.ratio-16-9 { aspect-ratio: 16 / 9; }
.img-slot.ratio-4-3 { aspect-ratio: 4 / 3; }
.img-slot.ratio-1-1 { aspect-ratio: 1 / 1; }
.img-slot.ratio-3-4 { aspect-ratio: 3 / 4; }
.img-slot.ratio-21-9 { aspect-ratio: 21 / 9; }
.img-slot.rounded-lg { border-radius: var(--radius-lg); }

/* Hero placeholder fill (no image yet) */
.hero-media.img-slot {
  position: absolute;
  inset: -10% 0 -10% 0;
  border-radius: 0;
  background: linear-gradient(160deg, #4a4636 0%, #33321f 60%, #26251a 100%);
}
.hero-media.img-slot .slot-label {
  background: rgba(250,249,246,0.14);
  color: rgba(255,255,255,0.85);
  border-color: rgba(255,255,255,0.35);
}

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}
.card {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  background: var(--mb-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--mb-border);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
  transform: perspective(900px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateZ(0);
  display: flex;
  flex-direction: column;
}
.card:hover {
  box-shadow: var(--shadow-lg);
}
.card-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: 1.28rem; margin-bottom: 10px; }
.card p { color: var(--mb-text-muted); font-size: 0.98rem; margin-bottom: 0; }
.card-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: linear-gradient(160deg, #4a924f, var(--mb-green));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  box-shadow: var(--shadow-green);
}
.card-icon svg { width: 26px; height: 26px; }
.card-link {
  margin-top: 18px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--mb-green-dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.card-link .arrow { transition: transform .18s ease; }
.card:hover .card-link .arrow { transform: translateX(4px); }

/* Featured / specialty card (pond excavation) */
.card-feature {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--mb-white);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--mb-border);
}
.card-feature .img-slot { border-radius: 0; height: 100%; min-height: 340px; }
.card-feature .feature-copy { padding: 48px; display: flex; flex-direction: column; justify-content: center; }
.card-feature .feature-copy h3 { font-size: 1.9rem; }
@media (max-width: 860px) {
  .card-feature { grid-template-columns: 1fr; }
  .card-feature .img-slot { min-height: 240px; }
  .card-feature .feature-copy { padding: 32px 26px; }
}

/* ---------- Equipment cards ---------- */
.equip-card {
  background: var(--mb-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--mb-border);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
  transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
}
.equip-card:hover { box-shadow: var(--shadow-lg); }
.equip-card .img-slot { border-radius: 0; }
.equip-card .equip-body { padding: 22px 24px 26px; }
.equip-card .equip-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mb-brown);
  background: rgba(93,56,36,0.08);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.equip-card h3 { font-size: 1.15rem; margin-bottom: 6px; }
.equip-card p { color: var(--mb-text-muted); font-size: 0.92rem; margin-bottom: 0; }

/* ---------- Trust bar ---------- */
.trust-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  padding: 40px 0;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 4px;
}
.trust-item .ico {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--mb-bg-alt);
  border: 1px solid var(--mb-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--mb-green-dark);
}
.trust-item .ico svg { width: 24px; height: 24px; }
.trust-item strong { display: block; font-size: 1rem; color: var(--mb-charcoal); }
.trust-item span { font-size: 0.88rem; color: var(--mb-text-muted); }

/* ---------- Process / steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
  counter-reset: step;
}
.step { position: relative; padding-left: 8px; }
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-head);
  font-size: 2.1rem;
  color: var(--mb-green);
  opacity: 0.55;
  display: block;
  margin-bottom: 6px;
}
.step h3 { font-size: 1.08rem; margin-bottom: 6px; }
.step p { color: var(--mb-text-muted); font-size: 0.94rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--mb-charcoal) 0%, #33321f 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,0.78); margin-bottom: 0; max-width: 460px; }
.cta-band .actions { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-band.bg-brown { background: linear-gradient(135deg, var(--mb-brown-dark) 0%, var(--mb-brown) 100%); }

/* ---------- Split section (image + copy) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split.reverse .split-media { order: 2; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split.reverse .split-media { order: 0; }
}
.split-media { position: relative; }
.split-media .img-slot.primary { position: relative; z-index: 1; }
.split-media .img-slot.accent {
  position: absolute;
  width: 55%;
  bottom: -30px;
  right: -30px;
  z-index: 2;
  border: 6px solid var(--mb-bg);
  box-shadow: var(--shadow-lg);
}
@media (max-width: 640px) {
  .split-media .img-slot.accent { display: none; }
}

/* ---------- Quote / testimonial ---------- */
.quote-block {
  border-left: 4px solid var(--mb-green);
  padding: 6px 0 6px 28px;
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: var(--mb-charcoal);
  font-style: italic;
}
.quote-block cite {
  display: block;
  margin-top: 14px;
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--mb-text-muted);
}

/* ---------- Forms ---------- */
.form-card {
  background: var(--mb-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--mb-border);
  box-shadow: var(--shadow-lg);
  padding: 44px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 7px;
  color: var(--mb-charcoal);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--mb-border);
  background: var(--mb-bg);
  font-family: inherit;
  font-size: 0.96rem;
  color: var(--mb-text);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--mb-green);
  box-shadow: 0 0 0 4px rgba(63,128,72,0.14);
}
.field-hint { font-size: 0.8rem; color: var(--mb-text-muted); margin-top: 6px; }
.form-note { font-size: 0.86rem; color: var(--mb-text-muted); margin-top: 16px; }
.form-status {
  display: none;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 20px;
}
.form-status.success { display: block; background: rgba(63,128,72,0.1); color: var(--mb-green-dark); border: 1px solid rgba(63,128,72,0.3); }
.form-status.error { display: block; background: rgba(158,58,58,0.08); color: #7a2a2a; border: 1px solid rgba(158,58,58,0.25); }

/* ---------- Info list (contact page) ---------- */
.info-list { display: flex; flex-direction: column; gap: 22px; }
.info-item { display: flex; gap: 16px; }
.info-item .ico {
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: rgba(63,128,72,0.1);
  color: var(--mb-green-dark);
  display: flex; align-items: center; justify-content: center;
}
.info-item .ico svg { width: 22px; height: 22px; }
.info-item h3 { margin-bottom: 4px; font-size: 1rem; }
.info-item p, .info-item a { color: var(--mb-text-muted); font-size: 0.95rem; margin-bottom: 0; }
.info-item a:hover { color: var(--mb-green-dark); }

/* ---------- Map ---------- */
.map-slot {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--mb-border);
  box-shadow: var(--shadow-md);
}
.map-slot iframe { width: 100%; height: 320px; border: 0; display: block; }

/* ---------- Service detail page ---------- */
.service-nav {
  position: sticky;
  top: calc(var(--header-h) + 1px);
  background: var(--mb-bg);
  border-bottom: 1px solid var(--mb-border);
  z-index: 100;
  overflow-x: auto;
}
.service-nav ul { display: flex; gap: 4px; padding: 12px 0; white-space: nowrap; }
.service-nav a {
  display: inline-block;
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--mb-text-muted);
  border-radius: 999px;
}
.service-nav a:hover, .service-nav a.active { color: var(--mb-green-dark); background: rgba(63,128,72,0.1); }

.service-block { padding: 72px 0; border-bottom: 1px solid var(--mb-border); }
.service-block:last-of-type { border-bottom: none; }
.service-block .tag-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.tag {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--mb-bg-alt);
  border: 1px solid var(--mb-border);
  color: var(--mb-charcoal);
}

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.gallery-grid .img-slot:nth-child(3n+1) { grid-row: span 2; aspect-ratio: 3/4; }
@media (max-width: 760px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid .img-slot:nth-child(3n+1) { grid-row: span 1; aspect-ratio: 4/3; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--mb-charcoal);
  color: rgba(250,249,246,0.82);
  padding: 72px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand img { height: 46px; width: auto; margin-bottom: 16px; }
.footer-brand p { font-size: 0.92rem; color: rgba(250,249,246,0.65); max-width: 280px; }
.social-links { display: flex; gap: 12px; margin-top: 20px; }
.social-links a {
  width: 38px; height: 38px;
  border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.08);
  color: rgba(250,249,246,0.85);
  transition: background-color .15s ease, color .15s ease, transform .15s ease;
}
.social-links a:hover { background: var(--mb-green); color: #fff; transform: translateY(-2px); }
.social-links svg { width: 18px; height: 18px; }
.site-footer h3 {
  font-family: var(--font-body);
  color: #fff;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.site-footer ul { display: flex; flex-direction: column; gap: 11px; }
.site-footer a { font-size: 0.93rem; color: rgba(250,249,246,0.72); }
.site-footer a:hover { color: var(--mb-green-light); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 0.82rem;
  color: rgba(250,249,246,0.55);
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Responsive nav ---------- */
@media (max-width: 980px) {
  .header-phone { display: none; }
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    bottom: 0;
    left: 0;
    height: calc(100vh - var(--header-h));
    background: var(--mb-bg);
    flex-direction: column;
    align-items: stretch;
    padding: 20px 24px 40px;
    transform: translateX(100%);
    transition: transform .25s ease;
    overflow-y: auto;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 4px; width: 100%; }
  .main-nav a { padding: 14px 12px; font-size: 1.05rem; border-bottom: 1px solid var(--mb-border); }
  .header-cta-mobile { display: block; margin-top: 18px; }
}

@media (max-width: 640px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
  .hero-stats .stat:nth-child(2n+1) { border-left: none; padding-left: 0; }
  .hero-stats .stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,0.22); padding-top: 16px; }
  .cta-band { padding: 40px 28px; text-align: center; justify-content: center; }
  .cta-band .actions { justify-content: center; }
  .py { padding-top: 64px; padding-bottom: 64px; }
  .form-card { padding: 28px 22px; }
}

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .equip-card, .btn, .hero-media { transition: none !important; transform: none !important; }
}
