.consult-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease;
}
.consult-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.consult-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 15, 15, 0.7);
  backdrop-filter: blur(6px);
}
.consult-modal-window {
  position: relative;
  width: 100%;
  max-width: 510px;
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  padding: 48px;
  background: #fff;
  color: #171717;
  clip-path: polygon(
    24px 0,
    100% 0,
    100% calc(100% - 24px),
    calc(100% - 24px) 100%,
    0 100%,
    0 24px
  );
  transform: translateY(24px);
  transition: transform 0.3s ease;
}
.consult-modal.is-open .consult-modal-window {
  transform: translateY(0);
}
.consult-modal-close {
  position: absolute;
  top: 18px;
  right: 24px;
  border: 0;
  background: transparent;
  font-size: 32px;
  font-weight: 300;
  cursor: pointer;
}
.consult-modal-label {
  display: block;
  margin-bottom: 20px;
  color: #ff681e;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
}
.consult-modal-window h2 {
  margin: 0 0 16px;
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.1;
}
.consult-modal-description {
  margin: 0 0 32px;
  color: #777;
  font-size: 15px;
  line-height: 1.6;
}
.consult-modal-field {
  margin-bottom: 20px;
}
.consult-modal-field label {
  display: block;
  margin-bottom: 9px;
  font-size: 13px;
  font-weight: 600;
}
.consult-modal-field input {
  width: 100%;
  height: 56px;
  padding: 0 18px;
  border: 1px solid #e5e5e5;
  border-radius: 0;
  outline: none;
  background: #f8f8f8;
  font-size: 15px;
  transition: border-color 0.2s;
}
.consult-modal-field input:focus {
  border-color: #ff681e;
}
.consult-modal-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 26px 0;
  color: #777;
  font-size: 12px;
  line-height: 1.6;
  cursor: pointer;
}
.consult-modal-consent input {
  width: 17px;
  height: 17px;
  margin: 2px 0 0;
  flex-shrink: 0;
  accent-color: #ff681e;
}
.consult-modal-consent a {
  color: #ff681e;
  text-decoration: underline;
}
.consult-modal-submit {
  width: 100%;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 26px;
  border: 0;
  background: #ff681e;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.consult-modal-submit:hover {
  background: #e95612;
}
.consult-modal-submit span {
  font-size: 24px;
  font-weight: 400;
}
.consult-modal-status {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.5;
}
.consult-modal-status:empty {
  display: none;
}
@media  (max-width: 600px) {
.consult-modal {
    padding: 14px;
  }
.consult-modal-window {
    max-height: calc(100dvh - 28px);
    padding: 42px 24px 28px;
  }
.consult-modal-description {
    margin-bottom: 24px;
  }}
