.contacts__description,
.list,
body,
h1,
h2 {
  margin: 0;
}
.list__item,
body {
  line-height: 1.4;
}
.header,
body {
  background-color: #f7f7f7;
}
.header__content,
.nav__link {
  -webkit-box-sizing: border-box;
}
.link,
.nav__link {
  text-decoration: none;
}
.link:hover,
.nav__link:hover {
  text-decoration: underline;
}
.section__img img,
img {
  max-width: 100%;
}
body {
  color: #333;
  font-family: Lato, Arial, sans-serif;
}
.header__content,
.page__main {
  margin: auto;
  max-width: 1024px;
}
img {
  max-height: 100%;
}
.link {
  color: #337ab7;
}
.page {
  padding-top: 80px;
}
.page__header {
  position: fixed;
  z-index: 2;
  width: 100%;
  top: 0;
  left: 0;
}
.header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  height: 80px;
  font-size: 16px;
  -webkit-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.3);
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.3);
}
.header__nav {
  position: fixed;
  left: -100%;
  top: 80px;
  -webkit-transition: left 0.5s;
  -o-transition: left 0.5s;
  transition: left 0.5s;
}
.header_open .header__nav {
  display: block;
  -webkit-transition: left 0.5s;
  -o-transition: left 0.5s;
  transition: left 0.5s;
  left: 0;
}
.header__content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  width: 100%;
  box-sizing: border-box;
  padding: 0 16px;
}
.logo {
  display: block;
  width: 140px;
  height: 70px;
  font-size: 0;
  background: url(img/logo.png) 50% / contain no-repeat;
}
.nav {
  height: 100%;
  background: #f7f7f7;
  width: 100%;
  border-top: 1px solid #ccc;
}
.nav-button {
  padding: 0;
  border: none;
  font-size: 0;
  background: 0 0;
}
.nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  background: #f7f7f7;
}
.nav__link {
  display: inline-block;
  width: 100%;
  color: inherit;
  padding: 16px;
  box-sizing: border-box;
  border-bottom: 1px solid #ccc;
}
.footer,
.section__description {
  -webkit-box-sizing: border-box;
}
.nav__link:hover {
  color: inherit;
}
.section {
  background: #fff;
  margin-top: 16px;
  padding: 16px;
}
.section__headline {
  margin-bottom: 16px;
  font-weight: 400;
  text-align: center;
}
.section_type_tile {
  padding: 0;
}
.section_type_tile .section__headline {
  text-align: left;
}
.section__description {
  -ms-flex-negative: 0;
  flex-shrink: 0;
  padding: 16px;
  box-sizing: border-box;
}
.promo {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  min-height: 350px;
  padding: 0 60px;
  background: url(img/promo.jpg) 100% 30% / cover no-repeat;
}
.promo::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}
.promo__headline {
  z-index: 1;
  font-weight: 400;
  color: #fff;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.6;
  font-size: 24px;
}
.feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.feature-list__item,
.gallery__list,
.list_type_documents .list__item {
  display: -webkit-box;
  display: -ms-flexbox;
}
.feature-list__item {
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 16px 0;
}
.feature-list__item::before {
  content: "";
  width: 48px;
  height: 48px;
  margin-right: 16px;
  -ms-flex-negative: 0;
  flex-shrink: 0;
}
.feature-list__item_type_draw::before {
  background: url(img/feature-list__item_type_draw.svg) 50% no-repeat;
}
.feature-list__item_type_cut::before {
  background: url(img/feature-list__item_type_cut.svg) 50% no-repeat;
}
.feature-list__item_type_building::before {
  background: url(img/feature-list__item_type_building.svg) 50% no-repeat;
}
.feature-list__item_type_pavement::before {
  background: url(img/feature-list__item_type_pavement.svg) 50% no-repeat;
}
.list_type_documents {
  list-style: none;
  padding: 0;
  margin: 0;
}
.list_type_documents .list__item {
  display: flex;
  margin-bottom: 12px;
}
.list_type_documents .list__item::before {
  content: "";
  width: 24px;
  height: 24px;
  margin-right: 8px;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  background: url(img/list_type_documents.svg) 50% no-repeat;
}
.contacts {
  margin: auto;
  padding: 0;
  list-style: none;
}
.contacts__description,
.contacts__term {
  padding: 8px 0;
}
.contacts__phone {
  padding-bottom: 8px;
}
.footer {
  max-width: 1024px;
  box-sizing: border-box;
  margin: auto;
  padding: 16px;
  font-size: 14px;
}
.wtf {
  color: red;
}
.gallery {
  padding: 32px 4px 4px;
}
.gallery__list {
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  font-size: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.gallery__item {
  width: 50%;
  max-height: 330px;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  padding: 4px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
@media (min-width: 768px) {
  .header__nav {
    position: static;
  }
  .header {
    height: 96px;
  }
  .nav {
    border: none;
    background: 0 0;
    width: auto;
  }
  .nav-button {
    display: none;
  }
  .nav__list {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
  }
  .nav__link {
    padding: 0;
    border: none;
  }
  .nav__item + .nav__item {
    padding-left: 32px;
  }
  .section {
    margin-top: 32px;
    padding: 32px;
  }
  .section__headline {
    margin-bottom: 32px;
    font-size: 30px;
  }
  .section_type_tile {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
  .section__description {
    width: 50%;
    padding: 32px;
  }
  .feature-list__item,
  .list_type_documents .list__item,
  .section__img {
    width: 50%;
  }
  .promo__headline {
    font-size: 38px;
  }
  .feature-list,
  .list_type_documents {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  .gallery__item {
    width: 30%;
  }
}
.gallery__item img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}
.hamburger {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: 40px;
  height: 40px;
}
.hamburger__bars,
.hamburger__bars:after,
.hamburger__bars:before {
  position: relative;
  width: 100%;
  height: 4px;
  background: #333;
  border-radius: 3px;
  -webkit-transition: top 0.2s 0.2s, background 0.2s, -webkit-transform 0.2s;
  transition: top 0.2s 0.2s, transform 0.2s, background 0.2s,
    -webkit-transform 0.2s;
  -o-transition: top 0.2s 0.2s, transform 0.2s, background 0.2s;
}
.hamburger__bars:after,
.hamburger__bars:before {
  content: "";
  display: block;
  position: absolute;
}
.hamburger__bars:before {
  top: -10px;
}
.hamburger__bars:after {
  top: 10px;
}
.header_open .hamburger__bars:after,
.header_open .hamburger__bars:before {
  -webkit-transition: top 0.2s, -webkit-transform 0.2s 0.2s;
  transition: top 0.2s, transform 0.2s 0.2s, -webkit-transform 0.2s 0.2s;
  -o-transition: top 0.2s, transform 0.2s 0.2s;
  top: 0;
}
.header_open .hamburger__bars {
  background: 0 0;
}
.header_open .hamburger__bars:before {
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}
.header_open .hamburger__bars:after {
  -webkit-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.footer__content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 12px;
}
.footer__links {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 12px;
}
.footer__link {
  padding: 0;
  border: none;
  background: 0 0;
  font-size: 14px;
  color: #337ab7;
  text-decoration: underline;
  cursor: pointer;
}
.footer__link:hover {
  text-decoration: none;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding: 16px;
  z-index: 10;
  @media screen and (max-width:768px){
    padding: 0;
}
}
.modal_open {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}
.modal__dialog {
  position: relative;
  max-width: 900px;
  width: 100%;
  max-height: 100%;
  background: #fff;
  -webkit-box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  overflow: hidden;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}
.modal__body {
  padding: 24px;
  overflow: auto;
}
.modal__close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  border: none;
  background: 0 0;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.modal-article {
  font-size: 14px;
  line-height: 1.6;
}
.modal-article h2 {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 20px;
}
.modal-article h3 {
  margin-top: 24px;
  margin-bottom: 8px;
  font-size: 18px;
}
.modal-article ul {
  padding-left: 18px;
  margin: 8px 0;
}
.modal__actions {
  margin-top: 24px;
}
.modal__download-link {
  display: inline-block;
  padding: 10px 16px;
  border: 1px solid #337ab7;
  border-radius: 4px;
  color: #337ab7;
  text-decoration: none;
}
.modal__download-link:hover {
  background: #337ab7;
  color: #fff;
}
.modal-open {
  overflow: hidden;
}
.modal-template {
  display: none;
}

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 1024px;
  background: #fff;
  padding: 16px;
  border-radius: 8px;
  -webkit-box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  display: none;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 16px;
  z-index: 9;
}
.cookie-banner_visible {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  @media screen and (max-width:768px){
    flex-direction: column;
}
}
.cookie-banner__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}
.cookie-banner__link {
  padding: 0;
  border: none;
  background: 0 0;
  color: #337ab7;
  text-decoration: underline;
  cursor: pointer;
  font-size: 14px;
}
.cookie-banner__actions {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 8px;
  -ms-flex-negative: 0;
  flex-shrink: 0;
}
.cookie-banner__button {
  padding: 10px 16px;
  border-radius: 4px;
  border: 1px solid transparent;
  font-size: 14px;
  cursor: pointer;
}
.cookie-banner__button_accept {
  background: #337ab7;
  color: #fff;
}
.cookie-banner__button_decline {
  border-color: #337ab7;
  color: #337ab7;
  background: 0 0;
}
