/* Service page hero (includes/service-hero.php) */

.service-hero {
	--sh-navy: #0a255a;
	--sh-overlay: rgba(12, 36, 88, 0.86);
	--sh-accent: #7cbeff;
	--sh-rule: #3f78d6;
	--sh-text: #ffffff;
	--sh-text-soft: #d9e2f1;

	position: relative;
	background-color: var(--sh-navy);
	background-size: cover;
	background-position: center;
	color: var(--sh-text);
}

/* Doubled class beats the theme's global `*:first-child { padding-top: 0 }`. */
.service-hero.service-hero {
	padding: 4.4rem 0 4.8rem;
}

.service-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--sh-overlay);
}

.service-hero__inner {
	position: relative;
	z-index: 1;
	box-sizing: border-box;
	width: 90%;
	max-width: 1440px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 40.5%);
	gap: 4rem 8%;
	align-items: start;
}

/* Same box as the header and page sections (see style.css, min-width 1024px). */
@media (min-width: 1024px) {
	.service-hero__inner {
		width: 100%;
		padding-left: clamp(24px, 3vw, 48px);
		padding-right: clamp(24px, 3vw, 48px);
	}
}

/* Breadcrumbs */
.service-hero__breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	list-style: none;
	margin: 0 0 1.8rem;
	padding: 0;
	font-size: 1.6rem;
	line-height: 1.4;
}

.service-hero__breadcrumbs li {
	display: flex;
	align-items: center;
	margin: 0;
	color: var(--sh-text-soft);
}

.service-hero__breadcrumbs li + li::before {
	content: "/";
	margin: 0 0.8rem;
	color: var(--sh-text-soft);
	opacity: 0.7;
}

.service-hero a {
	color: var(--sh-accent);
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.service-hero a:hover,
.service-hero a:focus {
	color: var(--sh-text);
}

.service-hero a:focus-visible {
	outline: 2px solid var(--sh-text);
	outline-offset: 2px;
}

/* Title + intro */
.service-hero .service-hero__title {
	color: var(--sh-text);
	font-size: 6.4rem;
	line-height: 1.05;
	margin: 0 0 1.8rem;
	background: transparent;
}

.service-hero__subheading {
	font-size: 2rem;
	line-height: 1.55;
	color: var(--sh-text-soft);
	max-width: 60rem;
	margin: 0 0 1.8rem;
}

.service-hero__byline {
	font-size: 1.7rem;
	color: var(--sh-text-soft);
	margin: 0;
}

.service-hero__byline a {
	font-weight: 700;
}

.service-hero__cta {
	align-items: flex-start;
	margin-top: 2.4rem;
}

/* Proof points: the Trust Bar block (from the "Service Page Hero" widget
   area, or the built-in fallback), restyled for the hero's right column.
   !important only where blocks/trust-bar/block.css uses it. */
.service-hero__proof {
	padding-top: 0.4rem;
}

.service-hero__widget + .service-hero__widget {
	margin-top: 2.4rem;
}

.service-hero__proof .trust-bar {
	background: transparent;
	padding: 0;
}

.service-hero__proof .trust-bar--title,
.service-hero__proof .service-hero__widget-title {
	font-size: 1.5rem !important;
	letter-spacing: 0.22em;
	color: var(--sh-text-soft);
	line-height: 1.3;
	text-align: left;
	margin: 0 0 1.4rem !important;
}

.service-hero__proof .trust-bar--row {
	max-width: none;
	margin: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 2rem 3.2rem;
}

.service-hero__proof .trust-bar--row > .trust-bar--item {
	display: block;
	text-align: left;
	margin: 0;
	padding: 1.2rem 0 0;
	border: 0;
	border-top: 2px solid var(--sh-rule);
}

.service-hero__proof .trust-bar--icon {
	display: none;
}

.service-hero__proof .trust-bar--heading {
	font-family: 'acumin-variable', sans-serif;
	font-variation-settings: 'wdth' 67.5;
	font-weight: 800;
	font-size: 3.2rem;
	line-height: 1.15;
	color: var(--sh-accent);
	margin-bottom: 0.4rem;
}

.service-hero__proof .trust-bar--caption {
	font-size: 1.6rem;
	line-height: 1.4;
	color: var(--sh-text-soft);
}

.service-hero__proof .trust-bar--caption a {
	color: var(--sh-text);
	font-weight: 700;
}

.service-hero__proof .trust-bar--caption a:hover,
.service-hero__proof .trust-bar--caption a:focus {
	color: var(--sh-accent);
}

/* Tablet: stack columns */
@media (max-width: 1075px) {
	.service-hero__inner {
		grid-template-columns: minmax(0, 1fr);
	}

	.service-hero .service-hero__title {
		font-size: 5.6rem;
	}

	.service-hero__proof {
		max-width: 64rem;
	}
}

@media (max-width: 600px) {
	.service-hero.service-hero {
		padding: 3.2rem 0 4rem;
	}

	.service-hero__inner {
		gap: 3.2rem;
	}

	.service-hero .service-hero__title {
		font-size: 4.4rem;
	}

	.service-hero__subheading {
		font-size: 1.8rem;
	}

	.service-hero__proof .trust-bar--row {
		gap: 1.8rem 2rem;
	}

	.service-hero__proof .trust-bar--heading {
		font-size: 2.6rem;
	}

	.service-hero__proof .trust-bar--caption {
		font-size: 1.5rem;
	}
}
