.top {
  background: rgba(255, 255, 255, .97) !important;
  border-bottom-color: #dce6f3 !important;
  box-shadow: 0 8px 26px rgba(10, 26, 60, .09);
}

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

.logo--client {
  display: inline-flex;
  width: clamp(190px, 17vw, 225px);
  min-height: 56px;
  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: #465570;
}

.top .nav a:hover,
.top .nav a:focus-visible {
  color: #174cbf;
  background: #eef3fe;
}

.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 #c8d7ed;
  border-radius: 999px;
  color: #172640;
  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--mail {
  background: #f7faff;
}

.top__contact--phone {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(180deg, #2d78ff 0%, #1555db 100%);
  box-shadow: 0 8px 22px rgba(20, 87, 220, .32);
}

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

  .top__contact--mail:hover {
    background: #eef3fe;
  }
}

.stopka {
  background: #050d1c !important;
  border-top-color: rgba(132, 174, 241, .18) !important;
  color: #9fb1ca !important;
}

.stopka h2,
.stopka .logo,
.stopka a:hover {
  color: #f3f7ff !important;
}

.stopka__dol {
  border-top-color: rgba(132, 174, 241, .16) !important;
}

.stopka .logo--client {
  width: min(100%, 270px);
  min-height: 0;
  margin-bottom: 14px;
  padding: 8px;
  border-radius: 12px;
  background: #fff;
}

@media (max-width: 1180px) {
  .top__contact--mail span {
    display: none;
  }

  .top__contact--mail {
    width: 46px;
    padding-inline: 0;
  }
}

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

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

  .logo--client {
    width: clamp(146px, 45vw, 174px);
    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: 370px) {
  .logo--client {
    width: 150px;
  }
}

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