/*
Theme Name: 4PageTheme
Theme URI: https://autofrej.example/
Author: Auto Frej
Author URI: https://autofrej.example/
Description: Motyw prezentujący ogłoszenia samochodowe.
Version: 1.0.0
Text Domain: 4pagetheme
*/

:root {
	--af-bg: #f7f7f7;
	--af-text: #1f2937;
	--af-muted: #6b7280;
	--af-primary: #c79a10;
	--af-primary-hover: #a67f0d;
	--af-card: #ffffff;
	--af-border: #d1d5db;
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: Arial, sans-serif;
	line-height: 1.5;
	background: var(--af-bg);
	color: var(--af-text);
}

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

.site-container {
	width: min(1200px, 92%);
	margin: 0 auto;
}

.site-header {
	width: 100%;
	position: sticky;
	top: 0;
	z-index: 100;
	background: #111111;
	color: #ffffff;
	padding: 1rem 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header__inner {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 1.25rem;
}

.site-header__branding {
	font-size: 1.25rem;
	font-weight: 700;
	color: #ffffff;
	white-space: nowrap;
}

.site-nav {
	justify-self: center;
}

.site-nav__list {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 1rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-nav__list a {
	color: #ffffff;
	font-weight: 600;
}

.site-nav-toggle {
	display: none;
	align-items: center;
	gap: 0.55rem;
	background: transparent;
	color: #ffffff;
	border: 1px solid rgba(255, 255, 255, 0.4);
	border-radius: 999px;
	padding: 0.45rem 0.7rem;
	font: inherit;
	font-size: 0.9rem;
	font-weight: 700;
	cursor: pointer;
}

.site-nav-toggle__icon,
.site-nav-toggle__icon::before,
.site-nav-toggle__icon::after {
	display: block;
	width: 18px;
	height: 2px;
	background: #ffffff;
	border-radius: 999px;
	transition: transform 0.2s ease;
}

.site-nav-toggle__icon {
	position: relative;
}

.site-nav-toggle__icon::before,
.site-nav-toggle__icon::after {
	content: '';
	position: absolute;
	left: 0;
}

.site-nav-toggle__icon::before { top: -6px; }
.site-nav-toggle__icon::after { top: 6px; }

.site-header__actions {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex-wrap: wrap;
	justify-content: flex-end;
}

.social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 34px;
	min-width: 34px;
	padding: 0 0.65rem;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.4);
	color: #fff;
	font-size: 0.75rem;
	font-weight: 700;
}

.header-phone {
	background: var(--af-primary);
	color: #111;
	padding: 6px 14px;
	border-radius: 999px;
	font-weight: 700;
	white-space: nowrap;
}

.site-lang-switcher {
	display: inline-flex;
	align-items: center;
}

.site-lang-switcher__select {
	max-width: 180px;
	height: 36px;
	padding: 0.25rem 2rem 0.25rem 0.75rem;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.35);
	background: rgba(255, 255, 255, 0.08);
	color: #ffffff;
	font: inherit;
	font-size: 0.92rem;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	background-image: linear-gradient(45deg, transparent 50%, #ffffff 50%), linear-gradient(135deg, #ffffff 50%, transparent 50%);
	background-position: calc(100% - 14px) calc(50% - 3px), calc(100% - 8px) calc(50% - 3px);
	background-size: 6px 6px, 6px 6px;
	background-repeat: no-repeat;
}

.site-lang-switcher__select option {
	color: #111111;
}

.site-lang-switcher__select:focus {
	outline: none;
	border-color: var(--af-primary);
	box-shadow: 0 0 0 3px rgba(199, 154, 16, 0.22);
}

main.site-main {
	width: 100%;
}

.site-main > *:not(.home-hero-categories) {
	width: min(1200px, 92%);
	margin-left: auto;
	margin-right: auto;
}

.site-main {
	padding: 2rem 0;
}

.site-footer {
	background: #111111;
	color: #ffffff;
	padding: 1.5rem 0 0;
}

.site-footer__inner {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	align-items: flex-start;
	gap: 1.5rem;
	padding-bottom: 1.5rem;
}

.site-footer__column h3 {
	margin-top: 0;
	margin-bottom: 0.85rem;
	font-size: 1rem;
}

.site-footer__column p {
	margin: 0 0 0.75rem;
	line-height: 1.6;
}

.site-footer__column ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 0.4rem;
}

.site-footer__column a {
	color: inherit;
}

.site-footer__column a:hover,
.site-footer__column a:focus-visible {
	color: var(--af-primary);
}

.site-footer__muted {
	color: rgba(255, 255, 255, 0.75);
	font-size: 0.94rem;
}

.site-footer__socials {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.site-footer__hours li {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
}

.site-footer__hours strong {
	font-weight: 700;
}

.site-footer__copyright {
	text-align: center;
	padding: 1rem;
	background: rgba(0, 0, 0, 0.35);
	color: rgba(255, 255, 255, 0.82);
}

.vehicle-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.5rem;
}

.vehicle-card {
	background: var(--af-card);
	border: 1px solid var(--af-border);
	border-radius: 12px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.vehicle-card__image-wrap {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
}

.vehicle-card__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.vehicle-card__content {
	padding: 1rem;
}

.vehicle-card__title {
	font-size: 1.1rem;
	margin: 0 0 0.7rem;
}

.vehicle-card__price,
.single-vehicle__price {
	font-size: 1.35rem;
	font-weight: 700;
	color: var(--af-primary);
	margin: 0 0 0.8rem;
}

.vehicle-card__meta,
.single-vehicle__basic-specs {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.35rem;
	color: var(--af-muted);
}

.vehicle-card__button {
	display: inline-block;
	margin-top: 1rem;
	background: var(--af-primary);
	color: #ffffff;
	padding: 0.65rem 1rem;
	border-radius: 8px;
	font-weight: 600;
}

.vehicle-card__button:hover,
.vehicle-card__button:focus {
	background: var(--af-primary-hover);
}

.vehicle-pagination {
	margin-top: 2rem;
}

.vehicle-pagination .page-numbers {
	display: inline-block;
	padding: 0.4rem 0.8rem;
	margin-right: 0.35rem;
	background: #ffffff;
	border: 1px solid var(--af-border);
	border-radius: 6px;
}

.vehicle-pagination .current {
	background: var(--af-primary);
	border-color: var(--af-primary);
	color: #ffffff;
}

.vehicle-breadcrumbs {
	font-size: 0.95rem;
	color: var(--af-muted);
	margin-bottom: 1rem;
}

.vehicle-breadcrumbs .separator {
	padding: 0 0.4rem;
}

.single-vehicle__top {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
	gap: 2rem;
	margin-bottom: 2rem;
}

.single-vehicle__gallery,
.single-vehicle__summary,
.single-vehicle__description,
.single-vehicle__spec-table-section {
	background: #ffffff;
	border: 1px solid var(--af-border);
	border-radius: 12px;
	padding: 1rem;
}

.single-vehicle__main-image {
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	border-radius: 10px;
	display: block;
}

.single-vehicle__main-image-button {
	padding: 0;
	border: 0;
	background: transparent;
	cursor: zoom-in;
	width: 100%;
	display: block;
}

.single-vehicle__thumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	margin-top: 0.8rem;
}

.single-vehicle__thumb {
	border: 2px solid transparent;
	padding: 0;
	background: transparent;
	cursor: pointer;
	border-radius: 8px;
	overflow: hidden;
}

.single-vehicle__thumb img {
	width: 95px;
	height: 70px;
	object-fit: cover;
	display: block;
}

.single-vehicle__thumb.is-active {
	border-color: var(--af-primary);
}

body.vehicle-lightbox-open {
	overflow: hidden;
}

.vehicle-lightbox {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.92);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 9999;
	padding: 1rem;
}

.vehicle-lightbox[hidden] {
	display: none !important;
}

.vehicle-lightbox__image {
	max-width: min(95vw, 1600px);
	max-height: 90vh;
	width: auto;
	height: auto;
	object-fit: contain;
}

.vehicle-lightbox__close,
.vehicle-lightbox__nav {
	position: absolute;
	border: 0;
	background: rgba(0, 0, 0, 0.5);
	color: #ffffff;
	font-size: 2rem;
	line-height: 1;
	cursor: pointer;
	border-radius: 999px;
	width: 48px;
	height: 48px;
	display: grid;
	place-items: center;
}

.vehicle-lightbox__close {
	top: 1rem;
	right: 1rem;
	font-size: 2.1rem;
}

.vehicle-lightbox__nav--prev {
	left: 1rem;
}

.vehicle-lightbox__nav--next {
	right: 1rem;
}

.vehicle-lightbox__close:hover,
.vehicle-lightbox__close:focus,
.vehicle-lightbox__nav:hover,
.vehicle-lightbox__nav:focus {
	background: rgba(255, 255, 255, 0.25);
}

.vehicle-spec-table {
	width: 100%;
	border-collapse: collapse;
}

.vehicle-spec-table th,
.vehicle-spec-table td {
	border: 1px solid var(--af-border);
	padding: 0.65rem;
	text-align: left;
}

.vehicle-spec-table th {
	width: 40%;
	background: #f8fafc;
}

.related-vehicles {
	margin-top: 2rem;
}

.home-hero {
	background: #ffffff;
	border: 1px solid var(--af-border);
	border-radius: 12px;
	padding: 1.5rem;
	margin-bottom: 1.5rem;
}

.home-carousel__track {
	display: flex;
	gap: 1rem;
	overflow-x: auto;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	padding-bottom: 0.5rem;
}

.home-carousel__item {
	min-width: 300px;
	max-width: 300px;
	scroll-snap-align: start;
}

.home-filters,
.home-categories {
	background: #ffffff;
	border: 1px solid var(--af-border);
	border-radius: 12px;
	padding: 1rem;
	margin-bottom: 1.5rem;
}

.home-filters__form {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.8rem;
	align-items: end;
}

.home-filters__form label {
	display: grid;
	gap: 0.35rem;
	font-size: 0.95rem;
}

.home-filters__form input,
.home-filters__form select,
.home-filters__form button {
	padding: 0.6rem 0.7rem;
	border: 1px solid var(--af-border);
	border-radius: 8px;
	font: inherit;
}

.home-filters__form button {
	background: var(--af-primary);
	color: #fff;
	font-weight: 600;
	cursor: pointer;
}

.home-categories__list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
}

.home-categories__item {
	display: inline-block;
	padding: 0.45rem 0.8rem;
	border: 1px solid var(--af-border);
	border-radius: 999px;
	background: #f8fafc;
}

.home-top-tiles {
	margin: 1rem 0 1.5rem;
}

.home-top-tiles__track {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem;
}

.home-top-tiles__item {
	position: relative;
	min-height: 260px;
	display: flex;
	align-items: flex-end;
	padding: 1rem;
	color: #fff;
	font-weight: 700;
	background-size: cover;
	background-position: center;
	clip-path: polygon(0 0, 95% 0, 100% 100%, 5% 100%);
	overflow: hidden;
	transition: transform 0.35s ease, filter 0.35s ease;
}

.home-top-tiles__item::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.2));
}

.home-top-tiles__item span {
	position: relative;
	z-index: 1;
}

.home-top-tiles__item:hover {
	transform: translateY(-6px) scale(1.02);
	filter: brightness(1.1);
}

.about-page,
.forwarding-page,
.privacy-policy-page {
	display: grid;
	gap: 1.6rem;
}

.about-page__hero,
.about-page__grid article,
.about-page__section,
.forwarding-page__hero,
.forwarding-page__card,
.forwarding-page__contact,
.privacy-policy-page__hero,
.privacy-policy-page__section,
.privacy-policy-page__contact {
	background: #fff;
	border: 1px solid var(--af-border);
	border-radius: 16px;
	padding: clamp(1.25rem, 2.5vw, 2rem);
	box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.about-page__eyebrow,
.forwarding-page__eyebrow,
.privacy-policy-page__eyebrow {
	margin: 0 0 0.6rem;
	font-size: 0.8rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #7c5f0f;
}

.about-page__hero h1,
.forwarding-page__hero h1,
.privacy-policy-page__hero h1 {
	margin: 0 0 0.75rem;
	font-size: clamp(2rem, 4vw, 3rem);
}

.about-page__hero p,
.forwarding-page__hero p,
.privacy-policy-page__hero p {
	margin: 0;
	line-height: 1.75;
	color: #475569;
}

.about-page__grid {
	display: grid;
	gap: 1rem;
}

.about-page__grid--two {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.about-page__grid--four {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.about-page__grid article h2,
.about-page__grid article h3,
.about-page__section h2,
.forwarding-page__card h2,
.forwarding-page__contact h2,
.privacy-policy-page__section h2,
.privacy-policy-page__contact h2 {
	margin-top: 0;
}

.about-page__grid ul,
.forwarding-page__card ul {
	margin: 0;
	padding-left: 1.2rem;
	display: grid;
	gap: 0.45rem;
	color: #475569;
}

.about-page__grid--four article span {
	display: inline-flex;
	width: 3rem;
	height: 3rem;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	background: rgba(199, 154, 16, 0.18);
	font-size: 1.35rem;
	margin-bottom: 0.6rem;
}

.about-page__reasons {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.about-page__reasons div {
	padding: 1rem;
	border: 1px solid #e8edf5;
	border-radius: 12px;
	background: #f8fafc;
}

.about-page__reasons p,
.forwarding-page__card p,
.forwarding-page__contact p,
.privacy-policy-page__section p,
.privacy-policy-page__contact p {
	margin: 0.45rem 0 0;
	color: #475569;
	line-height: 1.65;
}

.forwarding-page__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
}

.forwarding-page__contact a {
	display: inline-flex;
	margin-top: 1rem;
	padding: 0.9rem 1.35rem;
	border-radius: 999px;
	background: var(--af-primary);
	color: #111;
	font-weight: 800;
}

.privacy-policy-page__sections {
	display: grid;
	gap: 1rem;
}

.privacy-policy-page__section {
	display: grid;
	gap: 0.8rem;
}

.privacy-policy-page__section ul {
	margin: 0;
	padding-left: 1.2rem;
	display: grid;
	gap: 0.45rem;
	color: #475569;
}

.privacy-policy-page__updated {
	margin-top: 1rem;
	font-size: 0.95rem;
	font-weight: 700;
	color: #334155;
}

.privacy-policy-page__contact a {
	font-weight: 700;
}

.contact-page {
	display: grid;
	gap: 2.25rem;
	width: min(1120px, 100%);
	margin: 0 auto;
	padding: clamp(1.2rem, 3vw, 2.2rem);
	background: #f5f6f8;
	border-radius: 24px;
}

.contact-page__header {
	padding-top: clamp(1.8rem, 5vw, 3.4rem);
	padding-bottom: clamp(0.8rem, 2.2vw, 1.6rem);
}

.contact-page__header h1 {
	margin: 0;
	font-size: clamp(2.45rem, 4.2vw, 3.4rem);
	line-height: 1.05;
	letter-spacing: -0.02em;
}

.contact-page__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.8rem;
}

.contact-page__card {
	background: #fff;
	border: 1px solid #e7ebf1;
	border-radius: 24px;
	padding: clamp(1.6rem, 2.5vw, 2.4rem);
	box-shadow: 0 20px 44px rgba(15, 23, 42, 0.12);
	display: grid;
	gap: 1.3rem;
}

.contact-page__card--form {
	border: 0;
	box-shadow: 0 24px 52px rgba(15, 23, 42, 0.14);
}

.contact-page__card--map {
	padding: 1rem;
	gap: 1rem;
}

.contact-page__card h2 {
	margin: 0;
	font-size: clamp(1.55rem, 2vw, 1.8rem);
	display: flex;
	align-items: center;
	gap: 0.6rem;
}

.contact-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 1.1em;
	line-height: 1;
}

.contact-page__info-block {
	display: grid;
	gap: 0.85rem;
	padding-bottom: 1.2rem;
	border-bottom: 1px solid #edf1f6;
}

.contact-page__info-block:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.contact-page__info-block h3 {
	margin: 0;
	font-size: 1.1rem;
	font-weight: 800;
	display: flex;
	align-items: center;
	gap: 0.45rem;
}

.contact-page__info-block p {
	margin: 0;
	color: #344154;
	line-height: 1.65;
}

.contact-page__card iframe {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 360px;
	border: 0;
	border-radius: 18px;
}

.contact-page__note {
	font-size: 0.9rem;
	opacity: 0.8;
}

.contact-form {
	display: grid;
	gap: 1.05rem;
}

.contact-form label {
	font-weight: 700;
	font-size: 0.96rem;
	color: #1f2937;
}

.contact-form input,
.contact-form textarea,
.contact-form button {
	width: 100%;
	border: 1px solid #d5dbe5;
	border-radius: 14px;
	padding: 0.95rem 1rem;
	font: inherit;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.contact-form input,
.contact-form textarea {
	background: #fbfcff;
}

.contact-form input:focus,
.contact-form textarea:focus {
	outline: none;
	border-color: var(--af-primary);
	background: #fff;
	box-shadow: 0 0 0 4px rgba(199, 154, 16, 0.2);
}

.contact-form textarea {
	resize: vertical;
	min-height: 170px;
}

.contact-form button {
	background: var(--af-primary);
	color: #111;
	font-weight: 800;
	cursor: pointer;
	max-width: 260px;
	border-color: var(--af-primary);
}

.contact-form button:hover,
.contact-form button:focus-visible {
	background: var(--af-primary-hover);
	border-color: var(--af-primary-hover);
	transform: translateY(-1px);
	box-shadow: 0 12px 24px rgba(199, 154, 16, 0.35);
}

.contact-form__consent {
	display: flex;
	align-items: flex-start;
	gap: 0.85rem;
	padding: 1rem 1.1rem;
	border: 1px solid #d5dbe5;
	border-radius: 14px;
	background: #fbfcff;
	line-height: 1.6;
}

.contact-form__consent input {
	width: 1.1rem;
	height: 1.1rem;
	margin: 0.2rem 0 0;
	flex: 0 0 auto;
}

.contact-form__consent span {
	font-size: 0.95rem;
	font-weight: 500;
}

.contact-form__consent a {
	color: var(--af-primary-dark);
	font-weight: 700;
	text-decoration: underline;
}

.contact-form__antispam {
	position: absolute;
	left: -99999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.contact-form__alert {
	padding: 0.9rem 1rem;
	border-radius: 10px;
	font-weight: 600;
	margin-bottom: 0.8rem;
}

.contact-form__alert--success {
	background: #dcfce7;
	border: 1px solid #16a34a;
	color: #14532d;
}

.contact-form__alert--error {
	background: #fee2e2;
	border: 1px solid #dc2626;
	color: #7f1d1d;
}

.contact-hours {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	border: 1px solid #e9eef5;
	border-radius: 16px;
	overflow: hidden;
	background: #fff;
}

.contact-hours li {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	gap: 1rem;
	padding: 0.85rem 1rem;
	border-bottom: 1px solid #edf1f6;
}

.contact-hours li:last-child {
	border-bottom: 0;
}

.contact-hours span {
	font-weight: 600;
	color: #334155;
}

.contact-hours strong {
	font-variant-numeric: tabular-nums;
	color: #0f172a;
}

/* Front page sections */
.home-hero-categories {
	width: 100%;
	margin: -2rem 0 1.5rem;
	overflow: hidden;
}

.home-hero-categories__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0;
}

.home-hero-categories__tile {
	position: relative;
	min-height: 300px;
	display: flex;
	align-items: flex-end;
	padding: 1rem;
	background-size: cover;
	background-position: center;
	color: #fff;
	font-size: clamp(1.5rem, 2.5vw, 3rem);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.home-hero-categories__tile::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.15));
}

.home-hero-categories__tile span {
	position: relative;
	z-index: 1;
}

.home-filter,
.home-latest,
.home-why-us,
.home-cta {
	background: #fff;
	border: 1px solid var(--af-border);
	border-radius: 12px;
	padding: 1rem;
	margin-bottom: 1.5rem;
}

.home-filter__form {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.8rem;
	align-items: end;
}

.home-filter__form label {
	display: grid;
	gap: 0.35rem;
	font-size: 0.95rem;
}

.home-filter__form input,
.home-filter__form select,
.home-filter__form button {
	padding: 0.6rem 0.7rem;
	border: 1px solid var(--af-border);
	border-radius: 8px;
	font: inherit;
}

.home-filter__form button {
	background: var(--af-primary);
	color: #fff;
	font-weight: 700;
	cursor: pointer;
}

.home-section-heading {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	margin-bottom: 1rem;
}

.home-latest__grid,
.home-why-us__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem;
}

.home-why-us__grid article {
	background: #f8fafc;
	border: 1px solid var(--af-border);
	border-radius: 10px;
	padding: 1rem;
}

.home-cta {
	text-align: center;
}

.home-cta__button {
	display: inline-block;
	background: var(--af-primary);
	color: #111;
	font-weight: 700;
	padding: 0.65rem 1rem;
	border-radius: 999px;
}

@media (max-width: 991px) {
	.vehicle-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.single-vehicle__top {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 960px) {
	.about-page__grid,
	.about-page__reasons,
	.forwarding-page__grid {
		grid-template-columns: 1fr;
	}

	.home-hero-categories__grid,
	.home-latest__grid,
	.home-why-us__grid,
	.home-filter__form {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 920px) {
	.home-filters__form {
		grid-template-columns: 1fr 1fr;
	}

	.home-top-tiles__track {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.contact-page__grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 900px) {
	.site-header__inner {
		grid-template-columns: 1fr auto;
		grid-template-areas:
			"brand toggle"
			"phone phone"
			"nav nav";
		align-items: center;
	}

	.site-header__branding {
		grid-area: brand;
	}

	.site-nav-toggle {
		display: inline-flex;
		grid-area: toggle;
		justify-self: end;
	}

	.site-header__actions {
		grid-area: phone;
		justify-content: flex-start;
	}

	.site-nav {
		grid-area: nav;
		justify-self: stretch;
		display: none;
		width: 100%;
	}

	.site-nav.is-open {
		display: block;
	}

	.site-nav__list {
		justify-content: flex-start;
		flex-direction: column;
		align-items: flex-start;
		gap: 0.3rem;
		padding-top: 0.75rem;
	}

	.site-nav__list li,
	.site-nav__list a {
		width: 100%;
	}

	.site-nav__list a {
		display: block;
		padding: 0.45rem 0;
	}

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

@media (max-width: 720px) {
	.site-footer__inner {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	.vehicle-grid {
		grid-template-columns: 1fr;
	}

	.home-filters__form,
	.home-hero-categories__grid,
	.home-latest__grid,
	.home-why-us__grid,
	.home-filter__form {
		grid-template-columns: 1fr;
	}

	.home-top-tiles__track {
		display: flex;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
	}

	.home-top-tiles__item {
		min-width: 78%;
		scroll-snap-align: start;
	}

	.home-hero-categories {
		margin-top: 0;
	}

	.home-hero-categories__tile {
		min-height: 250px;
		align-items: center;
		justify-content: center;
		padding: 1.25rem;
		background-position: center center;
		text-align: center;
	}

	.home-hero-categories__tile span {
		width: 100%;
		text-align: center;
	}
}
