/* Center odd card in two-column grid for .services-section__categories */
@media (min-width: 700px) and (max-width: 1024px) {
	.services-section__categories {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 2rem;
	}
	.services-section__categories .services-section__category-btn:nth-child(3) {
		grid-column: 1 / span 2;
		justify-self: center;
		max-width: 400px;
	}
}
/* Three color background */
/* Partner Section styles */
/* Partner Section with Diagonal Split */
.services-section {
	position: relative;
	overflow: hidden;
	background: var(--color-bg-light);
}

.services-section::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: 42%;
	background: linear-gradient(
		135deg,
		rgba(32, 178, 170, 0.12),
		rgba(32, 178, 170, 0.18)
	);
	clip-path: polygon(25% 0%, 100% 0%, 100% 100%, 48% 100%);
	z-index: 1;
}

.services-section::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	width: 36%;
	background: linear-gradient(
		45deg,
		rgba(0, 63, 92, 0.2),
		rgba(0, 63, 92, 0.28)
	);
	clip-path: polygon(0% 0%, 100% 0%, 58% 100%, 0% 100%);
	z-index: 1;
}

.services-section__callout {
	padding-bottom: var(--space-md);
}

.services-section__category-btn {
	background: linear-gradient(
		var(--color-primary-light),
		5%,
		rgba(255, 255, 255, 0.5)
	);
	border: 2px solid var(--color-primary-dark);
	border-radius: 16px;
	padding: 2.5rem 2rem;
	text-align: left;
	cursor: pointer;
	transition: all 0.3s ease;
	position: relative;
	backdrop-filter: blur(18px) saturate(180%);
	-webkit-backdrop-filter: blur(18px) saturate(180%);
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
	overflow: visible;
}

.services-section__category-btn:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 48px rgba(32, 178, 170, 0.15);
}

.services-section__category-btn h2 {
	margin-bottom: 1rem;
	color: var(--color-primary-dark);
}

/* Active Category Card */
.services-section__category-btn.active {
	background: linear-gradient(
		270deg,
		var(--color-primary),
		var(--color-primary),
		var(--color-primary-dark),
		var(--color-secondary)
	);
	border-left: 8px solid var(--color-secondary);
	color: var(--color-text-light);
}

.services-section__category-btn.active h2,
.services-section__category-btn.active p {
	color: var(--color-text-light);
}

.services-section__category-indicator {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	bottom: -28px;
	width: 0;
	height: 0;
	border-left: 16px solid transparent;
	border-right: 16px solid transparent;
	border-top: 18px solid var(--color-secondary);
	filter: drop-shadow(0 2px 6px rgba(var(--color-primary-rgb), 0.12));
	opacity: 0;
	z-index: 10;
	pointer-events: none;
	transition: opacity 0.3s ease;
}

.services-section__category-btn.active .services-section__category-indicator {
	opacity: 1;
}

/* Hide all category content by default */
.services-section__category-content {
	display: none;
	width: 100%;
}

/* Show category content */
.services-section__category-content.active {
	display: block;
	animation: fadeIn 0.3s ease-in-out;
}

/* Add styling for the active category content */
.services-section__category-content.active {
	border-radius: 10px;
	margin-top: 2.5rem;
	margin-bottom: var(--space-lg);
	background: var(--color-bg-light, #fff); /* Keep container light */
}

.services-section__category-content.active .services-section__card {
	background: var(--color-primary-dark);
	border: none;
	color: var(--color-bg-light);
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.services-section__category-content.active .services-section__card h3 {
	color: var(--color-bg-light);
}
.services-section__category-content.active .services-section__card p {
	color: rgba(255, 255, 255, 0.9);
}
.services-section__category-content.active .services-section__card .price {
	color: var(--color-bg-light);
}
.services-section__category-content.active .services-section__card .price-note {
	color: rgba(255, 255, 255, 0.8);
}
.services-section__category-content.active .services-section__card .button {
	background: var(--color-bg-light);
	color: var(--color-primary-dark);
}
.services-section__category-content.active
	.services-section__card
	.button:hover {
	background: rgba(255, 255, 255, 0.5);
}

.services-section__category-content.active .services-section__card {
	background: var(--color-primary-dark);
	border: none;
	color: var(--color-bg-light);
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.services-section__category-content.active .services-section__card h3 {
	color: var(--color-bg-light);
}

.services-section__category-content.active .services-section__card p {
	color: rgba(255, 255, 255, 0.5);
}

.services-section__category-content.active .services-section__card .price {
	color: var(--color-bg-light);
}

.services-section__category-content.active .services-section__card .price-note {
	color: rgba(255, 255, 255, 0.5);
}

.services-section__category-content.active .services-section__card .button {
	background: var(--color-bg-light);
	color: var(--color-primary-dark);
}

.services-section__category-content.active
	.services-section__card
	.button:hover {
	background: rgba(255, 255, 255, 0.5);
}

.services-section__card {
	background: rgba(255, 255, 255, 0.5);
	border-radius: 16px;
	padding: 2.5rem 2rem;
	backdrop-filter: blur(18px) saturate(180%);
	-webkit-backdrop-filter: blur(18px) saturate(180%);
	border: 1px solid rgba(255, 255, 255, 0.2);
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}

/* Override background for active category cards */

/* Modern, professional, easy-to-read service card for active category */
.services-section__category-content.active .services-section__card {
	background: rgba(255, 255, 255, 0.5);
	border: 2.5px solid var(--color-primary);
	border-left: 8px solid var(--color-secondary);
	color: var(--color-text-dark);
	box-shadow: 0 10px 32px rgba(0, 0, 0, 0.12),
		0 2px 8px rgba(var(--color-primary-rgb), 0.1);
	backdrop-filter: blur(18px) saturate(180%);
	-webkit-backdrop-filter: blur(18px) saturate(180%);
	transition: box-shadow 0.2s, background 0.2s, border 0.2s;
	position: relative;
	overflow: hidden;
}

.services-section__category-content.active .services-section__card::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	pointer-events: none;
	border-radius: inherit;
	background: linear-gradient(
		90deg,
		transparent 80%,
		rgba(var(--color-primary-rgb), 0.08) 100%
	);
	opacity: 0.5;
	z-index: 0;
}

.services-section__category-content.active .services-section__card h3 {
	color: var(--color-primary-dark);
	font-weight: 700;
	letter-spacing: 0.01em;
}
.services-section__category-content.active .services-section__card p,
.services-section__category-content.active .services-section__card ul {
	color: var(--color-text-dark);
}
.services-section__category-content.active .services-section__card .price,
.services-section__category-content.active .services-section__card .price-note {
	color: var(--color-primary-dark);
}
.services-section__category-content.active .services-section__card .button {
	background: var(--color-primary);
	color: var(--color-bg-light);
	border-radius: 8px;
	font-weight: 600;
	box-shadow: 0 2px 8px rgba(var(--color-primary-rgb), 0.08);
	transition: background 0.2s, color 0.2s;
}
.services-section__category-content.active
	.services-section__card
	.button:hover {
	background: var(--color-primary-dark);
	color: var(--color-bg-light);
}

.services-section__category-content.active .services-section__card h2 {
	background-color: var(--color-primary-dark);
}

/* Service lists within cards */
.services-section__list {
	list-style: none;
	padding: 0;
	margin: 1.5rem 0 0 0;
}

.services-section__list li {
	padding: 0.75rem 0;
	border-bottom: 1px solid rgba(32, 178, 170, 0.1);
	color: var(--brand-color);
	font-weight: 500;
	position: relative;
	padding-left: 1.5rem;
}

.services-section__list li:last-child {
	border-bottom: none;
}

.services-section__list li::before {
	content: "•";
	color: var(--color-primary-dark);
	font-weight: bold;
	position: absolute;
	left: 0;
	top: 0.75rem;
}

.services-section__list li:hover {
	color: var(--color-primary-dark);
	transform: translateX(4px);
	transition: all 0.2s ease;
}

/* Expandable service cards */
.services-section__card.expandable {
	position: relative;
	overflow: visible;
}

.sub-cards {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background: rgba(255, 255, 255, 0.5);
	border-radius: 12px;
	padding: 1rem;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
	backdrop-filter: blur(15px);
	border: 1px solid rgba(255, 255, 255, 0.3);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-10px);
	transition: all 0.3s ease;
	z-index: 10;
	margin-top: 0.5rem;
}

.services-section__card.expandable:hover .sub-cards {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.sub-card {
	padding: 1rem;
	margin-bottom: 0.5rem;
	border-radius: 8px;
	background: rgba(32, 178, 170, 0.05);
	border-left: 3px solid var(--color-primary-dark);
	transition: all 0.2s ease;
}

.sub-card:last-child {
	margin-bottom: 0;
}

.sub-card:hover {
	background: rgba(32, 178, 170, 0.1);
	transform: translateX(4px);
}

.sub-card h4 {
	color: var(--brand-color);
	font-size: 1rem;
	font-weight: 600;
	margin-bottom: 0.5rem;
	line-height: 1.3;
}

.sub-card p {
	color: #666;
	font-size: 0.9rem;
	line-height: 1.4;
	margin: 0;
}

/* Maintenance Plans Section */
.maintenance-options-section {
	padding: 5rem 0;
	position: relative;
	overflow: hidden;
	background: #ffffff;
}

/* Included Section */
.included-section {
	position: relative;
	overflow: hidden;
	background: var(--color-bg-light);
	margin-top: 0;
	padding-top: 0;
}

.included-section::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	width: 70%;
	background: linear-gradient(
		135deg,
		rgba(32, 178, 170, 0.12),
		rgba(32, 178, 170, 0.18)
	);
	clip-path: polygon(0% 0%, 30% 0%, 85% 100%, 0% 100%);
	z-index: 1;
}

.included-section::after {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: 72%;
	background: linear-gradient(
		45deg,
		rgba(0, 63, 92, 0.2),
		rgba(0, 63, 92, 0.28)
	);
	clip-path: polygon(70% 0%, 100% 0%, 100% 100%, 0% 100%);
	z-index: 1;
}

.included-section__callout {
	padding-bottom: var(--space-md);
}

.included-section__feature-card {
	background: rgba(255, 255, 255, 0.5);
	border-radius: 18px;
	box-shadow: 0 6px 24px rgba(var(--color-primary-rgb), 0.1),
		0 1.5px 6px rgba(var(--color-secondary-rgb), 0.08);
	border: 1.5px solid var(--color-primary);
	padding: 2rem 1.5rem 1.5rem 1.5rem;
	position: relative;
	overflow: hidden;
	transition: box-shadow 0.2s, transform 0.2s;
	backdrop-filter: blur(18px) saturate(180%);
	-webkit-backdrop-filter: blur(18px) saturate(180%);
}

.included-section__feature-card:hover {
	transform: translateY(-6px) scale(1.03);
	box-shadow: 0 12px 32px rgba(var(--color-primary-rgb), 0.16),
		0 3px 12px rgba(var(--color-secondary-rgb), 0.12);
}

.included-section__feature-card h3 {
	color: var(--color-primary-dark);
	font-size: 1.25rem;
	font-weight: 700;
	margin-top: 1.2rem;
	margin-bottom: 0.7rem;
	letter-spacing: 0.01em;
}

.included-section__feature-card p {
	color: var(--color-text-dark);
	font-size: 1rem;
	line-height: 1.5;
	margin-bottom: 0;
}

.included-section__feature-card .feature-icon {
	display: block;
	margin: 0 auto;
	width: 40px;
	height: 40px;
	filter: drop-shadow(0 2px 8px rgba(var(--color-primary-rgb), 0.1));
}

/* CTA Section */

.cta-section__content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	/* padding-top: var(--space-md); */
	z-index: 2;
}
