/**
 * /services/ SKU catalog (W38) — page CSS only.
 */

.bhm-svc {
	background: transparent;
	color: var(--bhm-ink);
}

.bhm-svc .bhm-hub-crumbs {
	background: var(--bhm-paper);
	border-bottom: 1px solid var(--bhm-border);
	padding: 8px 0;
}

.bhm-svc .bhm-hub-crumbs__list {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
	overflow-x: auto;
	scrollbar-width: none;
	font-size: var(--bhm-text-kicker);
	line-height: 1.3;
	white-space: nowrap;
}

.bhm-svc .bhm-hub-crumbs__list::-webkit-scrollbar {
	display: none;
}

.bhm-svc .bhm-hub-crumbs__list a {
	color: var(--bhm-muted);
	text-decoration: none;
}

.bhm-svc .bhm-hub-crumbs__list a:hover,
.bhm-svc .bhm-hub-crumbs__list a:focus-visible {
	color: var(--bhm-accent);
}

.bhm-svc .bhm-hub-crumbs__list [aria-current="page"] {
	color: var(--bhm-ink);
	font-weight: var(--bhm-fw-semibold);
}

.bhm-svc .bhm-hub-crumbs__sep {
	color: var(--bhm-muted);
}

.bhm-svc__hero {
	position: relative;
	overflow: hidden;
	padding-top: var(--bhm-space-6, 24px);
	padding-bottom: var(--bhm-space-6, 24px);
	background: transparent;
}

.bhm-svc__hero-main {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: var(--bhm-space-6, 24px);
}

.bhm-svc__hero-title {
	margin: 0 0 var(--bhm-space-4, 16px);
	font-size: clamp(1.5rem, 4vw, 2.25rem);
	font-weight: var(--bhm-fw-extrabold);
	line-height: 1.25;
	letter-spacing: -0.02em;
}

.bhm-svc__hero-title-d {
	display: none;
}

.bhm-svc__hero-title-line {
	display: block;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.bhm-svc__hero-title-sub {
	display: block;
	margin-top: 0.15em;
	font-weight: var(--bhm-fw-semibold, 600);
	letter-spacing: -0.02em;
	text-transform: none;
}

.bhm-svc__hero-lead {
	margin: 0 0 var(--bhm-space-5, 20px);
	color: var(--bhm-muted);
	font-size: var(--bhm-text-body);
	line-height: 1.5;
}

.bhm-svc__hero-lead--d {
	display: none;
}

.bhm-svc__stats {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin: 0 0 var(--bhm-space-5, 20px);
	padding: 0;
	list-style: none;
}

.bhm-svc__stat {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	gap: 10px;
	min-width: 0;
}

.bhm-svc__stat img {
	display: block;
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	margin-top: 2px;
}

.bhm-svc__stat span {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.bhm-svc__stat strong {
	font-size: var(--bhm-text-kicker);
	font-weight: var(--bhm-fw-bold);
	line-height: 1.25;
	color: var(--bhm-ink);
}

.bhm-svc__stat small {
	font-size: var(--bhm-text-kicker);
	line-height: 1.3;
	color: var(--bhm-muted);
}

.bhm-svc__hero-cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.bhm-svc__hero-media {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 100%;
	border-radius: var(--bhm-radius-md);
	overflow: hidden;
	background: var(--bhm-surface-muted);
	isolation: isolate;
}

/* Hero slider SSOT: assets/css/bhm-hero-slider.css (W48 PERF-css) */

.bhm-svc__hero-promo {
	margin: 0;
	padding: 0;
	background: transparent;
	border-radius: 0;
	color: var(--bhm-navy);
}

/* jobs-directory CSS → assets/css/bhm-jobs-directory.css (alias after map-shell) */

.bhm-svc__layer-kicker {
	margin: 0 0 var(--bhm-space-1, 0.25rem);
	color: var(--bhm-muted);
	font-size: var(--bhm-text-kicker);
	font-weight: var(--bhm-fw-semibold);
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.bhm-svc__layer-title {
	margin: 0 0 var(--bhm-space-2, 0.5rem);
	font-size: clamp(1.125rem, 2.4vw, 1.5rem);
	font-weight: var(--bhm-fw-extrabold);
	line-height: 1.25;
	letter-spacing: -0.02em;
}

.bhm-svc__filters-wrap {
	position: relative;
	z-index: 1;
	background: transparent;
	padding: var(--bhm-space-5, 20px) 0;
}

.bhm-svc__filters {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.bhm-svc__job-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	min-width: 0;
	padding-bottom: 4px;
	border-bottom: 1px solid var(--bhm-border);
	margin-bottom: 4px;
}

@media (max-width: 767px) {
	.bhm-svc__job-chips {
		flex-wrap: nowrap;
		overflow-x: auto;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
		padding-bottom: 8px;
	}

	.bhm-svc__job-chips::-webkit-scrollbar {
		display: none;
	}
}

.bhm-svc__job-chip {
	flex: 0 0 auto;
	text-decoration: none;
	padding: 10px 14px;
	border-radius: var(--bhm-radius);
	color: var(--bhm-ink);
	font-size: var(--bhm-text-small);
	font-weight: var(--bhm-fw-bold);
	background: var(--bhm-paper);
	border: 1px solid var(--bhm-border);
	white-space: nowrap;
}

.bhm-svc__job-chip:hover,
.bhm-svc__job-chip:focus-visible {
	color: var(--bhm-ink);
	background: var(--bhm-surface-muted);
}

.bhm-svc__job-chip.is-active {
	color: var(--bhm-paper);
	background: var(--bhm-accent);
	border-color: var(--bhm-accent);
}

.bhm-svc__job-panel .bhm-catalog__grid,
.bhm-svc__job-panel .bhm-wc-grid {
	margin: 0;
}

.bhm-svc__job-panel .bhm-catalog__empty {
	padding: var(--bhm-space-4, 1rem) 0;
}

.bhm-svc__tabs {
	display: flex;
	gap: 8px;
	padding: 0;
	overflow-x: auto;
	scrollbar-width: none;
}

.bhm-svc__tabs::-webkit-scrollbar {
	display: none;
}

.bhm-svc__tab {
	flex: 0 0 auto;
	padding: 8px 12px;
	border-radius: var(--bhm-radius);
	color: var(--bhm-muted);
	font-size: var(--bhm-text-small);
	font-weight: var(--bhm-fw-bold);
	text-decoration: none;
	white-space: nowrap;
	background: var(--bhm-paper);
	border: 1px solid var(--bhm-border);
}

.bhm-svc__tab:hover,
.bhm-svc__tab:focus-visible {
	color: var(--bhm-ink);
	background: var(--bhm-surface-muted);
}

.bhm-svc__tab.is-active {
	color: var(--bhm-paper);
	background: var(--bhm-accent);
	border-color: var(--bhm-accent);
}

.bhm-svc__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	min-width: 0;
}

.bhm-svc__chip {
	text-decoration: none;
}

.bhm-svc__other-title {
	margin: 0 0 8px;
	color: var(--bhm-muted);
	font-size: var(--bhm-text-kicker);
	font-weight: var(--bhm-fw-semibold);
}

.bhm-svc__grid-section {
	padding-top: var(--bhm-space-4, 16px);
	padding-bottom: var(--bhm-space-8, 40px);
	background: transparent;
}

.bhm-svc__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	align-items: start;
	gap: 16px;
}

.bhm-svc__grid > .bhm-product-card {
	min-width: 0;
	width: 100%;
}

/* S4 scan-more: shared `.bhm-more`; page hook only. */

.bhm-svc__empty {
	padding: 32px 16px;
	text-align: center;
	background: var(--bhm-paper);
	border: 1px solid var(--bhm-border);
	border-radius: var(--bhm-radius);
}

.bhm-svc__empty-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-top: 16px;
}

.bhm-svc__intro {
	padding: var(--bhm-space-6, 24px) 0;
	background: transparent;
}

.bhm-svc__intro-content {
	max-width: 65ch;
	color: var(--bhm-muted);
	font-size: var(--bhm-text-body);
	line-height: 1.6;
}

.bhm-svc .bhm-quote-embed {
	position: relative;
	background: transparent;
}

.bhm-svc .bhm-quote-embed__inner {
	position: relative;
	z-index: 1;
}

@media (min-width: 768px) {
	.bhm-svc__hero-title-d {
		display: block;
	}

	.bhm-svc__hero-title-m {
		display: none;
	}

	.bhm-svc__hero-lead--d {
		display: block;
	}

	.bhm-svc__hero-lead--m {
		display: none;
	}

	.bhm-svc__stats {
		display: flex;
		flex-wrap: wrap;
		gap: 20px 40px;
	}

	.bhm-svc__stat strong,
	.bhm-svc__stat small {
		font-size: var(--bhm-text-small);
	}

	.bhm-svc__hero-media {
		flex: 0 1 600px;
		width: min(600px, 100%);
	}

	.bhm-svc__slider-viewport {
		aspect-ratio: 600 / 400;
	}

	.bhm-svc__tabs {
		padding: 6px;
		background: var(--bhm-paper);
		border: 1px solid var(--bhm-border);
		border-radius: var(--bhm-radius-sm);
	}

	.bhm-svc__tab {
		flex: 1 1 0;
		min-width: 0;
		display: flex;
		align-items: center;
		justify-content: center;
		padding: 10px 16px;
		border: 0;
		background: transparent;
		text-align: center;
	}

	.bhm-svc__tab.is-active {
		background: var(--bhm-accent);
		color: var(--bhm-paper);
	}

	.bhm-svc__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 20px;
	}
}

@media (min-width: 1100px) {
	.bhm-svc__hero-main {
		flex-direction: row;
		align-items: center;
		gap: 48px;
	}

	.bhm-svc__hero::before {
		left: -8%;
		top: -32%;
		width: min(56%, 980px);
		height: 130%;
	}

	.bhm-svc__hero-copy {
		flex: 1 1 0;
		min-width: 0;
	}

	.bhm-svc__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 24px;
	}

	.bhm-svc .bhm-hub-crumbs {
		padding: 12px 0;
	}
}
