/**
 * Services V2 — rebuilt to match the approved reference design exactly.
 * Relies on tokens from .ws-page (water-softener.css): --ep-dark, --ep-gold, --ep-body, ws-container, ws-label
 */
.ws-page.svc-page { background-color: rgb(248,248,246); }

/* ---------- HERO ---------- */
.svc-hero { background-color: var(--ep-dark); border-bottom: 1px solid rgba(226,178,123,0.15); padding: 4rem 0; }
@media (min-width: 768px) { .svc-hero { padding: 5rem 0; } }
.svc-hero .ws-label { color: rgb(226,178,123); margin-bottom: 1rem; }
.svc-page .svc-hero__title {
	font-family: "Plus Jakarta Sans", sans-serif;
	font-weight: 800;
	font-size: clamp(2rem, 5vw, 3.25rem);
	color: #fff;
	line-height: 1.1;
	margin-bottom: 1rem;
	max-width: 700px;
}
.svc-hero__title span { color: rgb(226,178,123); }
.svc-hero__desc {
	font-family: "DM Sans", sans-serif;
	color: rgba(255,255,255,0.65);
	font-size: 1.0625rem;
	line-height: 1.75;
	max-width: 600px;
}
.svc-hero__desc p { margin: 0; color: rgba(255,255,255,0.65); }

/* ---------- SECTION HEAD (icon + title) ---------- */
.svc-section { padding-top: 0; padding-bottom: 0; }
.svc-section--residential { padding-top: 3.5rem; }
.svc-section--commercial { padding-bottom: 3.5rem; }
@media (min-width: 768px) {
	.svc-section--residential { padding-top: 5rem; }
	.svc-section--commercial { padding-bottom: 5rem; }
}
.svc-section__head { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; }
.svc-section__icon {
	width: 2.25rem; height: 2.25rem; border-radius: 6px;
	background-color: rgba(226,178,123,0.12);
	display: flex; align-items: center; justify-content: center; flex-shrink: 0;
	color: rgb(226,178,123);
}
.svc-page .svc-section__title {
	font-family: "Plus Jakarta Sans", sans-serif;
	font-weight: 800;
	font-size: 1.5rem;
	color: var(--ep-dark);
	margin: 0;
}
.svc-section__intro {
	font-family: "DM Sans", sans-serif;
	color: rgba(13,22,29,0.55);
	font-size: 0.9375rem;
	line-height: 1.7;
	margin-bottom: 2rem;
	max-width: 640px;
}
.svc-section__intro p { margin: 0; color: rgba(13,22,29,0.55); }

/* ---------- CATEGORY GRID ---------- */
.svc-cats { display: flex; flex-direction: column; gap: 2.5rem; margin-bottom: 4rem; }
.svc-cat__head { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.svc-cat__label {
	font-family: "Plus Jakarta Sans", sans-serif;
	font-weight: 700;
	font-size: 0.6875rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgb(226,178,123);
	white-space: nowrap;
}
.svc-cat__rule { flex: 1; height: 1px; background-color: rgba(0,0,0,0.08); }
.svc-grid { display: grid; grid-template-columns: 1fr; gap: 0.75rem; }
@media (min-width: 640px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .svc-grid { grid-template-columns: 1fr 1fr 1fr; } }

.svc-item {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	padding: 0.875rem 1rem;
	border-radius: 6px;
	background-color: #ffffff;
	border: 1px solid rgba(0,0,0,0.07);
	transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.15s ease;
}
.svc-item:hover {
	border-color: rgb(226,178,123);
	box-shadow: 0 4px 16px rgba(226,178,123,0.15);
	transform: translateY(-1px);
}
.svc-item__body { flex: 1; min-width: 0; }
.svc-item__title {
	display: block;
	font-family: "Plus Jakarta Sans", sans-serif;
	font-weight: 700;
	font-size: 0.9375rem;
	color: var(--ep-dark);
	margin-bottom: 0.25rem;
	line-height: 1.3;
	text-decoration: none;
}
a.svc-item__title:hover { color: rgb(226,178,123); text-decoration: underline; }
.svc-item__title--plain { cursor: default; }
.svc-item__desc {
	font-family: "DM Sans", sans-serif;
	font-size: 0.8125rem;
	color: rgba(13,22,29,0.5);
	line-height: 1.5;
	margin: 0;
}
.svc-item__desc p { margin: 0; color: rgba(13,22,29,0.5); font-size: 0.8125rem; line-height: 1.5; font-family: "DM Sans", sans-serif; }
.svc-item__arrow { flex-shrink: 0; margin-top: 2px; color: var(--ep-dark); opacity: 0.25; transition: color 0.18s ease, opacity 0.18s ease; }
.svc-item:hover .svc-item__arrow { color: rgb(226,178,123); opacity: 1; }

/* ---------- COMMERCIAL DARK BLOCK ---------- */
.comm-block {
	background: linear-gradient(135deg, rgb(13,22,29) 0%, rgb(20,34,46) 100%);
	border: 1px solid rgba(226,178,123,0.2);
	border-radius: 8px;
	padding: 2.5rem;
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}
@media (min-width: 768px) {
	.comm-block { flex-direction: row; align-items: center; justify-content: space-between; }
}
.svc-page .comm-block__title {
	font-family: "Plus Jakarta Sans", sans-serif;
	font-weight: 800;
	font-size: 1.25rem;
	color: #fff;
	margin: 0 0 0.5rem;
}
.comm-block__desc {
	font-family: "DM Sans", sans-serif;
	color: rgba(255,255,255,0.55);
	font-size: 0.9375rem;
	line-height: 1.6;
	max-width: 480px;
}
.comm-block__desc p { margin: 0; color: rgba(255,255,255,0.55); }
.comm-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background-color: rgb(226,178,123);
	color: rgb(13,22,29);
	font-family: "Plus Jakarta Sans", sans-serif;
	font-weight: 700;
	font-size: 0.9375rem;
	padding: 0.8125rem 1.75rem;
	border-radius: 4px;
	text-decoration: none;
	white-space: nowrap;
	flex-shrink: 0;
	transition: filter 0.2s ease, transform 0.15s ease;
}
.comm-btn:hover { filter: brightness(0.9); transform: translateY(-1px); }

/* ---------- FINAL CTA BAR ---------- */
.svc-cta-bar { background-color: var(--ep-dark); border-top: 1px solid rgba(226,178,123,0.12); }
.svc-cta-bar__inner {
	padding: 3rem 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	text-align: center;
}
@media (min-width: 768px) {
	.svc-cta-bar__inner { flex-direction: row; text-align: left; }
}
.svc-page .svc-cta-bar__title {
	font-family: "Plus Jakarta Sans", sans-serif;
	font-weight: 800;
	font-size: 1.375rem;
	color: #fff;
	margin: 0 0 0.375rem;
}
.svc-cta-bar__desc { font-family: "DM Sans", sans-serif; color: rgba(255,255,255,0.55); font-size: 0.9375rem; }
.svc-cta-bar__desc p { margin: 0; color: rgba(255,255,255,0.55); }
.cta-phone {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background-color: rgb(226,178,123);
	color: rgb(13,22,29);
	font-family: "Plus Jakarta Sans", sans-serif;
	font-weight: 700;
	font-size: 1rem;
	padding: 0.875rem 2rem;
	border-radius: 4px;
	text-decoration: none;
	white-space: nowrap;
	flex-shrink: 0;
	transition: filter 0.2s ease, transform 0.15s ease;
}
.cta-phone:hover { filter: brightness(0.9); transform: translateY(-1px); }