/* ============================================================
   Anderson Landscape — SERVICE PAGE (Landscaping & Planting)
   ============================================================ */

/* ----- 1. HERO ----- */
.s-hero {
	position: relative;
	width: 100%;
	height: 760px;
	overflow: hidden;
	background: #0c1410;
	margin-top: 0;
}

.s-hero-img {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	animation: heroKenBurns 14s ease-out forwards;
}

.s-hero-overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background:
		linear-gradient(
			90deg,
			rgba(6, 40, 29, 0.78) 0%,
			rgba(6, 40, 29, 0.58) 22%,
			rgba(6, 40, 29, 0.38) 42%,
			rgba(6, 40, 29, 0.18) 58%,
			rgba(6, 40, 29, 0.06) 68%,
			transparent 72%
		),
		linear-gradient(
			180deg,
			rgba(15, 31, 22, 0.62) 0%,
			rgba(6, 40, 29, 0.28) 22%,
			transparent 48%,
			rgba(4, 33, 22, 0.35) 72%,
			rgba(4, 33, 22, 0.72) 100%
		);
}

.s-hero-content {
	position: absolute;
	left: 96px;
	bottom: 120px;
	max-width: 820px;
	z-index: 5;
	color: var(--white);
}

.s-hero-eyebrow {
	font-family: var(--font-sans);
	font-size: 12px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--offwhite);
	margin-bottom: 28px;
	display: flex;
	align-items: center;
	gap: 12px;
}

.s-hero-eyebrow::before {
	content: "";
	width: 36px;
	height: 1px;
	background: var(--stone);
}

.s-crumb {
	color: var(--white);
	font-weight: 600;
	opacity: 1;
}

.s-crumb-sep {
	opacity: 0.5;
}

.s-hero-heading {
	font-family: var(--font-serif);
	font-size: 72px;
	line-height: 1.04;
	font-weight: 400;
	letter-spacing: -0.014em;
	color: var(--white);
	margin-bottom: 30px;
	text-wrap: balance;
}

.s-hero-heading em {
	font-style: italic;
	color: var(--white);
}

.service-page-block .s-hero-content .s-hero-sub,
.service-page .s-hero-content .s-hero-sub,
.s-hero-content .s-hero-sub {
	font-size: 19px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.88);
	max-width: 600px;
	margin-top: clamp(1rem, 2.5vw, 1.75rem);
	margin-bottom: clamp(2.25rem, 3.5vw, 3rem);
}

.s-hero-side {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 56px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	z-index: 4;
	color: rgba(255, 255, 255, 0.7);
	font-family: var(--font-sans);
	font-size: 10px;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.s-hero-side.s-hero-side--left {
	color: var(--white);
	font-weight: 600;
}

.s-hero-side > div:not(.s-hero-side-rule) {
	writing-mode: vertical-rl;
	transform: rotate(180deg);
}

.s-hero-side-rule {
	position: absolute;
	bottom: 56px;
	width: 1px;
	height: 60px;
	background: rgba(255, 255, 255, 0.5);
}

.s-hero-scroll-cue {
	position: absolute;
	bottom: 36px;
	right: 80px;
	z-index: 6;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	color: rgba(255, 255, 255, 0.7);
	font-family: var(--font-sans);
	font-size: 9px;
	letter-spacing: 0.32em;
}

/* ----- 2. OVERVIEW ----- */
.s-overview {
	background: var(--paper);
	padding: 140px 96px;
}

.s-overview-grid {
	display: grid;
	grid-template-columns: 1fr 1.05fr;
	gap: 100px;
	align-items: center;
	max-width: 1280px;
	margin: 0 auto;
}

.s-overview-p {
	font-size: 18px;
	line-height: 1.65;
	color: #4a524a;
	margin-top: 20px !important;
	margin-bottom: 40px;
	max-width: 540px;
}

.s-overview-stats {
	display: flex;
	gap: 56px;
	padding-top: 32px;
	border-top: 1px solid rgba(26, 61, 43, 0.15);
}

.s-stat-num {
	font-family: var(--font-serif);
	font-size: 52px;
	line-height: 1;
	font-weight: 500;
	color: var(--forest);
	margin-bottom: 8px;
}

.s-stat-label {
	font-family: var(--font-sans);
	font-size: 11px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--stone-deep);
}

.s-overview-imgs {
	position: relative;
	aspect-ratio: 1 / 1;
}

.s-overview-img {
	position: absolute;
	background-size: cover;
	background-position: center;
}

.s-overview-img--1 {
	top: 0;
	right: 0;
	width: 74%;
	height: 72%;
}

.s-overview-img--2 {
	bottom: 0;
	left: 0;
	width: 56%;
	height: 52%;
	border: 12px solid var(--paper);
}

/* ----- 3. WHAT WE DO ----- */
.s-services {
	background: var(--forest-deep);
	color: var(--white);
	padding: 140px 96px;
}

.s-services-head {
	max-width: 1280px;
	margin: 0 auto 64px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 80px;
	align-items: end;
}

.s-services-intro {
	font-size: 16px;
	line-height: 1.7;
	color: rgba(240, 237, 232, 0.78);
	max-width: 460px;
}

.s-services-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px 28px;
	max-width: 1280px;
	margin: 0 auto;
}

.s-service-card {
	display: flex;
	flex-direction: column;
	transition: transform 280ms ease;
}

.s-service-card:hover,
.s-service-card:focus-within {
	transform: translateY(-3px);
}

.s-service-img {
	position: relative;
	width: 100%;
	aspect-ratio: 3/2;
	background-size: cover;
	background-position: center;
	margin-bottom: 22px;
	outline: 1px solid rgba(196, 168, 130, 0.22);
	outline-offset: -1px;
	transition: outline-color 280ms ease, box-shadow 280ms ease;
}

.s-service-card:hover .s-service-img,
.s-service-card:focus-within .s-service-img {
	outline-color: rgba(196, 168, 130, 0.55);
	box-shadow: inset 0 0 0 1px rgba(196, 168, 130, 0.35);
}

.s-service-img-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(15, 31, 22, 0.45));
	transition: background 320ms ease;
}

.s-service-card:hover .s-service-img-overlay,
.s-service-card:focus-within .s-service-img-overlay {
	background: linear-gradient(180deg, rgba(26, 61, 43, 0.22), rgba(15, 31, 22, 0.58));
}

.s-service-num {
	position: absolute;
	top: 16px;
	left: 16px;
	font-family: var(--font-sans);
	font-size: clamp(0.72rem, 0.95vw, 0.82rem);
	font-weight: 600;
	letter-spacing: 0.22em;
	color: var(--stone);
	border: 2px solid rgba(196, 168, 130, 0.85);
	padding: 8px 12px;
	background: rgba(15, 31, 22, 0.45);
	transition: border-color 280ms ease, color 280ms ease, background 280ms ease;
}

.s-service-card:hover .s-service-num,
.s-service-card:focus-within .s-service-num {
	border-color: var(--stone);
	color: #fff;
	background: rgba(15, 31, 22, 0.72);
}

.s-service-title {
	font-family: var(--font-serif);
	font-size: 26px;
	font-weight: 500;
	color: var(--white);
	margin-bottom: 12px;
	letter-spacing: -0.005em;
}

.s-service-body {
	font-size: 15px;
	line-height: 1.65;
	color: rgba(240, 237, 232, 0.72);
}

/* ----- 4. WHY ANDERSON ----- */
.s-why {
	position: relative;
	color: var(--white);
	overflow: hidden;
}

.s-why-img {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
}

.s-why-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(7, 15, 11, 0.88), rgba(7, 15, 11, 0.92));
}

.s-why-inner {
	position: relative;
	z-index: 2;
	max-width: 1280px;
	margin: 0 auto;
	padding: 140px 96px;
	display: grid;
	grid-template-columns: 0.85fr 1.15fr;
	gap: 90px;
	align-items: start;
}

.s-why-head {
	position: sticky;
	top: 120px;
}

.s-why-list {
	display: flex;
	flex-direction: column;
}

.s-why-item {
	display: grid;
	grid-template-columns: 56px 1fr;
	gap: 28px;
	padding: 32px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.s-why-item:first-child {
	border-top: none;
	padding-top: 0;
}

.s-why-num {
	font-family: var(--font-sans);
	font-size: 13px;
	letter-spacing: 0.2em;
	color: var(--stone);
	padding-top: 6px;
}

.s-why-item-title {
	font-family: var(--font-serif);
	font-size: 30px;
	font-weight: 500;
	color: var(--white);
	margin-bottom: 12px;
}

.s-why-item-body p {
	font-size: 20px;
	line-height: 1.7;
	color: rgba(240, 237, 232, 0.78);
	max-width: 560px;
}

/* ----- 5. PROCESS ----- */
.s-process {
	background: var(--paper);
	padding: 140px 96px;
}

.s-process-head {
	max-width: 1280px;
	margin: 0 auto 72px;
}

.s-process-track {
	max-width: 1280px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 36px;
}

.s-step {
	position: relative;
}

.s-step-top {
	display: flex;
	align-items: center;
	margin-bottom: 26px;
}

.s-step-num {
	flex: 0 0 auto;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	border: 1px solid var(--forest);
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-serif);
	font-size: 24px;
	color: var(--forest);
	background: var(--paper);
	z-index: 2;
}

.s-step-line {
	flex: 1;
	height: 1px;
	background: rgba(26, 61, 43, 0.2);
	margin-left: 8px;
}

.s-step-label {
	font-family: var(--font-sans);
	font-size: 10px;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--stone-deep);
	margin-bottom: 10px;
}

.s-step-title {
	font-family: var(--font-serif);
	font-size: 26px;
	font-weight: 500;
	color: var(--forest-deep);
	margin-bottom: 14px;
}

.s-step-body {
	font-size: 15px;
	line-height: 1.65;
	color: #4a524a;
}

/* ----- 6. ESTIMATE CTA ----- */
.s-estimate {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: clamp(520px, 62vw, 640px);
	padding: clamp(4rem, 8vw, 6rem) clamp(1.5rem, 5vw, 4rem);
	color: var(--white);
	overflow: hidden;
}

.s-estimate-img {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
}

.s-estimate-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		180deg,
		rgba(7, 15, 11, 0.72) 0%,
		rgba(7, 15, 11, 0.58) 50%,
		rgba(7, 15, 11, 0.72) 100%
	);
}

.s-estimate-inner {
	position: relative;
	z-index: 2;
	width: min(680px, 100%);
	max-width: 680px;
	margin: 0 auto;
	padding: 0;
	text-align: center;
}

.s-estimate-inner .d-eyebrow {
	margin: 0 auto clamp(1rem, 2vw, 1.35rem);
}

.s-estimate-inner .d-serif-heading {
	margin: 0 auto;
	text-align: center;
}

.service-page-block .s-estimate-inner .s-estimate-p,
.service-page .s-estimate-inner .s-estimate-p,
.s-estimate-inner .s-estimate-p {
	font-size: clamp(1rem, 1.35vw, 1.125rem);
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.88);
	text-align: center;
	width: 100%;
	max-width: 34rem;
	margin: clamp(1rem, 2vw, 1.35rem) auto clamp(1.25rem, 2.5vw, 1.5rem);
	padding: 0;
}

.s-estimate-actions {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: stretch;
	justify-content: center;
	gap: 0.75rem 1rem;
	width: 100%;
	max-width: 44rem;
	margin: 0 auto;
}

.s-estimate-actions .d-btn-ghost {
	flex: 1 1 12rem;
	justify-content: center;
	width: auto;
	min-width: min(100%, 12rem);
	max-width: none;
}

/* ----- Responsive ----- */
@media (max-width: 1100px) {
	.service-page-block .s-hero-heading,
	.s-hero-heading {
		font-size: clamp(2.5rem, 6vw, 3.5rem);
	}

	.s-hero-content {
		left: 48px;
		right: 48px;
		bottom: 100px;
	}

	.s-hero-scroll-cue {
		right: 48px;
	}

	.s-overview,
	.s-services,
	.s-why-inner,
	.s-process {
		padding: 100px 48px;
	}

	.s-overview-grid {
		grid-template-columns: 1fr;
		gap: 56px;
	}

	.s-services-head {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.s-services-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.s-why-inner {
		grid-template-columns: 1fr;
		gap: 48px;
	}

	.s-why-head {
		position: static;
	}

	.s-process-track {
		grid-template-columns: repeat(2, 1fr);
	}

	.s-estimate-inner {
		width: min(680px, calc(100% - 3rem));
	}
}

@media (max-width: 768px) {
	.s-hero {
		height: min(100vh, 720px);
		min-height: 520px;
	}

	.s-hero-overlay {
		background:
			linear-gradient(
				180deg,
				rgba(15, 31, 22, 0.78) 0%,
				rgba(6, 40, 29, 0.58) 38%,
				rgba(6, 40, 29, 0.52) 62%,
				rgba(4, 33, 22, 0.72) 100%
			);
	}

	.s-hero-side {
		display: none;
	}

	.s-hero-content {
		left: 24px;
		right: 24px;
		bottom: 80px;
	}

	.s-hero-scroll-cue {
		display: none;
	}

	.s-overview,
	.s-services,
	.s-why-inner,
	.s-process {
		padding: 72px 24px;
	}

	.s-services-grid {
		grid-template-columns: 1fr;
	}

	.s-process-track {
		grid-template-columns: 1fr;
	}

	.s-step-line {
		display: none;
	}

	.s-estimate {
		min-height: auto;
		padding: clamp(3.5rem, 10vw, 4.5rem) 1.5rem;
	}

	.s-estimate-inner {
		width: 100%;
		max-width: none;
		padding: 0;
	}

	.service-page-block .s-estimate-inner .s-estimate-p,
	.service-page .s-estimate-inner .s-estimate-p,
	.s-estimate-inner .s-estimate-p {
		margin: 1rem auto 1.25rem;
	}

	.s-estimate-actions {
		flex-direction: column;
		max-width: 20rem;
	}

	.s-estimate-actions .d-btn-ghost {
		flex: none;
		width: 100%;
		min-width: 0;
	}
}
