/* v44: МАКС-модалка */
.max-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(15, 90, 50, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: maxModalFade 0.2s ease;
}
@keyframes maxModalFade {
  from { opacity: 0; }
  to { opacity: 1; }
}
.max-modal {
  background: #fff;
  border-radius: 20px;
  padding: 32px 28px 24px;
  max-width: 440px;
  width: 100%;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  text-align: center;
  animation: maxModalSlide 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes maxModalSlide {
  from { opacity: 0; transform: translateY(20px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.max-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  background: #F7F6F2;
  color: #666;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: all 0.2s;
}
.max-modal__close:hover {
  background: #E5E4DE;
  color: #000;
}
.max-modal__icon {
  margin: 0 auto 16px;
  display: flex;
  justify-content: center;
}
.max-modal__title {
  font-size: 22px;
  font-weight: 800;
  color: #0F5A32;
  margin: 0 0 12px;
  line-height: 1.2;
}
.max-modal__lead {
  font-size: 14px;
  color: #555;
  margin: 0 0 16px;
  line-height: 1.5;
}
.max-modal__phone {
  font-size: 26px;
  font-weight: 800;
  color: #0F5A32;
  background: linear-gradient(180deg, #F5B915 0%, #E0A500 100%);
  padding: 12px 20px;
  border-radius: 12px;
  margin: 0 0 20px;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}
.max-modal__steps {
  text-align: left;
  background: #F7F6F2;
  border-radius: 12px;
  padding: 14px 16px;
  margin: 0 0 20px;
}
.max-modal__step {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: #333;
  line-height: 1.5;
  padding: 6px 0;
}
.max-modal__step span {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  background: #0F5A32;
  color: #F5B915;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  margin-top: 1px;
}
.max-modal__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0 0 14px;
}
.max-modal__copy-btn,
.max-modal__call-btn {
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: all 0.2s;
  font-family: inherit;
}
.max-modal__copy-btn {
  background: #F7F6F2;
  color: #0F5A32;
  border: 1px solid rgba(15,90,50,0.15);
}
.max-modal__copy-btn:hover {
  background: #E5E4DE;
}
.max-modal__call-btn {
  background: #0F5A32;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.max-modal__call-btn:hover {
  background: #0B4326;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15,90,50,0.25);
}
.max-modal__hint {
  font-size: 12px;
  color: #999;
  margin: 0;
}
.max-modal__hint a {
  color: #0F5A32;
  font-weight: 600;
}

@media (max-width: 480px) {
  .max-modal {
    padding: 24px 20px 18px;
  }
  .max-modal__phone {
    font-size: 22px;
  }
  .max-modal__title {
    font-size: 20px;
  }
}
