

:root{
    --background: #240809;
    --header-span: #D04851;
    --btns: #A52A2A;
    --btns-animation: #BF4141;
    --light: #FFEFF0;
    --main: #A52A2A;
    --text: #491013;
    --hight-dark:  #092029;
    --hight-dark-light: #A47E82;
    --light-text: #D4C9CA;
    --gradient:   linear-gradient(180deg, rgba(73, 16, 19, 0) 0%,  rgba(73, 16, 19, 0.8) 100%);
}

@font-face {
    font-family: 'Bebas Neue';
    src: url('../fonts/ofont.ru_Bebas Neue.ttf') format('truetype');
    font-weight: bold;
    font-display: swap;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: normal;
    color: var(--text);
    background: white;
}

h1,
h2,
h3,
h4,
h5,
p,
a,
ul {
    margin: 0;
    padding: 0;
}
a:hover {
    text-decoration: none !important;
}
.custom-container{
    margin-left: 40px;
    margin-right: 40px;
}
header{
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 20;

    transition: 0.3s all;
}

.logo .logo-text{
    fill: white;
    transition: 0.3s all;

}

header.active .logo .logo-text{
    transition: 0.3s all;
    fill: black;
}

header.active{
    background: white;
    transition: 0.3s all;
    border-bottom: 1px solid #e6e6e6
}
header .custom-container{
    display: flex;
    align-items: center;
}


header .right-content{
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 25px;
}
header ul{
    display: flex;
    align-items: center;
    gap: 30px;
}
header ul li{
    display: block;
}
header a, header p,header a:hover{
    text-transform: uppercase;
    color: white;
    font-size: 14px;
    font-weight: 500;
}
header.active a, header.active p,header.active a:hover{
    color: var(--text);
    transition: 0.3s all;
}
header  .burger path{
    transition: 0.3s all;
    stroke: white;
}
header.active .burger path{
    transition: 0.3s all;
    stroke: #BF787C;
}
header{
    padding-top: 10px;
    padding-bottom: 10px;
}
header .order-call{
    border-bottom: 1px solid white;
}
header.active .order-call{
    border-bottom: 1px solid var(--text);
}
.center-menu{
    display: flex;
    align-items: center;
    gap: 30px;
    padding-right: 40px;
}
.left-content{
    display: flex;
    align-items: center;
    width: 50%;
}
.left-content .center-menu{
    margin-left: auto;
}
section.header{
    display: flex;
    align-items: center;
    height: 100vh;
}
.left-header-background{
    width: 50%;
    background: var(--background);
        height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 40px;
}
.right-header-background{
    width: 50%;

    background: url("../img/header.webp") center center;
    background-size: cover;
    height: 100%;
}
h1{
    font-family: 'Bebas Neue', sans-serif;
    font-weight: bold;
    color: white;
    font-size: 90px;
    letter-spacing: -1.5px;
    line-height: 100%;
    max-width: 500px;
}
h1 span{
    display: block;
    color: var(--header-span);
}
.left-header-background p{
    color: var(--light-text);
    font-size: 16px;
    max-width: 350px;
    margin-top: 15px;
    margin-bottom: 60px;
}
.custom-btn{
    background: var(--btns);
    color: white;
    font-weight: 500;
    font-size: 16px;
    border-radius: 8px;
    padding: 15px 25px;
    transition: 0.3s all;
    display: inline-block;
}
.custom-btn:hover{
    color: white;
    background: var(--btns-animation);
    transition: 0.3s all;
}
section:not(:first-child){
    margin-top: 140px;
}
.flex-header{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 40px;
}
h2{
    font-family: 'Bebas Neue', sans-serif;
    font-weight: bold;

    letter-spacing: -1.5px;
    line-height: 100%;
    font-size: 60px;
    color: var(--hight-dark);
    max-width: 600px;
}
h2 span{
    display: block;
    color: var(--header-span);
}
span.flex-header-span{
    color: #323F44;
    font-size: 14px;
}
.flex-about-block{
    display: flex;
    align-items: center;
    height: 100vh;
}
.about-block-image{
    width: 50%;

    background: url("../img/about.webp") center center;
    background-size: cover;
    height: 100%;
}
.grid-about{
    width: 50%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 0px;
    row-gap: 0px;
    height: 100%;
}
.grid-about-item:nth-child(1){
    background: var(--background);
}
.grid-about-item:nth-child(2),.grid-about-item:nth-child(3){
    background: var(--light);
}
.grid-about-item:nth-child(4){
    background: var(--main);
}
.grid-about-item{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px;
}
h5{
    font-family: 'Bebas Neue', sans-serif;
    font-weight: bold;


    line-height: 100%;
    color: white;
    font-size: 30px;
}
h5 span{
    color: var(--header-span);
}
p.description-grid-about{
    color: var(--light-text);
    font-size: 16px;
    margin-top: 12px;
}
.grid-about-item-text{
    max-width: 260px;
}

.grid-about-item:nth-child(2) h5,.grid-about-item:nth-child(3) h5{
    color: var(--hight-dark);
}
.grid-about-item:nth-child(2) p,.grid-about-item:nth-child(3) p{
    color: var(--hight-dark-light);
}
.categories h2 span{
    display: unset;
}
.category-box{
    padding: 40px;
    height: 580px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.category-box img{
    position: absolute;
    height: 100%;
    width: 100%;
    object-fit: cover;
    left: 0;
    top: 0;
}

.flex-categories{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 20px;

}
.category-box-text{
    position: relative;
    z-index: 2;
}
.category-gradient{
    position: absolute;
    background: var(--gradient);
    height: 100%;
    width: 100%;
    left: 0;
    bottom: 0;
    z-index: 1;
}
.category-box-text{
    max-width: 550px;
}
.category-box-text p{
    color: var(--light-text);
    margin-top: 12px;
    margin-bottom: 30px;
}
.grey-background{
    background: #F8F8F8;
    padding-top: 140px;
    padding-bottom: 140px;
}
.grey-background section:first-child{
    margin-top: 0px;
}
.grid-services{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 50px;
    row-gap: 50px;
}
.service-item{
    height: 100%;
    background: white;
}
.service-image{
    height: 360px;
    width: 100%;
    position: relative;
    overflow: hidden;
}
.service-image img{
    position: absolute;
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.service-text h5{
        color: #092029;
   padding: 20px 20px;
}
.line{
    width: 100%;
    height: 1px;
    background: #A9BAC0;
    opacity: 0.4;
    margin-bottom: 30px;
}
.service-text .custom-btn{
    margin-left: 20px;
    margin-bottom: 20px;
    display: inline-block;
}
.tag{
    position: absolute;
    left: 20px;
    top: 20px;
    background: #FFFFFF;
    border-radius: 5px;
    z-index: 1;
    padding: 2px 22px;
    font-weight: 500;
}
.order-flex{
    display: flex;
    align-items: center;
    width: 100%;
    height: 100vh;
}
.left-order-content{
    width: 50%;
    height: 100%;

    background: url("../img/order.webp") center center;
    background-size: cover;
}
.right-order-content{
    width: 50%;
    background: var(--background);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.order-text{
    max-width: 360px;
    text-align: center;
}
.order-text h2{
    color: white;
    font-size: 45px;
}
.order-text p{
    margin-top: 20px;
    margin-bottom: 60px;
    color: var(--light-text);
    font-size: 16px;
}
.partners .flex-header{
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 18px;
    text-align: center;
    width: 100%;
}
.partners p{
    color: #323F44;
    text-align: center;
    max-width: 340px;
}
.partners p.partners-text{
    text-align: center;
    margin: 0 auto;
}
.grid-partners{
    /*display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 40px;

    row-gap: 40px;*/
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 35px;

}
.partner-item{
    background: white;
    aspect-ratio: 1/1;
    height: 260px;
    position: relative;
    overflow: hidden;
}
.partner-item img{
    position: absolute;
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.contacts-flex{
    display: flex;
    align-items: center;

}
.left-contacts-content,.right-contacts-content{
    width: 50%;
}
.left-contacts-content p{
    color: #323F44;
    margin-top: 20px;
    margin-bottom: 40px;
    max-width: 340px;
}
.grid-contacts{
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 40px;

    row-gap: 20px;
}
p.address{
    color: #323F44;
}
.grid-contacts-item span{
    color: #323F44;
}
.grid-contacts-item a, .grid-contacts-item p{
    font-family: 'Bebas Neue', sans-serif;
    font-weight: bold;
    font-size: 30px;
    display: block;
    color:  rgb(9, 32, 41);
}
.contacts .line{
    margin-top: 30px;
}
footer{
    background: #180506;
    padding-top: 80px;
    padding-bottom: 30px;
}
.footer-menu-block p{
    margin-bottom: 10px;
    color: #9E6D70;
    font-size: 14px;
    text-transform: uppercase;
}
.footer-menu-block ul li a{
    color: #FCEDEE;
    font-size: 14px;
    text-transform: uppercase;
}
.footer-menu-block ul{
    display: flex;
    flex-direction: column;
    gap: 9px;
}
.footer-menu-block ul li{
    display: block;
}
.footer-header-content{
    display: flex;
    align-items: flex-start;
    gap: 300px;
}
.footer-footer-content{
    padding-top: 115px;
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #9E6D70;
    justify-content: space-between;
}
.footer-footer-content a{
    font-size: 14px;
    color: #9E6D70;
}
.header:after{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 150px;
    width: 100%;
    background:  linear-gradient(180deg, rgba(36, 8, 9, 0.5) 0%, rgba(36, 8, 9, 0) 100%);
}
.burger-menu{
    transition: 0.3s all;
    transform: translateY(-100%);
    padding-top: 10px;
    padding-bottom: 40px;
    position: fixed;
    height: 100%;
    width: 50%;
    background: var(--background);
    z-index:  100;
}
.burger-menu.active{
    transition: 0.3s all;
    transform: translateY(0%);
}
.burger-menu .custom-container{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}
.grid-footer-burger-menu{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 30px;

    row-gap: 50px;
}
.grid-footer-burger-menu p{
    color: #FCEDEE;
    font-size: 14px;
    text-transform: uppercase;
}
.header-burger-menu ul li{
    display: block;
}
.header-burger-menu ul{
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.header-burger-menu ul a{
    color: #FCEDEE;
    font-size: 14px;
    text-transform: uppercase;
}
.grid-burger-item .phone{
    font-family: 'Bebas Neue', sans-serif;
    font-weight: bold;
    font-size: 30px;
    display: block;
    color: #FCEDEE;
}
.btn-call{
    color: #FCEDEE;
    font-size: 12px;
    text-transform: uppercase;
    border-bottom: 1px solid #FCEDEE;
}
.cross{
    position: absolute;
    top: 40px;
    right: 40px;
    cursor: pointer;
}
.cross img,.cross-modal img{
    max-width: 35px;
}
.burger{
    cursor: pointer;
}
footer{
    position: relative;
    overflow: hidden;
}
footer .logo-footer{
    position: absolute;
    right: 40px;
    bottom: -10%;
}
footer .custom-container{
    position: relative;
    z-index: 1;
}
.grid-about-item:nth-child(1){
    background: var(--background);
}
.grid-about-item:nth-child(2),.grid-about-item:nth-child(4){
    background: var(--light);
}
.grid-about-item:nth-child(2) h5,.grid-about-item:nth-child(4) h5{
    color: var(--hight-dark);
}
.grid-about-item:nth-child(2) p,.grid-about-item:nth-child(4) p{
    color: var(--hight-dark-light);
}
.grid-about-item:nth-child(5){
    background: var(--main);
}

.grid-about-item:nth-child(3){
    background: unset;
    display: none;
}
.fixed-modal{
    background: rgba(0,0,0,0.5);
    position: fixed;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
    z-index: 105;
}
.my-modal-container{
    padding: 40px 45px;
    background: var(--light);
    position: absolute;
    top: 50%;
    left: 20px;
    right: 20px;
    transform: translateY(-50%);
    margin: 0 auto;
    width: auto;
    max-width: 760px;
}
.my-modal-container{
    text-align: center;
}
.my-modal-title h5{
    color: black;
}
.my-modal-title p{
    font-size: 15px;
    margin-top: 10px;
}
.my-modal-container form{
    margin-top: 30px;
}
form input,form textarea{
    width: 100%;

    color: #323f44;
    background-color: #ffffff;
    border-radius: 8px;
    font-weight: 400;
    border: none;
    padding: 0 20px;
    height: 60px;
    line-height: 1.33;
    margin-bottom: 10px;

}
form textarea{
    height: auto;
    padding: 20px 20px;
    resize: none;
}
form button{
    cursor: pointer;
    width: 100%;
    border: none;
}
button,input,select,textarea{
    outline: none !important;
}
p.policy{
    color: #757575;
    margin-top: 20px;
    font-size: 14px;
}
.cross-modal{
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 20px;
}
ul.bread li {
    display: inline-block;
    font-weight: 500;
    opacity: 0.6;
}
ul.bread li a {
    color: black;
}
.bread-container{
    padding-top: 100px;
}
.no-main section:nth-child(2){
    margin-top: 50px;
}
.about-2-header{
    text-align: center;
    margin: 0 auto;
    max-width: 600px;
}
.about-2-header h5{
    max-width: unset;
}
.about-2-header p{
    color: #323F44;
    text-align: center;
    margin-top: 20px;

}
.no-main .grey-background{
    padding-top: 80px;
    padding-bottom: 80px;
}
.grid-about-2{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 30px;
    margin-top: 50px;
}
.grid-about-2-image{
    width: 100%;
    background: url(../img/about1.webp) center center;
    background-size: cover;
    height: 620px;
}
.about-1-image{
    width: 100%;
    background: url(../img/about2.webp) center center;
    background-size: cover;
    height: 500px;
}
.grid-about-2-icons{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 0px;
    row-gap: 0px;
}
.grid-about-2-icons .grid-about-item {
    background: none;
}
.grid-about-2-icons  .grid-about-item h5{
    color: var(--hight-dark);
}
.grid-about-2-icons p.description-grid-about{
    color: var(--hight-dark-light);
}
.about-1-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 30px;
    margin-bottom: 30px;
}
.about-1-header p{
    margin-top: 10px;
    opacity: 0.6;
    max-width: 500px;
}
.about-1-about{
    align-content: center;
}
.grid-about-2-icons .grid-about-item:nth-child(3){
    display: block;
}
.full-image{
    position: relative;
    overflow: hidden;
}
.full-image img{
    position: absolute;
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.header.full-image:after{
    background: linear-gradient(180deg, rgba(36, 8, 9, 0.5) 0%, rgba(36, 8, 9, 0) 50%, rgba(36, 8, 9, 0.8) 100%);
    height: 100%;
}
.header-direction-title{
    padding: 40px;
    position: absolute;
    bottom: 0;
    z-index: 2;

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 30px;
    width: 100%;
}
.text-title{
    align-content: flex-end;
}
.text-title p {
    max-width: 500px;
    color: var(--light-text);
    margin-bottom: 30px;
}
.btn-call:hover{
    color: #FCEDEE;
}
.fixed-loader{
    position: fixed;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
    z-index: 99999;
    background: white;
}
.loader-center {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}


.loader-center path {

    -webkit-animation: dash 3s ease-in-out;
    -moz-animation: dash 3s ease-in-out;
    -o-animation: dash 3s ease-in-out;
    animation: dash 3s ease-in-out;
    transition: .3s;
}

@keyframes dash {
    0% {

        fill-opacity: 0;
    }

    100% {

        fill-opacity: 1;
    }
}


@media screen and (max-width: 992px){

    .grid-about-item:nth-child(3){

        display: block;
    }
    .right-content,.center-menu ul{
        display: none !important;
    }
    .left-content{
        width: 100%;
        justify-content: space-between;
    }
    .center-menu{
        padding-right: 0px;
    }
    h1{
        font-size: 58px;
    }
    section.header{
        flex-direction: column;
    }
    .left-header-background,.right-header-background{
        width: 100%;
        height: 50%;
    }
    .left-header-background{
        order: 2;
        padding-top: 30px;
        justify-content: flex-start;
    }
    .right-header-background{
        order: 1;
    }
    .custom-container{
        margin-left: 20px;
        margin-right: 20px;
    }
    .left-header-background p{
        margin-bottom: 20px;
        font-size: 14px;
    }
    h2{
        font-size: 40px;
    }
    .flex-header{
        flex-direction: column;
        gap: 15px;
    }
    .flex-header .flex-header-span{
        order: 1;
    }
    .flex-header h2{
        order: 2;
    }
    h5{
        font-size: 26px;
    }
    .about-block-image{
        display: none;
    }
    .grid-about{
        width: 100%;
        grid-template-columns: repeat(1, 1fr);
        row-gap: 20px;

    }
    .grid-about-item-text{
        padding-top: 60px;
    }
    .flex-about-block{
        height: unset;
        margin-left: 20px;
        margin-right: 20px;
    }

    .grid-about-item.about-block-image{
        display: block;
        height: 340px;
        width: 100%;
        background: url(../img/about.webp) center center;
        background-size: cover;

    }
    .flex-categories{
        grid-template-columns: repeat(1, 1fr);
        row-gap: 20px;
    }
    .category-box{
        height: unset;
        aspect-ratio: 1/1;
        padding: 20px;
    }
    .category-box-text p{
        margin-bottom: 20px;
        font-size: 14px;
    }
    .custom-btn{
        font-size: 14px;
    }
    .grey-background{
        padding-top: 100px;
        padding-bottom: 100px;
    }
    section:not(:first-child){
        margin-top: 100px;
    }
    .grid-services{
        grid-template-columns: repeat(1, 1fr);
        row-gap: 20px;
    }
    .service-image{
        height: 250px;
    }
    .tag{
        font-size: 14px;
    }
    .order-flex{
        flex-direction: column;
    }
    .left-order-content,.right-order-content{
        width: 100%;
        height: 50%;

    }
    .order-text h2{
            font-size: 40px;
    }
    .order-text p{
        font-size: 14px;
        margin-bottom: 20px;
    }
    .partners p{
        font-size: 14px;
        max-width: 70%;
    }
    .flex-header{
        margin-bottom: 30px;
    }
    .grid-partners{
        flex-wrap: wrap;
        gap: 20px;
    }
    .partner-item{
        height: 150px;
    }
    .contacts-flex{
        flex-direction: column;
        gap: 30px;
        align-items: flex-start;
    }
    .left-contacts-content, .right-contacts-content{
        width: 100%;
    }
    .grid-contacts{
        grid-template-columns: repeat(1, 1fr);
    }
    .logo{
        height: 40px;
        width: 155.84px;
    }
    .footer-footer-content{
        font-size: 12px;
        align-items: flex-end;
    }
    .footer-menu-block ul li a,.footer-menu-block p,.footer-footer-content a{
        font-size: 12px;
    }
    .footer-menu-block ul{
        gap: 0px;
    }
    .footer-menu-block p{
        margin-bottom: 8px;
    }
    .footer-header-content{
        flex-direction: column;
        gap: 40px;
    }
    footer{
        padding-top:40px;
    }
    footer .logo-footer{

        right: 20px;

    }
    .header:after{
        height: 250px;
    }
    .right-header-background,.left-order-content{
        height: 350px;
    }
    section.header{
        height: unset;
    }
    .burger-menu{
        width: 100%;
    }
    .grid-footer-burger-menu{
        grid-template-columns: repeat(1, 1fr);
        row-gap: 20px;
    }
    .grid-burger-item:nth-child(2){
        display: none;
    }
    .cross img, .cross-modal img{
        max-width: 30px;
    }
    .cross{
        right: 20px;
        top: 20px;
    }
    #map{
        height: 300px;
    }
    .order-flex{
        height: unset;
    }
    .right-order-content{
        padding-top: 40px;
        padding-bottom: 40px;
    }
    .my-modal-container{
        padding-top: 90px;
        max-width: unset;
        width: 100%;
        left: 0;
        right: 0;
        height: 100%;
    }
    .cross-modal{
        z-index: 1;
    }
    .about-1-grid{
        grid-template-columns: repeat(1, 1fr);
        row-gap: 30px;
    }
    .about-1-image{
        height: unset;
        aspect-ratio: 1/1;
    }
    .grid-about-2{
        display: flex;
        flex-direction: column;
        gap: 30px;
    }
    .grid-about-2-image{
        order: 1;
    }
    .grid-about-2-icons{
        order: 2;
    }
    .grid-about-2-image{
        height: unset;
        aspect-ratio: 1/1;
    }
    .grid-about-2-icons{
        grid-template-columns: repeat(1, 1fr);
        row-gap: 20px;
    }
    .grid-about-2-icons .grid-about-item{
        padding: 0px;
    }
    .grid-about-2-icons p.description-grid-about{
        font-size: 14px;
    }
    .grid-about-2-icons .grid-about-item-text{
        padding-top: 30px;
    }
    .about-1-about p{
        font-size: 14px;
    }
    .about-1-header p{
        font-size: 14px;
    }
    ul.bread li{
        font-size: 14px;
    }
    .left-contacts-content p{
        font-size: 14px;
    }
    .full-image{
        height: 100vh !important;
    }
    .header-direction-title{
        grid-template-columns: repeat(1,1fr);
        row-gap: 20px;
        padding: 20px;
    }
    .text-title p{
        font-size: 14px;
        margin-bottom: 15px;
    }

}
