/* Single Service page */

.site-main--service {
	max-width: none;
	margin: 0;
	width: 100%;
	font-family: var(--arb-font);
	background: var(--arb-text);
	color: var(--arb-bg);
	line-height: 1.5;
	padding: 0;
}

.site-main--service.has-page-hero .parallax-bg {
	background-image: var(--parallax-bg, none);
}

.service-single {
	width: 100%;
	max-width: 1680px;
	margin: 0 auto;
	padding: 3.5rem var(--arb-gutter) 4rem;
	box-sizing: border-box;
}

.service-single__back {
	margin: 0 0 2rem;
	display: flex;
}

.service-single__back a {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	color: var(--arb-muted);
	text-decoration: none;
	font-size: 0.9rem;
	transition: color 0.25s ease;
}

.service-single__back a svg {
	width: 28px;
	height: 28px;
}

.service-single__back a:hover,
.service-single__back a:focus-visible {
	color: var(--arb-bg);
}

/* Intro */
.service-intro {
	margin: 0 0 3.5rem;
}

.service-intro__content {
	max-width: 100%;
}

.service-intro__text {
	font-size: clamp(1.05rem, 1.5vw, 1.2rem);
	line-height: 1.7;
	color: color-mix(in srgb, var(--arb-bg) 88%, var(--arb-muted));
	will-change: transform, opacity;
}

.service-intro__text p {
	margin: 0 0 1rem;
}

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

.service-intro__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 1.75rem;
	padding: 0.85rem 1.75rem;
	border-radius: 5px;
	background: var(--arb-bg);
	color: var(--arb-text);
	font-family: var(--arb-font);
	font-size: 0.9rem;
	font-weight: 800;
	letter-spacing: -0.01em;
	text-decoration: none;
	transition:
		transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
		background-color 0.25s ease;
	will-change: transform, opacity;
}

.service-intro__cta:hover,
.service-intro__cta:focus-visible {
	background: var(--arb-hover-dark, #222);
	transform: scale(1.04);
}

/* Shared section styles */
.service-scope,
.service-offerings,
.service-why,
.service-audience {
	margin: 0 0 4rem;
}

.single-service .project-hero__content .brand-title {
	font-size: clamp(2.6rem, 5vw, 3.5rem);
}

.single-service .char-mask--space {
	width: auto;
}

/* Keep stagger chars together per word (inline-block letters otherwise wrap mid-word). */
.single-service .brand-title__word {
	display: inline-block;
	white-space: nowrap;
	max-width: 100%;
}

.service-section__title {
	font-family: var(--arb-font);
	font-size: clamp(1.65rem, 3vw, 2.35rem);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.03em;
	color: var(--arb-bg);
	margin: 0 0 1.25rem;
	max-width: 100%;
}

.service-section__title--center {
	max-width: none;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 2rem;
}

.service-section__text {
	font-size: clamp(1rem, 1.2vw, 1.1rem);
	line-height: 1.7;
	color: color-mix(in srgb, var(--arb-bg) 84%, var(--arb-muted));
	max-width: 100%;
}

.service-section__text p {
	margin: 0 0 1rem;
}

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

.service-list {
	list-style: none;
	margin: 1.25rem 0 0;
	padding: 0;
	display: grid;
	gap: 0.65rem;
	max-width: 100%;
}

.service-list li {
	position: relative;
	padding-left: 1.35rem;
	font-size: 1rem;
	line-height: 1.55;
	color: color-mix(in srgb, var(--arb-bg) 88%, var(--arb-muted));
}

.service-list li::before {
	content: "›";
	position: absolute;
	left: 0;
	top: 0;
	font-weight: 700;
	color: var(--arb-bg);
}

.service-list--compact {
	margin-top: 0.85rem;
	gap: 0.45rem;
}

.service-list--compact li {
	font-size: 0.95rem;
}

/* Offerings grid */
.service-offerings__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.15rem;
}

.service-offering {
	background: #edeef4;
	border-radius: 12px;
	padding: clamp(1.5rem, 3vw, 2.25rem);
	box-sizing: border-box;
	min-height: 100%;
	will-change: transform, opacity;
}

.service-offering:nth-child(4n + 2) {
	background: #e8f0fe;
}

.service-offering:nth-child(4n + 3) {
	background: #eef6f0;
}

.service-offering:nth-child(4n + 4) {
	background: #f5f0e8;
}

.service-offering__index {
	display: block;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: color-mix(in srgb, var(--arb-bg) 45%, var(--arb-muted));
	margin-bottom: 0.65rem;
}

.service-offering__title {
	font-family: var(--arb-font);
	font-size: clamp(1.2rem, 2vw, 1.45rem);
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -0.02em;
	color: var(--arb-bg);
	margin: 0 0 0.75rem;
}

.service-offering__text,
.service-offering__footer {
	font-size: 0.98rem;
	line-height: 1.65;
	color: color-mix(in srgb, var(--arb-bg) 82%, var(--arb-muted));
}

.service-offering__text p,
.service-offering__footer p {
	margin: 0 0 0.75rem;
}

.service-offering__text p:last-child,
.service-offering__footer p:last-child {
	margin-bottom: 0;
}

.service-offering__footer {
	margin-top: 1rem;
}

/* Why grid */
.service-why__grid {
	list-style: none;
	margin: 1.5rem 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.85rem;
}

.service-why__item {
	padding: 1.15rem 1.25rem;
	border-radius: 10px;
	border: 1px solid color-mix(in srgb, var(--arb-bg) 12%, transparent);
	font-size: 0.98rem;
	font-weight: 550;
	line-height: 1.45;
	color: var(--arb-bg);
	will-change: transform, opacity;
}

/* Audience */
.service-audience__footer {
	margin-top: 1.5rem;
}

/* Bottom CTA extras */
.site-main--service .services-cta {
	margin-top: 0;
}

.service-cta__contacts {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1rem 1.75rem;
	margin-top: 0.5rem;
}

.service-cta__contact {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	text-decoration: none;
	color: #ffffff;
	min-width: 10rem;
}

.service-cta__contact-label {
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	opacity: 0.7;
}

.service-cta__contact-value {
	font-size: 1.05rem;
	font-weight: 600;
}

.service-cta__contact:hover .service-cta__contact-value,
.service-cta__contact:focus-visible .service-cta__contact-value {
	text-decoration: underline;
}

@media (max-width: 900px) {
	.service-offerings__grid,
	.service-why__grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 768px) {
	.site-main--service.has-page-hero .parallax-stage {
		height: 60vh;
	}

	.single-service .project-hero__content .brand-title-wrap {
		max-width: 100%;
	}

	.single-service .project-hero__content .brand-title {
		font-size: clamp(1.65rem, 6.8vw, 2.25rem);
		line-height: 1.2;
		overflow-wrap: normal;
		word-break: normal;
	}

	.service-single {
		padding: 2.5rem var(--arb-gutter) 3rem;
	}

	.service-scope,
	.service-offerings,
	.service-why,
	.service-audience {
		margin-bottom: 3rem;
	}

	.site-main--service .services-cta__bg {
		background-image: var(--services-cta-bg-mobile, var(--services-cta-bg, none));
	}
}
