/* === DESKTOP FIRST === */

/* xl <= Extra extra large (xxl) */
@media (max-width : 1400px) {
.nav{gap: 20px;}
.header__phone a{font-size: 24px;}
.header__top{grid-template-columns: 140px max-content;}
.header__item{grid-template-columns: 24px 1fr;}
.header__item i {font-size: 24px}
.header__item p{font-size: 14px;}
.work__video::after{height: 200%;}
.garanty__strahovka{grid-template-columns: 60px  1fr;}
.webasto__banner-title{font-size: 40px;}
.services__name{font-size: 20px;}
.banner__title{font-size: 40px;}
.banner{padding: 50px 0;}
}

/* lg <= Extra large (xl) */
@media (max-width : 1200px) {
	.header__top{grid-template-columns: 120px max-content;}
	.header__item {max-width: 150px;padding: 5px 10px;}
	.header__phone{display: none;}
	.header--landing .header__phone{display: grid;}
	.diagnostic__phone{display: grid;}
	.header__bottom{grid-template-columns: max-content 1fr;}
	.banner .map{width: 80%;}
	.banner::before{width: 52%;right: -7%;}
	.header__item p{font-size: 12px;}
	.header__title{font-size: 16px;}
	.banner__video{
		max-width: 460px;height:300px;
	}
	.btn{font-size: 22px;}
	.garanty__title{font-size: 26px;}
	.garanty__title--small {
		font-size: 16px;
	}
	.new-car__wrap{grid-template-columns: 180px 1fr;max-width: 100%;}
	.new-car__title{font-size: 22px;}
	.new-car__text{font-size: 18px;}
	.directors__btn{font-size: 16px;padding: 10px 20px;}
	.directors__name{font-size: 20px;}
	.contacts__tel{font-size: 16px;}
	.record__present{grid-template-columns: repeat(3,1fr);}

	.brand__banner-title{font-size: 40px;}
	.brand__banner-subtitle{font-size: 20px;}
	.record__form h3{font-size: 20px;}
	.brand__work-name{font-size: 22px;}

	.service__banner-title{font-size: 30px;}
	.service__banner-top{font-size: 20px;}
	.service__photo{height: 295px;}

	.diagnostic__title{font-size: 24px;}

	.webasto__banner-title{font-size: 34px;}
	.webasto__plus-name{font-size: 22px;}
	.services__name{font-size: 18px;}
	.banner__title {
        font-size: 32px;
    }
	.banner__subtitle{
		font-size: 24px;
	}
	.btn--whatsapp{
		margin: 25px 0;
	}
	.work__slider .swiper-wrapper,.work__slider .swiper-slide iframe {
		width: calc(100% - 150px);
	}
}

/* md <= Large (lg) */
@media (max-width : 992px) {
	.header--landing .hamburger{display: none;}
	.header--landing .header__bottom{grid-template-columns: max-content 1fr;}
	.hidden-md{display: none;}
	.header__phone{
		display: grid;
	}
	.header__bottom {
		grid-template-columns: max-content max-content 50px;
	}
	.header__item {
		grid-template-columns: 30px;
		gap: 0;
	}
	.header__item i {
		font-size: 30px;
	}
	.header__item p{display: none;}
	/* hamburger  menu  */
	#checkbox-hamb{
		display: none;
	}
	.hamburger{
		z-index: 9;
		position: relative;
		padding: 20px;
		display: flex;
		align-items: center;
		justify-content: center;
		cursor: pointer;
	}
	.line-hamb{
		position: absolute;
		width: 21px;
		height: 2px;
		background-color: var(--text);
		border-radius: 3px;
		transition:transform .25s, opacity .35s;
	}
	.line-hamb--top{
		transform:translateY(-7px);
	}
	.line-hamb--bottom{
		transform: translateY(7px);
	}
	#checkbox-hamb:checked~.line-hamb--top{
		transform:rotate(45deg);
	}
	#checkbox-hamb:checked~.line-hamb--middle{
		transform:translateX(16px);
		opacity: 0;
	}
	#checkbox-hamb:checked~.line-hamb--bottom{
		transform:rotate(-45deg);
	}
	.nav {
		position: fixed;
		z-index: 40;
		top: 140px;
		right: 0;
		bottom: 0;
		display: flex;
		flex-direction: column;
		width: 270px;
		padding: 30px 20px;
		-webkit-transform: translate3d(100%,0,0);
		transform: translate3d(100%,0,0);
		background-color: #fff;
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		-webkit-flex-direction: column;
		-ms-flex-direction: column;
		will-change: transform;
	}
	.overlay {
		position: fixed;
		z-index: 35;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		pointer-events: none;
		opacity: 0;
		background-color: rgba(51,51,51,0.5);
	}
	.banner__title{font-size: 30px;margin-bottom: 30px;}
	.banner__title .accent{font-size: 32px;}
	.banner__video {
		max-width: 315px;
		height: 240px;
	}
	.banner::before {
		width: 61%;
		right: -9%;
		transform: rotate(-12deg);
	}
	.h3{font-size: 21px;}
	.banner .map {
		width: 95%;
	}
	.title__left .h2{font-size: 30px;}
	.title__text{font-size: 18px;}
	.services__name{font-size: 18px;}
	.services__text p{font-size: 14px;}
	.services__wrap{height: 325px;}
	.work__video::after{display: none}
	.examples__icon {
		font-size: 28px;}
	.examples__link{font-size: 18px;}
	.examples__item{gap: 15px;}
	.examples__text{
		font-size: 14px;
	}
	.garanty__item{margin-top: 20px;}
	.garanty__title {
		font-size: 18px;
	}
	.best__title{font-size: 26px;}
	.best__text{font-size: 22px;}
	.directors__wrap,.contacts__wrap{grid-template-columns: repeat(3,1fr);}
	.contacts__tel{
		font-size: 20px;
	}
	.record__present{grid-template-columns: 1fr  1fr;}
	.record__title{font-size: 18px;}
	.dropdown{left: auto;gap:15px;right: -36vw;}
	.dropdown--2col{right: -30vw;}

	.record__form h3{
		font-size: 16px;
	}
	.btn{padding: 10px 20px;}
	.record__form h3{font-size: 20px;}
	.brand__line{font-size: 20px;}

	.service__banner-title,.diagnostic__banner-title{font-size: 26px;}
	.service__banner-top,.service__banner-subtitle{font-size: 18px;}
	.service__border-block{font-size: 18px;}
	.service__photo{height: 220px;}

	.diesel__item--right{
		text-align: left;
		grid-template-columns:56px 1fr;
	}
	.diesel__item--right .diesel__num{
		order:0;
	}

	.webasto-info-price:after{display: none;}
	.webasto-info-price{padding: 1em;}
	.webasto__banner-title{font-size: 25px;}
	.webasto__application{max-width: 300px;margin: 0 auto 30px;}
	.signal__banner-subtitle{border-bottom:5px solid var(--accent)}
	.signal__banner-subtitle::after,.signal__banner-subtitle::before{display: none;}
	.signal__banner .record__form,.bg__banner .record__form{margin:0 auto;}
	.bg__banner-title{font-size: 32px;}
	.bg__item--left,.bg__item{width: 100%;}
	.work__video{
		margin-top: 20px;
	}
}

/* sm <= Medium (md) */
@media (max-width : 768px) {
	.header__item i {
        font-size: 20px;
    }
	.header__item {
        grid-template-columns: 20px;
	}
	.header__title {
        font-size: 14px;
    }
	.header__logo {
		grid-template-columns: 50px 1fr;
	}
	.header--landing .header__top{gap: 15px;grid-template-columns: 110px max-content;}
	.header--landing  .header__phone a {font-size: 18px}
	.hidden-sm{display: none;}
	.dropdown__item{font-size: 20px}
	.record__form{
		margin: 0 25px;
	}
	.contacts__btn{
		padding: 10px  15px;
	}
	.banner::before {
		width: 100%;
		right: 0;
		transform: rotate(0);
	}
	.banner__video{margin-bottom: 20px;}
	.text-right{text-align: left;}
	.banner .map {
		width: 100%;
	}
	.banner__addr{justify-content: start;}
	.banner__addr i{order: -1;}
	.banner__video {
		max-width: 100%;
		height: 250px;
	}
	.title__left{padding-right: 30px;}
	.title__right{padding-left: 30px;}
	.title__left .h2 {
		font-size: 26px;
	}
	.title__text {
		font-size: 16px;
	}
	.work__video{margin-top: 30px;}
	.examples__item{margin-bottom: 20px;}
	.block__title{font-size: 26px;}
	.garanty__item{margin-bottom: 20px;}
	.garanty__right iframe{height: 250px;}
	.new-car__wrap{gap:0}
	.review__slider{text-align: center;}
	.review__slider iframe{height: 200px;}
	.record__wrap{margin-top: 20px;}
	.footer__title{margin-top: 30px;}
	.dropdown{grid-template-columns: repeat(2,1fr);gap: 30px;}
	.sidebar{display: none;}

	.brand__banner-title{font-size: 36px;}
	.brand__banner-subtitle{font-size: 18px;margin-bottom: 15px;}
	.brand__club-text{margin-bottom: 15px;}
	.section{padding: 40px 0;}
	.brand__work>div{min-height: auto;gap: 10px;padding: 20px;}
	.fz-20{font-size: 18px;}
	.brand__line{margin-bottom: 15px;}

	.service__step-text{margin: 20px 0;}
	.service__photo {height: 170px;}

	.widget-area{position: relative;top: 15px;}

	.directors__item--one{margin-bottom: 20px;}

	.modal__img{max-width: 200px;margin: 10px auto 20px;}
	#modal-description input{margin-bottom: 10px;}
	.webasto-shadow{display: none;}
	.webasto__banner{height: 440px;z-index: 1;}
	.webasto__banner::before {
		content: '';
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background-color: var(--text);
		opacity: .5;
		z-index: -1;
	}
	.webasto__sistem-img{
		max-width: 300px;
		margin: 0 auto 20px;
	}
	.table-webasto{font-size: 13px;}

	.signal__banner .record__form,.bg__banner .record__form{width: 100%;}
	.bg__banner-title{font-size: 24px;}
	.bg__item--left{grid-template-columns: 48px 1fr;text-align: left;}
	.bg__item--left i{order: -1;}
	.banner__title {
        font-size: 26px;
	}
	.banner__subtitle {
        font-size: 22px;
    }
	.banner__bg{
		object-fit: none;
	}
}

/* xs <= Small (sm) */
@media (max-width : 576px) {

}