@font-face {
    font-family: 'Lato-Bold';
    src: url('../fonts/Lato-Bold.eot');
    src: url('../fonts/Lato-Bold.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Lato-Bold.woff2') format('woff2'),
        url('../fonts/Lato-Bold.woff') format('woff'),
        url('../fonts/Lato-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lato-SemiBold';
    src: url('../fonts/Lato-SemiBold.eot');
    src: url('../fonts/Lato-SemiBold.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Lato-SemiBold.woff2') format('woff2'),
        url('../fonts/Lato-SemiBold.woff') format('woff'),
        url('../fonts/Lato-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lato-Light';
    src: url('../fonts/Lato-Light.eot');
    src: url('../fonts/Lato-Light.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Lato-Light.woff2') format('woff2'),
        url('../fonts/Lato-Light.woff') format('woff'),
        url('../fonts/Lato-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lato-Regular';
    src: url('../fonts/Lato-Regular.eot');
    src: url('../fonts/Lato-Regular.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Lato-Regular.woff2') format('woff2'),
        url('../fonts/Lato-Regular.woff') format('woff'),
        url('../fonts/Lato-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lato-Medium';
    src: url('../fonts/Lato-Medium.eot');
    src: url('../fonts/Lato-Medium.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Lato-Medium.woff2') format('woff2'),
        url('../fonts/Lato-Medium.woff') format('woff'),
        url('../fonts/Lato-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}


* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
*:before,
*:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
::-webkit-scrollbar-button {
    background-image:url('');
    background-repeat:no-repeat;
    width:10px;
    height:0px;
}
::-webkit-scrollbar-track {
    background-color:#fff;
}
::-webkit-scrollbar-thumb {
    -webkit-border-radius: 0px;
    border-radius: 0px;
    background-color:#525252;
}
::-webkit-scrollbar-thumb:hover{
    
}
::-webkit-resizer{
    background-image:url('');
    background-repeat:no-repeat;
    width:10px;
    height:0px;
}
::-webkit-scrollbar{
    width: 2px;
    height: 3px;
}
html{
    height:100%;
    position: relative;
    font-family: sans-serif;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}
body{
    position: relative;
    background: #fff;
    margin: 0;
    font-size:16px;
    color:#000;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-family: 'Lato-Regular';
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
  display: block;
  margin:0;
}
a {
    color: #000;
    text-decoration: underline;
}
a:hover {
    color:#a05850;
    text-decoration: underline;
}
img{
    display: block;
}
ul{
    padding:0;
    margin:0;
}
ul li{
    list-style: none;
}
.container {
  margin-right: auto;
  margin-left: auto;
  position: relative;
  width:100%;
  max-width:1600px;
  padding:0;
  box-sizing: border-box;
}
.d-flex{
    display: flex;
    flex-wrap:wrap;
}
.nowrap{
    flex-wrap: nowrap;
}
.j-between{
    justify-content: space-between;
}
.j-center{
    justify-content: center;
}
.j-end{
    justify-content: flex-end;
}
.a-center{
    align-items: center;
}
.a-start{
    align-items: flex-start;
}
.a-end{
    align-items: flex-end;
}
.dir-column{
    flex-direction: column;
}
.text-right{
    text-align: right;
}
.overlay{
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(37, 37, 37, 0.9);
    position: fixed;
    z-index: 34;
    display: none;
}
.btn{
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition:.3s;
    color:#fff;
    border:1px solid #fff;
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 18px;
    text-align: center;
}
.btn:hover{
    text-decoration: none;
    background: #fff;
    color:#000;
}
.page-main{
    position: relative;
    z-index: 1;   
}
.bg-fixed{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;            
    background-image: url('../images/bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
header{
    padding: 28px 0;
}
.header__contact{
    gap:34px;
    display: flex;
}
.header__contact a.btn{
    width:178px;
    height: 62px;
    background: #f3ecea;
    font-size:19px;
    transition: .3s;
    color:#5c5a5a;
    font-family: 'Lato-Medium';
    border-radius: 8px;
    border:none;
}
.header__contact a.btn:hover{
    background: #cdaf5a;
    font-family: 'Lato-Bold';
    color:#fff;
}
.header__contact a{
    font-size:30px;
    color:#fff;
    font-family: 'Lato-Regular';
    text-decoration: none;
}
.header__contact span{
    font-size:16px;
    color:#fff;
    font-family: 'Lato-Light';
    display: block;
    padding: 7px 0 0 0;
}
.header__contact span > span{
    display: inline-block;
    padding: 0;
}

.hero-promo{
    padding: 50px 0 0 0;
}
.hero-wrap{
    width: 100%;
    max-width: 800px;
}
.hero-wrap .label{
    background: #cdaf5a;
    padding: 13px 17px;
    font-size: 17px;
    color:#fff;
    font-family: 'Lato-Regular';
    display: inline-block;
    text-transform: uppercase;
    border-radius: 8px;
}
.hero-wrap h1{
    font-family: 'Lato-Bold';
    color:#fff;
    margin:14px 0 0 0;
    font-size: 99px;
    line-height: 95%;
}
.hero-wrap p{
    margin: 20px 0 0 0;
    font-size: 25px;
    color:#fff;
    font-family: 'Lato-Regular';
    line-height: 130%;
}
.hero__preims{
    padding: 13px 50px 0 0;
    display: flex;
    flex-wrap: wrap;
}
.hero__preims .item{
    margin: 57px 0 0 0;
    width: calc(100%/3);
}
.hero__preims .item p{
    margin: 10px 0 0 0;
    font-size: 20px;
    color:#fff;
    font-family: 'Lato-Regular';
    line-height: 120%;
}
.hero-form{
    padding: 30px 40px 40px 40px;
    border-radius: 8px;
    background: #f2ede9;
    margin: 70px 0 0 0;
    width: 100%;
    max-width: 430px;
}
.hero-form h3{
    margin:0;
    font-size: 37px;
    color:#262626;
    font-family: 'Lato-SemiBold';
    line-height: 110%;
}
.hero-form p{
    margin:15px 0 0 0;
    font-size: 18px;
    color:#888887;
    font-family: 'Lato-Regular';
}
.hero-form form{
    padding: 30px 0 0 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap:15px;
}
.hero-form .form-field{
    padding: 0 0 0 56px;
    height: 70px;
    background: #fff;
    border-radius: 8px;
    border:1px solid #fff;
}
.hero-form .form-field.error{
    border:1px solid #ff0000;
}
.hero-form .form-field.user{
    background: #fff url('../images/icon-user.png') no-repeat left 21px top 24px;
}
.hero-form .form-field.phone{
    background: #fff url('../images/icon-phone.png') no-repeat left 21px top 24px;
}
.hero-form input{
    width: 100%;
    height: 100%;
    outline: none;
    font-family: 'Lato-Regular';
    border:none;
    background: none;
    color:#000;
    font-size: 17px;
}
.hero-form input::-webkit-input-placeholder { 
    color:#a3a3a1; 
    font-size:17px;
    font-family: 'Lato-Regular';
}
.hero-form input:-moz-placeholder { 
    color:#a3a3a1; 
    font-size:17px;
    font-family: 'Lato-Regular'; 
}
.hero-form button{
    width: 100%;
    display: flex;
    align-items: center;
    padding: 0 0 0 57px;
    height:70px;
    border-radius: 8px;
    background: #5c5b5a url('../images/arrow-right.png') no-repeat right 56px top 29px;
    font-family: 'Lato-Medium';
    font-size: 19px;
    color:#fff;
    cursor: pointer;
    border:none;
    transition: .3s;
}
.hero-form button:hover{
    background: #cdaf5a url('../images/arrow-right.png') no-repeat right 56px top 29px;
}
.hero-form label{
    font-size: 13px;
    text-align: center;
    color:#6e6e6e;
    font-family: 'Lato-Light';
}
.hero-form label a{
    font-family: 'Lato-Light';
    text-decoration: underline;
    font-size: 13px;
    color:#6e6e6e;
}
.hero-form label a:hover{
    text-decoration: none;
}
footer{
    padding: 108px 0 45px 0;
}
footer p.adres{
    margin:0;
    padding: 0 0 0 49px;
    font-size: 20px;
    color:#fff;
    font-family: 'Lato-Regular';
    line-height: 120%;
    text-align: left;
    background: url('../images/icon-adres.png') no-repeat left top 6px;
}
footer p{
    margin:40px 0 0 0;
    padding: 0;
    text-align: right;
    font-size: 13px;
    color:#fff;
    font-family: 'Lato-Light';
    line-height: 120%;
}
.popup{
    display: none;
    width:100%;
    max-width: 680px;
    left:0;
    right:0;
    margin:auto;
    background: none;
    position: fixed;
    z-index: 35;
    top:50%;
    margin-top:-330px;
    padding: 45px 0 0 0;
}
.popup.active{
    display: block;
}
.popup .title{
    font-family: 'Lato-Bold';
    font-size: 80px;
    line-height: 104%;
    text-align: center;
    color: #fff;
    margin:0;
}
.popup form{
    margin: 40px auto 0;
}
.popup .title span{
    font-family: 'Lato-Regular';
    font-size: 27px;
    text-transform: none;
    display: block;
}
.popup .close{
    background: url('../images/icon-close.svg') no-repeat;
    position: absolute;
    right:0;
    top:0;
    cursor: pointer;
    z-index: 1;
    width:21px;
    height: 21px;
}
#thank{
    margin-top: -100px;
}
@media (max-width: 1600px) {
    .container{
        padding: 0 15px;
    }
}
@media (max-width: 1024px) {
    .hero-wrap,
    .hero-form{
        max-width: 100%;
    }
    footer p.adres{
        font-size:17px;
        background: url(../images/icon-adres.png) no-repeat left top 2px;
    }
    footer p{
        margin:10px 0 0 0;
    }
}
@media (max-width: 870px) {
    header img{
        max-width: 300px;
    }
    .hero-wrap h1{
        font-size:80px;
    }
    .hero-wrap p{
        font-size:20px;
    }
    .header__contact a.btn {
        width: 150px;
        height: 54px;
        font-size: 17px;
    }
    .header__contact a{
        font-size:28px;
    }
    .header__contact span {
        font-size: 15px;
        padding: 1px 0 0 0;
    }
    .header__contact{
        gap:15px;
    }
    footer{
        padding: 45px 0;
    }
    footer p{
        text-align: left;
        margin:25px 0 0 0;
    }
}
@media (max-width: 480px) {
    .container{
        padding: 0 10px;
    }
    .page-main{
        background: url('../images/bg-mobile.jpg') no-repeat top center;
        background-size: cover;
    }
    .bg-fixed{
        display: none;
    }
    header{
        padding: 20px 0;
    }
    header img{
        max-width: 235px;
    }
    .hero-promo{
        padding: 0;
    }
    .hero-wrap .label{
        font-size: 12px;
        padding: 8px;
    }
    .hero-wrap h1{
        font-size: 45px;
        margin: 21px 0 0 0;
    }
    
    .header__contact{
        text-align: right;
    }
    .header__contact a{
        font-size: 17px;
    }
    .header__contact span{
        font-size:12px;
        text-align: right;
        padding: 5px 0 0 0;
    }
    .header__contact span > span{
        display: none;
    }
    .header__contact span::first-letter{
        text-transform: uppercase;
    }
    .header__contact a.btn{
        display: none;
    }
    .hero-wrap p{
        font-size: 16px;
        margin: 15px 0 0 0;
    }
    .hero__preims{
        padding: 22px 0 0 0;
        justify-content: space-between;
    }
    .hero__preims .item p{
        font-size: 15px;
        margin:0;
    }
    .hero__preims .item {
        margin: 24px 0 0 0;
        width: calc(50% - 5px);
        display: flex;
        gap:15px;
        align-items: flex-start;
    }
    .hero__preims .item img{
        max-width: 32px;
    }
    .hero-form{
        margin: 45px 0 0 0;
        max-width: 100%;
        padding: 30px 25px 65px 25px;
    }
    .hero-form h3{
        font-size:25px;
    }
    .hero-form p{
        font-size: 15px;
    }
    .hero-form button{
        font-size: 17px;
        padding: 0 16px 0 0;
        background: #5c5b5a url(../images/arrow-right.png) no-repeat right 21% top 29px;
        justify-content: center;
    }
    .hero-form label{
        padding: 10px 0 0 0;
    }
    footer{
        padding: 45px 0 55px 0;
    }
    footer p.adres{
        font-size: 15px;
        background: url(../images/icon-adres.png) no-repeat left center;
        background-size: 24px auto;
        padding: 0 0 0 38px;
    }
    footer p{
        text-align: left;
        font-size: 12px;
        line-height: 130%;
    }
}