/**
 * Global polish — hero clearance, type scale, spacing, icons (loads last).
 */

:root {
	--garage-hero-clearance: var(--header-height, 5.25rem);
}

/* Fixed header: first hero must clear the bar on all breakpoints */
.garage-page > .garage-hero-section,
.garage-live-page > .garage-hero-section,
.garage-page--home #home-hero,
.garage-page--pricing #pricing-hero,
.garage-page--rent-a-car #rent-hero,
.garage-page--about #garage-about-hero,
.garage-page--services #garage-services-hero,
.garage-page--contact #contact-hero {
	scroll-margin-top: var(--garage-hero-clearance);
}

@media (min-width: 1024px) {
	.garage-page > .garage-hero-section,
	.garage-live-page > .garage-hero-section,
	.garage-page--home #home-hero,
	.garage-page--about #garage-about-hero,
	.garage-page--services #garage-services-hero,
	.garage-page--contact > .garage-contact-hero {
		box-sizing: border-box;
		padding-top: calc(var(--garage-hero-edge-v, 10vh) + 0.5rem) !important;
	}
}

/* Typography rhythm */
.garage-hero-headline,
.garage-about-hero__headline,
.garage-services-hero__title,
.garage-contact-hero__title {
	font-size: clamp(1.85rem, 4.2vw, 3.15rem);
	line-height: 1.08;
	letter-spacing: -0.02em;
	margin: 0;
}

.garage-hero-description,
.garage-contact-hero__text,
.garage-section-copy {
	font-size: clamp(0.95rem, 1.35vw, 1.08rem);
	line-height: 1.65;
	max-width: 42rem;
}

.garage-section-title {
	font-size: clamp(1.35rem, 2.8vw, 2rem);
	line-height: 1.2;
	margin: 0 0 0.5rem;
}

.u-eyebrow {
	font-size: 0.75rem;
	letter-spacing: 0.12em;
}

/* Section spacing */
.garage-page .u-section {
	padding-block: clamp(2.5rem, 6vw, 4.5rem);
}

.garage-page .garage-section-header {
	margin-bottom: clamp(1.25rem, 3vw, 2rem);
	display: grid;
	gap: 0.5rem;
	text-align: center;
	justify-items: center;
}

.garage-page .garage-section-header > .u-eyebrow {
	justify-self: center;
	justify-content: center !important;
	margin-inline: auto;
}


.garage-page .garage-section-header .garage-section-copy {
	margin-inline: auto;
	text-align: center;
}

/* Hero feature icons — consistent box */
.garage-hero-feature-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	flex-shrink: 0;
	border-radius: 0.5rem;
}

.garage-hero-feature-icon svg {
	width: 1.15rem;
	height: 1.15rem;
	display: block;
}

.garage-hero-feature-item {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	font-size: 0.9rem;
}

.garage-hero-features {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.25rem;
}

/* Eyebrow inline icons */
.u-eyebrow svg {
	width: 1rem;
	height: 1rem;
	flex-shrink: 0;
	vertical-align: -0.15em;
}

.garage-contact-info__icon svg,
.garage-about-story-card__info-icon svg {
	width: 1.125rem;
	height: 1.125rem;
	display: block;
}

/* CTA buttons — icon alignment */
.garage-btn svg {
	flex-shrink: 0;
}

.garage-hero-cta-group,
.garage-about-hero__actions,
.garage-services-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	align-items: center;
}

/* Home: gap after hero */
.garage-page--home #home-hero + .u-section {
	padding-top: clamp(2rem, 5vw, 3.5rem);
}
