@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/plus-jakarta-sans-variable.woff2') format('woff2');
}

@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url('../fonts/caveat-variable.woff2') format('woff2');
}

:root {
  --mm-navy: #0A1F4F;
  --mm-navy-light: #4C5773;
  --mm-red: #ED1C2C;
  --mm-red-dark: #C4111F;
  --mm-white: #FFFFFF;
  --mm-bg-tint: #F2F6FA;
  --mm-border: #E4E9F0;
  --mm-star: #F5A623;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --shadow-card: 0 2px 10px rgba(10, 31, 79, 0.06);
  --shadow-panel: 0 20px 50px rgba(10, 31, 79, 0.14);
  --container-w: 1320px;
  --header-h: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--mm-navy);
  background: var(--mm-white);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.4rem, 4vw, 3.4rem); }
h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 16px; }

.eyebrow {
  color: var(--mm-red);
  font-weight: 700;
  font-size: 0.95rem;
}

.section { padding: 72px 0; }
.section-tint { background: var(--mm-bg-tint); }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head p { color: var(--mm-navy-light); font-size: 1.05rem; margin: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-red {
  background: var(--mm-red);
  color: var(--mm-white);
  box-shadow: 0 8px 20px rgba(237, 28, 44, 0.28);
}
.btn-red:hover { background: var(--mm-red-dark); }
.btn-outline {
  background: transparent;
  border-color: var(--mm-navy);
  color: var(--mm-navy);
}
.btn-outline:hover { background: var(--mm-navy); color: var(--mm-white); }
.btn-block { width: 100%; }
.btn-lg { padding: 17px 32px; font-size: 1.05rem; }

:focus-visible {
  outline: 3px solid var(--mm-red);
  outline-offset: 2px;
}
a.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--mm-navy);
  color: var(--mm-white);
  padding: 12px 20px;
  z-index: 1000;
  border-radius: 0 0 8px 0;
}
a.skip-link:focus { left: 0; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--mm-white);
  border-bottom: 1px solid var(--mm-border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}
.site-logo img { height: 62px; width: auto; }
@media (min-width: 1025px) {
  .site-logo img { height: 72px; }

  /* Homepage only: logo grows and overlaps into the hero below until scrolled */
  body.is-home .site-logo { align-self: flex-start; margin-left: -18px; transition: margin-left 0.25s ease; }
  body.is-home .site-logo img { height: 148px; position: relative; z-index: 1; display: block; transition: height 0.25s ease; }
  body.is-home .site-header.is-scrolled .site-logo { align-self: center; margin-left: 0; }
  body.is-home .site-header.is-scrolled .site-logo img { height: 56px; }
}
.primary-nav { display: flex; }
.primary-nav ul { display: flex; gap: 30px; align-items: center; }
.primary-nav a {
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--mm-navy);
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
}
.primary-nav a:hover,
.primary-nav .current-menu-item > a { border-color: var(--mm-red); }
.primary-nav li { position: relative; }
.primary-nav .menu-item-has-children > a { display: inline-flex; align-items: center; gap: 6px; }
.primary-nav .menu-item-has-children > a::after {
  content: "";
  width: 6px; height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-bottom: 3px;
  transition: transform 0.15s ease;
}
.primary-nav .menu-item-has-children:hover > a::after,
.primary-nav .menu-item-has-children:focus-within > a::after { transform: rotate(-135deg); margin-bottom: -3px; }
/* Invisible bridge over the gap between the link and the dropdown, so
   moving the mouse down doesn't lose :hover before reaching the menu. */
.primary-nav .menu-item-has-children::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 14px;
}
.primary-nav .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 10px;
  min-width: 230px;
  background: var(--mm-white);
  border: 1px solid var(--mm-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-panel);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 0;
  z-index: 60;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0s linear 0.2s;
}
.primary-nav .menu-item-has-children:hover > .sub-menu,
.primary-nav .menu-item-has-children:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.primary-nav .sub-menu a {
  display: block;
  padding: 12px 14px;
  border-radius: 8px;
  border-bottom: none;
  white-space: nowrap;
  font-weight: 500;
}
.primary-nav .sub-menu a:hover { background: var(--mm-bg-tint); border-color: transparent; }
.header-actions { display: flex; align-items: center; gap: 20px; }
.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--mm-navy);
}
.header-phone svg { flex-shrink: 0; color: var(--mm-red); }
.header-cta-mobile { display: none; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle svg { width: 28px; height: 28px; color: var(--mm-navy); }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 20px 0;
  background: linear-gradient(180deg, #F5F9FD 0%, #FFFFFF 55%);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}
.hero-tagline {
  font-family: 'Caveat', cursive;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--mm-navy);
  margin: 0 0 4px;
  line-height: 1;
}
.hero-tagline .accent { color: var(--mm-red); }
.hero-copy h1 { color: var(--mm-navy); margin-bottom: 8px; line-height: 1.05; }
.hero-copy h1 .block { display: block; }
.hero-copy h1 .accent { color: var(--mm-red); }
.hero-copy .lede {
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--mm-navy-light);
  max-width: 38ch;
  margin-bottom: 16px;
}
.hero-cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 22px;
}
.trust-item { display: flex; flex-direction: row; align-items: center; gap: 10px; }
.trust-item .icon {
  flex-shrink: 0;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  background: var(--mm-bg-tint);
  border-radius: var(--radius-sm);
  color: var(--mm-red);
}
.trust-item .icon svg { width: 17px; height: 17px; }
.trust-item strong { display: block; font-size: 0.9rem; font-weight: 700; line-height: 1.2; }
.trust-item span { display: block; font-size: 0.72rem; font-weight: 400; color: var(--mm-navy-light); line-height: 1.25; margin-top: 1px; }

.hero-media {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 340px;
  order: -1;
}
.hero-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 32%;
}

/* Hero trust strip: its own section, separate from the hero */
.hero-strip-section { padding: 40px 0 0; }
.hero-strip {
  background: var(--mm-bg-tint);
  border-radius: var(--radius-lg);
  padding: 18px 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.hero-strip-item { display: flex; align-items: center; gap: 12px; }
.hero-strip-item .icon {
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--mm-white);
  color: var(--mm-red);
  display: flex; align-items: center; justify-content: center;
}
.hero-strip-item strong { display: block; font-size: 0.92rem; }
.hero-strip-item span { font-size: 0.8rem; color: var(--mm-navy-light); }

/* Quote panel */
.quote-panel {
  background: var(--mm-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-panel);
  padding: 28px 30px;
  border: 1px solid var(--mm-border);
}
.quote-panel h2 { font-size: 1.4rem; margin-bottom: 4px; }
.quote-panel h2 .accent { color: var(--mm-red); }
.quote-panel > p { color: var(--mm-navy-light); font-size: 0.92rem; margin-bottom: 16px; }
.quote-call {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  font-weight: 700;
  color: var(--mm-navy);
  font-size: 0.95rem;
}
.quote-call svg { color: var(--mm-red); }

@media (min-width: 1025px) {
  .hero-inner {
    grid-template-columns: minmax(300px, 0.92fr) minmax(400px, 1.3fr) minmax(360px, 0.92fr);
    gap: 28px;
    align-items: center;
  }
  .hero-media { align-self: stretch; order: 0; }
  .field-row .field select { min-width: 0; }
}

/* Forms */
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--mm-navy);
}
.field .req { color: var(--mm-red); }
.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field input[type="date"],
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1.5px solid var(--mm-border);
  border-radius: var(--radius-sm);
  font-size: 0.98rem;
  font-family: inherit;
  color: var(--mm-navy);
  background: var(--mm-white);
  transition: border-color 0.15s ease;
}
.field textarea { min-height: 90px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--mm-red);
  outline: none;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field .hint { font-size: 0.82rem; color: var(--mm-navy-light); margin-top: 4px; }
.field .error-msg {
  color: var(--mm-red-dark);
  font-size: 0.85rem;
  margin-top: 6px;
  display: none;
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: var(--mm-red); }
.field.has-error .error-msg { display: block; }
.checkbox-group { display: flex; flex-direction: column; gap: 10px; }
.checkbox-row { display: flex; align-items: flex-start; gap: 10px; font-size: 0.95rem; }
.checkbox-row input { margin-top: 4px; width: 18px; height: 18px; flex-shrink: 0; }
.checkbox-row a { color: var(--mm-red); text-decoration: underline; }
.honeypot-field { position: absolute; left: -9999px; opacity: 0; height: 0; }

/* Multi-step form */
.mm-quote-form { position: relative; }
.mm-steps-indicator {
  display: flex;
  gap: 6px;
  margin-bottom: 22px;
}
.mm-steps-indicator span {
  flex: 1;
  height: 5px;
  border-radius: var(--radius-pill);
  background: var(--mm-border);
}
.mm-steps-indicator span.done,
.mm-steps-indicator span.active { background: var(--mm-red); }
.mm-step-label {
  font-size: 0.82rem;
  color: var(--mm-navy-light);
  font-weight: 700;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.mm-step { display: none; }
.mm-step.active { display: block; animation: mm-fade 0.2s ease; }
@keyframes mm-fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.mm-step-nav { display: flex; gap: 10px; margin-top: 6px; }
.mm-step-nav .btn { flex: 1; }
.mm-form-msg { padding: 14px 16px; border-radius: var(--radius-sm); font-size: 0.95rem; margin-top: 14px; display: none; }
.mm-form-msg.success { display: block; background: #E9F8EE; color: #146C2E; }
.mm-form-msg.error { display: block; background: #FDEBEC; color: var(--mm-red-dark); }
.mm-upload-list { font-size: 0.85rem; color: var(--mm-navy-light); margin-top: 8px; }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card {
  background: var(--mm-white);
  border: 1px solid var(--mm-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(10, 31, 79, 0.12);
}
.service-card .thumb { aspect-ratio: 4/3; overflow: hidden; background: var(--mm-bg-tint); }
.service-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.service-card:hover .thumb img { transform: scale(1.05); }
.service-card .thumb-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: var(--mm-red);
  background: var(--mm-bg-tint);
}
.service-card .body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.service-card .icon-row { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.service-card .icon-row .icon { color: var(--mm-red); flex-shrink: 0; }
.service-card h3 { margin-bottom: 6px; }
.service-card p { color: var(--mm-navy-light); font-size: 0.95rem; margin-bottom: 0; flex: 1; }
.service-card .more { display: flex; align-items: center; gap: 6px; font-weight: 700; color: var(--mm-red); margin-top: 16px; font-size: 0.92rem; }

/* Request a quote page */
.quote-page-grid {
  display: grid;
  grid-template-columns: minmax(420px, 640px) 1fr;
  gap: 48px;
  align-items: start;
}
.quote-aside {
  background: var(--mm-bg-tint);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: sticky;
  top: 100px;
}
.quote-aside h2 { font-size: 1.4rem; margin-bottom: 4px; }
.quote-aside h2 .accent { color: var(--mm-red); }
.quote-aside-cta {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--mm-border);
}
.quote-aside-cta p { font-weight: 700; color: var(--mm-navy); margin-bottom: 12px; }

/* Safe hands */
.safehands-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.safehands-media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; }
.safehands-media img { width: 100%; height: 100%; object-fit: cover; }
.safehands-copy h2 .accent { color: var(--mm-red); }
.check-list { display: flex; flex-direction: column; gap: 14px; margin-top: 22px; }
.check-list li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.check-list .bullet {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--mm-red); color: var(--mm-white);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* Why choose us */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.why-card { padding: 8px 0; }
.why-card .icon {
  width: 52px; height: 52px; border-radius: var(--radius-sm);
  background: var(--mm-bg-tint); color: var(--mm-red);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.why-card h3 { margin-bottom: 6px; }
.why-card p { color: var(--mm-navy-light); margin-bottom: 0; font-size: 0.95rem; }

/* How it works */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step-card { text-align: left; position: relative; padding-top: 8px; }
.step-card .num {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--mm-navy); color: var(--mm-white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.15rem; margin-bottom: 16px;
}
.step-card h3 { font-size: 1.1rem; }
.step-card p { color: var(--mm-navy-light); font-size: 0.93rem; margin-bottom: 0; }

/* About teaser */
.about-teaser { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 5/4; }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-copy p { color: var(--mm-navy-light); }

/* Reviews */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card {
  background: var(--mm-white);
  border: 1px solid var(--mm-border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-card);
}
.review-stars { color: var(--mm-star); font-size: 1rem; margin-bottom: 10px; letter-spacing: 2px; }
.review-card p.quote { font-size: 1rem; margin-bottom: 14px; }
.review-source { font-weight: 700; font-size: 0.92rem; }
.review-source span { display: block; font-weight: 500; color: var(--mm-navy-light); font-size: 0.85rem; }

.google-rating-summary {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  background: var(--mm-white);
  border: 1px solid var(--mm-border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-card);
}
.google-rating-summary-compact { background: var(--mm-white); margin-bottom: 32px; }
.google-rating-score { font-size: 2.4rem; font-weight: 800; color: var(--mm-navy); line-height: 1; }
.google-rating-summary .review-stars { margin: 0 0 2px; }
.google-rating-summary p { margin: 0; color: var(--mm-navy-light); font-size: 0.9rem; }
.google-rating-summary .btn { margin-left: auto; }
@media (max-width: 600px) {
  .google-rating-summary { flex-direction: column; align-items: flex-start; }
  .google-rating-summary .btn { margin-left: 0; width: 100%; }
}

/* FAQ */
.faq-list { max-width: 800px; }
.faq-item { border-bottom: 1px solid var(--mm-border); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 4px;
  font-weight: 700;
  font-size: 1.05rem;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ""; }
.faq-item summary::-moz-list-bullet { list-style-type: none; }
.faq-item summary .plus {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--mm-red);
  position: relative;
  transition: background 0.15s ease;
  box-shadow: 0 2px 6px rgba(237, 28, 44, 0.28);
}
.faq-item summary .plus::before,
.faq-item summary .plus::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  background: #fff;
  border-radius: 2px;
  transform: translate(-50%, -50%);
}
.faq-item summary .plus::before { width: 14px; height: 2.5px; }
.faq-item summary .plus::after { width: 2.5px; height: 14px; transition: transform 0.15s ease; }
.faq-item[open] summary .plus { background: var(--mm-navy); box-shadow: 0 2px 6px rgba(10, 31, 79, 0.28); }
.faq-item[open] summary .plus::after { transform: translate(-50%, -50%) scaleY(0); }
.faq-item .faq-answer { padding: 0 4px 20px; color: var(--mm-navy-light); }

/* Final CTA */
.final-cta {
  background: var(--mm-navy);
  color: var(--mm-white);
  border-radius: var(--radius-lg);
  padding: 56px;
  text-align: center;
}
.final-cta h2 { color: var(--mm-white); }
.final-cta p { color: #C4CCE0; max-width: 50ch; margin: 0 auto 28px; }
.final-cta .cta-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Footer */
.site-footer { background: var(--mm-navy); color: #C4CCE0; padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; margin-bottom: 40px; }
.footer-logo img { height: 52px; margin-bottom: 14px; border-radius: 50%; background: var(--mm-white); padding: 4px; }
.footer-col h2 { color: var(--mm-white); font-size: 1rem; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a:hover { color: var(--mm-white); }
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.14);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.85rem;
}

/* Inner page hero */
.page-hero { padding: 48px 0 12px; }
.page-hero .eyebrow { display: block; margin-bottom: 8px; }
.breadcrumb { font-size: 0.88rem; color: var(--mm-navy-light); margin-bottom: 10px; }
.breadcrumb a:hover { color: var(--mm-red); }

/* Service page hero */
.service-hero { padding: 40px 0 8px; }
.service-hero-grid { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
.service-hero-copy .eyebrow { display: block; margin-bottom: 8px; }
.service-hero-copy h1 { margin-bottom: 10px; }
.service-hero-copy .lede { font-size: 1.15rem; font-weight: 600; color: var(--mm-navy); margin-bottom: 12px; }
.service-hero-copy .intro { color: var(--mm-navy-light); margin-bottom: 24px; max-width: 52ch; }
.service-hero-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; }
.service-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.service-hero-caption {
  position: absolute; left: 20px; bottom: 20px;
  background: rgba(255,255,255,0.95);
  color: var(--mm-navy);
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: 1.3rem;
  line-height: 1.05;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 14px rgba(10,31,79,0.18);
}
@media (min-width: 900px) {
  .service-hero-grid { grid-template-columns: 1.05fr 1fr; gap: 48px; }
}

/* Help grid ("What we can help with") */
.help-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.help-item {
  background: var(--mm-white);
  border: 1px solid var(--mm-border);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  text-align: center;
  box-shadow: var(--shadow-card);
}
.help-item .icon {
  width: 46px; height: 46px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--mm-bg-tint);
  color: var(--mm-red);
  display: flex; align-items: center; justify-content: center;
}
.help-item strong { display: block; font-size: 0.95rem; }

/* Cross-sell panel */
.cross-sell {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
  background: var(--mm-bg-tint);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.cross-sell-media { border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 4/3; }
.cross-sell-media img { width: 100%; height: 100%; object-fit: cover; }
.cross-sell-copy h3 { margin-bottom: 8px; }
.cross-sell-copy p { color: var(--mm-navy-light); margin-bottom: 18px; }
@media (min-width: 700px) {
  .cross-sell { grid-template-columns: 220px 1fr; }
}

/* Suburbs */
.suburb-chip-list { display: flex; flex-wrap: wrap; gap: 10px; }
.suburb-chip-list li {
  background: var(--mm-white);
  border: 1px solid var(--mm-border);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
}

/* Mobile */
@media (max-width: 1024px) {
  .services-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .safehands-grid, .about-teaser { grid-template-columns: 1fr; }
  .quote-page-grid { grid-template-columns: 1fr; }
  .quote-aside { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .help-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .primary-nav { position: fixed; inset: var(--header-h) 0 0 auto; width: min(340px, 88vw); background: var(--mm-white); box-shadow: -8px 0 24px rgba(10,31,79,0.12); transform: translateX(100%); transition: transform 0.25s ease; padding: 24px; height: calc(100vh - var(--header-h)); overflow-y: auto; flex-direction: column; align-items: stretch; }
  .primary-nav.open { transform: translateX(0); }
  .primary-nav ul { flex-direction: column; align-items: flex-start; gap: 4px; width: 100%; }
  .primary-nav ul li { width: 100%; }
  .primary-nav a { display: block; padding: 14px 4px; width: 100%; border-bottom: 1px solid var(--mm-border); }
  .primary-nav .header-cta-mobile { display: block; margin-top: 16px; }
  .primary-nav .menu-item-has-children > a::after { display: none; }
  .primary-nav .menu-item-has-children::after { display: none; }
  .primary-nav .sub-menu {
    display: flex;
    position: static;
    box-shadow: none;
    border: none;
    padding: 0 0 4px 16px;
    margin-top: 0;
    min-width: 0;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }
  .primary-nav .sub-menu a { padding: 9px 4px; font-size: 0.88rem; white-space: normal; }
  .nav-toggle { display: block; }
  .header-phone-text { display: none; }
  .header-actions .btn-red.header-cta-desktop { display: none; }
}

@media (max-width: 720px) {
  .container { padding: 0 18px; }
  .field-row { grid-template-columns: 1fr; }
  .services-grid, .why-grid, .steps-grid, .reviews-grid, .help-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .section { padding: 52px 0; }
  .final-cta { padding: 40px 24px; }
  .hero { padding-top: 28px; }
  .hero-copy .lede { max-width: none; }
  .hero-cta-row { flex-direction: column; }
  .hero-cta-row .btn { width: 100%; }
  .hero-trust { flex-direction: column; gap: 14px; }
  .hero-strip { grid-template-columns: 1fr; padding: 18px 20px; }
}

/* Styles required by the added gallery and accessible form labels. */
.work-gallery { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.work-gallery figure { margin: 0; }
.work-gallery a { display: block; overflow: hidden; border-radius: var(--radius-md); background: #e4e9f0; }
.work-gallery img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.work-gallery .client-photo-crew-truck { object-position: center 55%; }
.work-gallery .client-photo-truck-equipment { object-fit: contain; }
.work-gallery figcaption { padding-top: 12px; font-size: .95rem; font-weight: 600; }
.field-label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 8px; }
.field input[type=file] { max-width: 100%; }
.mm-step-label:focus { outline-offset: 4px; }
@media (max-width: 900px) {
 .primary-nav:not(.open), .primary-nav:not(.open) .sub-menu { visibility: hidden; }
 .primary-nav.open { visibility: visible; }
}
@media (max-width: 600px) { .work-gallery { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
 html { scroll-behavior: auto; }
 *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Selected shallow section transitions; background only, with no layout shift. */
.home-curve, .section-curve {
  border-bottom-left-radius: 58% clamp(18px, 3.2vw, 44px);
  border-bottom-right-radius: 42% clamp(12px, 2vw, 28px);
}
.home-curve-reverse, .section-curve-reverse {
  border-bottom-left-radius: 40% clamp(12px, 2vw, 28px);
  border-bottom-right-radius: 60% clamp(18px, 3.2vw, 44px);
}

/* Austin feedback, October 2026: retain the form and make its boundary clear. */
.quote-panel {
  background: #eaf0f7;
  border: 2px solid var(--mm-navy);
  border-top: 8px solid var(--mm-red);
  box-shadow: 0 14px 38px rgba(16, 30, 67, .17);
}
.quote-panel > h2 { color: var(--mm-navy); font-size: 1.6rem; }
.quote-panel .mm-steps-indicator span { background: #b7c4d7; }
.quote-panel .mm-steps-indicator span.active,
.quote-panel .mm-steps-indicator span.done { background: var(--mm-red); }
.mm-upload-list { overflow-wrap: anywhere; }
.quote-panel input:focus-visible, .quote-panel select:focus-visible,
.quote-panel textarea:focus-visible, .quote-panel button:focus-visible {
  outline: 3px solid var(--mm-navy); outline-offset: 3px;
}
@media (max-width: 480px) { .quote-panel { padding: 22px 18px; } }

/* A2B-inspired full-bleed background, with a clear lane for the crew. */
.hero.hero-backdrop { background: var(--mm-navy); padding: 80px 0 48px; min-height: 850px; isolation: isolate; overflow: hidden; }
.hero-backdrop .hero-media { position: absolute; inset: -80px auto auto calc(50% - 906px); width: 1672px; height: 941px; min-height: 0; max-width: none; border-radius: 0; z-index: -2; }
.hero-backdrop .hero-media img { position: static; display: block; width: 100%; height: 100%; object-fit: cover; }
.hero.hero-backdrop::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,rgba(9,23,51,.92),rgba(9,23,51,.3) 36%,rgba(9,23,51,.12) 58%,rgba(9,23,51,.83) 88%,#102043); }
.hero-backdrop .hero-inner { grid-template-columns: 240px 340px; justify-content: space-between; gap: 32px; align-items: center; }
.hero-backdrop .hero-copy { max-width: 240px; }
.hero-backdrop .hero-copy h1 { font-size: 3rem; }
.hero-backdrop .hero-copy h1, .hero-backdrop .hero-tagline, .hero-backdrop .hero-copy .lede { color: #fff; }
.hero-backdrop .hero-copy h1 .accent, .hero-backdrop .hero-tagline .accent { color: #ff8f8f; }
.hero-backdrop .hero-cta-row { flex-direction: column; align-items: stretch; }
.hero-backdrop .hero-cta-row .btn { padding-inline: 16px; }
.hero-backdrop .hero-cta-row .btn-outline { border-color: #fff; color: #fff; background: rgba(9,23,51,.3); }
.hero-backdrop .hero-cta-row .btn-outline:hover { background: var(--mm-navy); }
.hero-backdrop .hero-trust { display: none; }
.hero-backdrop .quote-panel { padding: 28px 24px; }
/* Keep the background at laptop widths too; scale its composition with the columns. */
@media (min-width: 1100px) and (max-width: 1399px) {
 .hero-backdrop > .container { max-width: none; padding-inline: 6.735vw; }
 .hero-backdrop .hero-inner { grid-template-columns: 16.327vw 23.13vw; }
 .hero-backdrop .hero-media { width: 113.742vw; height: 64.014vw; left: calc(50% - 61.633vw); top: -5.442vw; }
 .hero-backdrop .hero-copy h1 { font-size: 3.265vw; }
 .hero-backdrop .quote-panel { padding: 24px 18px; }
 .hero-backdrop .hero-cta-row .btn { font-size: .9rem; padding-inline: 8px; }
}
@media (max-width: 1099px) {
 .hero.hero-backdrop { padding: 70px 0 40px; min-height: 0; }
 .hero-backdrop .hero-inner { grid-template-columns: minmax(0,1fr); gap: 28px; }
 .hero-backdrop .hero-copy { max-width: 640px; min-height: 500px; }
 .hero-backdrop .hero-copy h1 .block { display: inline; }
 .hero-backdrop .hero-cta-row { flex-direction: row; }
 .hero-backdrop .hero-media { position: absolute; width: 1100px; height: 620px; inset: 0 auto auto calc(50% - 550px); z-index: -2; }
 .hero.hero-backdrop::after { display: block; background: linear-gradient(180deg,rgba(9,23,51,.82),rgba(9,23,51,.38) 450px,var(--mm-navy) 620px); }
 .hero-backdrop .quote-panel { width: 100%; max-width: 680px; justify-self: center; }
}
@media (max-width: 600px) {
 .hero.hero-backdrop { padding-top: 36px; }
 .hero-backdrop .hero-copy h1 { font-size: 2.4rem; }
 .hero-backdrop .hero-cta-row { flex-direction: column; }
 .hero-backdrop .quote-panel { padding: 22px 18px; }
}

/* Dedicated quote page: matching background, with the form first on phones. */
.quote-reassurance { background: var(--mm-bg-tint); }
.quote-reassurance-list { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 28px; margin-top: 28px; }
@media (max-width: 900px) { .quote-reassurance-list { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 600px) { .quote-reassurance-list { grid-template-columns: 1fr; } }

/* Extend the background to the hero edge while anchoring the feet in view. */
@media (min-width: 1100px) {
 .hero-backdrop .hero-media { height: calc(100% + 80px); }
 .hero-backdrop .hero-media img { object-position: 75% 100%; }
}
@media (min-width: 1100px) and (max-width: 1399px) {
 .hero-backdrop .hero-media { height: calc(100% + 5.442vw); }
}

/* Main quoting page needs room for entry, independent of the compact home form. */
.hero.quote-page-hero { min-height: 0; padding: 80px 0 56px; }
.quote-page-hero > .container { max-width: var(--container-w); padding-inline: 24px; }
.quote-page-hero .hero-inner { grid-template-columns: minmax(0,1fr) minmax(0,640px); gap: 64px; }
.quote-page-hero .hero-copy { max-width: 440px; min-height: 0; }
.quote-page-hero .hero-copy h1 { font-size: clamp(2.6rem,4.2vw,4.25rem); }
.quote-page-hero .hero-copy .lede { font-size: 1.12rem; }
.quote-page-hero .hero-cta-row { max-width: 280px; }
.quote-page-hero .hero-media { inset: 0; width: 100%; height: 100%; }
.quote-page-hero .hero-media img { object-position: 50% 65%; }
.hero.quote-page-hero::after { background: linear-gradient(90deg,rgba(9,23,51,.86),rgba(9,23,51,.55) 45%,rgba(9,23,51,.65)); }
.quote-page-hero .quote-panel { width: 100%; max-width: none; padding: 32px; }
@media (max-width: 1000px) {
 .quote-page-hero .hero-inner { grid-template-columns: minmax(0,1fr); gap: 28px; }
 .quote-page-hero .hero-copy { max-width: 640px; }
 .quote-page-hero .quote-panel { max-width: 680px; justify-self: center; }
 .quote-page-hero .hero-media img { object-position: 45% 60%; }
}
@media (max-width: 600px) {
 .hero.quote-page-hero { padding: 36px 0; }
 .quote-page-hero > .container { padding-inline: 18px; }
 .quote-page-hero .quote-panel { padding: 24px 18px; }
}

/* Homepage phones: show the complete team photo before the copy and form. */
@media (max-width: 767px) {
 .hero.hero-backdrop:not(.quote-page-hero) { padding-top: 0; }
 .hero.hero-backdrop:not(.quote-page-hero)::after { display: none; }
 .hero-backdrop:not(.quote-page-hero) > .container { padding-inline: 0; }
 .hero-backdrop:not(.quote-page-hero) .hero-media { position: static; inset: auto; width: 100%; height: auto; min-height: 0; margin: 0; order: -1; z-index: auto; }
 .hero-backdrop:not(.quote-page-hero) .hero-media img { width: 100%; height: auto; object-fit: contain; }
 .hero-backdrop:not(.quote-page-hero) .hero-copy { min-height: 0; margin-inline: 18px; }
 .hero-backdrop:not(.quote-page-hero) .quote-panel { width: calc(100% - 36px); }
}
