/* =============================================================================
   SPLIT CONTACT HERO -- shared hero: frosted content panel + contact CTA bar
   Used by: Services page (.services-hero). Ported from the live site.
   Supports an optional background image via the page-level modifier
   (background-size/repeat set here, image set by the page).
   ============================================================================= */

.split-contact-hero {
	background-size:   cover;
	background-repeat: no-repeat;
	padding-top: var(--section-y-hero);
	padding-bottom: var(--section-y-hero);
	border-bottom:     1px solid var(--color-border-subtle);
}

.split-contact-hero__content {
	max-width:        800px;
	padding:          35px 35px 0 35px;
	background-color: rgba(255, 255, 255, 0.8);
	backdrop-filter:  blur(5px);
	-webkit-backdrop-filter: blur(5px);
	margin-bottom:    var(--space-2xl);
	border:           1px solid rgba(255, 255, 255, 0.3);
	border-radius:    var(--radius-m);
}

.split-contact-hero__content h1 {
	margin-bottom: 10px;
}

.split-contact-hero__content p {
	margin-bottom: 20px;
	border-left:   2px solid var(--color-border-subtle);
	padding:       var(--space-2xs) 0 var(--space-2xs) var(--space-m);
}

/* Live relied on Oxygen's align-items:flex-start shrink-wrap for the bar
   width; width:fit-content replaces it. */
.split-contact-hero__cta {
	display:          flex;
	flex-direction:   row;
	align-items:      center;
	justify-content:  center;
	gap:              20px;
	width:            fit-content;
	padding:          var(--space-m);
	border:           1px solid var(--color-border-subtle);
	border-radius:    var(--radius-l);
	background-color: var(--color-bg-primary);
	margin-bottom:    -40px;
	box-shadow:       var(--shadow-card);
}

.split-contact-hero__cta-divider {
	display:         flex;
	flex-direction:  column;
	align-items:     center;
	justify-content: center;
}

.split-contact-hero__cta-divider-line {
	width:            1px;
	height:           15px;
	background-color: var(--color-border-subtle);
}

.split-contact-hero__cta-divider-text {
	font-weight: var(--weight-black);
	line-height: 1;
}

/* Live relied on Oxygen's flex column for the centered stack; declared
   explicitly here. */
.split-contact-hero__cta-call {
	display:        flex;
	flex-direction: column;
	align-items:    center;
	font-weight:    var(--weight-bold);
	line-height:    1.2;
}

.split-contact-hero__cta-call a {
	font-weight: var(--weight-black);
	font-size: var(--text-body-large);
	color:       var(--color-text-primary);
}

/* =============================================================================
   SERVICES-HERO MODIFIER -- shared by the Services archive and the individual
   service pages: tighter padding, gray background, bordered panel
   ============================================================================= */

.services-hero {
	padding-top: var(--section-y-sm);
	padding-bottom: var(--section-y-sm);
	background-color: var(--color-bg-subtle);
}

.services-hero .split-contact-hero__content {
	border: 1px solid var(--color-border-subtle);
}

/* =============================================================================
   RESPONSIVE -- 768px
   ============================================================================= */

@media ( max-width: 768px ) {

	.split-contact-hero {
		padding-top: var(--section-y-sm);
		padding-bottom: var(--section-y-sm);
	}

	.split-contact-hero__content {
		padding: var(--space-xl) var(--space-l) 0 var(--space-l);
	}

	.split-contact-hero__cta {
		flex-direction: column-reverse;
		gap:            10px;
	}

	.split-contact-hero__cta-divider {
		flex-direction: row;
		gap:            var(--space-2xs);
	}

	.split-contact-hero__cta-divider-line {
		width:  15px;
		height: 1px;
	}

}
