/* ==========================================================================
   Black Mango - Services Page Stylesheet
   Matches exact layout, colors, responsive typography, and mockup details
   ========================================================================== */

.blackmango-services {
	width: 100%;
	overflow-x: hidden;
	font-family: var(--bm-font-sans, 'Plus Jakarta Sans', sans-serif);
	background-color: #ffffff;
	color: #1a221b;
}

/* Header Active Link for Service Page */
body.page-template-page-services .bm-nav-list li a[href*="service"],
body.page-id-service .bm-nav-list li a[href*="service"] {
	color: var(--bm-primary-medium, #1f5730) !important;
	font-weight: 700 !important;
	border-bottom: 2px solid var(--bm-accent-green, #3ea03c) !important;
}

/* Common Section Badges */
.bm-service-badge {
	color: #3ea03c !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	letter-spacing: 1.5px !important;
	text-transform: uppercase !important;
	margin-bottom: 16px !important;
	display: inline-block !important;
}

.bm-badge-center {
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}

/* Centered Section Headers */
.bm-service-header {
	max-width: 760px;
	margin: 0 auto 36px auto;
	text-align: center;
}

.bm-service-section-title {
	font-size: clamp(28px, 3.2vw, 40px) !important;
	font-weight: 800 !important;
	color: #164223 !important;
	line-height: 1.2 !important;
	margin: 0 0 14px 0 !important;
	letter-spacing: -0.5px !important;
}

.bm-service-section-subtitle {
	font-size: clamp(15px, 1.3vw, 17px) !important;
	color: #5e6d62 !important;
	line-height: 1.65 !important;
	margin: 0 auto !important;
	max-width: 680px !important;
}

/* Common Buttons & Icon Circles */
.bm-service-btn {
	display: inline-flex !important;
	align-items: center !important;
	gap: 12px !important;
	padding: 13px 26px !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	border-radius: 9999px !important;
	text-decoration: none !important;
	transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
	box-shadow: 0 4px 14px rgba(245, 195, 50, 0.35) !important;
}

.bm-service-btn:hover {
	transform: translateY(-2px) !important;
	box-shadow: 0 6px 20px rgba(245, 195, 50, 0.45) !important;
}

.bm-arrow-circle {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background-color: #111812;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.25s ease;
}

.bm-service-btn:hover .bm-arrow-circle {
	transform: translate(2px, -2px);
}

/* ==========================================================================
   1. Hero Section - Seamless Split without Empty Space
   ========================================================================== */
.bm-service-hero-section {
	padding: clamp(30px, 4vw, 50px) 0 clamp(20px, 3vw, 40px) 0;
	background: #ffffff;
	position: relative;
	overflow: hidden;
}

.bm-service-hero-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: clamp(24px, 3vw, 48px);
	width: 100%;
}

.bm-service-hero-content {
	flex: 1 1 50%;
	max-width: 640px;
}

.bm-service-hero-title {
	font-size: clamp(34px, 4.2vw, 54px) !important;
	font-weight: 800 !important;
	color: #164223 !important;
	line-height: 1.15 !important;
	letter-spacing: -1px !important;
	margin: 0 0 20px 0 !important;
}

.bm-service-hero-desc {
	font-size: clamp(15.5px, 1.35vw, 17px) !important;
	color: #5e6d62 !important;
	line-height: 1.65 !important;
	margin: 0 0 32px 0 !important;
	max-width: 540px;
}

.bm-service-hero-media {
	flex: 1 1 50%;
	position: relative;
	display: flex;
	justify-content: flex-end;
	align-self: stretch;
}

.bm-service-hero-img-wrap {
	position: relative;
	width: 100%;
	height: 100%;
	min-height: 440px;
	border-radius: 20px;
	overflow: hidden;
	display: flex;
}

.bm-service-hero-img {
	width: 100%;
	height: 100%;
	min-height: 440px;
	display: block;
	object-fit: cover;
	object-position: center;
	border-radius: 20px;
}

@media (min-width: 992px) {
	/* Soft feathered fade blend on left side as seen in mockup */
	.bm-service-hero-img-wrap {
		-webkit-mask-image: linear-gradient(to right, transparent 0%, black 14%);
		mask-image: linear-gradient(to right, transparent 0%, black 14%);
		border-radius: 0;
	}

	.bm-service-hero-img {
		border-radius: 0;
	}
}

/* ==========================================================================
   2. Service Overview (6 Cards Grid)
   ========================================================================== */
.bm-service-overview-section {
	padding: clamp(40px, 5vw, 70px) 0;
	background-color: #fafbf9;
	position: relative;
}

.bm-service-cards-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(24px, 3vw, 32px);
}

.bm-svc-card {
	background: #ffffff;
	border: 1px solid rgba(22, 66, 35, 0.08);
	border-radius: 18px;
	overflow: visible;
	position: relative;
	display: flex;
	flex-direction: column;
	transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.bm-svc-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 16px 36px rgba(22, 66, 35, 0.09);
	border-color: rgba(62, 160, 60, 0.3);
}

.bm-svc-card-media {
	position: relative;
	width: 100%;
	border-radius: 18px 18px 0 0;
	overflow: visible;
}

.bm-svc-card-img {
	width: 100%;
	height: 220px;
	object-fit: cover;
	display: block;
	border-radius: 18px 18px 0 0;
	background-color: #e9ece8;
	transition: transform 0.5s ease;
}

.bm-svc-card:hover .bm-svc-card-img {
	transform: scale(1.02);
}

/* Overlapping Icon Badge */
.bm-svc-icon-badge {
	position: absolute;
	bottom: -20px;
	left: 24px;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #ffffff;
	border: 2px solid #ebf5eb;
	box-shadow: 0 4px 12px rgba(22, 66, 35, 0.12);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 3;
	transition: all 0.3s ease;
}

.bm-svc-card:hover .bm-svc-icon-badge {
	background: #ebf5eb;
	transform: scale(1.08);
}

.bm-svc-card-body {
	padding: 32px 24px 28px 24px;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.bm-svc-card-title {
	font-size: 18px !important;
	font-weight: 700 !important;
	color: #164223 !important;
	margin: 0 0 10px 0 !important;
	line-height: 1.35 !important;
}

.bm-svc-card-desc {
	font-size: 14px !important;
	color: #5e6d62 !important;
	line-height: 1.55 !important;
	margin: 0 !important;
}

/* ==========================================================================
   3. Why Choose Us Section (Dark Green Container)
   ========================================================================== */
.bm-service-why-section {
	padding: clamp(36px, 4.5vw, 60px) 0;
	background-color: #ffffff;
}

.bm-service-why-box {
	background-color: #143823;
	border-radius: 24px;
	padding: clamp(32px, 4.5vw, 60px);
	box-shadow: 0 20px 48px rgba(20, 56, 35, 0.2);
}

.bm-service-why-grid {
	display: flex;
	align-items: stretch;
	gap: clamp(36px, 4.5vw, 64px);
}

.bm-service-why-media {
	flex: 1 1 42%;
	display: flex;
	align-self: stretch;
}

.bm-service-why-img-wrap {
	width: 100%;
	height: 100%;
	min-height: 100%;
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
	display: flex;
	flex: 1 1 auto;
}

.bm-service-why-img {
	width: 100%;
	height: 100%;
	min-height: 100%;
	object-fit: cover;
	display: block;
	border-radius: 18px;
	transition: transform 0.5s ease;
}

.bm-service-why-img-wrap:hover .bm-service-why-img {
	transform: scale(1.03);
}

.bm-service-why-content {
	flex: 1 1 58%;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.bm-service-why-badge {
	color: #79cb6c !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	letter-spacing: 1.5px !important;
	text-transform: uppercase !important;
	margin-bottom: 14px !important;
}

.bm-service-why-title {
	font-size: clamp(26px, 2.6vw, 38px) !important;
	font-weight: 800 !important;
	color: #ffffff !important;
	line-height: 1.25 !important;
	letter-spacing: -0.5px !important;
	margin: 0 0 36px 0 !important;
}

.bm-service-why-features {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin-bottom: 36px;
}

.bm-why-feature-col {
	display: flex;
	flex-direction: column;
}

.bm-why-feature-icon {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background-color: #f5c332;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 14px;
	box-shadow: 0 4px 10px rgba(245, 195, 50, 0.3);
}

.bm-why-feature-title {
	font-size: 15.5px !important;
	font-weight: 700 !important;
	color: #ffffff !important;
	margin: 0 0 6px 0 !important;
	line-height: 1.3 !important;
}

.bm-why-feature-desc {
	font-size: 12.5px !important;
	color: #b9d5c3 !important;
	line-height: 1.45 !important;
	margin: 0 !important;
}

.bm-service-why-action {
	margin-top: 8px;
}

/* ==========================================================================
   4. How We Support Your Farm (Process Section)
   ========================================================================== */
.bm-service-process-section {
	padding: clamp(40px, 5vw, 64px) 0;
	background-color: #ffffff;
}

.bm-service-process-flow {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	position: relative;
	max-width: 1160px;
	margin: 0 auto;
}

.bm-process-step {
	flex: 1 1 22%;
	text-align: center;
	padding: 0 10px;
}

.bm-process-step-num {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background-color: #143823;
	color: #ffffff;
	font-size: 16px;
	font-weight: 800;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 18px auto;
	box-shadow: 0 4px 12px rgba(20, 56, 35, 0.25);
	transition: transform 0.3s ease;
}

.bm-process-step:hover .bm-process-step-num {
	transform: scale(1.1);
	background-color: #3ea03c;
}

.bm-process-step-title {
	font-size: 16.5px !important;
	font-weight: 700 !important;
	color: #164223 !important;
	margin: 0 0 8px 0 !important;
	line-height: 1.3 !important;
}

.bm-process-step-desc {
	font-size: 13.5px !important;
	color: #5e6d62 !important;
	line-height: 1.55 !important;
	margin: 0 !important;
}

.bm-process-arrow {
	flex: 0 0 auto;
	margin-top: 14px;
	color: #3ea03c;
	opacity: 0.85;
}

/* ==========================================================================
   5. Panoramic Pasture Cows Banner
   ========================================================================== */
.bm-service-pasture-banner {
	width: 100%;
	position: relative;
	overflow: hidden;
	background-color: #e8efe8;
}

.bm-pasture-banner-wrap {
	width: 100%;
	line-height: 0;
}

.bm-pasture-banner-img {
	width: 100%;
	height: clamp(240px, 26vw, 380px);
	object-fit: cover;
	object-position: center;
	display: block;
}

/* ==========================================================================
   6. Trust Section
   ========================================================================== */
.bm-service-trust-section {
	padding: clamp(40px, 5vw, 64px) 0;
	background-color: #ffffff;
}

.bm-trust-badge {
	color: #3ea03c !important;
	font-size: 12.5px !important;
	font-weight: 700 !important;
	letter-spacing: 1.5px !important;
	text-transform: uppercase !important;
	margin-bottom: 12px !important;
}

.bm-service-trust-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: 1080px;
	margin: 0 auto;
	gap: 20px;
}

.bm-trust-col {
	flex: 1 1 30%;
	text-align: center;
	padding: 0 12px;
}

.bm-trust-icon-wrap {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background-color: #ebf5eb;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 16px auto;
	transition: transform 0.3s ease;
}

.bm-trust-col:hover .bm-trust-icon-wrap {
	transform: translateY(-3px);
	background-color: #def0de;
}

.bm-trust-title {
	font-size: 17px !important;
	font-weight: 700 !important;
	color: #164223 !important;
	margin: 0 0 8px 0 !important;
	line-height: 1.35 !important;
}

.bm-trust-desc {
	font-size: 13.5px !important;
	color: #5e6d62 !important;
	line-height: 1.5 !important;
	margin: 0 auto !important;
	max-width: 260px;
}

.bm-trust-chevron {
	flex: 0 0 auto;
	color: #3ea03c;
	opacity: 0.7;
}

/* ==========================================================================
   7. Gold CTA Section
   ========================================================================== */
.bm-service-cta-section {
	padding: clamp(50px, 6vw, 76px) 20px;
	background-color: #f5c332;
	position: relative;
	text-align: center;
}

.bm-service-cta-content {
	max-width: 720px;
	margin: 0 auto;
}

.bm-service-cta-title {
	font-size: clamp(28px, 3.2vw, 42px) !important;
	font-weight: 800 !important;
	color: #143823 !important;
	line-height: 1.2 !important;
	letter-spacing: -0.5px !important;
	margin: 0 0 14px 0 !important;
}

.bm-service-cta-desc {
	font-size: clamp(15px, 1.35vw, 17px) !important;
	color: #164223 !important;
	opacity: 0.95;
	line-height: 1.6 !important;
	margin: 0 auto 30px auto !important;
	max-width: 660px;
}

.bm-btn-dark {
	display: inline-flex !important;
	align-items: center !important;
	gap: 12px !important;
	background-color: #143823 !important;
	color: #ffffff !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	padding: 13px 28px !important;
	border-radius: 9999px !important;
	text-decoration: none !important;
	transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
	box-shadow: 0 4px 14px rgba(20, 56, 35, 0.3) !important;
}

.bm-btn-dark:hover {
	background-color: #0d2818 !important;
	color: #ffffff !important;
	transform: translateY(-2px) !important;
	box-shadow: 0 8px 22px rgba(20, 56, 35, 0.4) !important;
}

.bm-arrow-circle-white {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background-color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.25s ease;
}

.bm-btn-dark:hover .bm-arrow-circle-white {
	transform: translate(2px, -2px);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

/* Large Tablets & Small Laptops (<= 1024px) */
@media (max-width: 1024px) {
	.bm-service-cards-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 24px;
	}

	.bm-service-why-grid {
		gap: 36px;
	}
}

/* Tablets (<= 991px) */
@media (max-width: 991px) {
	.bm-service-hero-row {
		flex-direction: column;
		text-align: center;
		gap: 40px;
	}

	.bm-service-hero-content {
		max-width: 100%;
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	.bm-service-hero-media {
		width: 100%;
		justify-content: center;
	}

	.bm-service-hero-img-wrap {
		border-radius: 20px;
		-webkit-mask-image: none;
		mask-image: none;
		box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
	}

	.bm-service-why-grid {
		flex-direction: column;
	}

	.bm-service-why-media {
		width: 100%;
		min-height: auto;
	}

	.bm-service-why-img-wrap {
		min-height: 320px;
	}

	.bm-service-process-flow {
		flex-wrap: wrap;
		gap: 28px 16px;
	}

	.bm-process-step {
		flex: 1 1 45%;
	}

	.bm-process-arrow {
		display: none;
	}
}

/* Mobile Devices (<= 767px) */
@media (max-width: 767px) {
	.bm-service-cards-grid {
		grid-template-columns: 1fr;
		max-width: 440px;
		margin: 0 auto;
	}

	.bm-service-why-features {
		grid-template-columns: 1fr;
		gap: 22px;
	}

	.bm-service-trust-row {
		flex-direction: column;
		gap: 32px;
	}

	.bm-trust-chevron {
		display: none;
	}
}

/* Small Phones (<= 480px) */
@media (max-width: 480px) {
	.bm-service-hero-title {
		font-size: 30px !important;
	}

	.bm-service-why-box {
		padding: 24px 18px;
		border-radius: 18px;
	}

	.bm-process-step {
		flex: 1 1 100%;
	}
}
