﻿/* .lead класс ajax лидов */
/*--------------------
	Цвета
--------------------*/
.mscolor {
	color: #e42e3a;	/* черный */
	color: #000000;	/* черный */
	color: #ebeff2;	/* светло-серый */
	color: #222222;	/* темный */
}

/*--------------------
	Сброс
--------------------*/
*, *:after, *:before {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
}
input, textarea, button, select {
	font-family: inherit;
	font-size: inherit;
	color: inherit;
	background-color: transparent;
}
button, input[type="submit"] {
	display: inline-block;
	box-shadow: none;
	background-color: transparent;
	background: none;
	cursor: pointer;
}
input, textarea, button, select, a {
  -webkit-tap-highlight-color: transparent;
}
mark {
	background-color: transparent;
}

/*--------------------
	Общие
--------------------*/
html {
	font-size: 15px;
}
body {
	background: #fff;
	color: #161616;
	font: normal 15px /1.7 verdana, sans-serif;
	font-weight: normal;
}
a:not([class]) {
	text-decoration: none;
	color: inherit; /* наследование */
	cursor: pointer;
	color: #e42e3a;
	transition: all 0.3s ease;
}
a:hover:not([class]) {
	color: #e42e3a;
}
/* убираем рамку у изображений ссылок */
a img {
	border: none;
}
/* для таблиц что широкие и не входят */
.outside {
	max-width: 100%;
	overflow: auto;
}
.container {
  width: 100%;
  max-width: 1270px;
  padding: 0 15px;
  margin: 0 auto;
}
/* заголовки */
h1 {
	text-transform: uppercase;
	color: #000000;
	font-family: 'Roboto', sans-serif;
	font-size: clamp(1.5rem, 1rem + 0.8vw + 0.8vh, 2.8rem);
	font-weight: 500;
	line-height: 1.4;
	margin: clamp(1.2rem, 1rem + 0.7vw + 0.7vh, 2.8rem) 0;
	padding: 0;
	text-align: left;
}
h2, h3, h4 {
	text-transform: uppercase;
	color: #000000;
	font-family: 'Roboto', sans-serif;
	font-size: clamp(1.5rem, 1rem + 0.8vw + 0.8vh, 2.8rem);
	font-weight: 100;
	line-height: 1.3;
	margin: clamp(1rem, 1rem + 0.3vw + 0.3vh, 2rem) 0;
	padding: 0;
	text-align: left;
}
h2 b, h3 b {
	font-weight: 600;
}
img {
	max-width: 100%;
	height: auto;
}
/* отступы списков */
li:not([class]) {
	margin-left: 30px;
}
/* внимание */
.notice {
	margin: 25px 0;
	padding: 20px;
	background-color: #eee;
	border-left: 3px solid #e42e3a;
	color: #161616;
	font: 500 16px /1.6 'Montserrat', sans-serif;
}
.notice b {
	display: block;
	font-size: 18px;
	color: #161616;
	margin-bottom: 5px;
}
/* выравнивание */
.msl {
	text-align: left !important;
}
.msc {
	text-align: center !important;
}
.msr {
	text-align: right !important;
}
/* путь */
.way {
	margin: 0 0 0 0;
	font: normal 13px /1 'Montserrat', sans-serif;
	text-align: left;
	letter-spacing: 0.3px;
	line-height: 1.5;
}
.way a {
	color: #e42e3a;
	text-decoration:underline;
}
/* сообщение */
.msg {
	font: normal 15px 'Roboto', sans-serif;
	color: #222222;
	background-color: #fff;
	border: 1px solid #ddd;
	line-height: 1.6;
	padding: 15px 20px 15px 20px;
	margin: 7px 0 7px 0;
  border-radius: 4px;
	margin-bottom: 25px;
}
/* пагинация */
.group {
	text-align: center;
	padding-top: 25px;
}
.here {
	color: #FFF;
	padding: 4px 9px;
	border-radius: 12px;
	-webkit-border-radius: 12px;
	-moz-border-radius: 12px;
	background-color: #e42e3a;
	font-size: 15px;
}
a.next {
	padding: 4px 9px;
	border-radius: 12px;
	-webkit-border-radius: 12px;
	-moz-border-radius: 12px;
	background-color: #ebeff2;
	color: #FFF;
	text-decoration:none;
	font-size: 15px;
}
a.next:hover {
	background-color: #222222;
}

/*--------------------
	Кнопки
--------------------*/
.btn-1 {
	display: inline-block;
	text-transform: uppercase;
	/* padding: 14px 36px 13px 36px;
	font: 500 17px /17px 'Montserrat', sans-serif; */
	padding: 11px 20px 10px 20px;
	font: 500 17px /17px 'Montserrat', sans-serif;

	letter-spacing: 0.5px;
	color: #fff;
	background-color: #e42e3a !important;
	border: 1px solid #e42e3a !important;
	/* text-transform: uppercase; */
	text-decoration: none;
	border-radius: 4px;
	margin-bottom: 7px;
	transition: .3s ease-in-out;
}
.btn-1:hover{
	filter: brightness(105%);
}
.btn-2 {
	display: inline-block;
	text-transform: uppercase;
	padding: 11px 20px 10px 20px;
	font: 500 17px /17px 'Montserrat', sans-serif;
	letter-spacing: 0.5px;
	color: #e42e3a;
	background-color: transparent !important;
	border: 1px solid #e42e3a !important;
	/* text-transform: uppercase; */
	text-decoration: none;
	border-radius: 4px;
	margin-bottom: 7px;
	transition: .3s ease-in-out;
}
.btn-2:hover{
	color: #fff;
	background-color: #e42e3a !important;
}
.btn-3 {
	display: inline-block;
	text-transform: uppercase;
	padding: 11px 20px 10px 20px;
	font: 500 15px /15px 'Montserrat', sans-serif;
	letter-spacing: 0.5px;
	color: #e42e3a;
	background-color: #fff !important;
	border: 1px solid #fff !important;
	/* text-transform: uppercase; */
	text-decoration: none;
	border-radius: 4px;
	margin-bottom: 7px;
	transition: .3s ease-in-out;
}
.btn-3:hover{
	color: #e42e3a;
	background-color: #fff !important;
}
.btn-img {
	position: relative;
	display: inline-flex;
  align-items: center;
	flex-direction: row;

	background-color: #e42e3a !important;
	padding: 11px;
	text-decoration: none;
	border-radius: 4px;
	margin-bottom: 7px;
	transition: .3s ease-in-out;

	/* font-size: 0 !important; */
	content: none !important;
	overflow: hidden;
}
.btn-img > span {
	display: none;
}
.btn-img img {
	width: 25px;
	height: 25px;
}
.btn-img:hover{
	filter: brightness(105%);
}
.btn-img-2 {
	position: relative;
	display: inline-flex;
  align-items: center;
	flex-direction: row;

	background-color: #222222 !important;
	padding: 8px;
	text-decoration: none;
	border-radius: 50px;
	margin: 0 4px;
	transition: .3s ease-in-out;

	/* font-size: 0 !important; */
	content: none !important;
	overflow: hidden;
}
.btn-img-2 > span {
	display: none;
}
.btn-img-2 img {
	width: 20px;
	height: 20px;
}
.btn-img-2:hover{
	filter: brightness(105%);
}
/* отступ справа, все кроме последнего, если один, то ничего */
.btn-1:nth-last-child(n+2),
.btn-2:nth-last-child(n+2),
.btn-img:nth-last-child(n+2) {
	margin-right: 7px;
}

/*--------------------
	Шапка
--------------------*/
.header {
	display: flex;
	flex-flow: column nowrap;
	justify-content: space-between;
	width: 100%;
	height: 100vh;
	/* костыль для моб браузера, с учетом навигации */
	/* height: calc(var(--vh, 1vh) * 100); */
	height: 100vh;
	min-height: 450px;

	background: url(/files/design/gracecars.webp) no-repeat center center;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}
.header-mini {
	display: flex;
	flex-flow: column nowrap;
	width: 100%;
	box-shadow: 0 9px 9px -9px #aaa;
	/* background: url(/files/design/gracecars.webp) no-repeat center center; */
	background: url(/files/design/gracecars.webp) no-repeat 100% 75%;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}
/* организация, разметка */
.hidden {
	display: none;
}
/* верх 0 */
.top0 {
	color: #fff;
}
.top0 .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.top0 .logo {
	display: block;
	text-decoration: none;
	opacity: 1;
}
.top0 .logo img {
	display: block;
	max-width: 300px;
}
.logo2 {
	display: none;
}
.top0 .right {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0 0 0 45px;
}

/* наложение ссылки на весь блок под ней + 	position: relative; margin: 0 !important; выше  */
.top0 .right .url {
	position: relative;
	margin: 0 !important;
}
.top0 .right .url > a {
  position: absolute;
  left:0; top:0; bottom:0; right:0;
	text-decoration: none;
}
.top0 .right .url > a span {
	display: none;
}
.top0 .icon-text {
  display: flex;
  justify-content: flex-start;
	align-items: center;
	font: 300 12px /1 'Montserrat', sans-serif;
	background-color: rgba(255, 255, 255, 0.15);
	padding: 7px 12px;
	border-radius: 6px;
	margin-right: 12px;

  position:relative;
  pointer-events: none;
	z-index: 1;
}
.top0 .icon-text a {
	pointer-events: all;
}
/* конец наложения */
.top0 .icon-text img {
	padding-right: 8px;
	width: 42px;
	height: auto;
}
.top0 .icon-text b {
  font: 400 16px /1.4 'Montserrat', sans-serif;
}
.top0 .phone {
	text-align: right;
	padding: 10px 0 10px 40px;
}
.top0 .phone .text a {
	font: bold 15px /1 'Montserrat', sans-serif !important;
	color: #e42e3a;
	font-weight: 300 !important;
	margin-bottom: 5px;
	text-decoration: none;
}
.top0 .phone a {
	font: 500 20px /1 'Montserrat', sans-serif !important;
	color: #fff;
}

/* верх еще */
.top {
	position: relative;
	background-color: rgba(0, 0, 0, 0.6);
	z-index: 999;
}
.top .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 15px;
}
@media (max-width: 1130px) {
	.top0 .right .url {
		display: none;
	}
}
@media (max-width: 950px) {
	.top0 {
		display: none;
	}
	.logo2 {
		display: block;
		padding: 0;
		opacity: 1;
		background-color: transparent;
	}
	.top .logo2 img {
		display: block;
		max-width: 300px;
	}
}
@media (max-width: 560px) {
	.top .logo2 img {
		display: block;
		max-width: 250px;
	}
}
@media (max-width: 490px) {
	.top .logo2 img {
		display: block;
		max-width: 225px;
	}
}
@media (max-width: 340px) {
	.top .logo2 img {
		display: block;
		max-width: 200px;
	}
}

/*--------------------
	Навигация
--------------------*/
/* сперва ПК */
nav {
	/* flex-grow: 1; */
	flex-shrink: 0;
	justify-content: center;
	align-items: center;
	padding: 12px 0;
}
nav ul {
    display: flex;
    align-items: baseline;
    list-style: none;
    justify-content: center;
    align-items: center;
}
nav li, nav li:not([class]) {
	margin: 0 2px;
}
nav li:first-child {
	margin-left: 0;
}
nav li:last-child {
	margin-right: 0;
}
nav li a:not([class]) {
	padding: 2px 25px 2px 0;
	color: #fff;
	font: 400 16px /16px 'Montserrat', sans-serif;
	letter-spacing: 0.3px;
}
nav li a:hover:not([class]) {
	color: #e42e3a;
}
/* кнопки в меню, на ПК спрятано */
nav .call {
	display: none;
	max-width: 600px;
	margin: 0 auto !important;
}
/* прямые потомки */
nav .call > a {
	display: block;
	text-align: center;
	margin: 10px 0 10px 0 !important;
}
/* мессенджеры */
nav .call .messenger {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	gap: 5px;
}
nav .call .messenger a {
	width: 50%;
	flex-basis: 50%;
	text-align: center;
}
/* иконка навигации */
.nav-icon {
	display: none;
}
/* навигация моб + меняем кнопку меню и само меню */
@media (max-width: 1130px) {
	nav {
		margin-top: 0;
	}
  .nav-icon, .nav-icon span {
    display: inline-block;
    transition: all .5s;
    box-sizing: border-box;
    z-index: 999;
    margin: 0 10px 0 10px;
  }
	.nav-icon {
		width: 36px;
		height: 28px;
		margin-right: 15px;
		position: relative;
		cursor: pointer;
	}
	.nav-icon span {
		background: #fff;
		position: absolute;
		left: 0;
		width: 100%;
		height: 3px;
		border-radius: 2px;
	}
	.nav-icon span:nth-of-type(1) {
		top: 0;
	}
	.nav-icon span:nth-of-type(2) {
		top: 12px;
	}
	.nav-icon span:nth-of-type(3) {
		bottom: 0;
	}
	.nav-icon.active span:nth-of-type(1) {
		-webkit-transform: translateY(12px) rotate(-45deg);
		transform: translateY(12px) rotate(-45deg);
	}
	.nav-icon.active span:nth-of-type(2) {
		display: none;
	}
	.nav-icon.active span:nth-of-type(3) {
		-webkit-transform: translateY(-12px) rotate(45deg);
		transform: translateY(-12px) rotate(45deg);
	}
	nav ul {
		-webkit-flex-direction: column;
    flex-direction: column;
    -webkit-justify-content: center;
    justify-content: center;
		background-color: #ebeff2;
    position: absolute;
    top: 100%;;
    left: 0px;
    width: 100%;
    z-index: 980;
  }
	nav .call {
		display: block;
		padding: 0 0px 9px 0 !important;
		text-align: center !important;
		margin: 12px 15px 15px 15px;
	}
  nav ul {
		display: none;  /* на этом и меньших размерах ПК меню спрятано */
		padding: 15px;
	}
  /* nav li, nav li:first-child, nav li:last-child { */
  nav li {
    margin-left: 0;
  	margin-right: 0;
  	padding: 3px;
  	text-align: center;
  }
	nav li a:not([class]) {
		display: block;
    background: transparent;
    margin: 0px;
    padding: 6px 0;
    border-radius: 0;
		color: #373435;
  }
	nav li a:hover:not([class]) {
    color: #e42e3a;
  }
}

/*--------------------
	Интро
--------------------*/
.intro {
	display: flex;
	align-items: center;
	flex-grow: 1;
	overflow: hidden;
}
.intro .container {
	text-align: center;
}
/* интро текст */
.txt-1 {
	margin: -40px 0 20px 0;
	text-transform: uppercase;
	font-family: 'Roboto', sans-serif;
	font-size: 78px;
	line-height: 1.3;
	color: #ffffff;
	font-weight: 200;
	text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3);
}
.txt-2 {
	margin: 0 0 60px 0;
	font-family: 'Montserrat', sans-serif;
	font-size: 22px;
	letter-spacing: 0.5px;
	line-height: 1.5;
	color: #fff;
	font-weight: 300;
	text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}
@media (max-width: 1100px) {
	.txt-1 {
		margin: -40px 0 20px 0;
		font-size: 65px;
	}
	.txt-2 {
		margin: 0 0 50px 0;
		font-size: 19px;
	}
}
@media (max-width: 920px) {
	.header {
		height: auto;
		max-height: 100%;
	}
	.txt-1 {
		margin: 35px 0 20px 0;
		font-size: 55px;
	}
	.intro {
	 padding-bottom: 50px;
	}
}
@media (max-width: 790px) {
	.txt-1 {
		margin: 30px 0 20px 0;
		font-size: 45px;
	}
	.txt-2 {
		margin: 0 0 40px 0;
		font-size: 16px;
	}
}
@media (max-width: 490px) {
	.txt-1 {
		margin: 20px 0 7px 0;
		font-size: 31px;
	}
	.txt-2 {
		margin: 0 0 30px 0;
	}
}
@media (max-width: 320px) {
	.txt-1 {
		margin: 18px 0 5px 0;
		font-size: 29px;
	}
}

/*--------------------
	Контент содержимое
--------------------*/
.content {
	margin: 45px 0 60px 0;
}
/* .content .container {
	overflow: hidden;
} */
.content .offer {
	padding-top: 35px;
}
/* для таблиц */
.content table:not([class]) {
	display: inline-block !important;
	max-width: 100% !important;
	overflow: auto !important;
	margin: 0 auto !important;
}
/* формы */
.content .form-w {
  max-width: 550px;
}
.content input:not([class]), .content textarea {
  display: block;
  width: 100% !important;
  margin-bottom: 10px;
  outline: none;
  /* height: 40px; */
	background-color: #fff;
	border: 1px solid #ddd !important;
  padding: 7px 10px;
  font: normal 14px /1.8 'Arial', sans-serif;
	border-radius: 4px;
	color: #161616;
	letter-spacing: 0.5px;
}
/* антибот */
.content input[name="url"] {
	display: none;
}
@media (max-width: 900px) {
	.content {
    margin: 30px 0 40px 0;
	}
}

/*--------------------
	Каталог список
--------------------*/
.product {
  --gap: 15px;
  --col: 3;
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap);
  list-style: none;
}
.product-more {
  --gap: 15px;
  --col: 4;
	margin-top: 45px;
}
.product li {
	position: relative;
	margin: 0 !important;
  width: calc((100% / var(--col)) - var(--gap) + (var(--gap) / var(--col)));
	padding: 10px 10px 10px 10px;
	outline: 1px solid rgba(150,150,150,0.2);
	border-radius: 3px;
}
.product li:hover {
	/* outline: 1px solid rgba(3, 74, 112, 0.3); */
	box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}
/* наложение ссылки на весь блок под ней + 	position: relative; margin: 0 !important; выше  */
.product li > a {
  position: absolute;
  left:0; top:0; bottom:0; right:0;
	text-decoration: none;
}
.product .block, .product .block-g {
  position:relative;
  pointer-events: none;
	z-index: 1;
}
.product .block a {
	pointer-events: all;
}
/* прижимаем цену к низу */
.product .block {
  display: flex;
	height: 100%;
	flex-direction: column;
  justify-content: space-between;
}
.product .ico {
	/* outline: 1px solid rgba(150,150,150,0.2); */
	border-radius: 3px;
}
.product .name-g {
	text-align: center;
	font: 500 15px /1.5 'Montserrat', sans-serif;
	color: #e42e3a;
	margin: 6px 0;
}
.product .name {
	text-align: left;
	font: 500 21px /1.5 'Montserrat', sans-serif;
	color: #e42e3a;
	margin: 6px 0;
}
.product .short {
	text-align: left;
	font: normal 13px /1.5 'Roboto', sans-serif;
	color: #585858;
	margin: 6px 0;
}
.product .cost {
	text-align: left;
	font: 500 20px /1 'Montserrat', sans-serif;
	color: #000;
	margin: 6px 0 18px 0;
}
.product .cost .ot {
	text-align: left;
	font: 400 15px /1 'Montserrat', sans-serif;
	color: #3f3f3f;
	margin: 6px 0 18px 0;
}
@media (max-width: 950px) {
	.product {
		--col: 3;
	}
	.product .name {
		font: 500 19px /1.5 'Montserrat', sans-serif;
	}
	.product .cost {
		font: 500 18px /1 'Montserrat', sans-serif;
	}
}
@media (max-width: 730px) {
	.product .last-word {
		display: none;
	}
	.product .name {
		font: 500 17px /1.5 'Montserrat', sans-serif;
	}
	.product .cost {
		font: 500 16px /1 'Montserrat', sans-serif;
	}
}
@media (max-width: 650px) {
	.product {
		--col: 2;
	}
	.product-more {
		margin-top: 30px;
	}
	.product .name {
		font: 500 16px /1.5 'Montserrat', sans-serif;
	}
}
@media (max-width: 320px) {
	.product {
		--col: 1;
	}
}

/*--------------------
	Отзывы
--------------------*/
.comment {
	border: 1px solid #dddddd;
	background-color:#d9ffc5;
	background: linear-gradient(to top, #eee, #fff);
	padding: 15px 20px 15px 20px;
	margin: 7px 0 14px 0;
	border-radius: 5px; /* Радиус скругления */
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
}
.comment .ico {
	display: block;
	float: left;
	margin: 0 15px 10px 0;
}
.comment .ico img {
	width: 55px;
	height: auto;
}
.comment .name {
	color: #5e5e5e;
	padding-bottom: 4px;
}
.comment .more {
	font: normal 14px /1.8 Verdana, Arial, sans-serif;
	color: #e42e3a;
}
.comment .date, .comment .author, .comment .date {
	font: normal 14px /1.8 Verdana, Arial, sans-serif;
	color: #5e5e5e;
}
.comment .text {
	clear: left;
	padding-bottom:7px;
}

/*--------------------
	Каталог карточка
--------------------*/
.product-info {
	display: flex;
}
.product-info .main-img {
	display: block;
  object-fit: cover;
	width: 500px;
	outline: 1px solid rgba(150,150,150,0.2);
}
.product-info  .relative {
	position: relative;
}
.product-info .gallery {
	display: flex;
	flex-wrap: wrap;
	/* margin-top: 10px; */
	margin-right: -10px;
	width: 510px;
}
.product-info .gallery div {
	display: block;
	width: calc( ( 100% - 80px ) / 8 );
	margin: 10px 10px 0 0;
}
.product-info .gallery img {
	display: block;
  object-fit: cover;
  width: 100%;
	aspect-ratio: 1 / 1;
  height: auto;
	outline: 1px solid rgba(150,150,150,0.2);
}
.product-info .right {
	margin: 0 0 0 30px;
	color: #5e5e5e;
	font: normal 18px/18px 'Roboto', sans-serif;
}
.product-info .art {
	color: #e42e3a;
	font: normal 14px 'Roboto', sans-serif;
	padding-bottom: 12px;
}
.product-info .short {
	font: normal 15px / 1.5 'Montserrat', sans-serif;
	padding-bottom: 12px;
}
.product-info .cost {
	font: 700 25px 'Montserrat', sans-serif;
	padding-bottom: 20px;
	color: #e42e3a;
}
.product-info .message {
	font: 400 25px 'Montserrat', sans-serif;
	padding: 20px 0;
	color: #161616;
}
/* знак рубля и ед.изм */
.product-info .cost .unit {
		font-weight: 400;
}
@media (max-width: 900px) {
	.product-info {
		display: block;
	}
	.product-info .main-img {
		object-fit: cover;
		width: 100%;
		aspect-ratio: 1 / 1 !important;
		height: auto !important;
	}
	.product-info .gallery {
		width: calc(100% + 10px);
	}
	.product-info .gallery div {
		display: block;
		width: calc( ( 100% - 40px ) / 4 );
		margin: 10px 10px 0 0;
	}
	.product-info .right {
		margin: 30px 0 0 0;
	}
}
@media (max-width: 330px) {
	.product-info .message {
		font: 400 21px 'Montserrat', sans-serif;
	}
}

/*--------------------
Переключатель описание / отзывы
--------------------*/
.list-tab {
  display: flex;
  padding: 0;
	margin: 45px 0 0 0;
  border-bottom: 1px solid #ddd;
	list-style-type: none;
	overflow: hidden;
}
.list-tab > li {
  display: block;
  padding: 0.5em 1em;
  margin: 0 2px !important;
  width: 100%;
	font-weight: 600;
  color: #161616;
  text-align: center;
  box-sizing: border-box;
  cursor: pointer;
	font-size: 15px;
}
.list-tab .active {
  background: #fff;
  border-bottom: 3px solid #e42e3a;
}
.tab-content {
  display: none;
}
.tab-content.active {
  display: block;
  margin: 50px 0 5px 0;
}
@media (max-width: 770px) {
	.list-tab {
		margin: 25px 0 0 0;
		flex-direction: column;
	}
	.list-tab > li {
		padding: 0.8em 1em;
	}
	.tab-content.active {
		display: block;
		margin: 40px 0 0px 0;
	}
}

/*--------------------
	Новинки
--------------------*/
.new-cars {
	display: block;
	padding: 60px 0 90px 0;
}

/*--------------------
	Консультация
--------------------*/
.consultation {
	display: block;
	padding: 90px 0;
	background-color: #222222;
}
.consultation h3 {
	color: #fff !important;
	margin-top: 0;
	padding-top: 0;
}
/* Два блока */
.consultation .left-right {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 0;
}
.consultation .left-right > div {
	width: 50%;
}
.consultation .left-right > div:last-child {
	padding-left: 40px;
	width: 50%;
}
/* форма заявки */
.consultation .bid-block {
	color: #fff;
	text-align: left;
}
.consultation .bid-form {
	max-width: 370px;
}
.consultation .bid-block input:not([class]), .consultation .bid-block textarea {
  display: block;
  width: 100% !important;
  margin-bottom: 10px;
  outline: none;
	background-color: #fff;
	border: none;
	padding: 7px 10px;
  font: normal 14px /1.8 'Arial', sans-serif;
	border-radius: 4px;
	color: #161616;
	letter-spacing: 0.5px;
}
/* антибот */
.consultation .bid-block input[name="url"] {
	display: none;
}
.consultation .bid-block input[type="submit"] {
	margin-top: 10px;
	/* width: 100% !important; */
}
@media (max-width: 900px) {
	.consultation .left-right {
		display: block;
	}
	.consultation .left-right > div {
		width: 100%;
	}
	.consultation .img-block {
		display: none;
	}
	.consultation {
		padding: 50px 0 50px 0;
	}
}
@media (max-width: 500px) {
	.consultation {
		padding: 30px 0 25px 0;
	}
}

/*--------------------
	Можем привезти
--------------------*/
.bring {
	margin: 0;
	padding: 60px 0 100px 0;
	background: #ebeff2;
	text-align: center;
}
.bring img {
	margin-top: 30px;
}
@media (max-width: 970px) {
	.bring {
		padding: 50px 0 50px 0;
	}
}
@media (max-width: 500px) {
	.bring {
		padding: 30px 0 45px 0;
	}
	.bring img {
		margin-top: 10px;
	}
}

/*--------------------
	Как мы работаем
--------------------*/
.stages {
	display: block;
	padding: 60px 0 90px 0;
	overflow: hidden;
	background-color: #ebeff2;
}
.stages-list {
  --gap: 50px;
  --col: 3;
  display: flex;
  flex-wrap: wrap;
	justify-content: center;
  gap: var(--gap);
  list-style: none;
}
.stages-list li {
	position: relative;
	margin: 0 !important;
  width: calc((100% / var(--col)) - var(--gap) + (var(--gap) / var(--col)));
	background-color: #fff;
	-webkit-border-radius: 6px;
	border-radius: 6px !important;
	box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);

	display: flex;
	justify-content: center;
	align-items: center;

	padding: 15px 20px 15px 10px;
}
.stages-list li:hover {
	box-shadow: 0 0 15px rgba(0, 0, 0, 0.25);
}
.stages .number {
	color: #000;
	font: 600 23px /1.5 'Montserrat', sans-serif;
	text-align: center;
	padding-right: 10px;
}
.stages .line {
	min-width: 2px;
	width: 2px;
	height: 100%;
	background-color: #000;
}
.stages .text {
	padding-left: 15px;
}
.stages .text b {
	font: 500 20px /1.1 'Roboto', sans-serif;
}
.stages .text p {
	color: #5f5f5f;
	font: 300 16px /1.2 'Roboto', sans-serif;
	padding-top: 5px;
}
@media (max-width: 900px) {
	.stages-list {
		gap: 25px;
	}
	.stages-list li {
		width: 100%;
	}
}
@media (max-width: 500px) {
	.stages {
		padding: 25px 0 60px 0;
	}
	.stages-list {
		gap: 15px;
	}
	.stages-list li {
		width: 100%;
	}
}

/*--------------------
	Расчет
--------------------*/
.calc {
	display: block;
	padding: 60px 0 40px 0;
	overflow: hidden;
}
.calc .colors {
	/* background: linear-gradient(to top, #fff, #fff 10%, #e42e3a 10%, #e42e3a 90%, #fff 90%); */
	background: linear-gradient(
      to top,
      #fff 0px,
      #fff calc(0% + 45px),
      #e42e3a calc(0% + 45px),
      #e42e3a calc(100% - 45px),
      #fff calc(100% - 45px),
      #fff 100%
    );
}
/* Два блока */
.calc .left-right {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 0;
}
.calc .left-right > div {
	width: 50%;
}
.calc .left-right > div:last-child {
	padding-left: 50px;
	width: 50%;
}
/* форма заявки */
.calc .bid-block {
	background-color: #fff;
	color: #000;
	text-align: left;
	padding: 33px 38px;
	box-shadow: 4px 7px 19px rgba(0, 0, 0, 0.2);
	min-height: 440px;
}
.calc .bid-block h3 {
		margin-top: 0;
		padding-top: 0;
}
.calc .bid-form {
	max-width: 370px;
}
/* calc-contacts без подчинения, чтоб urte увидел */
.calc .calc-contacts, .calc-contacts {
	color: #fff;
	background-color: #e42e3a;
	font: 300 17px /1.5 'Roboto', sans-serif;
	padding: 35px 0;
}
.calc .contacts b, .calc-contacts b {
	color: #fff;
	font: 500 21px /1.5 'Roboto', sans-serif;
}
.calc .buttons {
	margin-top: 15px;
}
.calc .bid-block input:not([class]), .calc .bid-block textarea {
  display: block;
  width: 100% !important;
  margin-bottom: 10px;
  outline: none;
	background-color: #fff;
	border: 1px solid #666666;
	padding: 7px 10px;
  font: normal 14px /1.8 'Arial', sans-serif;
	border-radius: 4px;
	color: #161616;
	letter-spacing: 0.5px;
}
/* антибот */
.calc .bid-block input[name="url"] {
	display: none;
}
.calc .bid-block input[type="submit"] {
	margin-top: 10px;
	/* width: 100% !important; */
}
@media (max-width: 900px) {
	.calc {
		padding: 40px 0 10px 0;
	}
	.calc .left-right {
		display: block;
	}
	.calc .left-right > div {
		width: 100%;
	}
	.calc .bid-block {
		padding: 25px 25px;
	}
	.calc .left-right > div:last-child {
		padding-left: 0;
		width: 100%;
	}
	.calc .colors {
		background: linear-gradient(
				to top,
				#e42e3a 0px,
				#e42e3a calc(0% + 45px),
				#e42e3a calc(0% + 45px),
				#e42e3a calc(100% - 45px),
				#fff calc(100% - 45px),
				#fff 100%
			);
	}
}
@media (max-width: 500px) {
	.calc {
		padding: 25px 0 0 0;
	}
	.calc .bid-block {
		padding: 25px 15px;
		min-height: auto;
	}
	.calc .contacts, .calc-contacts {
		font: 300 15px /1.5 'Roboto', sans-serif;
		padding: 35px 0;
	}
	.calc .contacts b, .calc-contacts b {
		font: 500 19px /1.5 'Roboto', sans-serif;
	}
}

/*--------------------
	Команда
--------------------*/
.team {
	display: block;
	padding: 30px 0 90px 0;
	background-color: #fff;
	overflow: hidden;
}
.team-list {
  --gap: 50px;
  --col: 3;
  display: flex;
  flex-wrap: wrap;
	justify-content: center;
  gap: var(--gap);
  list-style: none;
}
.team-list li {
	position: relative;
	margin: 0 !important;
  width: calc((100% / var(--col)) - var(--gap) + (var(--gap) / var(--col)));
	background-color: #fff;
	-webkit-border-radius: 6px;
	border-radius: 6px !important;
	box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}
.team-list li:hover {
	box-shadow: 0 0 15px rgba(0, 0, 0, 0.25);
}
.team .img-zoom img {
	margin: 0 auto;
	-webkit-border-radius: 6px 6px 0px 0px;
	border-radius: 6px 6px 0px 0px;
}
/* img при наведении */
.team .img-zoom {
	overflow:hidden;
}
.team .img-zoom img {
	transition: transform 4s;
	-moz-transition: all 0.5s ease-out;
	-o-transition: all 0.5s ease-out;
	-webkit-transition: all 0.5s ease-out;

	display:block;
	object-fit: cover;
	/* max-width: 100%; */
	width: 100%;
}
.team .img-zoom img:hover {
  -webkit-transform: scale(1.1);
          transform: scale(1.1);
		 -moz-transform: scale(1.1);
		   -o-transform: scale(1.1);
 }
.team .name {
	color: #000;
	font: 500 21px /1.5 'Montserrat', sans-serif;
	text-align: center;
	margin: 27px 0 5px 0;
}
.team .position {
	color: #5c5c5c;
	font: 400 14px / 1.7 'Montserrat', sans-serif;
	text-align: center;
	margin: 0 0 15px 0;
}
.team .buttons {
	text-align: center;
	margin-bottom: 35px;
}
@media (max-width: 900px) {
	.team-list {
		gap: 40px;
	}
	.team-list li {
		width: 100%;
	}
}
@media (max-width: 500px) {
	.team {
		padding: 25px 0 60px 0;
	}
	.team .btn-3 {
		margin-top: 30px;
	}
	.team-list {
		gap: 15px;
	}
	.team-list li {
		width: 100%;
	}
}

/*--------------------
	Отзывы
--------------------*/
.reviews {
	margin: 0;
	padding: 60px 0 100px 0;
	background: #ebeff2;
	text-align: center;
	overflow: hidden;
}
/* .reviews h3 {
	text-transform: uppercase;
	font-family: 'Montserrat', sans-serif;
	font-size: clamp(1rem,calc(1.5rem + 1vw),calc(2rem + 1vw));
	font-weight: 600;
	line-height: 1.4;
	color: #161616;
	margin: 0 0 30px 0;
	padding: 0;
  text-align: center;
} */
.reviews .list {
	display: flex;
	flex-wrap: wrap;
	/* margin-right: -30px; */
	margin: 40px 0 0 0;
	list-style: none;
}
.reviews .container>img {
	margin-bottom: 10px;
}
.reviews .list li {
	position: relative;
	width: calc( ( 100% - 60px ) / 3 ); /* 2 отступа по 30, у последнего нет  */
	margin: 0 30px 0 0;
	background-color: #fff;
	/* box-shadow: 0 0 19px rgba(0,0,0,0.1); */
	text-align: left;
	padding: 35px 35px 35px 35px;
	border-radius: 16px;
}
/* у последнего нет отступа */
.reviews .list li:nth-last-child(1) {
	margin: 0;
}
.reviews .list li::after {
    content: '';
    position: absolute;
    left: 00px; bottom: -15px;
    width: 30px; height: 30px;
    border: 15px solid transparent;
    border-left: 20px solid #fff;
}
.reviews span {
	font: 400 14px /1.7 'Montserrat', sans-serif;
	color: #5c5c5c;
}
.reviews .name {
	font: 400 21px /1.7 'Roboto', sans-serif;
	color: #161616;
}
.reviews .client {
	font: 400 14px /1.7 'Montserrat', sans-serif;
	color: #5c5c5c;
}
.reviews .icon-text {
  display: flex;
  align-items: center;
  justify-content: flex-start;
	margin-bottom: 20px;
}
.reviews .icon-text img {
	height: 65px;
	width: auto;
	margin-right: 15px;
}
@media (max-width: 970px) {
	.reviews {
		padding: 50px 0 50px 0;
	}
	.reviews .list li {
		width: 100%;
		margin: 0 0 40px 0;
	}
	/* у последнего такой же */
	.reviews .list li:nth-last-child(1) {
		margin: 0 0 40px 0;
	}
}
@media (max-width: 500px) {
	.reviews {
		padding: 30px 0 25px 0;
	}
	.reviews p {
		font-size: 16px;
	}
	.reviews .list {
		margin: 30px 0 0 0;
	}
	.reviews .name {
		font: 400 19px /1.6 'Roboto', sans-serif;
	}
}
@media (max-width: 320px) {
	.reviews .list li {
		padding: 25px;
	}
	.reviews .icon-text img {
		height: 50px;
	}
	.reviews .name {
		font: 400 17px /1.6 'Roboto', sans-serif;
	}
}

/*--------------------
	Подвал
--------------------*/
footer {
	color: #fff;
	font: normal 15px /1.8 'Montserrat', sans-serif;
	letter-spacing: 0.5px;
	padding: 60px 0 0 0;
	overflow:hidden;

	background-color: #505251;
	text-align: center;
	background: url(/files/design/footer-auto.webp) no-repeat center center;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	overflow: hidden;
}
footer a {
	color: #fff;
	text-decoration: none;
}
footer a:hover {
	color: #e42e3a;
}
.footer-logo {
	max-width: 320px;
	height: auto;
}
/* подвал контакты */
.footer-contact {
	color: #fff;
	line-height: 1.6;
	text-align: center;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}
.footer-contact .title {
	text-transform: uppercase;
	font: 750 75px /1 'Montserrat', sans-serif;
	margin: 0 0 30px 0;
}
.footer-contact .text {
	font: 300 19px /1 'Montserrat', sans-serif;
	margin: 30px 0;
}

footer .icon-text {
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 30px 0;
}
footer .icon-text img {
	/* padding-top: 5px; */
	width: 80px;
	height: 82px;
	margin-right: 20px;
	opacity: 0.5;
}
footer .icon-text a {
	font: 600 28px /1.4 'Roboto', sans-serif;
	color: #fff;
	text-decoration: none;
}

footer .politica {
	margin: 20px 0 10px 0;
}
footer .politica  a {
	color: #fff;
}
footer .copyright {
	margin: 10px 0;
}
footer .creator {
	text-align: center;
	margin: 20px 0 30px 0;
}
footer .creator img {
	height: 38px;
}
/* счетчики */
footer .counter {
	visibility: hidden;
	width: 0;
	height: 0;
	margin: 0;
	padding: 0;
}
@media (max-width: 750px) {
	footer {
		padding: 30px 0 0 0;
	}
 footer .footer-logo {
	width: 180px;
	height: auto;
	}
	.footer-contact .title {
		font: 750 50px /1 'Montserrat', sans-serif;
	}
}
@media (max-width: 520px) {
	footer {
		padding: 30px 0 0 0;
	}
 footer .footer-logo {
	width: 160px;
	height: auto;
	}
	.footer-contact .title {
		font: 750 38px /1 'Montserrat', sans-serif;
		margin: 0 0 20px 0;
	}
	.footer-contact .text {
		font: 300 16px /1.4 'Montserrat', sans-serif;
		margin: 20px 0;
	}
	footer .politica {
		font-size: 14px;
		margin: 10px 0 10px 0;
	}
	footer .politica  a {
		font-size: 14px;
	}
	footer .copyright {
		font-size: 14px;
		margin: 10px 0 5px 0;
	}
	footer .creator {
		text-align: center;
		margin: 10px 0 20px 0;
	}
	footer .icon-text {
		margin: 20px 0;
	}
	footer .icon-text img {
		width: 50px;
		height: auto;
		margin-right: 15px;
		opacity: 0.5;
	}
	footer .icon-text a {
		font: 600 19px /1.4 'Roboto', sans-serif;
	}
}

/*--------------------
	Формы
--------------------*/
/* placeholder */
::placeholder {
 	color: #7e7e7e;
	font: normal 14px /1.8 'Arial', sans-serif;
}
::-moz-placeholder {
 	color: #7e7e7e;
	font: normal 14px /1.8 'Arial', sans-serif;
}
:-moz-placeholder {
 	color: #7e7e7e;
	font: normal 14px /1.8 'Arial', sans-serif;
}
::-webkit-input-placeholder {
 	color: #7e7e7e;
	font: normal 14px /1.8 'Arial', sans-serif;
}
:-ms-input-placeholder {
 	color: #7e7e7e;
	font: normal 14px /1.8 'Arial', sans-serif;
}

/*--------------------
	Fancybox modal
--------------------*/
#modal {
  display: none;
}
#modal {
  width: 300px;
}
#modal input {
  display: block;
  width: 100%;
  margin-bottom: 18px;
  outline: none;
  height: 40px;
  border: 1px solid #e6e6e6;
  padding: 0px 10px;
  font-family: 'Arial', sans-serif;
  font-weight: 400;
	border-radius: 3px;
}
#modal textarea {
  display: block;
  width: 100%;
  margin-bottom: 18px;
  outline: none;
  height: 80px;
  border: 1px solid #e6e6e6;
  padding: 10px 10px;
  font-family: 'Arial', sans-serif;
  font-weight: 400;
	border-radius: 3px;
}
/* антибот */
#modal input[name="email"] {
	display: none;
}
#modal input[type="submit"] {
	font: normal 15px /1.8 'Montserrat', sans-serif;
	background-color: #e42e3a;
  border: none;
  color: #fff;
	border-radius: 3px;
}
.policy {
	font: normal 13px /1.3 'Arial', sans-serif;
  font-weight: 400;
	color: #777;
}

/*--------------------
	Кнопка вверх
--------------------*/
#toTop {
	width: 38px;
	height: 38px;
	background: url(/files/design/vverh.png) no-repeat right top;
	background-color: none;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	background-color: #e42e3a;
	border-radius: 3px;
	opacity: 0.8;
	position:fixed;
	bottom:10px; /* отступ кнопки от нижнего края страницы*/
	right:10px;
	cursor:pointer;
	display:none;
	transition: all 0.3s ease;
}
#toTop:hover {
	opacity: 1;
}