/* ==========================================================================
   Home page — this site only, loaded after aa-brand and aip-mobile.
   Kept out of the shared design system, like the About and Contact sheets.
   ========================================================================== */

/* --- Hero: vehicle picker beside the offers slider ----------------------------
   Laid out like a parts-store front page: a navy "Select your vehicle" card and a
   store promo on the left, the offer banners on the right. The banners are the
   owner's artwork (12:5), shown whole; the left column is sized around them. */

.aa-hs {
	background: var(--aa-bg-alt);
	border-top: 1px solid var(--aa-border);
	padding: clamp(1rem, .55rem + 1.3vw, 1.75rem) 0 clamp(1.5rem, 1rem + 1.4vw, 2.25rem);
}

/* Every home section shares one set of edges: the header's 1300px row (the shared
   .aa-container is 1300px including its gutters, which left the sections 32px in
   from the header, hero and footer on each side). */
.aa-hs .aa-container,
.aa-brandrow .aa-container,
.aa-vr .aa-container,
.aa-fullbleed .aa-section > .aa-container,
.aa-hl > .aa-container { max-width: 1364px; }

/* Two cards apiece now, so give them equal halves rather than auto-fit tracks. */
.aa-fullbleed .aa-cards--3,
.aa-fullbleed .aa-infocards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }

@media (max-width: 640px) {
	.aa-fullbleed .aa-cards--3,
	.aa-fullbleed .aa-infocards { grid-template-columns: minmax(0, 1fr); }
}

/* The info-card strip has no heading, so a full section's padding left it floating. */
.aa-fullbleed .aa-section:has(> .aa-container > .aa-infocards) { padding-block: clamp(2rem, 1.4rem + 2vw, 3.25rem); }

.aa-hs__wrap {
	display: grid;
	grid-template-columns: 320px minmax(0, 1fr);
	gap: 16px;
}

.aa-hs__side {
	display: flex;
	flex-direction: column;
	gap: 14px;
	min-width: 0;
}

/* The banner keeps its own proportions; the side column stretches to match it. */
.aa-hs__slider {
	position: relative;
	align-self: start;
	min-width: 0;
}

/* Navy picker card */
.aa-hs__finder {
	position: relative;
	flex: 1 0 auto;
	display: flex;
	flex-direction: column;
	padding: 24px 20px 18px;
	border-radius: 14px;
	background: linear-gradient(165deg, #1257B8 0%, var(--aa-navy) 40%, var(--aa-navy-deep) 100%);
	color: #fff;
	box-shadow: 0 18px 40px rgba(7, 30, 69, .22);
	overflow: hidden;
}

/* the sky rule the banners carry along their top edge */
.aa-hs__finder::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: var(--aa-sky);
}

.aa-hs__finder-head {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 18px;
}

.aa-hs__finder-icon {
	flex: none;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 11px;
	background: var(--aa-sky);
	color: #062B57;
	box-shadow: 0 8px 18px rgba(53, 182, 232, .3);
}

.aa-hs__finder-icon svg { width: 25px; height: 25px; }

.aa-hs .aa-hs__finder-title {
	margin: 0;
	color: #fff;
	font-family: var(--aa-font-head);
	font-size: 1.22rem;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -.01em;
}

.aa-hs__finder-sub {
	display: block;
	margin-top: 3px;
	color: rgba(255, 255, 255, .7);
	font-size: .8rem;
	line-height: 1.35;
}

/* "Decoded: 2015 Toyota Camry" after a VIN from the header search */
.aa-hs__vin .aa-finder__note {
	margin: 0 0 12px;
	padding: 8px 11px;
	border: 1px solid rgba(53, 182, 232, .45);
	border-radius: 8px;
	background: rgba(53, 182, 232, .14);
	color: #fff;
	font-size: .8rem;
	font-weight: 600;
	line-height: 1.4;
}

.aa-hs__vin .aa-finder__note:empty { display: none; }

/* Only the vehicle bar shows here: part-number and VIN search live in the header. */
.aa-hs #aa-finder { max-width: none; margin: 0; }

.aa-hs #aa-finder .aa-finder-tabs,
.aa-hs #aa-finder .aa-finder-pair,
.aa-hs #aa-finder .aa-finder__search,
.aa-hs #aa-finder .aa-finder__vin,
.aa-hs #aa-finder .aa-finder__or { display: none !important; }

/* Year + Make, then Model, then the revealed Engine + Sub model, then the button.
   `body` lifts these over the shared layout's phone rules, which hide the bar
   while its VIN tab is active. */
body .aa-hs #aa-finder .aa-finder__bar {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px !important;
	margin: 0;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0;
	background: none !important;
}

body .aa-hs #aa-finder .aa-finder__bar > .aa-finder__field {
	flex: none;
	min-width: 0;
	gap: 0;
}

body .aa-hs #aa-finder .aa-finder__bar > .aa-finder__field:nth-child(3),
body .aa-hs #aa-finder .aa-finder__bar > .aa-finder__field:last-child { grid-column: 1 / -1; }

body .aa-hs #aa-finder .aa-finder__bar label { display: none !important; }

.aa-hs #aa-finder .aa-combo input[type="text"] {
	height: 46px !important;
	min-height: 46px !important;
	margin: 0 !important;
	padding: 0 34px 0 14px !important;
	border: 0 !important;
	border-radius: 8px !important;
	background: #fff url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%230B3D91' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 12px center / 14px !important;
	color: var(--aa-heading) !important;
	font-family: var(--aa-font-body) !important;
	font-size: .95rem !important;
	font-weight: 600;
	text-overflow: ellipsis;
	box-shadow: none;
	transition: box-shadow .15s var(--aa-ease), background-color .15s;
}

.aa-hs #aa-finder .aa-combo input[type="text"]::placeholder {
	color: var(--aa-muted);
	font-weight: 500;
	opacity: 1;
}

.aa-hs #aa-finder .aa-combo input[type="text"]:focus {
	outline: none;
	box-shadow: 0 0 0 3px rgba(53, 182, 232, .6) !important;
}

/* Not yet available: a quiet glass field on the navy, as in the reference layout. */
.aa-hs #aa-finder .aa-combo input[type="text"]:disabled {
	background-color: rgba(255, 255, 255, .12) !important;
	background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23ffffff' stroke-opacity='.45' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
	color: rgba(255, 255, 255, .6) !important;
	cursor: not-allowed;
}

.aa-hs #aa-finder .aa-combo input[type="text"]:disabled::placeholder { color: rgba(255, 255, 255, .55); }

body .aa-hs #aa-finder .aa-finder__bar .aa-finder__btn {
	width: 100%;
	height: 48px !important;
	min-height: 48px !important;
	margin-top: 4px;
	padding: 0 1rem !important;
	border-radius: 8px !important;
	background: var(--aa-sky) !important;
	color: #062B57 !important;
	font-family: var(--aa-font-head) !important;
	font-size: .95rem !important;
	font-weight: 800 !important;
	letter-spacing: .06em !important;
	text-transform: uppercase;
	box-shadow: 0 8px 20px rgba(53, 182, 232, .32);
	transition: background .18s var(--aa-ease), color .18s, transform .18s var(--aa-ease), box-shadow .18s;
}

body .aa-hs #aa-finder .aa-finder__bar .aa-finder__btn:hover:not(:disabled) {
	background: #fff !important;
	color: var(--aa-navy) !important;
	transform: translateY(-1px);
}

body .aa-hs #aa-finder .aa-finder__bar .aa-finder__btn:disabled {
	opacity: 1;
	background: rgba(255, 255, 255, .14) !important;
	color: rgba(255, 255, 255, .5) !important;
	box-shadow: none;
	transform: none;
}

.aa-hs .aa-hs__finder-foot {
	margin: auto 0 0;
	padding-top: 14px;
	color: rgba(255, 255, 255, .66);
	font-size: .8rem;
	line-height: 1.4;
}

.aa-hs .aa-hs__finder-foot a {
	color: #fff;
	font-weight: 700;
	white-space: nowrap;
	text-decoration: underline;
	text-decoration-color: rgba(255, 255, 255, .35);
	text-underline-offset: 3px;
}

.aa-hs .aa-hs__finder-foot a:hover { color: var(--aa-sky); text-decoration-color: currentColor; }

/* Store promo under the card — shown once the layout has room for it. */
.aa-hs__promo {
	position: relative;
	flex: 1 1 0;
	min-height: 104px;
	display: none;
	align-items: center;
	border-radius: 14px;
	overflow: hidden;
	background: var(--aa-navy-deep);
	color: #fff;
	text-decoration: none !important;
	box-shadow: var(--aa-shadow);
}

.aa-hs__promo img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	object-position: 62% 30%;
	border-radius: 0 !important;
	transition: transform .6s var(--aa-ease);
}

.aa-hs__promo::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(7, 30, 69, .95) 0%, rgba(7, 30, 69, .78) 52%, rgba(7, 30, 69, .2) 100%);
}

.aa-hs__promo-body {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 3px;
	padding: 14px 20px;
}

.aa-hs__promo-kicker {
	color: var(--aa-sky);
	font-family: var(--aa-font-mono);
	font-size: .66rem;
	letter-spacing: .16em;
	text-transform: uppercase;
}

.aa-hs__promo-title {
	color: #fff;
	font-family: var(--aa-font-head);
	font-size: 1.12rem;
	font-weight: 800;
	line-height: 1.2;
}

.aa-hs__promo-link {
	display: inline-flex;
	align-items: center;
	gap: .35rem;
	margin-top: 4px;
	color: var(--aa-sky);
	font-family: var(--aa-font-head);
	font-size: .84rem;
	font-weight: 700;
	transition: gap .2s var(--aa-ease);
}

.aa-hs__promo-link svg { width: 15px; height: 15px; }

.aa-hs__promo:hover img { transform: scale(1.05); }
.aa-hs__promo:hover .aa-hs__promo-link { gap: .6rem; color: #fff; }

/* With the promo showing, the card keeps its own height and the promo takes the rest.
   It steps aside when the card grows: a decoded VIN line always, and below 1366px
   also Engine + Sub model, which appear once a Model is picked. */
@media (min-width: 1260px) {
	.aa-hs__finder { flex: 0 0 auto; }
	.aa-hs__promo { display: flex; }
	.aa-hs__side:has(.aa-hs__vin .aa-finder__note:not(:empty)) .aa-hs__promo { display: none; }
	.aa-hs__side:has(.aa-hs__vin .aa-finder__note:not(:empty)) .aa-hs__finder { flex: 1 0 auto; }
}

@media (min-width: 1260px) and (max-width: 1365px) {
	.aa-hs__side:has(.aa-finder__bar > .aa-finder__field:nth-child(4):not(.aa-field-deferred)) .aa-hs__promo { display: none; }
	.aa-hs__side:has(.aa-finder__bar > .aa-finder__field:nth-child(4):not(.aa-field-deferred)) .aa-hs__finder { flex: 1 0 auto; }
}

/* Offers slider */
.aa-hs__viewport {
	position: relative;
	overflow: hidden;
	aspect-ratio: 12 / 5;
	border-radius: 14px;
	background: var(--aa-navy);
	box-shadow: 0 18px 40px rgba(7, 30, 69, .18);
	touch-action: pan-y;
}

.aa-hs__track {
	display: flex;
	height: 100%;
	transition: transform .75s cubic-bezier(.65, .05, .25, 1);
	will-change: transform;
}

.aa-hs__slider.is-dragging .aa-hs__track { transition: none; }

.aa-hs__slide {
	position: relative;
	flex: 0 0 100%;
	height: 100%;
}

.aa-hs__slide img {
	display: block;
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	border-radius: 0 !important;
	-webkit-user-select: none;
	user-select: none;
	-webkit-user-drag: none;
}

/* Live links laid over the CALL button and "or visit our stores" drawn in each banner. */
.aa-hs__hot {
	position: absolute;
	top: var(--y);
	height: 9.44%;
	border-radius: 6px;
	transition: box-shadow .18s var(--aa-ease), background-color .18s;
}

.aa-hs__hot--call { left: 5.73%; width: 20.18%; }
.aa-hs__hot--stores { left: 26.9%; width: 10.7%; }

.aa-hs__hot:hover,
.aa-hs__hot:focus-visible {
	outline: none;
	background: rgba(255, 255, 255, .1);
	box-shadow: 0 0 0 3px #fff, 0 10px 24px rgba(7, 30, 69, .35);
}

/* Offer tabs under the banner: one per slide, each with its own timer bar. A flex row, so
   the bar fits however many offers there are. */
.aa-hs__tabs {
	display: flex;
	margin-top: 10px;
	border: 1px solid var(--aa-border);
	border-radius: 12px;
	background: #fff;
	box-shadow: var(--aa-shadow-sm);
	overflow: hidden;
}

.aa-hs .aa-hs__tab {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 2px;
	flex: 1 1 0;
	min-width: 0;
	height: auto !important;
	min-height: 0 !important;
	margin: 0;
	padding: 14px 14px 12px !important;
	border: 0;
	border-radius: 0 !important;
	background: #fff !important;
	color: var(--aa-heading) !important;
	box-shadow: none !important;
	transform: none !important;
	text-align: left !important;
	letter-spacing: 0 !important;
	cursor: pointer;
	transition: background-color .2s;
}

.aa-hs .aa-hs__tab + .aa-hs__tab { box-shadow: inset 1px 0 0 var(--aa-border) !important; }
.aa-hs .aa-hs__tab:hover { background: var(--aa-bg-alt) !important; }
.aa-hs .aa-hs__tab:focus-visible,
.aa-hs .aa-hs__pause:focus-visible { outline: 2px solid var(--aa-cta); outline-offset: -3px; }

.aa-hs__tab strong {
	overflow: hidden;
	color: var(--aa-heading);
	font-family: var(--aa-font-head);
	font-size: .9rem;
	font-weight: 800;
	line-height: 1.25;
	white-space: nowrap;
	text-overflow: ellipsis;
	transition: color .2s;
}

.aa-hs__tab small {
	overflow: hidden;
	color: var(--aa-muted);
	font-family: var(--aa-font-body);
	font-size: .78rem;
	font-weight: 500;
	line-height: 1.3;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.aa-hs__tab.is-active strong { color: var(--aa-navy); }

/* The timer bar along each tab's top edge */
.aa-hs__tab-bar {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: var(--aa-border);
}

.aa-hs__tab-bar span {
	position: absolute;
	inset: 0 auto 0 0;
	width: 0;
	background: linear-gradient(90deg, var(--aa-navy), var(--aa-sky));
}

/* The fill is the timer: the slide advances when it completes (aip-home.js). */
.aa-hs__tab.is-active .aa-hs__tab-bar span { animation: aa-hs-progress var(--aa-hs-interval, 6s) linear forwards; }
.aa-hs__slider.is-paused .aa-hs__tab.is-active .aa-hs__tab-bar span { animation-play-state: paused; }
.aa-hs__slider.is-stopped .aa-hs__tab.is-active .aa-hs__tab-bar span { animation: none; width: 100%; }

@keyframes aa-hs-progress { to { width: 100%; } }

.aa-hs .aa-hs__pause {
	display: grid;
	place-items: center;
	flex: 0 0 52px;
	width: 52px;
	height: auto !important;
	min-height: 0 !important;
	padding: 0 !important;
	border: 0;
	border-radius: 0 !important;
	background: #fff !important;
	color: var(--aa-navy) !important;
	box-shadow: inset 1px 0 0 var(--aa-border) !important;
	transform: none !important;
}

.aa-hs .aa-hs__pause:hover { background: var(--aa-navy-50) !important; }
.aa-hs__pause svg { width: 16px; height: 16px; }
.aa-hs__i-play { display: none; }
.aa-hs__slider.is-stopped .aa-hs__i-play { display: block; }
.aa-hs__slider.is-stopped .aa-hs__i-pause { display: none; }

/* "Call your store" ([aip_store_call], allimports-store-call.php). Most visitors come from
   Google Ads on a phone to ask a store about stock and price, and the phone header keeps the
   numbers behind its menu. Desktop: a full-width band under the picker and the slider.
   Tablet: between the slider and the picker. Phones: first on the page, in place of the slider. */
.aip-home-call {
	order: 1;
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
	grid-template-areas: "text box" "text all";
	align-items: center;
	column-gap: 48px;
	padding: 24px 32px;
	border: 1px solid var(--aa-border);
	border-radius: 14px;
	background: #fff;
	box-shadow: var(--aa-shadow-sm);
}

.aip-home-call__text {
	grid-area: text;
	display: flex;
	align-items: center;
	gap: 18px;
}

.aip-home-call__icon {
	flex: none;
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--aa-navy-50);
	color: var(--aa-navy);
}
.aip-home-call__icon svg { width: 26px; height: 26px; }

.aip-home-call .aip-call { grid-area: box; }

.aip-home-call__kicker {
	margin: 0 0 6px;
	color: var(--aa-cta);
	font-family: var(--aa-font-mono);
	font-size: .68rem;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.aa-hs .aip-home-call__title {
	margin: 0;
	color: var(--aa-heading);
	font-family: var(--aa-font-head);
	font-size: 1.4rem;
	font-weight: 800;
	line-height: 1.3;
	letter-spacing: -.01em;
	text-wrap: balance;
}

.aa-hs .aip-home-call__all {
	grid-area: all;
	justify-self: start;
	margin-top: 8px;
	color: var(--aa-navy);
	font-size: .88rem;
	font-weight: 700;
}

/* Tablet: one column, so the band sits between the slider (order -1) and the picker. */
@media (max-width: 1199px) {
	.aip-home-call { order: 0; }
}

@media (max-width: 991px) {
	.aip-home-call { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 28px; padding: 22px 24px; }
	.aip-home-call__icon { width: 48px; height: 48px; }
	.aa-hs .aip-home-call__title { font-size: 1.22rem; }
}

@media (max-width: 767px) {
	.aip-home-call {
		display: block;
		order: -2;
		padding: 18px 16px 16px;
		border-radius: 12px;
	}
	.aa-hs__wrap:has(.aip-home-call) .aa-hs__slider { display: none; }
	.aip-home-call__text { display: block; }
	.aip-home-call__icon { display: none; }
	.aa-hs .aip-home-call__title { margin-bottom: 14px; font-size: 1.14rem; letter-spacing: 0; }
	.aa-hs .aip-home-call__all { display: inline-block; margin-top: 10px; }
}

/* Trust strip under the hero: three equal thirds at every width, each centred in its cell. */
.aa-hs__trust {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-top: 16px;
	border: 1px solid var(--aa-border);
	border-radius: 14px;
	background: #fff;
	box-shadow: var(--aa-shadow-sm);
}

.aa-hs__trust-item {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-width: 0;
	padding: 16px 20px;
	color: inherit;
	text-decoration: none !important;
}

.aa-hs__trust-item + .aa-hs__trust-item { border-left: 1px solid var(--aa-border); }

.aa-hs__trust-icon {
	flex: none;
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--aa-navy-50);
	color: var(--aa-navy);
}

.aa-hs__trust-icon svg { width: 21px; height: 21px; }

.aa-hs__trust-text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }

.aa-hs__trust-text strong {
	color: var(--aa-heading);
	font-family: var(--aa-font-head);
	font-size: .95rem;
	font-weight: 800;
	line-height: 1.25;
}

.aa-hs__trust-text span {
	color: var(--aa-muted);
	font-size: .8rem;
	line-height: 1.35;
}


/* Narrow desktop: a slimmer card, so the banner keeps its height. */
@media (max-width: 1365px) and (min-width: 1200px) {
	.aa-hs__wrap { grid-template-columns: 300px minmax(0, 1fr); }
	.aa-hs__finder { padding-top: 20px; }
	.aa-hs__finder-head { margin-bottom: 14px; }
	/* The banner is at its narrowest here: tighter tabs so five names still fit. */
	.aa-hs .aa-hs__tab { padding: 14px 10px 12px !important; }
	.aa-hs__tab strong { font-size: .85rem; }
	.aa-hs__tab small { font-size: .75rem; }
}

/* Tablet and phone: the banner leads, the picker follows full width. */
@media (max-width: 1199px) {
	.aa-hs__wrap { grid-template-columns: minmax(0, 1fr); }
	.aa-hs__slider { order: -1; }
}

@media (min-width: 700px) and (max-width: 1199px) {
	.aa-hs__finder {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		padding: 20px 22px 18px;
	}
	body .aa-hs #aa-finder .aa-finder__bar { grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(160px, .9fr); }
	body .aa-hs #aa-finder .aa-finder__bar > .aa-finder__field:nth-child(3) { grid-column: auto; }
	body .aa-hs #aa-finder .aa-finder__bar > .aa-finder__field:last-child { grid-column: 4; grid-row: 1; }
	body .aa-hs #aa-finder .aa-finder__bar .aa-finder__btn { height: 46px !important; min-height: 46px !important; margin-top: 0; }
	.aa-hs__finder-head { margin-bottom: 14px; }
	.aa-hs .aa-hs__finder-foot { padding-top: 12px; }
}


/* Narrow screens: icon over the words, so the three still fit side by side. */
@media (max-width: 899px) {
	.aa-hs__trust-item { flex-direction: column; justify-content: flex-start; gap: 8px; padding: 14px 10px; text-align: center; }
}

@media (max-width: 999px) {
	.aa-hs__tabs { counter-reset: aa-hs-tab; }
	.aa-hs .aa-hs__tab {
		flex: 0 0 46px;
		justify-content: center;
		min-height: 52px !important;
		padding: 11px 0 9px !important;
		counter-increment: aa-hs-tab;
	}
	.aa-hs .aa-hs__tab.is-active { flex: 1 1 0; padding: 11px 14px 9px !important; }
	.aa-hs__tab:not(.is-active) strong,
	.aa-hs__tab:not(.is-active) small { display: none; }
	.aa-hs__tab:not(.is-active)::after {
		content: counter(aa-hs-tab);
		color: var(--aa-muted);
		font-family: var(--aa-font-head);
		font-size: .86rem;
		font-weight: 800;
		text-align: center;
	}
}

@media (max-width: 699px) {
	.aa-hs { padding-top: 12px; }
	.aa-hs__wrap { gap: 12px; }
	.aa-hs__viewport { border-radius: 10px; }
	.aa-hs__tabs { margin-top: 8px; border-radius: 10px; }
	.aa-hs .aa-hs__tab { flex-basis: 36px; }
	.aa-hs .aa-hs__tab.is-active { padding: 11px 10px 9px !important; }
	.aa-hs__tab strong { font-size: .74rem; white-space: normal; }
	.aa-hs__tab.is-active small { display: none; }
	.aa-hs .aa-hs__pause { flex-basis: 44px; width: 44px; }
	/* Bigger finger targets over the small drawn buttons. */
	.aa-hs__hot::before { content: ""; position: absolute; inset: -10px -6px; }
	.aa-hs__finder { padding: 20px 16px 16px; border-radius: 12px; }
	.aa-hs__finder-head { margin-bottom: 14px; }
	.aa-hs .aa-hs__finder-title { font-size: 1.12rem; }
	.aa-hs__trust { margin-top: 12px; }
	.aa-hs__trust-item { gap: 7px; padding: 12px 6px; }
	.aa-hs__trust-icon { width: 34px; height: 34px; }
	.aa-hs__trust-icon svg { width: 17px; height: 17px; }
	.aa-hs__trust-text strong { font-size: .84rem; }
	.aa-hs__trust-text span { font-size: .74rem; }
}

@media (prefers-reduced-motion: reduce) {
	.aa-hs__track,
	.aa-hs__promo img,
	.aa-hs .aa-hs__tab { transition: none; }
}

/* --- Vehicle results: the picker's results, moved out of the narrow hero column --- */

.aa-vr {
	padding: clamp(1.75rem, 1.2rem + 2vw, 3rem) 0;
	border-bottom: 1px solid var(--aa-border);
	background: #fff;
	scroll-margin-top: 16px;
}

.aa-vr[hidden] { display: none; }

.aa-vr__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1rem;
}

.aa-vr__head .aa-eyebrow { margin-bottom: .35rem; }

.aa-vr .aa-vr__title {
	margin: 0;
	font-size: clamp(1.35rem, 1rem + 1.3vw, 2rem);
	line-height: 1.2;
}

.aa-vr .aa-vr__change {
	display: inline-flex;
	align-items: center;
	gap: .45rem;
	padding: .7rem 1.1rem !important;
	border: 0;
	border-radius: var(--aa-radius-sm);
	background: #fff !important;
	color: var(--aa-navy) !important;
	box-shadow: inset 0 0 0 1.5px var(--aa-border-str) !important;
	font-family: var(--aa-font-head);
	font-size: .88rem;
	font-weight: 700;
	line-height: 1;
}

.aa-vr .aa-vr__change:hover { background: var(--aa-navy-50) !important; box-shadow: inset 0 0 0 1.5px var(--aa-navy) !important; }
.aa-vr .aa-vr__change svg { width: 16px; height: 16px; }

.aa-vr .aa-finder__filter { margin: 0 0 .25rem; }

.aa-vr .aa-finder__filter input {
	width: 100%;
	max-width: 440px;
	height: 46px;
	margin: 0;
	padding: 0 14px;
	border: 1.5px solid var(--aa-border-str);
	border-radius: 8px;
	background: #fff;
	font-size: .94rem;
}

.aa-vr .aa-finder__filter input:focus { outline: none; border-color: var(--aa-cta); box-shadow: var(--aa-ring); }

.aa-vr .aa-finder__msg {
	margin: .9rem 0 .75rem;
	color: var(--aa-muted);
	font-size: .92rem;
	font-weight: 600;
}

.aa-vr .aa-finder__main { display: flex; gap: 1.25rem; align-items: flex-start; }

/* The tree rows are <button>s and would pick up the theme's solid navy button fill. */
.aa-vr .aa-finder__cat {
	background: #fff !important;
	color: #344054 !important;
	box-shadow: none !important;
	border-radius: 0 !important;
	transform: none !important;
	text-align: left !important;
	letter-spacing: 0 !important;
	font: 500 .9rem/1.3 var(--aa-font-body) !important;
}

.aa-vr .aa-finder__cat:hover { background: var(--aa-bg-alt) !important; }
.aa-vr .aa-finder__cat.is-active { background: var(--aa-navy) !important; color: #fff !important; }

.aa-vr .aa-finder__card img { height: 160px !important; }
.aa-vr .aa-finder__buy,
.aa-vr .aa-finder__view,
.aa-vr .aa-finder__cat-tag { color: var(--aa-navy); }

@media (max-width: 640px) {
	.aa-vr .aa-finder__main { flex-direction: column; }
	.aa-vr .aa-finder__cats { width: 100%; max-height: 240px; overflow-y: auto; overscroll-behavior: contain; }
	.aa-vr .aa-vr__change { width: 100%; justify-content: center; }
}

/* --- Brand logo row --------------------------------------------------------- */

.aa-brandrow {
	padding: clamp(2rem, 1.4rem + 2vw, 3.25rem) 0;
	background: #fff;
}

.aa-brandrow__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.15rem;
}

.aa-brandrow .aa-brandrow__head h2 {
	margin: 0;
	font-size: clamp(1.3rem, 1rem + 1vw, 1.7rem);
	line-height: 1.2;
}

.aa-brandrow__head a {
	display: inline-flex;
	align-items: center;
	gap: .35rem;
	color: var(--aa-navy);
	font-family: var(--aa-font-head);
	font-size: .92rem;
	font-weight: 700;
	white-space: nowrap;
	transition: gap .2s var(--aa-ease), color .2s;
}

.aa-brandrow__head a:hover { gap: .6rem; color: var(--aa-cta); }
.aa-brandrow__head a svg { width: 16px; height: 16px; }

.aa-brands {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 12px;
}

.aa-brands__tile {
	display: grid;
	place-items: center;
	height: 92px;
	padding: 18px 22px;
	border: 1px solid var(--aa-border);
	border-radius: 12px;
	background: #fff;
	transition: border-color .2s, box-shadow .2s, transform .2s var(--aa-ease);
}

.aa-brands__tile img {
	width: auto;
	max-width: 100%;
	height: auto !important;
	max-height: 46px;
	object-fit: contain;
	border-radius: 0 !important;
}

.aa-brands__tile:hover {
	border-color: var(--aa-border-str);
	box-shadow: var(--aa-shadow);
	transform: translateY(-2px);
}

@media (max-width: 1023px) {
	.aa-brands { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
	.aa-brands { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
	.aa-brands__tile { height: 70px; padding: 12px; border-radius: 10px; }
	.aa-brands__tile img { max-height: 34px; }
}

/* --- "Why trade with us": two highlight cards above the footer ------------- */

.aa-hl {
	position: relative;
	padding: clamp(3.5rem, 2.25rem + 4vw, 5.5rem) 0;
	color: rgba(255, 255, 255, .8);
	/* Lighter than the footer's deep navy, so the band doesn't run into it. */
	background:
		radial-gradient(760px 380px at 100% 0%, rgba(53, 182, 232, .22), transparent 65%),
		linear-gradient(115deg, var(--aa-navy-700) 0%, var(--aa-navy) 50%, #1257B8 100%);
}

.aa-hl__head {
	max-width: 40rem;
	margin: 0 auto clamp(2rem, 1.5rem + 1.5vw, 3rem);
	text-align: center;
}

.aa-hl .aa-eyebrow { color: var(--aa-sky); }

.aa-hl .aa-hl__head h2 {
	margin: 0;
	color: #fff;
	font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.5rem);
	line-height: 1.15;
	letter-spacing: -.01em;
}

.aa-hl__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(1rem, .5rem + 1.5vw, 1.75rem);
	margin: 0 auto;
}

.aa-hl__card {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: clamp(1.5rem, 1rem + 1.6vw, 2.5rem);
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: var(--aa-radius-lg);
	background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .04));
	box-shadow: 0 20px 50px rgba(4, 16, 40, .28);
	overflow: hidden;
}

/* brand accent along the top edge */
.aa-hl__card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--aa-sky), rgba(255, 255, 255, .85));
}

.aa-hl__top {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 1.1rem;
}

.aa-hl__icon {
	flex: none;
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	border-radius: 14px;
	background: var(--aa-sky);
	color: #062B57;
	box-shadow: 0 8px 20px rgba(53, 182, 232, .35);
}

.aa-hl__icon svg { width: 28px; height: 28px; }

.aa-hl .aa-hl__card h3 {
	margin: 0;
	color: #fff;
	font-size: clamp(1.3rem, 1.1rem + .6vw, 1.6rem);
	line-height: 1.2;
}

.aa-hl .aa-hl__card p {
	margin: 0 0 1.4rem;
	color: rgba(255, 255, 255, .8);
	font-size: 1rem;
	line-height: 1.65;
}

/* Two figure tiles per card: what the parts desk works from, and the catalogue size */
.aa-hl__stats {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: .85rem;
	margin: 0 0 1.75rem;
}

.aa-hl__stat {
	display: flex;
	flex-direction: column;
	gap: .5rem;
	padding: 1.05rem 1.2rem;
	border: 1px solid rgba(255, 255, 255, .1);
	border-radius: var(--aa-radius);
	background: rgba(4, 16, 40, .25);
}

.aa-hl__num {
	color: #fff;
	font-family: var(--aa-font-head);
	font-size: clamp(1.6rem, 1.2rem + 1.3vw, 2.3rem);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -.02em;
	white-space: nowrap;
}

.aa-hl__label {
	color: var(--aa-sky);
	font-family: var(--aa-font-mono);
	font-size: .72rem;
	letter-spacing: .14em;
	text-transform: uppercase;
}

/* Actions sit on the bottom edge so both cards line up */
.aa-hl__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .75rem 1.1rem;
	margin-top: auto;
}

.aa-hl .aa-btn {
	display: inline-flex;
	align-items: center;
	gap: .55rem;
}

.aa-hl .aa-btn svg { width: 18px; height: 18px; flex: none; }

.aa-hl .aa-btn.aa-hl__btn {
	background: var(--aa-sky);
	color: #062B57 !important;
	box-shadow: 0 8px 22px rgba(53, 182, 232, .3);
}

.aa-hl .aa-btn.aa-hl__btn:hover {
	background: #fff;
	color: var(--aa-navy) !important;
	transform: translateY(-1px);
}

.aa-hl .aa-btn.aa-hl__btn--outline {
	background: transparent;
	color: #fff !important;
	box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45);
}

.aa-hl .aa-btn.aa-hl__btn--outline:hover {
	background: #fff;
	color: var(--aa-navy) !important;
	box-shadow: inset 0 0 0 1.5px #fff;
}

.aa-hl__note {
	color: rgba(255, 255, 255, .62);
	font-size: .85rem;
}

@media (max-width: 860px) {
	.aa-hl__grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
	.aa-hl__head { text-align: left; }
	.aa-hl__foot .aa-btn { width: 100%; justify-content: center; }
	.aa-hl__stat { padding: .9rem 1rem; }
	.aa-hl__num { font-size: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
	.aa-hl .aa-btn { transition: none; }
	.aa-hl .aa-btn:hover { transform: none; }
}
