.header button[data-spa-call],
.footer button[data-spa-call] {
  background: transparent;
  text-align: start;
}

.header__mobile-phone[data-spa-call] {
  min-height: 44px;
  min-width: 34px;
  justify-content: center;
}

.footer button.footer__number:hover {
  text-decoration: underline;
}

.spa-call-dialog:not([open]) {
  display: none;
}

.spa-call-dialog {
  position: fixed;
  inset: 0;
  margin: auto;
  box-sizing: border-box;
  width: min(420px, calc(100% - 32px));
  max-height: calc(100% - 32px);
  padding: 38px 24px 24px;
  overflow: auto;
  border: 0;
  border-radius: 8px;
  background: #fff;
  color: #000;
  text-align: center;
}

.spa-call-dialog::backdrop {
  background: rgb(0 0 0 / 50%);
}

.spa-call-dialog #spa-call-title {
  font-size: 24px;
  line-height: 1.2;
  font-weight: 400;
  margin-block: 0 10px;
}

.spa-call-dialog__number {
  width: 100%;
  box-sizing: border-box;
  padding: 8px 4px;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: clamp(20px, 7vw, 32px);
  line-height: 1.25;
  color: #006b76;
  text-align: center;
}

.spa-call-dialog__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.spa-call-dialog__actions .soloservice__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  min-height: 44px;
  background-color: #006b76;
  border-color: #006b76;
}

.spa-call-dialog__actions .spa-call-dialog__copy,
.spa-call-dialog__actions a:hover {
  color: #006b76;
  background-color: #fff;
}

.spa-call-dialog__actions .spa-call-dialog__copy:hover {
  background-color: #eaf8f9;
}

.spa-call-dialog__close {
  position: absolute;
  top: 4px;
  right: 4px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: transparent;
  color: #006b76;
}

.spa-call-dialog__close span {
  position: relative;
  width: 16px;
  height: 16px;
}

.spa-call-dialog__close span::before,
.spa-call-dialog__close span::after {
  content: "";
  position: absolute;
  inset: 7px 0 auto;
  height: 2px;
  background: currentColor;
  transform: rotate(45deg);
}

.spa-call-dialog__close span::after {
  transform: rotate(-45deg);
}

.spa-call-dialog :focus-visible {
  outline: 2px solid #006b76;
  outline-offset: 2px;
}

.spa-call-dialog__status {
  min-height: 1.3em;
  margin: 12px 0 0;
  font-size: 16px;
  line-height: 1.3;
}

@media (prefers-reduced-motion: reduce) {
  .spa-call-dialog__actions .soloservice__btn {
    transition: none;
  }
}
