/* ==== FOTNS ==== */
@font-face {
  font-family: "Exo";
    src: url('/static/fonts/Exo.woff') format('woff2'),
        url('/static/fonts/Exo.woff') format('woff'),
        url('/static/fonts/Exo.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Exo";
    src: url('/static/fonts/Exo_semibold.woff2') format('woff2'),
        url('/static/fonts/Exo_semibold.woff') format('woff'),
        url('/static/fonts/Exo_semibold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ==== ROOT ==== */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html{
    scroll-behavior: smooth;
    scroll-margin-top: 80px;
}
:root{
    --container: 1200px;
    --container-big: 1420px;
    --title: #282828;
    --text: #000000;
    --border: #D9D9D9;
    --btn: #32382C;
    --main: #C2D23B;
    --main-hover: #E5F376;
    --bg: #F6F6F6;
}
body{
    font-family: 'Exo';
    background: var(--bg);
}
.container{
    max-width: var(--container);
    margin-left: auto;
    margin-right: auto;
}
section{
    padding-top: 64px;
}
.bg_grid{
    position: relative;
    z-index: 2;
}
.top_page{
    padding-top: 190px;
}
h1{
    font-size: 48px;
    font-weight: 600;
    color: var(--title);
    line-height: 1.1;
    letter-spacing: -2px;
}
h2{
    font-size: 36px;
    font-weight: 600;
    color: var(--title);
    line-height: 1.3;
    letter-spacing: -2px;
}
h3{
    font-size: 22px;
    font-weight: 600;
    color: var(--title);
    line-height: 1.2;
    letter-spacing: -1px; 
}
p, a, li{
    color: var(--text);
    line-height: 1.4;
    font-size: 16px;
    font-weight: 400;
}
a{
    text-decoration: none;
}
button, input{
    border: 0px;
    font-family: 'Exo';
}
button:focus, button:active,
input:focus, input:active{
    outline: none;
}
button{
    cursor: pointer;
}
.btn_main{
    padding: 16px 40px;
    color: var(--btn);
    background: var(--main);
    border-radius: 10px;
    font-size: 16px;
    line-height: 1.1;
    transition: .3s;
    border: 1px solid var(--main);
}
.btn_main_border{
    padding: 8px 20px;
    background: transparent;
    border: 1px solid #D8D8D8;
    font-size: 14px;
}
.btn_main_black{
    background: #000;
    border: 1px solid #000;
    color: #fff;
}
.btn_main:hover{
    box-shadow: 0px 4px 10px #c3d23b4d;
}
.btn_main.btn_main_black:hover,
.btn_main.btn_main_border:hover{
   box-shadow: 0px 4px 10px #0000001f;
}
.title{
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
    gap: 8px;
}
.title span{
    height: 14px;
    width: 14px;
    border-radius: 50%;
    background: var(--main);
}
.title p{
    font-size: 14px;
    text-transform: uppercase;
}
.title p::after{
    content: "]";
}
.title p::before{
    content: "[";
}
.top_text{
    width: 100%;
}
.top_text p{
    max-width: 400px;
}
.white_section{
    padding: 64px 0px;
    margin-top: 64px;
    background: #fff;
}
input{
    padding: 15px;
    background: #fff;
    border-radius: 10px;
    font-size: 16px;
    width: calc(50% - 8px);
}
ul{
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
    gap: 4px;
    padding-left: 20px;
}
.flex{
    display: flex;
}
.wrap{
    flex-wrap: wrap;
}
.row{
    flex-direction: row;
}
.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;
}
.w_100{
    width: 100%;
}
.gap-4{
    gap: 4px;
}
.gap-8{
    gap: 8px;
}
.gap-16{
    gap: 16px;
}
.gap-24{
    gap: 24px;
}
.gap-32{
    gap: 32px;
}
.gap-40{
    gap: 40px;
}
.gap-48{
    gap: 48px;
}
.mt-8{
    margin-top: 8px;
}
.mt-8{
    margin-top: 8px;
}
.mt-24{
    margin-top: 24px;
}
.mt-48{
    margin-top: 48px;
}

/* ==== SWIPER ==== */
.swiper{
    width: 100%;
    position: relative;
}
.swiper-pagination{
    position: absolute;
    bottom: 20px !important;
    z-index: 10;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.swiper-pagination-bullet{
    display: block;
    height: 14px;
    width: 14px;
    border: 1px solid #ffffff7f;
    background: transparent;
    opacity: 1;
    margin: 0 !important;
}
.swiper-pagination-bullet-active{
    background: var(--main);
    border: 1px solid var(--main);
}
.swiper-navigation{
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 16px;
}
.swiper-navigation button{
    height: 48px;
    width: 48px;
    border-radius: 10px;
    background: var(--main);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .3s;
}
.swiper-navigation button:hover{
    background: var(--main-hover);
}
.swiper-navigation button.disabled{
    background: #EAEAEA;
}

/* ==== HEADER ==== */
header{
    padding: 20px 0px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid #ffffff31;
    transition: .3s;
}
.header_active{
    background: #000000b9;
    backdrop-filter: blur(20px);
}
.logo img{
    height: 60px;
}
header .btn_main{
    font-size: 14px;
    padding: 12px 30px;
    background: #32382CC9;
    backdrop-filter: blur(20px);
    color: #fff;
    border: 1px solid #32382c1a;
}
header.header_active .btn_main{
    background: var(--main);
    color: var(--btn);
}
.social_row a img{
    filter: grayscale(1) brightness(1000);
    height: 40px;
}
ul.nav{
    padding-left: 0;
    flex-direction: row;
    gap: 40px;
}
ul.nav li{
    list-style: none;
}
ul.nav li a{
    color: #fff;
}

/* ==== MAIN ==== */
#main{
    padding: 0;
    position: relative;
}
.swiper_main{
    position: relative;
    height: auto;
    min-height: 100vh;
}
.border_right{
    position: absolute;
    right: 10%;
    height: 100%;
    width: 1px;
    background: #ffffff31;
    top: 0;
    z-index: 3;
}
.border_left{
    position: absolute;
    left: 10%;
    height: 100%;
    width: 1px;
    background: #ffffff31;
    top: 0;
    z-index: 3;
}
.border_bottom{
    position: absolute;
    bottom: 70px;
    left: 0;
    width: 100%;
    height: 1px;
    background: #ffffff31;
    z-index: 3;
}
.swiper_main .bg_main{
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    object-fit: cover;
    overflow: hidden;
}
.swiper_main .bg_main video,
.swiper_main .bg_main img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.video_bg{
    height: 100%;
}
.swiper_main .bg_main::before{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    display: block;
    top: 0;
    left: 0;
    background-image: url('/static/img/img_ms/bg_main.webp');
    background-size: cover;
    background-position: top left;
    background-repeat: no-repeat;
    z-index: 2;
}
#main .container{
    position: relative;
    z-index: 4;
    padding-right: 24%;
}
#main h1{
    color: #fff;
}
#main p{
    text-transform: uppercase;
    color: #fff;
}
.swiper_main .swiper-slide{
    height: 100%;
    padding-bottom: 110px;
}
.swiper_main .swiper-slide .container{
    height: 100%;
}
.swiper_main .swiper-wrapper{
    height: 100vh;
}

/* chat */
.chats{
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10;
}
.chats_toggle{
    height: 56px;
    width: 56px;
    border-radius: 100px;
    background: var(--main);
    position: relative;
    box-shadow: 0px 0px 10px rgba(144, 201, 38, 0.4);
    transition: .3s;
    cursor: pointer;
    z-index: 13;
}
.open .chats_toggle{
    background: #fff;
}
.chats_toggle img{
    position: absolute;
    opacity: 1;
    transition: .3s;
}
.chats_toggle img:last-child{
    opacity: 0;
}
.close .chats_toggle img:first-child, .open .chats_toggle img:last-child{
    animation: chat_close .3s ease forwards;
}
.open .chats_toggle img:first-child, .close .chats_toggle img:last-child{
    animation: chat_open .3s ease forwards;
}
.chats_row{
    position: absolute;
    opacity: 0;
    padding-left: 6px;
    z-index: 11;
}
.chats_row a img, .chats_row a{
    height: 48px;
    width: 48px;
}
.chats_row a{
    border-radius: 50%;
    background: #fff;
}
.open .chats_row{
    animation: chats_row_open .3s ease forwards;
}
.close .chats_row{
    animation: chats_row_close .3s ease forwards;
}
@keyframes chat_open {
    0%{
        transform: scale(1);
        opacity: 1;
    }
    100%{
        transform: scale(0.6);
        opacity: 0;
    }
}
@keyframes chat_close{
    0%{
        transform: scale(0.6);
        opacity: 0;
    }
    100%{
        transform: scale(1);
        opacity: 1;
    }
}
@keyframes chats_row_open {
    0%{
        transform: translate(0, -140px);
        opacity: 0;
    }
    100%{
        transform: translate(0, -190px);
        opacity: 1;
    }
}
@keyframes chats_row_close {
    0%{
        transform: translate(0, -190px);
        opacity: 1;
    }
    100%{
        transform: translate(0, -140px);
        opacity: 0;
    }
}

/* cookie-banner */
.cookie-banner{
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 100%;
    max-width: 340px;
    background: rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 30px rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 24px;
    z-index: 99999;
    display: none;
}
.cookie-banner p{
    font-size: 14px;
}
.cookie-banner a{
    font-size: 14px;
    text-decoration: underline;
}

/* display: none */
.burger, .secret_menu, .mobile,
#rating .swiper-pagination, #otz .swiper-pagination,
#portfolio .swiper-pagination, .mobile_text_productions,
#preim .swiper-pagination{
    display: none;
}