:root {
	--bg: #ffffff;
	--surface: #ffffff;
	--primary: #184DD0;
	--primary-hover: #184DD0;
	--text: #1f2a37;
	--muted: #5f6b7a;
	--shadow: 0 12px 24px rgba(16, 24, 40, 0.08);
	--radius: 16px;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: 'Poppins', sans-serif;
	/* background: radial-gradient(circle at top right, #dbeafe, #f4f7fb 50%); */
	color: var(--text);
}

.site-header {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	width: 100%;
	padding-top: 16px;
}

.container-wide {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 16px;
}

.top-bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
}

.site-logo {
	display: block;
	width: 130px;
	height: auto;
}

.contact-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 16px;
	border-radius: 10px;
	background: #0f9d58;
	color: #fff;
	text-decoration: none;
	font-weight: 600;
	font-size: 0.9rem;
	white-space: nowrap;
	transition: background 0.2s ease;
}

.contact-btn:hover {
	background: #0b7a44;
}

.hero-slider {
	position: relative;
	height: 400px;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 14px 34px rgba(15, 23, 42, 0.18);
	background: #d9e2ef;
}

.slides {
	position: relative;
	width: 100%;
	height: 100%;
}

.slide {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transition: opacity 0.7s ease;
}

.slide.active {
	opacity: 1;
}

.hero {
	display: flex;
	align-items: center;
	min-height: clamp(420px, 65vh, 680px);
	padding: clamp(48px, 8vw, 100px) max(16px, calc((100vw - 1280px) / 2 + 16px));
	background:
		/* linear-gradient(90deg, rgba(10, 20, 35, 0.82), rgba(10, 20, 35, 0.42) 60%, rgba(10, 20, 35, 0.18)), */
		url("assets/image-hero.webp") center / cover no-repeat;
	color: #fff;
}

.hero-content {
	width: 40%;
	max-width: 1248px;
	margin: 0 auto 0 0;
	text-align: left;
}

.hero-title {
	max-width: 800px;
	margin: 0 0 0px;
	font-size: 48px !important;
	font-weight: 700;
	line-height: 1.15;
	color: #000000 !important;
	animation: hero-content-reveal 700ms ease-out both;
}

.hero-content > p {
	animation: hero-content-reveal 700ms 140ms ease-out both;
}

.hero-btn {
	animation: hero-content-reveal 700ms 280ms ease-out both;
}

@keyframes hero-content-reveal {
	from {
		opacity: 0;
		transform: translateY(18px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.hero-title span {
	display: block;
}
.hero-btn {width: 60% !important;}

.hero-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 12px 24px;
	border-radius: 999px;
	background: var(--primary);
	color: #fff;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.2s ease, transform 0.2s ease;
}

.hero-button:hover {
	background: var(--primary-hover);
	transform: translateY(-2px);
}

.container {
	max-width: 1280px;
	margin: 90px auto;
	padding: 16px 16px 36px;
}

.trusted-section {
	padding: 40px 16px;
	background: #fff;
}

.trusted-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	max-width: 1280px;
	margin: 0 auto;
	background: #fff;
}

.trusted-item {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	/* justify-content: space-between; */
	min-width: 0;
	padding: 40px;
	min-height: 200px;
	border-left: 1px solid #dce2ef;
}

.trusted-item {
	animation: hero-content-reveal 700ms ease-out both;
}

.trusted-item:nth-child(2) {
	animation-delay: 140ms;
}

.trusted-item:nth-child(3) {
	animation-delay: 280ms;
}

.trusted-item:nth-child(4) {
	animation-delay: 420ms;
}

.trusted-item:first-child {
	border-left: 0;
}

.trusted-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 68px;
	height: 68px;
	border: 1px solid transparent;
	border-radius: 20px;
	background: #f0f2ff;
	color: #354bd2;
}

.trusted-item i {
	font-size: 1.65rem;
}

.trusted-item h2 {
	margin: 28px 0 0;
	color: var(--text);
	font-size: clamp(1.1rem, 1.8vw, 1.4rem);
	font-weight: 600;
	line-height: 1.35;
}

.testimonial-section {
	overflow: hidden;
	background: #f0f0f0;
}

.testimonial-container.container {
	margin: 0 auto;
	padding-top: 90px;
	padding-bottom: 90px;
}

.testimonial-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 28px;
}

.testimonial-title {
	margin: 0;
	color: #111827;
	font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.testimonial-review-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	min-height: 46px;
	padding: 0 18px;
	border-radius: 10px;
	background: #184dd0;
	color: #fff;
	font-size: 0.92rem;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
	transition: background 0.2s ease, transform 0.2s ease;
}

.testimonial-review-button:hover {
	transform: translateY(-2px);
	background: #123ca8;
}

.testimonial-review-button:focus-visible {
	outline: 3px solid #111;
	outline-offset: 3px;
}

.testimonial-viewport {
	overflow: hidden;
}

.testimonial-track {
	display: flex;
	gap: 20px;
	transition: transform 0.55s ease;
}

.testimonial-card {
	display: flex;
	flex: 0 0 calc((100% - 60px) / 4);
	flex-direction: column;
	min-width: 0;
	min-height: 340px;
	padding: 30px 24px;
	background: #fff;
}

.testimonial-stars {
	margin-bottom: 18px;
	color: #e5b400;
	font-size: 1.8rem;
	letter-spacing: 0.12em;
	line-height: 1;
}

.testimonial-quote {
	flex: 1;
	margin: 0 0 24px;
	color: #111;
	font-size: 1.1rem;
	line-height: 1.65;
}

.testimonial-author {
	display: flex;
	align-items: center;
	gap: 14px;
}

.testimonial-author h3 {
	margin: 0;
	color: #111;
	font-size: 0.95rem;
	font-weight: 700;
}

.testimonial-avatar {
	display: inline-flex;
	flex: 0 0 52px;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: #184dd0;
	color: #fff;
	font-size: 1.5rem;
	font-weight: 700;
}

.testimonial-controls {
	display: flex;
	justify-content: center;
	gap: 12px;
	margin-top: 24px;
}

.testimonial-controls button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border: 0;
	border-radius: 50%;
	background: #184dd0;
	color: #fff;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease;
}

.testimonial-controls button:hover {
	transform: translateY(-2px);
	background: #123ca8;
}

.testimonial-controls button:focus-visible {
	outline: 3px solid #111;
	outline-offset: 3px;
}

.testimonial-controls[hidden] {
	display: none;
}

.car-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.car-card {
	display: flex;
	flex-direction: column;
	background: var(--surface);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.car-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 28px rgba(16, 24, 40, 0.14);
}

.car-image {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	display: block;
}

.card-content {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 14px;
}

.card-content h2 {
	font-size: 1rem;
	margin: 0 0 10px;
}

.card-content label {
	font-size: 0.86rem;
	color: var(--muted);
}

.transmission-select {
	margin-top: 6px;
	margin-bottom: 12px;
	width: 100%;
	padding: 10px;
	border-radius: 10px;
	border: 1px solid #d1d9e6;
	background: #fff;
	font-family: inherit;
	font-size: 0.92rem;
}

.order-btn {
	margin-top: auto;
	width: 100%;
	height: 44px;
	border: none;
	border-radius: 10px;
	padding: 0 14px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: inherit;
	font-weight: 600;
	font-size: 0.92rem;
	color: #fff;
	background: var(--primary);
	cursor: pointer;
	text-decoration: none;
	transition: background 0.2s ease;
}

.order-btn:hover {
	background: var(--primary-hover);
}

.site-footer {
	background: #184DD0;
	color: #ffffff;
	/* margin-top: 36px; */
	padding: 40px 0;
}

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

.footer-col h2 {
	margin-top: 0;
	margin-bottom: 12px;
	font-size: 1.15rem;
}

.footer-brand p {
	line-height: 1.7;
	font-size: 0.92rem;
	color: #ffffff;
}

.footer-logo {
	width: 180px;
	max-width: 100%;
	height: auto;
	margin-bottom: 12px;
}

.social-links {
	display: flex;
	gap: 10px;
	margin-top: 14px;
}

.social-links a {
	width: 38px;
	height: 38px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	text-decoration: none;
	font-size: 1rem;
	transition: background 0.2s ease;
}

.social-links a:hover {
	background: #0f9d58;
}

.footer-contact form {
	display: grid;
	gap: 10px;
}

.footer-contact input,
.footer-contact textarea {
	width: 100%;
	border: 1px solid #ffffff;
	border-radius: 10px;
	padding: 10px 12px;
	font-family: inherit;
	font-size: 0.92rem;
	background: #ffffff;
	color: #ffffff;
}

.footer-contact input::placeholder,
.footer-contact textarea::placeholder {
	color: #b3c4da;
}

.footer-contact button {
	height: 42px;
	border: none;
	border-radius: 10px;
	background: #0f9d58;
	color: #fff;
	font-weight: 600;
	font-family: inherit;
	cursor: pointer;
}

.footer-map iframe {
	width: 100%;
	height: 260px;
	border: 0;
	border-radius: 12px;
}

@media (max-width: 768px) {
	.container {
		margin: 40px auto;
	}

	.hero {
		height: 600px;
		min-height: 600px;
		background-image: url("assets/hero-mobile.webp");
	}

	.hero-content {
		width: 100%;
		margin: 0 auto;
		padding-bottom: 60px;
		text-align: center;
	}

	.top-bar {
		justify-content: center;
		align-items: center;
	}

	.site-logo {
		max-width: 62%;
	}

	.hero-title {
		font-size: 31px !important;
	}

	/* .hero-btn {
		width: 40% !important;
	} */

	.contact-btn {
		padding: 9px 12px;
		font-size: 0.78rem;
	}

	.hero-slider {
		height: 220px;
		border-radius: 14px;
	}

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

	.trusted-section {
		padding: 24px 16px;
	}

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

	.trusted-item {
		min-height: 190px;
		padding: 24px 18px;
	}

	.trusted-item:nth-child(odd) {
		border-left: 0;
	}

	.trusted-item:nth-child(even) {
		border-left: 1px solid #dce2ef;
	}

	.trusted-item:nth-child(n + 3) {
		border-top: 1px solid #dce2ef;
	}

	.trusted-item h2 {
		margin-top: 20px;
		font-size: 1rem;
	}

	.testimonial-card {
		flex-basis: calc((100% - 20px) / 2);
		min-height: 310px;
		padding: 24px 20px;
	}

	.order-btn {
		height: 42px;
	}

	.footer-wrap {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.site-footer {
		padding: 28px 0;
	}

	.footer-logo {
		width: 220px;
	}

	.footer-map iframe {
		height: 220px;
	}
}

@media (max-width: 520px) {
	.testimonial-container.container {
		padding-top: 40px;
		padding-bottom: 40px;
	}

	.testimonial-heading {
		gap: 12px;
	}

	.testimonial-title {
		font-size: 1.5rem;
	}

	.testimonial-review-button {
		gap: 6px;
		min-height: 42px;
		padding: 0 10px;
		font-size: 0.75rem;
	}

	.testimonial-track {
		gap: 14px;
	}

	.testimonial-card {
		flex-basis: 100%;
		min-height: 290px;
	}
}

@media (max-width: 768px) {
	button,
	button[class],
	.contact-btn,
	.testimonial-review-button {
		font-size: 12px;
	}
}

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

	.hero-title,
	.hero-content > p,
	.hero-btn,
	.trusted-item {
		animation: none;
	}

	.testimonial-track {
		transition: none;
	}
}
