.hp-field {
  left: -9999px;
  opacity: 0;
  pointer-events: none;
  position: absolute;
}

body.quote-open {
  overflow: hidden;
}

.quote-modal {
  align-items: center;
  display: none;
  inset: 0;
  justify-content: center;
  padding: 20px;
  position: fixed;
  z-index: 2500;
}

.quote-modal.is-open {
  display: flex;
}

.quote-backdrop {
  background: rgba(13, 20, 33, 0.75);
  inset: 0;
  position: absolute;
}

.quote-dialog {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
  max-height: calc(100vh - 40px);
  max-width: 760px;
  overflow-y: auto;
  padding: 28px;
  position: relative;
  width: 100%;
}

.quote-close {
  align-items: center;
  background: #f0f3f8;
  border: 1px solid #d8dfea;
  border-radius: 999px;
  color: #1f2937;
  cursor: pointer;
  display: flex;
  font-size: 26px;
  height: 40px;
  justify-content: center;
  position: absolute;
  right: 14px;
  top: 14px;
  width: 40px;
}

.quote-intro h2 {
  color: #12243f;
  font-size: 32px;
  margin-bottom: 8px;
}

.quote-intro p {
  color: #4f5d75;
  margin-bottom: 0;
}

.quote-form {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 22px;
}

.quote-field {
  display: grid;
  gap: 6px;
}

.quote-field-full {
  grid-column: 1 / -1;
}

.quote-field label {
  color: #12243f;
  font-size: 14px;
  font-weight: 700;
}

.quote-field input,
.quote-field select,
.quote-field textarea {
  border: 1px solid #d6dde9;
  border-radius: 8px;
  min-height: 48px;
  padding: 10px 12px;
  width: 100%;
}

.quote-field textarea {
  resize: vertical;
}

.primary-cta.quote-submit {
  align-items: center;
  background: #f6b21a;
  border: 0;
  border-radius: 8px;
  color: #141414;
  cursor: pointer;
  display: flex;
  font-weight: 700;
  grid-column: 1 / -1;
  justify-content: center;
  margin-top: 8px;
  min-height: 50px;
  padding: 0 20px;
  text-align: center;
}

@media (max-width: 680px) {
  .quote-form {
    grid-template-columns: 1fr;
  }

  .quote-dialog {
    padding: 22px 16px;
  }

  .quote-intro h2 {
    font-size: 27px;
    padding-right: 34px;
  }
}
