.kontakt-float[hidden] {
  display: none;
}

.kontakt-float {
  position: fixed;
  z-index: 100;
  right: 18px;
  bottom: 18px;
  width: min(310px, calc(100vw - 36px));
  padding: 18px 18px 17px;
  background: #b7f3d6;
  color: #14253b;
  border: 2px solid #14253b;
  box-shadow: 6px 6px 0 #ed6947, 0 12px 32px #0b152a40;
  font-family: Inter, "Aptos", "Segoe UI", Arial, sans-serif;
}

.kontakt-float__close {
  position: absolute;
  top: 5px;
  right: 5px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #14253b;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}

.kontakt-float__title {
  display: block;
  max-width: 230px;
  padding-right: 22px;
  font-size: 17px;
  line-height: 1.25;
  font-weight: 800;
}

.kontakt-float__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  margin-top: 12px;
}

.kontakt-float__request {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  background: #14253b;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.kontakt-float__request:hover {
  background: #293b54;
}

.kontakt-float__phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  color: #14253b;
  font-size: clamp(25px, 8vw, 30px);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

.kontakt-float a:focus-visible,
.kontakt-float__close:focus-visible {
  outline: 3px solid #bd3d24;
  outline-offset: 3px;
}

@media (max-width: 620px) {
  .kontakt-float {
    right: 12px;
    bottom: 12px;
    width: min(294px, calc(100vw - 24px));
    padding: 13px 14px;
    box-shadow: 4px 4px 0 #ed6947, 0 8px 24px #0b152a40;
  }

  .kontakt-float__title {
    font-size: 15px;
  }

  .kontakt-float__actions {
    margin-top: 8px;
  }
}
