/* Single Service Page - Matching Figma Design */

/* Main Container - Support both naming conventions */
.single-service,
.service {
	background: #ffffff;
	overflow-x: hidden;
}

.single-service-container,
.service-container {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 50px;
}

/* Hero Section */
.single-service-hero {
	position: relative;
	padding: 100px 0 60px;
	overflow: hidden;
}

.single-service-hero__bg {
	position: absolute;
	inset: 0;
	background: #f5f1ed url('/wp-content/uploads/2025/12/warm-bg.svg') no-repeat center top;
	background-size: cover;
	z-index: 0;
}

.single-service-hero__bg::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(245, 241, 237, 0.8) 100%);
	opacity: 1;
}

.single-service-hero .single-service-container {
	position: relative;
	z-index: 1;
}

/* Breadcrumb */
.single-service-breadcrumb {
	display: flex;
	align-items: center;
	gap: 4px;
	margin-bottom: 60px;
	font-size: 14px;
	line-height: 20px;
}

.single-service-breadcrumb__link {
	color: #27272a;
	text-decoration: none;
	font-weight: 500;
	padding: 0 4px;
	transition: color 0.2s;
}

.single-service-breadcrumb__link:hover {
	color: #000000;
}

.single-service-breadcrumb__separator {
	color: #a1a1aa;
	display: flex;
	align-items: center;
	padding: 0 4px;
}

.single-service-breadcrumb__separator svg {
	width: 16px;
	height: 16px;
	stroke: #a1a1aa;
}

.single-service-breadcrumb__current {
	color: #a1a1aa;
	font-weight: 500;
	padding: 0 4px;
}

/* Header */
.single-service-header {
	display: flex;
	gap: 20px;
	align-items: flex-start;
	margin-bottom: 60px;
}

.single-service-header__content {
	flex: 1;
	max-width: 780px;
}

.single-service-header__title {
	font-family: 'TWK Everett', sans-serif;
	font-size: 48px;
	font-weight: 500;
	letter-spacing: -1.44px;
	line-height: 1;
	color: #000000;
	margin: 0;
}

/* CTA Card */
.single-service-cta-card {
	width: 380px;
	padding: 36px;
	background: rgba(255, 255, 255, 0.6);
	backdrop-filter: blur(20px);
	border-radius: 28px;
	border: 1px solid rgba(255, 255, 255, 0.6);
	box-shadow: 0px 0.5px 2px 0px rgba(0, 0, 0, 0.08),
				inset 0px 0.5px 0px 0px rgba(255, 255, 255, 0.2),
				inset 0px 0px 8px 2px rgba(255, 255, 255, 0.12);
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.single-service-cta-card__title {
	font-family: 'TWK Everett', sans-serif;
	font-size: 20px;
	font-weight: 500;
	line-height: 1.3;
	color: #000000;
	margin: 0;
}

.single-service-cta-card__text {
	font-family: 'DM Sans', sans-serif;
	font-size: 16px;
	font-weight: 300;
	line-height: 1.5;
	color: #191a23;
	margin: 0;
}

.single-service-cta-card__button {
	display: flex;
	align-items: center;
	justify-center;
	gap: 6px;
	width: 100%;
	height: 48px;
	padding: 12px 16px 12px 24px;
	background: #000000;
	color: #ffffff;
	font-family: 'DM Sans', sans-serif;
	font-size: 20px;
	font-weight: 500;
	border: 2px solid #000000;
	border-radius: 12px;
	text-decoration: none;
	transition: all 0.2s;
	cursor: pointer;
}

.single-service-cta-card__button:hover {
	background: #1a1a1a;
	border-color: #1a1a1a;
}

.single-service-cta-card__button svg {
	width: 16px;
	height: 16px;
	stroke: #ffffff;
}

.single-service-cta-card__divider {
	border: none;
	border-top: 1px solid rgba(0, 0, 0, 0.1);
	margin: 0;
}

.single-service-cta-card__features {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.single-service-cta-card__features li {
	display: flex;
	align-items: center;
	gap: 4px;
	font-family: 'DM Sans', sans-serif;
	font-size: 16px;
	font-weight: 300;
	color: #191a23;
}

.single-service-cta-card__features li svg {
	width: 20px;
	height: 20px;
	stroke: #000000;
	flex-shrink: 0;
}

/* Main Content Section */
.single-service-content,
.service-content {
	padding: 60px 0 100px;
	background: #ffffff;
	position: relative;
}

.single-service-content-grid,
.service-content-grid {
	display: grid;
	grid-template-columns: 280px 1fr;
	gap: 20px;
}

/* Sidebar - Support both naming conventions */
.single-service-sidebar,
.service-sidebar {
	position: -webkit-sticky;
	position: sticky;
	top: 120px;
	max-height: calc(100vh - 140px);
	overflow-y: auto;
}

.single-service-toc,
.service-toc {
	background: #ffffff;
	padding: 20px 0;
}

.single-service-toc__title,
.service-toc-title {
	font-family: 'TWK Everett', sans-serif;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	color: #656672;
	margin: 0 0 12px;
	letter-spacing: 0.5px;
}

.single-service-toc__list,
.service-toc-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.single-service-toc__link,
.service-toc-link {
	display: block;
	padding: 8px;
	font-family: 'DM Sans', sans-serif;
	font-size: 16px;
	font-weight: 300;
	color: #1c1c1b;
	text-decoration: none;
	border-radius: 8px;
	transition: all 0.2s;
}

.single-service-toc__link:hover,
.service-toc-link:hover {
	background: #f5f1ed;
}

.single-service-toc__link.active,
.service-toc-link.active {
	background: #ede8e4;
	color: #000000;
	font-weight: 400;
}

/* Main Content - Support both naming conventions */
.single-service-main,
.service-content-main {
	max-width: 880px;
}

.single-service-section,
.service-section {
	margin-bottom: 60px;
}

.single-service-section__title,
.service-section-title {
	font-family: 'TWK Everett', sans-serif;
	font-size: 36px;
	font-weight: 500;
	line-height: 1.2;
	color: #000000;
	margin: 0 0 20px;
}

.single-service-section__content,
.service-section-content {
	font-family: 'DM Sans', sans-serif;
	font-size: 20px;
	font-weight: 300;
	line-height: 1.6;
	color: #191a23;
}

.single-service-section__content p {
	margin: 0 0 20px;
}

.single-service-section__content p:last-child {
	margin-bottom: 0;
}

/* Providers Section */
.single-service-providers {
	position: relative;
	padding: 100px 0;
	background: #fcfaf7;
	overflow: hidden;
}

.single-service-providers__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.single-service-providers .single-service-container {
	position: relative;
	z-index: 1;
}

.single-service-providers__header {
	text-align: center;
	margin-bottom: 36px;
}

.single-service-providers__title {
	font-family: 'TWK Everett', sans-serif;
	font-size: 36px;
	font-weight: 500;
	line-height: 1.2;
	color: #000000;
	margin: 0 0 36px;
}

.single-service-providers__tabs {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 4px;
	padding: 8px;
	border-radius: 16px;
	max-width: 780px;
	margin: 0 auto;
}

.single-service-providers__tab {
	padding: 8px 12px;
	font-family: 'DM Sans', sans-serif;
	font-size: 16px;
	font-weight: 500;
	color: #000000;
	background: transparent;
	border: none;
	border-radius: 12px;
	cursor: pointer;
	transition: all 0.2s;
	white-space: nowrap;
}

.single-service-providers__tab:hover {
	background: rgba(0, 0, 0, 0.05);
}

.single-service-providers__tab.active {
	background: #000000;
	color: #ffffff;
}

.single-service-providers__grid {
	display: none;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
	margin-top: 36px;
}

.single-service-providers__grid.active {
	display: grid;
}

/* Provider Card */
.single-service-provider-card {
	display: flex;
	gap: 20px;
	padding: 24px;
	background: rgba(255, 255, 255, 0.6);
	border: 1px solid rgba(17, 17, 17, 0.15);
	border-radius: 12px;
	text-decoration: none;
	transition: all 0.2s;
	align-items: center;
}

.single-service-provider-card:hover {
	background: #ffffff;
	border-color: #000000;
	transform: translateY(-2px);
	box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.08);
}

.single-service-provider-card__logo {
	width: 80px;
	height: 80px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #ffffff;
	border: 1px solid rgba(17, 17, 17, 0.15);
	border-radius: 14px;
	overflow: hidden;
}

.single-service-provider-card__logo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.single-service-provider-card__logo--placeholder {
	background: #f4f4f5;
	color: #71717a;
}

.single-service-provider-card__content {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.single-service-provider-card__title {
	font-family: 'TWK Everett', sans-serif;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.4;
	color: #000000;
	margin: 0;
}

.single-service-provider-card__location {
	display: flex;
	align-items: center;
	gap: 4px;
	font-family: 'Inter', sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 20px;
	color: #71717a;
	margin: 0;
}

.single-service-provider-card__location svg {
	width: 20px;
	height: 20px;
	stroke: #71717a;
}

.single-service-provider-card__description {
	font-family: 'DM Sans', sans-serif;
	font-size: 16px;
	font-weight: 300;
	line-height: 1.5;
	color: #71717a;
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.single-service-provider-card__arrow {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	flex-shrink: 0;
}

.single-service-provider-card__arrow svg {
	width: 20px;
	height: 20px;
	stroke: #000000;
}

.single-service-provider-card:hover .single-service-provider-card__arrow svg {
	transform: translateX(2px);
	transition: transform 0.2s;
}

/* Bottom CTA Section (Shared with Services Directory) */
.services-bottom-cta {
	position: relative;
	padding: 100px 0;
	overflow: hidden;
}

.services-bottom-cta__bg {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, #f5f1ed 18.462%, #fee5ff 46.768%);
	z-index: 0;
}

.services-bottom-cta__bg::before {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse 1890px 1992px at 580px 1100px, rgba(81, 114, 225, 1) 0%, rgba(155, 81, 224, 0) 80%);
	opacity: 0.6;
}

.services-bottom-cta .single-service-container {
	position: relative;
	z-index: 1;
}

/* Services Banner */
.services-banner {
	position: relative;
	display: flex;
	gap: 24px;
	align-items: center;
	padding: 36px;
	background: #fff3da;
	border-radius: 28px;
	overflow: hidden;
}

.services-banner::before {
	content: '';
	position: absolute;
	top: -361px;
	left: -370px;
	width: 1920px;
	height: 1080px;
	background: url('/wp-content/uploads/2025/12/cta-bg.svg') no-repeat center;
	background-size: cover;
	opacity: 1;
	pointer-events: none;
	z-index: 0;
}

.services-banner__content {
	position: relative;
	z-index: 1;
	flex: 1;
	max-width: 643px;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.services-banner__label {
	font-family: 'TWK Everett', sans-serif;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	color: #000000;
	text-transform: uppercase;
	letter-spacing: 0;
	margin: 0;
	display: block;
}

.services-banner__title {
	font-family: 'TWK Everett', sans-serif;
	font-size: 36px;
	font-weight: 500;
	line-height: 1;
	color: #000000;
	margin: 0;
}

.services-banner__buttons {
	display: flex;
	gap: 20px;
	align-items: center;
}

.services-banner__button {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	height: 64px;
	padding: 12px 16px 12px 24px;
	font-family: 'DM Sans', sans-serif;
	font-size: 20px;
	font-weight: 500;
	border-radius: 12px;
	text-decoration: none;
	transition: all 0.2s;
	cursor: pointer;
	white-space: nowrap;
}

.services-banner__button--primary {
	background: #000000;
	color: #ffffff;
	border: 2px solid #000000;
}

.services-banner__button--primary:hover {
	background: #1a1a1a;
	border-color: #1a1a1a;
}

.services-banner__button--primary svg {
	stroke: #ffffff;
}

.services-banner__button--secondary {
	background: transparent;
	color: #000000;
	border: 2px solid transparent;
}

.services-banner__button--secondary:hover {
	background: rgba(0, 0, 0, 0.05);
}

.services-banner__button--secondary svg {
	stroke: #000000;
}

.services-banner__button svg {
	width: 16px;
	height: 16px;
}

.services-banner__graphic {
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	z-index: 1;
	width: auto;
	height: 100%;
	max-height: 298px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	padding-right: 0;
}

.services-banner__graphic-img {
	height: 298px;
	width: auto;
	max-width: none;
	object-fit: contain;
}

/* Responsive Design */
@media (max-width: 1024px) {
	.services-banner__content {
		max-width: 550px;
	}

	.services-banner__graphic {
		right: -50px;
		max-height: 245px;
	}

	.services-banner__graphic-img {
		height: 245px;
	}
}

@media (max-width: 1200px) {
	.single-service-container {
		padding: 0 30px;
	}

	.single-service-content-grid {
		grid-template-columns: 240px 1fr;
	}

	.single-service-providers__grid {
		grid-template-columns: 1fr;
	}

	.single-service-header {
		flex-direction: column;
	}

	.single-service-cta-card {
		width: 100%;
		max-width: 500px;
	}

	.services-banner {
		flex-direction: column;
	}

	.services-banner__graphic {
		width: 100%;
		height: 200px;
	}
}

@media (max-width: 768px) {
	.single-service-container {
		padding: 0 20px;
	}

	.single-service-hero {
		padding: 60px 0 40px;
	}

	.single-service-header__title {
		font-size: 36px;
		letter-spacing: -1px;
	}

	.single-service-content-grid {
		grid-template-columns: 1fr;
	}

	.single-service-sidebar {
		position: static;
		margin-bottom: 40px;
	}

	.single-service-section__title {
		font-size: 28px;
	}

	.single-service-section__content {
		font-size: 18px;
	}

	.services-banner {
		padding-bottom: 160px;
	}

	.services-banner__label {
		font-size: 11px;
	}

	.services-banner__title {
		font-size: 24px;
	}

	.services-banner__buttons {
		flex-direction: column;
		width: 100%;
	}

	.services-banner__button {
		width: 100%;
		height: 56px;
		font-size: 18px;
	}

	.services-banner__graphic {
		position: absolute;
		bottom: 0;
		right: 50%;
		top: auto;
		transform: translateX(50%);
		height: 140px;
		max-height: 140px;
	}

	.services-banner__graphic-img {
		height: 140px;
		width: auto;
	}

	.single-service-providers__title {
		font-size: 28px;
	}

	.single-service-providers__tabs {
		flex-direction: column;
		align-items: stretch;
	}

	.single-service-providers__tab {
		text-align: center;
	}

	.services-banner__title {
		font-size: 20px;
	}

	.services-banner__description {
		font-size: 16px;
	}

	.services-banner__buttons {
		flex-direction: column;
	}

	.services-banner__button {
		width: 100%;
	}

	.single-service-content {
		padding: 40px 0 60px;
	}

	.single-service-providers {
		padding: 60px 0;
	}

	.services-bottom-cta {
		padding: 60px 0;
	}
}
