*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

/* ==== FOTNS ==== */
@font-face {
  font-family: "Exo2";
    src: url('../fonts/exo2-bold-russian.woff2') format('woff2'),
        url('../fonts/exo2-bold-russian.woff') format('woff'),
        url('../fonts/exo2-bold-russian.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
    src: url('../fonts/inter_18pt-regular.woff2') format('woff2'),
        url('../fonts/inter_18pt-regular.woff') format('woff'),
        url('../fonts/inter_18pt-regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
    src: url('../fonts/inter_18pt-medium.woff2') format('woff2'),
        url('../fonts/inter_18pt-medium.woff') format('woff'),
        url('../fonts/inter_18pt-medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ==== ROOT ==== */
:root{
    --text-dark: #CFC7BC;
    --bg: #FAF8F4;
    --main: #A98D66;
    --subtitle: #C3AD8F;
    --border: #CFC7BC;
    --dark: #46403A;
    --title: 'Exo2';
}
body{
    font-family: 'Inter';
    background: var(--bg);
}
p,a,button,input,img,h1,h2,h3,h4,span,ul,ol{
    margin: 0;
}
a{
    text-decoration: none;
    color: #2A2521;
}
h1,h2,h3{
    font-family: var(--title);
}
h1{
    font-size: 48px;
    line-height: 1.2;
    font-weight: 700;
}
h2{
    font-size: 36px;
    line-height: 1.3;
    color: #322F2B;
}
.container{
    max-width: 1420px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}
section{
    padding-top: 120px;
}
.top_page{
    margin-top: 180px;
}
.small{
    font-size: 14px;
}
p{
    line-height: 1.5;
    color: #2A2521;
}
button, input{
    border: 0px;
    outline: none;
    font-family: 'Inter';
    font-size: 16px;
}
::placeholder{
    font-family: 'Inter';
}
.btn_main{
    padding: 20px 32px;
    border-radius: 4px;
    background: transparent;
    color: #fff;
    font-weight: 500;
    font-family: 'Inter';
    font-size: 16px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid #C3AD8F;
    transition: transform .25s ease, box-shadow .25s ease;
    white-space: nowrap;
}
.btn_main:hover{
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(169, 141, 102, 0.4);
}
.btn_main span{
    position: relative;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn_main::after{
    content: "";
    display: block;
    background: linear-gradient(to right, #A98D66, #C3AD8F);
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    height: 100%;
    z-index: 1;
}
.btn_main::before{
    content: "";
    display: block;
    background: linear-gradient(to left, #A98D66, #C3AD8F);
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    height: 100%;
    z-index: 2;
    opacity: 0;
    transition: .3s;
}
.btn_main:hover::before{
    opacity: 1;
}
.btn_main.btn_main_border::after,
.btn_main.btn_main_border::before{
    background: transparent;
}
p.subtitle{
    font-size: 16px !important;
    color: var(--subtitle) !important;
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 8px;
}
p.subtitle::before{
    content: "";
    display: block;
    width: 40px;
    height: 1px;
    background: var(--subtitle);
}
input{
    border: 1px solid var(--border);
    padding: 20px 24px;
    flex-grow: 1;
    height: auto;
}

.flex{
    display: flex;
}
.wrap{
    flex-wrap: wrap;
}
.row{
    flex-direction: row;
}
.w_100{
    width: 100%;
}
.column{
    flex-direction: column;
}
.items-center{
    align-items: center;
}
.items-stretch{
    align-items: stretch;
}
.items-start{
    align-items: start;
}
.items-end{
    align-items: end;
}
.justify-start{
    justify-content: start;
}
.justify-center{
    justify-content: center;
}
.justify-between{
    justify-content: space-between;
}
.justify-end{
    justify-content: end;
}
.gap-4{
    gap: 4px;
}
.gap-8{
    gap: 8px;
}
.gap-12{
    gap: 12px;
}
.gap-16{
    gap: 16px;
}
.gap-24{
    gap: 24px;
}
.gap-32{
    gap: 32px;
}
.gap-40{
    gap: 40px;
}
.gap-48{
    gap: 48px;
}
.gap-56{
    gap: 56px;
}
.mt-8{
    margin-top: 8px;
}
.mt-16{
    margin-top: 16px;
}
.mt-24{
    margin-top: 24px;
}
.mt-32{
    margin-top: 32px;
}
.mt-56{
    margin-top: 56px;
}
.w_100{
    width: 100%;
}

/* ==== HEADER ==== */
header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}
.header_top{
    background: #2A2521;
    padding: 15px 0px;
    will-change: height, opacity, transform;
}
.header_top > .container{
    overflow: hidden;
}
.header_center{
    padding: 15px 0px;
}
.header_top a{
    color: var(--text-dark);
    position: relative;
}
.header_top a::before{
    opacity: 0;
    transition: .4s;
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background: var(--text-dark);
    position: absolute;
    bottom: 0;
}
.header_top a:hover::before{
    opacity: 0.7;
    bottom: -2px;
}
.header_top p{
    font-size: 12px;
    color: var(--text-dark);
    line-height: 1;
}
ul.nav{
    padding: 0;
    margin: 0;
}
ul.nav li{
    list-style: none;
}
ul.nav li a{
    font-size: 14px;
}
.logo img{
    height: 34px;
    width: auto;
}
.logo p{
    max-width: 150px;
    margin-left: 12px;
    padding: 2px 0px 2px 12px;
    border-left: 1px solid var(--main);
    line-height: 1.4;
}
.header_center_end p{
    font-size: 12px;
}
.header_center_social p{
    font-size: 14px;
    line-height: 1.3;
}
.header_center_social p span{
    font-weight: 500;
}
.header_center_social a{
    height: 40px;
    width: auto;
    aspect-ratio: 1;
}
.header_center_end a{
    font-size: 20px;
    font-weight: 500;
    color: #2A2521;
}
.veka_partner{
    padding: 12px;
    border-radius: 4px;
    border: 1px solid var(--border);
}
.veka_partner img{
    height: 20px;
    width: auto;
}
.veka_partner p{
    font-size: 12px;
    max-width: 180px;
}
.veka_partner p span{
    font-weight: 500;
}
.header_bottom .container{
    padding: 24px 32px;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0px 4px 10px rgb(0,0,0,0.05);
    will-change: max-width, border-radius, box-shadow;
}
.header_bottom ul.nav li a{
    font-size: 15px;
    transition: .3s;
}
.header_bottom ul.nav{
    max-width: 1420px;
}
.header_bottom ul.nav li a:hover{
    color: var(--main);
}
.header_center{
    background: var(--bg);
}

/* ==== MAIN ==== */
#main{
    padding: 180px 0px 260px 0px;
    background-image: linear-gradient(to right, #2A2521 10%, transparent), url('../img/main_bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.main_text{
    max-width: 820px;
}
#main h1{
    color: #fff;
}
#main p{
    color: #C5C5C5;
    font-size: 20px;
}

/* ==== FREE FORM ==== */
#free_form{
    margin-top: -120px;
    padding: 0px;
}
#free_form .container{
    background: var(--dark);
    border-radius: 8px;
    padding: 40px;
}
#free_form h2{
    font-size: 32px;
    color: #fff;
}
#free_form p{
    color: var(--text-dark);
    font-size: 20px;
}
#free_form input{
    background: transparent;
    color: #fff;
}
#free_form input::placeholder{
    color: #E5E5E5;
}