/* =========================================================================
   Minneapolis Doors – Johnson Exteriors, LLC
   Design system for Elementor containers + widgets (classes prefixed mdo-)
   ========================================================================= */

:root {
	--mdo-navy: #06202c;
	--mdo-navy-2: #0d3547;
	--mdo-navy-3: #14445a;
	--mdo-red: #dd3333;
	--mdo-red-hover: #c42828;
	--mdo-light: #f2f7fa;
	--mdo-white: #ffffff;
	--mdo-mist: #c2d3db;
	--mdo-warm: #a96316;
	--mdo-warm-on-dark: #e3a560;
	--mdo-ink: #06202c;
	--mdo-text: #354f5b;
	--mdo-text-soft: #5a7380;
	--mdo-line: #d8e4ea;
	--mdo-line-strong: #c2d3db;
	--mdo-on-dark: #ffffff;
	--mdo-on-dark-soft: rgba(255, 255, 255, 0.78);
	--mdo-on-dark-line: rgba(255, 255, 255, 0.14);

	--mdo-font: "Reddit Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--mdo-max: 1320px;
	--mdo-gutter: 56px;
	--mdo-sec-y: 112px;
	--mdo-header-h: 80px;
	--mdo-r-sm: 6px;
	--mdo-r: 10px;
	--mdo-r-lg: 16px;
	--mdo-shadow: 0 1px 2px rgba(6, 32, 44, 0.04), 0 8px 24px rgba(6, 32, 44, 0.06);
	--mdo-shadow-lift: 0 2px 4px rgba(6, 32, 44, 0.05), 0 18px 40px rgba(6, 32, 44, 0.10);
	--mdo-ease: cubic-bezier(0.22, 0.61, 0.36, 1);

	--mdo-fs-h1: 58px;
	--mdo-fs-h2: 44px;
	--mdo-fs-h3: 26px;
	--mdo-fs-h4: 20px;
	--mdo-fs-body: 18px;
	--mdo-fs-lead: 20px;
	--mdo-fs-small: 15px;
}

@media (max-width: 1200px) {
	:root { --mdo-gutter: 44px; --mdo-sec-y: 96px; --mdo-fs-h1: 52px; --mdo-fs-h2: 40px; }
}
@media (max-width: 1024px) {
	:root { --mdo-gutter: 36px; --mdo-sec-y: 80px; --mdo-fs-h1: 46px; --mdo-fs-h2: 36px; --mdo-fs-h3: 24px; --mdo-header-h: 72px; }
}
@media (max-width: 767px) {
	:root { --mdo-gutter: 20px; --mdo-sec-y: 60px; --mdo-fs-h1: 36px; --mdo-fs-h2: 30px; --mdo-fs-h3: 22px; --mdo-fs-h4: 19px; --mdo-fs-body: 17px; --mdo-fs-lead: 18px; --mdo-header-h: 68px; }
}

/* ---------- Base ---------- */

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--mdo-header-h) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body.mdo {
	margin: 0;
	background: var(--mdo-white);
	color: var(--mdo-text);
	font-family: var(--mdo-font);
	font-size: var(--mdo-fs-body);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: clip;
}
body.mdo *, body.mdo *::before, body.mdo *::after { box-sizing: border-box; }
body.mdo img { max-width: 100%; height: auto; }
body.mdo a { color: inherit; }
body.mdo :focus-visible { outline: 3px solid var(--mdo-warm-on-dark); outline-offset: 3px; border-radius: 4px; }
body.mdo .mdo-sec--light :focus-visible, body.mdo .mdo-sec--white :focus-visible { outline-color: var(--mdo-warm); }

.mdo-skip { position: absolute; left: 12px; top: -60px; z-index: 2000; background: var(--mdo-navy); color: #fff; padding: 10px 16px; border-radius: var(--mdo-r-sm); text-decoration: none; font-weight: 700; }
.mdo-skip:focus { top: 12px; }
#mdo-main { outline: none; }

.mdo-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Elementor container normalisation: layout lives in classes below, not per-element margins. */
body.mdo .e-con {
	--padding-top: 0px; --padding-right: 0px; --padding-bottom: 0px; --padding-left: 0px;
	--padding-block-start: 0px; --padding-block-end: 0px; --padding-inline-start: 0px; --padding-inline-end: 0px;
	--gap: 0px; --row-gap: 0px; --column-gap: 0px;
	--widgets-spacing: 0px; --widgets-spacing-row: 0px; --widgets-spacing-column: 0px; --kit-widget-spacing: 0px;
	--margin-top: 0px; --margin-bottom: 0px;
	--border-radius: 0;
	padding: 0;
	gap: 0;
}
body.mdo .e-con .elementor-widget { margin: 0; }
body.mdo .elementor-widget-html, body.mdo .elementor-widget-shortcode { width: 100%; }
body.mdo .e-con .elementor-widget-container { height: 100%; }
body.mdo .elementor-widget-image img { display: block; }

/* ---------- Sections & wrappers ---------- */

body.mdo .e-con.mdo-sec {
	position: relative;
	padding: var(--mdo-sec-y) var(--mdo-gutter);
	display: flex;
	flex-direction: column;
	align-items: center;
}
body.mdo .e-con.mdo-sec--white { background: var(--mdo-white); }
body.mdo .e-con.mdo-sec--light { background: var(--mdo-light); }
body.mdo .e-con.mdo-sec--navy { background: var(--mdo-navy); color: var(--mdo-on-dark-soft); }
body.mdo .e-con.mdo-sec--navy2 { background: var(--mdo-navy-2); color: var(--mdo-on-dark-soft); }
body.mdo .e-con.mdo-sec--tight { padding-top: calc(var(--mdo-sec-y) * 0.62); padding-bottom: calc(var(--mdo-sec-y) * 0.62); }
body.mdo .e-con.mdo-sec--flush-top { padding-top: 0; }
body.mdo .e-con.mdo-sec--line-top { border-top: 1px solid var(--mdo-line); }

body.mdo .e-con.mdo-wrap {
	width: 100%;
	max-width: var(--mdo-max);
	margin-inline: auto;
	display: flex;
	flex-direction: column;
	position: relative;
	z-index: 1;
}
body.mdo .e-con.mdo-wrap--narrow { max-width: 860px; }
body.mdo .e-con.mdo-stack { display: flex; flex-direction: column; }
body.mdo .e-con.mdo-gap-sm { gap: 16px; }
body.mdo .e-con.mdo-gap { gap: 24px; }
body.mdo .e-con.mdo-gap-lg { gap: 48px; }
body.mdo .e-con.mdo-mt { margin-top: 56px; }
body.mdo .e-con.mdo-mt-sm { margin-top: 32px; }

/* Two-column splits */
body.mdo .e-con.mdo-split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 80px;
	align-items: center;
}
body.mdo .e-con.mdo-split--top { align-items: start; }
body.mdo .e-con.mdo-split--55 { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
body.mdo .e-con.mdo-split--45 { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
body.mdo .e-con.mdo-split--40 { grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr); }
@media (max-width: 1200px) { body.mdo .e-con.mdo-split { gap: 56px; } }
@media (max-width: 960px) {
	body.mdo .e-con.mdo-split,
	body.mdo .e-con.mdo-split--55,
	body.mdo .e-con.mdo-split--45,
	body.mdo .e-con.mdo-split--40 { grid-template-columns: minmax(0, 1fr); gap: 44px; }
	body.mdo .e-con.mdo-split--media-first > :last-child { order: -1; }
}

/* Card grids – equal-height rows */
body.mdo .e-con.mdo-grid { display: grid; gap: 24px; align-items: stretch; grid-auto-rows: 1fr; }
body.mdo .e-con.mdo-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
body.mdo .e-con.mdo-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
body.mdo .e-con.mdo-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
body.mdo .e-con.mdo-grid > .elementor-element { height: 100%; }
@media (max-width: 1024px) {
	body.mdo .e-con.mdo-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
	body.mdo .e-con.mdo-grid--3 { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; gap: 16px; }
}
@media (max-width: 767px) {
	body.mdo .e-con.mdo-grid--2, body.mdo .e-con.mdo-grid--4 { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; gap: 16px; }
}

/* ---------- Typography ---------- */

body.mdo .mdo-eyebrow .elementor-heading-title,
body.mdo .mdo-eyebrow-txt {
	display: block;
	margin: 0 0 12px;
	font-family: var(--mdo-font);
	font-size: 13px;
	line-height: 1.3;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--mdo-warm);
}
body.mdo .mdo-sec--navy .mdo-eyebrow .elementor-heading-title,
body.mdo .mdo-sec--navy2 .mdo-eyebrow .elementor-heading-title,
body.mdo .mdo-on-dark .mdo-eyebrow-txt,
body.mdo .mdo-sec--navy .mdo-eyebrow-txt,
body.mdo .mdo-sec--navy2 .mdo-eyebrow-txt { color: var(--mdo-warm-on-dark); }

body.mdo .mdo-h1 .elementor-heading-title,
body.mdo .mdo-h2 .elementor-heading-title,
body.mdo .mdo-h3 .elementor-heading-title {
	font-family: var(--mdo-font);
	color: var(--mdo-ink);
	font-weight: 750;
	margin: 0;
	text-wrap: balance;
}
body.mdo .mdo-h1 .elementor-heading-title { font-size: var(--mdo-fs-h1); line-height: 1.04; letter-spacing: -0.025em; font-weight: 800; }
body.mdo .mdo-h2 .elementor-heading-title { font-size: var(--mdo-fs-h2); line-height: 1.08; letter-spacing: -0.022em; }
body.mdo .mdo-h3 .elementor-heading-title { font-size: var(--mdo-fs-h3); line-height: 1.2; letter-spacing: -0.012em; font-weight: 700; }
body.mdo .mdo-sec--navy .elementor-heading-title,
body.mdo .mdo-sec--navy2 .elementor-heading-title { color: var(--mdo-on-dark); }
body.mdo .mdo-sec--navy .mdo-eyebrow .elementor-heading-title,
body.mdo .mdo-sec--navy2 .mdo-eyebrow .elementor-heading-title { color: var(--mdo-warm-on-dark); }

body.mdo .mdo-text,
body.mdo .mdo-text p,
body.mdo .mdo-lead,
body.mdo .mdo-lead p {
	font-family: var(--mdo-font);
	font-size: var(--mdo-fs-body);
	line-height: 1.65;
	color: var(--mdo-text);
}
body.mdo .mdo-lead, body.mdo .mdo-lead p { font-size: var(--mdo-fs-lead); line-height: 1.6; }
body.mdo .mdo-text p, body.mdo .mdo-lead p { margin: 0 0 1em; max-width: 68ch; }
body.mdo .mdo-text p:last-child, body.mdo .mdo-lead p:last-child { margin-bottom: 0; }
body.mdo .mdo-text strong { color: var(--mdo-ink); font-weight: 700; }
body.mdo .mdo-text a { color: var(--mdo-navy); text-decoration-color: var(--mdo-red); text-underline-offset: 3px; font-weight: 600; }
body.mdo .mdo-sec--navy .mdo-text, body.mdo .mdo-sec--navy .mdo-text p,
body.mdo .mdo-sec--navy .mdo-lead, body.mdo .mdo-sec--navy .mdo-lead p,
body.mdo .mdo-sec--navy2 .mdo-text, body.mdo .mdo-sec--navy2 .mdo-text p,
body.mdo .mdo-sec--navy2 .mdo-lead, body.mdo .mdo-sec--navy2 .mdo-lead p { color: var(--mdo-on-dark-soft); }
body.mdo .mdo-sec--navy .mdo-text strong, body.mdo .mdo-sec--navy2 .mdo-text strong { color: #fff; }
body.mdo .mdo-sec--navy .mdo-text a, body.mdo .mdo-sec--navy2 .mdo-text a { color: #fff; }

/* Section heads: eyebrow → 12px → heading → 20px → lead */
body.mdo .e-con.mdo-head { display: flex; flex-direction: column; max-width: 780px; }
body.mdo .e-con.mdo-head--wide { max-width: 980px; }
body.mdo .e-con.mdo-head--center { align-items: center; text-align: center; margin-inline: auto; }
body.mdo .e-con.mdo-head--center .mdo-text p, body.mdo .e-con.mdo-head--center .mdo-lead p { margin-inline: auto; }
body.mdo .mdo-head .mdo-h1, body.mdo .mdo-head .mdo-h2, body.mdo .mdo-head .mdo-h3 { margin-bottom: 20px; }
body.mdo .mdo-head > .elementor-element:last-child { margin-bottom: 0; }
body.mdo .mdo-head .mdo-btns { margin-top: 12px; }

/* ---------- Buttons ---------- */

.mdo-btn,
body.mdo .mdo-b .elementor-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 54px;
	padding: 0 26px;
	border-radius: var(--mdo-r-sm);
	border: 1.5px solid transparent;
	font-family: var(--mdo-font);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: 0.01em;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s var(--mdo-ease), border-color 0.2s var(--mdo-ease), color 0.2s var(--mdo-ease), transform 0.2s var(--mdo-ease);
	white-space: nowrap;
}
body.mdo .mdo-b .elementor-button .elementor-button-content-wrapper { gap: 10px; align-items: center; }
body.mdo .mdo-btn--red, body.mdo .mdo-b--red .elementor-button { background: var(--mdo-red); color: #fff; }
body.mdo .mdo-btn--red:hover, body.mdo .mdo-b--red .elementor-button:hover { background: var(--mdo-red-hover); color: #fff; }
body.mdo .mdo-b--light .elementor-button, body.mdo .mdo-btn--light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.42); }
body.mdo .mdo-b--light .elementor-button:hover, body.mdo .mdo-btn--light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.06); color: #fff; }
body.mdo .mdo-b--dark .elementor-button, body.mdo .mdo-btn--ghost-dark { background: transparent; color: var(--mdo-navy); border-color: var(--mdo-line-strong); }
body.mdo .mdo-b--dark .elementor-button:hover, body.mdo .mdo-btn--ghost-dark:hover { border-color: var(--mdo-navy); color: var(--mdo-navy); }
.mdo-btn--block { width: 100%; }
.mdo-btn .mdo-i, body.mdo .mdo-b .mdo-i { width: 18px; height: 18px; fill: currentColor; flex: none; }

body.mdo .e-con.mdo-btns { display: flex; flex-direction: row; flex-wrap: wrap; gap: 14px; align-items: center; }
body.mdo .e-con.mdo-btns > .elementor-element { width: auto; }
body.mdo.mdo-no-phone .mdo-needs-phone { display: none !important; }

/* Inline text link with arrow */
.mdo-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 16px; color: var(--mdo-navy); text-decoration: none; }
.mdo-arrow::after { content: "\2192"; font-weight: 700; color: var(--mdo-red); transition: transform 0.2s var(--mdo-ease); }
.mdo-arrow:hover::after, a:hover .mdo-arrow::after { transform: translateX(4px); }
.mdo-sec--navy .mdo-arrow::after, .mdo-vs .mdo-arrow::after, .mdo-card--dark .mdo-arrow::after { color: var(--mdo-warm-on-dark); }
.mdo-arrow span { border-bottom: 2px solid transparent; }

/* ---------- Hero (home: content + glass form) ---------- */

body.mdo .e-con.mdo-hero {
	--mdo-hero-img: url("/wp-content/uploads/2026/10/mdo-white-porch-dark-entry-door-1536x1024.webp");
	position: relative;
	overflow: hidden;
	background: var(--mdo-navy);
	padding: 88px var(--mdo-gutter) 96px;
	isolation: isolate;
}
body.mdo .e-con.mdo-hero::before {
	content: ""; position: absolute; inset: 0; z-index: -2;
	background-image: var(--mdo-hero-img, none);
	background-size: cover; background-position: center 55%;
	opacity: 0.22; filter: grayscale(35%) contrast(1.05);
}
body.mdo .e-con.mdo-hero::after {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background:
		linear-gradient(90deg, rgba(6, 32, 44, 0.97) 0%, rgba(6, 32, 44, 0.9) 42%, rgba(6, 32, 44, 0.72) 100%),
		linear-gradient(0deg, rgba(6, 32, 44, 0.65) 0%, rgba(6, 32, 44, 0) 35%);
}
body.mdo .e-con.mdo-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 53fr) minmax(0, 47fr);
	gap: 64px;
	align-items: center;
}
body.mdo .mdo-hero .mdo-h1 .elementor-heading-title { color: #fff; max-width: 14ch; }
body.mdo .mdo-hero .mdo-lead, body.mdo .mdo-hero .mdo-lead p { color: var(--mdo-on-dark-soft); max-width: 52ch; }
body.mdo .mdo-hero .mdo-head { max-width: none; }
body.mdo .mdo-hero .mdo-h1 { margin-bottom: 24px; }
body.mdo .e-con.mdo-hero .mdo-btns { margin-top: 34px; }

.mdo-hero-points { list-style: none; margin: 40px 0 0; padding: 28px 0 0; border-top: 1px solid var(--mdo-on-dark-line); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.mdo-hero-points li { display: flex; flex-direction: column; gap: 6px; font-size: 15px; line-height: 1.45; color: var(--mdo-on-dark-soft); }
.mdo-hero-points strong { font-size: 17px; color: #fff; font-weight: 700; }

@media (max-width: 1200px) { body.mdo .e-con.mdo-hero__grid { gap: 44px; } }
@media (max-width: 960px) {
	body.mdo .e-con.mdo-hero { padding-top: 64px; padding-bottom: 72px; }
	body.mdo .e-con.mdo-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }
	body.mdo .mdo-hero .mdo-h1 .elementor-heading-title { max-width: 18ch; }
	body.mdo .e-con.mdo-hero .mdo-formcard-wrap { max-width: 680px; }
}
@media (max-width: 767px) {
	body.mdo .e-con.mdo-hero { padding-top: 44px; padding-bottom: 48px; }
	.mdo-hero-points { grid-template-columns: 1fr; gap: 14px; margin-top: 28px; padding-top: 22px; }
	.mdo-hero-points li { gap: 2px; }
	body.mdo .e-con.mdo-hero .mdo-btns { margin-top: 26px; }
}

/* ---------- Inner page hero (content + diagram) ---------- */

body.mdo .e-con.mdo-phero {
	background: var(--mdo-navy);
	padding: 72px var(--mdo-gutter) 88px;
	position: relative;
	overflow: hidden;
	isolation: isolate;
}
body.mdo .e-con.mdo-phero::after {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
	background-size: 44px 44px;
	mask-image: linear-gradient(90deg, transparent 30%, #000 70%);
	-webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 70%);
}
body.mdo .mdo-phero .mdo-h1 .elementor-heading-title { color: #fff; }
body.mdo .mdo-phero .mdo-lead, body.mdo .mdo-phero .mdo-lead p { color: var(--mdo-on-dark-soft); }
body.mdo .mdo-phero .mdo-h1 { margin-bottom: 22px; }
body.mdo .e-con.mdo-phero .mdo-btns { margin-top: 32px; }
body.mdo .e-con.mdo-phero .mdo-head { max-width: 640px; }

.mdo-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 28px; padding: 0; list-style: none; font-size: 14px; color: var(--mdo-on-dark-soft); }
.mdo-crumbs a { color: var(--mdo-on-dark-soft); text-decoration: none; }
.mdo-crumbs a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.mdo-crumbs li + li::before { content: "/"; margin-right: 8px; color: rgba(255, 255, 255, 0.35); }
.mdo-crumbs [aria-current] { color: #fff; }

@media (max-width: 960px) { body.mdo .e-con.mdo-phero { padding-top: 56px; padding-bottom: 64px; } }
@media (max-width: 767px) { body.mdo .e-con.mdo-phero { padding-top: 36px; padding-bottom: 48px; } .mdo-crumbs { margin-bottom: 20px; } }

/* ---------- Diagrams (inline SVG) ---------- */

.mdo-dg { position: relative; width: 100%; margin: 0; }
.mdo-dg svg { display: block; width: 100%; height: auto; overflow: visible; }
.mdo-dg figcaption { margin-top: 14px; font-size: 13px; line-height: 1.5; color: var(--mdo-text-soft); }
.mdo-dg--dark figcaption { color: rgba(255, 255, 255, 0.6); }
.mdo-dg--panel { background: var(--mdo-navy-2); border: 1px solid var(--mdo-on-dark-line); border-radius: var(--mdo-r-lg); padding: 28px; }
.mdo-dg--card { background: #fff; border: 1px solid var(--mdo-line); border-radius: var(--mdo-r-lg); padding: 28px; box-shadow: var(--mdo-shadow); }

/* SVG tokens */
.mdo-dg .s-frame { fill: none; stroke: #fff; stroke-width: 2; }
.mdo-dg .s-line { fill: none; stroke: rgba(255, 255, 255, 0.55); stroke-width: 1.5; }
.mdo-dg .s-faint { fill: none; stroke: rgba(255, 255, 255, 0.18); stroke-width: 1; }
.mdo-dg .s-fill { fill: rgba(255, 255, 255, 0.06); }
.mdo-dg .s-fill2 { fill: rgba(255, 255, 255, 0.12); }
.mdo-dg .s-warm { fill: none; stroke: var(--mdo-warm-on-dark); stroke-width: 2; }
.mdo-dg .s-warmfill { fill: var(--mdo-warm-on-dark); }
.mdo-dg .s-red { fill: none; stroke: #ff6b6b; stroke-width: 2; }
.mdo-dg .s-redfill { fill: var(--mdo-red); }
.mdo-dg .s-dot { fill: var(--mdo-red); stroke: var(--mdo-navy-2); stroke-width: 3; }
.mdo-dg .t-lbl { font: 700 12px var(--mdo-font); letter-spacing: 0.14em; fill: #fff; text-transform: uppercase; }
.mdo-dg .t-sub { font: 500 12px var(--mdo-font); fill: rgba(255, 255, 255, 0.62); }
.mdo-dg .t-num { font: 800 12px var(--mdo-font); fill: #fff; }
.mdo-dg .t-big { font: 800 15px var(--mdo-font); fill: #fff; }
.mdo-dg--card .s-frame, .mdo-dg--light .s-frame { stroke: var(--mdo-navy); }
.mdo-dg--card .s-line, .mdo-dg--light .s-line { stroke: rgba(6, 32, 44, 0.45); }
.mdo-dg--card .s-faint, .mdo-dg--light .s-faint { stroke: rgba(6, 32, 44, 0.14); }
.mdo-dg--card .s-fill, .mdo-dg--light .s-fill { fill: rgba(6, 32, 44, 0.04); }
.mdo-dg--card .s-fill2, .mdo-dg--light .s-fill2 { fill: rgba(6, 32, 44, 0.08); }
.mdo-dg--card .s-warm, .mdo-dg--light .s-warm { stroke: var(--mdo-warm); }
.mdo-dg--card .s-warmfill, .mdo-dg--light .s-warmfill { fill: var(--mdo-warm); }
.mdo-dg--card .s-dot, .mdo-dg--light .s-dot { stroke: #fff; }
.mdo-dg--card .t-lbl, .mdo-dg--light .t-lbl { fill: var(--mdo-navy); }
.mdo-dg--card .t-sub, .mdo-dg--light .t-sub { fill: var(--mdo-text-soft); }
.mdo-dg--card .t-big, .mdo-dg--light .t-big { fill: var(--mdo-navy); }

/* Diagram legends (HTML, so text stays readable at every width) */
.mdo-legend { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
.mdo-legend li { display: flex; gap: 12px; align-items: baseline; font-size: 15px; line-height: 1.45; color: var(--mdo-on-dark-soft); }
.mdo-legend b { flex: none; display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--mdo-red); color: #fff; font-size: 12px; font-weight: 800; transform: translateY(-1px); }
.mdo-legend strong { color: #fff; font-weight: 700; }
.mdo-dg--card .mdo-legend li { color: var(--mdo-text); }
.mdo-dg--card .mdo-legend strong { color: var(--mdo-ink); }
@media (max-width: 520px) { .mdo-legend { grid-template-columns: 1fr; } }

/* ---------- Trust strip ---------- */

body.mdo .e-con.mdo-trust { background: #fff; border-bottom: 1px solid var(--mdo-line); padding: 0 var(--mdo-gutter); }
.mdo-trust__list { list-style: none; margin: 0 auto; padding: 0; max-width: var(--mdo-max); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mdo-trust__list li { display: flex; align-items: center; gap: 16px; padding: 30px 28px; border-left: 1px solid var(--mdo-line); }
.mdo-trust__list li:first-child { border-left: 0; padding-left: 0; }
.mdo-trust__ico { flex: none; width: 44px; height: 44px; border-radius: var(--mdo-r); background: var(--mdo-light); display: grid; place-items: center; color: var(--mdo-navy); }
.mdo-trust__ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mdo-trust__list strong { display: block; font-size: 17px; line-height: 1.25; color: var(--mdo-ink); font-weight: 700; }
.mdo-trust__list span { display: block; font-size: 14px; line-height: 1.4; color: var(--mdo-text-soft); margin-top: 2px; }
@media (max-width: 1024px) {
	.mdo-trust__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mdo-trust__list li { padding: 24px 20px; border-left: 0; border-top: 1px solid var(--mdo-line); }
	.mdo-trust__list li:nth-child(-n+2) { border-top: 0; }
	.mdo-trust__list li:nth-child(odd) { padding-left: 0; }
	.mdo-trust__list li:nth-child(even) { border-left: 1px solid var(--mdo-line); }
}
@media (max-width: 560px) {
	.mdo-trust__list { grid-template-columns: 1fr; }
	.mdo-trust__list li, .mdo-trust__list li:nth-child(even) { padding: 18px 0; border-left: 0; border-top: 1px solid var(--mdo-line); }
	.mdo-trust__list li:first-child { border-top: 0; }
}

/* ---------- Cards ---------- */

.mdo-card {
	height: 100%;
	display: flex; flex-direction: column;
	background: #fff;
	border: 1px solid var(--mdo-line);
	border-radius: var(--mdo-r);
	padding: 32px;
	transition: border-color 0.2s var(--mdo-ease), box-shadow 0.2s var(--mdo-ease), transform 0.2s var(--mdo-ease);
	text-decoration: none;
	color: inherit;
}
a.mdo-card:hover { border-color: var(--mdo-line-strong); box-shadow: var(--mdo-shadow-lift); transform: translateY(-2px); }
.mdo-card__ico { width: 52px; height: 52px; border-radius: var(--mdo-r); background: var(--mdo-light); color: var(--mdo-navy); display: grid; place-items: center; margin-bottom: 24px; flex: none; }
.mdo-card__ico svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.mdo-card .mdo-card__k, .mdo-card__k { font: 700 12px/1 var(--mdo-font); letter-spacing: 0.16em; text-transform: uppercase; color: var(--mdo-warm); margin: 0 0 12px; }
.mdo-card h3, .mdo-card .mdo-card__t { margin: 0 0 12px; font: 700 var(--mdo-fs-h4)/1.25 var(--mdo-font); letter-spacing: -0.01em; color: var(--mdo-ink); }
.mdo-card p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--mdo-text); }
.mdo-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 16px; line-height: 1.5; }
.mdo-card__foot { margin-top: auto; padding-top: 24px; }
.mdo-card--light { background: var(--mdo-light); border-color: transparent; }
.mdo-sec--light .mdo-card--light { background: #fff; border-color: var(--mdo-line); }
.mdo-card--dark { background: var(--mdo-navy-2); border-color: var(--mdo-on-dark-line); }
.mdo-card--dark h3, .mdo-card--dark .mdo-card__t { color: #fff; }
.mdo-card--dark p, .mdo-card--dark li { color: var(--mdo-on-dark-soft); }
.mdo-card--dark .mdo-card__ico { background: rgba(255, 255, 255, 0.08); color: #fff; }
.mdo-card--dark .mdo-card__k, .mdo-card.mdo-card--dark .mdo-card__k { color: var(--mdo-warm-on-dark); }
@media (max-width: 860px) {
	.mdo-grid--3 .mdo-card--row { display: grid; grid-template-columns: auto 1fr; column-gap: 20px; padding: 24px; }
	.mdo-grid--3 .mdo-card--row .mdo-card__ico { grid-row: span 3; margin-bottom: 0; }
	.mdo-grid--3 .mdo-card--row .mdo-card__foot { padding-top: 14px; }
}
@media (max-width: 767px) { .mdo-card { padding: 24px; } }

/* Checklist */
.mdo-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.mdo-checks li { position: relative; padding-left: 34px; font-size: 17px; line-height: 1.5; color: var(--mdo-text); }
.mdo-checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--mdo-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23dd3333' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.mdo-checks strong { color: var(--mdo-ink); }
.mdo-checks--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 32px; }
.mdo-sec--navy .mdo-checks li, .mdo-sec--navy2 .mdo-checks li, .mdo-on-dark .mdo-checks li { color: var(--mdo-on-dark-soft); }
.mdo-sec--navy .mdo-checks li::before, .mdo-sec--navy2 .mdo-checks li::before, .mdo-on-dark .mdo-checks li::before { background-color: rgba(255, 255, 255, 0.1); }
.mdo-sec--navy .mdo-checks strong, .mdo-sec--navy2 .mdo-checks strong { color: #fff; }
@media (max-width: 600px) { .mdo-checks--2 { grid-template-columns: 1fr; } }

/* ---------- Homepage: why doors matter (role rows) ---------- */

.mdo-roles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--mdo-line); }
.mdo-roles li { display: grid; grid-template-columns: 44px 1fr; gap: 4px 18px; padding: 28px 28px 28px 0; border-bottom: 1px solid var(--mdo-line); }
.mdo-roles li:nth-child(even) { padding: 28px 0 28px 28px; border-left: 1px solid var(--mdo-line); }
.mdo-roles svg { grid-row: span 2; width: 44px; height: 44px; padding: 10px; border-radius: var(--mdo-r); background: var(--mdo-light); color: var(--mdo-navy); fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mdo-roles strong { font-size: 18px; line-height: 1.3; color: var(--mdo-ink); padding-top: 1px; }
.mdo-roles span { font-size: 16px; line-height: 1.55; color: var(--mdo-text); }
@media (max-width: 600px) {
	.mdo-roles { grid-template-columns: 1fr; }
	.mdo-roles li, .mdo-roles li:nth-child(even) { padding: 22px 0; border-left: 0; }
}

/* ---------- Homepage: services index ---------- */

.mdo-svc3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.mdo-svc { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--mdo-line); border-radius: var(--mdo-r); overflow: hidden; text-decoration: none; color: inherit; transition: box-shadow 0.2s var(--mdo-ease), transform 0.2s var(--mdo-ease), border-color 0.2s; }
.mdo-svc:hover { box-shadow: var(--mdo-shadow-lift); transform: translateY(-2px); border-color: var(--mdo-line-strong); }
.mdo-svc__art { background: var(--mdo-navy); aspect-ratio: 16 / 9; display: grid; place-items: center; padding: 22px; border-bottom: 3px solid var(--mdo-red); }
.mdo-svc__art svg { width: 100%; height: 100%; max-height: 150px; }
.mdo-svc__body { padding: 28px 30px 30px; display: flex; flex-direction: column; flex: 1; }
.mdo-svc__body h3 { margin: 0 0 10px; font: 700 23px/1.2 var(--mdo-font); letter-spacing: -0.01em; color: var(--mdo-ink); }
.mdo-svc__body p { margin: 0 0 22px; font-size: 16px; line-height: 1.6; color: var(--mdo-text); }
.mdo-svc__body .mdo-arrow { margin-top: auto; }

.mdo-types { margin-top: 24px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); background: #fff; border: 1px solid var(--mdo-line); border-radius: var(--mdo-r); overflow: hidden; }
.mdo-type { display: flex; flex-direction: column; gap: 8px; padding: 26px 24px 24px; border-left: 1px solid var(--mdo-line); text-decoration: none; color: inherit; transition: background-color 0.2s var(--mdo-ease); }
.mdo-type:first-child { border-left: 0; }
.mdo-type:hover { background: var(--mdo-light); }
.mdo-type__k { font: 700 11px/1 var(--mdo-font); letter-spacing: 0.16em; text-transform: uppercase; color: var(--mdo-warm); }
.mdo-type strong { font-size: 18px; line-height: 1.25; color: var(--mdo-ink); }
.mdo-type span:not(.mdo-type__k) { font-size: 15px; line-height: 1.5; color: var(--mdo-text-soft); }
.mdo-type em { margin-top: auto; padding-top: 10px; font-style: normal; font-weight: 700; font-size: 14px; color: var(--mdo-navy); }
@media (max-width: 1024px) {
	.mdo-svc__body { padding: 24px; }
	.mdo-types { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.mdo-type { border-top: 1px solid var(--mdo-line); }
	.mdo-type:nth-child(-n+3) { border-top: 0; }
	.mdo-type:nth-child(3n+1) { border-left: 0; }
}
@media (max-width: 860px) {
	.mdo-svc3 { grid-template-columns: 1fr; gap: 16px; }
	.mdo-svc { display: grid; grid-template-columns: 220px 1fr; }
	.mdo-svc__art { aspect-ratio: auto; border-bottom: 0; border-right: 3px solid var(--mdo-red); }
	.mdo-types { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mdo-type, .mdo-type:nth-child(-n+3) { border-top: 1px solid var(--mdo-line); border-left: 1px solid var(--mdo-line); }
	.mdo-type:nth-child(-n+2) { border-top: 0; }
	.mdo-type:nth-child(odd) { border-left: 0; }
	.mdo-type:last-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
	.mdo-svc { grid-template-columns: 1fr; }
	.mdo-svc__art { aspect-ratio: 16 / 8; border-right: 0; border-bottom: 3px solid var(--mdo-red); }
	.mdo-types { grid-template-columns: 1fr; }
	.mdo-type, .mdo-type:nth-child(-n+3), .mdo-type:nth-child(odd) { border-left: 0; border-top: 1px solid var(--mdo-line); padding: 20px; }
	.mdo-type:first-child { border-top: 0; }
}

/* ---------- Entry vs patio split ---------- */

.mdo-vs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-radius: var(--mdo-r-lg); overflow: hidden; border: 1px solid var(--mdo-on-dark-line); }
.mdo-vs__side { position: relative; padding: 44px 44px 40px; background: var(--mdo-navy-2); display: flex; flex-direction: column; }
.mdo-vs__side + .mdo-vs__side { background: #11405a; border-left: 1px solid var(--mdo-on-dark-line); }
.mdo-vs__art { height: 190px; margin: -4px 0 30px; }
.mdo-vs__art svg { height: 100%; width: auto; max-width: 100%; display: block; }
.mdo-vs h3 { margin: 0 0 12px; font: 750 30px/1.15 var(--mdo-font); letter-spacing: -0.015em; color: #fff; }
.mdo-vs p { margin: 0 0 24px; font-size: 17px; line-height: 1.6; color: var(--mdo-on-dark-soft); max-width: 46ch; }
.mdo-vs__tags { list-style: none; margin: 0 0 30px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.mdo-vs__tags li { padding: 7px 12px; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 999px; font-size: 14px; font-weight: 600; color: #fff; }
.mdo-vs .mdo-arrow { color: #fff; margin-top: auto; }
@media (max-width: 700px) {
	.mdo-vs { grid-template-columns: 1fr; }
	.mdo-vs__side + .mdo-vs__side { border-left: 0; border-top: 1px solid var(--mdo-on-dark-line); }
}
@media (max-width: 767px) { .mdo-vs__side { padding: 32px 24px; } .mdo-vs__art { height: 150px; } .mdo-vs h3 { font-size: 26px; } }

/* ---------- Signs (inspection checklist) ---------- */

.mdo-signs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--mdo-line); }
.mdo-signs li { display: flex; gap: 16px; align-items: flex-start; padding: 24px 24px 24px 0; border-bottom: 1px solid var(--mdo-line); }
.mdo-signs li:nth-child(3n+2), .mdo-signs li:nth-child(3n) { padding-left: 24px; border-left: 1px solid var(--mdo-line); }
.mdo-signs__n { flex: none; font: 800 13px/1 var(--mdo-font); color: var(--mdo-red); letter-spacing: 0.06em; padding-top: 5px; min-width: 22px; }
.mdo-signs strong { display: block; font-size: 18px; line-height: 1.3; color: var(--mdo-ink); margin-bottom: 4px; }
.mdo-signs span { display: block; font-size: 15px; line-height: 1.55; color: var(--mdo-text); }
@media (max-width: 1024px) {
	.mdo-signs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mdo-signs li, .mdo-signs li:nth-child(3n+2), .mdo-signs li:nth-child(3n) { padding: 22px 22px 22px 0; border-left: 0; }
	.mdo-signs li:nth-child(even) { padding-left: 22px; padding-right: 0; border-left: 1px solid var(--mdo-line); }
}
@media (max-width: 600px) {
	.mdo-signs { grid-template-columns: 1fr; }
	.mdo-signs li, .mdo-signs li:nth-child(even) { padding: 20px 0; border-left: 0; }
}

/* ---------- Repair vs replacement comparison ---------- */

.mdo-cmp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.mdo-cmp__col { background: #fff; border: 1px solid var(--mdo-line); border-radius: var(--mdo-r); padding: 36px; display: flex; flex-direction: column; }
.mdo-cmp__col--rep { border-top: 4px solid var(--mdo-navy-3); }
.mdo-cmp__col--new { border-top: 4px solid var(--mdo-red); }
.mdo-cmp__k { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: var(--mdo-light); font: 700 12px/1 var(--mdo-font); letter-spacing: 0.14em; text-transform: uppercase; color: var(--mdo-navy); margin-bottom: 18px; }
.mdo-cmp__col--new .mdo-cmp__k { background: #fdecec; color: #a32020; }
.mdo-cmp h3 { margin: 0 0 12px; font: 750 26px/1.2 var(--mdo-font); color: var(--mdo-ink); letter-spacing: -0.012em; }
.mdo-cmp p { margin: 0 0 22px; font-size: 16px; line-height: 1.6; color: var(--mdo-text); }
.mdo-cmp ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--mdo-line); }
.mdo-cmp li { display: flex; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--mdo-line); font-size: 16px; line-height: 1.5; color: var(--mdo-text); }
.mdo-cmp li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 8px; border-radius: 2px; background: var(--mdo-navy-3); }
.mdo-cmp__col--new li::before { background: var(--mdo-red); }
.mdo-cmp__note { margin-top: 24px; font-size: 15px; line-height: 1.55; color: var(--mdo-text-soft); }
.mdo-note { display: flex; gap: 14px; align-items: flex-start; margin-top: 28px; padding: 20px 24px; border-radius: var(--mdo-r); background: #fff; border: 1px solid var(--mdo-line); font-size: 16px; line-height: 1.6; color: var(--mdo-text); }
.mdo-note svg { flex: none; width: 22px; height: 22px; margin-top: 2px; fill: none; stroke: var(--mdo-warm); stroke-width: 2; stroke-linecap: round; }
.mdo-sec--light .mdo-note { background: #fff; }
.mdo-sec--white .mdo-note { background: var(--mdo-light); border-color: transparent; }
@media (max-width: 1024px) { .mdo-cmp__col { padding: 30px 26px; } .mdo-vs__side { padding: 36px 30px 32px; } }
@media (max-width: 700px) { .mdo-cmp { grid-template-columns: 1fr; gap: 16px; } .mdo-cmp__col { padding: 28px 24px; } }

/* ---------- Materials / brands (distinct from service cards) ---------- */

.mdo-mats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--mdo-line); border-radius: var(--mdo-r-lg); overflow: hidden; background: #fff; }
.mdo-mat { display: flex; flex-direction: column; text-decoration: none; color: inherit; border-left: 1px solid var(--mdo-line); transition: background-color 0.2s; }
.mdo-mat:first-child { border-left: 0; }
.mdo-mat:hover { background: #fbfdfe; }
.mdo-mat__sw { aspect-ratio: 300 / 168; position: relative; overflow: hidden; border-bottom: 1px solid var(--mdo-line); }
.mdo-mat__sw svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.mdo-mat__body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.mdo-mat__k { font: 700 11px/1 var(--mdo-font); letter-spacing: 0.16em; text-transform: uppercase; color: var(--mdo-warm); margin-bottom: 10px; }
.mdo-mat h3 { margin: 0 0 10px; font: 700 22px/1.2 var(--mdo-font); color: var(--mdo-ink); }
.mdo-mat p { margin: 0 0 20px; font-size: 15px; line-height: 1.6; color: var(--mdo-text); }
.mdo-mat .mdo-arrow { margin-top: auto; font-size: 15px; }
@media (max-width: 1024px) {
	.mdo-mats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mdo-mat:nth-child(3) { border-left: 0; }
	.mdo-mat:nth-child(n+3) { border-top: 1px solid var(--mdo-line); }
}
@media (max-width: 600px) {
	.mdo-mats { grid-template-columns: 1fr; }
	.mdo-mat { border-left: 0; }
	.mdo-mat + .mdo-mat { border-top: 1px solid var(--mdo-line); }
}

/* ---------- Weather factors ---------- */

.mdo-wx { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--mdo-on-dark-line); }
.mdo-wx li { padding: 22px 24px 22px 0; border-bottom: 1px solid var(--mdo-on-dark-line); display: grid; grid-template-columns: 36px 1fr; gap: 4px 16px; }
.mdo-wx li:nth-child(even) { padding-left: 24px; padding-right: 0; border-left: 1px solid var(--mdo-on-dark-line); }
.mdo-wx svg { grid-row: span 2; width: 36px; height: 36px; color: var(--mdo-warm-on-dark); fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.mdo-wx strong { font-size: 17px; color: #fff; line-height: 1.3; }
.mdo-wx span { font-size: 15px; line-height: 1.55; color: var(--mdo-on-dark-soft); }
@media (max-width: 600px) {
	.mdo-wx { grid-template-columns: 1fr; }
	.mdo-wx li, .mdo-wx li:nth-child(even) { padding: 18px 0; border-left: 0; }
}

/* ---------- Process ---------- */

.mdo-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; counter-reset: step; position: relative; }
.mdo-steps::before { content: ""; position: absolute; left: 0; right: 0; top: 27px; height: 1px; background: var(--mdo-line-strong); }
.mdo-step { position: relative; display: flex; flex-direction: column; }
.mdo-step__n { position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--mdo-navy); color: #fff; font: 800 17px/1 var(--mdo-font); letter-spacing: 0.02em; margin-bottom: 26px; box-shadow: 0 0 0 8px var(--mdo-light); }
.mdo-sec--white .mdo-step__n { box-shadow: 0 0 0 8px #fff; }
.mdo-step:last-child .mdo-step__n { background: var(--mdo-red); }
.mdo-step h3 { margin: 0 0 10px; font: 700 20px/1.25 var(--mdo-font); color: var(--mdo-ink); }
.mdo-step p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--mdo-text); }
@media (max-width: 1024px) {
	.mdo-steps { grid-template-columns: 1fr; gap: 0; max-width: 720px; }
	.mdo-steps::before { left: 27px; right: auto; top: 28px; bottom: 28px; width: 1px; height: auto; }
	.mdo-step { display: grid; grid-template-columns: 56px 1fr; gap: 0 28px; padding-bottom: 32px; }
	.mdo-step:last-child { padding-bottom: 0; }
	.mdo-step__n { grid-row: span 2; margin-bottom: 0; }
	.mdo-step h3 { padding-top: 14px; }
}
@media (max-width: 767px) {
	.mdo-step { grid-template-columns: 48px 1fr; gap: 0 18px; padding-bottom: 26px; }
	.mdo-step__n { width: 48px; height: 48px; font-size: 15px; }
	.mdo-steps::before { left: 23px; top: 24px; bottom: 24px; }
	.mdo-step h3 { padding-top: 11px; font-size: 19px; }
}

/* ---------- Media (photos) ---------- */

.mdo-photo { position: relative; margin: 0; border-radius: var(--mdo-r-lg); overflow: hidden; background: var(--mdo-light); }
body.mdo .mdo-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mdo-photo--43 { aspect-ratio: 4 / 3; }
.mdo-photo--45 { aspect-ratio: 4 / 5; }
.mdo-photo__tag { position: absolute; left: 14px; top: 14px; padding: 7px 11px; border-radius: 999px; background: rgba(6, 32, 44, 0.86); color: #fff; font: 700 11px/1 var(--mdo-font); letter-spacing: 0.14em; text-transform: uppercase; }
.mdo-photo__tag--after { background: var(--mdo-red); }
.mdo-photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; background: linear-gradient(0deg, rgba(6, 32, 44, 0.85), rgba(6, 32, 44, 0)); color: #fff; font-size: 14px; line-height: 1.4; }

/* Projects */
.mdo-proj { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px; }
.mdo-proj__feature { background: #fff; border: 1px solid var(--mdo-line); border-radius: var(--mdo-r-lg); padding: 14px; display: flex; flex-direction: column; }
.mdo-ba { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mdo-ba .mdo-photo { border-radius: var(--mdo-r); aspect-ratio: 9 / 8; }
.mdo-proj__meta { padding: 22px 12px 10px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 24px; }
.mdo-proj__meta h3 { margin: 4px 0 6px; font: 700 22px/1.25 var(--mdo-font); color: var(--mdo-ink); }
.mdo-proj__meta p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--mdo-text); max-width: 56ch; }
.mdo-proj__loc { font: 700 12px/1 var(--mdo-font); letter-spacing: 0.14em; text-transform: uppercase; color: var(--mdo-warm); }
.mdo-proj__side { display: grid; grid-template-rows: 1fr 1fr; gap: 24px; }
.mdo-proj__card { position: relative; display: flex; flex-direction: column; border-radius: var(--mdo-r-lg); overflow: hidden; min-height: 240px; background: var(--mdo-navy); }
body.mdo .mdo-proj__card img { position: relative; flex: 1 1 auto; min-height: 150px; width: 100%; height: 100%; object-fit: cover; }
.mdo-proj__card div { flex: none; padding: 16px 22px 18px; background: var(--mdo-navy); color: #fff; }
.mdo-proj__card strong { display: block; font-size: 18px; line-height: 1.3; }
.mdo-proj__card span { display: block; margin-top: 4px; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mdo-warm-on-dark); font-weight: 700; }
@media (max-width: 1024px) {
	.mdo-proj { grid-template-columns: 1fr; }
	.mdo-proj__side { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
	.mdo-proj__side { grid-template-columns: 1fr; }
	.mdo-ba { grid-template-columns: 1fr; }
	.mdo-ba .mdo-photo { aspect-ratio: 4 / 3; }
}

/* Reviews */
.mdo-revs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.mdo-rev { margin: 0; height: 100%; display: flex; flex-direction: column; padding: 32px; border-radius: var(--mdo-r); background: #fff; border: 1px solid var(--mdo-line); }
.mdo-rev__stars { display: flex; gap: 3px; margin-bottom: 18px; color: #e8a43a; }
.mdo-rev__stars svg { width: 18px; height: 18px; fill: currentColor; }
.mdo-rev blockquote { margin: 0 0 24px; font-size: 17px; line-height: 1.65; color: var(--mdo-ink); }
.mdo-rev figcaption { font-style: normal; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--mdo-line); display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.mdo-rev figcaption strong { color: var(--mdo-ink); }
.mdo-rev figcaption span { color: var(--mdo-text-soft); }
.mdo-revs-note { margin-top: 24px; font-size: 14px; color: var(--mdo-text-soft); text-align: center; }
@media (max-width: 1024px) { .mdo-revs { grid-template-columns: 1fr; max-width: 760px; margin-inline: auto; } }
@media (max-width: 767px) { .mdo-rev { padding: 24px; } }

/* Owners */
.mdo-owner { position: relative; }
.mdo-owner .mdo-photo { aspect-ratio: 5 / 6; }
.mdo-owner__badge { position: absolute; right: -20px; bottom: 32px; background: var(--mdo-red); color: #fff; border-radius: var(--mdo-r); padding: 20px 22px; box-shadow: var(--mdo-shadow-lift); max-width: 220px; }
.mdo-owner__badge strong { display: block; font-size: 40px; line-height: 1; font-weight: 800; letter-spacing: -0.02em; }
.mdo-owner__badge span { display: block; margin-top: 8px; font-size: 14px; line-height: 1.4; font-weight: 600; }
@media (max-width: 960px) { .mdo-owner { max-width: 520px; } .mdo-owner__badge { right: 16px; } }

.mdo-facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; }
.mdo-facts li { padding-top: 20px; border-top: 2px solid var(--mdo-navy); }
.mdo-facts strong { display: block; margin-bottom: 6px; font-size: 18px; line-height: 1.3; color: var(--mdo-ink); }
.mdo-facts span { display: block; font-size: 16px; line-height: 1.6; color: var(--mdo-text); }
@media (max-width: 600px) { .mdo-facts { grid-template-columns: 1fr; gap: 22px; } }

/* FAQ */
.mdo-faq { border-top: 1px solid var(--mdo-line); }
.mdo-faq details { border-bottom: 1px solid var(--mdo-line); }
.mdo-faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; cursor: pointer; font: 700 19px/1.35 var(--mdo-font); color: var(--mdo-ink); }
.mdo-faq summary::-webkit-details-marker { display: none; }
.mdo-faq summary::after { content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--mdo-line-strong); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' stroke='%2306202c' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/16px no-repeat; transition: transform 0.25s var(--mdo-ease), background-color 0.2s; }
.mdo-faq details[open] summary::after { transform: rotate(45deg); background-color: var(--mdo-light); }
.mdo-faq summary:hover { color: var(--mdo-navy-3); }
.mdo-faq__a { padding: 0 56px 26px 0; font-size: 17px; line-height: 1.65; color: var(--mdo-text); }
.mdo-faq__a p { margin: 0; }
@media (max-width: 767px) { .mdo-faq summary { font-size: 17px; padding: 20px 0; } .mdo-faq__a { padding-right: 0; font-size: 16px; } }

/* CTA band */
body.mdo .e-con.mdo-band { background: var(--mdo-navy); padding: 80px var(--mdo-gutter); position: relative; overflow: hidden; isolation: isolate; }
body.mdo .e-con.mdo-band::before { content: ""; position: absolute; right: -120px; top: -120px; width: 520px; height: 520px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.07); box-shadow: 0 0 0 70px rgba(255, 255, 255, 0.02), 0 0 0 140px rgba(255, 255, 255, 0.015); z-index: -1; }
body.mdo .e-con.mdo-band__row { display: flex; flex-direction: row; justify-content: space-between; align-items: center; gap: 48px; }
body.mdo .mdo-band .mdo-h2 .elementor-heading-title { color: #fff; }
body.mdo .e-con.mdo-band__row > .mdo-btns { flex: none; width: auto; }
body.mdo .mdo-band .mdo-lead p, body.mdo .mdo-band .mdo-lead { color: var(--mdo-on-dark-soft); }
@media (max-width: 960px) { body.mdo .e-con.mdo-band__row { flex-direction: column; align-items: flex-start; gap: 28px; } }
@media (max-width: 767px) { body.mdo .e-con.mdo-band { padding: 56px var(--mdo-gutter); } }

/* Quote section (form + reassurance) */
body.mdo .e-con.mdo-quote { background: var(--mdo-navy); padding: var(--mdo-sec-y) var(--mdo-gutter); position: relative; overflow: hidden; isolation: isolate; }
body.mdo .e-con.mdo-quote::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(800px 400px at 85% 20%, rgba(20, 68, 90, 0.9), transparent 70%); }
.mdo-qpoints { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--mdo-on-dark-line); }
.mdo-qpoints li { display: grid; grid-template-columns: 40px 1fr; gap: 2px 16px; padding: 20px 0; border-bottom: 1px solid var(--mdo-on-dark-line); }
.mdo-qpoints b { grid-row: span 2; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.08); color: #fff; font-size: 14px; font-weight: 800; }
.mdo-qpoints strong { color: #fff; font-size: 17px; }
.mdo-qpoints span { color: var(--mdo-on-dark-soft); font-size: 15px; line-height: 1.55; }
.mdo-qcontact { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 15px; color: var(--mdo-on-dark-soft); }
.mdo-qcontact a { color: #fff; font-weight: 700; text-decoration: none; }
.mdo-qcontact a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Glass quote form (WPForms) ---------- */

body.mdo .e-con.mdo-formcard, .mdo-formcard {
	position: relative;
	padding: 34px 32px 30px;
	border-radius: var(--mdo-r-lg);
	background: rgba(6, 32, 44, 0.8);
	-webkit-backdrop-filter: blur(18px) saturate(115%);
	backdrop-filter: blur(18px) saturate(115%);
	border: 1px solid rgba(255, 255, 255, 0.16);
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.06);
	color: #fff;
}
.mdo-formcard__head { margin-bottom: 20px; }
.mdo-formcard__title { margin: 0 0 6px; font: 750 24px/1.2 var(--mdo-font); letter-spacing: -0.01em; color: #fff; }
.mdo-formcard__sub { margin: 0; font-size: 15px; line-height: 1.5; color: var(--mdo-on-dark-soft); }
@media (max-width: 767px) { body.mdo .e-con.mdo-formcard, .mdo-formcard { padding: 26px 18px 22px; } .mdo-formcard__title { font-size: 22px; } }

body.mdo .mdo-formcard .wpforms-container {
	--wpforms-field-border-radius: 8px;
	--wpforms-field-background-color: rgba(255, 255, 255, 0.08);
	--wpforms-field-border-color: rgba(255, 255, 255, 0.24);
	--wpforms-field-border-color-spare: rgba(255, 255, 255, 0.24);
	--wpforms-field-text-color: #ffffff;
	--wpforms-field-menu-color: #0d3547;
	--wpforms-label-color: #ffffff;
	--wpforms-label-sublabel-color: rgba(255, 255, 255, 0.7);
	--wpforms-label-error-color: #ffb3b3;
	--wpforms-button-border-radius: 8px;
	--wpforms-button-background-color: #dd3333;
	--wpforms-button-text-color: #ffffff;
	--wpforms-field-size-input-height: 52px;
	--wpforms-field-size-input-spacing: 0px;
	--wpforms-field-size-font-size: 16px;
	--wpforms-field-size-padding-h: 16px;
	--wpforms-field-size-checkbox-size: 20px;
	--wpforms-label-size-font-size: 15px;
	--wpforms-button-size-height: 56px;
	--wpforms-button-size-font-size: 16px;
	margin: 0 !important;
	font-family: var(--mdo-font);
}
body.mdo .mdo-formcard .wpforms-form .wpforms-field-container { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
body.mdo .mdo-formcard .wpforms-form .wpforms-field { grid-column: 1 / -1; padding: 0 !important; margin: 0; }
body.mdo .mdo-formcard .wpforms-form .wpforms-field.mdo-half { grid-column: auto; }
body.mdo .mdo-formcard .wpforms-form .wpforms-field-hidden { display: none !important; }

body.mdo .mdo-formcard .wpforms-form input[type="text"],
body.mdo .mdo-formcard .wpforms-form input[type="email"],
body.mdo .mdo-formcard .wpforms-form input[type="tel"],
body.mdo .mdo-formcard .wpforms-form select {
	width: 100%; max-width: none;
	height: 52px; padding: 0 16px;
	border-radius: 8px;
	border: 1px solid rgba(255, 255, 255, 0.24);
	background-color: rgba(255, 255, 255, 0.08);
	color: #fff;
	font: 500 16px/1.2 var(--mdo-font);
	box-shadow: none;
	transition: border-color 0.15s, background-color 0.15s, box-shadow 0.15s;
}
body.mdo .mdo-formcard .wpforms-form input::placeholder { color: rgba(255, 255, 255, 0.74); opacity: 1; }
body.mdo .mdo-formcard .wpforms-form input:hover, body.mdo .mdo-formcard .wpforms-form select:hover { border-color: rgba(255, 255, 255, 0.42); }
body.mdo .mdo-formcard .wpforms-form input:focus, body.mdo .mdo-formcard .wpforms-form select:focus { border-color: #fff; background-color: rgba(255, 255, 255, 0.12); box-shadow: 0 0 0 3px rgba(227, 165, 96, 0.45); outline: none; }
body.mdo .mdo-formcard .wpforms-form select {
	appearance: none; -webkit-appearance: none;
	padding-right: 44px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
body.mdo .mdo-formcard .wpforms-form select.wpforms-field-medium, body.mdo .mdo-formcard .wpforms-form select.wpforms-field-large { max-width: none; }
body.mdo .mdo-formcard .wpforms-form select:invalid, body.mdo .mdo-formcard .wpforms-form select.mdo-empty { color: rgba(255, 255, 255, 0.74); }
body.mdo .mdo-formcard .wpforms-form select option { color: #06202c; background: #fff; }

/* Address: Street full width, then City | State | ZIP (WPForms wraps sub-fields in a fieldset) */
body.mdo .mdo-formcard .wpforms-form .wpforms-field-address fieldset { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr) minmax(0, 0.85fr); gap: 12px; margin: 0; padding: 0; border: 0; min-width: 0; }
body.mdo .mdo-formcard .wpforms-form .wpforms-field-address .wpforms-field-row { display: contents; }
body.mdo .mdo-formcard .wpforms-form .wpforms-field-address .wpforms-field-row::before,
body.mdo .mdo-formcard .wpforms-form .wpforms-field-address .wpforms-field-row::after { content: none !important; display: none !important; }
body.mdo .mdo-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; }
body.mdo .mdo-formcard .wpforms-form .wpforms-field-address .wpforms-field-row:first-of-type > div { grid-column: 1 / -1; }
body.mdo .mdo-formcard .wpforms-form .wpforms-field-address .wpforms-field-row > div:has(.wpforms-field-address-address2),
body.mdo .mdo-formcard .wpforms-form .wpforms-field-address .wpforms-field-row > div:has(.wpforms-field-address-country) { display: none; }
body.mdo .mdo-formcard .wpforms-form .wpforms-field-address .wpforms-field-sublabel { display: none; }
body.mdo .mdo-formcard .wpforms-form .wpforms-field-address input, body.mdo .mdo-formcard .wpforms-form .wpforms-field-address select { margin: 0; }

/* Visible group label + checkboxes */
body.mdo .mdo-formcard .wpforms-form .wpforms-field-checkbox .wpforms-field-label,
body.mdo .mdo-formcard .wpforms-form .mdo-services > .wpforms-field-label {
	margin: 8px 0 12px; padding: 0;
	font: 700 12px/1.3 var(--mdo-font); letter-spacing: 0.14em; text-transform: uppercase; color: #fff;
}
body.mdo .mdo-formcard .wpforms-form .wpforms-required-label { color: #ff9c9c; }
body.mdo .mdo-formcard .wpforms-form .mdo-services ul { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 10px 16px; margin: 0 !important; }
body.mdo .mdo-formcard .wpforms-form .mdo-services ul li { margin: 0 !important; padding: 0 !important; width: auto !important; }
body.mdo .mdo-formcard .wpforms-form .wpforms-field-checkbox ul li { display: flex; align-items: flex-start; gap: 10px; }
body.mdo .mdo-formcard .wpforms-form .wpforms-field-checkbox li label { font: 500 15px/1.4 var(--mdo-font); color: #fff; margin: 0; padding: 0; cursor: pointer; }
body.mdo .mdo-formcard .wpforms-form input[type="checkbox"] {
	appearance: none; -webkit-appearance: none; flex: none;
	width: 20px; height: 20px; margin: 1px 0 0 !important;
	border: 1.5px solid rgba(255, 255, 255, 0.5); border-radius: 4px;
	background: rgba(255, 255, 255, 0.06); cursor: pointer; position: relative;
	transition: background-color 0.15s, border-color 0.15s;
}
body.mdo .mdo-formcard .wpforms-form input[type="checkbox"]::before { content: none !important; }
body.mdo .mdo-formcard .wpforms-form input[type="checkbox"]::after { content: none !important; }
body.mdo .mdo-formcard .wpforms-form input[type="checkbox"]:checked {
	background: #dd3333 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
	border-color: #dd3333;
}
body.mdo .mdo-formcard .wpforms-form input[type="checkbox"]:focus-visible { box-shadow: 0 0 0 3px rgba(227, 165, 96, 0.5); outline: none; }
body.mdo .mdo-formcard .wpforms-form .mdo-confirm { margin-top: 6px !important; padding-top: 16px !important; border-top: 1px solid rgba(255, 255, 255, 0.14); }
body.mdo .mdo-formcard .wpforms-form .mdo-confirm li label { font-size: 14px; color: rgba(255, 255, 255, 0.9); }

body.mdo .mdo-formcard .wpforms-form .mdo-consent { font-size: 12.5px; line-height: 1.55; color: rgba(255, 255, 255, 0.68); }
body.mdo .mdo-formcard .wpforms-form .mdo-consent p { margin: 0; }
body.mdo .mdo-formcard .wpforms-form .mdo-consent a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }

body.mdo .mdo-formcard .wpforms-form .wpforms-submit-container { margin-top: 18px !important; padding: 0 !important; }
body.mdo .mdo-formcard .wpforms-form button[type="submit"],
body.mdo .mdo-formcard .wpforms-form .wpforms-submit {
	width: 100%; height: 56px;
	border: 0; border-radius: 8px;
	background: #dd3333 !important; color: #fff !important;
	font: 800 16px/1 var(--mdo-font) !important; letter-spacing: 0.08em; text-transform: uppercase;
	cursor: pointer; transition: background-color 0.2s var(--mdo-ease);
}
body.mdo .mdo-formcard .wpforms-form button[type="submit"]:hover { background: #c42828 !important; }
body.mdo .mdo-formcard .wpforms-form button[type="submit"]:focus-visible { box-shadow: 0 0 0 3px rgba(227, 165, 96, 0.6) !important; }
body.mdo .mdo-formcard .wpforms-form button[type="submit"]::after { display: none !important; }

body.mdo .mdo-formcard .wpforms-form label.wpforms-error,
body.mdo .mdo-formcard .wpforms-form em.wpforms-error { display: block; margin-top: 6px; font: 600 13px/1.35 var(--mdo-font); color: #ffb3b3; }
body.mdo .mdo-formcard .wpforms-form input.wpforms-error, body.mdo .mdo-formcard .wpforms-form select.wpforms-error { border-color: #ff8a8a !important; }
body.mdo .mdo-formcard .wpforms-confirmation-container-full {
	background: rgba(255, 255, 255, 0.08) !important; border: 1px solid rgba(255, 255, 255, 0.24) !important; color: #fff !important;
	border-radius: 10px; padding: 22px !important; font: 500 17px/1.6 var(--mdo-font);
}
body.mdo .mdo-formcard .wpforms-confirmation-container-full p { color: #fff; margin: 0; }

/* The form adapts to its own width (hero column, quote section, contact) via container queries */
body.mdo .mdo-formcard { container-type: inline-size; container-name: mdoform; }
@container mdoform (max-width: 520px) {
	body.mdo .mdo-formcard .wpforms-form .wpforms-field-address fieldset { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
	body.mdo .mdo-formcard .wpforms-form .wpforms-field-address .wpforms-field-row > div:has(.wpforms-field-address-city) { grid-column: 1 / -1; }
}
@container mdoform (max-width: 420px) {
	body.mdo .mdo-formcard .wpforms-form .wpforms-field.mdo-half { grid-column: 1 / -1; }
	body.mdo .mdo-formcard .wpforms-form .wpforms-field.mdo-name { grid-column: auto; }
	body.mdo .mdo-formcard .wpforms-form .mdo-services > .wpforms-field-label { letter-spacing: 0.06em; }
	body.mdo .mdo-formcard .wpforms-form .mdo-services ul { gap: 10px 12px; }
	body.mdo .mdo-formcard .wpforms-form .wpforms-field-checkbox li label { font-size: 14.5px; }
}
}

/* ---------- Legal pages ---------- */

body.mdo .e-con.mdo-legal-hero { background: var(--mdo-light); padding: 64px var(--mdo-gutter) 48px; border-bottom: 1px solid var(--mdo-line); }
body.mdo .e-con.mdo-legal-hero .mdo-h1 .elementor-heading-title { font-size: clamp(34px, 4vw, 48px); }
.mdo-legal-meta { margin: 14px 0 0; font-size: 15px; color: var(--mdo-text-soft); }
.mdo-legal-flag { display: inline-flex; margin-top: 18px; padding: 8px 12px; border-radius: var(--mdo-r-sm); background: #fff6e8; border: 1px solid #f0d5ad; color: #7a4a10; font-size: 14px; font-weight: 600; }
body.mdo .e-con.mdo-legal { padding: 56px var(--mdo-gutter) var(--mdo-sec-y); }
.mdo-legal-body { max-width: 760px; font-size: 17px; line-height: 1.7; color: var(--mdo-text); }
.mdo-legal-body h2 { margin: 44px 0 14px; font: 750 26px/1.25 var(--mdo-font); color: var(--mdo-ink); letter-spacing: -0.01em; }
.mdo-legal-body h3 { margin: 28px 0 10px; font: 700 19px/1.3 var(--mdo-font); color: var(--mdo-ink); }
.mdo-legal-body h2:first-child { margin-top: 0; }
.mdo-legal-body p { margin: 0 0 16px; }
.mdo-legal-body ul { margin: 0 0 18px; padding-left: 22px; }
.mdo-legal-body li { margin-bottom: 8px; }
.mdo-legal-body a { color: var(--mdo-navy); font-weight: 600; text-underline-offset: 3px; }
.mdo-legal-body address { font-style: normal; }
@media (max-width: 767px) {
	body.mdo .e-con.mdo-legal-hero { padding: 40px 20px 32px; }
	body.mdo .e-con.mdo-legal { padding: 36px 20px 64px; }
	.mdo-legal-body { font-size: 16px; }
	.mdo-legal-body h2 { font-size: 22px; margin-top: 34px; }
}

/* ---------- Contact ---------- */

.mdo-cinfo { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--mdo-line); }
.mdo-cinfo li { display: grid; grid-template-columns: 48px 1fr; gap: 2px 18px; padding: 24px 0; border-bottom: 1px solid var(--mdo-line); }
.mdo-cinfo .mdo-cinfo__ico { grid-row: span 2; width: 48px; height: 48px; border-radius: var(--mdo-r); background: var(--mdo-light); display: grid; place-items: center; }
.mdo-cinfo .mdo-cinfo__ico svg { width: 22px; height: 22px; fill: var(--mdo-navy); }
.mdo-cinfo small { font: 700 12px/1.3 var(--mdo-font); letter-spacing: 0.14em; text-transform: uppercase; color: var(--mdo-warm); padding-top: 3px; }
.mdo-cinfo strong, .mdo-cinfo a { font-size: 18px; line-height: 1.45; color: var(--mdo-ink); font-weight: 700; text-decoration: none; }
.mdo-cinfo a:hover { text-decoration: underline; text-underline-offset: 3px; }
.mdo-cinfo li > :not(.mdo-cinfo__ico) { grid-column: 2; }
.mdo-cinfo p { margin: 4px 0 0; font-size: 15px; color: var(--mdo-text-soft); line-height: 1.5; }

/* Utility */
.mdo-center { text-align: center; }
.mdo-mt-24 { margin-top: 24px; }
.mdo-muted { color: var(--mdo-text-soft); font-size: 14px; }

/* ---------- Dark contexts (hero, page hero, quote, band) ---------- */

body.mdo .mdo-hero .elementor-heading-title,
body.mdo .mdo-phero .elementor-heading-title,
body.mdo .mdo-quote .elementor-heading-title,
body.mdo .mdo-band .elementor-heading-title { color: #fff; }
body.mdo .mdo-hero .mdo-eyebrow .elementor-heading-title,
body.mdo .mdo-phero .mdo-eyebrow .elementor-heading-title,
body.mdo .mdo-quote .mdo-eyebrow .elementor-heading-title,
body.mdo .mdo-band .mdo-eyebrow .elementor-heading-title { color: var(--mdo-warm-on-dark); }
body.mdo .mdo-hero .mdo-text, body.mdo .mdo-hero .mdo-text p, body.mdo .mdo-hero .mdo-lead p,
body.mdo .mdo-phero .mdo-text p, body.mdo .mdo-phero .mdo-lead p,
body.mdo .mdo-quote .mdo-text p, body.mdo .mdo-quote .mdo-lead p,
body.mdo .mdo-band .mdo-text p, body.mdo .mdo-band .mdo-lead p { color: var(--mdo-on-dark-soft); }
body.mdo .e-con.mdo-quote, body.mdo .e-con.mdo-band { background-color: var(--mdo-navy-2); }
body.mdo .e-con.mdo-quote::before { background: radial-gradient(900px 480px at 88% 10%, rgba(20, 68, 90, 0.95), transparent 70%), linear-gradient(180deg, rgba(6, 32, 44, 0.35), rgba(6, 32, 44, 0)); }
body.mdo .e-con.mdo-quote--contact { padding-top: 64px; }
body.mdo .mdo-quote--contact .mdo-h1 .elementor-heading-title { font-size: clamp(34px, 4vw, 52px); }
body.mdo .mdo-quote .mdo-head .mdo-h1 { margin-bottom: 20px; }
body.mdo .mdo-quote .mdo-head .mdo-h2 { margin-bottom: 20px; }
body.mdo .e-con.mdo-quote .mdo-formcard { background: rgba(6, 32, 44, 0.82); }
@media (max-width: 767px) { body.mdo .e-con.mdo-quote--contact { padding-top: 36px; } }

/* Dark-section card/type overrides */
.mdo-sec--navy .mdo-types { background: rgba(255, 255, 255, 0.04); border-color: var(--mdo-on-dark-line); }
.mdo-sec--navy .mdo-type { border-color: var(--mdo-on-dark-line) !important; }
.mdo-sec--navy .mdo-type:hover { background: rgba(255, 255, 255, 0.05); }
.mdo-sec--navy .mdo-type strong, .mdo-sec--navy .mdo-type em { color: #fff; }
.mdo-sec--navy .mdo-type span:not(.mdo-type__k) { color: var(--mdo-on-dark-soft); }
.mdo-sec--navy .mdo-type__k { color: var(--mdo-warm-on-dark); }
.mdo-card--dark .mdo-arrow { color: #fff; }

/* Legal review flag: admins only */
.mdo-legal-flag { display: none !important; }
body.logged-in .mdo-legal-flag { display: inline-flex !important; }

/* Rhythm: every block stacked directly in a section wrapper is spaced the same way */
body.mdo .e-con.mdo-wrap > .elementor-element + .elementor-element { margin-top: 56px; }
body.mdo .e-con.mdo-stack > .mdo-head + .elementor-widget-text-editor,
body.mdo .e-con.mdo-stack > .mdo-head + .elementor-widget-html { margin-top: 24px; }
body.mdo .e-con.mdo-stack > .mdo-head + .mdo-btns { margin-top: 32px; }
body.mdo .e-con.mdo-split--end { align-items: end; }
@media (max-width: 1024px) { body.mdo .e-con.mdo-wrap > .elementor-element + .elementor-element { margin-top: 44px; } }
@media (max-width: 767px) { body.mdo .e-con.mdo-wrap > .elementor-element + .elementor-element { margin-top: 32px; } }
body.mdo .e-con.mdo-legal-hero .mdo-wrap > .elementor-element + .elementor-element { margin-top: 0; }

@media (max-width: 767px) {
	.mdo-dg--panel, .mdo-dg--card { padding: 18px; }
	.mdo-legend li { font-size: 14px; }
}

/* Numbered spec list, 4 columns (installation) */
.mdo-signs--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mdo-signs--4 li, .mdo-signs--4 li:nth-child(3n+2), .mdo-signs--4 li:nth-child(3n) { padding: 26px 22px 26px 0; border-left: 0; }
.mdo-signs--4 li:not(:nth-child(4n+1)) { padding-left: 22px; border-left: 1px solid var(--mdo-line); }
@media (max-width: 1024px) {
	.mdo-signs--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mdo-signs--4 li, .mdo-signs--4 li:not(:nth-child(4n+1)) { padding: 22px 22px 22px 0; border-left: 0; }
	.mdo-signs--4 li:nth-child(even) { padding-left: 22px; padding-right: 0; border-left: 1px solid var(--mdo-line); }
}
@media (max-width: 600px) {
	.mdo-signs--4 { grid-template-columns: 1fr; }
	.mdo-signs--4 li, .mdo-signs--4 li:nth-child(even) { padding: 20px 0; border-left: 0; }
}
.mdo-facts--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1024px) { .mdo-facts--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .mdo-facts--4 { grid-template-columns: 1fr; } }
/* Material study figure */
.mdo-study { margin: 0; background: #fff; border: 1px solid var(--mdo-line); border-radius: var(--mdo-r-lg); overflow: hidden; box-shadow: var(--mdo-shadow); }
.mdo-study__art { position: relative; aspect-ratio: 16 / 10; }
.mdo-study__art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.mdo-study figcaption { padding: 20px 24px 22px; font-size: 15px; line-height: 1.55; color: var(--mdo-text); }
.mdo-study__k { display: block; margin-bottom: 6px; font: 700 12px/1.2 var(--mdo-font); letter-spacing: 0.16em; text-transform: uppercase; color: var(--mdo-warm); }

.mdo-mats--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1024px) { .mdo-mats--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .mdo-mats--3 .mdo-mat:nth-child(n+3) { border-top: 0; } .mdo-mats--3 .mdo-mat:nth-child(3) { border-left: 1px solid var(--mdo-line); } }
@media (max-width: 760px) { .mdo-mats--3 { grid-template-columns: 1fr; } .mdo-mats--3 .mdo-mat, .mdo-mats--3 .mdo-mat:nth-child(3) { border-left: 0; } .mdo-mats--3 .mdo-mat + .mdo-mat { border-top: 1px solid var(--mdo-line); } }

body.mdo .e-con.mdo-split > *, body.mdo .e-con.mdo-hero__grid > * { min-width: 0; }
.mdo-study, .mdo-study__art { max-width: 100%; }
.mdo-study__art { overflow: hidden; }

/* ---------- Real photography (replaces the door diagrams; diagram styles above kept for rollback) ---------- */

.mdo-hphoto { margin: 0; width: 100%; }
.mdo-hphoto__grid { display: grid; gap: 14px; }
.mdo-hphoto--2 .mdo-hphoto__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mdo-hphoto__img { position: relative; overflow: hidden; border-radius: var(--mdo-r-lg); background: var(--mdo-navy-2); aspect-ratio: 4 / 5; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28); }
.mdo-hphoto--2 .mdo-hphoto__img { aspect-ratio: 3 / 4; }
body.mdo .mdo-hphoto__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mdo-hphoto__label { display: block; margin-top: 12px; font: 700 12px/1.2 var(--mdo-font); letter-spacing: 0.16em; text-transform: uppercase; color: var(--mdo-warm-on-dark); }
.mdo-hphoto figcaption { margin-top: 14px; font-size: 14px; line-height: 1.5; color: var(--mdo-on-dark-soft); }
@media (max-width: 960px) { .mdo-hphoto { max-width: 560px; } .mdo-hphoto--1 .mdo-hphoto__img { aspect-ratio: 4 / 3; } }
@media (max-width: 767px) { .mdo-hphoto--1 .mdo-hphoto__img { aspect-ratio: 1 / 1; } .mdo-hphoto__grid { gap: 10px; } }

.mdo-svc__art--photo { padding: 0; place-items: stretch; position: relative; overflow: hidden; }
body.mdo .mdo-svc__art--photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s var(--mdo-ease); }
.mdo-svc:hover .mdo-svc__art--photo img { transform: scale(1.03); }
@media (max-width: 860px) { .mdo-svc__art--photo { min-height: 180px; } }

.mdo-vs__art--photo { height: auto; aspect-ratio: 16 / 10; margin: 0 0 30px; border-radius: var(--mdo-r); overflow: hidden; background: var(--mdo-navy); }
body.mdo .mdo-vs__art--photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 767px) { .mdo-vs__art--photo { height: auto; } }

.mdo-wxphoto { margin: 0; border-radius: var(--mdo-r-lg); overflow: hidden; aspect-ratio: 1 / 1; background: var(--mdo-navy); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25); }
body.mdo .mdo-wxphoto img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 960px) { .mdo-wxphoto { max-width: 560px; aspect-ratio: 4 / 3; } }

/* Project proof: single feature photo + link card to the one Albertville before/after */
.mdo-proj__feature > .mdo-photo { border-radius: var(--mdo-r); }
.mdo-proj__link { display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; min-height: 200px; padding: 26px 24px; border-radius: var(--mdo-r-lg); background: var(--mdo-navy); color: #fff; text-decoration: none; position: relative; overflow: hidden; transition: background-color 0.2s var(--mdo-ease); }
.mdo-proj__link::before { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 0 0 40px rgba(255, 255, 255, 0.03); }
.mdo-proj__link:hover { background: var(--mdo-navy-2); }
.mdo-proj__link strong { font-size: 20px; line-height: 1.25; }
.mdo-proj__link .mdo-proj__loc { color: var(--mdo-warm-on-dark); }
.mdo-proj__link .mdo-arrow { color: #fff; }
/* Project proof: feature photo fills the column height; link card text stays white */
.mdo-proj__feature > .mdo-photo { flex: 1 1 auto; aspect-ratio: auto; min-height: 320px; }
body.mdo a.mdo-proj__link, body.mdo a.mdo-proj__link strong { color: #fff; }
body.mdo a.mdo-proj__link .mdo-proj__loc { color: var(--mdo-warm-on-dark); }
@media (max-width: 1024px) { .mdo-proj__feature > .mdo-photo { aspect-ratio: 16 / 10; min-height: 0; } }
/* Project proof: keep the side column compact so the feature photo is never upscaled past its 900px source */
.mdo-proj__side { grid-template-rows: auto auto; align-content: start; }
.mdo-proj__card { min-height: 0; }
body.mdo .mdo-proj__card img { flex: none; height: 230px; }
.mdo-proj__feature > .mdo-photo { min-height: 0; }
@media (max-width: 1024px) { body.mdo .mdo-proj__card img { height: 200px; } }
/* Equalize: side column stretches to the feature card; storm photo absorbs the extra height */
.mdo-proj__side { grid-template-rows: 1fr auto; align-content: stretch; }
body.mdo .mdo-proj__card img { flex: 1 1 0; height: auto; min-height: 230px; }
@media (max-width: 1024px) { .mdo-proj__side { grid-template-rows: none; } body.mdo .mdo-proj__card img { flex: none; height: 220px; min-height: 0; } }

/* =====================================================================
   Hero brightness (v2): the photo is shown at full strength; darkness is
   localized behind the text column instead of one flat overlay.
   ===================================================================== */

body.mdo .e-con.mdo-hero {
	--mdo-hero-img: url("/wp-content/uploads/2026/10/mdo-white-porch-dark-entry-door.webp");
}
body.mdo .e-con.mdo-hero::before {
	opacity: 1;
	filter: saturate(1.05);
	background-size: 170% auto;
	background-position: 100% 58%; /* puts the front door in the open band between headline and form */
}
body.mdo .e-con.mdo-hero::after {
	background:
		linear-gradient(90deg, rgba(6, 32, 44, 0.93) 0%, rgba(6, 32, 44, 0.88) 36%, rgba(6, 32, 44, 0.52) 47%, rgba(6, 32, 44, 0.3) 56%, rgba(6, 32, 44, 0.38) 100%),
		linear-gradient(0deg, rgba(6, 32, 44, 0.6) 0%, rgba(6, 32, 44, 0) 32%);
}
/* Form stays clearly darker than the brighter backdrop */
body.mdo .e-con.mdo-hero .mdo-formcard { background: rgba(6, 32, 44, 0.86); }

@media (max-width: 1200px) {
	body.mdo .e-con.mdo-hero::before { background-size: 150% auto; }
	body.mdo .e-con.mdo-hero::after {
		background:
			linear-gradient(90deg, rgba(6, 32, 44, 0.93) 0%, rgba(6, 32, 44, 0.88) 40%, rgba(6, 32, 44, 0.5) 52%, rgba(6, 32, 44, 0.34) 60%, rgba(6, 32, 44, 0.4) 100%),
			linear-gradient(0deg, rgba(6, 32, 44, 0.6) 0%, rgba(6, 32, 44, 0) 32%);
	}
}
@media (max-width: 960px) {
	/* Stacked: photo shows across the top band, darkening down into the text and form */
	body.mdo .e-con.mdo-hero::before { background-size: cover; background-position: 72% 0; }
	body.mdo .e-con.mdo-hero::after {
		background: linear-gradient(180deg, rgba(6, 32, 44, 0.62) 0%, rgba(6, 32, 44, 0.84) 26%, rgba(6, 32, 44, 0.92) 48%, rgba(6, 32, 44, 0.95) 100%);
	}
}

/* Inner heroes: photo cards were never overlaid; lift the flat navy band so the photo side reads lighter */
body.mdo .e-con.mdo-phero {
	background:
		radial-gradient(760px 560px at 80% 50%, rgba(36, 104, 134, 0.42), rgba(36, 104, 134, 0) 70%),
		linear-gradient(90deg, #06202c 0%, #082a3a 45%, #0e3a4e 100%);
}
@media (max-width: 960px) {
	body.mdo .e-con.mdo-phero {
		background:
			radial-gradient(520px 420px at 50% 88%, rgba(36, 104, 134, 0.45), rgba(36, 104, 134, 0) 70%),
			linear-gradient(180deg, #06202c 0%, #0b3243 100%);
	}
}

/* =====================================================================
   Homepage door projects: real feature + two door-service cards
   ===================================================================== */
.mdo-proj__side { grid-template-rows: 1fr 1fr; }
body.mdo a.mdo-proj__card--svc { color: #fff; text-decoration: none; }
body.mdo .mdo-proj__card--svc img { flex: 1 1 0; height: auto; min-height: 150px; transition: transform 0.4s var(--mdo-ease); }
.mdo-proj__card--svc:hover img { transform: scale(1.03); }
.mdo-proj__card--svc > div { display: flex; flex-direction: column; gap: 4px; position: relative; z-index: 1; }
body.mdo .mdo-proj__card--svc .mdo-proj__tag { margin: 0; font: 700 11px/1.2 var(--mdo-font); letter-spacing: 0.16em; text-transform: uppercase; color: var(--mdo-warm-on-dark); }
body.mdo .mdo-proj__card--svc strong { font-size: 18px; line-height: 1.3; color: #fff; }
body.mdo .mdo-proj__card--svc .mdo-arrow { display: inline-flex; margin-top: 4px; font: 700 14px/1.2 var(--mdo-font); letter-spacing: 0; text-transform: none; color: #fff; }
.mdo-proj__note { margin: 16px 0 0; font-size: 13px; line-height: 1.5; color: var(--mdo-text-soft); }
@media (max-width: 1024px) {
	.mdo-proj__side { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
	body.mdo .mdo-proj__card--svc img { flex: none; height: 200px; min-height: 0; }
}
@media (max-width: 600px) { .mdo-proj__side { grid-template-columns: 1fr; } }
@media (max-width: 960px) {
	/* Stacked hero: keep the photo to the top band (headline area) so it reads as a home, then fade to navy before the form */
	body.mdo .e-con.mdo-hero::before { background-size: auto 780px; background-repeat: no-repeat; background-position: 68% 0; }
	body.mdo .e-con.mdo-hero::after {
		background: linear-gradient(180deg, rgba(6, 32, 44, 0.55) 0px, rgba(6, 32, 44, 0.72) 260px, rgba(6, 32, 44, 0.86) 520px, rgba(6, 32, 44, 1) 780px, rgba(6, 32, 44, 1) 100%);
	}
}
@media (max-width: 960px) {
	/* Contrast: slightly deeper top band + lighter warm eyebrow so the 13px eyebrow clears 4.5:1 over the photo */
	body.mdo .e-con.mdo-hero::after {
		background: linear-gradient(180deg, rgba(6, 32, 44, 0.74) 0px, rgba(6, 32, 44, 0.78) 260px, rgba(6, 32, 44, 0.88) 520px, rgba(6, 32, 44, 1) 780px, rgba(6, 32, 44, 1) 100%);
	}
	body.mdo .mdo-hero .mdo-eyebrow .elementor-heading-title { color: #f4c995; }
}

/* Homepage door projects v3: real-project link card (no Albertville images) + two door-service cards */
.mdo-proj--3 { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
.mdo-proj--3 .mdo-proj__side { grid-template-rows: none; grid-template-columns: 1fr 1fr; gap: 24px; }
body.mdo .mdo-proj--3 .mdo-proj__card--svc img { flex: none; height: 260px; min-height: 0; }
body.mdo a.mdo-proj__real {
	display: flex; flex-direction: column; justify-content: flex-end; gap: 14px;
	min-height: 360px; padding: 36px 32px; border-radius: var(--mdo-r-lg);
	background: radial-gradient(420px 320px at 100% 0%, rgba(36, 104, 134, 0.55), rgba(36, 104, 134, 0) 70%), var(--mdo-navy);
	color: #fff; text-decoration: none; position: relative; overflow: hidden;
	transition: transform 0.2s var(--mdo-ease), box-shadow 0.2s var(--mdo-ease);
}
body.mdo a.mdo-proj__real:hover { transform: translateY(-2px); box-shadow: var(--mdo-shadow-lift); }
.mdo-proj__real-k { font: 700 12px/1.2 var(--mdo-font); letter-spacing: 0.16em; text-transform: uppercase; color: var(--mdo-warm-on-dark); }
body.mdo .mdo-proj__real h3 { margin: 0; font: 750 28px/1.15 var(--mdo-font); letter-spacing: -0.015em; color: #fff; }
body.mdo .mdo-proj__real p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--mdo-on-dark-soft); }
body.mdo .mdo-proj__real .mdo-proj__real-cta { align-self: flex-start; margin-top: 8px; min-height: 48px; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; }
@media (max-width: 1024px) {
	.mdo-proj--3 { grid-template-columns: 1fr; }
	body.mdo a.mdo-proj__real { min-height: 0; }
	body.mdo .mdo-proj--3 .mdo-proj__card--svc img { height: 220px; }
}
@media (max-width: 600px) { .mdo-proj--3 .mdo-proj__side { grid-template-columns: 1fr; } body.mdo .mdo-proj__real h3 { font-size: 24px; } }

/* =====================================================================
   Homepage hero polish: compact form (desktop), meter pushed off-frame,
   quieter trust row. Mobile tap targets unchanged.
   ===================================================================== */

/* Background: larger 3200px source; utility meter (right edge of photo) falls outside the frame */
@media (min-width: 1201px) {
	body.mdo .e-con.mdo-hero { --mdo-hero-img: url("/wp-content/uploads/2026/10/mdo-porch-entry-door-hero-3200.webp"); }
	body.mdo .e-con.mdo-hero::before { background-size: 190% auto; background-position: 91% 58%; }
}
@media (min-width: 961px) and (max-width: 1200px) {
	body.mdo .e-con.mdo-hero::before { background-size: 170% auto; background-position: 90% 58%; }
}

/* Compact form on desktop (~13% shorter) */
@media (min-width: 961px) {
	body.mdo .e-con.mdo-hero .mdo-formcard { padding: 24px 30px 22px; }
	body.mdo .mdo-hero .mdo-formcard__head { margin-bottom: 14px; }
	body.mdo .mdo-hero .mdo-formcard__title { font-size: 22px; margin-bottom: 4px; }
	body.mdo .mdo-hero .mdo-formcard__sub { font-size: 14.5px; }
	body.mdo .mdo-hero .mdo-formcard .wpforms-container { --wpforms-field-size-input-height: 48px; }
	body.mdo .mdo-hero .mdo-formcard .wpforms-form .wpforms-field-container { gap: 8px 10px; }
	body.mdo .mdo-hero .mdo-formcard .wpforms-form .wpforms-field-address fieldset { gap: 8px 10px; }
	body.mdo .mdo-hero .mdo-formcard .wpforms-form input[type="text"],
	body.mdo .mdo-hero .mdo-formcard .wpforms-form input[type="email"],
	body.mdo .mdo-hero .mdo-formcard .wpforms-form input[type="tel"],
	body.mdo .mdo-hero .mdo-formcard .wpforms-form select { height: 48px; }
	body.mdo .mdo-hero .mdo-formcard .wpforms-form .mdo-services > .wpforms-field-label { margin: 4px 0 8px; }
	body.mdo .mdo-hero .mdo-formcard .wpforms-form .mdo-services ul { gap: 7px 16px; }
	body.mdo .mdo-hero .mdo-formcard .wpforms-form .mdo-confirm { margin-top: 2px !important; padding-top: 12px !important; }
	body.mdo .mdo-hero .mdo-formcard .wpforms-form .mdo-consent { font-size: 12px; line-height: 1.5; }
	body.mdo .mdo-hero .mdo-formcard .wpforms-form .wpforms-submit-container { margin-top: 14px !important; }
	body.mdo .mdo-hero .mdo-formcard .wpforms-form button[type="submit"] { height: 52px; }
}

/* Trust row: present but quieter than the headline, lead and CTA */
.mdo-hero-points { margin-top: 32px; padding-top: 22px; gap: 18px; }
.mdo-hero-points li { font-size: 14px; color: rgba(255, 255, 255, 0.68); }
.mdo-hero-points strong { font-size: 15px; font-weight: 600; color: rgba(255, 255, 255, 0.9); }

/* Homepage hero form: title only, centered (description removed) */
body.mdo .mdo-hero .mdo-formcard__head { text-align: center; margin-bottom: 16px; }
body.mdo .mdo-hero .mdo-formcard__title { margin: 0; }

/* Homepage hero form: divider between the address block and service selection (matches the confirmation divider) */
body.mdo .mdo-hero .mdo-formcard .wpforms-form .mdo-services { margin-top: 4px !important; padding-top: 12px !important; border-top: 1px solid rgba(255, 255, 255, 0.14); }
body.mdo .mdo-hero .mdo-formcard .wpforms-form .mdo-services > .wpforms-field-label { margin-top: 0; }
@media (min-width: 961px) {
	body.mdo .mdo-hero .mdo-formcard .wpforms-form .mdo-services { margin-top: 2px !important; }
}

/* Homepage hero form: true translucent glass (Johnson navy, not frosted white) */
body.mdo .e-con.mdo-hero .mdo-formcard {
	background: rgba(6, 32, 44, 0.76);
	-webkit-backdrop-filter: blur(18px) saturate(115%);
	backdrop-filter: blur(18px) saturate(115%);
	border: 1px solid rgba(255, 255, 255, 0.14);
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}
/* Fields stay a touch more opaque than the card so they read as distinct controls */
body.mdo .mdo-hero .mdo-formcard .wpforms-form input[type="text"],
body.mdo .mdo-hero .mdo-formcard .wpforms-form input[type="email"],
body.mdo .mdo-hero .mdo-formcard .wpforms-form input[type="tel"],
body.mdo .mdo-hero .mdo-formcard .wpforms-form select { background-color: rgba(255, 255, 255, 0.09); }
/* Browsers without backdrop-filter: fall back to a near-solid panel so text never loses contrast */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
	body.mdo .e-con.mdo-hero .mdo-formcard { background: rgba(6, 32, 44, 0.92); }
}

/* =====================================================================
   Minneapolis Doors additions (designer header/footer + designer homepage sections)
   ===================================================================== */

/* Three-item type row (2 service types + hub link) */
.mdo-types.mdo-types--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) {
	.mdo-types.mdo-types--3 { grid-template-columns: 1fr; }
	.mdo-types.mdo-types--3 .mdo-type, .mdo-types.mdo-types--3 .mdo-type:nth-child(-n+3) { border-left: 0; border-top: 1px solid var(--mdo-line); grid-column: auto; }
	.mdo-types.mdo-types--3 .mdo-type:first-child { border-top: 0; }
}
.mdo-sec--navy .mdo-types .mdo-type { border-color: var(--mdo-on-dark-line); }
.mdo-sec--navy .mdo-type strong { color: #fff; }
.mdo-sec--navy .mdo-type span:not(.mdo-type__k) { color: var(--mdo-on-dark-soft); }
.mdo-sec--navy .mdo-type em { color: var(--mdo-warm-on-dark); }
.mdo-sec--navy .mdo-type__k { color: var(--mdo-warm-on-dark); }
.mdo-sec--navy .mdo-type:hover { background: rgba(255, 255, 255, 0.06); }

/* Designer "Start here" band: quote form in the right-hand column */
body.mdo .elementor-column.mdo-bandform > .elementor-widget-wrap { padding: 0 !important; }
body.mdo .elementor-column.mdo-bandform { align-self: center; }
body.mdo .elementor-column.mdo-bandform .elementor-widget:not(:last-child) { margin-bottom: 0; }
@media (min-width: 1025px) { body.mdo .elementor-column.mdo-bandform { max-width: 640px; margin-left: auto; } }
@media (max-width: 1024px) { body.mdo .elementor-column.mdo-bandform { margin-top: 32px; } }

/* Designer homepage hero: keep long words inside the viewport on phones */
@media (max-width: 767px) {
	body.mdo .elementor-widget-heading h1.elementor-heading-title { overflow-wrap: break-word; hyphens: manual; }
	body.mdo .elementor-section { max-width: 100vw; }
}

/* Mobile / tablet call button (header phone column is hidden on phones) */
.mdo-call-fab { display: none; }
@media (max-width: 1024px) {
	.mdo-call-fab { display: flex; align-items: center; justify-content: center; position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 9990; width: 56px; height: 56px; border-radius: 50%; background: var(--mdo-red); color: #fff; box-shadow: 0 6px 18px rgba(6, 32, 44, 0.35); text-decoration: none; transition: transform 0.15s ease, background-color 0.15s ease; }
	.mdo-call-fab:hover, .mdo-call-fab:focus-visible { background: var(--mdo-red-hover); color: #fff; transform: scale(1.05); }
	.mdo-call-fab:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
	/* Keep the button clear of the quote form's submit area */
	/* (form fields are protected by hiding the call button while a form is in view) */
}
@media (min-width: 768px) and (max-width: 1024px) { body.mdo .wpforms-submit-container { padding-right: 0 !important; } }
@media print { .mdo-call-fab { display: none !important; } }

/* Body copy for generated sections uses the Johnson typeface even inside designer templates */
body.mdo { font-family: var(--mdo-font); }

/* Grid items never grow past their track (service cards at phone width) */
.mdo-svc > * { min-width: 0; }
/* Designer inline icon lists (top bar, hero highlights, footer legal) wrap instead of overflowing */
body.mdo .elementor-icon-list-items.elementor-inline-items { flex-wrap: wrap; row-gap: 6px; }
/* Header top bar at tablet: the stacked columns keep the designer's negative list margins, so pull them in */
@media (max-width: 1024px) {
	body.mdo .elementor-location-header .elementor-icon-list-items.elementor-inline-items { margin-left: 0 !important; margin-right: 0 !important; justify-content: center; }
}
/* Phone: the photo box takes the card width (min-height x aspect-ratio would otherwise force 360px) */
@media (max-width: 560px) { .mdo-svc__art--photo { min-height: 0; width: 100%; } }
/* Call button hides while a quote form is visible (see site.js) */
body.mdo-form-in-view .mdo-call-fab { opacity: 0; pointer-events: none; transform: scale(0.8); }
.mdo-call-fab { transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.15s ease; }

/* Phone header call action (2026-10-14): sits beside the menu toggle; replaces the floating call button */
.mdo-hcall { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px; border-radius: 999px; background: var(--mdo-red, #dd3333); color: #fff !important; font-family: "Reddit Sans", system-ui, sans-serif; font-size: 14px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.mdo-hcall:hover, .mdo-hcall:focus-visible { background: #c42828; color: #fff; }
.mdo-hcall svg { flex: none; }
@media (max-width: 767px) {
	.elementor-element-0d3eb2e > .elementor-widget-wrap { flex-wrap: nowrap !important; align-items: center !important; justify-content: flex-end !important; gap: 10px; }
	.elementor-element-0d3eb2e > .elementor-widget-wrap > .elementor-widget { width: auto !important; max-width: none; margin-bottom: 0 !important; }
}
@media (max-width: 430px) { .mdo-hcall span { display: none; } .mdo-hcall { width: 42px; height: 42px; padding: 0; justify-content: center; } }
.mdo-call-fab { display: none !important; }
