.has-surveyor-modal {
  height: 100vh;
  overflow: hidden;
  touch-action: none;
}

.has-surveyor-modal .floating-shortcuts {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.surveyor-check {
  position: relative;
  padding: 2rem 0 4rem;
}

.surveyor-check__breadcrumb {
  color: #7e8796;
  display: flex;
  flex-wrap: wrap;
  font-size: 1rem;
  gap: 0.45rem;
  margin-bottom: 2.25rem;
}

.surveyor-check__breadcrumb a {
  color: #0f4f95;
  text-decoration: none;
}

.surveyor-check__panel {
  position: relative;
  margin: 0 auto;
  max-width: 1120px;
  padding-left: 2rem;
  margin-top: 5rem;
}

.surveyor-check__icon-wrap {
  left: 2.5rem;
  position: absolute;
  top: -4rem;
  width: 12rem;
  z-index: 2;
}

.surveyor-check__icon-wrap img {
  display: block;
  max-width: 100%;
}

.surveyor-check__card {
  background: linear-gradient(180deg, #f2f2f2 0%, #ececec 100%);
  border: 1px solid #d3d7de;
  border-radius: 1.6rem;
  box-shadow: 0 12px 30px rgba(15, 79, 149, 0.08);
  margin-left: 4.5rem;
  max-width: 980px;
  min-height: 34rem;
  padding: 2.7rem 4rem 2.8rem 8rem;
}

.surveyor-check__header {
  margin: 0 auto;
  max-width: 28rem;
}

.surveyor-check__header h1 {
  color: #1e3565;
  font-size: clamp(2rem, 2.2vw, 2.5rem);
  font-weight: 800;
  margin: 0;
}

.surveyor-check__header span {
  background: #8e8e8e;
  border-radius: 999px;
  display: block;
  height: 0.18rem;
  margin-top: 0.85rem;
  width: 4.6rem;
}

.surveyor-check__form {
  display: flex;
  flex-direction: column;
  margin-top: 2rem;
  margin-left: auto;
  margin-right: auto;
  max-width: 28rem;
}

.surveyor-check__field {
  margin-bottom: 1.25rem;
}

.surveyor-check__field label {
  color: #1d4d95;
  display: block;
  font-size: 1rem;
  margin-bottom: 0.45rem;
}

.surveyor-check__field input,
.surveyor-check__field select {
  background: #ffffff;
  border: 1px solid #d4d9e1;
  border-radius: 0.45rem;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
  color: #283447;
  display: block;
  min-height: 2.95rem;
  padding: 0.7rem 0.9rem;
  width: 100%;
}

.surveyor-check__field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #1d4d95 50%), linear-gradient(135deg, #1d4d95 50%, transparent 50%);
  background-position: calc(100% - 1.1rem) calc(50% - 0.1rem), calc(100% - 0.8rem) calc(50% - 0.1rem);
  background-repeat: no-repeat;
  background-size: 0.35rem 0.35rem, 0.35rem 0.35rem;
  cursor: pointer;
  padding-right: 2.3rem;
}

.surveyor-check__field input:focus,
.surveyor-check__field select:focus {
  border-color: #0f5aa9;
  box-shadow: 0 0 0 0.18rem rgba(15, 90, 169, 0.16);
  outline: none;
}

.surveyor-check__input--error {
  border-color: #c63a42 !important;
  box-shadow: 0 0 0 0.12rem rgba(198, 58, 66, 0.14);
}

.surveyor-check__field-error {
  color: #c63a42;
  display: block;
  font-size: 0.86rem;
  margin-top: 0.45rem;
}

.surveyor-check__submit {
  background: linear-gradient(180deg, #1563b5 0%, #0b4d92 100%);
  border: none;
  border-radius: 0.45rem;
  color: #ffffff;
  font-size: 1.05rem;
  margin-left: auto;
  margin-right: auto;
  margin-top: 0.9rem;
  min-height: 3.15rem;
  width: 100%;
}

.surveyor-check__submit:hover,
.surveyor-check__submit:focus-visible {
  background: linear-gradient(180deg, #0f5aa9 0%, #083f78 100%);
  outline: none;
}

.surveyor-check__note {
  color: #203b70;
  font-size: 0.96rem;
  line-height: 1.5;
  margin: 2.1rem auto 0;
  max-width: 28rem;
}

.surveyor-check__form-error {
  background: #fff0f0;
  border: 1px solid #efc4c5;
  border-radius: 0.75rem;
  color: #a42d35;
  margin: 1.5rem auto 0;
  max-width: 28rem;
  padding: 0.9rem 1rem;
}

.surveyor-modal__backdrop {
  backdrop-filter: blur(3px);
  background: rgba(120, 127, 140, 0.5);
  inset: 0;
  position: fixed;
  z-index: 1040;
}

.surveyor-modal {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 1.7rem;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.18);
  left: 50%;
  max-width: 880px;
  padding: 3rem 3.25rem 2.5rem;
  position: fixed;
  top: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 2rem);
  z-index: 1050;
}

.surveyor-modal--success {
  background: #f5fff2;
  color: #348f29;
}

.surveyor-modal--error {
  background: #fff4f4;
  color: #b6373d;
}

.surveyor-modal__close {
  align-items: center;
  border: 2px solid currentColor;
  border-radius: 999px;
  color: inherit;
  display: inline-flex;
  font-size: 1.3rem;
  height: 2.5rem;
  justify-content: center;
  position: absolute;
  right: 1.3rem;
  text-decoration: none;
  top: 1rem;
  width: 2.5rem;
}

.surveyor-modal__badge {
  align-items: center;
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
  display: flex;
  height: 5.6rem;
  justify-content: center;
  left: -2.1rem;
  position: absolute;
  top: -1.7rem;
  width: 5.6rem;
}

.surveyor-modal__badge img {
  display: block;
  height: 5.6rem;
  width: 5.6rem;
}

.surveyor-modal h2 {
  font-size: clamp(1.2rem, 2vw, 2.8rem);
  font-weight: 800;
  line-height: 1.18;
  margin: 1rem 0 1.25rem;
  max-width: 44rem;
  text-align: justify;
}

.surveyor-modal p,
.surveyor-modal li {
  font-size: 0.90rem;
  line-height: 1.45;
}

.surveyor-modal__strong {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.1rem;
}

.surveyor-modal__recommendations ul {
  margin: 0.75rem 0 0;
  padding-left: 1.2rem;
}

.surveyor-modal__actions {
  display: flex;
  gap: 1rem;
  margin-top: 1.7rem;
}

.surveyor-modal__action {
  border-radius: 0.45rem;
  display: inline-flex;
  justify-content: center;
  min-width: 12rem;
  padding: 0.8rem 1.4rem;
  text-decoration: none;
}

.surveyor-modal__action--ghost {
  background: #ffffff;
  border: 1px solid #d98588;
  color: #b6373d;
}

.surveyor-modal__action--danger {
  background: #b6373d;
  border: 1px solid #b6373d;
  color: #ffffff;
}

.surveyor-modal__thanks {
  font-size: 1.25rem;
  font-weight: 800;
  margin-top: 1.8rem;
}

@media (max-width: 991px) {
  .surveyor-check__panel {
    padding-left: 0;
    margin-top: 3.5rem;
  }

  .surveyor-check__icon-wrap {
    left: 1rem;
    margin: 0;
    position: absolute;
    top: -2.6rem;
    width: 6.2rem;
  }

  .surveyor-check__card {
    margin-left: 0;
    min-height: auto;
    padding: 2rem 1.35rem 1.7rem;
  }

  .surveyor-check__form,
  .surveyor-check__note,
  .surveyor-check__form-error {
    max-width: none;
  }

  .surveyor-modal {
    padding: 3.2rem 1.2rem 1.6rem;
  }

  .surveyor-modal__badge {
    left: 1rem;
    top: -2rem;
  }
}

@media (max-width: 575px) {
  .surveyor-check {
    padding-top: 1rem;
    padding-bottom: 2.5rem;
  }

  .surveyor-check__breadcrumb {
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
  }

  .surveyor-check__panel {
    margin-top: 2.6rem;
  }

  .surveyor-check__icon-wrap {
    left: -1rem;
    top: -1.2rem;
    width: 4.8rem;
  }

  .surveyor-check__card {
    border-radius: 1rem;
    padding: 1.35rem 0.95rem 1.15rem;
  }

  .surveyor-check__header {
    margin-left: 3.5rem;
    max-width: 15.5rem;
    min-height: 4.9rem;
  }

  .surveyor-check__header h1 {
    font-size: 1.15rem;
    line-height: 1.2;
  }

  .surveyor-check__header span {
    height: 0.14rem;
    margin-top: 0.55rem;
    width: 3.1rem;
  }

  .surveyor-check__form {
    margin-top: 0;
    max-width: none;
  }

  .surveyor-check__field {
    margin-bottom: 0.95rem;
  }

  .surveyor-check__field label {
    font-size: 0.92rem;
    margin-bottom: 0.35rem;
  }

  .surveyor-check__field input,
  .surveyor-check__field select {
    min-height: 2.55rem;
    padding: 0.55rem 0.8rem;
  }

  .surveyor-check__submit {
    font-size: 0.98rem;
    margin-top: 0.55rem;
    min-height: 2.65rem;
  }

  .surveyor-check__note {
    font-size: 0.82rem;
    line-height: 1.45;
    margin-top: 1.2rem;
    text-align: center;
  }

  .surveyor-check__form-error {
    font-size: 0.88rem;
    margin-top: 1rem;
    padding: 0.75rem 0.85rem;
  }

  .surveyor-modal__actions {
    flex-direction: column;
  }

  .surveyor-modal__action {
    width: 100%;
  }
}
