.ddm-service-area,
.ddm-service-area * {
	box-sizing: border-box;
}

.ddm-service-area {
	--ddm-orange: #ee6e20;
	--ddm-orange-deep: #d9520e;
	--ddm-ink: #111a21;
	--ddm-text: #333333;
	--ddm-muted: #69737b;
	--ddm-green: #4e8a24;
	--ddm-blue: #1758b5;
	--ddm-peel: #cb681f;
	position: relative;
	width: 100%;
	overflow: hidden;
	padding: clamp(28px, 4vw, 48px);
	border: 1px solid #e6e8ea;
	border-radius: 24px;
	background:
		radial-gradient(circle at 82% 8%, rgba(238, 110, 32, 0.07), transparent 26%),
		linear-gradient(135deg, #ffffff 0%, #fbfbfa 100%);
	box-shadow: 0 14px 40px rgba(17, 26, 33, 0.08);
	color: var(--ddm-text);
	font-family: "Poppins", sans-serif;
}

.ddm-service-area::before {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background-image:
		linear-gradient(90deg, rgba(17, 26, 33, 0.018) 1px, transparent 1px),
		linear-gradient(rgba(17, 26, 33, 0.018) 1px, transparent 1px);
	background-size: 34px 34px;
	content: "";
	mask-image: linear-gradient(to bottom, transparent, #000 52%, transparent);
}

.ddm-service-area__header,
.ddm-service-area__content {
	position: relative;
	z-index: 1;
}

.ddm-service-area__header {
	max-width: 860px;
	margin-bottom: clamp(24px, 3vw, 34px);
}

.ddm-service-area__eyebrow {
	margin: 0 0 4px !important;
	color: var(--ddm-ink);
	font: 700 clamp(16px, 1.6vw, 23px) / 1.2 "Poppins", sans-serif;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.ddm-service-area__title {
	display: block;
	margin: 0 !important;
	color: var(--ddm-ink);
	font: 800 clamp(40px, 5vw, 72px) / 0.99 "Poppins", sans-serif;
	letter-spacing: -0.055em;
	text-transform: uppercase;
}

.ddm-service-area__title span {
	display: block;
	color: var(--ddm-orange);
}

.ddm-service-area__intro {
	max-width: 760px;
	margin: 14px 0 0 !important;
	color: var(--ddm-text);
	font: 400 clamp(14px, 1.45vw, 19px) / 1.55 "Poppins", sans-serif;
}

.ddm-service-area__content {
	display: grid;
	grid-template-columns: minmax(0, 2.25fr) minmax(240px, 0.8fr);
	gap: clamp(22px, 3vw, 42px);
	align-items: stretch;
}

.ddm-service-map {
	position: relative;
	min-width: 0;
	overflow: hidden;
	border: 1px solid #e3e7e9;
	border-radius: 20px;
	background: #f9fafb;
	box-shadow: 0 12px 28px rgba(17, 26, 33, 0.09);
}

.ddm-service-map__svg {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 390px;
	max-height: 535px;
}

.ddm-map-region {
	cursor: pointer;
	outline: none;
}

.ddm-map-region__shape {
	stroke: #ffffff;
	stroke-width: 3;
	stroke-linejoin: round;
	transition: filter 180ms ease, opacity 180ms ease, transform 180ms ease;
	transform-box: fill-box;
	transform-origin: center;
}

.ddm-map-region--toronto .ddm-map-region__shape {
	fill: #f6a16c;
}

.ddm-map-region--durham .ddm-map-region__shape {
	fill: #dfeccb;
}

.ddm-map-region--peel .ddm-map-region__shape {
	fill: #f8dac3;
}

.ddm-map-region--york .ddm-map-region__shape {
	fill: #d8e6f6;
}

.ddm-map-region:not(.is-active) .ddm-map-region__shape {
	opacity: 0.72;
}

.ddm-map-region:is(:hover, :focus, .is-active) .ddm-map-region__shape {
	opacity: 1;
	filter: url(#ddmMapShadow) saturate(1.12);
	transform: translateY(-2px) scale(1.012);
}

.ddm-map-region:focus .ddm-map-region__shape {
	stroke: var(--ddm-ink);
	stroke-dasharray: 8 5;
}

.ddm-map-region__marker-art {
	filter: drop-shadow(0 5px 5px rgba(17, 26, 33, 0.22));
	transition: transform 180ms ease;
	transform-box: fill-box;
	transform-origin: center;
}

.ddm-map-region__marker-art > circle:first-child {
	fill: rgba(255, 255, 255, 0.94);
	stroke: currentColor;
	stroke-width: 1;
}

.ddm-map-region__marker-art > path {
	fill: currentColor;
}

.ddm-map-region__custom-icon {
	pointer-events: none;
}

.ddm-map-region__marker-hole {
	fill: #ffffff;
}

.ddm-map-region--toronto {
	color: var(--ddm-orange-deep);
}

.ddm-map-region--durham {
	color: var(--ddm-green);
}

.ddm-map-region--peel {
	color: var(--ddm-peel);
}

.ddm-map-region--york {
	color: var(--ddm-blue);
}

.ddm-map-region:is(:hover, :focus, .is-active) .ddm-map-region__marker-art {
	transform: translateY(-4px) scale(1.08);
}

.ddm-map-region__logo,
.ddm-map-region__label {
	pointer-events: none;
	transition: opacity 180ms ease;
}

.ddm-map-region:not(.is-active):not(:hover):not(:focus) .ddm-map-region__logo,
.ddm-map-region:not(.is-active):not(:hover):not(:focus) .ddm-map-region__label {
	opacity: 0.82;
}

.ddm-map-region__label {
	fill: var(--ddm-ink);
	font: 800 16px / 1 "Poppins", sans-serif;
	letter-spacing: -0.02em;
}

.ddm-service-map__status {
	position: absolute;
	right: 16px;
	bottom: 16px;
	display: flex;
	flex-direction: column;
	min-width: 165px;
	padding: 10px 14px;
	border: 1px solid rgba(255, 255, 255, 0.8);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.9);
	box-shadow: 0 8px 22px rgba(17, 26, 33, 0.12);
	backdrop-filter: blur(8px);
}

.ddm-service-map__status span {
	color: var(--ddm-muted);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.ddm-service-map__status strong {
	color: var(--ddm-ink);
	font-size: 14px;
	font-weight: 800;
}

.ddm-service-regions {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
}

.ddm-service-region {
	--region-color: var(--ddm-orange);
	--region-bg: #fff0e7;
	position: relative;
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr);
	gap: 16px;
	align-items: center;
	width: 100%;
	min-height: 106px;
	padding: 18px 8px;
	border: 0;
	border-bottom: 1px solid #e4e6e8;
	background: transparent;
	color: var(--region-color);
	font-family: "Poppins", sans-serif;
	text-align: left;
	text-decoration: none !important;
	cursor: pointer;
	transition: transform 180ms ease, background-color 180ms ease;
}

.ddm-service-region:last-child {
	border-bottom: 0;
}

.ddm-service-region--durham {
	--region-color: var(--ddm-green);
	--region-bg: #eff6e7;
}

.ddm-service-region--peel {
	--region-color: var(--ddm-peel);
	--region-bg: #fff2e9;
}

.ddm-service-region--york {
	--region-color: var(--ddm-blue);
	--region-bg: #edf4fc;
}

.ddm-service-region:is(:hover, :focus-visible, .is-active) {
	padding-inline: 14px;
	border-radius: 15px;
	background: var(--region-bg);
	transform: translateX(-4px);
}

.ddm-service-region:focus-visible {
	outline: 3px solid color-mix(in srgb, var(--region-color), white 55%);
	outline-offset: 2px;
}

.ddm-service-region__icon {
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	border: 1px solid color-mix(in srgb, var(--region-color), white 72%);
	border-radius: 50%;
	background: var(--region-bg);
	transition: transform 180ms ease, box-shadow 180ms ease;
}

.ddm-service-region:is(:hover, :focus-visible, .is-active) .ddm-service-region__icon {
	box-shadow: 0 8px 18px color-mix(in srgb, var(--region-color), transparent 77%);
	transform: scale(1.06);
}

.ddm-service-region__icon svg,
.ddm-service-region__icon img {
	width: 28px;
	height: 28px;
	object-fit: contain;
	fill: currentColor;
}

.ddm-service-region__copy {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.ddm-service-region__copy strong {
	font-size: clamp(14px, 1.35vw, 18px);
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.2;
	text-transform: uppercase;
}

.ddm-service-region__copy small {
	margin-top: 4px;
	color: var(--ddm-muted);
	font-size: 11px;
	font-weight: 500;
	line-height: 1.35;
}

.ddm-service-region__line {
	position: absolute;
	left: 88px;
	bottom: 18px;
	width: 0;
	height: 3px;
	border-radius: 999px;
	background: currentColor;
	transition: width 180ms ease;
}

.ddm-service-region:is(:hover, :focus-visible, .is-active) .ddm-service-region__line {
	width: 52px;
}

/* Compact desktop treatment when the section shares a row with the FAQ card. */
@media (min-width: 1025px) {
	.ddm-service-area-elementor .ddm-service-area {
		padding: 28px 24px;
		border-radius: 20px;
	}

	.ddm-service-area-elementor .ddm-service-area__header {
		margin-bottom: 22px;
	}

	.ddm-service-area-elementor .ddm-service-area__eyebrow {
		font-size: 14px;
	}

	.ddm-service-area-elementor .ddm-service-area__title {
		font-size: clamp(38px, 3.3vw, 48px);
	}

	.ddm-service-area-elementor .ddm-service-area__intro {
		margin-top: 10px !important;
		font-size: 12px;
	}

	.ddm-service-area-elementor .ddm-service-area__content {
		grid-template-columns: minmax(0, 2.25fr) minmax(142px, 0.8fr);
		gap: 14px;
	}

	.ddm-service-area-elementor .ddm-service-map__svg {
		min-height: 340px;
	}

	.ddm-service-area-elementor .ddm-service-map__status {
		right: 9px;
		bottom: 9px;
		min-width: 132px;
		padding: 7px 9px;
	}

	.ddm-service-area-elementor .ddm-service-map__status span {
		font-size: 8px;
	}

	.ddm-service-area-elementor .ddm-service-map__status strong {
		font-size: 11px;
	}

	.ddm-service-area-elementor .ddm-service-region {
		grid-template-columns: 46px minmax(0, 1fr);
		gap: 9px;
		min-height: 82px;
		padding: 10px 5px;
	}

	.ddm-service-area-elementor .ddm-service-region:is(:hover, :focus-visible, .is-active) {
		padding-inline: 8px;
		transform: translateX(-2px);
	}

	.ddm-service-area-elementor .ddm-service-region__icon {
		width: 46px;
		height: 46px;
	}

	.ddm-service-area-elementor .ddm-service-region__icon svg {
		width: 21px;
		height: 21px;
	}

	.ddm-service-area-elementor .ddm-service-region__icon img {
		width: 21px;
		height: 21px;
	}

	.ddm-service-area-elementor .ddm-service-region__copy strong {
		font-size: 11px;
	}

	.ddm-service-area-elementor .ddm-service-region__copy small {
		font-size: 8px;
	}

	.ddm-service-area-elementor .ddm-service-region__line {
		left: 62px;
		bottom: 10px;
		height: 2px;
	}

	.ddm-service-area-elementor .ddm-service-region:is(:hover, :focus-visible, .is-active) .ddm-service-region__line {
		width: 36px;
	}
}

@media (max-width: 1024px) {
	.ddm-service-area__content {
		grid-template-columns: minmax(0, 1fr);
	}

	.ddm-service-map__svg {
		min-height: 430px;
	}

	.ddm-service-regions {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	.ddm-service-region,
	.ddm-service-region:last-child {
		min-height: 90px;
		padding: 12px;
		border: 1px solid #e4e6e8;
		border-radius: 14px;
	}

	.ddm-service-region:is(:hover, :focus-visible, .is-active) {
		padding-inline: 12px;
		transform: translateY(-2px);
	}

	.ddm-service-region__line {
		display: none;
	}
}

@media (max-width: 700px) {
	.ddm-service-area {
		padding: 24px 16px;
		border-radius: 18px;
	}

	.ddm-service-area__title {
		font-size: clamp(36px, 11vw, 50px);
	}

	.ddm-service-area__content {
		gap: 16px;
	}

	.ddm-service-map {
		border-radius: 15px;
	}

	.ddm-service-map__svg {
		min-height: 280px;
	}

	.ddm-map-region__logo,
	.ddm-map-region__label {
		display: none;
	}

	.ddm-service-map__status {
		right: 10px;
		bottom: 10px;
		min-width: 145px;
		padding: 8px 10px;
	}

	.ddm-service-regions {
		grid-template-columns: 1fr;
	}

	.ddm-service-region {
		grid-template-columns: 50px minmax(0, 1fr);
		min-height: 74px;
		gap: 12px;
	}

	.ddm-service-region__icon {
		width: 50px;
		height: 50px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ddm-service-area *,
	.ddm-service-area *::before,
	.ddm-service-area *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}
