/* ==========================================================================
   SERVICES LANDING PAGE STYLESHEET
   ========================================================================== */

.services-page-container {
	background-color: var(--color-bg-main);
	color: var(--color-text-main);
	font-family: var(--font-family);
}

/* 1. HERO SECTION */
.services-hero {
	background-color: var(--color-bg-light);
	padding: 4rem 0 3.5rem;
	text-align: left;
}

.services-hero .breadcrumb-wrapper {
	margin-bottom: 1.5rem;
	font-size: 0.9rem;
	color: var(--color-text-muted);
}

.services-hero .breadcrumb-wrapper a {
	color: var(--color-text-muted);
	text-decoration: none;
	transition: color 0.3s ease;
}

.services-hero .breadcrumb-wrapper a:hover {
	color: var(--color-primary);
}



.services-hero .services-tagline {
	display: inline-block;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--color-primary);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 0.75rem;
}

.services-hero .page-title {
	font-size: 2.75rem;
	font-weight: 750; /* max standard weight */
	line-height: 1.2;
	color: var(--color-primary);
	margin: 0 0 1rem;
}

.services-hero .page-desc {
	font-size: 1.125rem;
	line-height: 1.6;
	color: var(--color-text-muted);
	max-width: 800px;
	margin: 0;
}

/* 2. GRID SECTION */
.services-list-section {
	padding: 5rem 0 6rem;
	background-color: var(--color-bg-main);
}

.services-grid {
	display: grid;
	gap: 2.5rem 2rem;
}

/* Grid layout on desktop */
@media (min-width: 768px) {
	.services-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* Grid layout on mobile (2-columns with Dynamic Odd-Stretch Grid) */
@media (max-width: 767px) {
	.services-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 1.25rem;
	}
	/* Dynamic Odd-Stretch Grid Rule: stretch the last odd item to 100% width */
	.service-card-wrapper:nth-child(odd):last-child {
		grid-column: span 2;
	}
}

/* 3. CARD COMPONENT */
.service-card-wrapper {
	display: block;
	height: 100%;
}

.service-card {
	background: var(--color-bg-main);
	border: 2px solid var(--color-primary);
	border-radius: var(--border-radius-lg); /* 10px */
	padding: 1.75rem 1.5rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	height: 100%;
	text-decoration: none;
	transition: var(--transition-smooth);
}

.service-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-hover);
}

/* Card Image Wrapper */
.service-card-image-wrapper {
	background-color: var(--color-primary-light); /* rgba(88, 186, 64, 0.05) */
	border-radius: var(--border-radius-md); /* 8px */
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 0 1.5rem 0;
	width: 100%;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	position: relative;
}

.service-card-image-wrapper img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .service-card-image-wrapper img {
	transform: scale(1.06);
}

/* Card Content */
.service-card-title {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--color-primary);
	margin: 0 0 0.75rem;
	line-height: 1.4;
	transition: color 0.3s ease;
}

.service-card:hover .service-card-title {
	color: var(--color-primary-hover);
}

.service-card-desc {
	font-size: 0.95rem;
	line-height: 1.5;
	color: var(--color-text-muted);
	margin: 0;
}

/* Subtle micro-animation when card is clicked (active state) */
.service-card:active {
	transform: translateY(-2px);
}
