* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

html,
body {
  width: 100%;
  height: 100%;
}

body {
  margin: 0;
  font-size: 18px;
  font-family: 'Open Sans', sans-serif;
  color: #6a6a6a;
  background-color: #ebebeb;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  font-weight: normal;
}

ul {
  padding: 0;
  margin: 0;
}

ul li {
  list-style: none;
}

p {
  padding: 0;
  margin: 0;
}

.container {
  margin: 0 auto;
  max-width: 1140px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.container--row {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.container--end {
  align-items: flex-end;
}

.wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 100%;
}

.maincontent {
  height: 100%;
  min-height: 650px;
}

.wrap {
  display: flex;
  align-items: center;
}

.btn {
  display: flex;
  width: 350px;
  background-color: #616f7b;
  background: linear-gradient(77deg, #616f7b 86%, transparent 86.2%, transparent 86.4%, #ec7900 86.8%, #ec7900 87.6%, transparent 87.8%) no-repeat right top/cover;
  color: #ffffff;
  font-size: 18px;
  font-weight: 300;
  text-decoration: none;
  text-transform: uppercase;
  padding: 20px 0 20px 40px;
  margin: 30px 0 40px 0;
  border: none;
  font: 300 18px 'Open Sans';
  outline: none;
  cursor: pointer;
  position: relative;
  z-index: 1;
}

.btn:before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(77deg, #ec7900 86%, transparent 86.2%, transparent 86.4%, #ec7900 86.8%, #ec7900 87.6%, transparent 87.8%) no-repeat right top/cover;
  transition: opacity 0.2s ease-out;
  z-index: 2;
  opacity: 0;
}

.btn:hover::before {
  opacity: 1;
}

.btn span {
  position: relative;
  z-index: 3;
}

.btn--reverse {
  margin-left: auto;
  justify-content: center;
  background: linear-gradient(77deg, transparent 12.2%, #ec7900 12.4%, #ec7900 13.2%, transparent 13.6%, transparent 13.8%, #616f7b 14%) no-repeat right top/cover;
}

.btn--reverse:before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(77deg, transparent 12.2%, #ec7900 12.4%, #ec7900 13.2%, transparent 13.6%, transparent 13.8%, #ec7900 14%) no-repeat right top/cover;
  transition: opacity 0.2s ease-out;
  z-index: 2;
  opacity: 0;
}

.btn--reverse:hover::before {
  opacity: 1;
}

.btn--reverse span {
  position: relative;
  z-index: 3;
}

.btn--order {
  background: #616f7b;
  width: 320px;
  justify-content: center;
  padding: 20px 0;
  font: 300 18px 'Open Sans';
  box-shadow: 0 3px 0 #ffffff, 0 5px 0 #fa982d;
  margin-bottom: 0;
}

.btn--order:hover {
  background: #ec7900;
}

.first-title {
  color: #ffffff;
  font-size: 72px;
  text-transform: uppercase;
  margin: 220px 0;
}

.second-title {
  color: #353535;
  font-size: 48px;
  text-transform: uppercase;
  margin: 40px 0;
}

.third-title {
  color: #748189;
  font-size: 24px;
  font-weight: 300;
  text-align: center;
  text-transform: uppercase;
}

.header {
  position: relative;
  width: 100%;
  padding: 10px 0;
}

.menu {
  background-color: #616f7b;
  background: linear-gradient(30deg, rgba(97, 111, 123, 0.8) 86%, transparent 86.2%) no-repeat right top/cover;
  padding: 15px 0;
  margin-top: 20px;
  position: relative;
  width: 630px;
  box-shadow: 0 3px 0 #062339, 0 5px 0 #fa982d;
}

.menu:before {
  content: '';
  display: block;
  position: absolute;
  width: 1000%;
  left: -1000%;
  top: 0;
  height: 100%;
  background-color: rgba(97, 111, 123, 0.8);
  box-shadow: 0 3px 0 #062339, 0 5px 0 #fa982d;
}

.menu__link {
  color: #ffffff;
  font-size: 18px;
  font-weight: 300;
  text-decoration: none;
  padding-right: 60px;
  transition: .2s;
}

.menu__link:hover {
  color: #fa982d;
}

.contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.contact:after {
  content: '';
  display: block;
  position: absolute;
  background-color: transparent;
  width: 100%;
  height: 100%;
  width: 0;
  height: 0;
  border-left: 310px solid transparent;
  border-right: 310px solid transparent;
  border-top: 200px solid rgba(255, 126, 0, 0.8);
  top: -50px;
}

.contact__descr {
  color: #3c3c3c;
  text-transform: uppercase;
  font-weight: 300;
  font-size: 24px;
  position: relative;
  z-index: 10;
  margin-top: -10px;
}

.contact__link {
  color: #ffffff;
  font-size: 24px;
  text-decoration: none;
  font-weight: 300;
  position: relative;
  z-index: 10;
  margin-top: 5px;
}

.hero {
  background: url(../img/hero-bg.jpg) center center no-repeat;
  background-size: cover;
  min-height: 100vh;
}

.about {
  background-color: #000000;
  padding-bottom: 50px;
}

.about__descr {
  font-size: 18px;
  font-weight: 300;
  color: #c0c0c0;
  line-height: 36px;
  text-align: justify;
}

.service-bg__wrap {
  background-color: #ebebeb;
}

.service-bg {
  background-color: #ebebeb;
  padding: 30px 0;
  position: relative;
  margin-bottom: 40px;
  overflow: hidden;
}

.service-bg:last-of-type {
  margin-bottom: 0;
}

.service {
  background-color: #ffffff;
}

.service__wrap {
  display: flex;
}

.service__descr-wrap {
  max-width: 45%;
}

.service__descr {
  color: #6a6a6a;
  font-size: 18px;
  font-weight: 300;
  line-height: 30px;
}

.service__img {
  position: absolute;
  right: 0;
  max-width: 50%;
  top: 0;
  display: block;
}

.service__img--reverse {
  right: auto;
  left: 0;
}

.service__img--mob {
  display: none;
}

.footer {
  background: url(../img/footer-bg.png) center center no-repeat;
  background-size: cover;
  /*margin-top: 30px;*/
  overflow: hidden;
}

.footer .container {
  align-items: flex-start;
}

.footer .menu-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.logo-block {
  position: relative;
  display: flex;
  flex-direction: column;
}

.logo-block:before {
  content: '';
  display: block;
  position: absolute;
  width: 1000%;
  left: -1000%;
  top: 0;
  height: 100%;
  background-color: rgba(255, 126, 0, 0.8);
}

.logo-block .logo {
  display: block;
  padding: 35px 0 0;
  width: 133%;
  background: linear-gradient(70deg, rgba(255, 126, 0, 0.8) 87.6%, transparent 87.8%) no-repeat right top/cover;
}

.logo-block .logo-block__descr {
  background: linear-gradient(107deg, rgba(255, 126, 0, 0.8) 75.6%, transparent 75.8%) no-repeat right top/cover;
  width: 140%;
  padding-top: 50px;
  height: 233px;
}

.logo-block .contact__descr {
  font-size: 14px;
}

.logo-block .contact__link {
  font-size: 18px;
  margin: 10px 0 10px;
  display: block;
}

.menu-footer {
  padding-top: 35px;
}

.menu-footer .menu__link {
  font-size: 24px;
  color: #ffffff;
  text-transform: uppercase;
  text-decoration: underline;
  padding-right: 0;
  padding-left: 60px;
}

.menu-footer .menu__link:hover {
  text-decoration: none;
}

.social {
  padding: 50px 0 70px;
  display: flex;
}

.social__link {
  padding-left: 20px;
  display: block;
}

.cookies {
  text-align: right;
  padding-left: 130px;
  padding-bottom: 20px;
}

.is-open-modal {
  overflow: hidden;
}

.modal {
  box-sizing: border-box;
  position: fixed;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.8);
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  padding: 3rem;
  display: none;
}

.modal__input {
  width: 320px;
  border: none;
  background: #ebebeb;
  padding: 20px 30px;
  font-size: 24px;
  color: #748189;
  font-weight: 300;
  margin-bottom: 25px;
  font: 300 18px 'Open Sans';
}

.modal.is-open {
  display: block;
}

.dialog {
  box-sizing: border-box;
  width: max-content;
  background: #ffffff;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  padding: 50px 60px;
}

.modal-body {
  display: flex;
  flex-direction: column;
}

.hamburger {
  display: none;
}

#menuToggle {
  display: block;
  position: absolute;
  top: 10px;
  right: -5px;
  z-index: 1;
  -webkit-user-select: none;
  user-select: none;
}

#menuToggle input {
  display: block;
  width: 40px;
  height: 32px;
  position: absolute;
  top: -7px;
  left: -5px;
  cursor: pointer;
  opacity: 0;
  z-index: 2;
  -webkit-touch-callout: none;
}

#menuToggle span {
  display: block;
  width: 45px;
  height: 4px;
  margin-bottom: 11px;
  position: relative;
  background: #ffffff;
  border-radius: 5px;
  z-index: 1;
  transform-origin: 4px 0px;
  transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1), background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1), opacity 0.55s ease;
}

#menuToggle span:first-child {
  transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2) {
  transform-origin: 0% 100%;
}

#menuToggle input:checked ~ span {
  opacity: 1;
  transform: rotate(45deg) translate(1px, 1px);
  background: #616f7b;
}

#menuToggle input:checked ~ span:nth-last-child(3) {
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}

#menuToggle input:checked ~ span:nth-last-child(2) {
  opacity: 1;
  transform: rotate(-45deg) translate(0, -1px);
}

#menu {
  position: absolute;
  width: 320px;
  height: 104vh;
  margin: -100px 0 0 0;
  padding: 60px 0;
  right: -35px;
  background: #aeaeae;
  list-style-type: none;
  -webkit-font-smoothing: antialiased;
  transform-origin: 0% 0%;
  transform: translate(100%, 0);
  transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
}

#menu .contact__descr,
#menu .contact__link {
  font-size: 18px;
  font-weight: normal;
  padding-bottom: 10px;
}

#menu a {
  text-decoration: none;
}

#menu li {
  padding: 20px 0 0;
  font-size: 18px;
  color: #ffffff;
  font-weight: normal;
}

#menuToggle input:checked ~ ul {
  transform: scale(1, 1);
  opacity: 1;
}

.hamb__block {
  padding: 0 30px 20px;
  border-bottom: 2px solid #ec7900;
}

.hamb__block:last-of-type {
  border: none;
}

.hamb__block .social {
  padding: 10px 0 0;
}

.hamb__block .social__link {
  padding-left: 0;
  padding-right: 20px;
}

.email {
  font-size: 18px;
  color: #ffffff;
  font-weight: normal;
  text-decoration: none;
  padding: 20px 0;
  display: block;
}

@media screen and (max-width: 1000px) {
  .container {
    padding: 0 5px;
  }

  .btn {
    margin: 30px auto 40px;
    background: #616f7b;
    box-shadow: 0 3px 0 #ffffff, 0 5px 0 #fa982d;
    padding: 20px 0;
    transition: 0.2s;
    justify-content: center;
  }

  .btn:before {
    display: none;
  }

  .btn:hover {
    background: #ec7900;
  }

  .contact {
    margin-right: 30px;
  }

  .service-bg {
    padding-top: 0;
  }

  .service__wrap {
    flex-direction: column-reverse;
  }

  .service__wrap .container {
    align-items: center;
  }

  .service__wrap--reverse {
    flex-direction: column;
  }

  .service__descr-wrap {
    max-width: 95%;
    background: rgba(255, 255, 255, 0.8);
    padding: 0 15px;
    margin-top: -125px;
    z-index: 10;
  }

  .service__descr-wrap .second-title {
    text-align: center;
  }

  .service__img {
    display: none;
  }

  .service__img--mob {
    display: block;
    position: relative;
    max-width: none;
    width: 100%;
  }

  .footer .container {
    padding: 0 15px;
  }

  .logo-block .logo-block__descr {
    height: 330px;
    width: 133%;
    background: linear-gradient(107deg, rgba(255, 126, 0, 0.8) 72.6%, transparent 72.8%) no-repeat right top/cover;
  }

  .menu-footer {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: end;
  }

  .menu-footer .menu__link {
    padding-bottom: 20px;
  }

  .social--footer {
    padding-top: 30px;
    padding-bottom: 30px;
  }
}

@media screen and (max-width: 930px) {
  .btn {
    font-size: 13px;
    width: 230px;
  }

  .btn--order {
    width: 320px;
    font-size: 22px;
  }

  .first-title {
    margin: 60px 0 100px;
    font-size: 36px;
  }

  .second-title {
    margin-bottom: 60px;
    font-size: 30px;
  }

  .menu {
    display: none;
  }

  .contact {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 0 20px;
  }

  .about {
    padding: 0 20px 30px;
  }

  .footer {
    padding-bottom: 280px;
    position: relative;
  }

  .footer .container {
    position: initial;
  }

  .logo-block:before {
    display: none;
  }

  .logo-block .logo {
    background: transparent;
  }

  .logo-block .logo-block__descr:before {
    content: '';
    display: block;
    position: absolute;
    width: 1000%;
    left: -1000%;
    top: 0;
    height: 100%;
    background-color: rgba(255, 126, 0, 0.8);
  }

  .logo-block .logo-block__descr {
    background: rgba(255, 126, 0, 0.8);
    position: relative;
    width: 100%;
    text-align: right;
    height: auto;
    padding: 30px 30px 30px 0;
    margin-top: 40px;
  }

  .logo-block .contact__link {
    margin-bottom: 0;
  }

  .social--footer {
    position: absolute;
    left: 50%;
    margin-left: -190px;
    top: 290px;
    padding: 0 0 50px;
  }

  .cookies {
    position: absolute;
    bottom: 30px;
    text-align: center;
    padding: 0 20px;
    width: 100%;
    left: 50%;
    margin-left: -245px;
    max-width: 490px;
  }

  .hamburger {
    display: block;
    position: relative;
    height: 100px;
  }

  .hamburger:after {
    content: '';
    display: block;
    position: absolute;
    background: url(../img/hamb-bg.png) center center no-repeat;
    background-size: cover;
    width: 138px;
    height: 86px;
    right: -30px;
    top: -10px;
  }
}