/* Shared production shell. Names are deliberately isolated from audited page CSS. */
:root {
  --zmx-shell-ink: #102320;
  --zmx-shell-dark: #082923;
  --zmx-shell-paper: #fffdf8;
  --zmx-shell-cream: #f4efdf;
  --zmx-shell-gold: #d2a653;
  --zmx-shell-teal: #1f766a;
  --zmx-shell-line: rgba(16, 35, 32, .14);
  --zmx-shell-focus: #ffca43;
}

html { scroll-padding-top: 84px; }
body.zmx-shell-lock { overflow: hidden !important; }

.zmx-global-header,
.zmx-global-header *,
.zmx-global-footer,
.zmx-global-footer *,
.zmx-global-dialog,
.zmx-global-dialog *,
.zmx-global-sticky,
.zmx-global-sticky * { box-sizing: border-box; }

.zmx-global-header {
  position: sticky;
  inset: 0 0 auto;
  z-index: 900;
  border-bottom: 1px solid var(--zmx-shell-line);
  background: rgba(248, 244, 233, .96);
  color: var(--zmx-shell-ink);
  backdrop-filter: blur(18px);
}

.zmx-global-header__inner {
  width: min(1240px, calc(100% - 40px));
  min-height: 74px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.zmx-global-brand {
  grid-column: 2;
  display: inline-flex;
  align-items: center;
  justify-self: center;
  gap: 10px;
  color: var(--zmx-shell-ink);
  font: 900 .9rem/1.1 Inter, ui-sans-serif, system-ui, sans-serif;
  letter-spacing: .14em;
  text-decoration: none;
  text-transform: uppercase;
}

.zmx-global-brand__mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(210, 166, 83, .72);
  border-radius: 11px;
  color: #9b7836;
}

.zmx-global-nav {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 20px;
  font: 800 .84rem/1.2 Inter, ui-sans-serif, system-ui, sans-serif;
}

.zmx-global-nav a {
  position: relative;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: rgba(16, 35, 32, .82);
  text-decoration: none;
}

.zmx-global-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  border-radius: 2px;
  background: var(--zmx-shell-teal);
}

.zmx-global-contact,
.zmx-global-menu,
.zmx-global-dialog button,
.zmx-global-sticky button {
  border: 0;
  font: 900 .84rem/1.2 Inter, ui-sans-serif, system-ui, sans-serif;
  cursor: pointer;
}

.zmx-global-contact {
  min-height: 44px;
  padding: 12px 18px;
  border-radius: 999px;
  background: #1f766a;
  color: #fffdf8;
  box-shadow: 0 8px 18px rgba(8, 41, 35, .14);
  transition: background-color .24s ease, transform .24s ease, box-shadow .24s ease;
}
.zmx-global-contact:hover { background: #155f56; transform: translateY(-2px); box-shadow: 0 12px 24px rgba(8, 41, 35, .2); }
.zmx-global-contact:focus-visible { outline: 2px solid rgba(210, 166, 83, .82); outline-offset: 3px; }

.zmx-global-menu {
  display: none;
  grid-column: 3;
  justify-self: end;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--zmx-shell-line);
  border-radius: 999px;
  background: var(--zmx-shell-paper);
  color: var(--zmx-shell-ink);
}

.zmx-global-footer {
  padding: 54px 0 30px;
  background: var(--zmx-shell-dark);
  color: rgba(245, 239, 221, .74);
  font: 400 .86rem/1.55 Inter, ui-sans-serif, system-ui, sans-serif;
}

.zmx-global-footer__inner { width: min(1240px, calc(100% - 40px)); margin: auto; }
.zmx-global-footer__grid {
  display: grid;
  grid-template-columns: 1.25fr .72fr 1.18fr .86fr 1fr;
  gap: 25px;
}
.zmx-global-footer h2,
.zmx-global-footer h3 {
  margin: 0 0 12px;
  color: #efe4c8;
  font: 900 .84rem/1.2 Inter, ui-sans-serif, system-ui, sans-serif;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.zmx-global-footer p { margin: 0; }
.zmx-global-footer__links { display: grid; gap: 8px; }
.zmx-global-footer a,
.zmx-global-footer button {
  width: fit-content;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.zmx-global-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 40px;
  padding-top: 23px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.zmx-global-footer__legal { display: flex; gap: 20px; }

.zmx-global-dialog {
  width: min(760px, calc(100% - 28px));
  max-height: min(90vh, 820px);
  padding: 0;
  border: 0;
  border-radius: 28px;
  overflow: auto;
  background: var(--zmx-shell-paper);
  color: var(--zmx-shell-ink);
  box-shadow: 0 32px 100px rgba(0, 0, 0, .34);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}
.zmx-global-dialog::backdrop { background: rgba(4, 29, 25, .7); backdrop-filter: blur(10px); }
.zmx-global-dialog__inner { padding: 28px; }
.zmx-global-dialog__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.zmx-global-dialog__head h2 { margin: 0; font-size: clamp(1.8rem, 5vw, 2.7rem); line-height: 1; letter-spacing: -.045em; }
.zmx-global-dialog__close {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--zmx-shell-line) !important;
  border-radius: 50%;
  background: white;
  color: var(--zmx-shell-ink);
  font-size: 1.3rem !important;
}
.zmx-global-dialog__intro { color: #60726c; }
.zmx-global-direct {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 20px 0;
}
.zmx-global-direct a {
  display: grid;
  gap: 4px;
  padding: 16px;
  border: 1px solid var(--zmx-shell-line);
  border-radius: 16px;
  background: #f7f2e7;
  color: var(--zmx-shell-ink);
  text-decoration: none;
}
.zmx-global-direct span { color: #60726c; font-size: .8rem; }
.zmx-global-form { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.zmx-global-field { display: grid; gap: 7px; font-size: .83rem; font-weight: 800; }
.zmx-global-field--full { grid-column: 1 / -1; }
.zmx-global-field input,
.zmx-global-field textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  border: 1px solid var(--zmx-shell-line);
  border-radius: 13px;
  background: white;
  color: var(--zmx-shell-ink);
  font: inherit;
}
.zmx-global-field textarea { min-height: 98px; resize: vertical; }
.zmx-global-form__actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 13px; flex-wrap: wrap; }
.zmx-global-submit {
  min-height: 46px;
  padding: 13px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--zmx-shell-teal), #0f4d45);
  color: white;
}
.zmx-global-submit[disabled] { opacity: .58; cursor: wait; }
.zmx-global-form__status { min-height: 1.5em; margin: 0; color: #4e5f59; font-size: .83rem; }
.zmx-global-form__status[data-state="error"] { color: #9f2424; }
.zmx-global-form__status[data-state="success"] { color: #17664c; }
.zmx-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.zmx-contact-only-notice { display: grid; gap: .45rem; padding: 1rem 1.1rem; border: 1px solid rgba(23,103,93,.24); border-radius: 16px; background: #e7f2ee; color: #173f38; line-height: 1.5; }
.zmx-contact-only-notice strong { font-size: 1rem; }
.zmx-contact-only-notice span { color: #385b54; }
.zmx-contact-only-notice a { color: #0d665b; font-weight: 850; }
body[data-zmx-form-enabled="false"] form.zmx-form-disabled > :not(.zmx-contact-only-notice) { display: none !important; }
.zmx-managed-consent {
  grid-column: 1 / -1;
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  margin: 10px 0 4px;
  color: #41534d;
  font: 600 .78rem/1.45 Inter, ui-sans-serif, system-ui, sans-serif;
  text-align: left;
}
.zmx-managed-consent input {
  flex: 0 0 auto;
  width: 18px !important;
  height: 18px !important;
  min-height: 0 !important;
  margin: 1px 0 0 !important;
  accent-color: var(--zmx-shell-teal);
}

.zmx-global-mobile-panel { width: min(420px, calc(100% - 26px)); }
.zmx-global-mobile-links { display: grid; gap: 8px; margin-top: 22px; }
.zmx-global-mobile-links a,
.zmx-global-mobile-links button {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid var(--zmx-shell-line);
  border-radius: 14px;
  background: #f7f2e7;
  color: var(--zmx-shell-ink);
  font-size: 1rem;
  text-align: left;
  text-decoration: none;
}

.zmx-global-sticky {
  position: fixed;
  z-index: 850;
  left: 10px;
  right: 10px;
  bottom: 10px;
  display: none;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 999px;
  background: rgba(8, 41, 35, .95);
  box-shadow: 0 18px 45px rgba(0, 0, 0, .3);
  backdrop-filter: blur(12px);
  transform: translateY(140%);
  transition: transform .25s ease;
}
.zmx-global-sticky.is-visible { transform: translateY(0); }
.zmx-global-sticky button {
  width: 100%;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--zmx-shell-gold), #efd284);
  color: #15231f;
}

:where(.zmx-global-header, .zmx-global-footer, .zmx-global-dialog, .zmx-global-sticky) :focus-visible {
  outline: 3px solid var(--zmx-shell-focus) !important;
  outline-offset: 3px !important;
}

.zmx-managed-error {
  margin: 12px 0 0;
  padding: 12px 14px;
  border-left: 4px solid #b83131;
  border-radius: 10px;
  background: #fff1f1;
  color: #762020;
  font: 700 .86rem/1.45 Inter, ui-sans-serif, system-ui, sans-serif;
}

@media (max-width: 1040px) {
  .zmx-global-nav { display: none; }
  .zmx-global-menu { display: inline-flex; align-items: center; justify-content: center; }
  .zmx-global-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  body:has(.zmx-global-sticky) { padding-bottom: 78px; }
  .zmx-global-header__inner,
  .zmx-global-footer__inner { width: calc(100% - 28px); }
  .zmx-global-footer__grid { grid-template-columns: 1fr; }
  .zmx-global-footer__links :is(a, button) {
    min-width: 44px;
    min-height: 44px !important;
    display: inline-flex;
    align-items: center;
    padding-block: 10px;
    box-sizing: border-box;
  }
  .zmx-global-footer__bottom { display: grid; }
  .zmx-global-direct,
  .zmx-global-form { grid-template-columns: 1fr; }
  .zmx-global-field--full,
  .zmx-global-form__actions { grid-column: 1; }
  .zmx-global-dialog__inner { padding: 24px 18px; }
  .zmx-global-sticky { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* 2026-07-15 visual reconciliation: shared identity, full-bleed heroes and proof preview. */
.zmx-global-header__inner {
  min-height: 82px !important;
  height: auto !important;
  grid-template-columns: minmax(130px, 1fr) auto minmax(0, 1fr) !important;
}
.zmx-global-socials {
  grid-column: 1 !important;
  justify-self: start !important;
  display: flex !important;
  align-items: center !important;
  gap: 9px !important;
  width: auto !important;
  height: auto !important;
}
.zmx-global-socials a {
  width: 36px !important;
  height: 36px !important;
  display: grid !important;
  place-items: center !important;
  border: 1px solid rgba(16, 35, 32, .16);
  border-radius: 50%;
  background: rgba(255, 255, 255, .58);
  color: #173d37;
  text-decoration: none;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.zmx-global-socials a:hover { transform: translateY(-2px); border-color: rgba(31, 118, 106, .56); background: white; }
.zmx-global-socials svg { width: 17px !important; height: 17px !important; fill: none; stroke: currentColor; stroke-width: 1.8; }
.zmx-global-socials__dot { fill: currentColor; stroke: none; }
.zmx-global-socials__google { font: 900 .92rem/1 Arial, sans-serif; }
.zmx-google-outline {
  display: inline-grid;
  place-items: center;
  color: currentColor;
  font: 900 1rem/1 Arial, sans-serif;
}
.zmx-google-g {
  width: 18px;
  height: 18px;
  display: block;
  flex: 0 0 auto;
}
.zmx-global-header .zmx-global-brand {
  width: auto !important;
  height: auto !important;
}
.zmx-global-header .zmx-global-brand img {
  display: block;
  width: 150px !important;
  height: 70px !important;
  object-fit: contain !important;
  object-position: center !important;
  mix-blend-mode: multiply;
}
.zmx-global-footer__logo {
  width: min(220px, 100%);
  height: 92px;
  margin: 0 0 14px;
  border-radius: 14px;
  padding: 6px 10px;
  object-fit: contain;
  object-position: center;
  background: rgba(255, 253, 248, .96);
}

body[data-zmx-route="/"] { --zmx-hero-image: url("/assets/images/01_homepage_hero_commercial_property.webp"); --zmx-hero-position: center 46%; }
body[data-zmx-route="/solutions/"] { --zmx-hero-image: url("/assets/images/02_solutions_hero_asset.webp"); --zmx-hero-position: center 52%; }
body[data-zmx-route="/services/"] { --zmx-hero-image: url("/assets/images/03_services_hero_multi_trade.webp"); --zmx-hero-position: center 48%; }
body[data-zmx-route="/about/"] { --zmx-hero-image: url("/assets/images/04_about_hero_consultation.webp"); --zmx-hero-position: center 45%; }
body[data-zmx-route="/resources/"] { --zmx-hero-image: url("/assets/images/01_homepage_about_consultation.webp"); --zmx-hero-position: center 43%; }
body[data-zmx-route="/referrals/"] { --zmx-hero-image: url("/assets/images/06_referral_hero_warm_introduction.webp"); --zmx-hero-position: center 46%; }
body[data-zmx-route="/solutions/commercial-unit-income-upgrade/"] { --zmx-hero-image: url("/assets/images/07_income_upgrade_hero_units.webp"); --zmx-hero-position: center 52%; }
body[data-zmx-route="/solutions/rooflife/"] { --zmx-hero-image: url("/assets/images/08_rooflife_hero_inspection.webp"); --zmx-hero-position: center 48%; }
body[data-zmx-route="/solutions/solar-ready-roof-power/"] { --zmx-hero-image: url("/assets/images/09_solar_ready_hero.webp"); --zmx-hero-position: center 52%; }
body[data-zmx-route="/solutions/commercial-property-protection-plan/"] { --zmx-hero-image: url("/assets/images/10_protection_hero_property_review.webp"); --zmx-hero-position: center 45%; }
body[data-zmx-route="/services/commercial-electrical/"] { --zmx-hero-image: url("/assets/images/03_service_electrical.webp"); --zmx-hero-position: center 50%; }
body[data-zmx-route="/services/commercial-roofing/"] { --zmx-hero-image: url("/assets/images/03_service_roofing.webp"); --zmx-hero-position: center 48%; }
body[data-zmx-route="/services/renewables-ev-charging/"] { --zmx-hero-image: url("/assets/images/03_service_renewables_ev.webp"); --zmx-hero-position: center 50%; }

body[data-zmx-route] :is(main > .hero-wrap, main > .hero, main > .about-hero, main > .solution-hero, main > .service-hero),
body[data-zmx-route="/referrals/"] > header.hero {
  position: relative !important;
  min-height: max(660px, calc(100svh - 82px)) !important;
  display: grid !important;
  align-items: center !important;
  overflow: hidden !important;
  padding-top: clamp(74px, 10vh, 116px) !important;
  padding-bottom: clamp(74px, 10vh, 116px) !important;
  background-color: #082d28 !important;
  background-image:
    linear-gradient(90deg, rgba(4, 31, 28, .96) 0%, rgba(7, 48, 43, .88) 42%, rgba(7, 48, 43, .48) 69%, rgba(4, 31, 28, .22) 100%),
    var(--zmx-hero-image) !important;
  background-position: center, var(--zmx-hero-position, center) !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  color: white !important;
  isolation: isolate;
}
body[data-zmx-route] main > .hero-wrap > .hero { min-height: inherit !important; padding: 0 !important; background: none !important; }
body[data-zmx-route] :is(main > .hero-wrap, main > .hero, main > .about-hero, main > .solution-hero, main > .service-hero, header.hero)::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  z-index: 2;
  background: linear-gradient(90deg, transparent, rgba(215, 169, 79, .82), transparent);
}
body[data-zmx-route] :is(.hero-wrap, .hero, .about-hero, .solution-hero, .service-hero) :is(h1, h2) { color: #fff !important; text-shadow: 0 4px 28px rgba(0, 0, 0, .22); }
body[data-zmx-route] :is(.hero-wrap, .hero, .about-hero, .solution-hero, .service-hero) :is(p, .lead, .hero-copy, .about-hero-lead, .checkline, .hero-benefit) { color: rgba(255, 255, 255, .84) !important; }
body[data-zmx-route] :is(.hero-wrap, .hero, .about-hero, .solution-hero, .service-hero) :is(.eyebrow, .about-eyebrow, .card-kicker) { color: #f0ce79 !important; }
body[data-zmx-route] :is(.hero-wrap, .hero, .about-hero, .solution-hero, .service-hero) :is(.hero-grid, .hero-inner, .about-hero-inner) {
  position: relative !important;
  z-index: 3 !important;
  width: min(1240px, calc(100% - 40px)) !important;
  margin-inline: auto !important;
}
body[data-zmx-route] :is(.solution-hero, .service-hero) .hero-inner { grid-template-columns: minmax(0, 760px) !important; }
body[data-zmx-route] :is(.solution-hero, .service-hero) :is(.hero-image-panel, .hero-visual, .service-hero-visual) { display: none !important; }
body[data-zmx-route="/resources/"] .hero-image-wrap,
body[data-zmx-route="/about/"] .about-hero-bg { display: none !important; }
body[data-zmx-route="/resources/"] .hero-inner { grid-template-columns: minmax(0, 760px) !important; }
body[data-zmx-route="/solutions/"] .hero-grid { position: relative; grid-template-columns: minmax(0, 710px) minmax(260px, 1fr) !important; }
body[data-zmx-route="/solutions/"] .visual-card { align-self: end; border-color: rgba(255,255,255,.24) !important; background: rgba(8, 45, 40, .54) !important; backdrop-filter: blur(13px); }
body[data-zmx-route="/services/"] .hero-side,
body[data-zmx-route="/referrals/"] .hero-card,
body[data-zmx-route="/about/"] .about-hero-card {
  border: 1px solid rgba(255, 255, 255, .2) !important;
  background: rgba(8, 45, 40, .62) !important;
  box-shadow: 0 26px 70px rgba(0, 0, 0, .22) !important;
  backdrop-filter: blur(15px);
}
body[data-zmx-route="/referrals/"] .referral-image-frame { min-height: 390px; }
body[data-zmx-route="/referrals/"] .referral-image-frame > img { display: none; }
body[data-zmx-route="/referrals/"] .referral-image-label { inset: auto 18px 18px !important; }

/* More restrained status/tick styling than the earlier teal-to-gold gradients. */
body[data-zmx-route] :is(.trust-chip, .hero-pill, .hero-pills span, .chip, .solution-points span) {
  background: rgba(255, 255, 255, .1) !important;
  border-color: rgba(255, 255, 255, .2) !important;
  color: rgba(255, 255, 255, .9) !important;
  box-shadow: none !important;
}
body[data-zmx-route="/solutions/"] .solutions-grid { align-items: stretch; }
body[data-zmx-route="/solutions/"] .solution-card { display: grid !important; grid-template-rows: 1fr auto; }
body[data-zmx-route="/solutions/"] .solution-card .card-top { display: grid !important; grid-template-rows: auto minmax(3.2em, auto) minmax(7.4em, auto) 180px auto; align-content: start; }
body[data-zmx-route="/solutions/"] .solution-card .icon-scene { align-self: end; min-height: 180px; }
body[data-zmx-route="/solutions/"] .solution-card .solution-points { align-self: start; }
body[data-zmx-route="/solutions/"] .intro-box { background: #e7e4d8 !important; }
body[data-zmx-route="/solutions/"] .mini-step { background: #f9f7f0 !important; }
body[data-zmx-route="/solutions/"] .mini-step b { color: #17675d !important; }
body[data-zmx-route^="/solutions/"] .lead-box { background: #0d3b35 !important; color: #fff !important; }
body[data-zmx-route^="/solutions/"] .lead-box :is(p, strong, h2, h3) { color: #fff !important; }

#zmx-quick-contact { width: min(1040px, calc(100% - 30px)); max-height: calc(100svh - 34px); }
.zmx-contact-layout { display: grid; grid-template-columns: 1.08fr .92fr; min-height: min(720px, calc(100svh - 34px)); }
.zmx-contact-copy { padding: clamp(26px, 4vw, 44px); }
.zmx-contact-eyebrow { margin: 0 0 9px; color: #9b7836; font-size: .72rem; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.zmx-contact-call {
  display: grid;
  gap: 4px;
  margin: 22px 0 13px;
  padding: 18px 20px;
  border-radius: 18px;
  background: #0d3b35;
  color: white;
  text-decoration: none;
  box-shadow: 0 18px 36px rgba(13, 59, 53, .17);
}
.zmx-contact-call span, .zmx-contact-call small { color: rgba(255,255,255,.7); }
.zmx-contact-call span { font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.zmx-contact-call strong { font-size: 1.55rem; letter-spacing: -.035em; }
.zmx-contact-call small { font-size: .74rem; }
.zmx-global-direct { grid-template-columns: 1.16fr .84fr; margin: 0 0 20px; }
.zmx-global-direct > :is(a, div) { display: grid; gap: 4px; padding: 14px; border: 1px solid var(--zmx-shell-line); border-radius: 15px; background: #f7f2e7; color: var(--zmx-shell-ink); text-decoration: none; }
.zmx-global-direct strong { overflow-wrap: anywhere; font-size: .82rem; }
.zmx-contact-image { position: relative; min-height: 100%; margin: 0; overflow: hidden; background: #0d3b35; }
.zmx-contact-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(4, 31, 28, .84)); }
.zmx-contact-image img { width: 100%; height: 100%; min-height: 720px; display: block; object-fit: cover; }
.zmx-contact-image figcaption { position: absolute; z-index: 2; left: 26px; right: 26px; bottom: 25px; color: white; font: 750 .9rem/1.5 Inter, system-ui, sans-serif; }
.zmx-global-submit { background: #17675d; }

.zmx-proof-preview-note {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 22px;
  padding: 13px 16px;
  display: flex;
  gap: 10px 18px;
  align-items: center;
  flex-wrap: wrap;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 14px;
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.76);
  font: 650 .8rem/1.45 Inter, system-ui, sans-serif;
}
.zmx-proof-preview-note strong { color: #f0ce79; text-transform: uppercase; letter-spacing: .1em; font-size: .7rem; }
[data-proof-status="preview"].zmx-project-proof-v2 { background: #0a302c !important; }
[data-proof-status="preview"] .zmx-proof-v2-shell { background: rgba(255,255,255,.07) !important; }
[data-proof-status="preview"] .zmx-proof-v2-block { background: rgba(255,255,255,.08) !important; }

/* Keep every page-specific enquiry above the fixed header and inside the viewport. */
body[data-zmx-route] :is(.modal, .modal-overlay, .solution-modal, .income-modal, .electrical-modal, .service-modal)[aria-hidden="false"],
body[data-zmx-route] :is(.modal, .modal-overlay, .solution-modal, .income-modal, .electrical-modal, .service-modal).open {
  padding-top: 96px !important;
  padding-bottom: 24px !important;
  overflow-y: auto !important;
}
body[data-zmx-route] :is(.modal-card, .solution-modal-card, .income-modal-card, .electrical-modal-card, .service-modal-card) {
  max-height: calc(100svh - 120px) !important;
  overflow-y: auto !important;
  scroll-margin-top: 96px;
}

@media (max-width: 1040px) {
  .zmx-global-header__inner { grid-template-columns: 1fr auto 1fr; }
  body[data-zmx-route="/solutions/"] .hero-grid { grid-template-columns: minmax(0, 680px) !important; }
  body[data-zmx-route="/solutions/"] .visual-card { display: none !important; }
}

@media (max-width: 820px) {
  .zmx-global-socials { display: none !important; }
  .zmx-global-header .zmx-global-brand img { width: 132px !important; height: 66px !important; }
  body[data-zmx-route] :is(main > .hero-wrap, main > .hero, main > .about-hero, main > .solution-hero, main > .service-hero),
  body[data-zmx-route="/referrals/"] > header.hero {
    min-height: max(620px, calc(100svh - 82px)) !important;
    background-image: linear-gradient(90deg, rgba(4,31,28,.95), rgba(7,48,43,.68)), var(--zmx-hero-image) !important;
  }
  body[data-zmx-route] :is(.hero-grid, .hero-inner, .about-hero-inner) { grid-template-columns: 1fr !important; }
  body[data-zmx-route="/services/"] .hero-side,
  body[data-zmx-route="/referrals/"] .hero-card,
  body[data-zmx-route="/about/"] .about-hero-card { display: none !important; }
  .zmx-contact-layout { grid-template-columns: 1fr; min-height: 0; }
  .zmx-contact-image { display: none; }
}

@media (max-width: 620px) {
  body[data-zmx-route] :is(.hero-wrap, .hero, .about-hero, .solution-hero, .service-hero) :is(.hero-grid, .hero-inner, .about-hero-inner) { width: calc(100% - 28px) !important; }
  body[data-zmx-route] :is(main > .hero-wrap, main > .hero, main > .about-hero, main > .solution-hero, main > .service-hero),
  body[data-zmx-route="/referrals/"] > header.hero { padding-top: 68px !important; padding-bottom: 68px !important; }
  body[data-zmx-route="/solutions/"] .solution-card .card-top { grid-template-rows: auto auto auto 160px auto; }
  .zmx-global-direct { grid-template-columns: 1fr; }
  .zmx-contact-copy { padding: 24px 18px; }
  .zmx-proof-preview-note { width: calc(100% - 28px); }
}
