body {
    margin: 0 0;

    font-family: 'Raleway', sans-serif;
    font-style: 14px;
    color: #6c7279;
    -webkit-font-smoothing: antialiased;

    background-color: #fff;
}

*,
*:before,
*:after {
    box-sizing: border-box;
    
}

h1,h2,h3,h4,h5,h6 {
    margin: 0;
}

p{
    margin: 0 0 10px;
}


/* Container
================ */


.container {
    width: 100%;
    
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}


/* Header
================ */


.header {
    width: 100%;
    height: 100px;

    position: absolute;
    top: 0;
    left: 0;

    z-index: 1000;
}

.header.fixed {
    height: auto;

    position: fixed;
    background-color: #31344e;
}

.header.fixed .header__inner {
    padding: 15px 0;
    border-bottom: 0;
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 35px;
    border-bottom: 1px solid #515369;

}


/* Nav
================ */


.nav {
    display: flex;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.nav__link {
    margin-left: 50px;

    color: #fff;
    opacity: 0.75;

    text-decoration: none;
    transition: opacity .2s linear;
}

.nav__link:first-child {
    margin-left: 0;
}

.nav__link:hover {
    opacity: 1;
}


/* Intro
================ */


.intro {
    display: flex;
    flex-direction: column;
    justify-content: center;

    height: 750px;
    width: 100%;
    padding-top: 100px;

    background: #31344e url("img/intro-bg.jpg") no-repeat center;
    background-size: cover;
}

.intro__inner {
    width: 100%;
    max-width: 970px; 

    margin: 0 auto;
    text-align: center;
}

.intro__title {
    margin: 0 0 30px;

    font-family: 'Open Sans', sans-serif;
    font-size: 65px;
    line-height: 1.1;
    color: #fff;

    font-weight: 700;
    text-transform: uppercase;
    
}

.intro__subtitle {
    margin-bottom: 60px;

    font-size: 22px;
    color: #fff;
    line-height: 1.5;
    font-weight: 400;
}


/* Button
================ */


.btn {
    display: inline-block;
    vertical-align: top;

    padding: 14px 40px;
    border-radius: 2px;

    font-family: inherit;
    border: 0;
    cursor: pointer;
    font-size: 13px;
    text-align: center;
    color: #fff;
    font-weight: 600;

    text-transform: uppercase;
    text-decoration: none;
    transition: .1s linear;
}

.btn--red {
    background-color: #e43535;
    
}

.btn--red:hover {
    background-color: #df2121;

}

.btn--long {
    min-width: 280px;
}


/* Features
================ */


.features {
    display: flex;
    flex-wrap: wrap;

    margin: 100px 0;
}

.features__item {
    width: 33.33333%;
    text-align: center;
    padding: 0 40px;
    margin: 25px 0;
}

.features__icon {
    margin-bottom: 25px;
    
}

.features__title {
    font-size: 14px;
    margin-bottom: 20px;

    color: #2d3033;
    font-weight: 700;

    text-transform: uppercase;
    
}

.features__text {
    font-size: 14px;
    line-height: 1.5;

    color: #6c7279;
}


/* Works
================ */


.works {
    display: flex;
    flex-wrap: wrap;
}

.works__item {
    width: 25%;
    height: 350px;

    border-bottom: 1px solid #fff;
    border-right: 1px solid #fff;
    

    position: relative;
    overflow: hidden;
}

.works__item:hover .works__content {
    opacity: 1;
}

.works__photo {
    min-width: 100%;

    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;

    transform: translate3d(-50%, -50%, 0);

}

.works__content {
    display: flex;
    flex-direction: column;
    justify-content: center;

    width: 100%;
    height: 100%;
    
    background-color: rgba(232, 69, 69, .9);
    opacity: 0;

    text-align: center;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;

    transition: opacity .1s linear;
}

.works__title {
    margin: 5px;
    font-size: 14px;
    font-weight: 700;

    color: #fff;
    text-transform: uppercase;
}

.works__text {
    font-size: 14px;
    color: #fff;
}


/* Team
================ */


.team {
    margin: 100px 0 70px;
}

.team__inner {
    display: flex;
    flex-wrap: wrap;

    padding: 0 --15px;
}

.team__item {
    width: 25%;
    padding: 0 15px;

    margin-bottom: 30px;
}

.team_photo {
    margin-bottom: 20px;
    display: block;
    max-width: 100%;
    height: auto;
}

.team__name {
    
    margin-bottom: 8px;
    font-size: 22px;
    color: #2d3033;
}

.team__prof {
    margin-bottom: 15px;
    font-size: 13px;

    color: #e84545;
    text-transform: uppercase;
}

.team__text {
    font-style: 14px;
    line-height: 1.5;

    color: #6c7279;
    margin-bottom: 20px;
}


/* Social
================ */


.social {
    display: flex;
}

.social--footer {
    justify-content: center;
}

.social__link {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40px;
    width: 40px;

    background-color: #fff;
    border: 1px solid #e8ecee;

    margin-right: 4px;
    transition: background .1s linear;
}

.social__link:hover { 
    background-color:  #e8ecee;
}

.social__link:hover .social__icon {
    fill: #000;
}

.social--footer .social__link {
    background-color: transparent;
    border-width: 2px;
    border-color: #fff;
    background-repeat: 2px;
}

.social--footer .social__link:hover {
    background-color: #fff;
}

.social__icon {
    display: block;
    height: 18px;

    fill: #c6cacc;
    transition: fill .1 linear;
}

.social--footer .social__icon {
    fill: #fff;
}


/* Reviews
================ */


.reviews {
    overflow: hidden;
    background-color: #53354a;
    
}

.reviews__slider {
    height: 500px;

    overflow: hidden;
}

.reviews__slider.slick-initialized {
    height: auto;
}

.reviews__item {
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
}

.reviews__photo {
    width: 50%;
    height: 500px;

    position: relative;
}

.reviews__img {
    position: absolute;

    top: 50%;
    right: 0;
    z-index: 1;

    transform: translateY(-50%);

}

.reviews__content {
    display: flex; 
    flex-direction: column;
    justify-content: center;

    width: 50%;
    padding: 80px;
}

.reviews__text {
    margin-bottom: 25px;

    font-family: 'Cardo', sans-serif;
    font-style: italic;
    font-size: 36px;
    line-height: 1.2;
    color: #fff;
}

.reviews_author {
    font-size: 13px;
    font-weight: 700;

    text-transform: uppercase;
    color: #fff;
}

.slick-dots {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0 0 10px;

    list-style: none;
    width: 50%;

    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 2;
}

.slick-dots li {
    margin: 0 5px;
}

.slick-dots button {
    width: 15px;
    height: 15px;
    padding: 0;

    background: #fff;
    border-radius: 50%;
    border: 0;
    opacity: 0.5;
    cursor: pointer;
    

    font-size: 0;
    color: transparent;
}

.slick-dots button:focus {
    outline: 0;
}

.slick-dots .slick-active button {
    opacity: 1;
}


/* Download
================ */


.download {
    margin: 90px 0;

    text-align: center;
    
}

.download__title {
    font-size: 28px;

    color: #2d3033;
    font-weight: 300;
    margin-bottom: 10px;
}

.download__text {
    font-style: 10px;
    color: #2d3033;
    font-weight: 700;

    text-transform: uppercase;
    margin-bottom: 30px;
}


/* Footer
================ */


.footer {
    

    background-color: #3a3e64;
}

.footer__inner {
    padding: 75px 0;

    display: flex;
    flex-wrap: wrap;
    
}

.footer__block {
    width: 33.333333%;
    text-align: center;

    padding: 0 15px;
}

.footer_title {
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 700;

    color: #fff;
    text-transform: uppercase;
}

.footer__address {
    font-size: 14px;
    line-height: 1.5;
    font-style: normal;
    color: rgba(255, 255 255, .5);
}

.footer__text {
    font-size: 14px;

    line-height: 1.5;
    color: rgba(255, 255 255, .5);
}


/* Copyright
================ */


.footer__copyright {
    padding: 20px 0;

    background-color: #313454;
}

.copyright__text {
    text-align: center;
    line-height: 1.5;
    font-size: 14px;

    color: #808080;
}

.copyright__text span {
    color: #fff;
}


/* Burger
================ */


.burger {
    display: none;
    padding: 9px 2px;
    cursor: pointer;

    background: none;
    border: 0;
}

.burger__item {
    display: block;
    width: 30px;
    height: 3px;

    background-color: #fff;

    font-style: 0;
    color: transparent;
    

    position: relative;
}

.burger__item:before,.burger__item:after {
    content: "";
    width: 100%;
    height: 100%;

    position: absolute;
    left: 0;

    z-index: 1;
    background-color: #fff;
}

.burger__item:before {
    top: -8px;
}

.burger__item:after {
    bottom: -8px;
}

/* Media
================ */

@media (max-width: 991px) {
    /* Navigation */
    .nav{
        flex-direction: column;
        width: 100%;

        text-align: right;
        background-color: #31344e;
        display: none; 
        position: absolute;
        top: 100%;
        right: 0;
    }

    .nav.show {
        display: flex;
    }

    .nav__link {
        padding: 8px 15px;
    }

    /* burger */

    .burger {
        display: block;
    }

    /* Intro */

    .intro__title {
        font-size: 40px;
    }

    .intro__subtitle {
        font-size: 18px;
    }

  /* Features */

  .features__item {
    width: 50%;
  }

  /* works */

   .works__item {
      width: 50%; 
   }

   /* team */

   .team {
       margin: 60px 0 30px;
   }

   .team__item {
       width: 50%;

       text-align: center;
   }

   .team_photo {
       margin-left: auto;
       margin-right: auto;
   }

   /* spcial */

   .social {
       justify-content: center;
   }

   /* reviews */

   .reviews__photo {
       width: 100%;
       margin: 15px 0 10px;

       overflow: hidden;
   }

   .reviews__content {
       width: 100%;

       padding-left: 0;
       padding-bottom: 20px;
   }

   .reviews__img {
       min-width: 991px;
       right: -15px;
   }


}
@media (max-width: 767px) {

    /* Intro */

    .intro {
        height: auto;
        padding-top: 130px;
        padding-bottom: 30px;
    }

    .intro__title {
        font-size: 30px;
    }

    .intro__subtitle {
        font-size: 16px;
        margin: 30px;
    }

/* Features */

    .features {
        margin: 40px 0;
    }

    .features__item {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

      /* works */

    .works__item {
    width: 100%; 
    height: 300px;
    }

    /* team */
    
    .team__item {
        width: 100%;

        text-align: center;
    }

    /* reviews */

    .reviews__text {
        font-size: 25px;
    }

    /* btn */

    .btn--long {
        min-width: 260px;
    }

    /* download */

    .download {
        margin: 50px 0;      
    }

    .download__title {
        font-size: 22px;
    }

    /* footer */

    .footer__block {
        width: 100%;

        margin-bottom: 30px;
    }

    .footer__inner {
        padding: 30px 0;
    }

    .footer__inner:last-child {
        margin-bottom: 0;
    }
}

@media (max-width: 414px) {
    .reviews__img {
        
        right: -100px;
    }
}