/* ============================================================
	UAZ PAGE
	Дополнения к общим стилям sto.css
============================================================ */

.uaz-page .sto-hero {
	padding-top: 44px;
}

.uaz-page .sto-hero__row {
	max-width: 1240px;
	margin: 0 auto;
	gap: 52px;
}

.uaz-page .sto-hero__content {
	flex: 1 1 0;
	width: auto;
	min-width: 0;
}

.uaz-page .sto-cert-slider {
	flex: 0 1 540px;
	width: 100%;
	max-width: 540px;
}

.uaz-page .sto-cert-slider__viewport {
	overflow: hidden;
	isolation: isolate;
}

.uaz-page .sto-cert-slider__track {
	gap: 0;
	transition-duration: .2s;
	backface-visibility: hidden;
}

.uaz-page .sto-hero__lead {
	max-width: 560px;
}

.uaz-page .sto-title--main {
	font-size: 42px;
}

.uaz-page .sto-cert-slider__slide {
	flex: 0 0 100%;
	width: 100%;
	min-width: 100%;
	max-width: 100%;
	padding: 0;
	overflow: hidden;
}

.uaz-page .sto-cert-slider__slide a,
.uaz-page .uaz-hero-slide {
	display: flex;
	width: 100%;
	height: 340px;
	align-items: center;
	justify-content: center;
	padding: 0;
	background: #ffffff;
	box-sizing: border-box;
	overflow: hidden;
}

.uaz-page .sto-cert-slider__slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.uaz-page .uaz-hero-slide.js-sto-image {
	cursor: zoom-in;
}

.uaz-model-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 1px;
	margin: 0 0 38px;
}

.uaz-model-tabs a:link,
.uaz-model-tabs a:visited {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 10px 20px;
	color: #ffffff;
	background: var(--sto-dark);
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	transition: background-color .2s ease;
}

.uaz-model-tabs a:hover,
.uaz-model-tabs a:focus {
	color: #ffffff;
	background: var(--sto-accent-dark);
}

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

.uaz-model-card {
	display: flex;
	min-width: 0;
	padding: 26px 24px 22px;
	border: 1px solid var(--sto-border);
	border-radius: 14px;
	background: #ffffff;
	transition: border-color .2s ease, box-shadow .2s ease;
}

.uaz-model-card:hover {
	border-color: var(--sto-accent);
	box-shadow: 0 8px 24px rgba(24, 55, 71, .08);
}

.uaz-model-card > a {
	display: flex;
	width: 100%;
	flex-direction: column;
	align-items: center;
	color: var(--sto-dark);
	text-align: center;
	text-decoration: none;
}

.uaz-model-card__image {
	display: flex;
	width: 100%;
	height: 230px;
	align-items: center;
	justify-content: center;
	margin-bottom: 18px;
}

.uaz-model-card__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.uaz-model-card h3 {
	margin: auto 0 0;
	color: var(--sto-dark);
	font-size: 18px;
	line-height: 1.3;
	font-weight: 700;
	text-transform: none;
}

.uaz-contact-list .sto-contact-card {
	flex-basis: calc(33.333% - 16px);
}

.uaz-contact-card--sales {
	justify-content: flex-start;
}

.uaz-contact-list .sto-contact-card--time h3,
.uaz-contact-card--sales h3 {
	font-size: 24px;
	text-transform: uppercase;
}

.uaz-contact-card--image {
	align-items: center;
	justify-content: center;
	padding: 24px;
}

.uaz-contact-card--image img {
	display: block;
	width: 100%;
	max-width: 300px;
	max-height: 220px;
	object-fit: contain;
}

@media (max-width: 1200px) {
	.uaz-page .sto-hero__row {
		gap: 36px;
	}

	.uaz-page .sto-cert-slider {
		flex-basis: 500px;
		max-width: 500px;
	}

	.uaz-page .sto-title--main {
		font-size: 38px;
	}
}

@media (max-width: 1050px) {
	.uaz-page .sto-hero__row {
		flex-direction: column;
		align-items: flex-start;
		gap: 34px;
	}

	.uaz-page .sto-hero__content {
		width: 100%;
		max-width: 720px;
	}

	.uaz-page .sto-cert-slider {
		align-self: center;
		flex-basis: auto;
		max-width: 620px;
	}
}

@media (max-width: 900px) {
	.uaz-page .sto-hero__row {
		gap: 32px;
	}

	.uaz-page .sto-cert-slider {
		max-width: 600px;
	}

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

	.uaz-contact-list .sto-contact-card {
		flex-basis: calc(50% - 16px);
	}
}

@media (max-width: 700px) {
	.uaz-page .sto-hero {
		padding-top: 34px;
	}

	.uaz-page .sto-title--main {
		font-size: 31px;
	}

	.uaz-page .sto-cert-slider__slide a,
	.uaz-page .uaz-hero-slide {
		height: 260px;
		padding: 0;
	}

	.uaz-model-tabs {
		gap: 6px;
		margin-bottom: 28px;
	}

	.uaz-model-tabs a:link,
	.uaz-model-tabs a:visited {
		flex: 1 1 calc(50% - 3px);
		padding: 9px 12px;
		font-size: 13px;
	}

	.uaz-model-grid {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.uaz-model-card__image {
		height: 220px;
	}

	.uaz-contact-list .sto-contact-card {
		flex-basis: 100%;
	}
}
