.callback-modal[hidden],
.contact-widget[hidden] {
  display: none;
}
.callback-modal {
  position: fixed;
  z-index: 1200;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.72);
}
.callback-modal__dialog {
  position: relative;
  width: min(520px, 100%);
  max-height: calc(100vh - 36px);
  overflow-y: auto;
  padding: 28px;
  color: #fff;
  background: #1d1c1a;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}
.callback-modal__close,
.contact-widget__action,
.contact-widget__close,
.contact-widget__toggle {
  border: 0;
  cursor: pointer;
}
.callback-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  color: #fff;
  background: 0 0;
  font-size: 26px;
}
.callback-modal h2 {
  margin: 0 44px 8px 0;
  font-size: 28px;
  line-height: 1.15;
}
.callback-modal__lead,
.callback-modal__status {
  color: #b9b9b9;
}
.callback-form {
  display: grid;
  gap: 13px;
  margin-top: 20px;
}
.callback-form label {
  display: grid;
  gap: 5px;
  font-size: 14px;
  font-weight: 700;
}
.callback-form input {
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  color: #fff;
  background: #2b2a28;
  font: inherit;
}
.callback-form__consent {
  display: flex !important;
  grid-template-columns: 18px 1fr;
  align-items: flex-start;
  gap: 9px !important;
  color: #d8d8d8;
  font-weight: 400 !important;
}
.callback-form__consent input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
}
.callback-form a,
.nav-socials a {
  color: #fcc200;
}
.callback-form__honeypot {
  position: absolute;
  left: -9999px;
}
.callback-form__submit {
  min-height: 48px;
  border: 0;
  border-radius: 6px;
  color: #2b2a28;
  background: #fcc200;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}
.callback-form__submit:disabled {
  cursor: wait;
  opacity: 0.66;
}
.nav-socials {
  display: flex;
  gap: 9px;
}
.contact-widget__action,
.nav-socials a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #2b2a28;
  background: #fcc200;
  font-size: 12px;
  font-weight: 900;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease;
}
.social-icon {
  display: block;
  width: 20px;
  height: 20px;
}
.social-icon--telegram {
  width: 21px;
  height: 21px;
}
.social-icon--max {
  width: 22px;
  height: 22px;
}
.contact-widget__action:hover,
.nav-socials a:hover {
  transform: translateY(-2px);
  background: #ffd43b;
}
.contact-widget__action:focus-visible,
.nav-socials a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
.contact-widget {
  position: fixed;
  z-index: 950;
  right: 18px;
  bottom: 18px;
  display: grid;
  justify-items: end;
  gap: 10px;
}
.contact-widget__close {
  position: absolute;
  top: -30px;
  right: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #fff;
  background: #1d1c1a;
  font-size: 18px;
}
.contact-widget__toggle {
  min-height: 48px;
  padding: 11px 16px;
  border-radius: 24px;
  color: #2b2a28;
  background: #fcc200;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
  font: inherit;
  font-weight: 800;
}
.contact-widget__actions {
  display: none;
  gap: 9px;
}
.contact-widget.is-open .contact-widget__actions {
  display: flex;
}
@media (max-width: 820px) {
  .nav-socials {
    margin-top: 6px;
  }
  .nav-socials a {
    width: 44px;
    height: 44px;
  }
}
