.top {
  background: rgba(255, 255, 255, .97) !important;
  border-bottom-color: #dfe7f4 !important;
  box-shadow: 0 8px 26px rgba(6, 17, 47, .08);
}

.top__rzad {
  min-height: 84px !important;
  gap: 18px !important;
}

.logo--client {
  display: inline-flex;
  width: clamp(210px, 16vw, 240px);
  min-height: 52px;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.logo--client img {
  display: block;
  width: 100%;
  height: auto;
}

.top .nav {
  margin-left: auto;
}

.top .nav a {
  color: #43516c;
}

.top .nav a:hover,
.top .nav a:focus-visible {
  color: #164dc9;
  background: #eef3ff;
}

.top__contacts {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.top__contact {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 16px;
  border: 1px solid #cbd9ef;
  border-radius: 999px;
  color: #12203a;
  background: #f7faff;
  font-size: .875rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}

.top__contact img {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

.top__contact--phone {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(180deg, #2d78ff 0%, #1655da 100%);
  box-shadow: 0 8px 22px rgba(22, 85, 218, .27);
}

@media (hover: hover) {
  .top__contact:hover {
    transform: translateY(-1px);
    border-color: #7da7ec;
    background: #eef3ff;
  }

  .top__contact--phone:hover {
    border-color: transparent;
    background: linear-gradient(180deg, #1f69ed 0%, #1049c5 100%);
  }
}

.stopka .logo--client {
  width: min(100%, 275px);
  min-height: 0;
  margin-bottom: 14px;
}

@media (max-width: 1180px) {
  .top__contact--mail {
    width: 46px;
    padding-inline: 0;
  }

  .top__contact--mail span {
    display: none;
  }
}

@media (max-width: 960px) {
  .top .nav {
    display: none;
  }
}

@media (max-width: 720px) {
  .top__rzad {
    min-height: 72px !important;
    gap: 8px !important;
  }

  .logo--client {
    width: clamp(164px, 46vw, 184px);
    min-height: 48px;
  }

  .top__contacts {
    margin-left: auto;
    gap: 6px;
  }

  .top__contact {
    width: 44px;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
  }

  .top__contact span {
    display: none;
  }
}

@media (max-width: 360px) {
  .logo--client {
    width: 156px;
  }
}

@media print {
  .top__contacts {
    display: none;
  }
}
