/* Services Hub v2 - Minimalist layout styling for Goncears.com */

.services-hub-v2 {
	padding: 9rem 0 5rem;
	color: var(--text-white);
}

.services-hub-v2__container {
	max-width: 92rem;
	margin: 0 auto;
	padding: 0 1.5rem;
	display: flex;
	flex-direction: column;
	gap: 3.5rem;
}

/* Minimalist Header */
.services-hub-v2__header {
	max-width: 48rem;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.services-hub-v2__eyebrow {
	margin: 0;
	color: var(--accent-yellow);
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.services-hub-v2__title {
	margin: 0;
	font-size: clamp(2rem, 3vw + 1rem, 3.5rem);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -.03em;
	color: var(--text-white);
}

.services-hub-v2__lead {
	margin: 0.5rem 0 0;
	color: rgba(255, 255, 255, 0.7);
	font-size: 1.15rem;
	line-height: 1.55;
}

/* Grid of Cards */
.services-hub-v2__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.5rem;
}

.services-hub-v2__card {
	display: flex;
	flex-direction: column;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: 1.5rem;
	padding: 2.25rem 2rem;
	box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.15);
	transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
	position: relative;
	overflow: hidden;
}

.services-hub-v2__card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: radial-gradient(circle at top right, rgba(255, 222, 89, 0.05), transparent 50%);
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.services-hub-v2__card:hover {
	transform: translateY(-4px);
	border-color: rgba(255, 222, 89, 0.25);
	background: rgba(255, 255, 255, 0.05);
	box-shadow: 0 1.5rem 3.5rem rgba(0, 0, 0, 0.25);
}

.services-hub-v2__card:hover::before {
	opacity: 1;
}

/* Card Meta (Title + Count) */
.services-hub-v2__card-meta {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 1rem;
	margin-bottom: 1rem;
}

.services-hub-v2__card-title {
	margin: 0;
	font-size: 1.45rem;
	font-weight: 700;
	line-height: 1.25;
	color: var(--text-white);
	letter-spacing: -0.02em;
}

.services-hub-v2__card-count {
	display: inline-flex;
	padding: 0.35rem 0.75rem;
	border-radius: 999px;
	background: rgba(255, 222, 89, 0.1);
	color: var(--accent-yellow);
	font-size: 0.8rem;
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
}

/* Card Description */
.services-hub-v2__card-desc {
	margin: 0 0 2rem;
	color: rgba(255, 255, 255, 0.72);
	font-size: 0.975rem;
	line-height: 1.55;
	flex-grow: 1;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* Card Proof (Logos) */
.services-hub-v2__card-proof {
	margin-top: auto;
	margin-bottom: 2rem;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	padding-top: 1.5rem;
}

.services-hub-v2__proof-title {
	margin: 0 0 0.85rem;
	color: rgba(255, 255, 255, 0.4);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.services-hub-v2__logos {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.services-hub-v2__logo {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 2.75rem;
	flex: 1 1 calc(33.333% - 0.35rem);
	min-width: 4.5rem;
	padding: 0.5rem 0.65rem;
	border-radius: 0.75rem;
	background: rgba(255, 255, 255, 0.02);
	border: 1px solid rgba(255, 255, 255, 0.04);
	transition: all 0.25s ease;
}

.services-hub-v2__logo:hover {
	background: rgba(255, 255, 255, 0.05);
	border-color: rgba(255, 255, 255, 0.1);
}

.services-hub-v2__logo img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	filter: grayscale(1) invert(0.1) brightness(0.8) opacity(0.5);
	transition: filter 0.25s ease;
}

.services-hub-v2__logo:hover img {
	filter: grayscale(0) invert(0) brightness(1) opacity(0.85);
}

/* Card Button Link */
.services-hub-v2__card-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--accent-yellow);
	font-size: 0.95rem;
	font-weight: 700;
	text-decoration: none;
	transition: transform 0.2s ease, color 0.2s ease;
}

.services-hub-v2__card-btn svg {
	transition: transform 0.2s ease;
}

.services-hub-v2__card-btn:hover {
	color: var(--text-white);
}

.services-hub-v2__card-btn:hover svg {
	transform: translateX(3px);
}

/* Empty State */
.services-hub-v2__empty {
	padding: 4rem 2rem;
	background: rgba(255, 255, 255, 0.03);
	border: 1px dashed rgba(255, 255, 255, 0.1);
	border-radius: 1.5rem;
	text-align: center;
}

.services-hub-v2__empty p {
	margin: 0;
	color: rgba(255, 255, 255, 0.5);
	font-size: 1.1rem;
}

/* Bottom CTA section */
.services-hub-v2__cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: radial-gradient(circle at top right, rgba(75, 69, 179, .2), transparent 45%),
				linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .01));
	border: 1px solid rgba(255, 255, 255, .06);
	border-radius: 2rem;
	padding: 3rem 4rem;
	box-shadow: 0 1.5rem 3.5rem rgba(0, 0, 0, .2);
	gap: 2rem;
}

.services-hub-v2__cta-title {
	margin: 0;
	font-size: clamp(1.5rem, 2vw + 1rem, 2.25rem);
	font-weight: 800;
	line-height: 1.2;
	color: var(--text-white);
	max-width: 38rem;
}

/* Responsive Breakpoints */
@media (max-width: 74.99875em) {
	.services-hub-v2 {
		padding-top: 8rem;
	}

	.services-hub-v2__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1.25rem;
	}

	.services-hub-v2__container {
		gap: 2.5rem;
	}

	.services-hub-v2__cta {
		padding: 2.5rem 3rem;
	}
}

@media (max-width: 61.99875em) {
	.services-hub-v2 {
		padding: 7.25rem 0 4rem;
	}

	.services-hub-v2__cta {
		flex-direction: column;
		text-align: center;
		padding: 2rem;
	}

	.services-hub-v2__cta-title {
		max-width: 100%;
	}
}

@media (max-width: 47.99875em) {
	.services-hub-v2__grid {
		grid-template-columns: 1fr;
		gap: 1.25rem;
	}

	.services-hub-v2__card {
		padding: 1.75rem 1.5rem;
	}

	.services-hub-v2__logo {
		flex-basis: calc(50% - 0.25rem);
	}
}

@media (max-width: 35.99875em) {
	.services-hub-v2 {
		padding-top: 6.75rem;
	}

	.services-hub-v2__title {
		font-size: 2.25rem;
	}

	.services-hub-v2__lead {
		font-size: 1rem;
	}

	.services-hub-v2__card-desc {
		margin-bottom: 1.5rem;
	}

	.services-hub-v2__logo {
		flex-basis: calc(50% - 0.25rem);
	}

	.services-hub-v2__cta {
		border-radius: 1.5rem;
		padding: 1.75rem 1.25rem;
	}
	
	.services-hub-v2__cta .button {
		width: 100%;
	}
}
