
.amo-button__iframe, #social_iframe {
  bottom: 109px !important;
}
.call-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 25000;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  background: transparent;
  padding: 16px 14px 98px 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  /*transition: opacity 0.24s ease, visibility 0.24s ease;*/
}

.call-modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.call-modal {
  position: relative;
  width: 100%;
  top: 20px;
  max-width: 360px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  font-family: Arial, sans-serif;
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.call-modal--is-loading .call-modal__head,
.call-modal--is-loading .call-modal__body {
  visibility: hidden;
}

.call-modal--is-success .call-modal__head,
.call-modal--is-success .call-modal__body,
.call-modal--is-success::after {
  visibility: hidden;
}

.call-modal-overlay.is-open .call-modal {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.call-modal-phone-hitbox {
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  cursor: pointer;
}

.call-modal::after {
  content: '';
  display: block;
  height: 5px;
  background: #00a772;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
}

.call-modal__head {
  position: relative;
  text-align: center;
  padding: 18px 18px 0;
}

.call-modal__head::after {
  content: '';
  display: block;
  margin-top: 12px;
  border-bottom: 1px solid #c8c8ca;
  margin-left: -18px;
  margin-right: -18px;
}

.call-modal__title {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
}

.call-modal__subtitle {
  margin: 10px 0 0;
  color: #444;
  font-size: 15px;
  line-height: 1.3;
}

.call-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  border: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #b8d5d9;
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.call-modal__body {
  padding: 18px 24px 20px;
}

.call-modal__input {
  width: 100%;
  height: 48px;
  border: 1px solid #cfcfcf;
  border-radius: 4px;
  font-size: 16px;
  padding: 8px 12px;
  margin-bottom: 14px;
}

.call-modal__input::placeholder {
  font-size: 13px;
  color: #9a9a9a;
}

.call-modal__input.is-invalid {
  border-color: #e53935;
}

.call-modal__consent {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin-bottom: 16px;
  color: #5b5b5b;
  font-size: 11px;
  line-height: 1.35;
}

.call-modal__consent a {
  color: #00a772;
}

.call-modal__submit {
  width: 100%;
  height: 54px;
  border: 0;
  border-radius: 5px;
  background: #00a772;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.3px;
  cursor: pointer;
}

.call-modal__submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.call-modal__submit:disabled:hover {
  background: #00a772;
}

.call-modal__submit:not(:disabled):hover {
  background: #009266;
}

.call-modal__error {
  margin: 10px 2px 0;
  color: #d64242;
  font-size: 12px;
  line-height: 1.3;
  display: none;
}

.call-modal__error.is-visible {
  display: block;
}

.call-modal-status {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 2;
  padding: 26px 22px;
}

.call-modal--is-loading .call-modal-status--loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(148, 148, 148, 0.82);
  backdrop-filter: blur(1px);
}

.call-modal-status__spinner {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.45);
  border-top-color: #ffffff;
  animation: call-modal-spin 0.95s linear infinite;
}

.call-modal-status__loading-text {
  margin: 15px 0 0;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  text-transform: lowercase;
}

.call-modal--is-success .call-modal-status--success {
  display: flex;
  flex-direction: column;
  background: #00a772;
  color: rgba(0, 58, 40, 0.92);
}

.call-modal-status__close {
  position: absolute;
  top: 12px;
  right: 12px;
  border: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 140, 96, 0.75);
  color: #e8f7f1;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.call-modal-status__check-wrap {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: rgba(0, 140, 96, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
}

.call-modal-status__check-circle {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: #f4f4f4;
  display: flex;
  align-items: center;
  justify-content: center;
}

.call-modal-status__check-circle svg {
  width: 42px;
  height: 42px;
}

.call-modal-status__check-circle polyline {
  fill: none;
  stroke: #00a772;
  stroke-width: 7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.call-modal-status__success-text {
  margin: 34px 0 0;
  max-width: 290px;
  font-size: 16px;
  line-height: 1.35;
  color: #fff;
}

@media (max-width: 749px) {
  .call-modal-status__success-text {
    font-size: 15px;
  }
}

@keyframes call-modal-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 749px) {
  .call-modal-overlay {
    align-items: flex-end;
    justify-content: center;
    padding: 16px 16px 106px 16px;
  }
}

body.call-modal-active .amo-button-holder > *:not(.amo-button__iframe) {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

body.call-modal-active .amo-button-holder .amo-button__iframe {
  bottom: 12px !important;
  height: 72px !important;
  min-height: 0 !important;
  max-height: 90px !important;
  cursor: pointer;
}

body.call-modal-active #amo_brand {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
