@font-face {
    font-family: 'Montserrat';
    src: url(../fonts/Montserrat-Regular.ttf) format("opentype");
}
@font-face {
    font-family: 'Montserrat';
    src: url(../fonts/Montserrat-Bold.ttf) format("opentype");
    font-weight: bold;
}
@font-face {
    font-family: 'Montserrat';
    src: url(../fonts/Montserrat-Medium.ttf) format("opentype");
    font-weight: 500;
}
@font-face {
    font-family: 'Roboto';
    src: url(../fonts/Roboto-Bold.ttf) format("opentype");
    font-weight: bold;
}
:root{
    --red:#E32024;
    --redHover:#BE171A;
    --h2fz:44px;
    --h2lh:54px;
    --h2fzM:34px;
    --h2lhM:44px;
    --h2fzS:26px;
    --h2lhS:28px;
}
html,body{
    scroll-behavior: smooth;
}
body{
    font-family: Montserrat, sans-serif;
    color:black;
    font-size: 18px;
    line-height: 28px;
}
a,a:hover{
    text-decoration: none;
    color:black;
    outline: none;
}
button,button:hover,button:focus{
    border:none;
    outline: none;
    cursor: pointer;
}
.slick-slide{
    outline: none;
}
.slick-dots li:only-child{
    display: none;
}
.red{
    color:var(--red);
}
header{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1;
    height: 110px;
    font-weight: bold;
    line-height: 110px;
}
.scrollProgress{
    position: absolute;
    top:0;
    left: 0;
    right: 0;
    padding-top: 8px;
    background: linear-gradient(to right, var(--red) var(--scrollProgress), transparent var(--scrollProgress));
}
.burger{
    display: none;
    position: absolute;
    right: 15px;
    top: 16px;
    height: 23px;
    width: 25px;
}
span.bar {
    border-radius: 2px;
    width: 25px;
    height: 3px;
    background: var(--red);
    display: block;
    position: absolute;
    left: 0;
    transition: 0.3s;
}
span.bar:nth-child(1) {
    top: 3px;
}
span.bar:nth-child(2) {
    top: 10px;
}
span.bar:nth-child(3) {
    top: 10px;
}
span.bar:nth-child(4) {
    top: 17px;
}
.burger.active span.bar:nth-child(1),.burger.active span.bar:nth-child(4) {
    opacity: 0;
    top: 50%;
    width: 0;
    left: 50%;
}
.burger.active span.bar:nth-child(2) {
    transform: rotate(45deg);
}
.burger.active span.bar:nth-child(3) {
    transform: rotate(-45deg);
}
header.scrolled {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9;
    background: white;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.25);
}
nav ul{
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin: 0;
    padding: 0;
}
nav li{
    list-style-type: none;
}
nav a{
    line-height: 22px;
    padding: 50px 0;
}
li.contacts-menu {
    line-height: 32px;
}
h2,.h2{
    font-size: var(--h2fz);
    line-height: var(--h2lh);
    margin: 0;
    padding: 0;
    font-weight: bold;
}
.modal-button{
    background: var(--red);
    border-radius: 10px;
    width: 388px;
    height: 86px;
    line-height: 86px;
    color:white;
    display: block;
    margin: 0 auto;
    font-weight: bold;
    font-size: 28px;
    text-align: center;
    transition: all 0.3s;
}
.__first .modal-button{
    width: max-content;
    padding:15px;
    height: auto;
    line-height: 24px;
    margin: 25px 0;
    font-size: 14px;
}
.modal-button:hover{
    background: var(--redHover);
}
footer {
    background: #181818;
    color: white;
    padding: 91px 0 93px;
}
footer a{
    color:white;
}
footer a:hover{
    color:var(--red);
}
.footer-block__title {
    font-weight: bold;
    color: var(--red);
    margin-bottom: 1em;
}
.vk{
    background: url(../images/vk.png);
}
.tg{
    background: url(../images/tg.png);
}
.wa{
    background: url(../images/wa.png);
}
.ok{
    background: url(../images/ok.png);
    margin-right: 15px;
}
.ok,.vk,.wa,.tg{
    display: inline-block;
    width: 40px;
    height: 40px;
    margin-top: 8px;
    border-radius: 8px;
}
.ok, .vk, .tg{
    margin-right: 20px;
}
.modal-content {
    padding: 45px;
}
.close {
    position: absolute;
    background-color: #FFF!important;
    box-shadow: 0px 4px 14px rgba(0, 0, 0, 0.35);
    width: 86px;
    height: 86px;
    border-radius: 50%;
    right: -43px;
    top: -43px;
    opacity: 1!important;
    color: var(--red);
    font-size: 70px;
    font-weight: 100;
}
#callback .h2 {
    margin-bottom: 21px;
}
form.callback-form {
    margin-top: 46px;
}
form.callback-form input {
    width: 100%;
    height: 60px;
    background: #F3F3F3;
    border: 1px solid #C1C4C6;
    box-sizing: border-box;
    border-radius: 5px;
    margin-bottom: 20px;
    padding: 19px 25px;
}
.callback-button {
    width: 100%;
    border-radius: 5px;
    height: 70px;
    line-height: 70px;
    font-size: 18px;
}
.lb-data .lb-caption {
    font-size: 18px;
    line-height: 26px;
}
.modal-text {
    margin-top: 43px;
    padding-bottom: 30px;
    color: white;
    background: var(--red);
}
#special-propose img {
    width: 100%;
}
.for {
    font-size: 27px;
    line-height: 40px;
    padding-top: 20px;
}
.sale {
    font-weight: bold;
    font-size: 58px;
    line-height: 62px;
    text-transform: uppercase;
}
.to {
    font-weight: bold;
    font-size: 22px;
    line-height: 32px;
}
.detail {
    font-size: 22px;
    line-height: 32px;
}
@media (max-width: 1919px) {
    nav a {
        line-height: 22px;
        padding: 44px 0;
    }
    li.contacts-menu a{
        padding: 27px 0;
    }
}
@media (max-width: 1439px) {
    nav a {
        font-size: 16px;
        padding: 35px 0;
    }

    header {
        height: 90px;
        line-height: 90px;
    }

    li.contacts-menu a {
        padding: 19px 0;
    }
}
@media (max-width: 1199px) {
    nav li:first-child img {
        max-width: 175px;
    }
    nav a {
        font-size: 16px;
    }
    h2, .h2 {
        font-size: var(--h2fzM);
        line-height: var(--h2lhM);
    }
    .modal-button {
        height: 80px;
        line-height: 80px;
        font-size: 24px;
    }
    .footer-block__text {
        font-size: 16px;
    }
    #special-propose .modal-content {
        padding: 25px 45px;
    }
    .modal-text{
        margin-top: 30px;
    }
    .sale {
        font-size: 48px;
        line-height: 52px;
    }
    .close {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        right: -25px;
        top: -25px;
        font-size: 52px;
    }
}
@media (max-width: 991px) {
    header {
        height: 80px;
        line-height: 80px;
    }
    nav img {
        max-width: 125px;
    }
    nav a {
        font-size: 14px;
    }
    .modal-button {
        width: 308px;
        height: 70px;
        line-height: 70px;
        font-size: 20px;
    }
    .modal-content {
        padding: 25px;
    }
    .close {
        width: 66px;
        height: 66px;
        right: -33px;
        top: -33px;
        font-size: 55px;
    }
    #callback .h2 {
        margin-bottom: 15px;
    }
    form.callback-form {
        margin-top: 25px;
    }
    form.callback-form input {
        height: 50px;
        margin-bottom: 15px;
        padding: 15px 20px;
    }
    .callback-button {
        width: 100%!important;
        height: 50px;
        line-height: 50px;
        font-size: 18px;
    }
    .footer-block__title {
        font-size: 17px;
    }
    .footer-block__text {
        font-size: 15px;
    }
    .for {
        font-size: 22px;
        line-height: 32px;
    }
    .to {
        font-size: 20px;
        line-height: 28px;
    }
    .detail {
        font-size: 20px;
        line-height: 28px;
    }
    .modal-text {
        margin-top: 20px;
        padding-bottom: 20px;
    }
    .sale {
        font-size: 42px;
        line-height: 44px;
    }
    nav li:first-child img {
        max-width: 115px;
    }

    .scrollProgress {
        padding-top: 6px;
    }

    header {
        height: 60px;
        line-height: 60px;
    }

    li.contacts-menu {
        line-height: 20px;
    }

    li.contacts-menu a {
        padding: 10px 0;
    }

    nav a {
        padding: 21px 0;
    }
    header.scrolled {
        box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.25);
    }
}
@media (max-width: 767px) {
    nav a {
        padding: 0;
    }
    nav ul {
        display: block;
        align-items: flex-start;
        line-height: 35px;
    }
    nav li:first-child {
        line-height: 80px;
        width: auto;
    }
    nav li {
        float: left;
        width: auto;
        margin: 0 15px;
    }
    nav li:nth-child(2),nav li:nth-child(3),nav li:nth-child(4),nav li:nth-child(5) {
        margin-top: 8px;
    }
    .footer-block__text {
        margin-bottom: 30px;
    }
    footer {
        padding: 45px 0 15px;
    }
    footer .col-12.col-sm-12.col-md-4.col-lg:nth-child(4) {
        display: flex;
    }
    footer .col-12.col-sm-12.col-md-4.col-lg:nth-child(4) .footer-block__title {
        line-height: 57px;
        margin-right: 30px;
    }
    nav.active li:not(:first-child) {
        display: block;
        background: white;
        margin: 0;
        padding: 0 15px;
    }
    nav.active ul {
        border-bottom: 4px solid var(--red);
        padding-bottom: 5px;
        background: white;
    }
    nav li:first-child {
        line-height: 60px;
        width: auto;
    }
    header {
        height: 55px;
        line-height: 55px;
        z-index: 2;
    }
    .burger{
        display: block;
    }
    header {
        /*position: relative;*/
    }
    nav li:not(:first-child) {
        display: none;
    }
    nav li {
        float: none;
    }
}
@media (max-width: 575px) {

    h2, .h2 {
        font-size: var(--h2fzS);
        line-height: var(--h2lhS);
    }
    .modal-button {
        width: 270px;
        height: 50px;
        line-height: 50px;
        font-size: 16px;
    }
    footer .col-12.col-sm-12.col-md-4.col-lg:nth-child(4) {
        display: block;
    }
    footer .col-12.col-sm-12.col-md-4.col-lg:nth-child(4) .footer-block__title {
        line-height: 28px;
        margin-right: 0;
    }
    .close {
        top: 5px;
        right: 5px;
        width: 32px;
        height: 32px;
        font-size: 28px;
    }
    .modal-description {
        font-size: 16px;
        line-height: 20px;
    }
    #special-propose .modal-content {
        padding: 25px;
    }
    #special-propose .h2 {
        font-size: 20px;
    }
    .modal-text {
        margin-top: 15px;
        padding-bottom: 5px;
    }
    .for {
        font-size: 13px;
		line-height: 18px;
		padding-top: 5px;
		letter-spacing: -1px;
    }
    .sale {
        font-size: 28px;
        line-height: 32px;
    }
    .to {
        font-size: 18px;
        line-height: 20px;
    }
    .detail {
        font-size: 16px;
        line-height: 20px;
    }
    nav li:first-child img {
        max-height: 30px;
    }

    header {
        height: 46px;
        line-height: 46px;
    }

    nav li:first-child {
        line-height: 46px;
    }
    .modal-content input,.modal-content select,.modal-content textarea {
        font-size: 14px;
        padding: 10px 7px!important;
    }
}