/*
 * Virginia Master Maintenance — Emergency Services Page Styles
 * Brand color: #6b8fa8 | Background: #111111 | Font: "Inter", sans-serif
 */

/* -----------------------------------------------
   Hero Banner
----------------------------------------------- */

.vmm-es-hero {
	position: relative;
	min-height: 100vh;
	display: flex;
	align-items: center;
	overflow: hidden;
}

.vmm-es-hero__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	z-index: 0;
}

.vmm-es-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to bottom,
		rgba(17, 17, 17, 0.45) 0%,
		rgba(17, 17, 17, 0.60) 50%,
		rgba(17, 17, 17, 0.90) 82%,
		rgba(17, 17, 17, 1.00) 100%
	);
	z-index: 1;
}

.vmm-es-hero__content {
	position: relative;
	z-index: 2;
	max-width: 760px;
	padding: 0 clamp(2rem, 6vw, 5rem);
}

.vmm-es-hero__title {
	font-size: clamp(2.6rem, 5.5vw, 5rem);
	font-weight: 600;
	color: #ffffff;
	line-height: 1.1;
	font-family: "Inter", sans-serif;
	margin: 0 0 1.25rem;
}

.vmm-es-hero__rule {
	width: 200px;
	height: 3px;
	background-color: #6b8fa8;
	border: none;
	margin: 0 0 2rem;
}

.vmm-es-hero__sub {
	font-size: clamp(1.1rem, 2.2vw, 1.45rem);
	color: #dce8f0;
	line-height: 1.65;
	margin: 0;
}

/* -----------------------------------------------
   Section Base
----------------------------------------------- */

.vmm-es-section {
	padding: clamp(4rem, 8vw, 7rem) clamp(2rem, 6vw, 5rem);
}

.vmm-es-section--dark {
	background-color: #111111;
}

/* -----------------------------------------------
   Services and Programs
----------------------------------------------- */

.vmm-es-services {
	max-width: 1000px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 0;
	font-family: "Inter", sans-serif;
}

.vmm-es-services__header {
	margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.vmm-es-services__title {
	font-size: clamp(1.8rem, 3.5vw, 2.75rem);
	font-weight: 700;
	color: #ffffff;
	font-family: "Inter", sans-serif;
	line-height: 1.15;
	margin: 0 0 1.25rem;
}

.vmm-es-services__rule {
	width: 200px;
	height: 3px;
	background-color: #6b8fa8;
	border: none;
	margin: 0;
}

/* -----------------------------------------------
   Individual Service Item
----------------------------------------------- */

.vmm-es-service {
	display: grid;
	grid-template-columns: 80px 1fr;
	gap: clamp(1.5rem, 3vw, 2.5rem);
	padding: clamp(2.5rem, 5vw, 3.5rem) 0;
	align-items: start;
}

.vmm-es-service__number {
	font-size: clamp(2rem, 3.5vw, 2.75rem);
	font-weight: 700;
	color: #6b8fa8;
	font-family: "Inter", sans-serif;
	line-height: 1;
	padding-top: 0.15em;
	flex-shrink: 0;
}

.vmm-es-service__body {
	display: flex;
	flex-direction: column;
	gap: 0.9rem;
}

.vmm-es-service__title {
	font-size: clamp(1.1rem, 2vw, 1.4rem);
	font-weight: 700;
	color: #ffffff;
	font-family: "Inter", sans-serif;
	margin: 0;
	line-height: 1.2;
}

.vmm-es-service__desc {
	font-size: 1rem;
	line-height: 1.8;
	color: #8fa8bc;
	margin: 0;
}

/* -----------------------------------------------
   Divider between services
----------------------------------------------- */

.vmm-es-divider {
	width: 100%;
	height: 1px;
	background-color: rgba(107, 143, 168, 0.2);
	border: none;
	margin: 0;
}

/* -----------------------------------------------
   Responsive
----------------------------------------------- */

@media (max-width: 640px) {
	.vmm-es-service {
		grid-template-columns: 1fr;
		gap: 0.75rem;
	}

	.vmm-es-service__number {
		font-size: 1.5rem;
	}
}
