/**
 * Service Hero — light split hero with a navy info panel. Narrow centered
 * column. Typography via utilities; layout/spacing/decoration/rgba here.
 */

.flexible-section.service-hero {
	position: relative;
	overflow: hidden;
	padding-block: var(--section-pad-y);
	padding-inline: var(--section-pad-x);
	background: var(--color-bg);
	border-bottom: 1px solid var(--color-border);
}

.flexible-section.service-hero::before {
	content: '';
	position: absolute;
	top: -175px;
	right: -125px;
	width: 550px;
	height: 550px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(196, 154, 26, 0.10), transparent 65%);
	pointer-events: none;
}

.service-hero-in {
	position: relative;
	z-index: 2;
	max-width: var(--container-narrow);
	margin-inline: auto;
	display: grid;
	grid-template-columns: 1fr clamp(300px, 22vw + 20px, 400px);
	gap: clamp(40px, 2.58vw + 22.9px, 80px);
	align-items: center;
}

.service-hero-in.is-solo {
	grid-template-columns: 1fr;
	max-width: 900px;
}

/* Copy */
.sv-crumb {
	margin-block-end: clamp(14px, 0.55vw + 11px, 22.5px);
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.sv-crumb a {
	color: inherit;
	text-decoration: none;
}

.sv-crumb a:hover {
	color: var(--color-gold);
}

/* .sep — the "/" between Yoast's crumbs (see inc/breadcrumbs.php). Reproduces
   the mockup's `&nbsp;/&nbsp;` gap and cancels the inherited tracking so the
   slash sits centred. `.cur` needs no rule: the `.sv-crumb` mockup styles the
   current page no differently, so it inherits the grey. */
.sv-crumb .sep {
	display: inline-block;
	margin-inline: 8px;
	letter-spacing: 0;
}

.sv-h1 {
	margin: 0 0 clamp(16px, 0.58vw + 13.9px, 25px);
	line-height: 1.06;
	letter-spacing: -0.02em;
}

.sv-h1 em {
	font-style: normal;
	color: var(--color-gold2);
}

.sv-sub {
	max-width: 700px;
	margin-block-end: clamp(24px, 1.03vw + 20.3px, 40px);
}

.service-hero .hero-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: clamp(12px, 0.3vw + 10.9px, 16.25px);
}

/* Navy info panel */
.service-hero-panel {
	position: relative;
	padding: clamp(26px, 0.97vw + 22.5px, 37.5px) clamp(24px, 0.9vw + 20.8px, 35px);
	background: var(--gradient-navy);
}

.service-hero-panel::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: var(--color-gold2);
}

.panel-ey {
	margin-block-end: clamp(14px, 0.55vw + 11px, 22.5px);
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.35);
	text-align: center;
}
.panel-image img {
	max-width: 160px;
	width: 100%;
	margin: 0 auto 2px auto;
}
.panel-hl {
	margin-block-start: clamp(8px, 0.32vw + 6.9px, 12.5px);
	line-height: 1;
	text-align: center;
}

.panel-cap {
	margin: clamp(8px, 0.32vw + 6.9px, 10px) 0 clamp(14px, 0.8vw + 11px, 22.5px);
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--color-gold2);
	text-align: center;
}

.panel-tags {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: clamp(6px, 0.24vw + 5.1px, 8.75px);
	margin-block-end: clamp(14px, 0.8vw + 11px, 22.5px);
}

.panel-tags span {
	padding: clamp(6px, 0.16vw + 5.4px, 7.5px) clamp(9px, 0.32vw + 7.9px, 12.5px);
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 2px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.6);
}

.panel-row {
	padding: clamp(11px, 0.32vw + 9.9px, 15px) 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.panel-row:last-child {
	border-bottom: none;
}

.panel-row-l {
	margin-block-end: clamp(3px, 0.16vw + 2.4px, 5px);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--color-gold2);
}

.panel-row-v {
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.85);
}

.panel-row-v a {
	color: rgba(255, 255, 255, 0.85);
	text-decoration: none;
	border-bottom: 1px solid rgba(196, 154, 26, 0.4);
}

/* ── Docstack panel variant (`is-docstack`) — Corporate Integrity Documents ──
   Mockup `.sv-docstack`. All values are mockup CSS px x 1.25, EXCEPT the 1px
   hairline borders and the 3px gold left rule, which this file already keeps
   unscaled (cf. `.service-hero-panel::before` height:3px and
   `.panel-tags span` border:1px) — 1.25px hairlines only render blurry. */
.sv-docstack {
	position: relative;
}

/* The offset beige panel behind the cards. `z-index: -1` resolves against
   `.service-hero-in` (position + z-index:2), so it paints above the section
   background and below the cards. The section's `overflow: hidden` clips the
   -10px overhang, so it can never produce a horizontal scrollbar. */
.sv-docstack::before {
	content: '';
	position: absolute;
	z-index: -1;
	top: 10px;
	left: 10px;
	right: -10px;
	bottom: -10px;
	background: var(--color-bg3);
	border: 1px solid var(--color-border);
}

.sv-doc {
	position: relative;
	padding: clamp(15px, 0.504vw + 13.19px, 21.25px) clamp(17.5px, 0.605vw + 15.32px, 25px);
	background: var(--color-card-light);
	border: 1px solid var(--color-border);
	border-left: 3px solid var(--color-gold2);
	box-shadow: 0 3.75px 12.5px rgba(0, 21, 64, 0.06);
}

.sv-doc + .sv-doc {
	margin-block-start: clamp(11px, 0.32vw + 9.9px, 15px);
}

.sv-doc .d-l {
	margin-block-end: clamp(4px, 0.181vw + 3.35px, 6.25px);
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.sv-doc .d-v a {
	color: inherit;
	text-decoration: none;
	border-bottom: 1px solid rgba(196, 154, 26, 0.5);
}

/* Round seal on the first card only. 52px x 1.25 = 65px; the 2px ring DOES
   scale to 2.5px — it is a visibly proportional ring, not a hairline. */
.sv-doc-seal {
	position: absolute;
	z-index: 3;
	top: -20px;
	right: -17.5px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 65px;
	height: 65px;
	border: 2.5px solid var(--color-gold2);
	border-radius: 50%;
	background: var(--gradient-navy);
	box-shadow: 0 5px 12.5px rgba(0, 21, 64, 0.18);
}

.sv-doc-seal span {
	letter-spacing: 0.12em;
	text-align: center;
	text-transform: uppercase;
}

@media (max-width: 1024px) {
	.service-hero-in {
		grid-template-columns: 1fr;
		gap: clamp(30px, 4vw, 45px);
	}
}

@media (max-width: 480px) {
	.service-hero .hero-actions {
		flex-direction: column;
		align-items: stretch;
	}

	.service-hero .hero-actions .btn {
		width: 100%;
		text-align: center;
	}
}
