@font-face {
  font-family: "Gotham XNarrow";
  src: url("../fonts/GothamXNarrow-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
}

.header {
  max-width: 1024px;
  width: 100%;
  margin: 0 auto;
  padding: 12px 16px 0;
  display: flex;
  position: sticky;
  top: 0;
  left: 0;
  z-index: 5;
  background-color: #fff;
}

.header__logo {
  width: 148px;
  height: 148px;
  transition: all .3s;
}

.header__logo img {
  width: 148px;
  height: 148px;
  transition: all .3s;
}

.header__content {
  width: calc(100% - 148px - 16px);
  margin-left: 16px;
}

.header__top {
  width: 100%;
  height: 100px;
  display: flex;
  justify-content: end;
  align-items: center;
  overflow: hidden;
  transition: all .5s;
}

.header__btn,
.header__btn-special {
  font-size: 12px;
  font-family: "Gotham XNarrow", sans-serif;
  font-weight: 700;
  color: rgb(73, 80, 87);
  text-decoration: none;
  text-transform: uppercase;
  text-align: center;
  transition: all .3s;
}

.header__btn+.header__btn,
.header__btn-special+.header__btn-special {
  margin-left: 32px;
}

.header__top-line {
  width: 1px;
  height: 48px;
  margin: 0 32px;
  background-color: #e9ecef;
}

.header__btn-special:hover {
  color: #d00;
}

.header__btn path {
  transition: all .3s;
}

.header__btn:hover path {
  fill: #d00;
}

.header__bottom {
  height: 48px;
  border-top: 1px solid #e9ecef;
  border-bottom: 1px solid #e9ecef;
}

.header__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header__nav a {
  display: inline-block;
  padding: 10px 0;
  font-size: 15px;
  height: 46px;
  font-family: "Gotham XNarrow", sans-serif;
  font-weight: 700;
  color: rgb(73, 80, 87);
  text-decoration: none;
  text-transform: uppercase;
  transition: all .1s;
}

.header__nav a:hover {
  color: #000;
  border-bottom: 2px solid #d00;
}

.header__mobile {
  display: none;
}

.header.scrolled {
  box-shadow: 0 8px 10px -8px #00000040;
  padding-top: 0;
  top: 12px;
}

.header.scrolled .header__top {
  height: 0px;
}

.header.scrolled .header__logo {
  width: 56px;
  height: 56px;
}

.header.scrolled .header__logo img {
  width: 56px;
  height: 56px;
}

.header.scrolled .header__content {
  width: calc(100% - 56px - 16px);
}

.header.scrolled .header__bottom {
  border: none;
  height: 56px;
}

.header.scrolled .header__nav a {
  padding: 15px 0;
  height: 56px;
}

@media (max-width: 1024px) {
  .header__logo {
    width: 72px;
    height: 72px;
    padding: 8px;
  }

  .header__logo img {
    width: 56px;
    height: 56px;
  }

  .header__content {
    width: calc(100% - 72px - 16px);
  }

  .header.scrolled {
    top: 0;
  }

  .header.scrolled .header__logo {
    width: 72px;
    height: 72px;
    padding: 8px;
  }

  .header.scrolled .header__content {
    width: calc(100% - 72px - 16px);
  }

  .header__top,
  .header__bottom {
    display: none;
  }

  .header__mobile {
    height: 72px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
  }

  .header__mobile a {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 56px;
    min-height: 56px;
  }
}