/* ===== RESPONSIVE STYLE ===== */

@media (max-width:1440px) {
	html {font-size: 0.6vw}
	.container {max-width: 1240px;}
	.hero__content {
		width: 90%;
	}
	.hero__img {
		height: 85%;
	}
}

@media (max-width:1280px) {
	.header .container {
		padding: 0 20px;
	}
	.hero__content {
		width: 100%;
		padding: 0 20px;
	}
	.img__docor {
		top: 0;
		left: 0;
	}

}

@media (max-width:1024px) {
	html {font-size: 0.85vw;}
	.tablet-col-2 {grid-template-columns: repeat(2, 1fr);}
	.tablet-col-3 {grid-template-columns: repeat(3, 1fr);}

	/* Mobile menu */
	.mobile-btn {
		width:30px;
		display: block;
	}
	.mobile-btn span {
		display: block;
		height: 2px;
		background-color: #000;	
	}
	.mobile-btn span:nth-child(2) {
		width: 70%;
	}
	.mobile-btn span:not(:last-child){margin-bottom:5px;}
	.nav {
		position: fixed;
		display:flex;
		flex-direction: column;
		justify-content: space-between;
		transform: translateX(-100%);
		visibility: hidden;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background-color: #F2F4F6;
		padding: 45px 20px;
		transition: all .3s;
		z-index: 120;
		overflow-y:auto;
	}
	.nav.active{
		transform: translateX(0);
		visibility: visible;
	}
	.close-menu {
		width: 25px;
		height: 25px;
		position: absolute;
		top: 20px;
		right: 20px;
	}
	.close-menu::before,
	.close-menu::after{
		content: '';
		width: 100%;
		height: 2px;
		border-radius: 2px;
		background-color: #000;
		position: absolute;
		left: 0;
		top: 50%;
	}
	.close-menu::before{transform: rotate(45deg);}
	.close-menu::after{transform: rotate(-45deg);}

	.menu {flex-direction: column;}
	.menu li {margin: 0 0 25px 0;text-align: center;}
	.menu li a{
		font-size: 16px;
		color: #000;
	}
	.mobile-menu__content {display:block;}
	/* // Mobile menu */

	.header__content  {
		justify-content: space-between;
	}
	.hero__content__descript {
		width: 33%;
		padding: 3rem;
	}
	.main__title {
		font-size: 6rem;
	}
	.logo {
		justify-self: center;
		margin:auto;
		transform: translateX(-15px);
	}

}

@media (max-width:768px) {
	html {font-size: 10px;}
	p, ul li, ol li, a, .text {font-size: 15px;}
	
	.sm-hide {display:none;}
	.sm-show {display:block;}
	.sm-show.flex {display:flex;}

	.popup-window, .thanks-window {width: calc(100% - 40px);padding: 30px 20px;}

	.sm-col-1 {grid-template-columns: repeat(1, 1fr);}
	.sm-col-2 {grid-template-columns: repeat(2, 1fr);}
	.sm-col-3 {grid-template-columns: repeat(3, 1fr);}
	.sm-col-1 .item {grid-column: auto; grid-row: auto;}

	.mw-100 {width:100%;}

	.brand {
		font-size: 10vw;
	}
	.hero {
		height: auto;
		padding: 20rem 0 30px;
	}
	.hero__content {
		position: relative;
		flex-direction: column;
		justify-content: space-between;
		height: 100%;
	}
	.hero__img {
		height: 85%;
		bottom:-30px;
	}
	.hero__content__descript {
		padding: 2rem;
		margin: 35rem 0 0;
		background: #fff;
	}
	.advantages__wrapper {
		gap:30px;
	}
	.advantages {
		padding: 50px 0;
	}
	.sevice__card__content {
		padding: 3rem 2rem;
	}
	.about {
		padding: 70px 0 0;
	}
	.principle {
		padding: 50px 0 30px;
	}
	.principle__num {
		font-size: 5rem;
	}
	.principle__img {
		width: 50%;
	}
	.principle__wrap {
		gap:10px;
	}
	.decor__title.right {
		right: 20px;
		top:10px;
	}
	.decor__title.left {
		left: 20px;
		top:10px;
	}
	.decor__title {
		font-size: 4rem;
	}
	.adv__icon {
		width: 4rem;
		margin-right: 2rem;
	}
	.img__title {
		font-size: 2rem;
	}

	
}

@media (max-width:767px) {	
	.mobile-col-1 {grid-template-columns: repeat(1, 1fr);}
	.mobile-col-2 {grid-template-columns: repeat(2, 1fr);}
	.mobile-col-1 .item {grid-column: auto; grid-row: auto;}

	.logo {
		width: 6rem;
	}
	.hero {
		padding: 13rem 0 30px;
	}
	.main__title {
		font-size: 3.7rem;
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
	}
	.footprint__img {
		bottom: 70px;
		width: 10rem;
	}
	.hero__content__descript {
		margin: 27rem 0 -100px;
	}
	.hero .btn__container {
		margin: 0;;
	}
	.hero__img {
		height: 90%;
		width: 100%;
	}
	.advantages {
		z-index: -1;
		padding: 120px 0 50px;
	}
	.footprint__img__1 {
		width: 60%;
	}
	.img__docor {
		width: 10rem;
		height: 10rem;
	}
	.exp__index {
		font-size: 5rem;
	}
	.exp__block {
		bottom: -3rem;
		border: 5px solid #fff;
		padding: 2rem;
	}
	.exp__text {
		font-size: 15px;
	}
	.principle__wrap .item {
		padding: 3rem 0 0;
		width: 100%;
	}
	.principle__num {
		font-size: 7rem;
	}
	.principle__img  {
		width: 70%;
	}
	.exp__block {
		width: 55%;
	}
	.about {
		padding: 70px 0 0;
	}
	.img__title {
		font-size: 15px;
		padding: 0.5rem 1rem;
	}
	.contact-item {
		font-size: 1.8rem;
	}
	.icon-contact {
		width: 4.5rem;
		height: 4.5rem;
	}

}

@media (max-width:480px) {	
	.btn {width:100%;}
}
