.phone-contact {
  width: min(540px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 38px;
  overflow: auto;
  color: #152849;
  background: #fff;
  border: 1px solid #dbe5f6;
  border-radius: 24px;
  box-shadow: 0 24px 90px #10275840;
}
.phone-contact::backdrop { background: #0e234880; }
.phone-contact[open] { display: block; }
.phone-contact-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: #193761;
  background: #f0f5fd;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}
.phone-contact-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 20px;
  color: #1356ee;
  background: #edf3ff;
  border-radius: 16px;
}
.phone-contact h2 { margin: 0 24px 12px 0; font-size: clamp(26px, 4vw, 34px); line-height: 1.15; letter-spacing: -.03em; }
.phone-contact p { margin: 0; color: #4e607a; font-size: 16px; line-height: 1.55; }
.phone-contact input.phone-contact-number {
  display: block;
  width: 100%;
  height: auto;
  margin: 24px 0;
  padding: 12px 4px;
  color: #123eaa;
  background: #f4f7fd;
  border: 1px solid #dce6f7;
  border-radius: 12px;
  font: inherit;
  font-size: clamp(26px, 5vw, 38px);
  font-weight: 650;
  text-align: center;
  letter-spacing: -.02em;
  cursor: text;
}
.phone-contact-actions { display: grid; gap: 10px; }
.phone-contact-actions .button { width: 100%; min-height: 48px; justify-content: center; white-space: normal; text-align: center; font-size: 16px; }
.phone-contact .phone-contact-status { min-height: 25px; margin-top: 14px; font-size: 14px; }
.phone-contact :focus-visible { outline: 3px solid #1356ee; outline-offset: 4px; }
html:has(.phone-contact[open]) { overflow: hidden; }
@media (max-width: 480px) { .phone-contact { padding: 28px 22px 18px; } }
