/* CSS Document */

*, html {margin:0; padding:0;}
html {
    scroll-behavior: smooth;
}
*, *:after, *:before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing:border-box;
    box-sizing:border-box;
    padding:0; margin: 0;
}
.clear {clear:both;}
body {
    font: 400 14px 'Montserrat', sans-serif;
    color: var(--main-color);
    background: var(--bg-main-color);
}
section, .container, FOOTER {
    width:100%;
    clear:both;
}
article {
    max-width:1400px;
    margin:0 auto;
    padding: 100px 20px;
    position: relative;
    z-index: 10;
}
.content {
    max-width:1400px;
    margin:0 auto 20px;
    z-index: 10;
}

img, embed, object, video, iframe {max-width: 100%;}
img {display: block;}

H1 {
    margin: 0px 0 70px;
    text-shadow: 2px 2px 1px #222;
    color: var(--H1-color);
    position: relative;
    &:before {
        content: '';
        width: 5em;
        height: 5px;
        background: red;
        position: absolute;
        bottom: -20px;
        left: 0;
    }
}
H1 span {
    line-height: 60px;
    color: transparent;
    padding: 5px;
    background-color: rgba(255, 255, 255, .8);
    -webkit-box-decoration-break: clone;
}
H2 {
    font-size: 45px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--H2-color);
}
H3 {
    font-size: 30px;
    font-weight: 300;
    line-height: 1em;
    margin: 20px 0;
    color: var(--H3-color);
}
H3 span {
    display: block;
    font-size: 0.8em;
    opacity: .8;
}
H4 {
    margin-bottom: 5px;
    font-size: 18px;
    line-height: 1em;
    font-weight: 500;
    color: #333;
}
p {margin-bottom: 10px;}
p strong {font-weight: 600;}
a {color: inherit;}
a:hover {text-decoration: none;}
.none {display: none !important;}

ol {counter-reset: li;}
ol li {
    list-style: none;
    font-size: var(--li-font-size);
    text-align: left;
    margin-bottom: 20px;
    padding: 40px 0 0;
    position: relative;

    &:before {
        display: initial;
        position: absolute;
        top: -1px;
        left: -1px;
        font-size: 34px;
        color: inherit;
        /*content: counter(li, decimal-leading-zero) ".";*/
        content: counter(li, decimal-leading);
        counter-increment: li;}
}


/******************************************** FLEX BLOCKS **************************************/
.flex {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
}

.blocks-2 li, .blocks-3 li, .blocks-4 li {list-style: none; }
.blocks-2 li {flex-basis: calc(50% - 15px); margin-bottom: 30px;}
.blocks-3 li {flex-basis: calc(33.33% - 20px); margin-bottom: 30px; }
.blocks-4 li {flex-basis: calc(25% - 10px); margin-bottom: 20px; }

.shadow-blocks li {
    box-shadow: 2px 2px 10px #999;
    margin-bottom: 4%;
}

.box-blocks li {}
.box-blocks.blocks2 li, .box-blocks.blocks2 div {padding: 30px 25px;}
.box-blocks.numbered_blocks li {
    padding: 0px 0 0 45px;
    margin-bottom: 5px;
}
.flex li H3 {
    margin: 0 0 5px;
}
.blocks2 div, .blocks2 li,
.blocks3 div, .blocks3 li,
.blocks4 div, .blocks4 li {
    position: relative;
    z-index: 10;
    list-style: none;
}
.blocks2 li, .blocks2 div, .blocks2 article {
    flex-basis: 49%;
    margin-bottom: 2%;
}
.blocks3 li, .blocks3 div, .blocks3 article {
    flex-basis: 32%;
    margin-bottom: 2%;
}
.blocks4 li, .blocks4 div, .blocks4 article {
    flex-basis: calc(25% - 15px);
    margin-bottom: 3%;
}

/****************************************** COLORS **************************************/
:root {
    --main-color: #555;
    --bg-main-color: #EFEFF4;
    --add-color: #D12027;
    --text1-color: #333;
    --text2-color: #777;
    --H1-color: #FFF;
    --H2-color: black;
    --H3-color: #222;
    --button-color: #E5B52B;
}

.white {background:var(--bg-color); --bg-color:#FFF;}
.snowwhite {--bg-color:#F7F9F8; background-color: var(--bg-color);}
.beige {background-color:var(--bg-color); --bg-color:beige;}
.lightblue {--bg-color:aliceblue;}
.grey {--bg-color:#F2F2F2; background-color: var(--bg-color);}
.dark-grey {--bg-color: grey; background-color: var(--bg-color);}


/****************************************** HEADER **************************************/
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}
.site-header__inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 24px;
}
.site-header__logo {
    flex-shrink: 0;
}
.site-header__logo img {
    height: 48px;
    width: auto;
}
.site-header__nav {
    display: flex;
    gap: 28px;
    margin-right: auto;
}
.site-header__contact-menu-toggle {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.site-header__contact-toggle {
    display: none;
}
.site-header__menu {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}
.site-header__contacts {
    display: flex;
    align-items: center;
    gap: 16px;
}
.site-header__nav a {
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    color: var(--text1-color);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    transition: color 0.3s;
}
.site-header__nav a:hover {
    color: var(--add-color);
}
.site-header__phone {
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    color: var(--text1-color);
    white-space: nowrap;
    transition: color 0.3s;
}
.site-header__phone:hover {
    color: var(--add-color);
}
.site-header__cta.button {
    display: inline-block;
    padding: 12px 24px;
    background: var(--add-color);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    white-space: nowrap;
    transition: all 0.3s;
}
.site-header__cta.button:hover {
    color: #FFF;
    outline-color: white;
    background-color: red;
}


.site-header__email {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

.site-header__email:hover {
    color: #D12027;
}

/****************************************** HERO **************************************/
.hero {
    background: var(--bg-main-color);
    overflow: hidden;
}
.hero__inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-flow: row nowrap;
    align-items: stretch;
    min-height: 560px;
    position: relative;
}
.hero__content {
    flex: 0 0 52%;
    padding: 200px 40px 60px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
	min-width: 0;
}
.hero__visual {
    flex: 0 0 48%;
    position: relative;
    min-height: 560px;
    margin-right: calc(50% - 50vw);
    overflow: visible;
	min-width: 0;
}
.hero__mosaic {
    display: grid;
    /* grid-template-columns: 1fr 1fr; */
    /* grid-template-rows: 1fr 1fr; */
    width: 100%;
    height: 100%;
    min-height: 560px;
}
.hero__cell {
    position: relative;
    overflow: hidden;
}
.hero__cell--black {
    background: url('../img/1-1.png') no-repeat center top;
    background-size: cover;
    position: absolute;
    top: 00;
    left: -380px;
    width: 486px;
    height: 90px;
    z-index: -1;
}
.hero__cell--red {
    background: var(--add-color);
    z-index: 1;
    position: absolute;
    top: 0px;
    left: 125px;
    width: 550px;
    height: 90px;
}
.hero__cell--exhibition {
    background: url('../img/hero/4192-crop-color-dark-mid.png') no-repeat right top;
    background-size: 100% auto;
    z-index: -1;
    position: absolute;
    top: 90px;
    left: -144px;
    width: 269px;
    height: 407px;
}
.hero__cell--photo {
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4;
    position: relative;
    /* left: -90px; */
    /* right: -20px; */
    top: 70px;
    /* bottom: -10px; */
}
.hero__cell--photo img {
    width: 100%;
    /* max-width: 550px; */
    height: auto;
    display: block;
    border-radius: 15px;
    object-fit: cover;
    /* aspect-ratio: 1 / 1; */
}
.hero__overline {
    margin: 0 0 16px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--add-color);
}
.hero__title {
    margin: 0 0 24px;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.15;
    color: #1a1a1a;
    text-shadow: none;
    max-width: 650px;
}
.hero__title:before {
    display: none;
}
.hero__description {
    margin: 0 0 28px;
    font-size: 18px;
    line-height: 1.4;
    color: var(--text1-color);
    max-width: 540px;
}
.hero__badge {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 32px;
    padding: 16px 20px;
    max-width: 540px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text1-color);
    background: #fff;
    border-radius: 12px;
    border-left: 4px solid var(--add-color);
}
.hero__badge-icon {
    flex-shrink: 0;
    font-weight: 700;
    color: var(--add-color);
}
.hero__btn.button,
.section-order-link.button {
    display: inline-block;
    align-self: flex-start;
    padding: 16px 32px;
    background: var(--add-color);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    transition: background 0.2s;
}
.hero__btn.button:hover,
.section-order-link.button:hover {
    background: #b01a20;
}
.section-order-link-wrap {
    width: 100%;
    text-align: center;
    margin: 20px 0 0;
}
/******************************************** SIDE-IMG-BLOCK **************************************/
.side-img-block article {
    /*max-width: 100%;*/
    /*padding-left: calc((100% - 1200px)/2);*/
    padding-left: 0;
    padding-right: 0;
    display: flex;
    flex-flow: row wrap;
}
.side-img-block H2 {
    flex-basis: 100%;
    max-width: 11em;
    text-align: center;
}
.side-img-block div:nth-child(1),
.side-img-block div:nth-child(2),
.side-img-block figure {
    flex-basis: 50%;
    max-width: 50%;
}
.side-img-block figure {
    background-size: cover;
    align-content: center;
}
.side-img-block div:nth-child(1), .side-img-block div:nth-child(2) {
    padding: 70px 30px;
    /*padding-right: calc((100% - 1200px)/2);*/
}


/******************************************* ADDRESS ***************************************/

address {
    display: flex;
    flex-basis: 100%;
    padding-top: 20px;
    margin-bottom: 15px;
    flex-flow: row wrap;
    border-radius: 70px;
    background-color: white;
}
address.content {padding-top: 0;}
address H3, address H4 {flex-basis: 100%; text-align: center;}
address H4 {
    font-size: 25px;
    color: floralwhite;
}
address .button i.fa {font-size: 45px;}
address .button span:after {display: none;}
address a.telegram {
    --main-color: deepskyblue;
    --add-color: white;
    color: var(--main-color);
}

address p, address a {position: relative; }
address a {
    padding: 5px 0px;
    display: flex;
    align-items: center;
    text-decoration: none;
    font-size: 18px;
}
address a span {
    position: relative;
    &:after {
        content: '';
        width: 0%;
        height: 2px;
        position: absolute;
        left: 0px;
        bottom: -0px;
        max-width: calc(100% - 0px);
        background-color: var(--main-color);
        -webkit-transition: all 0.3s ease 0s;
        -moz-transition: all 0.3s ease 0s;
        -ms-transition: all 0.3s ease 0s;
        -o-transition: all 0.3s ease 0s;
        transition: all 0.3s ease 0s;}
}
address a:hover span:after {width: 100%;}
address a strong {
    display: block;
    font-weight: 400;
}
.fa {
    display: block;
    margin-right: 20px;
    width: 54px;
    height: 54px;
    text-align: center;
    font-size: 36px;
    color: white;
    background-color: #D12027;
    border-radius: 50%;
    align-content: center;
    &:before {display: initial;}
}
.fa-telegram {font-size: 45px;}
address.tel a:hover {opacity: 1; }


address .max-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

address .max-icon img {
    display: block;
    width: 28px;
    height: 28px;
}


/**************************************** FOOTER ****************************************/
FOOTER {position: relative;}
FOOTER H2 {margin-bottom: 50px;}
FOOTER H3 {}
FOOTER H4 {
    color: white;
    font-size: 20px;
    font-weight: 300;
}
FOOTER address {
    flex-direction: column;
    --address-color:#222;
    max-width: 450px;
    padding: 6px 50px 3px 25px;
    padding: 20px 50px 20px 25px;
    font-style: normal;
}
FOOTER address:nth-of-type(1), FOOTER address:nth-of-type(2) {
    background: white url(../img/9-1.png) no-repeat 23px center;
    background-size: 55px;
    padding-left: 100px;
}
FOOTER address:nth-of-type(2) {background-image: url(../img/9-2.png);}
FOOTER p {
    margin-bottom: 5px;
    font-size: 16px;
}
FOOTER address a {
    border: none;
    max-width: max-content;
    &:after {
        height: 1px;
        background-color: white;
    }
}
FOOTER article:first-child {
    display: flex;
    justify-content: space-between;
    padding-bottom: 0px;
}
FOOTER .request {background-color: #1C1C1E;}

FOOTER .request {
    transition: box-shadow 0.3s ease;
}
#order {
    scroll-margin-top: 80px;
    transition: all 0.3s ease 1.2s;
}
#order:target {
    box-shadow: 0 0 0 2px rgba(209, 32, 39, 1), 0 0 32px 5px rgba(255, 32, 39, 0.8)
}

FOOTER div.left, FOOTER div.right {
    padding: 0;
}


/********************************** FEEDBACK FORM ************************************/
input{
    &::-webkit-input-placeholder { /* WebKit browsers */
        color: #BBB;
    }
    &:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
        color: #BBB;
        opacity: 1;
    }
    &::-moz-placeholder { /* Mozilla Firefox 19+ */
        color: #BBB;
        opacity: 1;
    }
    &:-ms-input-placeholder { /* Internet Explorer 10+ */
        color: #EEE;
    }
    &:focus{
        &::-webkit-input-placeholder { /* WebKit browsers */
            color: transparent;
        }
        &:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
            color: transparent;
            opacity: 0;
        }
        &:-moz-placeholder { /* Mozilla Firefox 19+ */
            color: transparent;
            opacity: 0;
        }
        &:-ms-input-placeholder { /* Internet Explorer 10+ */
            color: transparent;
        }
    }
}
#buttn {
    width: 32%;
    color: #FFF;
    padding:15px 0px;
    text-transform: uppercase;
    border: none;
    background: rgba(0, 0, 0, .7);
    cursor: pointer;
}
#buttn:hover {
    border-color: #AAA;
    outline-color: #222;
    background:  rgba(255, 255, 255, .7);
    color: #222;
}


/**to top**/
#toTop {
    /*display: none; */
    text-decoration:none;
    position:fixed;
    /*bottom: 15px;
    margin-right: -470px !important;
    overflow:hidden;
    width: 62px;
    height: 62px;
    border:none;
    text-indent:-999px;
    z-index:999;
    background:url(../img/up_btn.png) no-repeat left top;
    transition: 0s ease;
    -webkit-transition: 0s ease;
    -o-transition: 0s ease;*/
}
