.elementor-widget-lmw_services_directory {
	--lmw-services-card-bg: #FCF8EF;
	--lmw-services-accent: #C9A876;
	--lmw-services-ink: #2B2A4A;
	--lmw-services-copy: #46446A;
	--lmw-services-navy: #15142F;
	--lmw-services-line: rgba(201, 168, 118, .28);
	--lmw-services-card-pad-top: 26px;
	--lmw-services-card-pad-right: 26px;
	--lmw-services-card-pad-bottom: 28px;
	--lmw-services-card-pad-left: 26px;
}

.lmw-services-page {
	background: #F7F3EA;
	color: #2B2A4A;
}

.lmw-services-page .lmw-services-hero {
	padding: clamp(96px, 12vw, 150px) 0 clamp(70px, 8vw, 108px);
	background:
		linear-gradient(90deg, rgba(21, 20, 47, .94) 0%, rgba(21, 20, 47, .86) 44%, rgba(21, 20, 47, .58) 72%, rgba(21, 20, 47, .72) 100%),
		url("../images/services-hero-wellness-room.png") center / cover no-repeat,
		#15142F;
	color: #F7F3EA;
}

.lmw-services-page .lmw-services-hero-wrap,
.lmw-services-page .lmw-services-directory-wrap {
	width: min(1220px, calc(100% - 40px));
	margin: 0 auto;
}

.lmw-services-page .lmw-services-hero-inner {
	max-width: 760px;
}

.lmw-services-page .lmw-services-hero-eyebrow,
.lmw-services-directory__eyebrow,
.lmw-service-card__category,
.lmw-service-card__badge,
.lmw-services-directory__group-head span {
	font-family: var(--b, Outfit, sans-serif);
	font-size: 12px;
	font-weight: 650;
	letter-spacing: .18em;
	line-height: 1.5;
	text-transform: uppercase;
}

.lmw-services-page .lmw-services-hero-eyebrow,
.lmw-services-directory__eyebrow,
.lmw-service-card__category,
.lmw-services-directory__group-head span {
	color: var(--lmw-services-accent);
}

.lmw-services-page .lmw-services-hero .lmw-services-hero-eyebrow,
.lmw-services-page .lmw-services-hero .lmw-services-hero-eyebrow .elementor-heading-title {
	color: #F5C67F !important;
	font-family: var(--b, Outfit, sans-serif);
	font-size: 12px !important;
	font-weight: 650;
	letter-spacing: .18em;
	line-height: 1.5;
	text-transform: uppercase;
}

.lmw-services-page .lmw-services-hero h1 {
	max-width: 11ch;
	margin: 18px 0 22px;
	font-family: var(--d, Marcellus, serif);
	font-size: clamp(54px, 8vw, 104px);
	font-weight: 400;
	letter-spacing: 0;
	line-height: .98;
	color: #F7F3EA;
}

.lmw-services-page .lmw-services-hero h1,
.lmw-services-page .lmw-services-hero h1.elementor-heading-title,
.lmw-services-page .lmw-services-hero .elementor-heading-title {
	color: #F7F3EA;
}

.lmw-services-page .lmw-services-hero p {
	max-width: 62ch;
	margin: 0;
	font-family: var(--b, Outfit, sans-serif);
	font-size: clamp(17px, 1.35vw, 21px);
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.75;
	color: rgba(247, 243, 234, .9);
}

.lmw-services-page .lmw-services-hero .elementor-widget-text-editor,
.lmw-services-page .lmw-services-hero .elementor-widget-text-editor p {
	color: rgba(247, 243, 234, .9);
}

.lmw-services-page .lmw-services-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 32px;
}

.lmw-services-page .lmw-services-hero-actions a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	padding: 14px 28px;
	border: 1px solid rgba(201, 168, 118, .62);
	border-radius: 999px;
	font-family: var(--b, Outfit, sans-serif);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .16em;
	line-height: 1.4;
	text-decoration: none;
	text-transform: uppercase;
	transition: transform .2s ease, background .2s ease, color .2s ease;
}

.lmw-services-page .lmw-services-hero-actions a:first-child {
	border-color: transparent;
	background: radial-gradient(circle at 30% 20%, rgba(245, 198, 127, .55), transparent 45%), #F5C67F;
	color: #15142F;
}

.lmw-services-page .lmw-services-hero-actions a:not(:first-child) {
	background: transparent;
	color: #F5C67F;
}

.lmw-services-page .lmw-services-hero-actions a:hover {
	transform: translateY(-1px);
}

.lmw-services-page .lmw-services-directory-section {
	padding: clamp(70px, 8vw, 112px) 0;
}

.lmw-services-directory {
	width: 100%;
}

.lmw-services-directory__header {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 18px;
	justify-items: center;
	text-align: center;
	margin-bottom: clamp(34px, 6vw, 72px);
}

.lmw-services-directory__header h2 {
	margin: 14px 0 0;
	font-family: var(--d, Marcellus, serif);
	font-size: clamp(38px, 5vw, 72px);
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.04;
	color: var(--lmw-services-ink);
}

.lmw-services-directory__header p {
	max-width: 46ch;
	margin: 0;
	text-align: center;
	font-family: var(--b, Outfit, sans-serif);
	font-size: 17px;
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.8;
	color: var(--lmw-services-copy);
}

.lmw-services-directory__filters {
	position: sticky;
	top: calc(82px + var(--wp-admin--admin-bar--height, 0px));
	z-index: 2;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 clamp(28px, 4vw, 46px);
	padding: 12px;
	border: 1px solid var(--lmw-services-line);
	border-radius: 999px;
	background: rgba(252, 248, 239, .92);
	backdrop-filter: blur(12px);
}

.lmw-services-directory__filters a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 10px 18px;
	border: 1px solid rgba(201, 168, 118, .35);
	border-radius: 999px;
	color: var(--lmw-services-ink);
	font-family: var(--b, Outfit, sans-serif);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .14em;
	line-height: 1.35;
	text-decoration: none;
	text-transform: uppercase;
}

.lmw-services-directory__filters a:hover {
	border-color: rgba(201, 168, 118, .7);
	background: rgba(201, 168, 118, .12);
}

.lmw-services-directory__groups {
	display: grid;
	gap: clamp(54px, 7vw, 88px);
}

.lmw-services-directory__group {
	scroll-margin-top: 140px;
}

.lmw-services-directory__group-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	margin-bottom: 22px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--lmw-services-line);
}

.lmw-services-directory__group-head strong {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border: 1px solid rgba(201, 168, 118, .44);
	border-radius: 999px;
	color: var(--lmw-services-ink);
	font-family: var(--d, Marcellus, serif);
	font-size: 18px;
	font-weight: 400;
}

.lmw-services-directory__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(18px, 2.5vw, 28px);
	align-items: stretch;
}

.lmw-service-card {
	display: flex;
	min-width: 0;
	height: 100%;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--lmw-services-line);
	border-radius: 22px;
	background: var(--lmw-services-card-bg);
	box-shadow: 0 24px 70px -56px rgba(21, 20, 47, .45);
}

.lmw-service-card__media {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: linear-gradient(135deg, #2A2958, #15142F);
}

.lmw-service-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center;
}

.lmw-service-card__placeholder {
	display: flex;
	width: 100%;
	height: 100%;
	align-items: center;
	justify-content: center;
	background:
		linear-gradient(135deg, rgba(201, 168, 118, .22), rgba(21, 20, 47, .2)),
		#1C1B45;
}

.lmw-service-card__placeholder span {
	color: rgba(247, 243, 234, .7);
	font-family: var(--d, Marcellus, serif);
	font-size: 62px;
	line-height: 1;
}

.lmw-service-card__badge {
	position: absolute;
	top: 14px;
	left: 14px;
	max-width: calc(100% - 28px);
	padding: 7px 13px;
	border-radius: 999px;
	background: #F5C67F;
	color: #15142F;
	box-shadow: 0 16px 34px -22px rgba(0, 0, 0, .5);
}

.lmw-service-card__body {
	display: flex;
	min-height: 0;
	flex: 1 1 auto;
	flex-direction: column;
	padding: var(--lmw-services-card-pad-top) var(--lmw-services-card-pad-right) var(--lmw-services-card-pad-bottom) var(--lmw-services-card-pad-left);
}

.lmw-service-card__category {
	margin-bottom: 12px;
}

.lmw-service-card h3 {
	margin: 0;
	color: var(--lmw-services-ink);
	font-family: var(--d, Marcellus, serif);
	font-size: clamp(24px, 2vw, 32px);
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.13;
}

.lmw-service-card p {
	margin: 14px 0 0;
	color: var(--lmw-services-copy);
	font-family: var(--b, Outfit, sans-serif);
	font-size: 15.5px;
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.75;
}

.lmw-service-card__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 16px;
	align-items: center;
	margin-top: auto;
	padding-top: 24px;
}

.lmw-service-card__primary,
.lmw-service-card__secondary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	font-family: var(--b, Outfit, sans-serif);
	font-weight: 700;
	line-height: 1.4;
}

.lmw-service-card__primary {
	min-height: 44px;
	padding: 12px 20px;
	border-radius: 999px;
	background: #15142F;
	color: #F7F3EA;
	font-size: 12px;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.lmw-service-card__secondary {
	color: var(--lmw-services-ink);
	font-size: 14px;
	letter-spacing: .04em;
}

.lmw-service-card__secondary span {
	margin-left: 5px;
}

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

@media (max-width: 980px) {
	.lmw-services-directory__filters {
		top: calc(67px + var(--wp-admin--admin-bar--height, 0px));
	}
}

@media (max-width: 760px) {
	.lmw-services-page .lmw-services-hero {
		padding-top: 78px;
	}

	.lmw-services-page .lmw-services-hero-wrap,
	.lmw-services-page .lmw-services-directory-wrap {
		width: min(100% - 32px, 1220px);
	}

	.lmw-services-directory__header {
		grid-template-columns: 1fr;
		justify-items: center;
	}

	.lmw-services-directory__filters {
		position: sticky;
		border-radius: 22px;
	}

	.lmw-services-directory__filters a {
		flex: 1 1 160px;
	}

	.lmw-services-directory__grid {
		grid-template-columns: 1fr;
	}

	.lmw-service-card {
		border-radius: 18px;
	}
}

@media (max-width: 600px) {
	.lmw-services-directory__filters {
		top: 67px;
	}
}
