@font-face { font-family: 'Roboto-Regular'; src: url('../fonts/Roboto-Regular.eot?#iefix') format('embedded-opentype'), url('../fonts/Roboto-Regular.woff') format('woff'), url('../fonts/Roboto-Regular.ttf') format('truetype'), url('../fonts/Roboto-Regular.svg#Roboto-Regular') format('svg'); font-weight: normal; font-style: normal; }

@font-face { font-family: 'Roboto-Medium'; src: url('../fonts/Roboto-Medium.eot?#iefix') format('embedded-opentype'), url('../fonts/Roboto-Medium.woff') format('woff'), url('../fonts/Roboto-Medium.ttf') format('truetype'), url('../fonts/Roboto-Medium.svg#Roboto-Medium') format('svg'); font-weight: normal; font-style: normal; }

/*
    #####   ######   ##  ##   ##       ####### 
   ##   ##    ##     ##  ##   ##       ##      
   ##         ##      ####    ##       ##      
    #####     ##       ##     ##       #####   
        ##    ##       ##     ##       ##      
   ##   ##    ##       ##     ##       ##      
    #####     ##       ##     ######   ####### 
                                               
*/

/* =======================================================================
   Author's custom styles
   ======================================================================= */

html {
  min-width: 320px;
  color: #2d2d2d;
  font-size: 1em;
  line-height: 1.42857143;
  font-family: 'Roboto-Regular', sans-serif;
  background-color: #fff;
}

body {
	text-align: center;
}

.container {
	min-width: 320px;
}

@media (min-width: 1200px) {
  .container {
    width: 1200px;
  }
}

noscript {
      display: block;
      margin: 20% auto;
      width: 80%;
      font-size: 1.5em;
      color: red;
      font-family: sans-serif;
    }

/*
 #       #####   #    #  #   #    ####
 #         #     ##   #  #  #    #    #
 #         #     # #  #  # #     #
 #         #     #  # #  ##       ####
 #         #     #   ##  # #          #
 #         #     #    #  #  #    #    #
 #####   #####   #    #  #   #    ####

*/

a,
a:link,
a:hover,
a:focus,
a:visited,
a:active {
  text-decoration: none;
  outline: none;
}

.main-button {
  display: block;
  margin: 60px auto 0;
  width: 475px;
  height: 65px;
  text-transform: uppercase;
  line-height: 65px;
  font-size: 1rem;
  background-color: #d33335;
  border-radius: 5px;
  border-bottom: solid #af2325 7px;
  text-align: center;
  color: #fff;
}

.main-button:hover {
  background-color: #ff2629;
}

.more-button {
  display: inline-block;
  margin: 40px auto 20px;
  padding: 10px 45px;
  font-size: 1rem;
  text-align: center;
  color: #d33335;
  border: solid 1px #d33335;
  border-radius: 8px;
}

.more-button:hover {
  background-color: #d33335;
  color: #fff;
}


h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  margin-top: 0;
  font-weight: 400;
  line-height: 1.4;
  color: inherit;
  clear: both;
  font-family: 'Roboto-Medium';
}


/**
 * Address variable `h1` font-size and margin within `section` and `article`
 * contexts in Firefox 4+, Safari, and Chrome.
 */

h1, .h1 {
  font-size: 2.5rem;
  margin: 0.67em 0 1.5em 0;
  text-transform: uppercase;
}

h2, .h2 {
  margin-bottom: 45px;
  text-transform: uppercase;
  font-size: 2.5rem;
} 

.h2-subtitle {
  width: 60%;
  margin: 0 auto;
  margin-bottom: 40px;
  font-size: 1.25rem;
}

h3, .h3 {
  margin-bottom: 1.125rem;
  font-size: 1rem;
}

h4, .h4 {
  font-size: 1.125rem;
  margin-bottom: 1em;
  line-height: 1.4;
}

h5, .h5 {
  font-size: 1.1rem;
}

h6, .h6 {
  font-size: 1rem;
}

p {
  margin: 0 0 1em;
}

ol, ul {
  list-style: none;
}

ul, ol {
  margin-top: 0;
  margin-bottom: 2em;
  padding-left: 0;
}

ul ul,
ol ul,
ul ol,
ol ol {
  margin-bottom: 0;
}

li > ul,
li > ol {
  margin-bottom: 0;
  margin-left: .5em;
}


/*
     ####   ##         ##      #####    #####   #######   #####      #    
    ##  ##  ##         ##     ##   ##  ##   ##  ##       ##   ##     #    
   ##       ##        ####    ##       ##       ##       ##          #    
   ##       ##        ## #     #####    #####   #####     #####   ####### 
   ##       ##       ######        ##       ##  ##            ##     #    
    ##  ##  ##       ##   #   ##   ##  ##   ##  ##       ##   ##     #    
     ####   ######  ###   ##   #####    #####   #######   #####      #    
                                                                          
*/
.logo-bl {
  line-height: 80px;
  text-align: left;
}

.header-text {
  background-image: url(../img/cherkasskaya-oblast.png);
  background-size: 16%;
  background-position: center;
  background-repeat: no-repeat;
  height: 80px;
  margin-bottom: 0;
  font-size: 0.875;
  font-weight: 700;
  padding-top: 2%;
}

.header-phone {
  font-size: 1.5rem;
  line-height: 2rem;
  margin-bottom: 0;
  text-align: right;
  padding-left: 60px;
}

.header-phone span {
  position: relative;
  display: block;
  left: -13px;
  top: 28px;
  width: 40px;
  height: 25px;
  background-image: url(../img/viber-whatsapp.png);
  background-repeat: no-repeat;
  background-position: left;
  background-size: 100%;
}

.mobile-nav {
  display: none;
}

nav {
  position: absolute;
  margin-left: -15px;
  color: #fff;
  bottom: -61px;
  background-color: rgba(13,14,12,0.8);
  width: 100%;
}

nav ul {
    margin: 0 auto;
    padding: 0 10%;
    list-style: none;
    text-align: center;
    line-height: 0;
    font-size: 1px;
    display: -webkit-box;
    -webkit-box-pack: justify;
    display: -webkit-flex;
    -webkit-justify-content: space-between;
    display: flex;
    justify-content: space-between;
    text-align: justify;
    text-align-last: justify;
}

nav ul li {
    display: inline-block;
    display: -webkit-box;
    vertical-align: top;
    line-height: normal;
}

nav ul li a {
  margin: 0 30px;
  font-size: 14px;
  display: block;
  text-transform: uppercase;
  color: #fff;
  border: 20px solid rgba(13,14,12,0);
}

nav ul li a hr {
  height: 1px;
  background-color: rgba(13,14,12,0.8);
  border: none;
  margin: 3px 0 0;
}

nav ul li a:hover hr {
  background-color: #fff;
}

.main-banner {
  padding: 175px 0 90px;
  background-image: url(../img/main_banner.jpg);
  background-size: cover;
  color: #fff;
}

.icons-block {
  background-color: #4d4d4d;
  color: #fff;
  padding: 20px 0;
}

.ico-block {
  position: relative;
  width: 70%;
  text-align: left;
  margin-left: 30%;
}

.subbanner-ico {
  position: absolute;
  width: 45px;
  height: 45px;
  left: -75px;
  background-image: url(../img/sprite.png);
  background-repeat: no-repeat;
}

.subbanner-ico-1 {
  background-position: 0 0;
}

.subbanner-ico-2 {
  background-position: -48px 0;
}

.subbanner-ico-3 {
  background-position: -96px 0;
}

.subbanner-ico-4 {
  background-position: -144px 0;
}

.quality {
  padding-top: 60px;
}

.quality-h2 {
  margin-bottom: 30px;
}

.quality .h2-subtitle {
  margin-bottom: 60px;
}

.quality-block {
  position: relative;
  margin-bottom: 60px;
  font-family: 'Roboto-Medium';
  font-size: 1.2rem;
  text-align: left;
}

.quality-block span {
  position: absolute;
  left: -90px;
  width: 65px;
  height: 65px;
  background-image: url(../img/sprite.png);
  background-repeat: no-repeat;
}

.quality-1 {
  background-position: 0 -62px;
}

.quality-2 {
  background-position: -68px -62px;
}

.quality-3 {
  background-position: -136px -62px;
}

.quality-4 {
  background-position: -204px -62px;
}

.gallary {
  padding: 60px 0;
}

.gallary-img-bl {
  margin: 15px 0;
}

.gallary-img-bl-2,
.gallary-img-bl-3 {
    display: none;
}

.gallary-img-bl,
.gallary-img-bl-2,
.gallary-img-bl-3 {
  overflow: hidden;
}

.gallary-img-bl img,
.gallary-img-bl-2 img,
.gallary-img-bl-3 img {
  min-width: 100%;
}

.gallary-item-wrapper {
  overflow: hidden;
}

.gallary-item {
  cursor: pointer;
    transition: all 0.5s ease-out;
  -moz-transition: all 0.5s ease-out;
    -o-transition: all 0.5s ease-out;
    -webkit-transition: all 0.5s ease-out;
}

.gallary-item:hover {
    -ms-transform: scale(1.1);
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -o-transform: scale(1.1);
    transform: scale(1.1);
}


.gallary-popup {
  display: none;
  position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.7);
    z-index: 12000;
    padding: 25px;
    text-align: center;
}

.gallary-wrapper {
  position: relative; 
  display: inline-block;
  margin: 0 auto;
  padding: 0;
  max-height: 100%;
  max-width: 100%;
  vertical-align: middle;

}

.gallary-wrapper:before {
  content: '';
  display: inline-block;
  height: 100%;
  width: 0;
}

.image {
  margin: 0;
  padding: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.gallary-close {
  background-color: #333;
  border-radius: 50%;
  border: solid 5px #333;
  position: absolute;
  top: -15px;
  right: -15px;
  width: 30px;
  height: 30px;
  background-image: url(../img/cross.png);
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
}

.slider-right,
.slider-left {
  position: absolute;
  top: 50%;
  width: 60px;
  height: 140px;
  margin-top: -70px;
  background-position: center;
  background-color: rgba(0,0,0,0.3);
  background-repeat: no-repeat;
}

.slider-left {
  left: 0;
  background-image: url(../img/white-arrow-left.png);
}

.slider-right {
  right: 0;
  background-image: url(../img/white-arrow-right.png);
}

.service {
  padding: 60px 0;
  background-color: #d33335;
  color: #fff; 
}

.servise-h2 {
  margin-bottom: 25px;
}

.service-subtitle {
  width: 70%;
  margin: 0 auto 60px;
}

.service-block {
  text-align: center;
  width: 150px;
  margin: 0 auto;
}

.service-block-2,
.service-block-3 {
  width: 215px;
}

.service-ico {
  position: relative;
  margin: 0 auto 20px;
  width: 65px;
  height: 45px;
  background-image: url(../img/sprite.png);
  background-repeat: no-repeat;
}

.service-1 {
  background-position: 0 -143px;
  left: 10px;
}

.service-2 {
  background-position: -68px -143px;
}

.service-3 {
  left: 10px;
  background-position: -136px -143px;
}

.service-4 {
  left: 17px;
  background-position: -204px -143px;
}


.steps {
  padding: 60px 0;
}

.step-ico {
  position: relative;
  margin: 0 auto 35px;
  width: 72px;
  height: 72px;
  background-repeat: no-repeat;
  background-image: url(../img/sprite.png);
}

.step-arrow {
  position: absolute;
  width: 30px;
  height: 25px;
  top: 10%;
  right: -5%;
  background-image: url(../img/arrow.png);
  background-repeat: no-repeat;
}

.step-ico-1 {
  background-position: 0 -201px;
}

.step-ico-2 {
  background-position: -73px -201px;
}

.step-ico-3 {
  background-position: -146px -201px;
}

.step-ico-4 {
  background-position: -219px -201px;
}

.step-text p {
  font-size: 0.875rem;
}

.subbutton-text {
  width: 465px;
  margin: 20px auto;
}

.certificates {
  padding: 60px 0;
  background-color: #ececec;
}

.certificate {
  display:block;
  width: 100%;
  /*height: 235px;*/
  -webkit-transition: all ease-out 0.5s;
     -moz-transition: all ease-out 0.5s;
       -o-transition: all ease-out 0.5s;
          transition: all ease-out 0.5s;
}

.certificate:hover {
  z-index: 100;
  cursor: pointer;
       -ms-transform: scale(1.2);
   -webkit-transform: scale(1.2);
      -moz-transform: scale(1.2);
        -o-transform: scale(1.2);
           transform: scale(1.2);
}

.certificates-gallary-popup {
  display: none;
  position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.7);
    z-index: 12000;
    padding: 25px;
    text-align: center;
}

.certificates-gallary-wrapper {
  position: relative; 
  display: inline-block;
  margin: 0 auto;
  padding: 0;
  max-height: 100%;
  max-width: 100%;
  vertical-align: middle;

}

.certificates-gallary-wrapper:before {
  content: '';
  display: inline-block;
  height: 100%;
  width: 0;
}

.certificates-image {
  margin: 0;
  padding: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

/*.certificates-img {
    width: auto;*/
    /*max-width: 100%;*/
    /*height: auto;*/
/*    width: 100%;
    height: 100%;
    display: block;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 20px 0;
    margin: 0 auto;
}*/


.certificates-gallary-close {
  background-color: #333;
  border-radius: 50%;
  border: solid 5px #333;
  position: absolute;
  top: -15px;
  right: -15px;
  width: 30px;
  height: 30px;
  background-image: url(../img/cross.png);
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
}

.certificates-slider-right,
.certificates-slider-left {
  position: absolute;
  top: 50%;
  width: 60px;
  height: 140px;
  margin-top: -70px;
  background-position: center;
  background-color: rgba(0,0,0,0.3);
  background-repeat: no-repeat;
}

.certificates-slider-left {
  left: 0;
  background-image: url(../img/white-arrow-left.png);
}

.certificates-slider-right {
  right: 0;
  background-image: url(../img/white-arrow-right.png);
}





.testimonials {
  padding: 60px 0;
}

.testimonials-slider {
  position: relative;
  padding: 0 16.6%;
  margin-bottom: 60px;
}

.arr-left,
.arr-right {
  position: absolute;
  top: 40%;
  width: 14px;
  height: 26px;
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
}

.arr-left {
  left: 3%;
  background-image: url(../img/arrow-left.png);
}

.arr-right {
  right: 3%;
  background-image: url(../img/arrow-right.png);
}

.testimonials-slider-marker {
  position: absolute;
  bottom: -40px;
  left: 0;
  right: 0;
  text-align: center;
}

.ts-img-2,
.ts-img-3,
.ts-img-4,
#slide_2,
#slide_3,
#slide_4 {
  display: none;
}

#page_mark_1,
#page_mark_2,
#page_mark_3,
#page_mark_4 {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 4px;
  border: #d33335 solid 1px; 
  border-radius: 6px;
  cursor: pointer;
}

.page-mark-active {
  background-color: #d33335;
}

.testimonials-img {
  margin-bottom: 20px;
}

.testimonials-text {
  position: relative;
  border: #d33335 solid 3px;
  padding: 35px 20px;
  text-align: left;
}

.testimonials-name {
  font-family: 'Roboto-Medium';
  font-size: 1rem;
}

.testimonials-link {
  font-family: 'Roboto-Medium';
  color: #2d2d2d;
  font-size: 0.875rem;
  text-decoration: underline !important;
}

.order {
  padding: 60px 0;
  background-image: url(../img/banner_second.jpg);
  background-size: cover;
  color: #fff;
}

.order-subblock {
	height: 60px;
	background-color: #4d4d4d;
	font: 0.875rem;
	color: #fff;
	line-height: 60px;
	text-align: center;
}

.partners {
	padding: 60px 0;
}

.partners-logo {
	height: 60px;
	line-height: 60px; 
}

.contacts {
	padding: 60px 0;
	background-color: #ececec;
}

.contacts-info {
	height: 450px;
}

.contacts-text {
	float: left;
	width: 30%;
	height: 100%;
	background-color: #d33335;
	color: #fff;
	padding: 80px 55px;
	text-align: left;
}

.contacts-bl-title {
	font-size: 0.875rem;
	margin-bottom: 5px;
}

.contacts-bl-text {
	margin-bottom: 20px;
	font-size: 1rem;
}

.contacts-img {
	float: right;
	width: 70%;
	height: 100%;
	background-image: url(../img/kitchens-img.jpg);
	background-size: cover;
}
.map {
  /*position: relative;*/
	width: 100%;
	height: 400px;
	background-color: #d2e4c8;
  overflow: hidden;
}

footer {
	/*height: 60px;*/
	background-color: #4d4d4d;
	font: 0.875rem;
	color: #fff;
	line-height: 60px;
	text-align: left;
}

.arr-up {
  display: none;
  position: fixed;
  right: 45px;
  bottom: 80px;
  width: 60px;
  height: 60px;
  background-image: url(../img/scroll-button.png);
  background-position: center;
  z-index: 10000;
}

.get-order {
  display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.7);
    z-index: 12000;
}

.form-wrapper {
  position: relative;
  margin: 12% auto 0;
  width: 490px;
  background-color: #fff;
  border-radius: 5px;
        padding: 50px 45px;
}

.form-title {
  color: #2d2d2d;
  font-size: 1.2rem;
}

.inp-phone {
  width: 350px;
  height: 40px;
  margin-bottom: 20px;
  padding: 12px 18px;
  border: 1px solid #d33335;
  border-radius: 10px;
  outline: none;
}

.submit-button {
  display: inline-block;
  width: 350px;
  height: 40px;
  line-height: 40px;
  background-color: #d33335;
  border-radius: 10px;
  text-align: center;
  color: #fff;
  text-transform: uppercase;
  border-bottom: 3px solid #af2325;
}

.submit-button:hover {
  background-color: #ff2629;
}

.close-popup {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 20px;
  height: 20px;
  background-image: url(../img/cross-grey.png);
  background-repeat: no-repeat;
  cursor: pointer;
}

@media (max-width: 1200px) {
  
}

@media (max-width: 991px) {
  .form-wrapper {
  margin-top: 18%;
  }
}

@media (max-width: 767px) {
  .form-wrapper {
  margin-top: 11%;
  }

  .form-wrapper {
    width: 450px;
    padding: 40px;
  }

  .form-title {
    font-size: 1.5rem;
    margin-bottom: 30px;
  }
}

@media (max-width: 543px) {
  .form-wrapper {
  }


  .form-wrapper {
    margin-top: 25%;
  width: 90%;
  padding: 45px 10px;
  }

    .form-title {
    font-size: 1.6rem;
    margin-bottom: 30px;
    margin-top: 5px;
  }

  .inp-phone,
  .submit-button {
    width: 270px;
  }
}

.succsess-text {
  position: absolute;
  top: 50%;
  margin-top: -0.6rem;
  left: 0;
  right: 0;
}

.header-succsess,
.footer-succsess {
  position: fixed;
  left: 0;
  right: 0;
}

.footer-succsess {
  bottom: 0;
}

.header-succsess {
  top: 0;
  background-color: #ececec;
}

#mapkit-4380 {
    height:400px;
    width:100%;
}

@media (max-width: 1200px) {
  html {
    font-size: 0.9rem;
  }

  .header-text {
    background-size: 24%;
  }

  .header-phone span {
    left: 25px;
  }

  nav ul {
    padding: 0;
  }

  .subbanner-ico {
    left: -60px;
  }

  .service-subtitle {
    width: 100%;
  }

  .order .h2-subtitle {
    width: 70%;
  }

  .form-title {
    font-size: 1.5rem;
  }
  
}

@media (max-width: 991px) {
  html {
    font-size: 0.8rem;
  }
  
  nav ul li a {
    margin: 0 20px;
  }

  .header-text {
    padding-top: 20px;
    background-size: 30%;
  }

  .header-phone span {
    left: -35px;
    top: 25px;
  }

  .main-button {
    width: 395px;
    height: 55px;
    line-height: 55px;
  }

  .icons-block {
    padding-bottom: 10px;
  }

  .ico-block {
    width: 79%;
    margin-left: 21%;
  }

  .ico-block-4 {
    width: 80.5%;
    margin-left: 19.5%;
  }

  .subbanner-ico {
    background-size: 850%;
    width: 35px;
    height: 35px;
    left: -42px;
  }

  .subbanner-ico-2 {
    background-position: -38px 0;
  }

  .subbanner-ico-3 {
    background-position: -76px 0;
  }

  .subbanner-ico-4 {
    background-position: -114px 0;
  }

  .quality {
    padding: 45px 0;
  }

  .gallary {
    padding: 0 0 30px;
  }

  .more-button {
    margin-top: 20px;
    font-size: 1.4rem;
  }

  .servise-h2 {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
  }

  .service-block-2,
  .service-block-3 {
    width: 100%;
  }

  .steps h3 span {
    display: block;
    margin: 0;
    padding: 0;
  }

  .steps .subbutton-text {
    width: 405px;
  }

  .testionials {
    padding: 45px 0;
  }

  .order-subblock {
    font-size: 1.1rem;
  }

  .contacts-info {
    height: 350px;
  }

  .contacts-text {
    padding: 50px 45px;
  }

  .form-title {
    font-size: 1.6rem;
  }
}
@media (max-width: 767px) {
  header {
    position: relative;
  }

  .header-mobile-bcgr {
    position: absolute;
    top: 0;
    width: 100%;
    height: 80px;
    background-color: #cecece;
  }
  
  .header-text {
    padding-top: 20px;
    background-size: 70%;
  }

  .header-phone {
    line-height: 0.3rem;
    text-align: left;
    padding-left: 52px;
  }

  .header-phone span {
    left: -50px;
    top: 16px;
  }

  .mobile-nav {
    display: block;
    text-align: right;
  }

  .burger-img {
    display: inline-block;
    margin-top: 5px;
    width: 40px;
    height: 40px;
    background-image: url(../img/menu.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    cursor: pointer;
  }

  nav,
  .nav {
    display: none;
    padding: 0;
    margin: 0;
    bottom: -245px;
    left: 0;
    right: 0;
    z-index: 2000;
  }

  nav ul {
    display: block;
    padding: 0;
    margin: 0;
    text-align: center;
    text-align-last: center;
    margin: 0;
  }

  nav ul li {
    display: block;
    padding: 0;
    margin: 0;
    width: 100%;
  }

  nav ul li a {
    width: 100%;
    padding: 0;
    margin: 0;
    display: block;
  }

  h1 {
    font-size: 2.1rem;
  }
  
  .main-banner {
    padding: 145px 0 120px;
  }

  .ico-block {
    width: 85%;
  }

  .ico-block-1,
  .ico-block-2 {
    margin-bottom: 30px;
  }
  
  .quality .h2-subtitle {
    margin-bottom: 120px;
  }
  
  .quality-block-1,
  .quality-block-2 {
    margin-bottom: 120px;
    text-align: center;
    width: 220px;
  }

  .quality-block-3,
  .quality-block-4 {
    margin-bottom: 45px;
    text-align: center;
  }

  .quality-block span {
    left: 35%;
    top: -75px;
  }

  .service-block-2,
  .service-block-1 {
    margin-bottom: 60px;
  }

  .steps {
    padding-bottom: 0;
  }

  .step-arrow {
    background-image: url(../img/arrow-down.png);
    background-repeat: no-repeat;
    width: 17px;
    height: 22px;
    top: 85%;
    right: 48.5%;
  }

  .step-ico {
    width: 100px;
    height: 100px;
    background-size: 530%;
    margin-bottom: 15px;
  }

  .step-ico-1 {
    background-position: 0 -270px;
  }

  .step-ico-2 {
    background-position: -100px -270px;
  }

  .step-ico-3 {
    background-position: -200px -270px;
  }

  .step-ico-4 {
    background-position: -300px -270px;
  }

  .steps h3 span {
    display: inline;
  }

  .steps p {
    width: 45%;
    text-align: center;
    margin: 0 auto 60px;
  }

  .steps .main-button {
    margin-top: 0;
    margin-bottom: 30px;
  }

  .contacts {
    height: 630px;
  }

  .contacts-img,
  .contacts-text {
    float: none;
    clear: both;
    width: 100%;
  }

  .contacts-img {
    height: 300px;
    background-position: 60% 0;
  }

  .contacts-text {
    padding: 25px;
  }

  .contacts-item {
    float: left;
    width: 50%;
    padding-left: 10%;
    height: 77px;
  }

  .header-phone-succsess {
    display: inline-block;
    text-align: center;
    padding-bottom: 20px;
  }

  .succsess-text {
    top: 60%;
  }

  .footer-text {
    text-align: center;
    margin-bottom: 0;
  }
}

@media (max-width: 576px) {
  .main-button {
    margin: 0 auto;
    width: auto;
    height: auto;
    padding: 10px 20px;
    line-height: 1.6rem;

  }

  .ico-block {
    margin-left: 8%;
    margin-top: 42px;
    width: 100%;
  }

  .subbanner-ico {
    top: -42px;
    left: 24%;
  }

  .quality-block {
    width: 100%;
  }

  .steps .subbutton-text {
    width: 100%;
  }

  .testimonials-img,
  .testimonials-text {
    width: 80%;
    margin: 0 auto;
  }

  .testimonials-text {
    margin-top: 20px;
  }

  .certificate {
    margin-bottom: 30px;
  }

  .header-text {
    background-size: 40%;
  }
}

.author {
  text-align: right;
}

.author a {
  color: #fff;
}