.service-hero {
	position: relative;
	display: grid;
	width: 100%;
	height: 80vh;
	min-height: 520px;
	margin: 0 auto;
	padding: 0;
	overflow: hidden;
	border: 0;
	border-radius: 0;
	background: #102333;
	box-shadow: none;
}

.service-hero__content {
	z-index: 2;
	display: grid;
	grid-area: 1 / 1;
	gap: clamp(12px, 1.6vw, 18px);
	align-self: end;
	justify-self: end;
	width: min(calc(100% - 40px), 720px);
	margin: 20px;
	padding: clamp(20px, 3vw, 34px);
	border: 1px solid rgba(255, 255, 255, 0.32);
	border-radius: 18px;
	background:
		linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.04) 58%, rgba(255, 255, 255, 0.12)),
		rgba(10, 22, 32, 0.54);
	box-shadow:
		0 24px 62px rgba(0, 0, 0, 0.22),
		inset 0 1px 0 rgba(255, 255, 255, 0.28);
	backdrop-filter: blur(14px) saturate(1.2);
	color: var(--color-white);
	opacity: 0;
	transform: translateY(14px);
	animation: service-hero-content-in 0.72s ease 0.32s forwards;
}

.service-hero h1 {
	margin: 0;
	color: var(--color-white);
	font-size: clamp(2rem, 4.5vw, 4.25rem);
	line-height: 1.12;
	letter-spacing: 0;
}

.service-hero h1 span {
	display: block;
}

.service-hero .lead {
	margin: 0;
	color: rgba(255, 255, 255, 0.88);
	font-size: clamp(0.98rem, 1.35vw, 1.12rem);
	line-height: 1.85;
}

.service-hero .eyebrow {
	color: #e0a457;
}

.service-hero__visual {
	position: relative;
	z-index: 1;
	overflow: hidden;
	grid-area: 1 / 1;
	width: 100%;
	height: 100%;
	margin: 0;
	border: 0;
	border-radius: 0;
	background: #102333;
	box-shadow: none;
	aspect-ratio: auto;
}

.service-hero__visual::after {
	display: none;
	content: none;
}

.service-hero__visual img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
	opacity: 0;
	transform: scale(1.012);
	animation: service-hero-image-in 0.9s ease forwards;
}

@keyframes service-hero-image-in {
	to {
		opacity: 1;
		transform: scale(1);
	}
}

@keyframes service-hero-content-in {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.custom-home-page > .breadcrumb,
.real-estate-page > .breadcrumb,
.business-building-page > .breadcrumb,
.land-use-page > .breadcrumb {
	margin-top: 0;
	margin-bottom: 0;
}

@media (max-width: 900px) {
	.service-hero {
		grid-template-columns: 1fr;
		width: 100%;
		height: 80vh;
		min-height: 420px;
		margin-top: 0;
		padding: 0;
		border-inline: 0;
		border-radius: 0;
	}

	.service-hero__content {
		width: min(100% - 28px, 560px);
		margin: 20px;
		padding: 18px;
		border-radius: 16px;
		background: rgba(10, 22, 32, 0.74);
	}

	.service-hero h1 {
		font-size: clamp(2rem, 10vw, 3.1rem);
		line-height: 1.14;
	}

	.service-hero .lead {
		font-size: 0.98rem;
		line-height: 1.75;
	}

	.service-hero__visual {
		width: 100%;
		margin-inline: 0;
		border-inline: 0;
		border-radius: 0;
		aspect-ratio: auto;
	}
}

.service-section--paper {
	width: 100%;
	max-width: none;
	padding-inline: max(16px, calc((100vw - var(--container)) / 2));
	background: var(--color-paper);
}

.service-empty-cta {
	padding: 20px;
	border: 1px solid var(--color-line);
	border-radius: var(--radius);
	background: var(--color-white);
	box-shadow: var(--shadow-card);
}

.service-empty-cta p {
	margin-bottom: 0;
}

.service-empty-cta h3 {
	margin-top: 0;
	font-size: 1.18rem;
	line-height: 1.45;
}

.service-empty-cta {
	background: var(--color-paper);
}

.service-final-cta {
	display: grid;
	gap: clamp(20px, 4vw, 32px);
	margin-top: clamp(24px, 5vw, 56px);
	margin-inline: auto;
	width: min(100% - 32px, var(--container));
	padding: clamp(24px, 5vw, 46px);
	border: 1px solid rgba(58, 124, 165, 0.18);
	border-radius: 22px;
	background:
		linear-gradient(135deg, rgba(58, 124, 165, 0.08), rgba(255, 255, 255, 0) 48%),
		var(--color-paper-2);
	box-shadow: 0 14px 34px rgba(16, 35, 51, 0.06);
	text-align: left;
}

.service-final-cta__body {
	max-width: 760px;
}

.service-final-cta__body > *:last-child {
	margin-bottom: 0;
}

.service-final-cta__buttons {
	align-items: center;
}

.service-final-cta .button {
	justify-content: center;
	min-width: min(100%, 168px);
}

.service-editor-content {
	max-width: 920px;
	padding: clamp(28px, 5vw, 56px);
	background: var(--color-white);
	border: 1px solid var(--color-line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-card);
}

.service-editor-content > *:first-child {
	margin-top: 0;
}

.service-editor-content h2,
.service-editor-content h3 {
	line-height: 1.32;
}

.service-editor-content h2 {
	margin-top: clamp(28px, 5vw, 48px);
	padding-top: clamp(20px, 4vw, 36px);
	border-top: 1px solid var(--color-line);
	font-size: clamp(1.55rem, 4vw, 2.25rem);
}

.service-editor-content h2:first-child {
	margin-top: 0;
	padding-top: 0;
	border-top: 0;
}

.service-editor-content h3 {
	margin-top: 1.8em;
	font-size: clamp(1.2rem, 3vw, 1.5rem);
}

.service-editor-content p {
	color: var(--color-muted);
}

.service-editor-content ul,
.service-editor-content ol {
	padding-left: 1.2em;
}

.service-editor-content li + li {
	margin-top: 0.35em;
}

.custom-home-faq {
	display: grid;
	gap: 12px;
}

.custom-home-faq details {
	overflow: hidden;
	border: 1px solid var(--color-line);
	border-radius: 14px;
	background: var(--color-white);
	box-shadow: 0 10px 24px rgba(16, 35, 51, 0.055);
}

.custom-home-faq summary {
	display: flex;
	gap: 18px;
	align-items: center;
	justify-content: space-between;
	padding: 18px 20px;
	color: var(--color-ink);
	font-weight: 800;
	cursor: pointer;
}

.custom-home-faq summary::-webkit-details-marker {
	display: none;
}

.custom-home-faq summary::after {
	width: 0.58em;
	height: 0.58em;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	content: "";
	transform: rotate(45deg);
	transition: transform 0.2s ease;
}

.custom-home-faq details[open] summary::after {
	transform: rotate(225deg);
}

.custom-home-faq p {
	margin: 0;
}

.custom-home-faq__body {
	height: 0;
	overflow: hidden;
	transition: height 0.42s cubic-bezier(0.22, 1, 0.36, 1);
	will-change: height;
}

.custom-home-faq__content {
	display: grid;
	gap: 0.75em;
	padding: 0 20px 20px;
	color: #435666;
}

@media (prefers-reduced-motion: reduce) {
	.service-hero__content,
	.service-hero__visual img {
		opacity: 1;
		transform: none;
		animation: none;
	}
}
