/* ==========================================================================
   Big Skill - service page styles
   Scoped to .bs-* classes so nothing here can leak into existing Stackable
   sections. Colours come from Blocksy's palette variables, so they follow
   any change made in the Customizer.
   ========================================================================== */

.bs-lede {
	border-left: 3px solid var(--theme-palette-color-1, #2872fa);
	padding-left: 1.4em;
	margin-bottom: 2.4em;
}

.bs-intro {
	font-size: 1.12em;
	line-height: 1.65;
	max-width: 62ch;
}

/* Checklist -------------------------------------------------------------- */
ul.bs-check {
	list-style: none;
	padding-left: 0;
	display: flex;
	flex-direction: column;
	gap: 0.85em;
	max-width: 68ch;
}

ul.bs-check li {
	position: relative;
	padding-left: 2em;
	line-height: 1.6;
}

ul.bs-check li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.45em;
	width: 0.72em;
	height: 0.38em;
	border-left: 2px solid var(--theme-palette-color-1, #2872fa);
	border-bottom: 2px solid var(--theme-palette-color-1, #2872fa);
	transform: rotate(-45deg);
}

/* Numbered method -------------------------------------------------------- */
ol.bs-steps {
	list-style: none;
	counter-reset: bsstep;
	padding-left: 0;
	display: flex;
	flex-direction: column;
	gap: 1.1em;
	max-width: 68ch;
}

ol.bs-steps li {
	counter-increment: bsstep;
	position: relative;
	padding-left: 3.2em;
	line-height: 1.6;
	min-height: 2.2em;
}

ol.bs-steps li::before {
	content: counter(bsstep);
	position: absolute;
	left: 0;
	top: 0;
	width: 2.2em;
	height: 2.2em;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--theme-palette-color-1, #2872fa);
	color: #fff;
	font-weight: 700;
	font-size: 0.92em;
	font-variant-numeric: tabular-nums;
}

/* Tech stack ------------------------------------------------------------- */
p.bs-stack {
	font-weight: 600;
	line-height: 2.2;
	color: var(--theme-palette-color-4, #050834);
}

/* Closing CTA band ------------------------------------------------------- */
.bs-cta-band {
	background: var(--theme-palette-color-4, #050834);
	border-radius: 10px;
	padding: 2.4em 2em;
	margin-top: 3em;
}

.bs-cta-band h3,
.bs-cta-band p {
	color: #fff;
}

.bs-cta-band p {
	max-width: 58ch;
}

.bs-cta-band .wp-block-button__link {
	background: var(--theme-palette-color-1, #2872fa);
	color: #fff;
	border-radius: 7px;
	font-weight: 600;
}

/* Trust bar (homepage) --------------------------------------------------- */
.bs-trust {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7em 2.2em;
	align-items: center;
	justify-content: center;
	padding: 1.15em 1.5em;
	margin: 0;
	background: var(--theme-palette-color-7, #FAFBFC);
	border-top: 1px solid var(--theme-palette-color-5, #e1e8ed);
	border-bottom: 1px solid var(--theme-palette-color-5, #e1e8ed);
	font-size: 0.78em;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--theme-palette-color-3, #3A63A8);
	text-align: center;
}

@media (max-width: 600px) {
	.bs-trust {
		gap: 0.6em 1.2em;
		font-size: 0.72em;
	}

	.bs-cta-band {
		padding: 1.8em 1.3em;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bs-cta-band,
	ol.bs-steps li::before {
		transition: none;
	}
}
