/* ==================================================
   SHARED HOMEPAGE
   ================================================== */

.section-eyebrow {
	margin-bottom: 8px;

	color: var(--color-primary);

	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.section-heading {
	max-width: 680px;

	margin-bottom: 28px;
}

.section-heading h2 {
	margin-bottom: 10px;
}

.section-heading > p:last-child {
	max-width: 620px;
}

.section-heading-center {
	margin-inline: auto;

	text-align: center;
}

.section-heading-row {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;

	max-width: none;
}

.section-heading-row h2 {
	margin-bottom: 0;
}


/* ==================================================
   INLINE SVG
   ================================================== */

.service-icon svg,
.trust-icon svg,
.advantage-icon svg,
.process-icon svg,
.hero-placeholder-icon svg,
.about-image-placeholder svg,
.vehicle-chip svg,
.service-link svg,
.article-link svg,
.article-placeholder svg {
	display: block;

	width: 100%;
	height: 100%;

	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}


/* ==================================================
   HERO
   ================================================== */

.home-hero {
	padding: 56px 0;

	background: var(--color-white);
}

.hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(420px, 0.9fr);
	align-items: center;
	gap: 46px;

	min-height: 500px;
}

.hero-content {
	max-width: 630px;
}

.hero-content h1 {
	max-width: 620px;

	margin-bottom: 18px;
}

.hero-description {
	max-width: 590px;

	margin-bottom: 24px;

	font-size: 17px;
	line-height: 1.65;
}

.hero-actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 9px;
}



/* HERO MEDIA */

.hero-media {
	position: relative;
}

.hero-image-placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;

	aspect-ratio: 4 / 3;

	min-height: 380px;

	padding: 30px;

	background:
		linear-gradient(
			135deg,
			#f6f6f6,
			#eaeaea
		);

	border: 1px solid var(--color-border-soft);
	border-right: 5px solid var(--color-primary);
	border-radius: var(--radius-md);

	text-align: center;
}

.hero-placeholder-icon {
	display: block;

	width: 74px;
	height: 74px;

	margin-bottom: 15px;

	color: var(--color-primary);
}

.hero-image-placeholder p {
	max-width: 260px;

	margin: 0;

	color: var(--color-muted);

	font-size: 13px;
}

.hero-image-placeholder.has-image {
	overflow: hidden;

	padding: 0;
}

.hero-image-placeholder.has-image .hero-image {
	display: block;

	width: 100%;
	height: 100%;

	object-fit: cover;
}


/* ==================================================
   TRUST BAR
   ================================================== */

.trust-bar {
	background: var(--color-secondary);
	color: var(--color-white);
}

.trust-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
}

.trust-item {
	display: flex;
	align-items: center;
	gap: 13px;

	min-height: 94px;

	padding: 18px 20px;

	border-right:
		1px solid rgba(255, 255, 255, 0.1);
}

.trust-item:last-child {
	border-right: 0;
}

.trust-icon {
	flex: 0 0 auto;

	width: 30px;
	height: 30px;

	color: var(--color-primary);
}

.trust-item strong {
	display: block;

	margin-bottom: 3px;

	font-size: 14px;
	line-height: 1.3;
}

.trust-item span:last-child {
	display: block;

	color: #bfbfbf;

	font-size: 12px;
	line-height: 1.4;
}


/* ==================================================
   SERVICES
   ================================================== */

.home-services {
	background: var(--color-surface);
}

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

.service-card {
	display: flex;
	flex-direction: column;

	min-height: 250px;

	padding: 24px;

	background: var(--color-white);

	border: 1px solid var(--color-border-soft);
	border-radius: var(--radius-md);

	box-shadow: var(--shadow-card);

	transition:
		transform 0.2s ease,
		border-color 0.2s ease;
}

.service-card:hover {
	transform: translateY(-3px);

	border-color: #d5d5d5;
}

.service-icon {
	display: flex;
	align-items: center;
	justify-content: center;

	width: 44px;
	height: 44px;

	margin-bottom: 14px;
	padding: 9px;

	background: var(--color-primary);
	color: var(--color-white);

	border-radius: var(--radius-sm);
}

.service-card h3 {
	margin-bottom: 8px;
	font-size: 20px;
}

.service-card p {
	margin-bottom: 20px;

	font-size: 14px;
	line-height: 1.65;
}

.service-link {
	display: inline-flex;
	align-items: center;
	gap: 7px;

	margin-top: auto;

	font-size: 14px;
	font-weight: 700;
}

.service-link span {
	display: block;

	width: 17px;
	height: 17px;
}


/* ==================================================
   ABOUT
   ================================================== */

.home-about {
	background: var(--color-white);
}

.about-grid {
	display: grid;
	grid-template-columns: minmax(350px, 0.9fr) minmax(0, 1fr);
	align-items: center;
	gap: 48px;
}

.about-image-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;

	aspect-ratio: 4 / 3;

	background: var(--color-secondary);

	border-left: 5px solid var(--color-primary);
	border-radius: var(--radius-md);
}

.about-image-placeholder span {
	display: block;

	width: 90px;
	height: 90px;

	color: var(--color-white);
}

.about-image-placeholder.has-image {
	overflow: hidden;
}

.about-image-placeholder.has-image .about-image {
	display: block;

	width: 100%;
	height: 100%;

	object-fit: cover;
}

.about-content {
	max-width: 580px;
}

.about-content h2 {
	margin-bottom: 16px;
}

.about-content p {
	margin-bottom: 13px;
}

.about-content .btn {
	margin-top: 10px;
}


/* ==================================================
   ADVANTAGES
   ================================================== */

.home-advantages {
	background: var(--color-surface);
}

.advantage-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
}

.advantage-item {
	padding: 22px;

	background: var(--color-white);

	border:
		1px solid var(--color-border-soft);

	border-radius: var(--radius-md);
}

.advantage-icon {
	display: block;

	width: 34px;
	height: 34px;

	margin-bottom: 14px;

	color: var(--color-primary);
}

.advantage-item h3 {
	margin-bottom: 8px;
	font-size: 19px;
}

.advantage-item p {
	margin: 0;

	font-size: 13px;
	line-height: 1.6;
}


/* ==================================================
   PROCESS
   ================================================== */

.service-process {
	background: var(--color-white);
}

.process-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
}

.process-item {
	position: relative;

	padding: 22px;

	border:
		1px solid var(--color-border-soft);

	border-radius: var(--radius-md);
}

.process-top {
	display: flex;
	align-items: center;
	justify-content: space-between;

	margin-bottom: 18px;
}

.process-number {
	display: flex;
	align-items: center;
	justify-content: center;

	width: 38px;
	height: 38px;

	background: var(--color-primary);
	color: var(--color-white);

	border-radius: var(--radius-sm);

	font-weight: 800;
}

.process-icon {
	display: block;

	width: 31px;
	height: 31px;

	color: var(--color-secondary);
}

.process-item h3 {
	margin-bottom: 7px;
	font-size: 19px;
}

.process-item p {
	margin: 0;

	font-size: 13px;
	line-height: 1.6;
}


/* ==================================================
   VEHICLES
   ================================================== */

.vehicle-section {
	background: var(--color-secondary);
}

.vehicle-layout {
	display: grid;
	grid-template-columns: 0.8fr 2fr;
	align-items: center;
	gap: 30px;
}

.vehicle-heading .section-eyebrow {
	color: var(--color-primary-hover);
}

.vehicle-heading h2 {
	margin: 0;

	color: var(--color-white);
}

.vehicle-list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.vehicle-chip {
	display: inline-flex;
	align-items: center;
	gap: 7px;

	padding: 9px 13px;

	background:
		rgba(255, 255, 255, 0.08);

	border:
		1px solid rgba(255, 255, 255, 0.12);

	border-radius: var(--radius-sm);

	color: var(--color-white);

	font-size: 13px;
	font-weight: 600;
}

.vehicle-chip span {
	display: block;

	width: 18px;
	height: 18px;

	color: var(--color-primary-hover);
}


/* ==================================================
   TESTIMONIAL
   ================================================== */

.testimonial-section {
	background: var(--color-white);
}

.testimonial-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.testimonial-card {
	padding: 23px;

	background: var(--color-white);

	border:
		1px solid var(--color-border-soft);

	border-radius: var(--radius-md);

	box-shadow: var(--shadow-card);
}

.testimonial-rating {
	margin-bottom: 13px;

	color: var(--color-primary);

	font-size: 15px;
	letter-spacing: 2px;
}

.testimonial-card p {
	margin-bottom: 15px;

	font-size: 14px;
	line-height: 1.7;
}

.testimonial-card strong {
	color: var(--color-heading);

	font-size: 13px;
}


/* ==================================================
   ARTICLES
   ================================================== */

.latest-posts {
	background: var(--color-surface);
}

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

.article-card {
	overflow: hidden;

	background: var(--color-white);

	border:
		1px solid var(--color-border-soft);

	border-radius: var(--radius-md);

	box-shadow: var(--shadow-card);
}

.article-thumbnail {
	display: block;
	overflow: hidden;

	aspect-ratio: 16 / 9;

	background: var(--color-surface-alt);
}

.article-thumbnail img {
	width: 100%;
	height: 100%;

	object-fit: cover;

	transition:
		transform 0.25s ease;
}

.article-card:hover .article-thumbnail img {
	transform: scale(1.025);
}

.article-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;

	width: 100%;
	height: 100%;

	color: var(--color-muted);
}

.article-placeholder svg {
	width: 48px;
	height: 48px;
}

.article-body {
	padding: 20px;
}

.article-category {
	margin-bottom: 7px;

	color: var(--color-primary);

	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.article-body h3 {
	margin-bottom: 9px;
	font-size: 20px;
}

.article-body h3 a {
	color: var(--color-heading);
}

.article-body h3 a:hover {
	color: var(--color-primary);
}

.article-body p {
	margin-bottom: 15px;

	font-size: 13px;
	line-height: 1.65;
}

.article-link {
	display: inline-flex;
	align-items: center;
	gap: 7px;

	font-size: 13px;
	font-weight: 700;
}

.article-link span {
	display: block;

	width: 16px;
	height: 16px;
}


/* ==================================================
   FINAL CTA
   ================================================== */

.final-cta {
	padding: 42px 0;

	background: var(--color-secondary);
}

.final-cta-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
}

.final-cta-label {
	margin-bottom: 7px;

	color: var(--color-primary-hover);

	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.final-cta h2 {
	margin-bottom: 7px;

	color: var(--color-white);
}

.final-cta p {
	margin-bottom: 0;

	color: #bfbfbf;
}

.final-cta-actions {
	flex: 0 0 auto;
}


/* ==================================================
   TABLET
   ================================================== */

@media (max-width: 1023px) {

	.hero-grid {
		grid-template-columns: 1fr 1fr;
		gap: 30px;
	}

	.trust-grid {
		grid-template-columns: 1fr 1fr;
	}

	.trust-item:nth-child(2) {
		border-right: 0;
	}

	.trust-item:nth-child(-n+2) {
		border-bottom:
			1px solid rgba(255, 255, 255, 0.1);
	}

	.service-grid,
	.article-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.advantage-grid,
	.process-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.vehicle-layout {
		grid-template-columns: 1fr;
	}

	.testimonial-grid {
		grid-template-columns: 1fr 1fr;
	}

}


/* ==================================================
   MOBILE
   ================================================== */

@media (max-width: 767px) {

	.section-heading {
		margin-bottom: 22px;
	}

	.section-heading-row {
		display: block;
	}

	.section-heading-row .btn {
		margin-top: 15px;
	}

	.home-hero {
		padding: 38px 0 32px;
	}

	.hero-grid {
		display: flex;
		flex-direction: column;

		min-height: 0;
	}

	.hero-content {
		order: 1;
	}

	.hero-media {
		order: 2;

		width: 100%;
	}

	.hero-description {
		font-size: 15px;
	}

	.hero-actions {
		display: flex;
		align-items: center;
		flex-wrap: wrap;
		gap: 8px;
	}

	.hero-actions .btn {
		width: auto;
	}

	.hero-image-placeholder {
		min-height: 270px;
	}

	.trust-grid {
		grid-template-columns: 1fr;
	}

	.trust-item,
	.trust-item:nth-child(2) {
		min-height: 78px;

		border-right: 0;
		border-bottom:
			1px solid rgba(255, 255, 255, 0.1);
	}

	.trust-item:last-child {
		border-bottom: 0;
	}

	.service-grid,
	.advantage-grid,
	.process-grid,
	.testimonial-grid,
	.article-grid {
		grid-template-columns: 1fr;
	}

	.service-card {
		min-height: 0;
	}

	.about-grid {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.about-image-placeholder {
		aspect-ratio: 16 / 10;
	}

	.vehicle-list {
		gap: 8px;
	}

	.final-cta {
		padding: 34px 0;
	}

	.final-cta-inner {
		display: block;
	}

	.final-cta-actions {
		margin-top: 20px;
	}

	.final-cta-actions .btn {
		width: auto;
	}

}