.header {
  display: flex;
  flex-direction: column;
  position: sticky;
  width: 100%;
  z-index: 10;
  top: 0;
  left: 0;
  background-color: var(--background);
}

.header__top {
  width: 100%;
  padding: 15px 0;
}

.header__top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 16px;
}

.header__bottom {
  width: 100%;
  background-color: var(--accent);
  padding: 12px 0;
}

.header__logo {
  width: 193px;
  height: auto;
}

.header__logo img {
  width: 100%;
  height: auto;
}

.header__address {
  display: grid;
  grid-template-columns: auto 246px;
  gap: 10px 14px;
}

.header__address svg {
  grid-row: 1 / 3;
}

.header__address-text {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 18px;
  line-height: 100%;
}

.header__address-link {
  color: var(--accent);
  font-weight: 600;
  font-size: 16px;
  line-height: 100%;
  text-decoration: underline;
}

.header__work {
  font-weight: 400;
  font-size: 18px;
  line-height: 100%;
  text-align: center;
}

.header__phones {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.header__phone {
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 400;
  font-size: 18px;
  line-height: 100%;
  white-space: nowrap;
}

.header__top-btn {
  max-width: 163px;
  width: 100%;
}

.header__bottom-inner {
  
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.header__nav {
  max-width: 927px;
  width: 100%;
}

.header__menu {
  width: 100%;
  
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
}

.header__menu a {
  color: var(--text);
}

.header__menu .current-menu-item a {
  color: var(--text-dark);
}

.header__mobile {
  display: none;
}

.mobile-menu {
  display: none;
}

.header__bottom-inner .btn {
  width: 100%;
  max-width: 213px;
}

@media (max-width: 1080px) {
  .header__bottom {
    display: none;
  }

  .header__address {
    display: none;
  }

  .header__work {
    display: none;
  }

  .header__phones {
    display: none;
  }

  .header__top-btn {
    display: none;
  }

  .header__mobile {
    display: flex;
    gap: 14px;
    align-items: center;
  }

  .header__action {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--accent);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
  }

  .header__top {
    width: 100%;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
  }

  .header__logo {
    width: 160px;
  }

  .mobile-menu {
    width: 100%;
    max-width: 360px;
    position: fixed;
    background-color: #D7D7D7;
    z-index: 12;
    top: 0;
    right: 0;
    padding: 10px;
  }

  .mobile-menu.open {
    display: grid;
    gap: 20px;
  }

  .mobile-close {
    justify-self: flex-end;
    cursor: pointer;
  }

  .mobile-menu__navs {
    gap: 16px;
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
  }

  .mobile-menu__nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .mobile-menu__title {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 20px;
    line-height: 100%;
    color: var(--text-dark);
  }

  .mobile-menu__menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .mobile-menu__menu a {
    color: var(--text-dark);
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
  }

  .mobile-menu__phones {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .mobile-menu__phone {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    color: var(--text-dark);
  }

  .mobile-menu__socials {
      display: flex;
      align-items: center;
      gap: 10px;
  }

  .mobile-menu__social {
    width: 44px;
    height: 44px;
  }

  .mobile-menu__social img {
    width: 100%;
    height: auto;
  }

  .mobile-menu__contact {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px 20px;
  }

  .mobile-menu__contact svg {
    grid-row: 1 / 3;
  }

  .mobile-menu__contact a,
  .mobile-menu__contact p {
    color: var(--text-dark);
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
  }
}
