/* Minneapolis Doors — homepage sections v3, following the approved hero direction:
   light blue-grey + white, white location pills, bold navy headings, red pill buttons, arched photos,
   small overlapping info cards with round navy arrow buttons, small red icons. Scoped to .mdz. */
.mdz {
	--ink: #06202c; --navy-2: #0d3547; --red: #dd3333; --red-dark: #c42828; --mist: #f2f7fa; --white: #fff;
	--text: #3c5562; --soft: #6a808b; --line: #dbe5ea;
	--r: 20px; --r-sm: 14px; --arch: 300px 300px 20px 20px;
	--font: "Reddit Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
	--max: 1300px; --gutter: 20px;
	font-family: var(--font); font-size: 17px; line-height: 1.65; color: var(--text);
}
:where(.mdz) *, :where(.mdz) *::before, :where(.mdz) *::after { box-sizing: border-box; }
:where(.mdz) img { display: block; max-width: 100%; height: auto; }
:where(.mdz) p { margin: 0; }
:where(.mdz) a { color: inherit; }
.mdz h2, .mdz h3 { margin: 0; color: var(--ink); font-family: var(--font); }
.mdz h2 { font-size: clamp(32px, 3.4vw, 48px); line-height: 1.12; letter-spacing: -0.02em; font-weight: 700; }
.mdz h3 { font-size: 21px; line-height: 1.3; font-weight: 700; letter-spacing: -0.01em; }
.mdz-wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.mdz-sec { padding: clamp(72px, 8vw, 112px) 0; }
.mdz-sec--mist { background: var(--mist); }
.mdz-sec--white { background: var(--white); }
.mdz .mdz-lede { font-size: 18px; max-width: 34em; }
.mdz :focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

/* Location-style pill (as in the hero) */
.mdz-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 12px; border-radius: 999px; background: #fff; box-shadow: 0 1px 2px rgba(6,32,44,.06), 0 4px 14px rgba(6,32,44,.06); font-size: 14px; font-weight: 500; color: var(--ink); }
.mdz-sec--white .mdz-pill { background: var(--mist); box-shadow: none; }
.mdz-pill svg { width: 15px; height: 15px; fill: var(--red); flex: none; }
.mdz-head { display: grid; gap: 16px; max-width: 760px; justify-items: start; }
.mdz-head--row { max-width: none; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px 48px; }
.mdz-head--row > div { display: grid; gap: 16px; max-width: 720px; justify-items: start; }

/* Buttons (as in the hero / header) */
.mdz-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: 999px; background: var(--red); border: 2px solid var(--red); color: #fff; font: 700 14px/1 var(--font); text-transform: uppercase; letter-spacing: .02em; text-decoration: none; white-space: nowrap; transition: background-color .15s, color .15s; }
.mdz-btn:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
.mdz-btn svg { width: 15px; height: 15px; fill: currentColor; }
.mdz-btn--ghost { background: transparent; color: var(--red); }
.mdz-btn--ghost:hover { background: var(--red); color: #fff; }
.mdz-btn--light { background: transparent; border-color: rgba(255,255,255,.5); color: #fff; }
.mdz-btn--light:hover { background: #fff; border-color: #fff; color: var(--ink); }

/* Round navy arrow (as on the hero info card) */
.mdz-arrow { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; transition: background-color .15s, transform .15s; }
.mdz-arrow svg { width: 15px; height: 15px; fill: currentColor; }
a:hover .mdz-arrow { background: var(--red); transform: translateX(2px); }

/* Info card overlapping a photo (as in the hero) */
.mdz-info { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 14px 13px 18px; border-radius: 12px; background: #fff; box-shadow: 0 8px 24px rgba(6,32,44,.14); text-decoration: none; }
.mdz-info strong { display: block; font-size: 15px; color: var(--ink); font-weight: 700; line-height: 1.3; }
.mdz-info span.mdz-info__sub { display: block; font-size: 13px; color: var(--soft); line-height: 1.4; }

/* Photo shapes */
.mdz-arch { overflow: hidden; border-radius: var(--arch); background: #dfe8ed; }
.mdz-round { overflow: hidden; border-radius: var(--r); background: #dfe8ed; }
.mdz .mdz-arch img, .mdz .mdz-round img { width: 100%; height: 100%; max-width: none; object-fit: cover; }

/* Small red icon list (as under the hero buttons) */
.mdz-icons { display: flex; flex-wrap: wrap; gap: 10px 26px; padding: 0; margin: 0; list-style: none; font-size: 14px; color: var(--text); }
.mdz-icons li { display: flex; align-items: center; gap: 8px; }
.mdz-icons svg { width: 16px; height: 16px; fill: var(--red); flex: none; }

/* ---------- Services ---------- */
.mdz-types { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); margin-top: clamp(40px, 5vw, 64px); }
.mdz-type { position: relative; display: block; text-decoration: none; }
.mdz-type .mdz-arch { aspect-ratio: 4 / 4.3; }
.mdz-type .mdz-info { position: absolute; left: 18px; right: 18px; bottom: 18px; padding: 18px 18px 18px 22px; }
.mdz-type .mdz-info strong { font-size: 22px; }
.mdz-type .mdz-info .mdz-info__sub { font-size: 15px; margin-top: 4px; max-width: 30em; }
.mdz-jobs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); margin-top: clamp(24px, 3vw, 40px); }
.mdz-job { display: flex; flex-direction: column; gap: 12px; padding: 28px; border-radius: var(--r); background: var(--mist); text-decoration: none; transition: box-shadow .2s, background-color .2s; }
.mdz-job:hover { background: #fff; box-shadow: 0 14px 36px rgba(6,32,44,.12); }
.mdz-job__ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #fff; box-shadow: 0 4px 14px rgba(6,32,44,.08); }
.mdz-job__ico svg { width: 22px; height: 22px; fill: var(--red); }
.mdz-job__foot { margin-top: auto; padding-top: 8px; display: flex; align-self: stretch; width: 100%; align-items: center; justify-content: space-between; font-size: 14px; font-weight: 700; color: var(--ink); }

/* ---------- Guide: arch photo + inset photo + info card, mirrored from the hero ---------- */
.mdz-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.mdz-visual { position: relative; padding: 0 0 0 clamp(40px, 6vw, 88px); }
.mdz-visual .mdz-arch { aspect-ratio: 4 / 5; }
.mdz-visual__inset { position: absolute; left: 0; top: 18%; width: 38%; aspect-ratio: 1; border-radius: 14px; overflow: hidden; border: 6px solid #fff; box-shadow: 0 14px 32px rgba(6,32,44,.18); }
.mdz .mdz-visual__inset img { width: 100%; height: 100%; max-width: none; object-fit: cover; }
.mdz-visual .mdz-info { position: absolute; left: calc(clamp(40px, 6vw, 88px) + 16px); right: 16px; bottom: 16px; }
.mdz-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 36px; margin-top: 36px; padding-top: 32px; border-top: 1px solid var(--line); }
.mdz-point { display: grid; gap: 8px; }
.mdz-point h3 { display: flex; align-items: center; gap: 10px; font-size: 18px; }
.mdz-point h3 svg { width: 20px; height: 20px; fill: var(--red); flex: none; }
.mdz-point p { font-size: 16px; }

/* ---------- Project ---------- */
.mdz-ba { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 2.5vw, 32px); margin-top: clamp(36px, 4vw, 56px); }
.mdz-ba figure { position: relative; margin: 0; }
.mdz-ba .mdz-round { aspect-ratio: 9 / 7; }
.mdz-ba .mdz-info { position: absolute; left: 16px; bottom: 16px; right: auto; max-width: calc(100% - 32px); }
.mdz-ba__tag { display: inline-block; margin-right: 8px; padding: 3px 9px; border-radius: 999px; background: var(--mist); color: var(--ink); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.mdz-ba figure.is-after .mdz-ba__tag { background: var(--red); color: #fff; }

/* ---------- People: navy rounded panel ---------- */
.mdz-panel { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding: clamp(32px, 5vw, 72px); border-radius: 28px; background: var(--ink); color: rgba(255,255,255,.78); overflow: hidden; }
.mdz-panel h2 { color: #fff; }
.mdz-panel .mdz-pill { background: rgba(255,255,255,.1); color: #fff; box-shadow: none; }
.mdz-panel__text { display: grid; gap: 18px; justify-items: start; }
.mdz-quote { margin: 8px 0 0; padding: 20px 22px; border-radius: var(--r-sm); background: #fff; color: var(--ink); box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.mdz-quote p { font-size: 17px; line-height: 1.55; }
.mdz-quote footer { margin-top: 8px; font-size: 13px; color: var(--soft); }
.mdz-panel .mdz-arch { aspect-ratio: 4 / 5; }

/* ---------- Estimate ---------- */
.mdz-est { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.mdz-est__text { display: grid; gap: 18px; justify-items: start; }
.mdz-steps { display: grid; gap: 12px; margin: 8px 0 0; padding: 0; list-style: none; counter-reset: s; width: 100%; }
.mdz-steps li { counter-increment: s; display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: var(--r-sm); background: #fff; box-shadow: 0 2px 10px rgba(6,32,44,.05); font-size: 16px; color: var(--ink); }
.mdz-steps li::before { content: counter(s); flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--red); color: #fff; font-size: 14px; font-weight: 700; }
.mdz-call { display: flex; align-items: center; gap: 14px; margin-top: 10px; text-decoration: none; }
.mdz-call__ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--red); }
.mdz-call__ico svg { width: 22px; height: 22px; fill: #fff; }
.mdz-call small { display: block; font-size: 13px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; color: var(--soft); }
.mdz-call strong { display: block; font-size: 26px; font-weight: 700; color: var(--ink); line-height: 1.2; }
.mdz-call:hover strong { color: var(--red); }
.mdz-hours { font-size: 15px; color: var(--soft); }

@media (max-width: 1024px) {
	.mdz-jobs { grid-template-columns: 1fr; }
	.mdz-job { flex-direction: row; align-items: flex-start; flex-wrap: wrap; }
	.mdz-job > div { flex: 1 1 260px; }
	.mdz-split, .mdz-est, .mdz-panel { grid-template-columns: 1fr; }
	.mdz-panel .mdz-arch { max-width: 420px; aspect-ratio: 4 / 4.2; }
	.mdz-visual { max-width: 560px; }
}
@media (max-width: 767px) {
	.mdz-head--row { grid-template-columns: 1fr; }
	.mdz-types, .mdz-ba, .mdz-points { grid-template-columns: 1fr; }
	.mdz-type .mdz-arch { aspect-ratio: 4 / 4.6; }
	.mdz-type .mdz-info strong { font-size: 19px; }
	.mdz-type .mdz-info .mdz-info__sub { font-size: 14px; }
	.mdz-job { flex-direction: column; }
	.mdz-job > div { flex: none; }
	.mdz-panel { border-radius: 22px; }
}

/* ---------- Estimate form (Elementor containers; WPForms 153 unchanged, presentation only) ---------- */
body.mdo .e-con.mdz-est-sec { display: block; padding: clamp(72px, 8vw, 112px) 0; background: #f2f7fa; }
body.mdo .e-con.mdz-est-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; width: 100%; max-width: 1300px; margin: 0 auto; padding: 0 20px; }
body.mdo .e-con.mdz-formcard { display: block; background: #fff; border-radius: 24px; padding: clamp(24px, 3.4vw, 44px); box-shadow: 0 2px 6px rgba(6,32,44,.04), 0 24px 60px rgba(6,32,44,.12); }
@media (max-width: 1024px) { body.mdo .e-con.mdz-est-grid { grid-template-columns: 1fr; } }
.mdz-formcard__title { font: 700 24px/1.25 "Reddit Sans", sans-serif; color: #06202c; margin: 0 0 4px; }
.mdz-formcard__sub { font-size: 15px; color: #6a808b; margin: 0 0 22px; }
.mdz-formcard .wpforms-container { margin: 0 !important; }
.mdz-formcard .wpforms-form .wpforms-field-container { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.mdz-formcard .wpforms-form .wpforms-field { grid-column: 1 / -1; padding: 0 !important; margin: 0 !important; }
.mdz-formcard .wpforms-form .wpforms-field.mdo-half { grid-column: auto; }
.mdz-formcard .wpforms-form .wpforms-field-hidden { display: none !important; }
.mdz-formcard .wpforms-form input[type="text"], .mdz-formcard .wpforms-form input[type="email"], .mdz-formcard .wpforms-form input[type="tel"], .mdz-formcard .wpforms-form select { width: 100% !important; max-width: none !important; height: 52px; padding: 0 16px; border: 1px solid #cfdbe1 !important; border-radius: 12px !important; background: #f8fbfc !important; color: #06202c !important; font: 400 16px/1.2 "Reddit Sans", sans-serif !important; box-shadow: none !important; }
.mdz-formcard .wpforms-form input::placeholder { color: #6f8590 !important; opacity: 1; }
.mdz-formcard .wpforms-form input:focus, .mdz-formcard .wpforms-form select:focus { border-color: #06202c !important; background: #fff !important; outline: 2px solid rgba(6,32,44,.12); }
.mdz-formcard .wpforms-form .wpforms-field-address fieldset { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, .8fr); gap: 14px; margin: 0; padding: 0; border: 0; min-width: 0; }
.mdz-formcard .wpforms-form .wpforms-field-address .wpforms-field-row { display: contents; }
.mdz-formcard .wpforms-form .wpforms-field-address .wpforms-field-row::before, .mdz-formcard .wpforms-form .wpforms-field-address .wpforms-field-row::after { content: none !important; display: none !important; }
.mdz-formcard .wpforms-form .wpforms-field-address .wpforms-field-row > div { width: auto !important; max-width: none !important; margin: 0 !important; padding: 0 !important; float: none !important; min-width: 0; }
.mdz-formcard .wpforms-form .wpforms-field-address .wpforms-field-row:first-of-type > div { grid-column: 1 / -1; }
.mdz-formcard .wpforms-form .wpforms-field-address .wpforms-field-row > div:has(.wpforms-field-address-address2), .mdz-formcard .wpforms-form .wpforms-field-address .wpforms-field-row > div:has(.wpforms-field-address-country) { display: none; }
.mdz-formcard .wpforms-form .wpforms-field-sublabel { display: none; }
.mdz-formcard .wpforms-form .wpforms-field-checkbox .wpforms-field-label, .mdz-formcard .wpforms-form .mdo-services > .wpforms-field-label { margin: 8px 0 12px; font: 700 15px/1.3 "Reddit Sans", sans-serif; color: #06202c; }
.mdz-formcard .wpforms-form .mdo-services ul { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 10px 20px; margin: 0 !important; }
.mdz-formcard .wpforms-form .wpforms-field-checkbox ul li { display: flex; align-items: flex-start; gap: 10px; margin: 0 !important; padding: 0 !important; width: auto !important; }
.mdz-formcard .wpforms-form .wpforms-field-checkbox li label { font: 400 16px/1.35 "Reddit Sans", sans-serif; color: #3c5562; margin: 0; }
.mdz-formcard .wpforms-form input[type="checkbox"] { width: 18px; height: 18px; margin: 2px 0 0; accent-color: #dd3333; flex: none; }
.mdz-formcard .wpforms-form .mdo-consent { font-size: 13px; line-height: 1.55; color: #6a808b; }
.mdz-formcard .wpforms-form .mdo-consent a { color: #06202c; }
.mdz-formcard .wpforms-form .wpforms-submit-container { margin-top: 20px !important; padding: 0 !important; }
.mdz-formcard .wpforms-form button[type="submit"] { width: 100%; min-height: 54px; border: 0 !important; border-radius: 999px !important; background: #dd3333 !important; color: #fff !important; font: 700 15px/1 "Reddit Sans", sans-serif !important; text-transform: uppercase; letter-spacing: .02em; box-shadow: none !important; }
.mdz-formcard .wpforms-form button[type="submit"]:hover { background: #c42828 !important; }
.mdz-formcard .wpforms-form label.wpforms-error { font-size: 13px; color: #c42828; margin-top: 6px; }
@media (max-width: 520px) {
	.mdz-formcard .wpforms-form .wpforms-field-container { grid-template-columns: 1fr; }
	.mdz-formcard .wpforms-form .wpforms-field-address fieldset { grid-template-columns: 1fr 1fr; }
	.mdz-formcard .wpforms-form .wpforms-field-address .wpforms-field-row:nth-of-type(2) > div:first-child { grid-column: 1 / -1; }
	.mdz-formcard .wpforms-form .mdo-services ul { grid-template-columns: 1fr !important; }
}

/* Hero (designer section): the small inset photo hangs off-screen on phones */
@media (max-width: 767px) { body.mdo .elementor-element-454851f { display: none; } }

/* ===== Inner pages v2 (2026-10-14): long-form SEO content in the approved homepage system (mdz.css).
   Each page uses its own hero type; content is set as readable editorial blocks, not small grids. Scoped to .mdz ===== */
.mdz h1 { margin: 0; color: var(--ink); font-family: var(--font); font-size: clamp(38px, 4.4vw, 62px); line-height: 1.06; letter-spacing: -0.025em; font-weight: 700; }
.mdz-crumbs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 20px; padding: 0; list-style: none; font-size: 14px; color: var(--soft); }
.mdz-crumbs li + li::before { content: "/"; margin-right: 6px; color: #a9bac2; }
.mdz-crumbs a { color: var(--soft); text-decoration: none; }
.mdz-crumbs a:hover { color: var(--red); }
.mdz-actions { display: flex; flex-wrap: wrap; gap: 12px 14px; align-items: center; }
.mdz-stack { display: grid; gap: 20px; justify-items: start; align-content: start; }
.mdz-stack > * { max-width: 100%; }
.mdz-figcap { margin-top: 10px; font-size: 13px; color: var(--soft); }
.mdz figure { margin: 0; }
.mdz .mdz-fill { width: 100%; height: 100%; }
.mdz .mdz-fill img, .mdz .mdz-cover img { width: 100%; height: 100%; max-width: none; object-fit: cover; }
.mdz-cover { overflow: hidden; border-radius: 28px; background: #dfe8ed; }
.mdz-intro { font-size: 19px; line-height: 1.6; color: var(--text); max-width: 36em; }

/* Long-form copy: comfortable measure, real hierarchy */
.mdz-prose { display: grid; gap: 18px; align-content: start; }
.mdz-prose p, .mdz-prose li { font-size: 18px; line-height: 1.72; }
.mdz-prose p { max-width: 40em; }
.mdz-prose h3 { margin-top: 18px; font-size: 23px; }
.mdz-prose h3:first-child { margin-top: 0; }
.mdz-prose ul { margin: 0; padding-left: 22px; display: grid; gap: 8px; max-width: 40em; }
.mdz-prose a, .mdz-intro a, .mdz-faq a, .mdz-table td a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(221,51,51,.5); text-underline-offset: 3px; }
.mdz-prose a:hover, .mdz-intro a:hover, .mdz-faq a:hover, .mdz-table td a:hover { color: var(--red); }

/* Editorial block: heading column (sticky on desktop) + reading column */
.mdz-ed { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 104px); align-items: start; }
.mdz-ed__aside { position: sticky; top: 120px; display: grid; gap: 18px; align-content: start; }
.mdz-ed__aside p { font-size: 17px; color: var(--soft); max-width: 26em; }
.mdz-ed__aside .mdz-round, .mdz-ed__aside .mdz-arch { margin-top: 10px; }

/* Text + image feature */
.mdz-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.mdz-feature--rev > :first-child { order: 2; }
.mdz-feature--wide { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }

/* Callout for climate / local notes */
.mdz-note { padding: 22px 26px; border-left: 4px solid var(--red); border-radius: 0 var(--r-sm) var(--r-sm) 0; background: var(--mist); font-size: 17px; max-width: 40em; }
.mdz-sec--mist .mdz-note { background: #fff; }
.mdz-note strong { color: var(--ink); }

/* Checklist (no card) */
.mdz-check { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; max-width: 42em; }
.mdz-check li { display: grid; grid-template-columns: 24px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 17px; line-height: 1.6; }
.mdz-check li:first-child { border-top: 1px solid var(--line); }
.mdz-check li strong { color: var(--ink); }
.mdz-check li::before { content: ""; width: 20px; height: 20px; margin-top: 4px; border-radius: 50%; background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6 11-11-1.4-1.4z'/%3E%3C/svg%3E") center / 15px no-repeat; }
.mdz-check--two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; max-width: none; }
.mdz-check--two li:nth-child(2) { border-top: 1px solid var(--line); }
.mdz-check--light li { border-color: rgba(255,255,255,.18) !important; color: rgba(255,255,255,.85); }
.mdz-check--light li strong { color: #fff; }

/* Numbered timeline (installation sequence) */
.mdz-timeline { margin: 0; padding: 0; list-style: none; counter-reset: t; display: grid; max-width: 46em; }
.mdz-timeline li { counter-increment: t; position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding-bottom: 32px; }
.mdz-timeline li::before { content: counter(t, decimal-leading-zero); display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 700; font-size: 16px; position: relative; z-index: 1; }
.mdz-timeline li::after { content: ""; position: absolute; left: 27px; top: 56px; bottom: 0; width: 2px; background: var(--line); }
.mdz-timeline li:last-child { padding-bottom: 0; }
.mdz-timeline li:last-child::after { display: none; }
.mdz-timeline h3 { font-size: 22px; margin: 12px 0 8px; }
.mdz-timeline p { font-size: 17px; line-height: 1.7; }

/* Large two-way comparison with photos (patio: sliding vs hinged) */
.mdz-compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); }
.mdz-compare__col { display: grid; gap: 22px; align-content: start; }
.mdz-compare__img { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 24px; background: #dfe8ed; }
.mdz .mdz-compare__img img { width: 100%; height: 100%; max-width: none; object-fit: cover; }
.mdz-compare__col h3 { font-size: clamp(26px, 2.4vw, 32px); letter-spacing: -0.015em; }
.mdz-compare dl { margin: 0; display: grid; }
.mdz-compare dl > div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.mdz-compare dt { font-size: 14px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--soft); padding-top: 3px; }
.mdz-compare dd { margin: 0; font-size: 17px; line-height: 1.6; }

/* Text-only side-by-side contrast (services) */
.mdz-vs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: 24px; overflow: hidden; background: #fff; box-shadow: 0 2px 10px rgba(6,32,44,.05); }
.mdz-vs > div { padding: clamp(28px, 3.4vw, 44px); display: grid; gap: 14px; align-content: start; }
.mdz-vs > div + div { border-left: 1px solid var(--line); }
.mdz-vs h3 { font-size: 24px; }
.mdz-vs p { font-size: 17px; }
.mdz-vs__go { margin-top: 6px; display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); text-decoration: none; }
.mdz-vs__go:hover { color: var(--red); }

/* Table (services matrix, repair troubleshooting) */
.mdz-table { width: 100%; border-collapse: separate; border-spacing: 0; border-radius: var(--r); overflow: hidden; background: #fff; box-shadow: 0 2px 10px rgba(6,32,44,.05); font-size: 17px; }
.mdz-table th, .mdz-table td { padding: 22px 24px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); line-height: 1.6; }
.mdz-table thead th { background: var(--ink); color: #fff; font-size: 14px; font-weight: 700; letter-spacing: .02em; }
.mdz-table tbody tr:last-child td, .mdz-table tbody tr:last-child th { border-bottom: 0; }
.mdz-table tbody th { color: var(--ink); font-size: 18px; width: 24%; }
.mdz-table tbody th a { text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.mdz-table tbody th a:hover { color: var(--red); }
.mdz-table .mdz-arrow { width: 28px; height: 28px; flex: none; }
.mdz-table .mdz-arrow svg { width: 13px; height: 13px; }
.mdz-verdict { display: block; font-weight: 700; color: var(--ink); }

/* FAQ */
.mdz-faq { display: grid; gap: 12px; width: 100%; }
.mdz-faq details { border-radius: var(--r-sm); background: #fff; box-shadow: 0 2px 10px rgba(6,32,44,.05); }
.mdz-sec--white .mdz-faq details { background: var(--mist); box-shadow: none; }
.mdz-faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 21px 24px; cursor: pointer; font-weight: 700; font-size: 18px; line-height: 1.4; color: var(--ink); }
.mdz-faq summary::-webkit-details-marker { display: none; }
.mdz-faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 18px; font-weight: 500; line-height: 1; }
.mdz-faq details[open] summary::after { content: "–"; background: var(--red); }
.mdz-faq details p { padding: 0 24px 22px; font-size: 17px; line-height: 1.7; max-width: 48em; }
.mdz-faq--cols { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.mdz-faqhead { display: grid; gap: 14px; margin-bottom: 32px; max-width: 760px; }

/* CTA strip */
.mdz-cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: center; padding: clamp(28px, 4vw, 52px); border-radius: 24px; background: var(--mist); }
.mdz-sec--mist .mdz-cta { background: #fff; }
.mdz-cta h2 { font-size: clamp(28px, 2.8vw, 38px); }
.mdz-cta p { margin-top: 10px; font-size: 17px; max-width: 34em; }

/* ---------- Heroes (one per page type) ---------- */

/* About: arch portrait left, copy right, verified fact bar beneath */
.mdz-hero-about { background: var(--mist); padding: clamp(40px, 5vw, 80px) 0 0; }
.mdz-hero-about__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, 6vw, 104px); align-items: center; }
.mdz-hero-about__grid .mdz-arch { aspect-ratio: 5 / 6; }
.mdz-factbar { margin: clamp(48px, 6vw, 80px) 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.mdz-factbar > div { padding: 26px 24px 30px 0; display: grid; gap: 4px; align-content: start; }
.mdz-factbar > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.mdz-factbar dt { font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--soft); }
.mdz-factbar dd { margin: 0; font-size: 17px; font-weight: 600; color: var(--ink); line-height: 1.45; }
.mdz-factbar a { color: var(--ink); text-decoration: none; }

/* Services: copy + service index list, then a wide photo band */
.mdz-hero-index { background: var(--white); padding: clamp(40px, 5vw, 80px) 0 clamp(40px, 5vw, 64px); }
.mdz-hero-index__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(36px, 6vw, 96px); align-items: end; }
.mdz-svclist { margin: 0; padding: 0; list-style: none; display: grid; border-top: 1px solid var(--line); }
.mdz-svclist li { border-bottom: 1px solid var(--line); }
.mdz-svclist a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 18px; align-items: center; padding: 18px 2px; text-decoration: none; }
.mdz-svclist strong { font-size: 20px; color: var(--ink); line-height: 1.3; }
.mdz-svclist small { grid-column: 1; font-size: 15px; color: var(--soft); line-height: 1.5; }
.mdz-svclist .mdz-arrow { grid-row: 1 / span 2; grid-column: 2; }
.mdz-svclist a:hover strong { color: var(--red); }
.mdz-band { aspect-ratio: 21 / 8; }

/* Installation: wide cover photo, title and intro set beneath in two columns */
.mdz-hero-cover { background: var(--white); padding: clamp(24px, 3vw, 40px) 0 clamp(64px, 7vw, 104px); }
.mdz-hero-cover__img { aspect-ratio: 21 / 9; }
.mdz-hero-cover__text { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 80px); align-items: start; margin-top: clamp(32px, 4vw, 56px); }
.mdz-hero-cover__text .mdz-stack { padding-top: 8px; }

/* Replacement: real before/after is the hero */
.mdz-hero-ba { background: var(--mist); padding: clamp(40px, 5vw, 80px) 0 clamp(64px, 7vw, 104px); }
.mdz-hero-ba__top { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 80px); align-items: end; }
.mdz-hero-ba__pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); margin-top: clamp(36px, 4vw, 56px); }
.mdz-hero-ba__pair figure { position: relative; }
.mdz-hero-ba__pair .mdz-round { aspect-ratio: 9 / 7; border-radius: 24px; }
.mdz-hero-ba__pair .mdz-info { position: absolute; left: 16px; bottom: 16px; right: auto; max-width: calc(100% - 32px); }
.mdz-hero-ba__cap { margin-top: 16px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 15px; color: var(--soft); }
.mdz-hero-ba__cap strong { color: var(--ink); }

/* Entry: navy hero with arched photo */
.mdz-hero-navy { background: var(--ink); color: rgba(255,255,255,.8); padding: clamp(40px, 5vw, 80px) 0; overflow: hidden; }
.mdz-hero-navy__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.mdz-hero-navy h1 { color: #fff; }
.mdz-hero-navy .mdz-intro { color: rgba(255,255,255,.78); }
.mdz-hero-navy .mdz-crumbs, .mdz-hero-navy .mdz-crumbs a { color: rgba(255,255,255,.6); }
.mdz-hero-navy .mdz-arch { aspect-ratio: 4 / 4.8; background: var(--navy-2); }
.mdz-hero-navy .mdz-figcap { color: rgba(255,255,255,.55); }

/* Patio: rounded banner photo with an overlapping white panel */
.mdz-banner { padding: clamp(24px, 3vw, 40px) 0 clamp(64px, 7vw, 104px); background: var(--white); }
.mdz-banner__frame { position: relative; }
.mdz-banner__img { aspect-ratio: 16 / 7; border-radius: 28px; overflow: hidden; }
.mdz .mdz-banner__img img { width: 100%; height: 100%; max-width: none; object-fit: cover; }
.mdz-banner__panel { position: relative; width: min(640px, 92%); margin: -200px 0 0 clamp(16px, 4vw, 56px); padding: clamp(28px, 3.6vw, 48px); border-radius: 24px; background: #fff; box-shadow: 0 2px 6px rgba(6,32,44,.05), 0 30px 70px rgba(6,32,44,.16); display: grid; gap: 20px; justify-items: start; }
.mdz-banner__note { position: absolute; top: 18px; right: 18px; padding: 6px 12px; border-radius: 999px; background: rgba(6,32,44,.62); color: #fff; font-size: 12px; }
.mdz-banner__aside { position: absolute; right: clamp(16px, 4vw, 56px); bottom: 0; width: min(420px, 34%); display: grid; gap: 14px; }
.mdz-banner__aside p { font-size: 17px; }

/* Repair: classic split with a portrait detail photo */
.mdz-hero-split { background: var(--mist); padding: clamp(40px, 5vw, 80px) 0 clamp(64px, 7vw, 104px); }
.mdz-hero-split__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(36px, 6vw, 104px); align-items: center; }
.mdz-hero-split__grid .mdz-round { aspect-ratio: 4 / 5; border-radius: 24px; }
.mdz-symptoms { margin: 8px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 16px; }
.mdz-symptoms a { color: var(--ink); font-weight: 600; text-decoration: none; border-bottom: 2px solid rgba(221,51,51,.4); }
.mdz-symptoms a:hover { color: var(--red); border-color: var(--red); }

/* ---------- Quote areas (Elementor containers around WPForms 153) ---------- */
body.mdo .e-con.mdz-formsec { display: block; padding: clamp(72px, 8vw, 112px) 0; background: #fff; }
body.mdo .e-con.mdz-formsec--mist { background: #f2f7fa; }
body.mdo .e-con.mdz-formpanel { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: start; width: calc(100% - 40px); max-width: 1260px; margin: 0 auto; padding: clamp(32px, 5vw, 64px); border-radius: 28px; background: #06202c; }
body.mdo .e-con.mdz-formsplit { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: start; width: 100%; max-width: 1300px; margin: 0 auto; padding: 0 20px; }
body.mdo .e-con.mdz-contactgrid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: start; width: 100%; max-width: 1300px; margin: 0 auto; padding: 0 20px; }
body.mdo .e-con.mdz-contactsec { display: block; padding: clamp(40px, 5vw, 72px) 0 clamp(64px, 7vw, 96px); background: #f2f7fa; }
.mdz-panel-text { color: rgba(255,255,255,.8); display: grid; gap: 18px; justify-items: start; }
.mdz-panel-text h2 { color: #fff; }
.mdz-panel-text p { font-size: 17px; }
.mdz-panel-text h3 { color: #fff; font-size: 18px; margin-top: 8px; }
.mdz-panel-text .mdz-call strong { color: #fff; }
.mdz-panel-text .mdz-call small { color: rgba(255,255,255,.6); }
.mdz-panel-text a { color: #fff; }
.mdz-panel-text .mdz-check { width: 100%; }
.mdz-panel-text .mdz-check li { font-size: 16px; padding: 12px 0; }
.mdz-hours { font-size: 15px; color: var(--soft); }
.mdz-panel-text .mdz-hours { color: rgba(255,255,255,.6); }

/* Contact details */
.mdz-cdetails { display: grid; gap: 0; width: 100%; border-top: 1px solid var(--line); }
.mdz-cdetail { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.mdz-cdetail__ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; }
.mdz-cdetail__ico svg { width: 19px; height: 19px; fill: var(--red); }
.mdz-cdetail--call .mdz-cdetail__ico { background: var(--red); }
.mdz-cdetail--call .mdz-cdetail__ico svg { fill: #fff; }
.mdz-cdetail small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--soft); }
.mdz-cdetail strong { display: block; font-size: 17px; color: var(--ink); line-height: 1.4; }
.mdz-cdetail--call strong { font-size: 26px; }
.mdz-cdetail span.mdz-cdetail__note { display: block; font-size: 15px; color: var(--soft); line-height: 1.5; }
a.mdz-cdetail:hover strong { color: var(--red); }

/* Reviews (About, real Google reviews only) */
.mdz-quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.mdz-quotes .mdz-quote { margin: 0; box-shadow: 0 2px 10px rgba(6,32,44,.05); }

/* Navy panel with two equal text columns (repair vs replace) */
.mdz-panel.mdz-panel--even { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }

/* Small secondary project strip (About) */
.mdz-strip { display: grid; grid-template-columns: minmax(0, 5fr) repeat(2, minmax(0, 3fr)); gap: clamp(16px, 2.4vw, 32px); align-items: center; }
.mdz-strip figure .mdz-round { aspect-ratio: 9 / 7; }

@media (max-width: 1024px) {
	.mdz-ed, .mdz-feature, .mdz-feature--wide, .mdz-hero-about__grid, .mdz-hero-index__grid, .mdz-hero-cover__text, .mdz-hero-ba__top, .mdz-hero-navy__grid, .mdz-hero-split__grid { grid-template-columns: 1fr; }
	.mdz-feature--rev > :first-child { order: 0; }
	.mdz-ed__aside { position: static; }
	.mdz-hero-about__grid .mdz-arch, .mdz-hero-navy .mdz-arch { max-width: 520px; }
	.mdz-hero-split__grid .mdz-round { max-width: 460px; aspect-ratio: 4 / 3; }
	.mdz-factbar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mdz-factbar > div:nth-child(3) { padding-left: 0; border-left: 0; }
	.mdz-factbar > div:nth-child(n+3) { border-top: 1px solid var(--line); }
	.mdz-band, .mdz-hero-cover__img { aspect-ratio: 16 / 9; }
	.mdz-banner__img { aspect-ratio: 16 / 9; }
	.mdz-banner__panel { margin: -96px auto 0; width: calc(100% - 32px); }
	.mdz-banner__aside { position: static; width: auto; margin-top: 28px; }
	.mdz-faq--cols, .mdz-panel.mdz-panel--even { grid-template-columns: 1fr; }
	body.mdo .e-con.mdz-formpanel, body.mdo .e-con.mdz-contactgrid, body.mdo .e-con.mdz-formsplit { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
	.mdz h1 { font-size: clamp(34px, 9vw, 42px); }
	.mdz-intro { font-size: 18px; }
	.mdz-prose p, .mdz-prose li { font-size: 17px; }
	.mdz-compare, .mdz-vs, .mdz-check--two, .mdz-quotes, .mdz-hero-ba__pair { grid-template-columns: 1fr; }
	.mdz-check--two li:nth-child(2) { border-top: 0; }
	.mdz-vs > div + div { border-left: 0; border-top: 1px solid var(--line); }
	.mdz-compare dl > div { grid-template-columns: 1fr; gap: 4px; }
	.mdz-factbar { grid-template-columns: 1fr; }
	.mdz-factbar > div, .mdz-factbar > div + div { padding: 18px 0; border-left: 0; }
	.mdz-factbar > div + div { border-top: 1px solid var(--line); }
	.mdz-cta { grid-template-columns: 1fr; }
	.mdz-band { aspect-ratio: 4 / 3; border-radius: 20px; }
	.mdz-hero-cover__img { aspect-ratio: 4 / 3; border-radius: 20px; }
	.mdz-banner__img { aspect-ratio: 4 / 3; border-radius: 20px; }
	.mdz-banner__panel { margin-top: -56px; width: calc(100% - 20px); }
	.mdz-timeline li { grid-template-columns: 44px 1fr; gap: 16px; }
	.mdz-timeline li::before { width: 44px; height: 44px; font-size: 14px; }
	.mdz-timeline li::after { left: 21px; top: 44px; }
	.mdz-timeline h3 { margin-top: 8px; }
	.mdz-strip { grid-template-columns: 1fr 1fr; gap: 12px; }
	.mdz-table thead { display: none; }
	.mdz-table, .mdz-table tbody, .mdz-table tr, .mdz-table th, .mdz-table td { display: block; width: 100%; }
	.mdz-table tr { border-bottom: 1px solid var(--line); padding: 10px 0; }
	.mdz-table tbody tr:last-child { border-bottom: 0; }
	.mdz-table th, .mdz-table td { border-bottom: 0; padding: 8px 20px; }
	.mdz-table td::before { content: attr(data-label); display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--soft); margin-bottom: 2px; }
	.mdz-table tbody th { width: 100%; }
	body.mdo .e-con.mdz-formpanel { width: calc(100% - 24px); border-radius: 22px; padding: 28px 20px; }
}

/* Link-colour overrides: the Elementor kit / site.css link rules outrank single-class button colours on inner pages */
body.mdo .mdz a.mdz-btn, body.mdo .mdz a.mdz-btn:visited { color: #fff; }
body.mdo .mdz a.mdz-btn:hover { color: #fff; }
body.mdo .mdz a.mdz-btn--ghost, body.mdo .mdz a.mdz-btn--ghost:visited { color: var(--red); }
body.mdo .mdz a.mdz-btn--ghost:hover { color: #fff; }
body.mdo .mdz a.mdz-btn--light, body.mdo .mdz a.mdz-btn--light:visited { color: #fff; }
body.mdo .mdz a.mdz-btn--light:hover { color: var(--ink); }
body.mdo .mdz-hero-navy a.mdz-btn--ghost, body.mdo .mdz-hero-navy a.mdz-btn--ghost:visited { color: #fff; border-color: rgba(255,255,255,.5); }
body.mdo .mdz-hero-navy a.mdz-btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
