/* Minimal Subul-style presentation for the Get in Touch HubSpot form. */

.get-in-touch-pop-up-card,
.get-in-touch-pop-up-card * {
  box-sizing: border-box;
}

.get-in-touch-pop-up-card {
  --gitp-form-max-width: 1040px;
  --gitp-text: #17335b;
  --gitp-muted: #687586;
  --gitp-blue: #0788d7;
  --gitp-blue-hover: #056fb2;
  --gitp-field-background: #f5f8fa;
  --gitp-field-border: #aeb8c2;

  width: min(100%, var(--gitp-form-max-width));
  max-width: var(--gitp-form-max-width);
  margin: 0;
  padding: clamp(22px, 4vw, 48px);
  color: var(--gitp-text);
  background: #ffffff;
  border: 1px solid #e3e8ee;
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(23, 51, 91, 0.08);
  font-family: Lato, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.get-in-touch-pop-up-card[data-align="center"] {
  margin-right: auto;
  margin-left: auto;
}

.get-in-touch-pop-up-card[data-align="right"] {
  margin-right: 0;
  margin-left: auto;
}

.get-in-touch-pop-up-title {
  width: 100%;
  margin: 0 0 clamp(28px, 5vw, 52px);
  color: #505050;
  font-family: Lato, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  font-style: normal;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* New HubSpot forms render in an iframe; JS injects the matching field rules. */
.get-in-touch-pop-up-form,
.get-in-touch-pop-up-form form,
.get-in-touch-pop-up-form .hs-form,
.get-in-touch-pop-up-form iframe {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--gitp-text) !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  font-family: Lato, "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}

.get-in-touch-pop-up-form {
  --hsf-global__font-family: Lato, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --hsf-global__font-size: 16px;
  --hsf-global__color: var(--gitp-text);
  --hsf-global-error__color: #c62828;
  --hsf-row__horizontal-spacing: 32px;
  --hsf-row__vertical-spacing: 22px;
  --hsf-background__background-color: transparent;
  --hsf-background__padding: 0;
  --hsf-field-label__font-family: Lato, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --hsf-field-label__font-size: 16px;
  --hsf-field-label__color: var(--gitp-text);
  --hsf-field-label-requiredindicator__color: #e2272f;
  --hsf-field-input__font-family: Lato, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --hsf-field-input__color: var(--gitp-text);
  --hsf-field-input__background-color: var(--gitp-field-background);
  --hsf-field-input__placeholder-color: var(--gitp-muted);
  --hsf-field-input__border-color: var(--gitp-field-border);
  --hsf-field-input__border-width: 1px;
  --hsf-field-input__border-style: solid;
  --hsf-field-input__border-radius: 4px;
  --hsf-field-input__padding: 0 17px;
  --hsf-field-textarea__background-color: var(--gitp-field-background);
  --hsf-field-textarea__border-color: var(--gitp-field-border);
  --hsf-field-textarea__border-width: 1px;
  --hsf-field-textarea__border-style: solid;
  --hsf-field-textarea__border-radius: 4px;
  --hsf-button__font-family: "Source Sans Pro", Lato, Arial, sans-serif;
  --hsf-button__font-size: 16px;
  --hsf-button__color: #ffffff;
  --hsf-button__background-color: var(--gitp-blue);
  --hsf-button__border-radius: 4px;
  --hsf-button__padding: 13px 26px;
  --hsf-button__box-shadow: none;
}

/* Raw-HTML form fallback. */
.get-in-touch-pop-up-form fieldset {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

.get-in-touch-pop-up-form .form-columns-1,
.get-in-touch-pop-up-form .form-columns-2,
.get-in-touch-pop-up-form .hs-form__field-row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.get-in-touch-pop-up-form .hs-form__field-row__column {
  width: 100% !important;
  min-width: 0 !important;
}

.get-in-touch-pop-up-form .hs-form-field,
.get-in-touch-pop-up-form .hs-form__field {
  float: none !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 0 22px !important;
  padding: 0 !important;
}

.get-in-touch-pop-up-form .input {
  width: 100% !important;
  margin: 0 !important;
}

.get-in-touch-pop-up-form label,
.get-in-touch-pop-up-form .hs-form__field__label {
  display: block !important;
  margin: 0 0 8px !important;
  color: var(--gitp-text) !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.35 !important;
}

.get-in-touch-pop-up-form .gitp-email-label {
  display: block !important;
  position: static !important;
  width: auto !important;
  height: auto !important;
  clip: auto !important;
  clip-path: none !important;
  overflow: visible !important;
  white-space: normal !important;
}

.get-in-touch-pop-up-form .hs-form-required,
.get-in-touch-pop-up-form .hs-form__field__label__required,
.get-in-touch-pop-up-form .gitp-required-indicator {
  margin-left: 3px !important;
  color: #e2272f !important;
}

.get-in-touch-pop-up-form input.hs-input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.get-in-touch-pop-up-form select.hs-input,
.get-in-touch-pop-up-form textarea.hs-input,
.get-in-touch-pop-up-form .hs-form__field__input:not([type="checkbox"]):not([type="radio"]) {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  color: var(--gitp-text) !important;
  background: var(--gitp-field-background) !important;
  border: 1px solid var(--gitp-field-border) !important;
  border-radius: 4px !important;
  box-shadow: none !important;
  font: 400 18px/1.4 Lato, "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  outline: none !important;
  transition: border-color 0.18s ease, box-shadow 0.18s ease !important;
}

.get-in-touch-pop-up-form input.hs-input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.get-in-touch-pop-up-form select.hs-input,
.get-in-touch-pop-up-form .hs-form__field__input:not(textarea):not([type="checkbox"]):not([type="radio"]) {
  height: 54px !important;
  padding: 0 17px !important;
}

.get-in-touch-pop-up-form textarea.hs-input,
.get-in-touch-pop-up-form textarea.hs-form__field__input {
  min-height: 112px !important;
  padding: 15px 17px !important;
  resize: vertical !important;
}

.get-in-touch-pop-up-form input::placeholder,
.get-in-touch-pop-up-form textarea::placeholder {
  color: var(--gitp-muted) !important;
  opacity: 1 !important;
}

.get-in-touch-pop-up-form input:focus,
.get-in-touch-pop-up-form select:focus,
.get-in-touch-pop-up-form textarea:focus {
  border-color: var(--gitp-blue) !important;
  box-shadow: 0 0 0 2px rgba(7, 136, 215, 0.16) !important;
}

.get-in-touch-pop-up-form .inputs-list {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.get-in-touch-pop-up-form .hs-form-booleancheckbox-display,
.get-in-touch-pop-up-form .hs-form-checkbox-display,
.get-in-touch-pop-up-form .hs-form__field__checkbox__label {
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  color: var(--gitp-text) !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 1.55 !important;
}

.get-in-touch-pop-up-form input[type="checkbox"] {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  margin: 3px 0 0 !important;
  accent-color: var(--gitp-blue) !important;
}

.get-in-touch-pop-up-form .legal-consent-container,
.get-in-touch-pop-up-form .legal-consent-container p,
.get-in-touch-pop-up-form .hs-richtext,
.get-in-touch-pop-up-form .hs-richtext p,
.get-in-touch-pop-up-form .hs-form__legal-consent,
.get-in-touch-pop-up-form .hs-form__legal-consent p {
  color: var(--gitp-text) !important;
  font-size: 15px !important;
  line-height: 1.55 !important;
}

.get-in-touch-pop-up-form .hs-submit,
.get-in-touch-pop-up-form .hs-submit .actions,
.get-in-touch-pop-up-form .hs-form__actions {
  width: 100% !important;
  margin: 20px 0 0 !important;
  padding: 0 !important;
}

.get-in-touch-pop-up-form input[type="submit"],
.get-in-touch-pop-up-form button[type="submit"],
.get-in-touch-pop-up-form .hs-button,
.get-in-touch-pop-up-form .hs-button.primary,
.get-in-touch-pop-up-form .hs-form__actions__submit {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 148px !important;
  min-height: 48px !important;
  margin: 0 !important;
  padding: 13px 26px !important;
  color: #ffffff !important;
  background: var(--gitp-blue) !important;
  border: 1px solid var(--gitp-blue) !important;
  border-radius: 4px !important;
  box-shadow: none !important;
  cursor: pointer !important;
  font-family: "Source Sans Pro", Lato, Arial, sans-serif !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  text-align: center !important;
  transition: background-color 0.18s ease, border-color 0.18s ease !important;
}

.get-in-touch-pop-up-form input[type="submit"]:hover,
.get-in-touch-pop-up-form button[type="submit"]:hover,
.get-in-touch-pop-up-form .hs-button:hover,
.get-in-touch-pop-up-form .hs-button.primary:hover,
.get-in-touch-pop-up-form .hs-form__actions__submit:hover {
  background: var(--gitp-blue-hover) !important;
  border-color: var(--gitp-blue-hover) !important;
}

.get-in-touch-pop-up-form .submitted-message {
  color: var(--gitp-text) !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 1.55 !important;
}

/* Exclusive Addons modal compatibility: keep this form inside the viewport. */
html.gitp-page-scroll-locked,
body.gitp-page-scroll-locked {
  overflow: hidden !important;
  overscroll-behavior: none !important;
}

.exad-modal-item.gitp-scrollable-modal {
  box-sizing: border-box;
  width: calc(100vw - 24px) !important;
  width: min(var(--gitp-modal-max-width, 1040px), calc(100vw - 24px)) !important;
  max-width: calc(100vw - 24px) !important;
  max-height: calc(100vh - 24px) !important;
  max-height: calc(100dvh - 24px) !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overflow-anchor: none;
  overscroll-behavior: contain;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  -webkit-overflow-scrolling: touch;
}

.exad-modal-item.gitp-scrollable-modal::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.exad-modal-item.gitp-scrollable-modal .exad-close-btn {
  top: 12px !important;
  right: 12px !important;
  z-index: 10 !important;
  background: #17335b !important;
}

@media (min-width: 720px) {
  .get-in-touch-pop-up-form .form-columns-2,
  .get-in-touch-pop-up-form .gitp-two-column-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 32px !important;
  }
}

@media (max-width: 719px) {
  .get-in-touch-pop-up-card {
    width: 100%;
    max-width: 100%;
    padding: 22px 18px;
    border-radius: 10px;
  }

  .get-in-touch-pop-up-title {
    margin-bottom: 28px;
  }
}
