.footer-top {
  background: #212427;

  padding: 24px 0 44px;
}
.footer__top-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}
.footer__top-nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  width: 100%;
}
.footer__top-menu {
  width: 100%;
}
.footer__top-menu--item {
  display: block;
  width: 100%;
  margin-top: 32px;
}
.footer__top-menu--link {
  position: relative;

  display: inline-block;
  font-family: "Montserrat-Bold";
  font-size: 14px;
  color: #fff;
  line-height: 20px;
}
.footer__top-menu--link i {
  position: absolute;
  left: 100%;
  margin-left: 12px;

  font-size: 18px;
  color: var(--secondary);
}
.footer__top-info {
  width: 100%;
  padding-top: 36px;
}
.footer__info-title {
  display: block;
  line-height: 1.5rem;
  color: #fff;
}
.footer__info-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin: 12px 0 32px;
}
.footer__info-wrapper i {
  display: block;
  margin-right: 12px;
  font-size: 2rem;
  color: white;
}
.footer__info-item {
  display: block;
  font-family: "Montserrat-Bold";
  font-size: 22px;
  color: #fff;
  line-height: 32px;
  white-space: nowrap;
}
.footer__info-item:not(:last-child) {
  margin-bottom: 12px;
}

.footer-bottom {
  background-color: #000;
  padding-top: 22px;
  padding-bottom: 20px;
}
.footer__copyright {
  display: block;
  padding-right: 24px;
  font-size: 14px;
  color: #fff;
  line-height: 20px;
  opacity: 0.4;
}

@media screen and (min-width: 576px) {
  .footer__top-menu {
    width: 50%;
  }
  .footer-menu .footer-menu__link {
    padding: 10px 10px 10px 30px;
  }
  .footer-menu__link i {
    right: auto;
    left: 4px;
  }
}
@media screen and (min-width: 768px) {
  .footer__top-nav {
    width: 100%;
  }
  .footer__info-wrapper {
    margin-top: 16px;
  }
  .footer__info-wrapper i {
    margin-right: 2rem;
  }
  .footer__info-phones {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }
  .footer__info-item:not(:last-child) {
    margin: 0 24px 0 0;
  }
}
@media screen and (min-width: 992px) {
  .footer__top-nav {
    width: 66.666%;
  }

  .footer__top-info {
    width: 33.333%;
  }
  .footer__info-phones {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  .footer__info-wrapper i {
    margin-right: 16px;
  }
  .footer__info-item:not(:last-child) {
    margin: 0 0 12px 0;
  }
}
.header {
  position: fixed;
  top: 0;

  background-color: #fff;

  width: 100%;
  height: var(--header-s);
  -webkit-box-shadow: 0 0 29px 0 rgba(154, 154, 154, 0.22);
  box-shadow: 0 0 29px 0 rgba(154, 154, 154, 0.22);
  z-index: 11;
}
.header__container {
  height: 100%;
  z-index: 9;
  padding-left: 0;
  padding-right: 0;
}
.header__wrapper {
  position: relative;

  display: -webkit-box;

  display: -ms-flexbox;

  display: flex;
  height: 100%;
}

.burger__input,
.mobile-phone__input {
  position: absolute;
  top: -9999px;
  left: -9999px;
  visibility: hidden;
  opacity: 0;
}
.burger,
.mobile-phone__label {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-flex: 0;
  -ms-flex-positive: 0;
  flex-grow: 0;
  min-width: 60px;
  height: 60px;
  margin: 0;
}
.burger__inside {
  position: absolute;

  background-color: #343538;

  display: block;
  width: 28px;
  height: 2px;
}
.burger__inside:after,
.burger__inside:before {
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  background: #343538;
  content: "";
  -webkit-transition: -webkit-transform 0.3s;
  transition: -webkit-transform 0.3s;
  -o-transition: transform 0.3s;
  transition: transform 0.3s;
  transition: transform 0.3s, -webkit-transform 0.3s;
}
.burger__inside:before {
  -webkit-transform: translateY(-7px);
  -ms-transform: translateY(-7px);
  transform: translateY(-7px);
}
.burger__inside:after {
  -webkit-transform: translateY(7px);
  -ms-transform: translateY(7px);
  transform: translateY(7px);
}
.burger__input:checked ~ .burger .burger__inside {
  background-color: transparent;
}
.burger__input:checked ~ .burger .burger__inside:before {
  -webkit-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
.burger__input:checked ~ .burger .burger__inside:after {
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}
#burger:checked ~ .header-menu__box {
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

.mobile-phone__label {
  -webkit-box-ordinal-group: 3;
  -ms-flex-order: 2;
  order: 2;
  font-size: 1.3rem;
  color: #343538;
  -webkit-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
}
#mobile-phone__input:checked ~ .mobile-phone__label {
  background-color: var(--primary);
  color: var(--white);
}
.mobile-phone__input:checked ~ .header-info {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.header-info {
  position: absolute;
  top: 81px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);

  background-color: #212427;

  display: none;
  width: calc(100% - 16px);
  max-width: 400px;
  padding: 40px 20px;
  font-family: "Montserrat-Bold";
  color: #fff;
  -webkit-box-shadow: 0 10px 15px 0 rgba(0, 0, 0, 0.21);
  box-shadow: 0 10px 15px 0 rgba(0, 0, 0, 0.21);
  z-index: 51;
}
.header-info .header-info__phone {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  color: #fff;
  font-size: 18px;
  line-height: 1;
}
.header-info .header-info__list > *:not(:last-child) {
  margin-bottom: 24px;
}
.header-info i {
  margin-right: 1rem;
  font-size: 1.5rem;
}
.header-info__close {
  position: absolute;
  top: 0;
  right: 0;

  display: -webkit-inline-box;

  display: -ms-inline-flexbox;

  display: inline-flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: 40px;
  height: 40px;
  -webkit-transition: 0.2s ease;
  -o-transition: 0.2s ease;
  transition: 0.2s ease;
}
.header-info__close i {
  font-size: 22px;
}
.header-info__close:hover {
  color: red;
}

.header-center {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  width: 100%;
}

.header-center-btns,
.header-center .header-center__phones {
  display: none;
}

.header__logo {
  min-width: 0;
  display: block;
  width: 100%;
  height: 80%;
}
.header__logo img {
  margin: 0 auto;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
}

#burger:not(:checked) ~ .header-menu__box {
  pointer-events: none;
}
.header-menu__box {
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  bottom: 0;

  background-color: #fff;

  padding-top: 30px;
  -webkit-box-shadow: 0 0 1px #343538;
  box-shadow: 0 0 1px #343538;
  -webkit-transform: translate3d(0, 110%, 0);
  transform: translate3d(0, 110%, 0);
  -webkit-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
  will-change: transform;
  z-index: 11;
}
.header-menu__container {
  overflow-x: hidden;
  overflow-y: auto;
  height: 100%;
  max-height: 100%;
  display: -ms-flexbox;
  display: -webkit-box;
  display: flex;
  -ms-flex-direction: column;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  flex-direction: column;
  -webkit-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
}
.header-menu {
  pointer-events: auto;
  font-size: 0;
  line-height: 0;
  margin: 0;
  padding: 0;
}
.sub-menu__box ~ .sub-menu__link {
  padding-right: 38px;
}
.sub-menu__link {
  display: block;
  position: relative;
  padding: 10px 20px;
  font-family: "Montserrat-SemiBold", sans-serif;
  font-size: 17px;
  line-height: 24px;
  color: #343538;
}
.header-menu--root {
  -webkit-box-ordinal-group: 3;
  -ms-flex-order: 2;
  order: 2;
}

/* header-menu top */
.header-menu--top {
  font-size: 0;
  line-height: 0;
  -webkit-box-ordinal-group: 4;
  -ms-flex-order: 3;
  order: 3;
  padding: 30px 20px 24px;
  margin-left: -12px;
  margin-right: -12px;
}
.header-menu--top .header-menu__list {
  display: inline-block;
  vertical-align: top;
  width: 50%;
  margin-top: 18px;
  padding-left: 12px;
  padding-right: 12px;
}
.header-menu--top .header-menu__link {
  display: inline-block;
  position: relative;
  font-family: "Montserrat-Medium", sans-serif;
  font-size: 13px;
  line-height: 18px;
  color: #343538;
}
.header-menu__link--fire i {
  color: var(--red);
  font-size: 0.9rem;
  margin-right: 4px;
}
.header-menu__link-counter {
  position: absolute;
  top: -2px;
  left: 100%;

  background-color: #343538;

  display: -webkit-inline-box;

  display: -ms-inline-flexbox;

  display: inline-flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  height: 12px;
  margin-left: 2px;
  min-width: 16px;
  color: #fff;
  font-family: "Montserrat-SemiBold";
  font-size: 8px;
  border-radius: 14px;
}

/* header-menu center phones */
.header-center__phones--mobile {
  -webkit-box-ordinal-group: 3;
  -ms-flex-order: 2;
  order: 2;
  margin: 16px 20px 0;
  padding: 20px 0;
  border: 1px solid rgba(127, 129, 147, 0.15);
  border-left: none;
  border-right: none;
}
.header__phone {
  display: block;
  font-family: "Montserrat-Medium", sans-serif;
  font-size: 22px;
  line-height: 1.5rem;
  color: #343538;
  white-space: nowrap;
}
.header__phone:not(:last-child) {
  margin-bottom: 16px;
}

/* header-menu center phones */
.header-center-btns--mobile {
  -ms-flex-order: 10;
  -webkit-box-ordinal-group: 11;
  order: 10;
  -ms-flex-direction: column;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  flex-direction: column;
  display: -ms-flexbox;
  display: -webkit-box;
  display: flex;
  padding: 8px 8px 71px;
  min-height: 131px;
  margin-top: auto;
}
.header-center-btns__item.is-sticky {
  padding: 8px;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 12;
  -webkit-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
}
.header-center-btns__link {
  display: block;
  border-radius: 4px;
  font-family: "Montserrat-SemiBold", sans-serif;
}

@media screen and (min-width: 768px) {
  .header {
    height: var(--header-m);
  }
  .mobile-phone__label {
    position: absolute;
    top: -9999px;
    left: -9999px;
    visibility: hidden;
    opacity: 0;
  }
  .burger {
    width: 72px;
    height: 72px;
  }
  .header-center-btns {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-left: auto;
    padding-right: 12px;
  }

  .header-center-btns__item:not(:last-child) {
    margin-right: 32px;
  }
  .header__order {
    background: transparent;

    padding: 8px 20px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-family: "Montserrat-Medium";
    line-height: 1.5;
    color: var(--primary);
    -webkit-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
  }
  .header__order:hover {
    -webkit-box-shadow: inset 0px 0px 6px rgba(0, 0, 0, 0.5);
    box-shadow: inset 0px 0px 6px rgba(0, 0, 0, 0.5);
  }

  .header__logo {
    width: 110px;
  }

  .header__master {
    height: 44px;
    min-width: 220px;
    border-radius: 4px;
    font-family: "Montserrat-SemiBold", sans-serif;
  }

  .header-menu__box {
    top: 72px;
  }

  /* header menu */
  .header__phone {
    font-size: 22px;
    line-height: 27px;
  }
}

@media only screen and (min-width: 1300px) {
  .header {
    position: absolute;
    height: var(--header-l);
  }
  .header--fly.header--fly-down {
    top: 0;
    -webkit-transition: top 0.2s ease;
    -o-transition: top 0.2s ease;
    transition: top 0.2s ease;
  }
  .header--fly {
    position: fixed;
    top: -100%;

    height: 68px;
    z-index: 11;
  }
  .header--fly .header-center {
    height: 100%;
    padding: 0;
  }
  .header--fly .header-center {
    top: 0;
  }
  .header--fly .header-menu__box {
    display: none;
  }
  .header__container {
    padding-left: 20px;
    padding-right: 20px;
  }
  .burger {
    position: absolute;
    top: -9999px;
    left: -9999px;
    visibility: hidden;
    opacity: 0;
  }
  #burger:not(:checked) ~ .header-menu__box {
    pointer-events: auto;
  }
  .header__master {
    padding: 13px 12px;
  }
  .header-center {
    position: absolute;
    top: 39px;

    width: 100%;
    padding-top: 20px;
    padding-bottom: 10px;
    z-index: 1;
  }
  .header-center:before {
    content: "";
    position: absolute;
    top: -30px;
    left: -100%;
    right: -100%;

    height: 30px;
    pointer-events: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-box-shadow: 0 1px 5px -2px rgba(184, 213, 231, 0.21),
      0 4px 5px rgba(218, 233, 243, 0.2);
    box-shadow: 0 1px 5px -2px rgba(184, 213, 231, 0.21),
      0 4px 5px rgba(218, 233, 243, 0.2);
  }
  .header-center .header-center__phones {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-left: 80px;
  }
  .header-center .header-center__phones .header__phone {
    display: block;
    margin: 0 28px 0 0;
  }
  .header-center .header-center-btns {
    padding: 0;
  }

  .header-menu__box {
    position: absolute;

    -webkit-box-shadow: none;

    box-shadow: none;
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
    z-index: 0;
  }
  .header-menu__box,
  .header-overlay {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
  }
  .header-menu--top {
    position: absolute;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    top: 12px;
    font-size: 0;
    line-height: 0;
    margin: 0;
    padding: 0;
  }
  .header-menu--top .header-menu__list {
    width: auto;
    margin: 0;
    padding: 0;
  }
  .header-menu--top .header-menu__list:not(:last-child) {
    margin-right: 41px;
  }
  .header-menu--top .header-menu__link {
    -webkit-transition: color 0.2s ease;
    -o-transition: color 0.2s ease;
    transition: color 0.2s ease;
  }
  .header-menu--top .header-menu__link.isActive {
    font-family: "Montserrat-SemiBold";
    color: var(--primary);
  }
  .header-menu--top .header-menu__link:hover {
    color: var(--primary);
  }
  .header-menu--root {
    position: absolute;
    bottom: 0;
  }
  .header-menu--root .sub-menu__link.isActive::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--primary);
  }
  .header-menu--root {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
  .sub-menu__link {
    padding: 10px 0;
    margin-right: 42px;
  }
  .header-center__phones--mobile,
  .header-center-btns--mobile {
    display: none;
  }
}
