/*
 * Car Seat Safety page — pairs with page-car-seat-safety.php.
 * Loaded only on that page template, see functions-enqueue-snippet.php.
 *
 * Self-contained (own scoped vars + gm-css__* classes), same convention as
 * about-us.css/guarantee.css/fleet-program.css. "Our Locations" styling
 * lives in assets/css/shared-sections.css, not duplicated here.
 */

#gm-car-seat-safety {
	--gm-css-red: var(--awb-color2, #ed2e38);
	--gm-css-black: var(--awb-color1, #0a0a0a);
	--gm-css-white: #ffffff;
	--gm-css-gray-md: #595959;
	--gm-css-gray-lt: #f4f4f4;
	--gm-css-radius: 6px;
	max-width: 1200px;
	margin: 0 auto;
	padding: 48px 24px 64px;
	font-family: var(--awb-body-typography-font-family, inherit);
	color: var(--gm-css-black);
	box-sizing: border-box;
}

#gm-car-seat-safety h1,
#gm-car-seat-safety h2,
#gm-car-seat-safety h3 {
	font-family: var(--awb-heading-typography-font-family, inherit);
	line-height: 1.2;
	margin: 0 0 12px;
}

/* Hero */
.gm-css__hero {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	align-items: center;
	margin-bottom: 64px;
}

.gm-css__hero-img {
	width: 100%;
	height: auto;
	border-radius: var(--gm-css-radius);
	display: block;
}

.gm-css__hero-copy h1 {
	font-size: clamp(28px, 5vw, 40px);
}

.gm-css__tagline {
	font-weight: 700;
	color: var(--gm-css-red);
	margin: 0 0 16px;
}

.gm-css__intro {
	line-height: 1.65;
	color: var(--gm-css-gray-md);
	margin: 0 0 24px;
}

.gm-css__btn {
	display: inline-block;
	padding: 14px 28px;
	border-radius: var(--gm-css-radius);
	font-weight: 600;
	text-decoration: none;
	text-align: center;
}

.gm-css__btn--primary {
	background: var(--gm-css-red);
	color: var(--gm-css-white);
}

.gm-css__btn--primary:hover {
	background: color-mix(in srgb, var(--gm-css-red) 85%, black);
}

/* Why / stats section */
.gm-css__why {
	max-width: 820px;
	margin: 0 auto 56px;
}

.gm-css__why p {
	line-height: 1.65;
	color: var(--gm-css-gray-md);
	margin: 0 0 16px;
}

/* Certified technicians */
.gm-css__certified {
	background: var(--gm-css-gray-lt);
	border-radius: var(--gm-css-radius);
	padding: 32px 24px;
	text-align: center;
	margin-bottom: 56px;
}

.gm-css__certified-sub {
	color: var(--gm-css-gray-md);
	margin: 0 0 20px;
}

.gm-css__checklist {
	list-style: none;
	margin: 0 auto;
	padding: 0;
	max-width: 560px;
	text-align: left;
}

.gm-css__checklist li {
	padding-left: 26px;
	position: relative;
	margin-bottom: 12px;
}

.gm-css__checklist li::before {
	content: '\2713';
	position: absolute;
	left: 0;
	color: var(--gm-css-red);
	font-weight: 700;
}

/* Story */
.gm-css__story {
	max-width: 820px;
	margin: 0 auto 64px;
}

.gm-css__story-sub {
	font-weight: 700;
	color: var(--gm-css-red);
	margin: 0 0 20px;
}

.gm-css__story p {
	line-height: 1.65;
	color: var(--gm-css-gray-md);
	margin: 0 0 16px;
}

.gm-css__story h3 {
	margin-top: 32px;
}

@media (max-width: 782px) {
	.gm-css__hero {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 600px) {
	#gm-car-seat-safety {
		padding: 32px 16px 48px;
	}
}
