/* Service single page: extracted from design/20260527-services-mockups/assets/css/page-service-single.css */

.ne-service-single *,
.ne-service-single *::before,
.ne-service-single *::after {
	box-sizing: border-box;
}

.ne-service-single .inner {
	width: 100%;
	max-width: var(--container-max, 1280px);
	margin-inline: auto;
	padding-inline: var(--container-pad-x, clamp(20px, 4vw, 40px));
}

.service-hero {
	position: relative;
	overflow: hidden;
	background: linear-gradient(180deg, var(--color-surface, #fff) 0%, var(--color-bg, #f7fafc) 100%);
}

.service-hero__inner {
	position: relative;
	max-width: none;
	display: grid;
	grid-template-columns: minmax(380px, 46vw) minmax(0, 1fr);
	gap: 0;
	align-items: stretch;
	padding: 0;
	width: 100%;
	min-height: clamp(520px, 54vw, 660px);
}

.ne-service-single .service-hero__inner {
	max-width: none;
	padding: 0;
}

.ne-service-single .eyebrow {
	display: inline-block;
	text-transform: uppercase;
	letter-spacing: var(--letter-eyebrow, 0.08em);
	font-weight: 600;
	font-size: var(--font-size-eyebrow, 13px);
	color: var(--color-primary, #1b67b2);
	margin-bottom: 12px;
}

.ne-service-single .service-hero__eyebrow {
	letter-spacing: 0.10em;
	font-size: 13px;
	color: var(--color-primary, #1b67b2);
	margin-bottom: 4px;
}

.ne-service-single .service-feature__eyebrow {
	letter-spacing: 0.14em;
	font-size: 12.5px;
	color: var(--color-aux-2, #54c3f1);
	margin-bottom: 12px;
}

.ne-service-single .section-title {
	font-size: var(--font-size-h1, clamp(32px, 4vw, 48px));
	font-weight: 600;
	line-height: var(--line-height-snug, 1.3);
	letter-spacing: 0;
	color: var(--color-text, #0f1b2d);
	margin: 0 0 16px;
	text-wrap: balance;
}

.ne-service-single .section-subtitle {
	font-size: var(--font-size-body, clamp(15px, 1.1vw, 17px));
	line-height: var(--line-height-loose, 1.75);
	color: var(--color-text-muted, #4a5567);
	margin: 0 0 48px;
	max-width: 720px;
	text-wrap: pretty;
}

.ne-service-single .section-head__text .section-subtitle {
	margin-bottom: 0;
}

.service-hero__text {
	display: flex;
	flex-direction: column;
	gap: 14px;
	justify-content: center;
	padding-block: clamp(60px, 6.8vw, 104px);
	padding-left: max(40px, calc((100vw - var(--max-content, 1280px)) / 2 + 40px));
	padding-right: clamp(36px, 4.6vw, 72px);
	position: relative;
	z-index: 3;
}

.service-hero__eyebrow {
	text-transform: uppercase;
	letter-spacing: 0.10em;
	font-size: 13px;
	font-weight: 600;
	color: var(--color-primary, #1b67b2);
	margin-bottom: 4px;
}

.service-hero__title {
	font-size: clamp(38px, 4.8vw, 60px);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: 0;
	color: var(--color-text, #0f1b2d);
	margin: 0;
	max-width: 100%;
	text-wrap: normal;
	word-break: normal;
	overflow-wrap: anywhere;
}

.service-hero__lead {
	font-size: clamp(12.5px, 1vw, 14px);
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--color-aux-1, #1a96d5);
	margin: 6px 0 2px;
	font-weight: 600;
}

.service-hero__intro {
	font-size: clamp(15px, 1.35vw, 17px);
	line-height: 1.78;
	color: var(--color-text-muted, #4a5567);
	margin: 12px 0 8px;
	max-width: 52ch;
	text-wrap: pretty;
}

.service-hero__highlights {
	list-style: none;
	margin: 12px 0 4px;
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0;
	border-top: 1px solid rgba(27, 103, 178, 0.18);
	border-bottom: 1px solid rgba(27, 103, 178, 0.18);
	padding: 12px 0;
}

.service-hero__highlights li {
	position: relative;
	padding-inline: clamp(14px, 1.8vw, 22px);
}

.service-hero__highlights li:first-child {
	padding-left: 0;
}

.service-hero__highlights li + li::before {
	content: "·";
	position: absolute;
	left: 0;
	top: 50%;
	transform: translate(-50%, -50%);
	color: var(--color-aux-1, #1a96d5);
	font-size: 20px;
	font-weight: 700;
	line-height: 1;
}

.service-hero__highlights span {
	font-size: clamp(14px, 1.4vw, 17px);
	font-weight: 600;
	letter-spacing: 0.04em;
	color: var(--color-primary, #1b67b2);
	line-height: 1.4;
}

.service-contact-buttons,
.service-hero__ctas,
.service-feature__ctas {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.service-contact-buttons {
	margin-top: 18px;
}

.service-contact-buttons__icon {
	display: inline-flex;
	width: 18px;
	height: 18px;
	line-height: 1;
}

.service-contact-buttons__icon svg {
	width: 18px;
	height: 18px;
	display: block;
}

.btn-on-dark.btn-secondary {
	background: transparent;
	color: #fff;
	border-color: rgba(255, 255, 255, 0.55);
}

.btn-on-dark.btn-secondary:hover,
.btn-on-dark.btn-secondary:focus-visible {
	background: #fff;
	color: var(--color-primary, #1b67b2);
	border-color: #fff;
}

.service-hero__media {
	position: relative;
	align-self: stretch;
	min-height: 100%;
	overflow: hidden;
	z-index: 1;
	background: var(--color-bg, #f7fafc);
}

.service-hero__photo {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 50%;
	display: block;
}

.service-hero__badge {
	position: absolute;
	left: clamp(20px, 2.5vw, 36px);
	bottom: clamp(20px, 2.5vw, 36px);
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 2px;
	padding: 18px 24px 16px;
	background: rgba(255, 255, 255, 0.96);
	backdrop-filter: blur(6px);
	border-radius: var(--radius-card, 12px);
	box-shadow: 0 1px 0 rgba(27, 103, 178, 0.08), 0 14px 32px rgba(15, 27, 45, 0.12);
	z-index: 2;
}

.service-hero__badge-eyebrow {
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--color-text-muted, #4a5567);
	font-weight: 600;
}

.service-hero__badge-num {
	font-size: clamp(34px, 3.6vw, 44px);
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1;
	color: var(--color-primary, #1b67b2);
}

.service-hero__badge-label {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: var(--color-text, #0f1b2d);
	margin-top: 4px;
}

.section-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 32px;
}

.section-head__text {
	flex: 1;
	min-width: 0;
}

.section-head--centered {
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.service-description {
	padding-block: clamp(72px, 8vw, 120px);
	background: var(--color-surface, #fff);
}

.service-description__inner {
	max-width: 820px;
	margin: 0 auto;
}

.service-description__head {
	margin-bottom: clamp(36px, 4.5vw, 56px);
}

.service-description__body {
	font-size: clamp(15.5px, 1.15vw, 17px);
	line-height: 1.9;
	color: var(--color-text, #0f1b2d);
	display: flex;
	flex-direction: column;
	gap: 22px;
	max-width: 720px;
	margin: 0 auto;
}

.service-description__body p,
.service-description__body h2 {
	margin: 0;
	text-wrap: pretty;
}

.service-description__body .section-title {
	text-align: center;
	margin-bottom: -4px;
}

.service-description__body .section-subtitle {
	text-align: center;
	margin: 0 auto 12px;
}

.service-description__body strong {
	color: var(--color-primary, #1b67b2);
	font-weight: 600;
}

.service-feature {
	position: relative;
	overflow: hidden;
	min-height: clamp(360px, 42vh, 460px);
	display: grid;
	align-items: end;
	isolation: isolate;
	background: var(--color-primary-deep, #0f4a85);
}

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

.service-feature__photo {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.service-feature__overlay {
	position: relative;
	z-index: 1;
	background: linear-gradient(180deg, rgba(0, 31, 73, 0) 0%, rgba(0, 31, 73, 0.5) 30%, rgba(0, 31, 73, 0.94) 100%);
	padding-block: clamp(56px, 6vw, 96px) clamp(40px, 4.5vw, 72px);
	color: #fff;
}

.service-feature__inner {
	max-width: 720px;
	text-align: left;
}

.ne-service-single .service-feature__inner {
	max-width: 720px;
}

.service-feature__eyebrow {
	text-transform: uppercase;
	letter-spacing: 0.14em;
	font-size: 12.5px;
	font-weight: 600;
	color: var(--color-aux-2, #54c3f1);
	display: block;
	margin-bottom: 12px;
}

.service-feature__title {
	font-size: clamp(30px, 3.8vw, 46px);
	font-weight: 600;
	line-height: 1.22;
	margin: 0 0 14px;
	color: #fff;
	text-wrap: balance;
	letter-spacing: 0;
}

.service-feature__subtitle {
	font-size: clamp(15.5px, 1.2vw, 17px);
	line-height: 1.75;
	color: rgba(255, 255, 255, 0.88);
	max-width: 56ch;
	margin: 0 0 28px;
}

.service-feature .service-contact-buttons {
	margin-top: 0;
}

@media (max-width: 900px) {
	.service-hero__inner {
		grid-template-columns: 1fr;
		min-height: auto;
	}

	.service-hero__text {
		padding: 52px clamp(20px, 5vw, 40px) 36px;
	}

	.service-hero__media {
		aspect-ratio: 4 / 3;
		min-height: 0;
		max-height: 520px;
	}

	.service-hero__badge {
		left: 16px;
		bottom: 16px;
		padding: 14px 18px 12px;
	}
}

@media (max-width: 640px) {
	.service-hero__title {
		font-size: clamp(30px, 8vw, 42px);
		max-width: 100%;
	}

	.service-hero__text > * {
		transform: translateY(4.5px);
	}

	.service-hero__highlights {
		flex-direction: column;
		align-items: flex-start;
		padding-block: 10px;
	}

	.service-hero__highlights li {
		padding: 6px 0;
	}

	.service-hero__highlights li + li::before {
		content: "";
		width: 32px;
		height: 1px;
		background: rgba(27, 103, 178, 0.20);
		top: 0;
		left: 0;
		transform: none;
	}

	.service-feature {
		min-height: clamp(320px, 52vh, 420px);
	}

	.service-feature__overlay {
		background: linear-gradient(180deg, rgba(0, 31, 73, 0.3) 0%, rgba(0, 31, 73, 0.75) 35%, rgba(0, 31, 73, 0.96) 100%);
		padding-block: clamp(40px, 12vw, 72px) clamp(32px, 7vw, 48px);
	}

	.service-description__inner {
		transform: translateY(2px);
	}

	.service-feature__inner {
		transform: translateY(6px);
	}
}

@media (prefers-reduced-motion: reduce) {
	.service-hero__photo,
	.service-feature__photo {
		transition: none;
	}
}
