/* FONTS LOAD SECTION */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700;800&display=swap');
/* USER VARIABLES SECTION */

:root {
	--accent: #E3311D;
	--text: #362E2D;
	--dark: #050507;
	--light: #7C8685;
	--regular-text: 16px;
	--radius: 10px;
    --lineheight: 1.5;
	--userfont: 'Montserrat', sans-serif;
	--systemfont: -apple-system, BlinkMacSystemFont, Arial, sans-serif;
}

/* BOOTSTRAP SETTINGS SECTION */

/* gutter 20px (10px + 10px). Comment this code for default gutter start at 1.5rem (24px) wide. */
.container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl { --bs-gutter-x: .625rem; }
.row, .row > * { --bs-gutter-x: 1.25rem; }




/* GENERAL CSS SETTINGS */

::placeholder { color: #666; }
::selection { background-color: var(--accent); color: #fff; }
input, textarea { outline: none; }
input:focus:required:invalid, textarea:focus:required:invalid { border-color: red; }
input:required:valid, textarea:required:valid { border-color: green; }

body {
	font-family: var(--userfont);
	font-size: var(--regular-text);
	line-height: var(--lineheight);
	color: var(--text);
	min-width: 320px;
	position: relative;
	overflow-x: hidden;
}
.img{
	width: 100%;
}
.gallery__img{
	border-radius: 50%;
	overflow: hidden;
}
.img--circle{
	border-radius: 50%;
	object-fit: cover;
	aspect-ratio: 9/9;
}
.text-center{
	text-align: center;
}
.accent{
	color: var(--accent);
}

/* USER STYLES */
.header{
	padding: 20px 0 60px;
	background:var(--dark);
}
.header__logo{
	display: flex;
}
.header__logo img{
	width: 100%;
}
.header__text {
	margin: 0;
	font-weight: 700;
	font-size: 18px;
	color: #fff;
}
.header__contact{
	display: grid;
	grid-template-columns: 16px 1fr;
	gap: 10px;
	align-items: center;
	margin-bottom: 5px;
	color: #fff;
}
.header__contact a{
	color: #fff;
	text-decoration: none;
}
.btn {
	background: var(--accent);
	outline: none;
    text-decoration: none;
    border: 0;
    border-radius: var(--radius);
    padding: 10px 25px;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    transition: all .3s linear;
    width: fit-content;
    text-align: center;
}
.btn:hover {
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.25);
    color: #fff;
	background: var(--accent);
}
.btn-icon {
	display: grid;
	grid-template-columns: 24px 1fr;
	gap: 10px;
	align-items: center;
}
.btn-lg {
	padding: 15px 30px;
}
.btn-end{
	float: inline-end;
}
.btn-outline{
	border: 2px solid var(--accent);
	background-color: transparent;
	color: var(--text);
	font-weight: 500;
} 
.btn-sm{
	font-size: 14px;
	padding: 10px;
}
.btn-100{
	width: 100%;
	display: flex;
	justify-content: center;
	height: 100%;
	align-items: center;
}
.btn-catalog{
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 30px 0;
}

.nav__list{
	margin: 0;
	padding: 0;
    list-style: none;
    border-radius: var(--radius);
    display: flex;
    -webkit-box-shadow: 0px 5px 8px 0px rgba(34, 60, 80, 0.2);
    -moz-box-shadow: 0px 5px 8px 0px rgba(34, 60, 80, 0.2);
    box-shadow: 0px 5px 8px 0px rgba(34, 60, 80, 0.2);
    position: relative;
    background: #fff;
    bottom: 40px;
}
.nav__list .nav__item{
	padding:25px 40px;
	cursor: pointer;
	transition: all .3s linear;
}
.nav__list .nav__item a{
	text-decoration: none;
	color: var(--text);
	font-weight: 700;
	transition: all .3s linear;
	display: flex;
	align-items: center;
	font-size: 18px;
}
.nav__list .nav__item a i{
	font-size: 24px;
	margin-right: 10px;
}
.nav__list .nav__item--active{
	background-color: var(--accent);
	border-radius: 10px 0 0 10px;
}
.nav__list .nav__item--active a{
	color: #fff;
}
.nav__list .nav__item:hover{
	background-color: var(--accent);
}
.nav__list .nav__item:hover a{
	color: #fff;
}
.dropdown{
	position: relative;
}
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 9;
    float: left;
    min-width: 350px;
    padding: 20px;
    margin:  0;
    list-style: none;
    background-color: var(--dark);
    background-clip: padding-box;
	font-weight: 700;
}
.dropdown-menu li{
	transition: all .3s linear;
}
.dropdown-menu li:not(:last-child){
	margin-bottom: 10px;
}
.dropdown-menu li a{
	color: #fff!important;
}
.dropdown-menu li:hover{
	background-color: var(--accent);
}

.banner{
	padding: 10px 0 60px;
}
.banner__title{
	font-weight: 700;
	font-size: 42px;
	margin-bottom: 40px;
}

.gallery{
	padding: 40px 0;
}

.service{
	background-color: var(--light);
	padding: 50px 0 30px;
}
.service__item{
	padding: 20px;
	border-radius: var(--radius);
	background-color: #fff;
	text-align: center;
	font-weight: 700;
	width: 100%;
	height: 100%;
	align-items: center;
	text-decoration: none;
	color: var(--text);
	display: flex;
	justify-content: center;
	transition: all .3s linear;
	border: 2px solid #fff;
}
.service__item:hover{
	border-color: var(--accent);
	color: var(--text);
}

.price{
	padding: 40px 0;
}
.input{
	width: 100%;
    height: 50px;
    padding: 0 25px;
    border: 2px solid var(--accent);
    border-radius: var(--radius);
    box-sizing: border-box;
}

.h2{
	font-size: 2.2rem;
	font-weight: 700;
	margin-bottom: 25px;
}
.marquiz{
	font-weight: 700;
}
.table__price{
	border-radius: var(--radius);
    overflow: hidden;
    -webkit-box-shadow: 0px 0px 8px 0px rgba(34, 60, 80, 0.2);
    -moz-box-shadow: 0px 0px 8px 0px rgba(34, 60, 80, 0.2);
    box-shadow: 0px 0px 8px 0px rgba(34, 60, 80, 0.2);
    width: 100%;
}
.table__price thead{
    background: var(--accent);
    color: #fff;
    font-size: 25px;
    border-radius: var(--radius) var(--radius) 0 0;
    font-weight: 500;
}
.table__price thead tr th{
	padding: 20px 30px;
	text-align: center;
}
.table__price thead tr th.text-start{
	text-align: start;
}
.table__price thead tr th.text-end,
.table__price tbody tr td.text-end{
	text-align: end;
}
.table__price tbody tr:nth-child(odd) {
    background-color: #f6f6f7;
}
.table__price tbody tr td{
	padding: 10px 30px;
}
.table__price tbody tr td:last-child{
	text-align: end;
}
.table__price a{
	text-decoration: none;
	color: var(--text);
}

.position-sticky{
	position: sticky;
	top: 0;
}
.menu-list{
    border-radius: 15px;
    overflow: hidden;
    list-style: none;
    padding: 0;
    margin: 0;
    -webkit-box-shadow: 0 0 8px 0 rgba(34, 60, 80, 0.2);
    -moz-box-shadow: 0 0 8px 0 rgba(34, 60, 80, 0.2);
    box-shadow: 0 0 8px 0 rgba(34, 60, 80, 0.2);

}

.menu-list .menu-list__item a, .menu-list .menu-list__item span {
    display: flex;
    align-items: center;
    cursor: pointer;
    border-bottom: 1px solid #dbdfe8;
    background: #fff;
    height: 40px;
    padding: 0 10px 0 10px;
	transition: all .3s linear;
	display: grid;
	grid-template-columns: 10px 1fr;
	gap:10px;
	text-decoration: none;
	color: var(--text);
}
.menu-list .menu-list__item i {
	font-size: 12px;
}

.menu-list .menu-list__item a:hover, .menu-list .menu-list__item a.active, .menu-list .menu-list__item span:hover {
    background:var(--accent);
	color: #fff;
}
.block-contacts{
	background-color: var(--accent);
	padding: 20px 20px 15px;
	border-radius: var(--radius);
}

.brand{
	padding: 40px 0;
}
.brand__wrap{
	padding: 40px;
	border-radius: var(--radius);
	background: var(--dark);
}
.brand__items {
	-webkit-columns: 5;
    -moz-columns: 5;
}
.brand__item {
	display: grid;
	grid-template-columns: 15px 1fr;
	gap: 5px;
	color: #fff;
}
.brand__letter {
	font-weight: 700;
}
.brand__name{
	color: #fff;
	transition: all .3s linear;
}
.brand__name:hover{
	color: var(--accent);
}

.footer{
	background-color: #eee;
	padding: 20px 0;
}
.footer__logo{
	display: flex;
}
.footer__logo img{
	width: 100%;
	max-width: 200px;
	margin: 0 auto;
}
.footer__small{
	text-align: center;
	font-size: 14px;
}
.footer__list{
	list-style: none;
	padding: 0;
}
.footer__list li{
	margin-bottom: 10px;
}
.footer__list li a{
	text-decoration: none;
	color: var(--text);
	transition: all .3s linear;
}
.footer__list li a:hover{
	color: var(--accent);
}
.footer__contact {
	display: grid;
	grid-template-columns: 16px 1fr;
	gap: 10px;
	align-items: center;
	margin-bottom: 5px;
	text-decoration: none;
	color: var(--text);
}

.top {
    background-color: #e0e0e0;
    border-radius: 10em;
    bottom: 25px;
    color: #666;
    cursor: pointer;
    font-size: 18px;
    height: 40px;
    line-height: 40px;
    opacity: .5;
    position: fixed;
    right: -100px;
    text-align: center;
    -webkit-transition: all .25s ease;
    -o-transition: all .25s ease;
    transition: all .25s ease;
    width: 40px;
    z-index: 12;
}
.top.active {
    right: 10px;
}
.top:hover {
    background-color: var(--accent);
    color: #fff;
    opacity: 1;
}

.breadcrumbs a{
	color: var(--text);
	text-decoration: none;
}
.breadcrumb_last{
	opacity: .8;
}
.breadcrumbs__items{
	font-size: 14px;
	margin-bottom: 15px;
}


.catalog__item  {
	display: grid;
	grid-template-columns: 35% 1fr;
	gap: 0;
}
.catalog__item:not(:last-child){
	margin-bottom: 20px;
}

.catalog__item img {
	object-fit: cover;
	max-height: 240px;
	width: 100%;
	border-radius: 10px 0 0 10px;
}

.catalog__item-content {
	background-color: #F9F9F9;
	border-radius: 0 10px 10px 0;
	padding: 25px;
}

.catalog__item-title {
	font-weight: 700;
	font-size: 21px;
	text-decoration: none;
	color: var(--text);
	transition: all .3s linear;
}
.catalog__item-title:hover{
	color: var(--accent);
}
.catalog__item-btns{
	display: flex;
	margin-top:30px;
}

.service__img{
	border-radius: var(--radius);
	max-height: 360px;
	width: 100%;
	object-fit: cover;
}
.new-car__wrap {
	display: grid;
	align-items: center;
	grid-template-columns: 160px 1fr;
	gap: 40px;
	margin: 0 auto;
}
.new-car__img {
	width: 100%;
	padding: 0 30px;
}
.new-car__text {
	font-size: 20px;
	margin: 0;
}
.new-car__title {
	color: var(--accent);
	font-size: 23px;
	text-transform: uppercase;
	font-weight: 700;
	margin: 5px 0;
}