:root{
    --color-active: #c8dc07;
    --color-bg-main: #363435; /* menu */
    --color-gray-dark: #514f50; 
    --color-gray-behind: #a7a9a8; /* behind */
    --color-gray-medium: #999; /* page */
    --color-gray-light: #e6e6e6; 
    --padding-left: calc((100vw - 100% - 17px) / 2);

}
.btn{
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
}
.btn-primary {
    color: #fff;
    background-color: var(--color-active);
    border: none;
    border-radius: 0;
}
.color-active{
    color:var(--color-active);
}
.bg-gray-light{
    background-color: var(--color-gray-light);
}
html{
    font-size: 13px;
    font-family: 'Gotham Pro';
}

body{
    background-color: #363435;
    font-family: 'Gotham Pro';
}
a{
    text-decoration: none;
    color: inherit;
}
a:hover{
    color:var(--color-active);
}
.columns-2{
    column-count: 2;
    column-gap: 4rem;
    text-align: justify;
}
.columns-2 p{
    break-inside: avoid;
}

.color-white{
    color: white;
}

#header{
    background-color: var(--color-bg-main);
    padding: 10px 0;
}

/* navbar */
.navbar{
    margin-left: auto;
}
.navbar ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
}
.navbar ul li a{
    padding: 0.4rem 1.2rem;
    color: #fff;
    text-transform: uppercase;
    transition: all 0.4s ease;
}
.navbar ul li a:hover{
    color: var(--color-active);
}
.navbar ul li a.active{
    color: var(--color-active);
}
.navbar::before{
    content: '';
    display: block;
    position: absolute;
    width: 3px;
    height: 40px;
    top: -15px;
    left: 0;
    background-color: var(--color-active);
}

/* navbar */
.btn-mainmenu{
    margin-left: 1rem;
}
.bars{
    display: flex;
    flex-direction: column;
}
.bars .bar{
    width: 24px;
    height: 4px;
    background-color: #ccc;
    margin-bottom: 6px;
    transition: all 0.4s ease;
}
.bars .bar:nth-last-child{
    margin-bottom: 0;
}
.bars:hover .bar{
    background-color: var(--color-active);
}

.bars.times .bar:first-child {
    transform-origin: center;
    transform: translatey(5px) rotate(45deg);
}
.bars.times .bar:nth-child(2) {
    display: none;
}
.bars.times .bar:last-child {
    transform-origin: center;
    transform: translatey(-5px) rotate(-45deg);
}


/* mainmenu */
.mobile-menu{
    position: fixed;
    top: 65px;
    height: calc(100vh - 65px);
    width: 400px;
    right: 0;
    transform: translateX(100%);
    z-index: 5;

    background-color: #999;
    padding: 30px 20px;

    transition: transform .4s ease;
}
.mobile-menu.show{
    transform: translateX(0);
}
/* page */
.page-title{
    --section-bg-color:  var(--color-gray-dark);
    background-color: var(--section-bg-color);
}
.page-title .breadcrumbs-container{
    padding: 1rem 0 0.5rem 2.5rem;
}
.page-title .breadcrumb{
    margin: 0;
}
.page-title .breadcrumb li{
    color: #fff;
}
.page-title .breadcrumb li::after{
    content: '|';
    color: var(--color-active);
    margin: 0 1rem;
}
.page-title .breadcrumb li:last-child::after{
    content: '';
}
.page-title .breadcrumb li.active{
    color: var(--color-active);
}

.page-title .section-title span{
    color: #fff; 
}
.page-title .section-title .behind{
    color: var(--color-gray-behind);
}
.page-body{
    background-color: var(--color-gray-medium);
}


/* tiles */
.tile-grid{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* grid-template-rows: repeat(auto, 1fr); */
    grid-gap: 1px 1px;
    grid-auto-flow: row;

    /* background-color: #ccc; */
    padding: 1px;
}

.tile{
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.tile .overlay{
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    opacity: 1;
    z-index: 1;
    transition: opacity 0.4s ease;
}
.tile:hover .overlay{
    opacity: 0;
}

.tile img{
    width: 100%;
    height: auto;
    min-height: 100%;
    transition: all 0.4s ease;
}
.tile:hover img{
    transform: scale(1.05);
}

.tile .tile-title{
    position: absolute;
    width: 100%;
    height: 70px;
    left: 0;
    bottom: 0;
    display: flex;
    padding: 0 20px;
    align-items: center;
    text-align: center;
    justify-content: center;
    z-index: 1;

    text-transform: uppercase;
    color: #fff;

    transition: all 0.4s ease;
}
.tile:hover .tile-title{
    color: #333;
    background-color: var(--color-active);
}
.tile:hover .tile-title span{
    content: 'Подробнее';
}
/*  .ccm-page-id-1 = homepage */
.ccm-page-id-1 .articles .tile-grid .tile:nth-child(1),
.ccm-page-id-1 .articles .tile-grid .tile:nth-child(5){ 
    grid-column-end: span 2;
}
.ccm-page-id-1 .articles .tile-grid .tile:nth-child(3){ 
    grid-row-end: span 2;
}
/*  .ccm-page-id-225 = okna-i-balkony */
.ccm-page-id-225 .articles .tile-grid .tile:nth-child(1),
.ccm-page-id-225 .articles .tile-grid .tile:nth-child(5),
.ccm-page-id-225 .articles .tile-grid .tile:nth-child(7){ 
        grid-column-end: span 2;
}
.ccm-page-id-225 .articles .tile-grid .tile:nth-child(3),
.ccm-page-id-225 .articles .tile-grid .tile:nth-child(4){ 
    grid-row-end: span 2;
}
/*  .ccm-page-id-230 = doors */
.ccm-page-id-230 .articles .tile-grid .tile:nth-child(2){ 
        grid-column-end: span 2; 
}
/*  .ccm-page-id-229 = мебель */
.ccm-page-id-229 .articles .tile-grid .tile:nth-child(1),
.ccm-page-id-229 .articles .tile-grid .tile:nth-child(5),
.ccm-page-id-229 .articles .tile-grid .tile:nth-child(8){ 
        grid-column-end: span 2;
}
.ccm-page-id-229 .articles .tile-grid .tile:nth-child(3){ 
    grid-row-end: span 2;
}
/*  .ccm-page-id-228 = потолки */
.ccm-page-id-228 .articles .tile-grid .tile:nth-child(1),
.ccm-page-id-228 .articles .tile-grid .tile:nth-child(5),
.ccm-page-id-228 .articles .tile-grid .tile:nth-child(7){ 
        grid-column-end: span 2;
}
.ccm-page-id-228 .articles .tile-grid .tile:nth-child(3),
.ccm-page-id-228 .articles .tile-grid .tile:nth-child(4){ 
    grid-row-end: span 2;
}



.row-span-2{
    grid-column-end: span 2;
}
.col-span-2{
    grid-row-end: span 2;
}





/* home-slider */
.home-slider .slider-wrapper{
    position: relative;
    width: calc(100% + var(--padding-left));
}
.home-slider .slide{
    position: relative;
}
.home-slider .slide::before{
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.6) 0%, 
        rgba(0,0,0,0.6) 20%, 
        rgba(0,0,0,0) 40%
    );
}

.home-slider .slide img{
    width: 100%;
}
.home-slider .slide .slider-text{
    position: absolute;
    width: 60%;
    bottom: 140px;
    left: 30px;

    background-color: var(--color-active);
    opacity: 0.85;
    color: #fff;
    font-size: 3.2rem;
    line-height: 1em;
    padding: 0.8em 1.2em 1.2em;
}
.home-slider .slide .btn-home{
    position: absolute;
    bottom: 80px;
    left: 90px;
    color: #fff;
    font-size: 1.25rem;
}
.home-slider .slide-arrows{
    position: absolute;
    bottom: 40px;
    left: 70px;
}
.home-slider .slick-prev,
.home-slider .slick-next{
    background-color: transparent;
    border: none;
    color: #fff;

    transition: all 0.4s ease;
}
.home-slider .slick-prev:hover,
.home-slider .slick-next:hover{
    color:var(--color-active);
}
.home-slider .slide-info{
    position: absolute;
    background-color: var(--color-gray-dark);

    top: 0;
    right: 0;
    width: calc(2 * var(--padding-left) + 100px);
    height: 50%;
}
.home-slider .slide-info .theme{
    position:absolute;
    left: 14px;
    bottom: 50px;
    color: #fff;
    text-transform: uppercase;
    
    transform: rotate(-90deg);
    transform-origin: top left;
}
.home-slider .slide-info .counter{
    position: absolute;
    left: 20px;
    bottom: 24px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #ccc;
}
.home-slider .slide-info .counter .current{
    font-size: 2.4rem;
    color: #fff;
    vertical-align: bottom;
}

/* section-title */
.section-title{
    margin: 0 0 3rem;
    border-bottom: 1px var(--color-bg-main) solid;
    /* border-left: 3px var(--color-active) solid; */
    padding: 0.6rem 0 0.7rem 2rem;
    position: relative;
}
.section-title .behind{
    line-height: 1em;
    font-size: 4.4rem;
    font-weight: bold;
    text-transform: uppercase;
    color: var(--color-gray-dark);
}
.section-title h1,
.section-title h2{
    display: block;
    position: absolute;
    line-height: 1em;
    left: 1rem;
    bottom: 0;
    font-size: 2.2rem;
    font-weight: bold;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: -4px; 
    z-index: 1;
}
.section-title h1::after,
.section-title h2::after {
    content: '';
    position: absolute;
    width: calc(100% + 23px); /* 3px - left-border-width */
    bottom: 0;
    height: 10px;
    left: -13px; /* 3px - left-border-width */
    background-color: var(--section-bg-color);
    z-index: -1;
}

.section-title::before{ /* right box */
    content: '';
    display: block;
    position: absolute;
    left: 100%;
    top: -3rem;
    height: calc(100% + 3rem + 1px);
    width: var(--padding-left);
    background-color: var(--color-bg-main);
}
.section-title::after{ /* left border */
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%; 
    width: 3px; /* 3px - left-border-width */
    background-color: var(--color-active);
    z-index: 1;
}


/* about-us */
.about-us{
    padding-top: 3rem;
}
.about-us .section-title{
    border-bottom: none;
}
.about-us .section-title span::after{
    display: none;
}
.about-us .text{
    position: relative;
    padding: 3rem 8rem 8rem 1rem;
}
.about-us .text .bg-box{
    position: absolute;
    top: 0;
    width: calc(50vw - 30px);
    right: calc(-20px + 30px);
    background-color: #404040;
    height: 100%;
    z-index: -1;
}
.about-us .text p{
    color: #ccc;
    font-size: 1.4rem;
    line-height: 1.2em;
}
.about-img{
    position: relative;
    margin-left: 20%;
    padding-top: 40%;
}
.about-img::before{
    content: '';
    display: block;
    position: absolute;
    height: 150%;
    width: 60%;
    left: -10%;
    top: -25%;
    border: 8px var(--color-active) solid;
    z-index: 1;
}
.about-img-wrap{
    overflow: hidden;
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
}
.about-img img{
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    z-index: 2;
}

.btn-home{
    display: inline-block;
    font-size: 1rem;
    text-transform: uppercase;
    color: #ccc;
    margin-top: 3rem;
    padding: 0.4rem 0;
    
    transition: all 0.4s ease;
}
.btn-home:hover{
    color: var(--color-active) !important;
}
.btn-home::after{
    content: '';
    display: block;
    margin-top: 4px;
    height: 2px;
    width: 30px;
    margin-left: calc((100% - 30px) / 2);
    background-color: var(--color-active);

    transition: all 0.4s ease;
}
.btn-home:hover::after{
    width: 100%;
    margin-left: 0;
}

/* our-works + trusts-us + parts (комплектующие) */
.ccm-page-id-1 .our-works{
    padding: 3rem 0 0;
    --section-bg-color: var(--color-gray-medium);
    background-color: var(--section-bg-color);
}
.tile-grid .work{
    padding-top: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

.work{
    display: block;
    position: relative;
    overflow: hidden;
}
.work .overlay{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    opacity: 0;
    transition: all 0.4s ease;
}
.work:hover .overlay{
    opacity: 1;
}
.work .overlay .cross-h{
    position: absolute;
    width: 140px;
    height: 2px;
    background-color: var(--color-active);
    top: 50%; 
    left: 50%;
    transform: translate(-50%, -50%);
}
.work .overlay .cross-v{
    position: absolute;
    width: 2px;
    height: 140px;
    background-color: var(--color-active);
    top: 50%; 
    left: 50%;
    transform: translate(-50%, -50%);

}
.work .seria{
    position: absolute;
    width: 50px;
    height: 50px;
    background-image: url('seria.png');
    right: 10px;
    top: 10px;
}
.work .work-title{
    position: absolute;
    width: 100%;
    top: 100%;
    transform: translateY(-100%);
    background: rgba(75, 74, 81, 0.75);
    /*
    background: linear-gradient(to top, rgb(75, 74, 81) 40%, rgba(75, 74, 81, 0));
    */
    padding: 1.3rem 0.5rem;
    font-size: 1.1rem;
    line-height: 1.2em;
    color: #fff;

    transition: transform 0.4s ease;
}
.work:hover .work-title{
    transform: translateY(0);
}

.our-works .tile-grid .work:nth-child(8n + 1),
.our-works .tile-grid .work:nth-child(8n + 7){ 
    grid-column-end: span 2;
    grid-row-end: span 2;
}

.our-works .tile-grid .work:nth-child(8n + 4),
.our-works .tile-grid .work:nth-child(8n + 8){ 
    grid-column-end: span 2;
    padding-top: 50%;
}

.trusts-us .tile-grid .work:nth-child(8n + 3),
.trusts-us .tile-grid .work:nth-child(8n + 5){ 
    grid-column-end: span 2;
    grid-row-end: span 2;
}

.trusts-us .tile-grid .work:nth-child(8n + 4),
.trusts-us .tile-grid .work:nth-child(8n + 8){ 
    grid-column-end: span 2;
    padding-top: 50%;
}

.parts .tile-grid .work:nth-child(8n + 3),
.parts .tile-grid .work:nth-child(8n + 5){ 
    grid-column-end: span 2;
    grid-row-end: span 2;
}

.parts .tile-grid .work:nth-child(8n + 4),
.parts .tile-grid .work:nth-child(8n + 8){ 
    grid-column-end: span 2;
    padding-top: 50%;
}


.our-works .section-title .behind{
    color: var(--color-gray-behind);
}

.our-works .btn-home{
    color: #fff;
}

.trusts-us{
    padding: 8rem 0 3rem;
}

/* consult */
.consult{
    padding: 8rem 0 10rem;
    background: transparent;
    background: url('../img/bg-consult.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;

}
.consult .text{
    font-size: 1.2rem;
    color: #fff;
    margin-right: 8rem;
    text-transform: uppercase;
}

.consult form input[type="text"]{
    width: 100%;
    font-size: 1.2rem;
    color: #fff;
    border: none;
    background-color: rgba(255,255,255,0.3);
    padding: 0.8rem 1.6rem;
    margin-bottom: 1rem;
}
.consult form input[type="text"]:active,
.consult form input[type="text"]:focus{
    box-shadow: none;
    outline: 1px #ccc solid;
}
.consult form input[type="text"]::placeholder{
    color: #ccc;
}


.consult form label{
    margin-bottom: 1rem;
    font-size: 1.2rem;
    color: #ccc;
    line-height: 1em;
    cursor: pointer;
}
.consult form label span{
    vertical-align: super;
}
.consult form input[type="checkbox"]{
    width: 30px;
    height: 30px;
    margin-right: 20px;
    opacity: 0.5;
}
.consult form button{
    font-size: 1.1rem;
    color: #fff;
    background-color: transparent;
    border: 1px #fff solid;
    padding: 1.2rem 1.6rem;
    text-align: center;
    text-transform: uppercase;

    transition: all 0.4s ease;
}
.consult form button:hover{
    color: var(--color-active);
    background: #404040cc;
    border: 1px #404040 solid;
}

/* reviews */
.reviews-title{
    margin-top: -9rem;
}
.reviews-title .container{
    padding-top: 3rem;
}
.reviews-title .section-title{
    color: #d7d7d7;
    margin-bottom: 0;
}
.reviews-title .section-title span{
    color: var(--color-bg-main);
}
.reviews-title .section-title .behind{
    color: #d7d7d7;
}
.review-list{
    --section-bg-color: var(--color-gray-light);
    background-color: var(--section-bg-color);
    padding: 3rem 0 0;
}

.review-list .tile-grid{
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(auto, 1fr);
    grid-gap: 1px 1px;
    grid-auto-flow: row;
    background-color: #e6e6e6;
    padding: 1px;
}
.review-list .tile-grid .review-item{
    position: relative;
    padding-top: 75%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}
.review-list .tile-grid .review-item:nth-child(7n + 1),
.review-list .tile-grid .review-item:nth-child(7n + 5){ 
    grid-row-end: span 2;
    padding-top: 120%;
}

.review-list .review-item .overlay{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 1.1rem;

    background-color: #808080;
    color: #fff;

    background-repeat: no-repeat;
    background-size: cover;
    background-size: center center;
}
.review-list .review-item:nth-child(7n + 4) .overlay{
    background-color: #fff;
    color: #808080;
}
.review-list .review-item .author{
    margin-top: 3rem;
    color: var(--color-active);

}

.review-list .review-item .bottom{
    position: absolute;
    width: 100%;
    top: 100%;
    transform: translateY(-100%);
    /*
    background: linear-gradient(to top, rgb(75, 74, 81) 40%, rgba(75, 74, 81, 0));
    */
    background: rgba(75, 74, 81, 0.75);
    padding: 1.3rem 1rem;
    font-size: 1.1rem;
    line-height: 1.2em;
    color: #fff;
    text-align: left;
    transition: transform 0.4s ease;
}

.review-list .btn-home{
    color: #444;
}

.review-list .container{
    position: relative;
}
.review-list .section-title::before{
    background-color: #5e5c5d;
}
.review-list .section-title span::after {
    background-color: var(--color-gray-light);
}
.review-list .section-title .behind {
    color: #d7d7d7;
}

.review-list .bottom-action{
    position: relative;
}
.review-list .bottom-action:after{ /* bottom box */
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: 100%;
    height: 5rem;
    width: calc(100% + var(--padding-left));
    background-color: var(--color-gray-light);
}
.review-list .bottom-action .btn-home{ /* move button down */
    position: relative;
    margin-bottom: -10px;
    z-index: 1;
}
/* review modal */
.modal .modal-body.review{
    padding: 3rem;
}
.modal .modal-body.review .review-author{
    color: var(--color-active);
    margin-bottom: 1rem;
}
.modal .modal-body.review .btn-close{
    font-size: 1.6rem;
    position: absolute;
    right: 2rem;
    top: 2rem;
}





/* trust-us */
.trust-us{
    padding: 8rem 0 3rem;
}

/* blog + blog-page */
.blog{
    padding: 3rem 0;
    background-color: var(--color-gray-medium);
}
.blog .tile-grid .blog-item{
    padding-top: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}
.blog .tile-grid .blog-item:nth-child(8n + 1),
.blog .tile-grid .blog-item:nth-child(8n + 7){ 
    grid-column-end: span 2;
    grid-row-end: span 2;
}

.blog .tile-grid .blog-item:nth-child(8n + 4),
.blog .tile-grid .blog-item:nth-child(8n + 8){ 
    grid-column-end: span 2;
    padding-top: 50%;
}
.blog-item{
    display: block;
    position: relative;
    overflow: hidden;
}
.blog-item .overlay{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    transition: all 0.4s ease;
}
.blog-item .overlay .cross-h{
    position: absolute;
    width: 140px;
    height: 2px;
    background-color: var(--color-active);
    top: 50%; 
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;

    transition: all 0.4s ease;
}
.blog-item .overlay .cross-v{
    position: absolute;
    width: 2px;
    height: 140px;
    background-color: var(--color-active);
    top: 50%; 
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;

    transition: all 0.4s ease;
}
.blog-item:hover .overlay{
    background-color: transparent;
}
.blog-item:hover .overlay .cross-h,
.blog-item:hover .overlay .cross-v{
    opacity: 1;
}
.blog-item .blog-title{
    position: absolute;
    width: 100%;
    height: auto;
    top: 50%;
    left: 0;
    padding: 0 20%;
    transform: translateY(-50%);
    font-size: 1.1rem;
    line-height: 1.2em;
    text-align: center;
    color: #fff;

    transition: transform 0.4s ease;
}
.blog-item .blog-date{
    color: var(--color-active);
    margin-top: 3rem;
}

.blog-item:hover .blog-title{
    opacity: 0;
}

/* blog-page */
.quotes{
    padding: 20px 40px 20px 20px;
    margin: 1rem 0;
    position: relative;
    font-size: 2rem;
    line-height: 1.2em;
    background-color: rgba(0,0,0,20%);
    break-inside: avoid;
    text-align: left;
}
.quotes::before{
    content: '';
    display: block;
    float: left;
    width: 60px;
    height: 60px;
    margin: 0 20px 0 0;
    background-image: url(quotes.svg);
    background-size: cover;
}

.blog-page{
    background-color: var(--color-gray-dark);
}
.blog-page p{
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
}

/* gallery */
.gallery-list{
    display: flex;
    flex-wrap: wrap;
    padding: 10px 0;
}
.gallery-list .gallery-item {
    position: relative;
    display: block;
    margin: 0 10px 10px 0;
}
.gallery-list .gallery-item img{
    width: 150px;
    height: 150px;
    border: 5px #ccc solid;
}
.gallery-list .gallery-item .overlay{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,30%);
    opacity: 0;

    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 40px;

    transition: all 0.4s ease;
}
.gallery-list .gallery-item:hover .overlay{
    opacity: 1;
}

/* standart products */
.standart-product-list{
    display: flex;
    flex-wrap: wrap;
    padding: 2rem 0;
}

.product-card{
    width: 25%;
    text-align: center;
    color: #fff;
    padding: 1rem 0.2rem;
    border: 1px #fff solid;
}
.product-card .title{
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
    height: 70px;
}

.product-card img{
    width: auto;
    height: 180px;
    margin-bottom: 80px;
}
.product-card .features{
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
}
.product-card .feature{
    border: 1px var(--color-active) solid;
    width: 30%;
    padding: 0.2rem 0;
}
.product-card .feature .value{
    font-size: 1.8rem;
    font-weight: bold;
    line-height: 1em;
}
.product-card .feature .name{
    font-size: 0.6rem;
}
.product-card .description{
    padding: 0 1rem;
    height: 100px;
    margin-bottom: 20px;
}

.product-card .bottom{
    display: flex;
    justify-content: space-around;
}



/* footer */
footer{
    padding: 3rem 0;
    background-color: #4b4c51;
    color: #fff;
}
footer .col-md-3{
    padding-left: 80px;
}
footer .col-md-6{
    padding-left: 80px;
    padding-right: 80px;
}
footer .col-md-3.text-right{
    padding-left: 0;
    padding-right: 80px;
}

.footer-links{
    list-style: none;
    padding: 0;
}
.footer-links li{
    padding: 0.4em 0;
    margin: 0;
    line-height: 1em;
}
footer a{
    color: #fff;
    transition: all 0.4s ease;
}
footer a:hover{
    color: var(--color-active);
}
.text-right,
.text-right *{
    text-align: right;
}

.social a{
    display: inline-flex;
    width: 24px;
    height: 24px;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    color: #333;
    font-size: 1.4rem;
    margin-left: 5px;
    border-radius: 3px;
}
.social a:hover{
    background-color: var(--color-active);
    color: #333;
}
footer hr{
    height: 1px !important;
    color: var(--color-active);
    opacity: 1;
    margin: 0;
}
form.subsribe div{
    position: relative;
}
form.subsribe div::before{
    content: "\f1fa";
    font-family: "Font Awesome 5 Pro";
    position: absolute;
    top: 3px;
    left: 10px;
    font-size: 1.6rem;
    font-weight: 300;
}
form.subsribe input[type="text"]{
    padding: 0.4em 1.2em 0.4em 3em;
    margin: 0;
    font-size: 1rem;
}
form.subsribe button{
    padding: 0.4em 1.2em;
    background-color: #ccc;
    color: #333;
    border: none;
    width: auto;
}
form.subsribe button:hover{
    background-color: var(--color-active);
}

/* =============== ataka boxes ================ */
section.tiles .container{
    position: relative;
}

/* =============== OUR WORKS ================ */
section.our-works{
    padding: 3rem 0;
}
section.our-works .bottom-action{
    position: relative;
}
section.our-works .bottom-action:after{ /* bottom box */
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: 100%;
    height: 5rem;
    width: calc(100% + var(--padding-left));
    background-color: var(--color-gray-medium);
}
section.our-works .bottom-action .btn-home{ /* move button down */
    position: relative;
    margin-bottom: -10px;  
    z-index: 1;
}



/* ------------------------------ */
.trust-us .section-title{
    border-bottom: 1px var(--color-gray-light) solid;
}
.trust-us .section-title::before{ /* right box */
    background-color: var(--color-gray-light);
}
.trust-us .section-title span::after {
    background-color: var(--color-bg-main);
}

/* service list */
.services{
    padding: 3rem 0;
}
.service-list{
    display: flex;
}
.service-card{
    display: block;
    width: 25%;
    padding-top: 25%;
    position: relative;
    overflow: hidden;
}
.service-card img{
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
}
.service-card .overlay{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: #000;
    opacity: 0.4;
    transition: all 0.4s ease;
}
.service-card .service-title{
    position: absolute;
    width: 100%;
    height: 60px;
    text-align: center;
    padding: 20px 0;
    bottom: 0;
    font-size: 1.2rem;
    text-transform: uppercase;
    color: #fff;
    transition: all 0.4s ease;
}
.service-card:hover .overlay{
    opacity: 0;
}
.service-card:hover .service-title{
    color: var(--color-gray-dark);
    background-color: var(--color-active);
}

/* brand-list */
.brands{
    padding: 3rem 0;
}
.brand-list .brand-card{
    text-align: center;
}
.brand-list .brand-card svg{
    width: 160px;
    height: 160px;
}
.brand-list .brand-card svg,
.brand-list .brand-card svg .fil0,
.brand-list .brand-card svg .fil1,
.brand-list .brand-card svg .fil2{
    fill: #ccc !important;
    transition: all 0.4s ease;
}
.brand-list .brand-card:hover svg,
.brand-list .brand-card:hover svg .fil0,
.brand-list .brand-card:hover svg .fil1,
.brand-list .brand-card:hover svg .fil2{
    fill: var(--color-active) !important;
}

.brand-list .slick-arrow{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3rem;
    color: #ccc;
    padding: 1rem;
    z-index: 10;
}
.brand-list .slick-arrow:hover{
    color: #fff;
}
.brand-list .slick-arrow.slick-next{
    right: 0;
}


/*======================================================================================*/
@media(max-width: 576px){

    .tile-grid{
        grid-template-columns: repeat(2, 1fr);
    }
    .sm-order--1{
        order: -1;
    }
    .btn-mainmenu{
        margin-left: auto;
    }
    .home-slider .slide{
        overflow: hidden;
        display: flex;
    }
    .home-slider .slide img{
        width: 100%;
    }
    .home-slider .slide-info{
        height: 30%;
    }
    .home-slider .slide .slider-text{
        width: 90%;
        left: 5%;
        right: 5%;
        bottom: 100px;
        font-size: 2.2rem;
        padding: 0.8em;
    }
    .home-slider .slide .btn-home{
        bottom: 50px;
        left: 0;
        width: 100%;
        text-align: center;
    }
    .home-slider .slide-arrows{
        bottom: 20px;
        width: 100%;
        left: 0;
        width: 100%;
        text-align: center;
    }


    .section-title .behind{
        overflow: hidden;
        white-space: nowrap;
    }

    .about-us .text{
        padding: 2rem;
    }
    .about-us .text .bg-box{
        width: 100%;
        left: 0;
        right: auto;
    }
    /* our-works  our-works */
    .our-works .work img{
        max-height: 50vw;
    }
    .our-works .bottom-action:after{
        display: none;
    }
    .our-works .bottom-action .btn-home{
        margin-bottom: 3rem;
    }

    .consult{
        padding: 3rem 0 10rem;
    }
    .consult .text{
        margin-right: 0;
    }
    .reviews-title{
        background-color: var(--color-gray-light);
    }
    .reviews .review-item{
        width: 100%;
    }
    .reviews .review-item.size-small,
    .reviews .review-item.size-big {
        padding-top: 100%;
    }

    section.reviews .bottom-action:after{
        display: none;
    }
    section.reviews .bottom-action .btn-home{
        margin-bottom: 3rem;
    }
    .trust-us{
        padding: 3rem 0;
    }
    .trust-us .work img {
        max-height: 50vw;
    }

    footer .col-md-3,
    footer .col-md-6,
    footer .col-md-3.text-right {
        padding-left: calc(var(--bs-gutter-x) * .5);
        padding-right: calc(var(--bs-gutter-x) * .5);
        text-align: left;
    }
    footer .col-md-3.text-right *{
        text-align: left;
    }
    footer .col-md-4.text-right{
        text-align: left;
    }

    section.tiles .container::after,
    section.our-works .section-title::before,
    section.our-works .bottom-action:after,
    .reviews-title .container:before,
    section.reviews .bottom-action:after,
    section.trust-us .section-title::before{
        display: none;
    }
}


