header {
  padding: 24px 0;
  width: 100%;
  z-index: 333;
}

.page-template-home .header{
  position: absolute;
}

.avf {
  margin-bottom: 24px;
  background: transparent;
  color: #fff;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.avf__socials {
  display: flex;
  align-items: center;
  gap: 24px;
}

.avf__socials a {
  position: relative;
  display: flex;
}

.avf__socials a svg {
  position: relative;
  width: auto;
  height: 24px;
  display: flex;
}

.avf__contacts {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header__menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header .menu {
  background: transparent;
  box-shadow: none;
  width: 100%;
  overflow: visible;
  display: flex;
  list-style: none;
  padding: 0;
  gap: 32px;
  padding-right: 18px;
}

header .menu li ~ li.current_page_item a {
  border-bottom: 1px solid #000;
}

header .menu > li > a {
  border-left: 0px solid #ffe300;
  padding-left: 0;
  background: transparent;
  color: #000000;
  width: fit-content;
  text-transform: none;
  font-size: 16px;
  font-weight: 600;
}

header .menu .logo {
  margin: 20px 0px;
  width: 320px;
  height: auto;
  background: transparent;
  padding: 0px;
  display: flex;
  border-radius: 50%;
  margin-bottom: 0px;
  position: absolute;
  top: 2px;
  left: 16%;
  box-shadow: none;
  background: transparent;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.logo {
  position: relative;
  display: flex;
}

.logo img {
  width: 320px;
  height: auto;
  display: block;
}

/* Phone */

a.number {
  display: flex;
  align-items: center;
  gap: 4px;
}

a.number span {
  color: #000000;
  font-size: 20px;
  transition: 0.3s ease;
}

a.number svg path {
  fill: #d41022;
}

a.number:hover {
  span {
    color: #d41022;
  }
}

/* hamburger */
a.b-menu {
  width: 36px;
  height: 36px;
  border: 1px solid #ffffff;
  /* box-shadow: 0 0 43px -10px #979797; */
  border: 1px solid rgba(242, 242, 242, 1);
  background: #fff;
  border-radius: 6px;
  display: none;
}

a.b-menu svg {
  width: 100%;
  height: 100%;
}

a.b-menu .b-menu__close {
  display: none;
  width: 20px;
  height: auto;
}

a.b-menu.active .b-menu__open {
  display: none;
}

a.b-menu.active .b-menu__close {
  display: block;
}

@media (max-width: 1200px) {
  header {
    padding: 12px 0;
  }
  .avf {
    display: none;
  }
  .logo img {
    width: 180px;
  }
  a.b-menu {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  header .menu {
    display: grid;
    width: 320px;
    background: #fff;
    min-height: 100vh;
    left: -320px;
    padding: 40px 24px;
    overflow-y: scroll;
    max-height: 100vh;
    grid-template-columns: 100%;
    grid-auto-rows: min-content;
    transition: 0.4s;
    top: 0;
    position: fixed;
    padding-bottom: 100px;
    margin-top: 0;
    max-width: calc(100% - 82px);
    gap: 28px;
    z-index: 10000;
  }

  header .menu > li > a {
    display: flex;
    width: 100%;
    padding: 4px 0;
  }
}
