/* =====================================================================
   Marketing pages add-ons (About / Service / Delivery / Returns)
   Loaded AFTER how-to-buy.css. Everything is scoped under .htb-page so it
   inherits the same palette + tokens and never collides with legacy CSS.
   Mobile-first: 95% of visitors are on phones.
   ===================================================================== */

/* Keep header above hero on transparent-header marketing pages */
body.transparent-header #wrapper > #header {
	position: relative;
	z-index: 300;
}
body.transparent-header #wrapper #main.htb-page {
	position: relative;
	z-index: 1;
}

/* ---- Compact hero variant for secondary pages ---- */
.htb-hero--page .htb-hero__inner { padding: 78px 22px 70px; }
.htb-hero--page h1 { margin-bottom: 22px; }

/* ---- Media framing: keep images tidy + consistent on every screen ---- */
.htb-split__media--ratio { aspect-ratio: 16 / 11; }
.htb-split__media--ratio img { width: 100%; height: 100%; object-fit: cover; }
.htb-split__media--trailer {
	aspect-ratio: 16 / 8.25;
}
.htb-split__media--trailer img {
	object-fit: cover;
	object-position: center 52%;
	transform: scale(1.08);
	transform-origin: center center;
	border-radius: 20px;
}
/* Real transport photographs. Matches the 16:9 they are shot at, so nothing is
   cropped: these are long vehicles and losing either end of the trailer costs
   the whole point of the picture. */
.htb-split__media--haul { aspect-ratio: 16 / 9; }
.htb-split__media--haul img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
	border-radius: 20px;
}
.htb-page--delivery .htb-split__media img {
	border-radius: 20px;
}
.htb-split__media--fit {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: linear-gradient(150deg, #f3f8fc, #e6f0f9);
}
.htb-split__media--fit img {
	width: 100%;
	height: auto;
	max-height: none;
	object-fit: contain;
	display: block;
}

/* ---- Eyebrow centered inside section heads ---- */
.htb-section__head .htb-eyebrow { display: inline-flex; align-items: center; gap: 7px; }
.htb-section__head .htb-eyebrow svg { width: 15px; height: 15px; }
.htb-split .htb-section__head .htb-eyebrow { justify-content: flex-start; }

/* ---- Stat ribbon on light backgrounds ---- */
.mkt-stats {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 18px;
	max-width: 980px;
	margin: 0 auto;
}
.mkt-stat {
	flex: 1 1 200px;
	min-width: 0;
	background: #fff;
	border: 1px solid var(--htb-line);
	border-radius: var(--htb-radius);
	box-shadow: var(--htb-shadow-sm);
	padding: 26px 22px;
	text-align: center;
}
.mkt-stat__num {
	font-size: clamp(30px, 4vw, 42px);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.02em;
	color: var(--htb-blue);
}
.mkt-stat__lbl {
	margin-top: 9px;
	font-size: 14px;
	font-weight: 600;
	color: var(--htb-ink-soft);
}

/* ---- Two-column checklist inside a card (service coverage / inspection) ---- */
.mkt-cols {
	column-count: 2;
	column-gap: 34px;
}
.mkt-cols li { break-inside: avoid; }

/* ---- Exclusion list (red X marks) — reuses htb-checklist spacing ---- */
.htb-checklist--x li::before {
	background: rgba(199, 74, 74, 0.1);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c74a4a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 6 6 18'/%3E%3Cpath d='m6 6 12 12'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 11px 11px;
}

/* ---- Vertical process timeline (delivery day / return flow) ---- */
.mkt-timeline {
	max-width: 760px;
	margin: 0 auto;
	position: relative;
	display: grid;
	gap: 18px;
}
.mkt-tl {
	position: relative;
	display: grid;
	grid-template-columns: 52px 1fr;
	gap: 18px;
	background: #fff;
	border: 1px solid var(--htb-line);
	border-radius: var(--htb-radius);
	box-shadow: var(--htb-shadow-sm);
	padding: 22px 24px;
}
.mkt-tl__ic {
	width: 52px;
	height: 52px;
	border-radius: 14px;
	background: var(--htb-mist);
	color: var(--htb-blue);
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 52px;
}
.mkt-tl__ic svg { width: 26px; height: 26px; }
.mkt-tl__body { min-width: 0; }
.mkt-tl__step {
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--htb-blue);
	margin: 0 0 6px;
}
.mkt-tl h3 { margin: 0 0 7px; font-size: 18px; font-weight: 800; color: var(--htb-teal); }
.mkt-tl p { margin: 0; font-size: 14.8px; line-height: 1.6; color: var(--htb-ink-soft); }

/* ---- Highlight callout card ---- */
.mkt-callout {
	max-width: 880px;
	margin: 0 auto;
	display: flex;
	gap: 18px;
	align-items: center;
	background: linear-gradient(150deg, #f3f8fc, #e9f2fb);
	border: 1px solid #d7e7f4;
	border-radius: 18px;
	padding: 26px 28px;
}
.mkt-callout__ic {
	width: 56px; height: 56px;
	flex: 0 0 56px;
	border-radius: 16px;
	background: #fff;
	color: var(--htb-blue);
	display: flex; align-items: center; justify-content: center;
	box-shadow: var(--htb-shadow-sm);
}
.mkt-callout__ic svg { width: 28px; height: 28px; }
.mkt-callout h3 { margin: 0 0 5px; font-size: 19px; font-weight: 800; color: var(--htb-teal); }
.mkt-callout p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--htb-ink-soft); }

/* ---- Inspection category grid card (service) ---- */
.mkt-cat {
	background: #fff;
	border: 1px solid var(--htb-line);
	border-radius: 14px;
	box-shadow: var(--htb-shadow-sm);
	padding: 20px 20px;
	display: flex;
	align-items: center;
	gap: 14px;
	transition: transform 0.18s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.mkt-cat:hover { transform: translateY(-3px); box-shadow: var(--htb-shadow); border-color: #cfe0f0; }
.mkt-cat__ic {
	width: 46px; height: 46px; flex: 0 0 46px;
	border-radius: 12px;
	background: var(--htb-mist);
	color: var(--htb-blue);
	display: flex; align-items: center; justify-content: center;
}
.mkt-cat__ic svg { width: 24px; height: 24px; }
.mkt-cat h3 { margin: 0; font-size: 16px; font-weight: 800; color: var(--htb-teal); }
.mkt-cat p { margin: 2px 0 0; font-size: 13px; color: var(--htb-muted); font-weight: 600; }

/* ---- Responsive ---- */
@media (max-width: 720px) {
	.htb-hero--page .htb-hero__inner { padding: 60px 20px 52px; }
	.mkt-cols { column-count: 1; }
	.mkt-callout { flex-direction: column; text-align: center; padding: 24px 20px; }
	.mkt-callout__ic { margin: 0 auto; }
	.mkt-stat { flex: 1 1 100%; }
	.mkt-tl { grid-template-columns: 44px 1fr; gap: 14px; padding: 18px 18px; }
	.mkt-tl__ic { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 12px; }
	.mkt-tl__ic svg { width: 22px; height: 22px; }
}

/* ---- Legal / policy document pages (Terms, Privacy) ---- */
.htb-hero--legal .htb-hero__inner { padding: 68px 22px 56px; }
.htb-hero--legal h1 { margin-bottom: 12px; }
.htb-hero--legal .htb-hero__sub {
	margin: 0;
	font-size: 15px;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.82);
}
.mkt-legal {
	max-width: 760px;
	margin: 0 auto;
	color: var(--htb-ink-soft);
	font-size: 16px;
	line-height: 1.7;
}
.mkt-legal__intro {
	margin: 0 0 28px;
	font-size: 17px;
	color: var(--htb-ink);
}
.mkt-legal__block { margin: 0 0 28px; }
.mkt-legal__block:last-of-type { margin-bottom: 0; }
.mkt-legal__block h2 {
	margin: 0 0 12px;
	font-size: clamp(18px, 2.4vw, 22px);
	font-weight: 800;
	line-height: 1.3;
	color: var(--htb-teal);
}
.mkt-legal__block p { margin: 0 0 12px; }
.mkt-legal__block p:last-child { margin-bottom: 0; }
.mkt-legal__block ul {
	margin: 0 0 12px;
	padding: 0 0 0 1.15em;
}
.mkt-legal__block li {
	margin: 0 0 8px;
	padding-left: 0.15em;
}
.mkt-legal__block li:last-child { margin-bottom: 0; }
.mkt-legal a {
	color: var(--htb-blue);
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 2px;
}
.mkt-legal__related {
	margin: 36px 0 0;
	padding-top: 22px;
	border-top: 1px solid var(--htb-line);
	font-size: 15px;
	font-weight: 600;
	color: var(--htb-ink);
}
@media (max-width: 720px) {
	.htb-hero--legal .htb-hero__inner { padding: 52px 20px 44px; }
	.mkt-legal { font-size: 15px; }
}
