/* =====================================================
   SHARED SECTION COMPONENTS
   Reusable section building blocks used across marketing
   pages (services, how-it-works, location, etc.).
   Mirrors the components originally defined in css/home.css
   so pages that don't load home.css still get them.
   Global tokens live in /style.css.
   ===================================================== */

/* ---- Centered section header ---- */
.home-section-head {
	text-align: center;
	max-width: 640px;
	margin: 0 auto 3.4rem;
}
.home-eyebrow {
	display: inline-block;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--text-muted, #5A5A5A);
	margin-bottom: .5rem;
}
.home-section-head h2 {
	margin: 0 0 0.75rem;
	line-height: 1.1;
}
.home-section-head .inner-description {
	margin: 0 auto;
	max-width: 560px;
}

/* ---- Trust strip ---- */
.content-wrapper.trust-strip {
	width: 100vw;
	margin-left: calc(50% - 50vw);
	padding: 0;
	border-top: 1px solid rgba(212, 212, 212, 0.06);
	border-bottom: 1px solid rgba(212, 212, 212, 0.06);
}
.trust-strip__inner {
	max-width: 1100px;
	margin: 0 auto;
	padding: 2rem 5%;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
	text-align: center;
}
.trust-strip__item {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}
.trust-strip__value {
	font-size: clamp(1.6rem, 3vw, 2.1rem);
	font-weight: 900;
	color: var(--text-primary, #D4D4D4);
	line-height: 1;
	letter-spacing: -0.02em;
}
.trust-strip__label {
	font-size: 0.72rem;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--text-muted, #5A5A5A);
}
.trust-strip__stars {
	color: var(--text-secondary, #8A8A8A);
	letter-spacing: 0.05em;
}
@media (max-width: 480px) {
	.trust-strip__inner {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}
	.trust-strip__item {
		padding: 1rem 0;
	}
}

/* ---- Step tag (badge tying a section to a numbered step) ---- */
.home-step-tag {
	display: inline-flex;
	align-items: center;
	gap: 0;
	margin-bottom: .75rem;
}
.home-step-tag__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	flex-shrink: 0;
	border: 1px solid var(--primary, #4cb2ba);
	border-radius: 3px 0 0 3px;
	font-size: 0.76rem;
	font-weight: 700;
	color: var(--primary, #4cb2ba);
	font-variant-numeric: tabular-nums;
}
.home-step-tag__label {
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: black;
	background: var(--primary, #4cb2ba);
	border: 1px solid var(--primary, #4cb2ba);
	padding: 3px 9px;
	border-radius: 0 3px 3px 0;
}

/* ---- Bottom CTA band ---- */
.content-wrapper.mb-bottom-cta {
	width: 100vw;
	margin-left: calc(50% - 50vw);
	padding: 6rem 2rem;
	background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)), url('../images/car-photo-rays-logo.jpg') center/cover no-repeat;
	border-top: 1px solid rgba(212, 212, 212, 0.06);
	text-align: center;
	filter: grayscale(100%);
}
.mb-section-inner {
	max-width: 700px;
	margin: 0 auto;
}
.mb-section-inner h2 {
	margin: 0 0 1rem;
	line-height: 1.1;
}
.mb-bottom-cta__desc {
	font-size: 0.95rem;
	line-height: 1.75;
	color: rgba(212, 212, 212, 0.8);
	margin: 0 0 1.5rem;
}
.mb-section-inner .cta-button {
	display: inline-flex;
	margin: 0 auto;
}

/* ---- Section underlabels (giant watermark text, clipped by edges) ---- */
.has-underlabel {
	position: relative;
	overflow: hidden;
	isolation: isolate;
}
.has-underlabel > *:not(.section-underlabel) {
	position: relative;
	z-index: 1;
}
.section-underlabel {
	position: absolute;
	z-index: 0;
	margin: 0;
	font-family: 'Ox Bold', sans-serif;
	font-weight: 900;
	line-height: 0.8;
	letter-spacing: -0.03em;
	text-transform: uppercase;
	white-space: nowrap;
	color: transparent;
	pointer-events: none;
	user-select: none;
	will-change: transform;
}
.section-underlabel--strong {
	-webkit-text-stroke-color: rgba(212, 212, 212, 0.24);
}
.section-underlabel--fill {
	color: rgba(255, 255, 255, .05);
}
.section-underlabel--bottom {
	left: 50%;
	bottom: -0.01em;
	transform: translateX(-50%);
	font-size: clamp(8rem, 32vw, 40rem);
}
.section-underlabel--top {
	left: 50%;
	top: -0.34em;
	transform: translateX(-50%);
	font-size: clamp(6rem, 26vw, 30rem);
	-webkit-text-stroke-width: 2px;
}
.section-underlabel--vright {
	top: 50%;
	right: -0.14em;
	writing-mode: vertical-rl;
	line-height: 0.86;
	font-size: clamp(5rem, 25vw, 28rem);
	-webkit-text-stroke-width: 2px;
	transform: translateY(-50%);
}
@media (max-width: 640px) {
	.section-underlabel--bottom,
	.section-underlabel--top {
		font-size: clamp(4.5rem, 36vw, 14rem) !important;
	}
	.section-underlabel--vright {
		font-size: clamp(4rem, 42vw, 13rem) !important;
	}
}

/* ---- Universal scroll reveal ---- */
[data-reveal-from] {
	opacity: 0;
	transition: opacity 0.55s ease var(--reveal-delay, 0s),
	            transform 0.55s ease var(--reveal-delay, 0s);
}
[data-reveal-from="left"]  { transform: translateX(-40px); }
[data-reveal-from="right"] { transform: translateX( 40px); }
[data-reveal-from="up"]    { transform: translateY( 30px); }
[data-reveal-from].is-revealed { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	[data-reveal-from] { opacity: 1; transform: none; transition: none; }
}
