:root {
  --res-ink: #102520;
  --res-green: #0b443c;
  --res-green-deep: #072f2a;
  --res-cream: #f5efe0;
  --res-paper: #fffdf7;
  --res-gold: #e3bd62;
  --res-muted: #536760;
  --res-line: rgba(16, 37, 32, .16);
  --res-shadow: 0 24px 64px rgba(7, 47, 42, .13);
}

body[data-zmx-route^="/residential/"] { margin: 0; background: var(--res-paper); color: var(--res-ink); font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif; }
body[data-zmx-route^="/residential/"] *, body[data-zmx-route^="/residential/"] *::before, body[data-zmx-route^="/residential/"] *::after { box-sizing: border-box; }
body[data-zmx-route^="/residential/"] img { display: block; max-width: 100%; }
.zmx-res-container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.zmx-res-section { padding: clamp(68px, 8vw, 112px) 0; overflow: clip; }
.zmx-res-section--cream { background: var(--res-cream); }
.zmx-res-section--green { background: var(--res-green-deep); color: #fff; }
.zmx-res-section--green p, .zmx-res-section--green li { color: rgba(255,255,255,.78); }
.zmx-res-eyebrow { margin: 0 0 14px; color: #805b12; font-size: .76rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.zmx-res-section--green .zmx-res-eyebrow { color: var(--res-gold); }
.zmx-res-heading, .zmx-res-section-heading { max-width: 790px; margin-bottom: 38px; }
.zmx-res-heading h2, .zmx-res-section-heading h2 { max-width: 19ch; margin: 0; font-size: clamp(2rem, 4.6vw, 4.2rem); line-height: .99; letter-spacing: -.052em; }
.zmx-res-heading > p:last-child, .zmx-res-section-heading > p:last-child { max-width: 68ch; margin: 20px 0 0; color: var(--res-muted); font-size: 1.05rem; line-height: 1.72; }
.zmx-res-section--green .zmx-res-heading > p:last-child, .zmx-res-section--green .zmx-res-section-heading > p:last-child, .zmx-res-section--dark .zmx-res-section-heading > p:last-child { color: rgba(255,255,255,.76); }
.zmx-res-hero { position: relative; isolation: isolate; min-height: clamp(620px, 76vh, 820px); display: flex; align-items: end; overflow: clip; background: var(--res-green-deep); color: #fff; }
.zmx-res-hero::before { content: ""; position: absolute; inset: 0; z-index: -3; background-image: var(--zmx-res-hero-image); background-size: cover; background-position: var(--zmx-res-hero-position, center); }
.zmx-res-hero--brand::before { background: radial-gradient(circle at 82% 26%, rgba(227,189,98,.2), transparent 30%), linear-gradient(135deg, #0f5147, #062d29 68%); }
.zmx-res-hero__shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(4,26,24,.92) 0%, rgba(4,26,24,.72) 46%, rgba(4,26,24,.15) 78%), linear-gradient(0deg, rgba(4,26,24,.82), transparent 55%); }
.zmx-res-hero__inner { position: relative; display: grid; grid-template-columns: minmax(0, 730px) 1fr; gap: 40px; align-items: end; padding-block: clamp(82px, 11vw, 132px) 62px; }
.zmx-res-hero__copy { min-width: 0; }
.zmx-res-hero h1 { max-width: 14ch; margin: 0; font-size: clamp(3rem, 6.8vw, 6.35rem); line-height: .92; letter-spacing: -.065em; text-wrap: balance; overflow-wrap: anywhere; }
.zmx-res-hero__copy > p:not(.zmx-res-eyebrow):not(.zmx-res-hero__microcopy) { max-width: 65ch; margin: 24px 0 0; color: rgba(255,255,255,.86); font-size: clamp(1.02rem, 1.5vw, 1.2rem); line-height: 1.65; }
.zmx-res-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.zmx-res-button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid transparent; border-radius: 999px; padding: 0 22px; font: inherit; font-weight: 850; text-decoration: none; cursor: pointer; }
.zmx-res-button--gold { background: var(--res-gold); color: var(--res-ink); }
.zmx-res-button--outline { border-color: rgba(255,255,255,.5); background: transparent; color: #fff; }
.zmx-res-section:not(.zmx-res-section--green) .zmx-res-button--outline, .zmx-res-route-buttons .zmx-res-button--outline { border-color: var(--res-green); color: var(--res-green); }
.zmx-res-button:focus-visible, .zmx-res-card a:focus-visible, .zmx-res-faq summary:focus-visible { outline: 3px solid #fff; outline-offset: 4px; box-shadow: 0 0 0 6px var(--res-green); }
.zmx-res-hero__microcopy { max-width: 55ch; margin: 18px 0 0; color: rgba(255,255,255,.67); font-size: .84rem; line-height: 1.5; }
.zmx-res-concept-label { justify-self: end; max-width: 255px; margin: 0; border: 1px solid rgba(255,255,255,.34); border-radius: 14px; padding: 10px 13px; background: rgba(4,26,24,.72); color: #fff; font-size: .76rem; font-weight: 800; line-height: 1.4; backdrop-filter: blur(8px); }
.zmx-res-hero__brand-panel { justify-self: end; width: min(340px,100%); padding: 28px; border: 1px solid rgba(255,255,255,.2); border-radius: 24px; background: rgba(255,255,255,.08); }
.zmx-res-hero__brand-panel img { width: 210px; }
.zmx-res-hero__brand-panel p { margin: 20px 0 0; color: rgba(255,255,255,.75); line-height: 1.6; }
.zmx-res-trust { background: var(--res-gold); color: var(--res-ink); }
.zmx-res-trust .zmx-res-container { display: grid; grid-template-columns: repeat(3,1fr); }
.zmx-res-trust span { min-height: 68px; display: grid; place-items: center; padding: 14px 22px; text-align: center; font-size: .84rem; font-weight: 850; border-right: 1px solid rgba(16,37,32,.18); }
.zmx-res-trust span:last-child { border-right: 0; }
.zmx-res-card-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.zmx-res-card-grid--three { grid-template-columns: repeat(3,minmax(0,1fr)); }
.zmx-res-card { min-width: 0; border: 1px solid var(--res-line); border-radius: 24px; padding: clamp(24px, 3vw, 36px); background: var(--res-paper); box-shadow: 0 14px 36px rgba(7,47,42,.07); }
.zmx-res-section--green .zmx-res-card { border-color: rgba(255,255,255,.16); background: rgba(255,255,255,.07); }
.zmx-res-card h3 { margin: 0; font-size: clamp(1.22rem, 2.3vw, 1.65rem); line-height: 1.15; letter-spacing: -.025em; }
.zmx-res-card p { margin: 14px 0 0; color: var(--res-muted); line-height: 1.68; }
.zmx-res-card a { display: inline-flex; margin-top: 22px; color: var(--res-green); font-weight: 850; text-underline-offset: 4px; }
.zmx-res-split { display: grid; grid-template-columns: minmax(0,1fr) minmax(320px,.88fr); gap: clamp(38px,7vw,90px); align-items: start; }
.zmx-res-split .zmx-res-heading { margin-bottom: 0; }
.zmx-res-checklist, .zmx-res-check-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 15px; }
.zmx-res-checklist li, .zmx-res-check-list li { position: relative; padding: 0 0 0 30px; color: var(--res-muted); line-height: 1.6; }
.zmx-res-checklist li::before, .zmx-res-check-list li::before { content: ""; position: absolute; left: 0; top: .42em; width: 15px; height: 15px; border-radius: 50%; background: var(--res-gold); box-shadow: inset 0 0 0 4px var(--res-green); }
.zmx-res-faq-layout { display: grid; grid-template-columns: minmax(260px,.65fr) minmax(0,1fr); gap: clamp(40px,7vw,90px); align-items: start; }
.zmx-res-faq { display: grid; gap: 10px; }
.zmx-res-faq details { border-bottom: 1px solid var(--res-line); padding: 0 0 10px; }
.zmx-res-faq summary { cursor: pointer; padding: 16px 32px 16px 0; font-weight: 850; line-height: 1.4; }
.zmx-res-faq details p { margin: 0 0 14px; color: var(--res-muted); line-height: 1.68; }
.zmx-res-section--green .zmx-res-faq details { border-color: rgba(255,255,255,.2); }
.zmx-res-section--green .zmx-res-faq details p { color: rgba(255,255,255,.75); }
.zmx-res-final, .zmx-res-final-cta { padding: clamp(72px,9vw,118px) 0; background: var(--res-green); color: #fff; }
.zmx-res-final__inner, .zmx-res-final-cta > .zmx-res-container { display: grid; grid-template-columns: 1fr auto; gap: 38px; align-items: end; }
.zmx-res-final h2, .zmx-res-final-cta h2 { max-width: 18ch; margin: 0; font-size: clamp(2.1rem,5vw,4.7rem); line-height: .98; letter-spacing: -.055em; }
.zmx-res-final p, .zmx-res-final-cta p { max-width: 62ch; color: rgba(255,255,255,.75); line-height: 1.7; }
.zmx-res-image-card, .zmx-res-illustration { position: relative; min-height: 420px; overflow: hidden; border-radius: 28px; box-shadow: var(--res-shadow); margin: 0; }
.zmx-res-image-card img, .zmx-res-illustration img { width: 100%; height: 100%; object-fit: cover; object-position: var(--zmx-res-image-position, center); }
.zmx-res-image-card figcaption, .zmx-res-illustration figcaption { position: absolute; inset: auto 14px 14px; border-radius: 12px; padding: 10px 13px; background: rgba(4,26,24,.82); color: #fff; font-size: .76rem; font-weight: 800; }
.zmx-res-route-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.zmx-res-large-copy { margin: 0; font-size: clamp(1.2rem,2.2vw,1.55rem); line-height: 1.62; }
.zmx-res-caution, .zmx-res-message, .zmx-res-brand-story, .zmx-res-guide-gate { border: 1px solid var(--res-line); border-radius: 24px; padding: 28px; background: var(--res-paper); color: var(--res-ink); box-shadow: 0 14px 36px rgba(7,47,42,.07); }
.zmx-res-brand-story img { width: 220px; }
.zmx-res-brand-story p, .zmx-res-message p, .zmx-res-caution p, .zmx-res-guide-gate p { color: var(--res-muted); line-height: 1.65; }
.zmx-res-dependency { border-left: 4px solid var(--res-gold); padding-left: 18px; }
.zmx-res-section--dark { background: #102520; color: #fff; }
.zmx-res-section--dark p, .zmx-res-section--dark li { color: rgba(255,255,255,.76); }
.zmx-res-process { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.zmx-res-process li { border: 1px solid rgba(255,255,255,.16); border-radius: 22px; padding: 26px; background: rgba(255,255,255,.06); }
.zmx-res-process li > span, .zmx-res-card__number { display: block; margin-bottom: 14px; color: #9a7019; font-size: .74rem; font-weight: 900; letter-spacing: .13em; }
.zmx-res-process strong { font-size: 1.25rem; }
.zmx-res-process p { line-height: 1.62; }
.zmx-res-card__label { color: #805b12 !important; font-size: .76rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.zmx-res-text-link { display: inline-flex; margin-top: 22px; color: var(--res-green); font-weight: 850; text-underline-offset: 4px; }
.zmx-res-caution--gold { border-color: rgba(227,189,98,.72); background: #fbf1d6; }
.zmx-res-contact-line { color: #fff; font-weight: 850; text-underline-offset: 4px; }
.zmx-res-guide-gate { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.zmx-res-guide-gate button { min-height: 48px; border: 0; border-radius: 999px; padding: 0 20px; background: #d9d5ca; color: #625f56; font-weight: 850; }
.zmx-res-guide-gate__note { grid-column: 1/-1; margin: 0; font-size: .84rem; }
.zmx-res-inline-gate { border-left: 4px solid var(--res-gold); padding-left: 18px; color: var(--res-muted); }
.zmx-res-filter { display: flex; flex-wrap: wrap; gap: 10px; }
.zmx-res-dialog { width: min(920px,calc(100% - 24px)); max-height: calc(100vh - 24px); border: 0; border-radius: 26px; padding: 0; background: var(--res-paper); color: var(--res-ink); box-shadow: 0 30px 100px rgba(4,26,24,.4); }
.zmx-res-dialog::backdrop { background: rgba(3,24,21,.78); }
.zmx-res-dialog__panel { padding: clamp(22px,4vw,42px); overflow: auto; max-height: calc(100vh - 24px); }
.zmx-res-dialog__head { display: flex; justify-content: space-between; gap: 24px; align-items: start; }
.zmx-res-dialog__head h2 { margin: 0; font-size: clamp(1.8rem,4vw,3.1rem); letter-spacing: -.045em; }
.zmx-res-dialog__head p { color: var(--res-muted); line-height: 1.6; }
.zmx-res-dialog__head button { width: 44px; height: 44px; flex: none; border: 1px solid var(--res-line); border-radius: 50%; background: #fff; font-size: 1.7rem; cursor: pointer; }
.zmx-res-form { margin-top: 28px; }
.zmx-res-form-note { color: var(--res-muted); }
.zmx-res-field-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.zmx-res-field-grid label, .zmx-res-contact-method { min-width: 0; display: grid; gap: 8px; margin: 0; border: 0; padding: 0; font-weight: 750; }
.zmx-res-field-grid input, .zmx-res-field-grid select, .zmx-res-field-grid textarea { width: 100%; min-height: 48px; border: 1px solid #aab8b2; border-radius: 10px; padding: 11px 12px; background: #fff; color: var(--res-ink); font: inherit; }
.zmx-res-field-grid textarea { min-height: 120px; resize: vertical; }
.zmx-res-field--full, .zmx-res-contact-method { grid-column: 1 / -1; }
.zmx-res-contact-method { border: 1px solid var(--res-line); border-radius: 14px; padding: 16px; grid-template-columns: repeat(2,minmax(0,1fr)); }
.zmx-res-contact-method legend { padding: 0 8px; font-weight: 850; }
.zmx-res-contact-method > p { grid-column: 1/-1; margin: 0; color: var(--res-muted); font-weight: 500; }
.zmx-res-consent { grid-template-columns: auto 1fr !important; align-items: start; }
.zmx-res-consent input { width: 20px; min-height: 20px; margin: 3px 0 0; }
.zmx-res-form__actions { display: flex; align-items: center; gap: 18px; margin-top: 24px; }
.zmx-res-form__status { margin: 0; color: #9c2f24; font-weight: 800; }
.zmx-res-form__gate { margin: 18px 0 0; border-left: 4px solid var(--res-gold); padding: 12px 16px; background: var(--res-cream); color: var(--res-muted); line-height: 1.55; }
.zmx-required-mark { color: #b82920; }

@media (max-width: 900px) {
  .zmx-res-hero__inner, .zmx-res-split, .zmx-res-faq-layout { grid-template-columns: 1fr; }
  .zmx-res-hero__inner { padding-top: 112px; }
  .zmx-res-concept-label, .zmx-res-hero__brand-panel { justify-self: start; }
  .zmx-res-card-grid--three { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .zmx-res-final__inner, .zmx-res-final-cta > .zmx-res-container { grid-template-columns: 1fr; align-items: start; }
  .zmx-res-process { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .zmx-res-container { width: min(100% - 28px,1180px); }
  .zmx-res-section { padding: 60px 0; }
  .zmx-res-hero { min-height: 680px; }
  .zmx-res-hero__inner { gap: 24px; padding: 112px 0 42px; }
  .zmx-res-hero h1 { max-width: 100%; font-size: clamp(2.65rem,13vw,4rem); line-height: .94; letter-spacing: -.055em; overflow-wrap: normal; word-break: normal; }
  .zmx-res-hero__shade { background: linear-gradient(0deg,rgba(4,26,24,.95) 0%,rgba(4,26,24,.76) 66%,rgba(4,26,24,.28)); }
  .zmx-res-trust .zmx-res-container { grid-template-columns: 1fr; }
  .zmx-res-trust span { min-height: 52px; border-right: 0; border-bottom: 1px solid rgba(16,37,32,.18); }
  .zmx-res-trust span:last-child { border-bottom: 0; }
  .zmx-res-card-grid, .zmx-res-card-grid--three, .zmx-res-field-grid, .zmx-res-contact-method { grid-template-columns: 1fr; }
  .zmx-res-contact-method > * { grid-column: 1; }
  .zmx-res-card { padding: 24px; }
  .zmx-res-actions, .zmx-res-route-buttons, .zmx-res-form__actions { align-items: stretch; flex-direction: column; }
  .zmx-res-button { width: 100%; }
  .zmx-res-image-card, .zmx-res-illustration { min-height: 300px; margin-inline: 0; }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; } }

/* Commercial + Residential Visual Refinement R1 */
body[data-zmx-route^="/residential/"] { overflow-x: clip; }
.zmx-res-hero { min-height: clamp(610px, 74vh, 790px); }
.zmx-res-hero h1 {
  max-width: 16ch;
  font-size: clamp(3.2rem, 4.7vw, 4.625rem);
  line-height: .96;
  letter-spacing: -.055em;
  overflow-wrap: normal;
}
.zmx-res-hero--long-title h1 { max-width: 18ch; font-size: clamp(3rem, 4.25vw, 4.2rem); }
.zmx-res-concept-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: none;
  border-color: rgba(255,255,255,.22);
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(4,26,24,.56);
  color: rgba(255,255,255,.82);
  font-size: .68rem;
  font-weight: 750;
  letter-spacing: .02em;
}
.zmx-res-image-card figcaption, .zmx-res-illustration figcaption {
  inset: auto auto 12px 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: auto;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(4,26,24,.66);
  color: rgba(255,255,255,.86);
  font-size: .68rem;
  font-weight: 750;
}

.zmx-res-section:not(.zmx-res-section--cream):not(.zmx-res-section--green):not(.zmx-res-section--dark) {
  background: linear-gradient(145deg, #fffdf7 0%, #fbf7ec 100%);
}
.zmx-res-section:nth-of-type(4n+2):not(.zmx-res-section--cream):not(.zmx-res-section--green):not(.zmx-res-section--dark) {
  background: linear-gradient(145deg, #f8f3e6 0%, #fffdf8 72%);
}
.zmx-res-card {
  position: relative;
  overflow: hidden;
  border-color: rgba(11,68,60,.18);
  background: linear-gradient(155deg, #fffefb 0%, #f8f2e3 100%);
  box-shadow: 0 16px 38px rgba(7,47,42,.09);
}
.zmx-res-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--res-gold), #bf8d25);
}
.zmx-res-card:nth-child(3n+2) { background: linear-gradient(155deg, #edf5f1 0%, #fffdf8 86%); }
.zmx-res-card:nth-child(3n+2)::before { background: linear-gradient(90deg, #1f7a6b, #76a69b); }
.zmx-res-card:nth-child(3n+3) { background: linear-gradient(155deg, #fbf2d9 0%, #fffdf8 86%); }
.zmx-res-section--green .zmx-res-card,
.zmx-res-section--dark .zmx-res-card {
  border-color: rgba(255,255,255,.16);
  background: linear-gradient(145deg, rgba(255,255,255,.1), rgba(255,255,255,.045));
}

.zmx-res-benefit-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}
.zmx-res-benefit-pills li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  border: 1px solid rgba(227,189,98,.35);
  border-radius: 999px;
  padding: 8px 14px;
  background: rgba(255,255,255,.08);
  color: inherit;
  font-size: .84rem;
  font-weight: 800;
}
.zmx-res-benefit-pills li > span {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  background: var(--res-gold);
  color: var(--res-ink);
  font-size: .72rem;
}
.zmx-res-section--cream .zmx-res-benefit-pills li,
.zmx-res-area-layout .zmx-res-benefit-pills li {
  border-color: rgba(11,68,60,.2);
  background: rgba(255,255,255,.72);
  color: var(--res-green-deep);
}

.zmx-res-home-paths { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
.zmx-res-home-path {
  min-width: 0;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 28px;
  padding: clamp(28px,4vw,46px);
  background: radial-gradient(circle at 90% 10%, rgba(227,189,98,.14), transparent 36%), rgba(255,255,255,.055);
}
.zmx-res-home-path--guides { background: radial-gradient(circle at 90% 10%, rgba(94,168,151,.19), transparent 38%), rgba(255,255,255,.055); }
.zmx-res-home-path .zmx-res-section-heading { margin-bottom: 26px; }
.zmx-res-home-path .zmx-res-section-heading h2 { font-size: clamp(2rem,3.4vw,3.25rem); }
.zmx-res-home-path .zmx-res-button--outline { border-color: rgba(255,255,255,.62); color: #fff; }

.zmx-res-area-layout { display: grid; grid-template-columns: minmax(0,.85fr) minmax(360px,1fr); gap: clamp(36px,6vw,76px); align-items: start; }
.zmx-res-area-layout .zmx-res-section-heading { margin-bottom: 24px; }
.zmx-res-area-layout .zmx-res-benefit-pills { margin-top: 24px; }

.zmx-res-filter {
  flex-wrap: nowrap;
  width: 100%;
  margin: 0 0 30px;
  padding: 4px 2px 10px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
}
.zmx-res-filter a {
  flex: 0 0 auto;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(11,68,60,.22);
  border-radius: 999px;
  padding: 9px 15px;
  background: linear-gradient(180deg,#fffefb,#f3ead6);
  color: var(--res-green-deep);
  font-size: .82rem;
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(7,47,42,.07);
}
.zmx-res-filter a:hover { border-color: var(--res-green); background: #edf5f1; }
.zmx-res-filter a:focus-visible,
.zmx-res-review-heading a:focus-visible,
.zmx-res-review-viewport:focus-visible,
.zmx-res-contact-line:focus-visible {
  outline: 3px solid var(--res-gold);
  outline-offset: 4px;
}

.zmx-res-process li { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .zmx-res-process li { animation: zmx-res-rise .65s cubic-bezier(.2,.75,.25,1) both; }
  .zmx-res-process li:nth-child(2) { animation-delay: .14s; }
  .zmx-res-process li:nth-child(3) { animation-delay: .28s; }
  @keyframes zmx-res-rise {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

.zmx-res-review-section {
  padding: clamp(72px,8vw,108px) 0;
  overflow: hidden;
  background: linear-gradient(145deg,#e9f2ee,#fffaf0 68%);
}
.zmx-res-review-heading { display: flex; justify-content: space-between; gap: 34px; align-items: end; margin-bottom: 34px; }
.zmx-res-review-heading h2 { max-width: 15ch; margin: 0; font-size: clamp(2.2rem,4.5vw,4.1rem); line-height: .98; letter-spacing: -.052em; }
.zmx-res-review-heading > div > p:last-child { max-width: 62ch; color: var(--res-muted); line-height: 1.65; }
.zmx-res-review-heading > a {
  flex: none;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(11,68,60,.2);
  border-radius: 999px;
  padding: 10px 17px;
  background: #fff;
  color: var(--res-green-deep);
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(7,47,42,.1);
}
.zmx-res-review-heading > a svg { width: 22px; height: 22px; }
.zmx-res-review-heading > a > span { color: #c68e18; letter-spacing: .06em; }
.zmx-res-review-viewport { overflow: hidden; padding: 6px 0 20px; }
.zmx-res-review-track { display: flex; width: max-content; gap: 18px; animation: zmx-res-review-loop 52s linear infinite; }
.zmx-res-review-viewport:hover .zmx-res-review-track,
.zmx-res-review-viewport:focus .zmx-res-review-track,
.zmx-res-review-viewport:focus-within .zmx-res-review-track { animation-play-state: paused; }
.zmx-res-review-card {
  flex: 0 0 min(360px,calc(100vw - 54px));
  min-height: 250px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(11,68,60,.17);
  border-radius: 24px;
  padding: 28px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 16px 38px rgba(7,47,42,.09);
}
.zmx-res-review-stars { margin: 0; color: #c58d18; letter-spacing: .09em; }
.zmx-res-review-card blockquote { margin: 22px 0 28px; color: var(--res-ink); font-size: 1.08rem; font-weight: 680; line-height: 1.58; }
.zmx-res-review-card footer { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-top: auto; }
.zmx-res-review-card cite { font-style: normal; font-weight: 900; }
.zmx-res-review-card footer span { display: inline-flex; align-items: center; gap: 6px; color: var(--res-muted); font-size: .76rem; }
.zmx-res-review-card footer svg { width: 17px; height: 17px; }
@keyframes zmx-res-review-loop { to { transform: translateX(calc(-50% - 9px)); } }

.zmx-res-final-cta { padding: clamp(52px,7vw,82px) 0; background: #062f2a; }
.zmx-res-final-cta > .zmx-res-container {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 30px;
  padding: clamp(30px,5vw,56px);
  background: radial-gradient(circle at 92% 0%,rgba(227,189,98,.25),transparent 34%), linear-gradient(135deg,#10594d,#082f2a 70%);
  box-shadow: 0 24px 58px rgba(0,0,0,.22);
}
.zmx-res-final-cta h2 { font-size: clamp(2.25rem,4.6vw,4.25rem); }

@media (max-width: 900px) {
  .zmx-res-area-layout { grid-template-columns: 1fr; }
  .zmx-res-review-heading { align-items: start; flex-direction: column; }
  .zmx-res-home-paths { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .zmx-res-hero { min-height: 620px; }
  .zmx-res-hero h1 { font-size: clamp(2.375rem,10vw,2.625rem); line-height: .98; letter-spacing: -.045em; }
  .zmx-res-hero--long-title h1 { font-size: clamp(2.2rem,9.4vw,2.45rem); }
  .zmx-res-concept-label { justify-self: start; }
  .zmx-res-benefit-pills { display: grid; grid-template-columns: 1fr; }
  .zmx-res-review-heading > a { width: 100%; justify-content: center; }
  .zmx-res-review-card { min-height: 235px; padding: 24px; }
  .zmx-res-final-cta > .zmx-res-container { border-radius: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .zmx-res-review-viewport { overflow-x: auto; scrollbar-width: thin; }
  .zmx-res-review-track { animation: none !important; }
  .zmx-res-review-card--clone { display: none; }
  .zmx-res-process li { opacity: 1 !important; transform: none !important; }
}

/* .81 Residential conversion and visual-consistency refinements. */
.zmx-res-container:not(.zmx-res-split):not(.zmx-res-faq-layout):not(.zmx-res-area-layout) > .zmx-res-section-heading {
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
}
.zmx-res-card-grid { align-items: stretch; }
.zmx-res-card { display: flex; min-height: 100%; flex-direction: column; }
.zmx-res-card > :is(.zmx-res-text-link, a) { margin-top: auto; padding-top: 22px; }
.zmx-res-card-grid--three .zmx-res-card h3 { min-height: 2.3em; }
.zmx-res-card-grid--three .zmx-res-card > p:not(.zmx-res-card__label) { flex: 1; }
.zmx-res-guide-gate__status { display: inline-flex; align-items: center; gap: 9px; }
.zmx-res-guide-gate__status::before {
  content: "✓";
  width: 25px;
  height: 25px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #d2a653;
  color: #102320;
  font-weight: 950;
}
.zmx-res-final-cta .zmx-res-actions { display: grid; grid-template-columns: 1fr; align-content: end; }
.zmx-res-final-cta .zmx-res-contact-line { width: fit-content; min-height: 44px; display: inline-flex; align-items: center; color: #fff; font-weight: 850; }
.zmx-res-hero-proof { max-width: min(560px, 100%); text-decoration: none; }
.zmx-res-hero-proof q { display: block; margin-top: 5px; color: rgba(255,255,255,.88); font-size: .76rem; font-weight: 650; line-height: 1.35; }
.zmx-res-hero-proof small { color: rgba(255,255,255,.68); font-size: .68rem; }
.zmx-res-featured-offer > .zmx-res-container > div { padding: clamp(28px,5vw,54px); border-radius: 28px; background: #0d3b35; color: #fff; }
.zmx-res-featured-offer__price { color: #efd284 !important; font-size: clamp(2rem,5vw,4rem); font-weight: 950; }

@media (max-width: 620px) {
  .zmx-res-card-grid--three .zmx-res-card h3 { min-height: 0; }
  .zmx-res-container:not(.zmx-res-split):not(.zmx-res-faq-layout):not(.zmx-res-area-layout) > .zmx-res-section-heading { text-align: left; }
}

/* Commercial + Residential Visual Refinement R4: Residential component system. */
body[data-zmx-route^="/residential/"] {
  --res-dark-copy: rgba(255, 255, 255, .88);
  --res-dark-muted: rgba(255, 255, 255, .74);
  --res-radius-card: 24px;
  --res-radius-panel: 30px;
}

/* Replace the uninterrupted gold hero band with one contained reassurance module. */
.zmx-res-trust {
  padding: 18px 0 20px;
  background: linear-gradient(180deg, #f4ead3 0%, #fbf7ed 100%);
  color: var(--res-ink);
}
.zmx-res-trust .zmx-res-container {
  width: min(1040px, calc(100% - 40px));
  gap: 10px;
}
.zmx-res-trust .zmx-res-trust__item {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  border: 1px solid rgba(11, 68, 60, .16);
  border-radius: 16px;
  padding: 11px 15px;
  background: rgba(255, 253, 247, .92);
  font-size: .8rem;
  line-height: 1.35;
  text-align: left;
  box-shadow: 0 8px 22px rgba(7, 47, 42, .06);
}
.zmx-res-trust .zmx-res-trust__item--2 { background: #eef5f1; }
.zmx-res-trust .zmx-res-trust__item--3 { background: #fbf2dc; }
.zmx-res-trust__item i {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--res-green);
  color: #fff;
  font-size: .72rem;
  font-style: normal;
}

/* Hero proof and purposeful supporting panels for image-free routes. */
.zmx-res-hero-proof {
  width: fit-content;
  max-width: 100%;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-top: 22px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 999px;
  padding: 7px 15px 7px 8px;
  background: rgba(5, 38, 34, .66);
  color: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .18);
  backdrop-filter: blur(10px);
}
.zmx-res-hero-proof .zmx-google-outline {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: #1f6cd8;
  font-size: 1.05rem;
  font-weight: 950;
}
.zmx-res-hero-proof > div { display: grid; gap: 1px; }
.zmx-res-hero-proof > div > span { color: #f0c760; font-size: .78rem; letter-spacing: .08em; line-height: 1; }
.zmx-res-hero-proof strong { font-size: .76rem; line-height: 1.25; }

.zmx-res-support-panel {
  justify-self: end;
  width: min(390px, 100%);
  display: grid;
  gap: 9px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: var(--res-radius-card);
  padding: 16px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .055));
  color: #fff;
  box-shadow: 0 22px 54px rgba(0, 0, 0, .2);
  backdrop-filter: blur(12px);
}
.zmx-res-support-panel > div {
  min-height: 48px;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 14px;
  padding: 9px 11px;
  background: rgba(5, 43, 38, .44);
}
.zmx-res-support-panel span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--res-gold);
  color: var(--res-ink);
  font-size: .76rem;
}
.zmx-res-support-panel strong { font-size: .84rem; line-height: 1.35; }

/* Image-led transformation and service routes. */
.zmx-res-visual-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.zmx-res-visual-strip a {
  position: relative;
  min-width: 0;
  min-height: 330px;
  overflow: hidden;
  border: 1px solid rgba(11, 68, 60, .16);
  border-radius: var(--res-radius-card);
  background: var(--res-green-deep);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 18px 44px rgba(7, 47, 42, .13);
}
.zmx-res-visual-strip a::after {
  content: "";
  position: absolute;
  inset: 38% 0 0;
  background: linear-gradient(0deg, rgba(4, 31, 27, .94), rgba(4, 31, 27, 0));
  pointer-events: none;
}
.zmx-res-visual-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.zmx-res-visual-strip a > span {
  position: absolute;
  z-index: 1;
  inset: auto 20px 20px;
  font-size: clamp(1.08rem, 2vw, 1.38rem);
  font-weight: 900;
  line-height: 1.16;
}

.zmx-res-service-tiles { display: grid; gap: 20px; }
.zmx-res-service-tiles > article {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(260px, .88fr) minmax(0, 1.12fr);
  overflow: hidden;
  border: 1px solid rgba(11, 68, 60, .17);
  border-radius: var(--res-radius-panel);
  background: #fffdf8;
  box-shadow: 0 18px 46px rgba(7, 47, 42, .1);
}
.zmx-res-service-tiles > article:nth-child(even) { grid-template-columns: minmax(0, 1.12fr) minmax(260px, .88fr); }
.zmx-res-service-tiles > article:nth-child(even) img { order: 2; }
.zmx-res-service-tiles img {
  width: 100%;
  height: 100%;
  min-height: 285px;
  object-fit: cover;
}
.zmx-res-service-tiles article > div {
  align-self: center;
  padding: clamp(28px, 4.5vw, 52px);
}
.zmx-res-service-tiles h3 { margin: 8px 0 0; font-size: clamp(1.55rem, 3vw, 2.5rem); line-height: 1.05; letter-spacing: -.04em; }
.zmx-res-service-tiles article > div > p:not(.zmx-res-card__label) { margin: 16px 0 0; color: var(--res-muted); line-height: 1.68; }

/* A code-native alternative to unsupported technical or project photography. */
.zmx-res-system {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  border: 1px solid rgba(11, 68, 60, .17);
  border-radius: var(--res-radius-panel);
  padding: clamp(22px, 4vw, 38px);
  background: linear-gradient(135deg, #fffdf8, #edf5f1 58%, #f8edcf);
  box-shadow: 0 18px 44px rgba(7, 47, 42, .09);
}
.zmx-res-system > div {
  min-height: 118px;
  display: grid;
  align-content: center;
  gap: 11px;
  border: 1px solid rgba(11, 68, 60, .15);
  border-radius: 18px;
  padding: 20px;
  background: rgba(255, 255, 255, .78);
}
.zmx-res-system > div > span { color: #8a651c; font-size: .72rem; font-weight: 950; letter-spacing: .14em; }
.zmx-res-system strong { font-size: clamp(1rem, 2vw, 1.25rem); line-height: 1.3; }
.zmx-res-system > i { color: var(--res-green); font-size: 1.4rem; font-style: normal; font-weight: 950; }

/* Guides: branded topic controls, quieter availability and mobile-safe cards. */
.zmx-res-section--guides {
  padding-top: clamp(58px, 6vw, 84px);
  background: radial-gradient(circle at 92% 4%, rgba(227, 189, 98, .24), transparent 26%), linear-gradient(145deg, #fffdf7, #edf5f1 72%);
}
.zmx-res-filter {
  position: relative;
  scroll-snap-type: x proximity;
  scrollbar-color: var(--res-gold) rgba(11, 68, 60, .08);
}
.zmx-res-filter a { scroll-snap-align: start; }
.zmx-res-filter a[aria-current="page"] {
  border-color: var(--res-green);
  background: var(--res-green);
  color: #fff;
  box-shadow: 0 10px 24px rgba(7, 47, 42, .18);
}
.zmx-res-guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.zmx-res-guide-card {
  min-width: 0;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 17px;
  align-items: start;
  border: 1px solid rgba(11, 68, 60, .16);
  border-radius: var(--res-radius-card);
  padding: 25px;
  background: rgba(255, 253, 248, .9);
  box-shadow: 0 14px 34px rgba(7, 47, 42, .075);
}
.zmx-res-guide-card:nth-child(3n + 2) { background: rgba(238, 245, 241, .92); }
.zmx-res-guide-card:nth-child(3n + 3) { background: rgba(251, 242, 220, .94); }
.zmx-res-guide-card > .zmx-res-card__number {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: var(--res-green);
  color: #fff;
}
.zmx-res-guide-card h3 { margin: 6px 0 0; font-size: clamp(1.2rem, 2.2vw, 1.55rem); line-height: 1.18; }
.zmx-res-guide-card p:not(.zmx-res-card__label) { margin: 12px 0 0; color: var(--res-muted); line-height: 1.62; }
.zmx-res-guide-card small { display: block; margin-top: 17px; color: #667871; font-size: .74rem; font-weight: 750; }
.zmx-res-guide-gate {
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  padding: clamp(24px, 4vw, 34px);
}
.zmx-res-guide-gate h2 { margin: 4px 0 0; font-size: clamp(1.45rem, 3vw, 2.25rem); line-height: 1.08; letter-spacing: -.035em; }
.zmx-res-guide-gate__status {
  width: fit-content;
  margin: 2px 0 0 !important;
  border-top: 1px solid rgba(11, 68, 60, .18);
  padding-top: 12px;
  color: #667871 !important;
  font-size: .76rem;
  font-weight: 800;
}
.zmx-res-guide-gate__note { grid-column: 1; color: #667871 !important; }

/* Restrained dark sections: richer depth without turning every section into a gradient. */
.zmx-res-section--green {
  background-color: #062f2a;
  background-image: radial-gradient(circle at 88% 8%, rgba(227, 189, 98, .12), transparent 31%), linear-gradient(145deg, #0b4c43 0%, #062f2a 72%);
}
.zmx-res-section--dark {
  background-color: #0b211d;
  background-image: linear-gradient(145deg, #102d28, #0b211d 72%);
}
.zmx-res-section--green :is(p, li),
.zmx-res-section--dark :is(p, li),
.zmx-res-section--green .zmx-res-card p,
.zmx-res-section--dark .zmx-res-card p { color: var(--res-dark-muted); }
.zmx-res-section--green :is(h2, h3, strong),
.zmx-res-section--dark :is(h2, h3, strong) { color: #fff; }
.zmx-res-section--green .zmx-res-text-link,
.zmx-res-section--dark .zmx-res-text-link { color: #f0ce79; }
.zmx-res-section.zmx-res-section--green .zmx-res-button--outline,
.zmx-res-section.zmx-res-section--dark .zmx-res-button--outline {
  border-color: rgba(255,255,255,.62);
  color: #fff;
}
.zmx-res-section--green .zmx-res-faq details p,
.zmx-res-section--dark .zmx-res-faq details p { color: var(--res-dark-muted); }
.zmx-res-section--green .zmx-res-message p,
.zmx-res-section--dark .zmx-res-message p { color: var(--res-muted); }
.zmx-res-section--green .zmx-res-check-list li::before,
.zmx-res-section--dark .zmx-res-check-list li::before { box-shadow: inset 0 0 0 4px #0d5b50; }

/* Keep long-form utility pages purposeful but materially tighter. */
body[data-zmx-route="/residential/about/"] .zmx-res-section,
body[data-zmx-route="/residential/guides/"] .zmx-res-section,
body[data-zmx-route="/residential/referrals/"] .zmx-res-section {
  padding-block: clamp(56px, 6.3vw, 86px);
}
.zmx-res-section--about-intro,
.zmx-res-section--referral-intro { background: linear-gradient(145deg, #fffdf8 0%, #f2ead8 100%); }
.zmx-res-section--about-intro .zmx-res-support-panel,
.zmx-res-section--referral-intro .zmx-res-support-panel {
  color: #fff;
  border-color: rgba(11, 68, 60, .16);
  background: linear-gradient(145deg, #0e554b, #082f2a);
}

/* One technical component with controlled, page-relevant final CTA treatments. */
.zmx-res-final-cta { position: relative; overflow: hidden; }
.zmx-res-final-cta > .zmx-res-container {
  isolation: isolate;
  background: radial-gradient(circle at 92% 0%, rgba(227, 189, 98, .2), transparent 34%), linear-gradient(135deg, #10594d, #082f2a 70%);
}
.zmx-res-final-cta > .zmx-res-container::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  border-radius: inherit;
  background: var(--zmx-res-final-image) center / cover no-repeat;
  opacity: 0;
}
.zmx-res-final-cta > .zmx-res-container::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: transparent;
  pointer-events: none;
}
.zmx-res-final-cta--green-gold > .zmx-res-container {
  background: radial-gradient(circle at 88% 6%, rgba(227, 189, 98, .34), transparent 32%), linear-gradient(135deg, #0c5147, #59461d 145%);
}
.zmx-res-final-cta--dark > .zmx-res-container { background: linear-gradient(135deg, #112d28, #071d1a); }
.zmx-res-final-cta--guide > .zmx-res-container {
  border-color: rgba(227, 189, 98, .34);
  background: radial-gradient(circle at 88% 0%, rgba(227, 189, 98, .2), transparent 34%), linear-gradient(135deg, #133f37, #092722);
}
.zmx-res-final-cta--image > .zmx-res-container::before,
.zmx-res-final-cta--image-warm > .zmx-res-container::before,
.zmx-res-final-cta--image-teal > .zmx-res-container::before { opacity: 1; }
.zmx-res-final-cta--image > .zmx-res-container::after { background: linear-gradient(90deg, rgba(5, 35, 31, .96), rgba(5, 35, 31, .78) 58%, rgba(5, 35, 31, .34)); }
.zmx-res-final-cta--image-warm > .zmx-res-container::after { background: linear-gradient(90deg, rgba(34, 29, 18, .94), rgba(45, 37, 20, .72) 60%, rgba(45, 37, 20, .3)); }
.zmx-res-final-cta--image-teal > .zmx-res-container::after { background: linear-gradient(90deg, rgba(4, 40, 37, .96), rgba(7, 70, 63, .72) 60%, rgba(7, 70, 63, .28)); }
.zmx-res-final-cta .zmx-res-actions { justify-items: start; }

/* Focus remains visible on every newly introduced interactive surface. */
.zmx-res-visual-strip a:focus-visible,
.zmx-res-service-tiles a:focus-visible,
.zmx-res-filter a:focus-visible,
.zmx-res-text-link:focus-visible,
.zmx-res-route-buttons a:focus-visible,
.zmx-res-contact-line:focus-visible {
  outline: 3px solid var(--res-gold);
  outline-offset: 4px;
  box-shadow: 0 0 0 7px rgba(7, 47, 42, .5);
}

@media (max-width: 900px) {
  .zmx-res-support-panel { justify-self: start; }
  .zmx-res-service-tiles > article,
  .zmx-res-service-tiles > article:nth-child(even) { grid-template-columns: minmax(220px, .8fr) minmax(0, 1.2fr); }
  .zmx-res-service-tiles > article:nth-child(even) img { order: 0; }
  .zmx-res-system { grid-template-columns: 1fr; }
  .zmx-res-system > i { transform: rotate(90deg); justify-self: center; }
}

@media (max-width: 620px) {
  .zmx-res-trust { padding: 13px 0 15px; }
  .zmx-res-trust .zmx-res-container { width: min(100% - 28px, 1040px); gap: 8px; }
  .zmx-res-trust .zmx-res-trust__item {
    min-height: 46px;
    border-bottom: 1px solid rgba(11, 68, 60, .16);
    padding: 8px 12px;
    font-size: .76rem;
  }
  .zmx-res-trust__item i { width: 22px; height: 22px; flex-basis: 22px; }
  .zmx-res-hero-proof { margin-top: 18px; }
  .zmx-res-support-panel { width: 100%; padding: 11px; }
  .zmx-res-support-panel > div { min-height: 43px; padding: 7px 9px; }
  .zmx-res-visual-strip { grid-template-columns: 1fr; gap: 12px; }
  .zmx-res-visual-strip a { min-height: 245px; }
  .zmx-res-service-tiles > article,
  .zmx-res-service-tiles > article:nth-child(even) { grid-template-columns: 1fr; border-radius: 22px; }
  .zmx-res-service-tiles img { min-height: 220px; max-height: 250px; }
  .zmx-res-service-tiles article > div { padding: 25px 23px 28px; }
  .zmx-res-system { gap: 9px; border-radius: 22px; padding: 16px; }
  .zmx-res-system > div { min-height: 88px; padding: 16px; }
  .zmx-res-filter {
    margin-inline: -2px;
    padding-right: 36px;
    -webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 26px), transparent 100%);
    mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 26px), transparent 100%);
  }
  .zmx-res-guide-grid { grid-template-columns: 1fr; gap: 12px; }
  .zmx-res-guide-card { grid-template-columns: 40px minmax(0, 1fr); gap: 13px; padding: 20px; }
  .zmx-res-guide-card > .zmx-res-card__number { width: 40px; height: 40px; border-radius: 12px; }
  .zmx-res-guide-gate { padding: 23px 21px; }
  .zmx-res-final-cta .zmx-res-actions { width: 100%; margin-top: 22px; }
  .zmx-res-final-cta .zmx-res-contact-line { align-self: center; }
  body[data-zmx-route="/residential/about/"] .zmx-res-section,
  body[data-zmx-route="/residential/guides/"] .zmx-res-section,
  body[data-zmx-route="/residential/referrals/"] .zmx-res-section { padding-block: 52px; }
}

@media (max-width: 380px) {
  .zmx-res-container { width: min(100% - 24px, 1180px); }
  .zmx-res-trust .zmx-res-container { width: min(100% - 24px, 1040px); }
  .zmx-res-guide-card { padding: 18px; }
  .zmx-res-filter a { padding-inline: 13px; }
}

@media (prefers-reduced-motion: no-preference) {
  .zmx-res-visual-strip img,
  .zmx-res-service-tiles img { transition: transform .45s cubic-bezier(.2, .7, .25, 1); }
  .zmx-res-visual-strip a:hover img,
  .zmx-res-service-tiles article:hover img { transform: scale(1.025); }
}

@media (prefers-reduced-motion: reduce) {
  .zmx-res-visual-strip img,
  .zmx-res-service-tiles img { transform: none !important; transition: none !important; }
}

/* .83 consolidated owner-feedback closeout. */
body[data-zmx-audience="residential"] .zmx-res-section-heading > h2,
body[data-zmx-audience="residential"] .zmx-res-section-heading > p:last-child {
  margin-inline: auto;
}
body[data-zmx-audience="residential"] .zmx-res-split .zmx-res-section-heading > h2,
body[data-zmx-audience="residential"] .zmx-res-split .zmx-res-section-heading > p:last-child,
body[data-zmx-audience="residential"] .zmx-res-faq-layout .zmx-res-section-heading > h2,
body[data-zmx-audience="residential"] .zmx-res-faq-layout .zmx-res-section-heading > p:last-child {
  margin-inline: 0;
}

body[data-zmx-audience="residential"] .zmx-res-hero-checklist {
  align-self: end;
  justify-self: end;
  width: min(410px, 100%);
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 24px;
  padding: 22px;
  background: linear-gradient(145deg, rgba(255,250,238,.96), rgba(232,220,190,.94));
  color: var(--res-ink);
  text-decoration: none;
  box-shadow: 0 24px 60px rgba(0,0,0,.24);
  backdrop-filter: blur(12px);
}
body[data-zmx-audience="residential"] .zmx-res-hero-checklist__mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--res-green);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 950;
}
body[data-zmx-audience="residential"] .zmx-res-hero-checklist > span:nth-child(2) { min-width: 0; display: grid; gap: 7px; }
body[data-zmx-audience="residential"] .zmx-res-hero-checklist small { color: #8d6518; font-size: .7rem; font-weight: 950; letter-spacing: .12em; text-transform: uppercase; }
body[data-zmx-audience="residential"] .zmx-res-hero-checklist strong { font-size: clamp(1.2rem, 2.1vw, 1.65rem); line-height: 1.08; letter-spacing: -.03em; }
body[data-zmx-audience="residential"] .zmx-res-hero-checklist em { color: #4f645d; font-size: .82rem; font-style: normal; line-height: 1.52; }
body[data-zmx-audience="residential"] .zmx-res-hero-checklist b { grid-column: 2; color: var(--res-green); font-size: .78rem; text-decoration: underline; text-underline-offset: 4px; }
body[data-zmx-audience="residential"] .zmx-res-hero-checklist:focus-visible { outline: 3px solid var(--res-gold); outline-offset: 5px; }

body[data-zmx-audience="residential"] .zmx-res-service-tiles__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: auto;
  padding-top: 24px;
}
body[data-zmx-audience="residential"] .zmx-res-service-tiles__actions .zmx-res-button { min-height: 46px; padding-inline: 18px; font-size: .82rem; }
body[data-zmx-audience="residential"] .zmx-res-service-tiles__actions .zmx-res-text-link { margin-top: 0; padding: 11px 2px; }

body[data-zmx-audience="residential"] .zmx-res-final-cta {
  isolation: isolate;
  min-height: clamp(520px, 62vw, 700px);
  display: flex;
  align-items: center;
  padding: clamp(82px, 10vw, 140px) 0;
  background: #062f2a;
}
body[data-zmx-audience="residential"] .zmx-res-final-cta--with-image::before,
body[data-zmx-audience="residential"] .zmx-res-final-cta--with-image::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
body[data-zmx-audience="residential"] .zmx-res-final-cta--with-image::before {
  z-index: -2;
  background: var(--zmx-res-final-image) var(--zmx-res-final-position, center) / cover no-repeat;
}
body[data-zmx-audience="residential"] .zmx-res-final-cta--with-image::after {
  z-index: -1;
  background: linear-gradient(90deg, rgba(4,31,28,.93), rgba(5,48,43,.75) 52%, rgba(5,35,31,.58));
}
body[data-zmx-audience="residential"] .zmx-res-final-cta--image-warm::after { background: linear-gradient(90deg, rgba(31,26,17,.94), rgba(45,37,20,.74) 54%, rgba(28,31,24,.58)); }
body[data-zmx-audience="residential"] .zmx-res-final-cta--image-teal::after { background: linear-gradient(90deg, rgba(4,37,34,.94), rgba(7,69,62,.72) 54%, rgba(5,38,34,.56)); }
body[data-zmx-audience="residential"] .zmx-res-final-cta > .zmx-res-container {
  min-height: 0;
  grid-template-columns: minmax(0, 900px);
  justify-content: center;
  justify-items: center;
  gap: 30px;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  text-align: center;
}
body[data-zmx-audience="residential"] .zmx-res-final-cta > .zmx-res-container::before,
body[data-zmx-audience="residential"] .zmx-res-final-cta > .zmx-res-container::after { display: none; }
body[data-zmx-audience="residential"] .zmx-res-final-cta h2,
body[data-zmx-audience="residential"] .zmx-res-final-cta p { margin-inline: auto; }
body[data-zmx-audience="residential"] .zmx-res-final-cta .zmx-res-actions {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  justify-self: center;
  justify-items: center;
  align-items: center;
  margin-top: 0;
}
body[data-zmx-audience="residential"] .zmx-res-final-cta .zmx-res-contact-line { align-self: center; }

@media (max-width: 900px) {
  body[data-zmx-audience="residential"] .zmx-res-hero-checklist { align-self: start; justify-self: start; }
}

@media (max-width: 620px) {
  body[data-zmx-audience="residential"] .zmx-res-hero-checklist { border-radius: 20px; padding: 18px; }
  body[data-zmx-audience="residential"] .zmx-res-service-tiles__actions { align-items: stretch; flex-direction: column; }
  body[data-zmx-audience="residential"] .zmx-res-service-tiles__actions .zmx-res-button,
  body[data-zmx-audience="residential"] .zmx-res-service-tiles__actions .zmx-res-text-link { width: 100%; justify-content: center; text-align: center; }
  body[data-zmx-audience="residential"] .zmx-res-final-cta { min-height: 600px; padding-block: 88px; }
  body[data-zmx-audience="residential"] .zmx-res-final-cta .zmx-res-actions { align-items: stretch; flex-direction: column; }
}

/* .83 final visual-consistency and image-completion layer. */
body[data-zmx-audience="residential"] .zmx-res-section-heading {
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
}
body[data-zmx-audience="residential"] .zmx-res-split > .zmx-res-section-heading,
body[data-zmx-audience="residential"] .zmx-res-split > div > .zmx-res-section-heading,
body[data-zmx-audience="residential"] .zmx-res-faq-layout > .zmx-res-section-heading {
  max-width: none;
  margin-inline: 0;
  text-align: left;
}

body[data-zmx-audience="residential"] .zmx-res-planning-visual {
  position: relative;
  isolation: isolate;
  align-self: stretch;
  justify-self: end;
  width: min(430px, 100%);
  min-height: 310px;
  display: grid;
  align-content: space-between;
  gap: 28px;
  overflow: hidden;
  border: 1px solid rgba(11, 68, 60, .18);
  border-radius: 28px;
  padding: clamp(24px, 3vw, 34px);
  background:
    radial-gradient(circle at 86% 12%, rgba(227, 189, 98, .34), transparent 28%),
    linear-gradient(145deg, #fffdf8 0%, #ece3cf 100%);
  color: #123b35;
  box-shadow: 0 22px 54px rgba(7, 47, 42, .13);
}
body[data-zmx-audience="residential"] .zmx-res-planning-visual::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 17% 10% 18%;
  border: 1px solid rgba(11, 68, 60, .12);
  border-radius: 50%;
  transform: rotate(-12deg);
}
body[data-zmx-audience="residential"] .zmx-res-planning-visual > p {
  margin: 0;
  color: #7b5a17;
  font-size: .74rem;
  font-weight: 950;
  letter-spacing: .14em;
  text-transform: uppercase;
}
body[data-zmx-audience="residential"] .zmx-res-planning-visual > div { display: grid; gap: 12px; }
body[data-zmx-audience="residential"] .zmx-res-planning-visual span {
  min-height: 56px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 13px;
  align-items: center;
  border-top: 1px solid rgba(11, 68, 60, .16);
  padding-top: 12px;
}
body[data-zmx-audience="residential"] .zmx-res-planning-visual i {
  color: #a4741d;
  font-size: 1.18rem;
  font-style: normal;
  font-weight: 950;
  letter-spacing: -.03em;
}
body[data-zmx-audience="residential"] .zmx-res-planning-visual strong { line-height: 1.35; }
body[data-zmx-audience="residential"] .zmx-res-planning-visual--dark,
body[data-zmx-audience="residential"] .zmx-res-planning-visual--hero {
  border-color: rgba(255, 255, 255, .2);
  background:
    radial-gradient(circle at 86% 12%, rgba(227, 189, 98, .26), transparent 30%),
    linear-gradient(145deg, rgba(10, 77, 68, .96), rgba(5, 39, 35, .96));
  color: #fff;
}
body[data-zmx-audience="residential"] .zmx-res-planning-visual--dark::before,
body[data-zmx-audience="residential"] .zmx-res-planning-visual--hero::before,
body[data-zmx-audience="residential"] .zmx-res-planning-visual--dark span,
body[data-zmx-audience="residential"] .zmx-res-planning-visual--hero span { border-color: rgba(255, 255, 255, .16); }
body[data-zmx-audience="residential"] .zmx-res-planning-visual--dark > p,
body[data-zmx-audience="residential"] .zmx-res-planning-visual--hero > p,
body[data-zmx-audience="residential"] .zmx-res-planning-visual--dark i,
body[data-zmx-audience="residential"] .zmx-res-planning-visual--hero i { color: #f0c760; }
body[data-zmx-audience="residential"] .zmx-res-planning-visual--hero {
  min-height: 270px;
  background: linear-gradient(145deg, rgba(8, 63, 56, .72), rgba(4, 30, 27, .82));
  backdrop-filter: blur(12px);
}

/* One horizontal reassurance group; the numbered markers avoid competing tick sets. */
body[data-zmx-audience="residential"] .zmx-res-trust__item i {
  width: auto;
  height: auto;
  flex: 0 0 auto;
  border-radius: 0;
  background: transparent;
  color: #946815;
  font-size: .78rem;
  font-weight: 950;
  letter-spacing: .08em;
}

/* Process numbers are simple gold typography, not three boxed cards. */
body[data-zmx-audience="residential"] .zmx-res-process { gap: 0; }
body[data-zmx-audience="residential"] .zmx-res-process li {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 19px;
  border: 0;
  border-radius: 0;
  padding: 26px clamp(22px, 3vw, 38px);
  background: transparent;
}
body[data-zmx-audience="residential"] .zmx-res-process li + li { border-left: 1px solid rgba(255, 255, 255, .2); }
body[data-zmx-audience="residential"] .zmx-res-process li > span {
  margin: -3px 0 0;
  color: #f0c760;
  font-size: clamp(2rem, 3vw, 3.25rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.08em;
}
body[data-zmx-audience="residential"] .zmx-res-process li > div { min-width: 0; }

/* Image-led routes: strong hierarchy on desktop and a compact swipeable rhythm on phones. */
body[data-zmx-route="/residential/"] .zmx-res-service-tiles {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
body[data-zmx-route="/residential/"] .zmx-res-service-tiles > article,
body[data-zmx-route="/residential/"] .zmx-res-service-tiles > article:nth-child(even) {
  grid-template-columns: 1fr;
  grid-template-rows: 230px minmax(0, 1fr);
}
body[data-zmx-route="/residential/"] .zmx-res-service-tiles > article:nth-child(even) img { order: 0; }
body[data-zmx-route="/residential/"] .zmx-res-service-tiles img { min-height: 230px; max-height: 230px; }
body[data-zmx-route="/residential/"] .zmx-res-service-tiles article > div { display: flex; flex-direction: column; }
body[data-zmx-route="/residential/"] .zmx-res-service-tiles article > div > a { margin-top: auto; }

/* Cream information surfaces and deep-green action surfaces retain clear contrast. */
body[data-zmx-audience="residential"] .zmx-res-section:not(.zmx-res-section--cream):not(.zmx-res-section--green):not(.zmx-res-section--dark) .zmx-res-card {
  background: linear-gradient(155deg, #fffdf8, #f6f0e3);
}
body[data-zmx-audience="residential"] .zmx-res-guide-gate { background: linear-gradient(145deg, #fffdf8, #f0e6d1); }

/* Every Residential final CTA is a real image-backed destination using an accepted illustrative asset. */
body[data-zmx-audience="residential"] .zmx-res-final-cta--with-image > .zmx-res-container::before { opacity: 1; }
body[data-zmx-audience="residential"] .zmx-res-final-cta--with-image > .zmx-res-container::after {
  background: linear-gradient(90deg, rgba(5, 35, 31, .96), rgba(5, 35, 31, .77) 58%, rgba(5, 35, 31, .3));
}
body[data-zmx-audience="residential"] .zmx-res-final-cta > .zmx-res-container { min-height: 390px; align-items: center; }
body[data-zmx-audience="residential"] .zmx-res-final-cta .zmx-res-actions { justify-self: end; }

/* Residential footer identity: larger centred mark without a competing backing tile. */
body[data-zmx-audience="residential"] .zmx-global-footer__identity {
  align-items: center !important;
  border: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  text-align: center !important;
}
body[data-zmx-audience="residential"] .zmx-global-footer__logo {
  width: min(276px, 100%) !important;
  height: 112px !important;
  margin: 0 auto 16px !important;
  border: 0 !important;
  box-shadow: none !important;
  object-position: center !important;
}
body[data-zmx-audience="residential"] .zmx-global-footer__identity .zmx-global-audience-selector { margin-inline: auto !important; }

@media (max-width: 900px) {
  body[data-zmx-audience="residential"] .zmx-res-planning-visual { justify-self: start; }
  body[data-zmx-audience="residential"] .zmx-res-process { grid-template-columns: 1fr; }
  body[data-zmx-audience="residential"] .zmx-res-process li + li { border-top: 1px solid rgba(255, 255, 255, .2); border-left: 0; }
  body[data-zmx-route="/residential/"] .zmx-res-service-tiles { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  body[data-zmx-audience="residential"] .zmx-res-planning-visual { min-height: 270px; border-radius: 22px; }
  body[data-zmx-audience="residential"] .zmx-res-process li { padding: 23px 4px; }
  body[data-zmx-route="/residential/"] .zmx-res-service-tiles {
    grid-auto-flow: column;
    grid-auto-columns: min(84vw, 350px);
    grid-template-columns: none;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    padding: 2px 4px 18px;
  }
  body[data-zmx-route="/residential/"] .zmx-res-service-tiles > article { scroll-snap-align: start; }
  body[data-zmx-audience="residential"] .zmx-res-final-cta > .zmx-res-container { min-height: 460px; }
  body[data-zmx-audience="residential"] .zmx-res-final-cta .zmx-res-actions { justify-self: stretch; }
}

/* .83 definitive owner-closeout cascade: this terminal block must stay last. */
body[data-zmx-audience="residential"] .zmx-res-process > li > span {
  width: auto !important;
  height: auto !important;
  margin: -3px 0 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  color: #f0c760 !important;
  box-shadow: none !important;
}
body[data-zmx-audience="residential"] .zmx-res-final-cta > .zmx-res-container {
  min-height: 0 !important;
  grid-template-columns: minmax(0, 900px) !important;
  justify-content: center !important;
  justify-items: center !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  text-align: center !important;
}
body[data-zmx-audience="residential"] .zmx-res-final-cta .zmx-res-actions {
  width: 100% !important;
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  justify-self: center !important;
  justify-items: center !important;
  align-items: center !important;
  margin-top: 0 !important;
}
body[data-zmx-audience="residential"] .zmx-res-process-section--with-image {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
body[data-zmx-audience="residential"] .zmx-res-process-section--with-image::before,
body[data-zmx-audience="residential"] .zmx-res-process-section--with-image::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
body[data-zmx-audience="residential"] .zmx-res-process-section--with-image::before {
  z-index: -2;
  background: var(--zmx-res-process-image) var(--zmx-res-process-position, center) / cover no-repeat;
}
body[data-zmx-audience="residential"] .zmx-res-process-section--with-image::after {
  z-index: -1;
  background: linear-gradient(90deg, rgba(4, 32, 29, .96), rgba(5, 48, 43, .9) 52%, rgba(4, 31, 28, .82));
}
body[data-zmx-audience="residential"] .zmx-res-process-section--with-image > .zmx-res-container {
  position: relative;
  z-index: 1;
}
@media (max-width: 620px) {
  body[data-zmx-audience="residential"] .zmx-res-section-heading {
    margin-inline: auto !important;
    text-align: center !important;
  }
  body[data-zmx-audience="residential"] .zmx-res-section-heading > h2,
  body[data-zmx-audience="residential"] .zmx-res-section-heading > p:last-child {
    margin-inline: auto !important;
  }
  body[data-zmx-audience="residential"] .zmx-res-split > .zmx-res-section-heading,
  body[data-zmx-audience="residential"] .zmx-res-split > div > .zmx-res-section-heading,
  body[data-zmx-audience="residential"] .zmx-res-faq-layout > .zmx-res-section-heading {
    margin-inline: 0 !important;
    text-align: left !important;
  }
  body[data-zmx-audience="residential"] .zmx-res-split > .zmx-res-section-heading > h2,
  body[data-zmx-audience="residential"] .zmx-res-split > .zmx-res-section-heading > p:last-child,
  body[data-zmx-audience="residential"] .zmx-res-split > div > .zmx-res-section-heading > h2,
  body[data-zmx-audience="residential"] .zmx-res-split > div > .zmx-res-section-heading > p:last-child,
  body[data-zmx-audience="residential"] .zmx-res-faq-layout > .zmx-res-section-heading > h2,
  body[data-zmx-audience="residential"] .zmx-res-faq-layout > .zmx-res-section-heading > p:last-child {
    margin-inline: 0 !important;
  }
  body[data-zmx-audience="residential"] .zmx-res-final-cta .zmx-res-actions {
    align-items: stretch !important;
    flex-direction: column !important;
  }
}

/* Correction-1: DOT83-QA-CONTRAST-001 — only the formerly failing hero label needs a dark-context override. */
body[data-zmx-audience="residential"] .zmx-res-hero .zmx-res-eyebrow { color: #f0c760; }

/* .84 literal owner brief: intentional non-photographic process rhythm and
   honest code-native brand/story treatment where no real team image exists. */
body[data-zmx-audience="residential"] .zmx-res-process-section--typographic {
  background:
    radial-gradient(circle at 82% 18%, rgba(210, 166, 83, .16), transparent 34%),
    linear-gradient(135deg, #062f2a, #041f1c) !important;
}
body[data-zmx-audience="residential"] .zmx-res-process-section--typographic::before,
body[data-zmx-audience="residential"] .zmx-res-process-section--typographic::after {
  content: none !important;
  display: none !important;
  background-image: none !important;
}
body[data-zmx-audience="residential"] .zmx-res-decision-note {
  margin-top: 26px;
  padding: 22px 0 0;
  border-top: 1px solid rgba(10, 77, 68, .2);
}
body[data-zmx-audience="residential"] .zmx-res-decision-note h3 {
  margin: 0 0 9px;
  color: var(--res-green);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}
body[data-zmx-audience="residential"] .zmx-res-decision-note p { margin: 0; color: var(--res-muted); line-height: 1.65; }
body[data-zmx-audience="residential"] .zmx-res-brand-story {
  min-height: 300px;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 22px;
  overflow: hidden;
  border-color: rgba(210, 166, 83, .42);
  background:
    radial-gradient(circle at 84% 12%, rgba(210, 166, 83, .26), transparent 34%),
    linear-gradient(145deg, #0d4f47, #062f2a);
  color: #fff;
  text-align: center;
}
body[data-zmx-audience="residential"] .zmx-res-brand-story img {
  width: min(236px, 76%);
  max-height: 132px;
  object-fit: contain;
  filter: none;
}
body[data-zmx-audience="residential"] .zmx-res-brand-story p {
  max-width: 35ch;
  margin: 0;
  color: rgba(255, 255, 255, .84);
}

/* .84 literal card rhythm: image-led white cards sit on a visibly tinted
   band, while the neighbouring information grid returns to plain paper. */
body[data-zmx-route="/residential/"] .zmx-res-section:has(.zmx-res-service-tiles),
body[data-zmx-route="/residential/transformations/"] #transformations,
body[data-zmx-route="/residential/services/"] #services {
  background: linear-gradient(145deg, #e8efe9 0%, #eee2cc 100%) !important;
}
body[data-zmx-route="/residential/"] .zmx-res-section--cream:has(.zmx-res-card-grid) {
  background: linear-gradient(145deg, #fffdf7 0%, #fbf7ec 100%) !important;
}

body[data-zmx-audience="residential"] .zmx-res-trust__item i {
  width: 23px !important;
  height: 23px !important;
  display: inline-grid !important;
  place-items: center !important;
  flex: 0 0 23px !important;
  border: 1px solid rgba(10, 77, 68, .34) !important;
  border-radius: 6px !important;
  background: #fffaf0 !important;
  color: #0a4d44 !important;
  font-size: .8rem !important;
  font-weight: 950 !important;
  line-height: 1 !important;
}

/* .84 keeps Hassan's desktop bottom-right action in document flow, directly
   after the complete three-check reassurance row, so it remains useful without
   covering the checklist or any reassurance item. Compact navigation retains
   the existing floating action instead. */
body[data-zmx-audience="residential"] .zmx-res-desktop-quick-action { display: none; }
@media (min-width: 821px) {
  body[data-zmx-audience="residential"] .zmx-res-desktop-quick-action {
    grid-column: 1 / -1;
    display: flex;
    justify-content: flex-end;
    padding-top: 2px;
  }
  body[data-zmx-audience="residential"] .zmx-res-desktop-quick-action__button {
    min-width: 230px;
    border-color: transparent;
    background: #17675d;
    color: #fff;
    box-shadow: 0 10px 24px rgba(7, 47, 42, .16);
  }
}

/* .85 literal Commercial-parity hero: proof and reassurance stay compact,
   separate and inside the hero instead of becoming detached page sections. */
body[data-zmx-audience="residential"] .zmx-res-hero__inner {
  grid-template-columns: minmax(0, 820px);
  align-items: end;
}
body[data-zmx-audience="residential"] .zmx-res-hero__copy { max-width: 820px; }
body[data-zmx-audience="residential"] .zmx-res-hero-checklist-line {
  margin: 22px 0 0 !important;
  font-size: .84rem !important;
  font-weight: 850;
  line-height: 1.4 !important;
}
body[data-zmx-audience="residential"] .zmx-res-hero-checklist-line a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
}
body[data-zmx-audience="residential"] .zmx-res-hero-checklist-line span { color: #f0c760; font-size: 1rem; }
body[data-zmx-audience="residential"] .zmx-res-hero-proof-row {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 10px;
  max-width: 660px;
  margin-top: 12px;
}
body[data-zmx-audience="residential"] :is(.zmx-res-hero-google-proof, .zmx-res-hero-review-proof) {
  min-height: 52px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 14px;
  background: rgba(4, 30, 27, .68);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(4, 26, 24, .14);
}
body[data-zmx-audience="residential"] .zmx-res-hero-google-proof {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
}
body[data-zmx-audience="residential"] .zmx-res-hero-google-proof .zmx-google-g { width: 20px; height: 20px; flex: 0 0 20px; }
body[data-zmx-audience="residential"] .zmx-res-hero-google-proof > span { color: #f0c760; font-size: .78rem; letter-spacing: .06em; }
body[data-zmx-audience="residential"] .zmx-res-hero-review-proof { display: grid; gap: 3px; padding: 9px 13px; }
body[data-zmx-audience="residential"] .zmx-res-hero-review-proof__quote { font-size: .78rem; font-weight: 750; line-height: 1.35; }
body[data-zmx-audience="residential"] .zmx-res-hero-review-proof__meta { color: rgba(255, 255, 255, .7); font-size: .67rem; font-weight: 750; }
body[data-zmx-audience="residential"] .zmx-res-hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
body[data-zmx-audience="residential"] .zmx-res-hero-pills > span {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  background: rgba(4, 30, 27, .58);
  color: #fff;
  font-size: .74rem;
  font-weight: 800;
}
body[data-zmx-audience="residential"] .zmx-res-hero-pills i { color: #f0c760; font-style: normal; font-weight: 950; }

/* True ticks replace the former gold-dot treatment in semantic benefit pills. */
body[data-zmx-audience="residential"] .zmx-res-benefit-pills li > span {
  width: auto;
  height: auto;
  display: inline;
  border-radius: 0;
  background: transparent;
  color: #f0c760;
  font-size: .88rem;
  font-weight: 950;
}
body[data-zmx-audience="residential"] .zmx-res-section--cream .zmx-res-benefit-pills li > span,
body[data-zmx-audience="residential"] .zmx-res-area-layout .zmx-res-benefit-pills li > span { color: var(--res-green); }

/* Equal-height card bodies place related transform/service actions on one line. */
body[data-zmx-audience="residential"] .zmx-res-service-tiles article > div {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
body[data-zmx-audience="residential"] .zmx-res-service-tiles__actions { margin-top: auto; }
@media (min-width: 901px) {
  body[data-zmx-route="/residential/"] .zmx-res-service-tiles__actions {
    align-items: flex-start;
    flex-flow: column nowrap;
  }
}

body[data-zmx-audience="residential"] .zmx-res-editorial-visual-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: stretch;
}
body[data-zmx-audience="residential"] .zmx-res-editorial-visual-grid .zmx-res-illustration { min-height: 100%; }

@media (max-width: 900px) {
  body[data-zmx-audience="residential"] .zmx-res-editorial-visual-grid { grid-template-columns: 1fr; }
  body[data-zmx-audience="residential"] .zmx-res-editorial-visual-grid .zmx-res-illustration { min-height: 340px; }
}

@media (max-width: 620px) {
  body[data-zmx-audience="residential"] .zmx-res-hero-proof-row { grid-template-columns: 1fr; }
  body[data-zmx-audience="residential"] .zmx-res-hero-google-proof {
    width: 100%;
    justify-content: center;
  }
  body[data-zmx-audience="residential"] .zmx-res-hero-review-proof { width: 100%; }
  body[data-zmx-audience="residential"] .zmx-res-hero-pills {
    align-items: center;
    flex-flow: row wrap;
  }
  body[data-zmx-audience="residential"] .zmx-res-hero-pills > span {
    width: auto;
    min-height: 34px;
    border-color: rgba(16, 37, 32, .15);
    background: #fff4dd;
    color: #102520;
  }
body[data-zmx-audience="residential"] .zmx-res-hero-pills i { color: #1f766a; }
}

/* .86 owner-review alignment and guide parity. */
body[data-zmx-audience="residential"] :is(.zmx-res-button, .zmx-res-text-link, .zmx-dot82-button) {
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease, color .18s ease;
}
@media (hover: hover) and (pointer: fine) {
  body[data-zmx-audience="residential"] :is(.zmx-res-button, .zmx-res-text-link, .zmx-dot82-button):hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(7,47,42,.16);
  }
  body[data-zmx-audience="residential"] .zmx-res-button--gold:hover { background: #e2bf6b; }
  body[data-zmx-audience="residential"] .zmx-res-button--outline:hover { background: rgba(31,118,106,.08); }
}
@media (prefers-reduced-motion: reduce) {
  body[data-zmx-audience="residential"] :is(.zmx-res-button, .zmx-res-text-link, .zmx-dot82-button) { transition: none !important; }
  body[data-zmx-audience="residential"] :is(.zmx-res-button, .zmx-res-text-link, .zmx-dot82-button):hover { transform: none !important; }
}

body[data-zmx-audience="residential"] .zmx-res-service-tiles__actions {
  justify-content: center;
  margin-top: auto;
}
body[data-zmx-audience="residential"] .zmx-res-service-tiles__actions .zmx-res-text-link {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--res-green);
  border-radius: 999px;
  color: var(--res-green);
  font-size: .82rem;
  font-weight: 850;
  text-decoration: none;
}
body[data-zmx-route="/residential/"] .zmx-res-home-path {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
body[data-zmx-route="/residential/"] .zmx-res-home-path .zmx-res-button { margin-top: auto; }

body[data-zmx-audience="residential"] .zmx-res-start-requirement { align-items: stretch; }
body[data-zmx-audience="residential"] .zmx-res-start-requirement .zmx-res-illustration { min-height: 520px; }
body[data-zmx-audience="residential"] .zmx-res-caution--inline { margin-top: 24px; box-shadow: none; }
body[data-zmx-audience="residential"] .zmx-res-decision-layout { align-items: stretch; }
body[data-zmx-audience="residential"] .zmx-res-decision-layout .zmx-res-decision-note {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: center;
  padding: clamp(30px, 5vw, 52px);
  border: 1px solid rgba(31,118,106,.2);
  border-radius: 28px;
  background: linear-gradient(145deg, #fffdf8, #f0e6d1);
  box-shadow: var(--res-shadow);
}

body[data-zmx-route="/residential/guides/"] .zmx-res-guide-card > div { display: flex; min-height: 100%; flex-direction: column; }
body[data-zmx-route="/residential/guides/"] .zmx-res-guide-card .zmx-dot86-guide-request { width: fit-content; margin-top: 22px; }
body[data-zmx-route="/residential/guides/"] .zmx-res-guide-gate { align-items: center; }
body[data-zmx-route="/residential/guides/"] .zmx-res-guide-gate .zmx-dot86-guide-request { align-self: center; }

body[data-zmx-route="/residential/about/"] .zmx-res-about-audience { align-items: stretch; }
body[data-zmx-route="/residential/about/"] .zmx-res-about-audience > div:first-child { display: flex; flex-direction: column; }
body[data-zmx-route="/residential/about/"] .zmx-res-about-audience .zmx-res-route-buttons { margin-top: 26px; }
body[data-zmx-route="/residential/about/"] .zmx-res-about-audience .zmx-res-route-buttons .zmx-res-button { min-height: 44px; padding-inline: 15px; font-size: .78rem; }
body[data-zmx-route="/residential/about/"] .zmx-res-approach-panel {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(30px, 5vw, 52px);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 28px;
  background: rgba(3,30,27,.34);
  color: #fff;
}
body[data-zmx-route="/residential/about/"] .zmx-res-approach-panel h3 { margin: 6px 0 12px; font-size: clamp(1.65rem, 3vw, 2.6rem); line-height: 1.08; }
body[data-zmx-route="/residential/about/"] .zmx-res-approach-panel p:last-child { color: rgba(255,255,255,.78); line-height: 1.65; }

body[data-zmx-route="/residential/"] .zmx-res-area-layout { align-items: center; }
.zmx-res-coverage-note { margin-top: 22px; color: var(--res-muted); line-height: 1.65; }
.zmx-res-coverage-map { margin: 0; overflow: hidden; border: 1px solid rgba(31,118,106,.2); border-radius: 28px; background: #072f2a; box-shadow: var(--res-shadow); }
.zmx-res-coverage-map svg { display: block; width: 100%; height: auto; }
.zmx-res-coverage-map__land { fill: #f5efe0; stroke: #d2a653; stroke-width: 4; }
.zmx-res-coverage-map__route { fill: none; stroke: rgba(31,118,106,.5); stroke-width: 4; stroke-dasharray: 8 10; }
.zmx-res-coverage-map__ring { fill: rgba(31,118,106,.08); stroke: #1f766a; stroke-width: 3; }
.zmx-res-coverage-map__place circle { fill: #d2a653; stroke: #072f2a; stroke-width: 4; }
.zmx-res-coverage-map__place text { fill: #102520; font: 800 18px/1.2 Arial, sans-serif; }
.zmx-res-coverage-map__place--small text { font-size: 15px; }
.zmx-res-coverage-map__label-backdrop { fill: #0e5148; stroke: rgba(210,166,83,.75); stroke-width: 2; }
.zmx-res-coverage-map__label { fill: #f7f1e4; font: 800 20px/1.2 Arial, sans-serif; letter-spacing: .04em; }
.zmx-res-coverage-map figcaption { padding: 15px 18px; color: rgba(255,255,255,.78); font-size: .82rem; line-height: 1.5; text-align: center; }

body[data-zmx-audience="residential"] .zmx-res-final-cta {
  min-height: 560px !important;
  padding-block: clamp(76px, 8vw, 96px) !important;
  background-position: center !important;
}
body[data-zmx-audience="residential"] .zmx-res-final-cta > .zmx-res-container { min-height: 360px !important; }

@media (min-width: 721px) {
  body[data-zmx-audience="residential"] .zmx-global-sticky { display: flex !important; }
  body[data-zmx-audience="residential"] .zmx-global-sticky:not(.is-visible) { transform: translateY(calc(100% + 22px)) !important; pointer-events: none !important; }
  body[data-zmx-audience="residential"] .zmx-global-sticky.is-visible { transform: translateY(0) !important; pointer-events: auto !important; }
  body[data-zmx-audience="residential"].zmx-sticky-visible { padding-bottom: 86px !important; }
}

@media (max-width: 720px) {
  body[data-zmx-audience="residential"] .zmx-res-start-requirement .zmx-res-illustration { min-height: 300px; }
  body[data-zmx-route="/residential/about/"] .zmx-res-about-audience .zmx-res-route-buttons .zmx-res-button,
  body[data-zmx-route="/residential/guides/"] .zmx-res-guide-card .zmx-dot86-guide-request { width: 100%; }
  body[data-zmx-audience="residential"] .zmx-res-final-cta { min-height: 440px !important; padding-block: 64px !important; }
  body[data-zmx-audience="residential"] .zmx-res-final-cta > .zmx-res-container { min-height: 0 !important; }
  .zmx-res-coverage-map__label { font-size: 26px; }
  .zmx-res-coverage-map__place text { font-size: 24px; }
}
