/**
 * ATB Block: Vehicle Hero
 *
 * Назначение:
 * - hero-блок одиночной страницы автомобиля /vehicle/.../;
 * - фоновый баннер на всю ширину блока;
 * - CSS не влияет на /fleet/ и другие блоки.
 *
 * Уникальные классы:
 * - .atb-vehicle-hero
 */

.atb-vehicle-hero {
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	min-height: 520px;
	padding: 34px 0 54px;
	background:
		radial-gradient(circle at 78% 42%, rgba(37, 99, 235, .24), transparent 34%),
		linear-gradient(135deg, #020617 0%, #07111f 44%, #0f172a 100%);
	color: #fff;
}

.atb-vehicle-hero::before {
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		linear-gradient(90deg, rgba(2, 6, 23, .92) 0%, rgba(2, 6, 23, .72) 34%, rgba(2, 6, 23, .24) 64%, rgba(2, 6, 23, .08) 100%),
		linear-gradient(180deg, rgba(2, 6, 23, .26) 0%, rgba(2, 6, 23, .08) 48%, rgba(2, 6, 23, .54) 100%);
	content: "";
	pointer-events: none;
}

.atb-vehicle-hero__background {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.atb-vehicle-hero__background-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
}

.atb-vehicle-hero__container {
	width: min(calc(100% - 40px), 1320px);
		max-width: 1320px;
		margin-right: auto;
		margin-left: auto;
	position: relative;
	z-index: 2;
}

.atb-vehicle-hero__breadcrumbs {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 22px;
	font-size: 13px;
	font-weight: 700;
	color: rgba(255, 255, 255, .68);
}

.atb-vehicle-hero__breadcrumbs a {
	color: rgba(255, 255, 255, .86);
	text-decoration: none;
}

.atb-vehicle-hero__breadcrumbs a:hover {
	color: #fff;
}

.atb-vehicle-hero__content {
	max-width: 680px;
}

.atb-vehicle-hero__eyebrow {
	margin: 0 0 12px;
	font-size: 13px;
	font-weight: 850;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #93c5fd;
}

.atb-vehicle-hero__title {
	max-width: 760px;
	margin: 0;
	font-size: clamp(44px, 5.2vw, 72px);
	line-height: .94;
	letter-spacing: -.055em;
	color: #fff;
}

.atb-vehicle-hero__lead {
	max-width: 560px;
	margin: 18px 0 0;
	font-size: 18px;
	line-height: 1.65;
	color: rgba(255, 255, 255, .86);
}

.atb-vehicle-hero__actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 30px;
}

.atb-vehicle-hero__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 0 24px;
	border: 1px solid #2563eb;
	border-radius: 10px;
	background: #2563eb;
	color: #fff;
	font-size: 15px;
	font-weight: 850;
	text-decoration: none;
	box-shadow: 0 18px 42px rgba(37, 99, 235, .28);
}

.atb-vehicle-hero__button:hover {
	background: #1d4ed8;
	border-color: #1d4ed8;
	color: #fff;
}

.atb-vehicle-hero__button--ghost {
	background: rgba(15, 23, 42, .42);
	border-color: rgba(255, 255, 255, .32);
	box-shadow: none;
	backdrop-filter: blur(10px);
}

.atb-vehicle-hero__button--ghost:hover {
	background: rgba(255, 255, 255, .12);
	border-color: rgba(255, 255, 255, .48);
	color: #fff;
}

@media (max-width: 980px) {
	.atb-vehicle-hero {
		min-height: 500px;
	}

	.atb-vehicle-hero::before {
		background:
			linear-gradient(90deg, rgba(2, 6, 23, .92) 0%, rgba(2, 6, 23, .74) 46%, rgba(2, 6, 23, .34) 100%),
			linear-gradient(180deg, rgba(2, 6, 23, .18) 0%, rgba(2, 6, 23, .54) 100%);
	}

	.atb-vehicle-hero__content {
		max-width: 620px;
	}
}

@media (max-width: 768px) {
	.atb-vehicle-hero {
		min-height: 560px;
		padding: 26px 0 40px;
		align-items: flex-start;
	}

	.atb-vehicle-hero__background-image {
		object-position: 62% center;
	}

	.atb-vehicle-hero__container {
		width: min(calc(100% - 32px), 100%);
	}

	.atb-vehicle-hero__breadcrumbs {
		margin-bottom: 18px;
		font-size: 12px;
	}

	.atb-vehicle-hero__title {
		font-size: clamp(38px, 13vw, 56px);
	}

	.atb-vehicle-hero__lead {
		font-size: 16px;
	}

	.atb-vehicle-hero__button {
		width: 100%;
	}
}
