.services-page {
	margin: 0;
}

.services-overview,
.packages-section,
.quote-section,
.materials-section {
	box-sizing: border-box;
	width: 100%;
	max-width: none !important;
	margin: 0 !important;
	padding: clamp(3.5rem, 7vw, 7rem) clamp(1.25rem, 6vw, 7rem);
}

.services-overview,
.quote-section {
	background: #fcf7f0;
	color: #0e352d;
}

.services-overview {
	padding-top: var(--em-page-top-space);
	padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.services-divider {
	box-sizing: border-box;
	width: 100%;
	max-width: none !important;
	margin: 0 !important;
	padding-inline: clamp(1.25rem, 6vw, 7rem);
	background: #fcf7f0;
}

.services-quote-divider {
	width: 100%;
	max-width: 1200px;
	height: 3px;
	margin: 0 auto !important;
	border: 0 !important;
	border-radius: 999px;
	background: #d2641f;
}

.quote-section {
	padding-top: clamp(2.5rem, 5vw, 4rem);
}

.packages-section {
	background: #12473c;
	color: #ffffff;
}

.materials-section {
	background: #f5e9dc;
	color: #0e352d;
}

.services-section__inner {
	width: 100%;
	max-width: 1200px;
	margin-inline: auto;
}

.services-section__inner--form {
	max-width: 960px;
}

.services-section__eyebrow,
.packages-section__eyebrow {
	margin: 0;
	font-family: var(--em-font-title);
	font-size: 0.9rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.services-section__eyebrow {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	color: #196b5a;
}

.services-section__eyebrow::before {
	width: 3rem;
	height: 0.2rem;
	border-radius: 999px;
	background: #d2641f;
	content: "";
	flex: 0 0 auto;
}

.packages-section__eyebrow {
	color: #f49352;
}

.services-section__title,
.packages-section__title,
.quote-section__title,
.materials-section__title {
	max-width: 18ch;
	margin: 0.75rem 0 0;
	font-family: var(--em-font-title);
	font-size: var(--em-title-primary);
	font-weight: 800;
	letter-spacing: -0.035em;
	line-height: 1.05;
}

.packages-section__title {
	color: #ffffff;
}

.services-section__intro,
.packages-section__intro,
.quote-section__intro,
.materials-section__intro {
	max-width: 48rem;
	margin: 1.25rem 0 0;
	line-height: 1.65;
}

.packages-section__intro {
	color: #ffffff;
}

.package-grid,
.materials-grid {
	align-items: stretch !important;
	gap: clamp(1rem, 2.5vw, 2rem);
	margin-top: clamp(2.5rem, 5vw, 4rem);
	margin-bottom: 0;
}

.package-grid > .wp-block-column,
.materials-grid > .wp-block-column {
	display: flex;
	min-width: 0;
}

.material-card {
	box-sizing: border-box;
	width: 100%;
	padding: clamp(1.25rem, 2.5vw, 2rem);
	border: 2px solid #b9cec8;
	border-radius: 1rem;
	background: #ffffff;
}

.material-card__title {
	margin: 0.75rem 0 0;
	color: #0e352d;
	font-family: var(--em-font-title);
	font-size: var(--em-title-tertiary);
	font-weight: 800;
	line-height: 1.2;
}

.material-card p {
	margin: 0.75rem 0 0;
	color: #0e352d;
	line-height: 1.6;
}

.service-accordion {
	width: 100%;
	max-width: 72rem;
	margin: clamp(2rem, 4vw, 3.5rem) 0 0;
	border-top: 2px solid #b9cec8;
}

.service-accordion__item {
	margin: 0;
	border-bottom: 2px solid #b9cec8;
	background: #ffffff;
	color: #0e352d;
}

.service-accordion__item summary {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 1rem;
	min-height: 64px;
	padding: 1rem clamp(1rem, 2.5vw, 1.75rem);
	color: #0e352d;
	font-family: var(--em-font-title);
	font-size: var(--em-title-tertiary);
	font-weight: 800;
	line-height: 1.25;
	list-style: none;
	cursor: pointer;
}

.service-accordion__item summary::-webkit-details-marker {
	display: none;
}

.service-accordion__item summary::after {
	display: grid;
	width: 2.25rem;
	height: 2.25rem;
	border: 2px solid #196b5a;
	border-radius: 50%;
	color: #196b5a;
	content: "+";
	font-family: var(--em-font-body);
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1;
	place-items: center;
}

.service-accordion__item[open] summary::after {
	content: "−";
}

.service-accordion__item summary:hover,
.service-accordion__item[open] summary {
	background: #f5e9dc;
}

.service-accordion__item summary:focus-visible {
	position: relative;
	z-index: 1;
	outline: 3px solid #0e352d;
	outline-offset: -3px;
}

.service-accordion__content {
	padding: 0 clamp(1rem, 2.5vw, 1.75rem) clamp(1.5rem, 3vw, 2.25rem);
}

.service-accordion__content > * {
	max-width: 75ch;
}

.service-accordion__content p {
	margin: 1rem 0 0;
	line-height: 1.65;
}

.service-accordion__tagline {
	color: #196b5a;
	font-family: var(--em-font-title);
	font-size: 1.15rem;
	font-weight: 600;
}

.service-accordion__audience-title {
	margin: 1.5rem 0 0;
	color: #0e352d;
	font-family: var(--em-font-title);
	font-size: 1.15rem;
	font-weight: 800;
	line-height: 1.3;
}

.service-accordion__audience {
	margin: 0.75rem 0 0;
	padding-inline-start: 1.5rem;
	line-height: 1.6;
}

.service-accordion__audience li + li {
	margin-top: 0.65rem;
}

.service-accordion__audience li::marker {
	color: #d2641f;
}

.package-card {
	box-sizing: border-box;
	width: 100%;
	padding: clamp(1.25rem, 2.5vw, 2rem);
	border: 2px solid rgb(252 247 240 / 35%);
	border-radius: 1.5rem;
	background: rgb(252 247 240 / 10%);
	color: #ffffff;
	transition:
		background-color 180ms ease,
		border-color 180ms ease,
		transform 180ms ease;
}

.package-card:hover {
	border-color: #f49352;
	background: rgb(252 247 240 / 15%);
	transform: translateY(-3px);
}

.package-card[open] {
	border-color: #f49352;
	background: rgb(252 247 240 / 15%);
}

.package-card summary {
	min-height: 44px;
	color: #f49352;
	font-family: var(--em-font-title);
	font-size: 1.2rem;
	font-weight: 800;
	cursor: pointer;
}

.package-card summary:focus-visible {
	outline: 3px solid #ffffff;
	outline-offset: 4px;
}

.package-card__title {
	margin: 1rem 0 0;
	color: #ffffff;
	font-family: var(--em-font-title);
	font-size: var(--em-title-tertiary);
	font-weight: 800;
	line-height: 1.2;
}

.package-card__summary,
.package-card__details {
	margin: 0.75rem 0 0;
	color: #ffffff;
	line-height: 1.6;
}

.package-card__details {
	padding-top: 0.75rem;
	border-top: 1px solid rgb(252 247 240 / 35%);
}

.quote-section__title,
.materials-section__title {
	color: #0e352d;
}

.quote-form-wrap {
	margin-top: clamp(0.75rem, 1.5vw, 1rem);
}

.quote-form__notice {
	padding: 1rem 1.25rem;
	border: 2px solid #196b5a;
	border-radius: 0.75rem;
	background: #ffffff;
	color: #0e352d;
}

.quote-form__notice--error {
	border-color: #a33a20;
}

.quote-form__notice p {
	margin: 0;
}

.quote-form {
	display: grid;
	gap: 1.25rem;
}

/* The WordPress Shortcode block adds line breaks throughout the rendered form. */
.quote-form br,
.quote-form > p:empty {
	display: none;
}

.quote-form > p:not(.quote-form__required) {
	margin: 0;
}

.quote-form__notice + .quote-form {
	margin-top: 1.5rem;
}

.quote-form__fields {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.25rem;
}

.quote-form__field {
	display: grid;
	min-width: 0;
	gap: 0.25rem;
}

.quote-form__field--wide {
	grid-column: 1 / -1;
}

.quote-form__field label {
	margin: 0;
	color: #0e352d;
	font-weight: 700;
	line-height: 1.25;
}

.quote-form__field :where(input, select, textarea) {
	display: block;
	box-sizing: border-box;
	width: 100%;
	min-height: 48px;
	margin: 0;
	padding: 0.75rem 0.85rem;
	border: 2px solid #196b5a !important;
	border-radius: 0.6rem;
	background: #ffffff !important;
	color: #0e352d !important;
	font: inherit;
	line-height: 1.5;
}

.quote-form__field textarea {
	resize: vertical;
}

.quote-form__required {
	margin: 0;
	font-size: 0.9rem;
}

.quote-form button[type="submit"] {
	justify-self: start;
	min-height: 48px;
	padding: 0.65rem 1.35rem;
	border: 2px solid #0e352d !important;
	border-radius: 999px;
	background: #0e352d !important;
	color: #ffffff !important;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.quote-form button[type="submit"]:hover {
	background: #196b5a !important;
}

.quote-form__honeypot {
	position: absolute !important;
	left: -10000px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

.material-card .wp-block-file {
	margin: 1.25rem 0 0;
}

.material-card .wp-block-file a:first-child {
	color: #0e352d;
	font-weight: 700;
}

.material-card .wp-block-file__button {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	background: #0e352d;
	color: #ffffff;
}

@media (max-width: 781px) {
	.services-overview,
	.packages-section,
	.quote-section,
	.materials-section {
		padding: 3rem 1.25rem 4rem;
	}

	.services-overview {
		padding-top: var(--em-page-top-space);
		padding-bottom: 2.5rem;
	}

	.services-divider {
		padding-inline: 1.25rem;
	}

	.quote-section {
		padding-top: 2.5rem;
	}

	.package-grid,
	.materials-grid {
		gap: 1rem;
	}
}

@media (max-width: 600px) {
	.quote-form__fields {
		grid-template-columns: minmax(0, 1fr);
	}

	.quote-form__field--wide {
		grid-column: auto;
	}
}

@media (prefers-reduced-motion: reduce) {
	.package-card {
		transition: none;
	}
}

@media (forced-colors: active) {
	.package-card,
	.service-accordion__item,
	.material-card {
		border-color: CanvasText;
	}

	.service-accordion__item summary::after {
		border-color: CanvasText;
		color: CanvasText;
	}
}
