/* ==========================================================================
   AutoVault theme styles
   Reference: Home Dealer Three (Outfit + Inter, white / navy / vivid orange)
   ========================================================================== */

:root {
	--av-container: 1320px;
	--av-gutter: 16px;
	--av-ink: var(--wp--preset--color--ink, #050b20);
	--av-body: var(--wp--preset--color--body, #555555);
	--av-muted: var(--wp--preset--color--muted, #b5b5b5);
	--av-accent: var(--wp--preset--color--accent, #ff3600);
	--av-accent-strong: var(--wp--preset--color--accent-strong, #c92a00);
	--av-accent-hover: #a82300;
	--av-surface: var(--wp--preset--color--surface, #f6f6f6);
	--av-surface-soft: var(--wp--preset--color--surface-soft, #f6f7f9);
	--av-line: var(--wp--preset--color--line, #d9d9d9);
	--av-deep: var(--wp--preset--color--deep, #1f1f25);
	--av-tab: var(--wp--preset--color--tab, #252525);
	--av-testimonial: var(--wp--preset--color--testimonial, #ebe9ec);
	--av-white: #ffffff;
	--av-radius-sm: 6px;
	--av-radius-md: 10px;
	--av-radius-lg: 16px;
	--av-shadow: 0 30px 20px rgba(101, 101, 101, 0.1);
	--av-font-body: var(--wp--preset--font-family--body, "Inter", Arial, sans-serif);
	--av-font-heading: var(--wp--preset--font-family--heading, "Outfit", Arial, sans-serif);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body.av-body {
	margin: 0;
	background: var(--av-white);
	color: var(--av-body);
	font-family: var(--av-font-body);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

img,
svg,
video {
	max-width: 100%;
	height: auto;
}

img {
	display: block;
}

a {
	color: inherit;
	text-decoration: none;
}

a:hover {
	color: var(--av-accent);
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0;
	color: var(--av-ink);
	font-family: var(--av-font-heading);
	font-weight: 500;
	line-height: 1.1;
	letter-spacing: -0.01em;
}

p {
	margin: 0 0 1em;
}

p:last-child {
	margin-bottom: 0;
}

ul,
ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

button,
input,
select,
textarea {
	font: inherit;
}

button {
	cursor: pointer;
}

:focus-visible {
	outline: 2px solid var(--av-accent);
	outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */

.av-container {
	width: 100%;
	max-width: var(--av-container);
	margin-inline: auto;
}

.av-main {
	display: block;
}

.av-section {
	padding: 120px var(--av-gutter);
}

.av-section__action {
	margin-top: 60px;
	text-align: center;
}

.av-kicker {
	margin: 0 0 12px;
	color: var(--av-accent-strong);
	font-family: var(--av-font-heading);
	font-size: 20px;
	font-weight: 600;
	line-height: 1.2;
}

.av-heading__title {
	font-size: 54px;
	line-height: 1.1;
}

.av-heading--center {
	text-align: center;
}

.av-heading--light .av-heading__title {
	color: var(--av-white);
}

.av-heading--light .av-kicker {
	color: var(--av-accent);
}

.av-accent {
	color: var(--av-accent);
	text-decoration: underline;
	text-decoration-thickness: 3px;
	text-underline-offset: 6px;
}

.av-empty {
	padding: 40px 0;
	color: var(--av-body);
	font-size: 18px;
}

.av-icon {
	display: inline-block;
	flex: 0 0 auto;
	width: 24px;
	height: 24px;
	vertical-align: middle;
}

.av-icon--btn {
	width: 18px;
	height: 18px;
}

.av-icon--topbar {
	width: 16px;
	height: 16px;
	color: var(--av-accent);
}

.av-icon--profile {
	width: 24px;
	height: 24px;
}

.av-icon--burger {
	width: 24px;
	height: 24px;
}

.av-icon--chevron {
	width: 14px;
	height: 14px;
}

.av-icon--social {
	width: 13px;
	height: 13px;
}

.av-icon--spec {
	width: 18px;
	height: 18px;
	color: var(--av-accent);
}

.av-icon--stat {
	width: 52px;
	height: 52px;
	color: var(--av-accent);
}

.av-icon--contact {
	width: 22px;
	height: 22px;
	color: var(--av-accent);
}

.av-icon--chip {
	width: 14px;
	height: 14px;
}

.av-icon--tab {
	width: 18px;
	height: 18px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.av-skip-link {
	position: absolute;
	top: -100px;
	left: 16px;
	z-index: 999;
	padding: 12px 18px;
	background: var(--av-ink);
	color: var(--av-white);
	border-radius: 0 0 6px 6px;
}

.av-skip-link:focus {
	top: 0;
	color: var(--av-white);
}

.av-honeypot {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

body.av-dialog-open {
	overflow: hidden;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.av-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 14px 32px;
	border: 1px solid transparent;
	border-radius: var(--av-radius-sm);
	font-family: var(--av-font-body);
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	text-align: center;
	text-decoration: none;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.av-btn:hover {
	text-decoration: none;
	transform: translateY(-1px);
}

.av-btn--accent {
	background: var(--av-accent-strong);
	color: var(--av-white);
}

.av-btn--accent:hover {
	background: var(--av-accent-hover);
	color: var(--av-white);
}

.av-btn--dark {
	background: var(--av-deep);
	color: var(--av-white);
}

.av-btn--dark:hover {
	background: var(--av-ink);
	color: var(--av-white);
}

.av-btn--outline {
	border-color: var(--av-line);
	background: transparent;
	color: var(--av-body);
}

.av-btn--outline:hover {
	border-color: var(--av-ink);
	color: var(--av-ink);
}

.av-btn--sm {
	min-height: 38px;
	padding: 10px 20px;
	font-size: 13px;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.av-header {
	position: sticky;
	top: 0;
	z-index: 60;
	width: 100%;
}

.av-topbar {
	max-height: 49px;
	overflow: hidden;
	background: var(--av-ink);
	color: var(--av-muted);
	transition: max-height 0.25s ease;
}

.av-topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	min-height: 49px;
}

.av-topbar__contact {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 20px;
	font-size: 14px;
	line-height: 1.2;
}

.av-topbar__contact li,
.av-topbar__contact a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.av-topbar__contact a {
	color: var(--av-muted);
}

.av-topbar__contact a:hover {
	color: var(--av-white);
}

.av-header__main {
	background: var(--av-surface);
	transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.av-header__inner {
	display: flex;
	align-items: center;
	gap: 24px;
	min-height: 77px;
}

.av-logo {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
}

.av-logo__image {
	width: 110px;
	height: auto;
}

.av-logo--footer .av-logo__image {
	width: 100px;
}

.av-header.is-stuck .av-topbar {
	max-height: 0;
}

.av-header.is-stuck .av-header__main {
	background: var(--av-white);
	box-shadow: 0 8px 18px rgba(24, 16, 16, 0.05);
}

.av-nav {
	margin-left: auto;
}

.av-nav__menu {
	display: flex;
	align-items: center;
	gap: 2px;
}

.av-nav__item {
	position: relative;
}

.av-nav__row {
	display: flex;
	align-items: center;
}

.av-nav__link {
	display: inline-flex;
	align-items: center;
	padding: 28px 14px;
	color: var(--av-ink);
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	white-space: nowrap;
}

.av-nav__link:hover,
.av-nav__item.is-current > .av-nav__row > .av-nav__link {
	color: var(--av-accent-strong);
}

.av-nav__toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 44px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--av-ink);
}

.av-nav__toggle:hover {
	color: var(--av-accent);
}

.av-nav__toggle[aria-expanded="true"] .av-icon--chevron {
	transform: rotate(180deg);
}

.av-nav__sub {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 70;
	min-width: 230px;
	padding: 15px 0 12px;
	border-top: 1px solid rgba(85, 85, 85, 0.11);
	border-radius: 0 0 10px 10px;
	background: var(--av-white);
	box-shadow: 0 36px 35px rgba(0, 0, 0, 0.078);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}

.av-nav__item.has-children:hover > .av-nav__sub,
.av-nav__item.has-children:focus-within > .av-nav__sub,
.av-nav__item.is-open > .av-nav__sub {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.av-nav__sub a {
	display: block;
	padding: 8px 24px;
	color: var(--av-body);
	font-size: 14px;
	line-height: 1.4;
}

.av-nav__sub a:hover,
.av-nav__sub a[aria-current="page"] {
	color: var(--av-accent-strong);
}

.av-header__actions {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-left: 18px;
}

.av-profile {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 45px;
	padding: 4px 12px;
	border: 1px solid #555555;
	border-radius: 6px;
	background: transparent;
	color: var(--av-ink);
	font-size: 14px;
	font-weight: 600;
}

.av-profile:hover {
	border-color: var(--av-accent);
	color: var(--av-accent);
}

.av-header__add {
	min-height: 45px;
	padding-inline: 26px;
}

.av-burger {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 6px;
	background: var(--av-accent-strong);
	color: var(--av-white);
}

/* Mobile drawer + dialogs */
.av-drawer {
	position: fixed;
	inset: 0 0 0 auto;
	width: min(370px, 90vw);
	max-width: none;
	height: 100%;
	max-height: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: var(--av-white);
	color: var(--av-body);
	transform: translateX(100%);
	transition: transform 0.25s ease;
}

.av-drawer[open] {
	transform: translateX(0);
}

.av-drawer::backdrop,
.av-dialog::backdrop {
	background: rgba(5, 11, 32, 0.55);
}

.av-drawer__head,
.av-dialog__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 20px 24px;
	border-bottom: 1px solid var(--av-line);
}

.av-drawer__title,
.av-dialog__title {
	font-size: 24px;
}

.av-drawer__close,
.av-dialog__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--av-line);
	border-radius: 50%;
	background: transparent;
	color: var(--av-ink);
}

.av-drawer__close:hover,
.av-dialog__close:hover {
	border-color: var(--av-accent);
	color: var(--av-accent);
}

.av-drawer__nav {
	padding: 0 24px;
}

.av-drawer .av-nav__menu {
	display: block;
}

.av-drawer .av-nav__item {
	border-bottom: 1px solid #eeeeee;
}

.av-drawer .av-nav__row {
	justify-content: space-between;
}

.av-drawer .av-nav__link {
	padding: 16px 0;
	font-size: 16px;
}

.av-drawer .av-nav__sub {
	position: static;
	display: none;
	min-width: 0;
	padding: 0 0 14px 16px;
	border: 0;
	box-shadow: none;
	opacity: 1;
	visibility: visible;
	transform: none;
}

.av-drawer .av-nav__item.is-open > .av-nav__sub {
	display: block;
}

.av-drawer .av-nav__sub a {
	padding: 8px 0;
}

.av-drawer__actions {
	display: grid;
	gap: 12px;
	padding: 24px;
}

.av-dialog {
	width: calc(100% - 32px);
	max-width: 920px;
	max-height: calc(100vh - 40px);
	margin: auto;
	padding: 0;
	border: 0;
	border-radius: var(--av-radius-md);
	background: var(--av-white);
	color: var(--av-body);
	box-shadow: 0 30px 80px rgba(5, 11, 32, 0.25);
	overflow: auto;
}

.av-login {
	max-width: 430px;
}

.av-login__body {
	padding: 24px;
}

.av-login__body form {
	margin: 0;
}

.av-login__body p {
	margin-bottom: 16px;
}

.av-login__body label {
	display: block;
	margin-bottom: 6px;
	color: var(--av-ink);
	font-size: 14px;
	font-weight: 600;
}

.av-login__body input[type="text"],
.av-login__body input[type="password"],
.av-login__body input[type="email"] {
	width: 100%;
	height: 48px;
	padding: 0 14px;
	border: 1px solid var(--av-line);
	border-radius: 6px;
	background: var(--av-white);
	color: var(--av-body);
}

.av-login__body .login-remember label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 400;
}

.av-login__body .login-submit {
	margin-bottom: 0;
}

.av-login__body input[type="submit"] {
	width: 100%;
	min-height: 46px;
	border: 0;
	border-radius: 6px;
	background: var(--av-accent-strong);
	color: var(--av-white);
	font-weight: 600;
}

.av-login__links {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	margin-top: 18px;
	font-size: 14px;
}

.av-login__links a {
	color: var(--av-accent-strong);
	font-weight: 600;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.av-hero {
	position: relative;
	padding: 120px 0 0;
	overflow: hidden;
	background-color: var(--av-white);
	background-image: radial-gradient(rgba(5, 11, 32, 0.07) 1px, transparent 1px);
	background-size: 40px 40px;
}

.av-hero__head {
	display: grid;
	grid-template-columns: minmax(0, 680px) 465px;
	justify-content: space-between;
	gap: 30px;
	align-items: start;
}

.av-hero__title {
	max-width: 680px;
	margin-top: 16px;
	font-size: 60px;
	line-height: 1.1;
}

.av-hero__text {
	max-width: 465px;
	margin-top: 38px;
	color: var(--av-body);
	font-size: 18px;
	line-height: 1.6;
}

.av-hero__search {
	position: relative;
	z-index: 2;
	max-width: 1120px;
	margin: 48px 0 0;
}

.av-hero__strip {
	position: relative;
	margin: -40px 0 0 40px;
	padding-top: 180px;
	border-radius: 0 0 0 60px;
	background-color: var(--av-surface);
	background-image: radial-gradient(rgba(5, 11, 32, 0.06) 1px, transparent 1px);
	background-size: 32px 32px;
	overflow: hidden;
}

.av-hero__strip-inner {
	display: flex;
	justify-content: flex-end;
	padding: 0;
}

.av-hero__car {
	width: min(1224px, 100%);
	height: auto;
	margin-left: auto;
}

/* Dealer search */
.av-search {
	padding: 14px 16px;
	border-radius: var(--av-radius-sm);
	background: var(--av-white);
	box-shadow: 0 14px 40px rgba(5, 11, 32, 0.06);
}

.av-search__fields {
	display: flex;
	align-items: center;
	gap: 20px;
}

.av-field {
	position: relative;
	flex: 1 1 0;
	min-width: 0;
}

.av-field::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 18px;
	width: 8px;
	height: 8px;
	border-right: 2px solid #555555;
	border-bottom: 2px solid #555555;
	transform: translateY(-70%) rotate(45deg);
	pointer-events: none;
}

.av-field select {
	width: 100%;
	height: 50px;
	padding: 0 40px 0 18px;
	border: 0;
	border-radius: 4px;
	background: var(--av-surface-soft);
	color: var(--av-body);
	font-size: 16px;
	appearance: none;
}

.av-search__submit {
	flex: 0 0 190px;
	max-width: 190px;
	height: 50px;
	min-height: 50px;
	padding-inline: 22px;
}

/* --------------------------------------------------------------------------
   Listings
   -------------------------------------------------------------------------- */

.av-listings {
	padding-top: 120px;
}

.av-listings__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 30px;
	margin-bottom: 60px;
}

.av-tabs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 25px;
}

.av-tab {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 36px;
	padding: 10px 14px;
	border: 0;
	border-radius: 30px;
	background: transparent;
	color: var(--av-ink);
	font-family: var(--av-font-body);
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.av-tab:hover,
.av-tab.is-active {
	background: var(--av-surface);
}

.av-grid {
	display: grid;
	gap: 30px;
}

.av-grid--cars {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.av-grid--posts {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.av-car {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid rgba(85, 85, 85, 0.15);
	border-radius: var(--av-radius-lg);
	background: var(--av-white);
	transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.av-car:hover {
	box-shadow: var(--av-shadow);
	transform: translateY(-2px);
}

.av-car__media {
	position: relative;
	aspect-ratio: 1590 / 1044;
	overflow: hidden;
	background: var(--av-surface);
}

.av-car__image-link {
	display: block;
	width: 100%;
	height: 100%;
}

.av-car__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.av-car:hover .av-car__image {
	transform: scale(1.04);
}

.av-car__badge {
	position: absolute;
	top: 22px;
	left: 22px;
	z-index: 2;
	padding: 6px 14px;
	border-radius: 30px;
	background: var(--av-accent-strong);
	color: var(--av-white);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.2;
}

.av-car__badge--static {
	position: static;
	display: inline-block;
	margin-bottom: 16px;
}

.av-car__media-actions {
	position: absolute;
	right: 16px;
	bottom: 16px;
	left: 16px;
	display: flex;
	align-items: center;
	gap: 8px;
	pointer-events: none;
}

.av-car__chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 30px;
	padding: 6px 10px;
	border: 0;
	border-radius: 30px;
	background: rgba(5, 11, 32, 0.82);
	color: var(--av-white);
	font-size: 12px;
	line-height: 1;
	pointer-events: auto;
	backdrop-filter: blur(3px);
}

.av-car__chip:hover {
	background: var(--av-accent-strong);
	color: var(--av-white);
}

.av-car__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 25px 30px 30px;
}

.av-car__title {
	margin: 0 0 20px;
	font-size: 24px;
	line-height: 1.2;
}

.av-car__title a:hover {
	color: var(--av-accent);
}

.av-car__specs {
	display: flex;
	flex-wrap: wrap;
	gap: 14px 18px;
	margin-bottom: 25px;
	color: var(--av-body);
	font-size: 14px;
}

.av-car__specs li {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.av-car__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: auto;
	padding-top: 28px;
	border-top: 1px solid rgba(85, 85, 85, 0.15);
}

.av-car__prices {
	display: flex;
	flex-direction: column;
}

.av-car__old {
	color: var(--av-ink);
	font-size: 16px;
	line-height: 1.2;
}

.av-car__price {
	color: var(--av-accent);
	font-family: var(--av-font-heading);
	font-size: 24px;
	font-weight: 600;
	line-height: 1.2;
}

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */

.av-about {
	display: grid;
	grid-template-columns: 490px minmax(0, 1fr);
	gap: 40px;
	align-items: start;
	padding: 0 var(--av-gutter) 120px 0;
}

.av-about__media {
	overflow: hidden;
	border-radius: 0 6px 6px 0;
}

.av-about__image {
	width: 100%;
	height: 100%;
	aspect-ratio: 490 / 534;
	object-fit: cover;
}

.av-about__content {
	padding-top: 8px;
	padding-right: var(--av-gutter);
}

.av-about__content .av-heading__title {
	max-width: 760px;
}

.av-about__row {
	display: grid;
	grid-template-columns: 296px minmax(0, 1fr);
	gap: 40px;
	align-items: start;
	margin-top: 60px;
}

.av-about__secondary {
	overflow: hidden;
	border-radius: 6px;
}

.av-about__secondary-image {
	width: 100%;
	aspect-ratio: 296 / 364;
	object-fit: cover;
}

.av-about__copy p {
	margin-bottom: 30px;
	font-size: 16px;
	line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Brands
   -------------------------------------------------------------------------- */

.av-brands {
	padding-right: 60px;
}

.av-brands__panel {
	padding: 120px var(--av-gutter);
	border-radius: 0 60px 0 0;
	background: var(--av-ink);
}

.av-brands .av-heading {
	margin-bottom: 60px;
}

.av-brands__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1px;
	background: rgba(255, 255, 255, 0.12);
}

.av-brand {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 189px;
	padding: 24px;
	background: var(--av-ink);
}

.av-brand__logo {
	width: auto;
	max-width: 130px;
	max-height: 80px;
	object-fit: contain;
	filter: none;
}

/* --------------------------------------------------------------------------
   Statistics
   -------------------------------------------------------------------------- */

.av-stats {
	padding: 120px var(--av-gutter);
}

.av-stats__head {
	margin-bottom: 44px;
}

.av-stats__head .av-heading__title {
	max-width: 880px;
}

.av-stats__grid {
	display: grid;
	grid-template-columns: 433px minmax(0, 1fr);
	gap: 20px;
	align-items: start;
}

.av-stats__intro {
	position: relative;
	padding-bottom: 40px;
}

.av-stats__shape {
	position: absolute;
	right: 0;
	bottom: -40px;
	width: 592px;
	max-width: 140%;
	height: auto;
	opacity: 0.55;
	pointer-events: none;
}

.av-stats__text {
	margin: 36px 0 30px;
	font-size: 16px;
	line-height: 1.6;
}

.av-stats__items {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

.av-stat {
	display: flex;
	align-items: center;
	gap: 22px;
	min-height: 188px;
	padding: 30px;
	border-radius: var(--av-radius-md);
	background: var(--av-surface);
}

.av-stat__icon {
	display: inline-flex;
	flex: 0 0 auto;
}

.av-stat__body {
	display: flex;
	flex-direction: column;
}

.av-stat__number {
	color: var(--av-ink);
	font-family: var(--av-font-heading);
	font-size: 44px;
	font-weight: 500;
	line-height: 1.05;
}

.av-stat__label {
	color: var(--av-body);
	font-size: 20px;
	line-height: 1.3;
}

/* --------------------------------------------------------------------------
   Popular makes carousel
   -------------------------------------------------------------------------- */

.av-makes {
	padding: 0 var(--av-gutter) 120px;
}

.av-makes__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 30px;
	margin-bottom: 60px;
}

.av-tabs--makes {
	gap: 10px;
}

.av-tab--make {
	min-height: 42px;
	padding: 9px 16px;
	border: 1px solid var(--av-line);
	border-radius: 6px;
	background: var(--av-white);
}

.av-tab--make:hover {
	border-color: var(--av-tab);
	color: var(--av-ink);
	background: var(--av-white);
}

.av-tab--make.is-active {
	border-color: var(--av-tab);
	background: var(--av-tab);
	color: var(--av-white);
}

.av-tab--make .av-tab__icon {
	width: auto;
	max-width: 24px;
	max-height: 18px;
	object-fit: contain;
}

.av-carousel {
	position: relative;
}

.av-carousel__track {
	display: flex;
	gap: 30px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	padding-bottom: 8px;
}

.av-carousel__track::-webkit-scrollbar {
	display: none;
}

.av-carousel__slide {
	flex: 0 0 calc((100% - 90px) / 4);
	min-width: 0;
	scroll-snap-align: start;
}

.av-carousel__dots {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 8px;
	margin-top: 28px;
}

.av-carousel__dot {
	width: 8px;
	height: 8px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #cfcfcf;
	transition: width 0.2s ease, background-color 0.2s ease;
}

.av-carousel__dot.is-active {
	width: 36px;
	border-radius: 4px;
	background: var(--av-accent);
}

/* --------------------------------------------------------------------------
   Testimonials
   -------------------------------------------------------------------------- */

.av-testimonials {
	position: relative;
	padding: 120px var(--av-gutter) 160px;
	background: var(--av-testimonial);
	overflow: hidden;
}

.av-testimonials__media {
	position: absolute;
	inset: 0 auto 0 -10%;
	width: 56%;
}

.av-testimonials__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.av-testimonials__inner {
	position: relative;
	display: flex;
	justify-content: flex-end;
}

.av-testimonials__content {
	width: 704px;
	max-width: 100%;
}

.av-testimonials__carousel {
	margin-top: 30px;
}

.av-testimonial {
	margin: 0;
}

.av-testimonial__quote {
	margin: 0 0 30px;
	color: var(--av-body);
	font-size: 24px;
	font-weight: 400;
	line-height: 1.5;
}

.av-testimonial__author {
	display: flex;
	align-items: center;
	gap: 20px;
}

.av-testimonial__avatar {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	object-fit: cover;
}

.av-testimonial__meta {
	display: flex;
	flex-direction: column;
}

.av-testimonial__name {
	color: var(--av-ink);
	font-family: var(--av-font-heading);
	font-size: 24px;
	font-weight: 500;
	line-height: 1.2;
}

.av-testimonial__role {
	color: var(--av-body);
	font-size: 16px;
}

.av-testimonials__dots {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 30px;
}

.av-testimonials__dot {
	width: 8px;
	height: 8px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #c8c5ca;
}

.av-testimonials__dot.is-active {
	width: 36px;
	border-radius: 4px;
	background: var(--av-accent);
}

/* --------------------------------------------------------------------------
   Blog
   -------------------------------------------------------------------------- */

.av-blog {
	padding: 120px var(--av-gutter);
}

.av-blog .av-heading {
	margin-bottom: 60px;
}

.av-post {
	display: flex;
	flex-direction: column;
	padding: 32px;
	border: 1px solid #e5e5e5;
	border-radius: 6px;
	background: var(--av-white);
	transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.av-post:hover {
	box-shadow: var(--av-shadow);
	transform: translateY(-2px);
}

.av-post__media {
	display: block;
	overflow: hidden;
	border-radius: 4px;
	background: var(--av-surface);
}

.av-post__image {
	width: 100%;
	aspect-ratio: 1590 / 1044;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.av-post:hover .av-post__image {
	transform: scale(1.03);
}

.av-post__body {
	padding-top: 20px;
}

.av-post__date {
	display: block;
	margin-bottom: 12px;
	color: var(--av-body);
	font-size: 14px;
}

.av-post__title {
	font-size: 24px;
	line-height: 1.3;
}

.av-post__title a:hover {
	color: var(--av-accent);
}

.av-post__excerpt {
	margin-top: 14px;
	color: var(--av-body);
	font-size: 15px;
}

/* --------------------------------------------------------------------------
   CTA + footer
   -------------------------------------------------------------------------- */

.av-cta-wrap {
	position: relative;
	z-index: 2;
	margin-bottom: -100px;
}

.av-cta {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
	overflow: hidden;
	padding: 74px 100px;
	border-radius: var(--av-radius-md);
	background: var(--av-accent);
	color: var(--av-white);
}

.av-cta__title {
	position: relative;
	z-index: 2;
	max-width: 602px;
	color: var(--av-white);
	font-size: 54px;
	line-height: 1.1;
}

.av-cta__phone {
	position: relative;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 18px;
	color: var(--av-white);
	font-family: var(--av-font-heading);
	font-size: 34px;
	font-weight: 500;
	line-height: 1;
	white-space: nowrap;
}

.av-cta__phone:hover {
	color: var(--av-white);
}

.av-cta__phone-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	border-radius: 50%;
	background: var(--av-white);
	color: var(--av-accent);
}

.av-cta__round {
	position: absolute;
	top: 20%;
	right: 37%;
	width: 30px;
	height: 30px;
	opacity: 0.85;
}

.av-cta__line {
	position: absolute;
	right: 35%;
	bottom: 20%;
	width: 184px;
	height: 95px;
	opacity: 0.85;
}

.av-footer {
	padding: 170px var(--av-gutter) 60px;
	background: var(--av-surface);
}

.av-footer__grid {
	display: grid;
	grid-template-columns: 1.9fr 1fr 1fr 1.45fr;
	gap: 60px;
}

.av-footer__tagline {
	max-width: 305px;
	margin: 26px 0 28px;
	font-size: 16px;
	line-height: 1.6;
}

.av-footer__title {
	margin-bottom: 24px;
	color: var(--av-ink);
	font-size: 20px;
	font-weight: 500;
}

.av-footer__nav .av-nav__menu {
	display: block;
}

.av-footer__nav .av-nav__item {
	border: 0;
}

.av-footer__nav .av-nav__link {
	display: block;
	padding: 0 0 20px;
	color: var(--av-body);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.4;
}

.av-footer__nav .av-nav__link:hover {
	color: var(--av-accent);
}

.av-footer__apps {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.av-footer__app-image {
	width: 124px;
	height: auto;
}

.av-footer__app-note {
	margin-top: 14px;
	color: var(--av-body);
	font-size: 12px;
}

.av-footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-top: 60px;
	padding-top: 24px;
	border-top: 1px solid rgba(85, 85, 85, 0.2);
	font-size: 14px;
}

.av-footer__follow {
	display: flex;
	align-items: center;
	gap: 16px;
}

.av-footer__copyright {
	margin: 0;
}

.av-social {
	display: flex;
	align-items: center;
	gap: 15px;
}

.av-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 25px;
	height: 25px;
	border: 1px solid var(--av-accent);
	border-radius: 50%;
	color: var(--av-accent);
}

.av-social a:hover {
	background: var(--av-accent);
	color: var(--av-white);
}

.av-social--footer a {
	width: 30px;
	height: 30px;
}

.av-newsletter {
	margin-top: 24px;
	max-width: 349px;
}

.av-newsletter__row {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 6px;
	border-radius: 6px;
	background: var(--av-white);
	box-shadow: 0 14px 30px rgba(5, 11, 32, 0.06);
}

.av-newsletter__row input[type="email"] {
	flex: 1;
	min-width: 0;
	height: 40px;
	padding: 0 12px;
	border: 0;
	background: transparent;
	color: var(--av-body);
	font-size: 14px;
}

.av-newsletter__row .av-btn {
	min-height: 40px;
	padding: 10px 20px;
	font-size: 13px;
}

.av-newsletter__note {
	margin-top: 10px;
	color: var(--av-body);
	font-size: 12px;
}

.av-form__status {
	margin: 0 0 18px;
	padding: 12px 16px;
	border-radius: 6px;
	font-size: 14px;
}

.av-form__status--success {
	background: #e8f5ec;
	color: #176b33;
}

.av-form__status--error {
	background: #fdecea;
	color: #9b1c14;
}

.av-to-top {
	position: fixed;
	right: 30px;
	bottom: 30px;
	z-index: 40;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	border: 1px solid var(--av-accent);
	border-radius: 50%;
	background: var(--av-white);
	color: var(--av-accent);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.av-to-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.av-to-top:hover {
	background: var(--av-accent);
	color: var(--av-white);
}

/* --------------------------------------------------------------------------
   Page shell, archive, single
   -------------------------------------------------------------------------- */

.av-page {
	padding: 0 var(--av-gutter) 120px;
}

.av-page-hero {
	padding: 80px 0 50px;
}

.av-page-hero__title {
	font-size: 54px;
	line-height: 1.1;
}

.av-page-hero__text {
	max-width: 760px;
	margin-top: 16px;
	font-size: 18px;
}

.av-breadcrumbs {
	margin-bottom: 18px;
	color: var(--av-body);
	font-size: 14px;
}

.av-breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.av-breadcrumbs li:not(:last-child)::after {
	content: "/";
	margin-left: 8px;
	color: var(--av-muted);
}

.av-breadcrumbs a:hover {
	color: var(--av-accent);
}

.av-inventory__toolbar {
	margin-bottom: 30px;
}

.av-inventory__toolbar .av-search {
	padding: 0;
	box-shadow: none;
	background: transparent;
}

.av-inventory__toolbar .av-search__fields {
	padding: 0;
}

.av-chips {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-bottom: 24px;
}

.av-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 34px;
	padding: 7px 12px;
	border: 1px solid var(--av-line);
	border-radius: 30px;
	background: var(--av-white);
	color: var(--av-body);
	font-size: 13px;
}

.av-chip:hover {
	border-color: var(--av-ink);
	color: var(--av-ink);
}

.av-chip--clear {
	border-color: transparent;
	color: var(--av-accent-strong);
	font-weight: 600;
}

.av-results-count {
	margin: 0 0 26px;
	color: var(--av-body);
	font-size: 14px;
}

.av-pagination {
	margin-top: 60px;
}

.av-pagination ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}

.av-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	min-height: 42px;
	padding: 0 14px;
	border: 1px solid var(--av-line);
	border-radius: 6px;
	color: var(--av-body);
	font-size: 14px;
}

.av-pagination .page-numbers.current,
.av-pagination .page-numbers:hover {
	border-color: var(--av-accent);
	background: var(--av-accent);
	color: var(--av-white);
}

.av-grid--inventory {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.av-single-car__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	gap: 60px;
	align-items: start;
}

.av-single-car__main {
	position: relative;
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	border-radius: var(--av-radius-lg);
	overflow: hidden;
	background: var(--av-surface);
}

.av-single-car__main img {
	width: 100%;
	aspect-ratio: 1590 / 1044;
	object-fit: cover;
}

.av-single-car__zoom {
	position: absolute;
	right: 16px;
	bottom: 16px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 12px;
	border-radius: 30px;
	background: rgba(5, 11, 32, 0.82);
	color: var(--av-white);
	font-size: 13px;
}

.av-single-car__thumbs {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 10px;
	margin-top: 12px;
}

.av-single-car__thumbs button {
	display: block;
	width: 100%;
	padding: 0;
	border: 2px solid transparent;
	border-radius: 6px;
	overflow: hidden;
	background: var(--av-surface);
}

.av-single-car__thumbs button:hover {
	border-color: var(--av-accent);
}

.av-single-car__thumbs img {
	width: 100%;
	aspect-ratio: 1590 / 1044;
	object-fit: cover;
}

.av-single-car__title {
	margin-bottom: 14px;
	font-size: 54px;
}

.av-single-car__price {
	display: flex;
	align-items: baseline;
	gap: 14px;
	margin-bottom: 26px;
}

.av-single-car__price s {
	color: var(--av-ink);
	font-size: 18px;
}

.av-single-car__price strong {
	color: var(--av-accent);
	font-family: var(--av-font-heading);
	font-size: 34px;
	font-weight: 600;
}

.av-single-car__specs {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px 22px;
	padding: 24px;
	border-radius: var(--av-radius-md);
	background: var(--av-surface);
}

.av-single-car__specs li {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 15px;
}

.av-single-car__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 26px;
}

.av-single-car__content {
	max-width: 860px;
	margin-top: 60px;
}

.av-single-car__content h2 {
	margin-bottom: 18px;
	font-size: 34px;
}

.av-related {
	padding-inline: 0;
}

.av-related__title {
	margin-bottom: 36px;
	font-size: 34px;
}

.av-single-post__head {
	padding-top: 80px;
}

.av-single-post__title {
	max-width: 980px;
	font-size: 54px;
}

.av-single-post__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	margin-top: 20px;
	color: var(--av-body);
	font-size: 14px;
}

.av-single-post__cats a {
	color: var(--av-accent-strong);
	font-weight: 600;
}

.av-single-post__media {
	margin-top: 40px;
}

.av-single-post__image {
	width: 100%;
	max-height: 640px;
	border-radius: var(--av-radius-lg);
	object-fit: cover;
}

.av-single-post__body {
	max-width: 860px;
	margin-top: 40px;
}

.av-prose {
	color: var(--av-body);
	font-size: 17px;
	line-height: 1.75;
}

.av-prose > * + * {
	margin-top: 1.1em;
}

.av-prose h2,
.av-prose h3 {
	margin-top: 1.4em;
	color: var(--av-ink);
}

.av-prose a {
	color: var(--av-accent-strong);
	text-decoration: underline;
}

.av-prose ul,
.av-prose ol {
	margin-left: 1.2em;
	list-style: disc;
}

.av-page-content__body {
	max-width: 860px;
	margin-top: 20px;
}

.av-contact-page__grid,
.av-sell-page__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
	gap: 60px;
	align-items: start;
}

.av-contact-page__heading,
.av-sell-page__heading {
	margin-bottom: 16px;
	font-size: 34px;
}

.av-contact-list {
	display: grid;
	gap: 18px;
	margin-top: 30px;
}

.av-contact-list li {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 16px;
}

.av-form {
	padding: 32px;
	border-radius: var(--av-radius-md);
	background: var(--av-surface);
}

.av-form__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 18px;
}

.av-form__field {
	margin: 0 0 18px;
}

.av-form__field label {
	display: block;
	margin-bottom: 6px;
	color: var(--av-ink);
	font-size: 14px;
	font-weight: 600;
}

.av-required {
	color: var(--av-accent);
}

.av-form__field input,
.av-form__field textarea {
	width: 100%;
	min-height: 48px;
	padding: 12px 14px;
	border: 1px solid var(--av-line);
	border-radius: 6px;
	background: var(--av-white);
	color: var(--av-body);
}

.av-form__field textarea {
	min-height: 140px;
	resize: vertical;
}

.av-form__field input:focus,
.av-form__field textarea:focus {
	border-color: var(--av-accent);
	outline: 0;
	box-shadow: 0 0 0 3px rgba(255, 54, 0, 0.12);
}

.av-404__inner {
	padding: 120px 0;
	text-align: center;
}

.av-404__title {
	font-size: 54px;
}

.av-404__text {
	max-width: 560px;
	margin: 18px auto 30px;
	font-size: 18px;
}

.av-404__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
}

/* Gallery + video dialogs */
.av-gallery {
	max-width: 1080px;
}

.av-gallery__stage {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: var(--av-ink);
}

.av-gallery__image {
	width: 100%;
	max-height: 74vh;
	object-fit: contain;
}

.av-gallery__nav {
	position: absolute;
	top: 50%;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.9);
	color: var(--av-ink);
	transform: translateY(-50%);
}

.av-gallery__nav--prev {
	left: 14px;
}

.av-gallery__nav--prev .av-icon {
	transform: rotate(180deg);
}

.av-gallery__nav--next {
	right: 14px;
}

.av-gallery__counter {
	margin: 0;
	padding: 14px;
	text-align: center;
	color: var(--av-body);
	font-size: 14px;
}

.av-video {
	max-width: 960px;
}

.av-video__frame {
	position: relative;
	aspect-ratio: 16 / 9;
	background: var(--av-ink);
}

.av-video__frame iframe {
	width: 100%;
	height: 100%;
	border: 0;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1399px) {
	.av-container {
		padding-inline: var(--av-gutter);
	}
}

@media (max-width: 1200px) {
	.av-hero__title {
		font-size: 48px;
	}

	.av-heading__title {
		font-size: 48px;
	}

	.av-nav__link {
		padding: 26px 10px;
		font-size: 14px;
	}

	.av-header__actions {
		gap: 10px;
		margin-left: 8px;
	}

	.av-header__add {
		padding-inline: 18px;
	}

	.av-brands__panel {
		padding-block: 100px;
	}

	.av-stats__grid {
		grid-template-columns: 380px minmax(0, 1fr);
	}

	.av-stat {
		gap: 16px;
		padding: 24px;
	}

	.av-stat__number {
		font-size: 38px;
	}

	.av-stat__label {
		font-size: 18px;
	}

	.av-cta {
		padding: 60px;
	}

	.av-cta__title {
		font-size: 44px;
	}

	.av-cta__phone {
		font-size: 28px;
	}

	.av-single-car__title,
	.av-single-post__title,
	.av-page-hero__title {
		font-size: 46px;
	}
}

@media (max-width: 1024px) {
	.av-nav {
		display: none;
	}

	.av-burger {
		display: inline-flex;
	}

	.av-header__actions .av-profile,
	.av-header__add {
		display: none;
	}

	.av-header__inner {
		min-height: 73px;
	}

	.av-logo__image {
		width: 100px;
	}

	.av-hero {
		padding-top: 90px;
	}

	.av-hero__head {
		grid-template-columns: minmax(0, 1fr) minmax(0, 0.7fr);
	}

	.av-hero__title {
		font-size: 44px;
	}

	.av-hero__text {
		margin-top: 20px;
		font-size: 17px;
	}

	.av-grid--cars,
	.av-grid--inventory {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.av-grid--posts {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.av-about {
		grid-template-columns: 36% minmax(0, 1fr);
		gap: 30px;
		padding-bottom: 90px;
	}

	.av-about__row {
		grid-template-columns: 40% minmax(0, 1fr);
		gap: 24px;
		margin-top: 36px;
	}

	.av-brands__grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.av-brand {
		min-height: 150px;
	}

	.av-stats__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 50px;
	}

	.av-stats__intro {
		max-width: 640px;
	}

	.av-makes__head,
	.av-listings__head {
		flex-direction: column;
		align-items: flex-start;
	}

	.av-carousel__slide {
		flex-basis: calc((100% - 30px) / 2);
	}

	.av-testimonials {
		padding-block: 90px 110px;
	}

	.av-testimonials__media {
		position: relative;
		inset: auto;
		width: calc(100% + 32px);
		margin-left: -16px;
		height: 360px;
	}

	.av-testimonials__inner {
		display: block;
	}

	.av-testimonials__content {
		width: 100%;
		margin-top: 40px;
	}

	.av-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 50px;
	}

	.av-cta {
		flex-wrap: wrap;
	}

	.av-cta__phone {
		font-size: 24px;
	}

	.av-single-car__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 36px;
	}

	.av-contact-page__grid,
	.av-sell-page__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 40px;
	}
}

@media (max-width: 880px) {
	.av-hero__title {
		font-size: 40px;
	}

	.av-heading__title {
		font-size: 34px;
	}

	.av-topbar {
		display: none;
	}

	.av-header__inner {
		min-height: 73px;
	}

	.av-hero {
		padding-top: 60px;
	}

	.av-hero__head {
		grid-template-columns: minmax(0, 1fr);
	}

	.av-hero__text {
		max-width: 100%;
		margin-top: 0;
	}

	.av-hero__search {
		margin-top: 30px;
	}

	.av-search__fields {
		flex-wrap: wrap;
		gap: 10px;
	}

	.av-field {
		flex: 1 1 calc(33.333% - 10px);
	}

	.av-search__submit {
		flex: 1 1 190px;
		max-width: none;
	}

	.av-hero__strip {
		margin-left: 20px;
		padding-top: 120px;
	}

	.av-section {
		padding-block: 90px;
	}

	.av-listings {
		padding-top: 90px;
	}

	.av-brands {
		padding-right: 20px;
	}

	.av-brands__panel {
		padding-block: 80px;
		border-radius: 0 40px 0 0;
	}

	.av-brands .av-heading {
		margin-bottom: 40px;
	}

	.av-makes {
		padding-bottom: 90px;
	}

	.av-blog {
		padding-block: 90px;
	}

	.av-cta-wrap {
		margin-bottom: -70px;
	}

	.av-footer {
		padding-top: 130px;
	}

	.av-to-top {
		right: 18px;
		bottom: 18px;
	}
}

@media (max-width: 767px) {
	.av-heading__title,
	.av-hero__title {
		font-size: 34px;
		line-height: 1.1;
	}

	.av-hero__title {
		font-size: 40px;
	}

	.av-kicker {
		font-size: 18px;
	}

	.av-tabs {
		gap: 10px;
	}

	.av-tab {
		font-size: 13px;
		padding: 9px 12px;
	}

	.av-listings__head,
	.av-makes__head {
		margin-bottom: 36px;
	}

	.av-grid--posts {
		grid-template-columns: minmax(0, 1fr);
	}

	.av-about {
		grid-template-columns: minmax(0, 1fr);
		padding-right: var(--av-gutter);
		padding-bottom: 70px;
	}

	.av-about__media {
		border-radius: 6px;
	}

	.av-about__image {
		aspect-ratio: 16 / 10;
	}

	.av-about__content {
		padding-top: 0;
		padding-right: 0;
	}

	.av-about__row {
		grid-template-columns: minmax(0, 1fr);
		gap: 20px;
		margin-top: 26px;
	}

	.av-about__secondary-image {
		aspect-ratio: 16 / 10;
	}

	.av-brands {
		padding-right: 16px;
	}

	.av-brands__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.av-brand {
		min-height: 130px;
	}

	.av-stats__items {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.av-stat {
		min-height: 140px;
		padding: 18px;
	}

	.av-stat__icon {
		width: 40px;
		height: 40px;
	}

	.av-stat__icon .av-icon {
		width: 40px;
		height: 40px;
	}

	.av-stat__number {
		font-size: 30px;
	}

	.av-stat__label {
		font-size: 15px;
	}

	.av-carousel__slide {
		flex-basis: 100%;
	}

	.av-testimonials {
		padding-block: 70px 90px;
	}

	.av-testimonials__media {
		height: 254px;
	}

	.av-testimonial__quote {
		font-size: 20px;
	}

	.av-testimonial__name {
		font-size: 20px;
	}

	.av-cta {
		flex-direction: column;
		align-items: flex-start;
		padding: 32px 24px;
	}

	.av-cta__title {
		font-size: 28px;
	}

	.av-cta__phone {
		font-size: 20px;
		font-weight: 700;
		white-space: normal;
	}

	.av-cta__phone-icon {
		width: 44px;
		height: 44px;
	}

	.av-cta__round,
	.av-cta__line {
		display: none;
	}

	.av-footer {
		padding-top: 110px;
	}

	.av-footer__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 38px;
	}

	.av-footer__bottom {
		flex-direction: column;
		align-items: flex-start;
	}

	.av-single-car__title,
	.av-single-post__title,
	.av-page-hero__title {
		font-size: 34px;
	}

	.av-single-car__price strong {
		font-size: 28px;
	}

	.av-single-car__specs {
		grid-template-columns: minmax(0, 1fr);
	}

	.av-single-car__thumbs {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.av-form {
		padding: 22px;
	}

	.av-form__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.av-page {
		padding-bottom: 80px;
	}

	.av-page-hero {
		padding: 50px 0 36px;
	}

	.av-404__title {
		font-size: 34px;
	}

	.av-gallery__nav {
		width: 40px;
		height: 40px;
	}
}

@media (max-width: 600px) {
	.av-grid--cars,
	.av-grid--inventory,
	.av-grid--posts {
		grid-template-columns: minmax(0, 1fr);
	}

	.av-stats__items {
		grid-template-columns: minmax(0, 1fr);
	}

	.av-car__body {
		padding: 20px 22px 24px;
	}

	.av-car__title {
		font-size: 22px;
	}

	.av-car__footer {
		padding-top: 22px;
	}

	.av-search {
		padding: 12px;
	}

	.av-field {
		flex-basis: 100%;
	}

	.av-search__submit {
		flex-basis: 100%;
		width: 100%;
	}

	.av-hero__strip {
		margin-top: -30px;
		padding-top: 100px;
	}

	.av-hero__strip-inner {
		padding-inline: 0;
	}

	.av-hero__car {
		width: 100%;
		height: 160px;
		object-fit: cover;
		object-position: center;
	}

	.av-newsletter {
		max-width: 100%;
	}

	.av-newsletter__row {
		flex-wrap: wrap;
	}

	.av-newsletter__row input[type="email"] {
		flex-basis: 100%;
	}

	.av-newsletter__row .av-btn {
		width: 100%;
	}

	.av-post {
		padding: 22px;
	}

	.av-cta__phone {
		font-size: 20px;
		font-weight: 700;
	}
}

@media (max-width: 420px) {
	.av-hero__title {
		font-size: 40px;
	}

	.av-profile span {
		display: none;
	}

	.av-header__actions {
		gap: 8px;
	}

	.av-social--footer {
		gap: 10px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}
