.well-services-catalog {
	margin-inline: auto;
	max-width: var(--wp--style--global--wide-size, 1440px);
	width: 100%;
}

.well-services-grid {
	display: grid;
	gap: clamp(1.25rem, 2.5vw, 2.5rem);
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.well-service-card {
	background: var(--wp--preset--color--white, #fff);
	box-shadow: var(--wp--preset--shadow--soft, 0 12px 36px rgba(40, 43, 36, 0.08));
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.well-service-card__image {
	background: var(--wp--preset--color--clay, #dfd2bf);
	display: block;
	overflow: hidden;
}

.well-service-card__image img,
.well-service-card__image span {
	aspect-ratio: 4 / 3;
	display: block;
	height: auto;
	object-fit: cover;
	transition: transform 300ms ease;
	width: 100%;
}

.well-service-card:hover .well-service-card__image img {
	transform: scale(1.025);
}

.well-service-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: clamp(1.5rem, 3vw, 2.5rem);
}

.well-service-card__category {
	color: var(--wp--preset--color--olive, #596043);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	margin: 0 0 0.75rem;
	text-transform: uppercase;
}

.well-service-card h2 {
	font-size: clamp(1.6rem, 2vw, 2.15rem);
	margin: 0;
}

.well-service-card h2 a {
	color: inherit;
	text-decoration: none;
}

.well-service-card__meta {
	color: var(--wp--preset--color--olive, #596043);
	font-weight: 700;
	margin: 0.85rem 0 0;
}

.well-service-card__summary {
	margin-top: 1rem;
}

.well-service-card__summary p {
	margin: 0;
}

.well-service-card__options {
	border-block: 1px solid var(--wp--preset--color--clay, #dfd2bf);
	margin-top: 1.25rem;
	padding-block: 0.8rem;
}

.well-service-card__options summary {
	cursor: pointer;
	font-weight: 700;
}

.well-service-card__options ul,
.well-service-options ul {
	margin-bottom: 0;
	padding-left: 1.2rem;
}

.well-service-card__actions {
	align-items: center;
	display: flex;
	gap: 1rem;
	justify-content: space-between;
	margin-top: auto;
	padding-top: 1.5rem;
}

.well-service-learn {
	font-weight: 700;
	text-underline-offset: 0.25em;
}

.well-service-book {
	white-space: nowrap;
}

.well-service-single-grid {
	gap: clamp(2.5rem, 7vw, 8rem);
}

.well-service-single-image img {
	aspect-ratio: 5 / 4;
	display: block;
	object-fit: cover;
	width: 100%;
}

.well-service-detail-panel {
	background: var(--wp--preset--color--white, #fff);
	border-top: 3px solid var(--wp--preset--color--olive, #596043);
	box-shadow: var(--wp--preset--shadow--soft, 0 12px 36px rgba(40, 43, 36, 0.08));
	padding: clamp(1.5rem, 4vw, 3rem);
}

.well-service-facts__primary {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 0 0 2rem;
}

.well-service-detail-panel .well-service-book {
	box-sizing: border-box;
	display: block;
	text-align: center;
	width: 100%;
}

.well-service-extended-details {
	margin-top: var(--wp--preset--spacing--70, clamp(3.25rem, 2.3rem + 3vw, 6rem));
}

.well-service-description {
	background: var(--wp--preset--color--sand, #efe8db);
	border-top: 3px solid var(--wp--preset--color--olive, #596043);
	margin-bottom: 3rem;
	padding: clamp(1.75rem, 4vw, 3.5rem);
}

.well-service-description h2 {
	font-size: clamp(2rem, 3vw, 3rem);
	margin: 0 0 1.5rem;
}

.well-service-description__content {
	font-size: var(--wp--preset--font-size--large, 1.2rem);
	line-height: 1.75;
	max-width: 75ch;
}

.well-service-description__content p:last-child {
	margin-bottom: 0;
}

.well-service-facts__primary div {
	border-top: 1px solid var(--wp--preset--color--sage, #b2ac96);
	padding-top: 1rem;
}

.well-service-facts dt {
	color: var(--wp--preset--color--olive, #596043);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.well-service-facts dd {
	font-family: var(--wp--preset--font-family--serif, Georgia, serif);
	font-size: 1.5rem;
	margin: 0.3rem 0 0;
}

.well-service-options {
	margin-bottom: 2rem;
}

.well-service-options h2 {
	font-size: 1.5rem;
}

.well-service-research-links {
	border-top: 1px solid var(--wp--preset--color--sage, #b2ac96);
	margin-top: 3rem;
	padding-top: 2rem;
}

@media (max-width: 1024px) {
	.well-services-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 700px) {
	.well-services-grid {
		grid-template-columns: 1fr;
	}

	.well-service-card__actions {
		align-items: flex-start;
		flex-direction: column;
	}

	.well-service-facts__primary {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	.well-service-card__image img {
		transition: none;
	}
}
