:root {
	--prv_blue: #004466;
	--prv_grey: #3E3E3E;
	--prv_dark_grey: #373737;
}

.hero-slider__item {
	font-family: var(--prv_font_family);
	background-color: var(--prv_light-blue);
}
@media (min-width: 1400px) {
	.hero-slider__item {
		display: grid;
		grid-template-columns: 8fr 4fr;
	}
}
.hero-slider__item-content {
	padding: 90px 10px 30px;
}
@media (min-width: 480px) {
	.hero-slider__item-content {
		padding: 100px 10px 30px;
	}
}
@media (min-width: 690px) {
	.hero-slider__item-content {
		padding: 120px 40px 80px;
	}
}
@media (min-width: 1400px) {
	.hero-slider__item-content {
		display: flex;
		flex-direction: column;
		
		padding: 120px 0 30px 40px;
	}
}
@media (min-width: 1920px) {
	.hero-slider__item-content {
		padding: 120px 0 20px 40px;
	}
}

.hero-slider__heading {
	margin-bottom: 30px;
}
@media (min-width: 690px) {
	.hero-slider__heading {
		display: grid;
		/*grid-template-columns: 1fr 290px;*/
		grid-template-columns: 1fr 150px;
		gap: 27px;
		margin-bottom: 40px;
	}
}
@media (min-width: 1920px) {
	.hero-slider__heading {
		margin-bottom: 20px;
	}
}
.hero-slider__item-name {
	font-size: 30px;
	line-height: .94;
	font-weight: 500;
	color: var(--prv_blue);
	text-wrap: balance;
	margin-bottom: 0;
	white-space: nowrap;
}
@media (min-width: 1400px) {
	.hero-slider__heading {
		margin-bottom: 20px;
	}
}
.hero-slider__item-name {
	font-size: 30px;
	line-height: .94;
	font-weight: 500;
	color: var(--prv_blue);
	text-wrap: auto;
	margin-bottom: 0;
	white-space: nowrap;
}
@media (min-width: 480px) {
	.hero-slider__item-name {
		font-size: 42px;
	}
}
@media (min-width: 960px) {
	.hero-slider__item-name {
		/*max-width: calc(100% / 12 * 8);*/
		white-space: normal;
	}
}
@media (min-width: 1400px) {
	.hero-slider__item-name {
		font-size: 54px;
		/*max-width: calc(100% / 8 * 7);*/
		max-width: unset;
	}
}

.hero-slider__yandex-widget {
	display: none;
}
@media (min-width: 960px) {
	.hero-slider__yandex-widget {
		display: block;
		text-align: right;
	}
}

.hero-slider__item-description {
	font-size: 14px;
	line-height: 1.2;
	font-weight: 300;
	color: var(--prv_grey);
	text-wrap: balance;
	margin-bottom: 60px;
}
@media (min-width: 690px) {
	.hero-slider__item-description {
		font-size: 16px;
		margin-bottom: 80px;
	}
}
@media (min-width: 960px) {
	.hero-slider__item-description {
		max-width: calc(100% / 12 * 8);
	}
}
@media (min-width: 1400px) {
	.hero-slider__item-description {
		margin-bottom: 42px;
	}
}
@media (min-width: 1920px) {
	.hero-slider__item-description {
		margin-bottom: 66px;
	}
}

.hero-slider__item-btns {
	display: grid;
	gap: 20px;
	margin-bottom: 30px;
}
@media (min-width: 480px) {
	.hero-slider__item-btns {
		max-width: 295px;
	}
}
@media (min-width: 690px) {
	.hero-slider__item-btns {
		max-width: unset;
		grid-template-columns: auto auto;
		gap: 20px;
		margin-bottom: 80px;
	}
}
@media (min-width: 1400px) {
	.hero-slider__item-btns {
		max-width: 565px;
	}
}
@media (min-width: 1920px) {
	.hero-slider__item-btns {
		max-width: 636px;
	}
}
@media (max-width: 689px) {
	.hero-slider__item-btns .btn.btn {
		/*width: 100%;*/
		/*margin-bottom: 56px;*/
	}
	.hero-slider__item-name {
		font-size: 30px;
		line-height: .94;
		font-weight: 500;
		color: var(--prv_blue);
		text-wrap: auto;
		margin-bottom: 0;
		white-space: normal;
	}
}
.hero-slider__item-btns .btn {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	white-space: nowrap;
	height: 63px;
}
.hero-slider__item-btns .btn.btn_secondary {
	background-color: #ffffff;
	color: var(--prv_color);
}
.hero-slider__item-btns .btn.btn_secondary::before {
	content: '';
	display: inline-block;
	width: 24px;
	height: 24px;
	margin-right: 10px;
	background-image: url("./images/icon_phone.svg");
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}

.hero-slider__item-image {
	width: 100%;
	height: 390px;
	position: relative;
}
.hero-slider__item-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
@media (min-width: 1400px) {
	.hero-slider__item-image {
		/*height: min(720px, 80vh);*/
		/*height: clamp(720px, 100%, 80vh);*/
		height: 100%;
	}
}
@media (min-width: 1920px) {
	.hero-slider__item-image {
		/*height: min(690px, 80vh);*/
		/*height: clamp(690px, 100%, 80vh);*/
	}
}

.hero-slider__item-image-corner {
	--corner-size: 54px;
	width: var(--corner-size);
	height: var(--corner-size);
	
	position: absolute;
	top: -1px;
	right: 0;
}
@media (min-width: 480px) {
	.hero-slider__item-image-corner {
		--corner-size: 100px;
	}
}
@media (min-width: 960px) {
	.hero-slider__item-image-corner {
		--corner-size: 180px;
	}
}
@media (min-width: 1400px) {
	.hero-slider__item-image-corner {
		right: unset;
		left: -1px;
		/*height: min(562px, 100%);*/
		height: calc(100% - 135px);
		width: auto;
	}
}
@media (min-width: 1920px) {
	.hero-slider__item-image-corner {
		height: calc(100% - 138px);
	}
}

.hero-slider__testimonials {
	--_border-color: #00205B42;
	display: none;
}
@media (min-width: 1400px) {
	.hero-slider__testimonials {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		margin-top: auto;
		border-top: 1px solid var(--_border-color);
	}
}
.hero-slider__testimonial {
	margin-top: 5px;
	padding: 15px 10px 25px;
}
.hero-slider__testimonial + .hero-slider__testimonial {
	border-left: 1px solid var(--_border-color)
}
.hero-slider__testimonial-name {
	font-size: 22px;
	font-weight: 500;
	line-height: 1.2;
	color: var(--prv_color);
	margin-bottom: 5px;
}
@media (min-width: 1920px) {
	.hero-slider__testimonial-name {
		font-size: 28px;
	}
}
.hero-slider__testimonial-description {
	font-size: 14px;
	line-height: 1.2;
	color: var(--prv_dark_grey);
}
@media (min-width: 1920px) {
	.hero-slider__testimonial-description {
		font-size: 16px;
	}
}

.dsk-btn-view {
	display: inline-flex;
}
.mob-btn-view {
	display: none!important;
}
@media (max-width: 767.98px) {
	.dsk-btn-view {
		display: none!important;
	}
	.mob-btn-view {
		display: inline-flex!important;
	}
}