.custom-hero-form-module {
  background-size: cover;
  padding-top: 70px;
  padding-bottom: 80px;
  
}
.custom-hero-form-module .container {
  position: relative;
}
.custom-hero-form-module h1 {
  font-size: 2rem;  /* 32px */
  line-height: 1.19em;
  font-weight: 700;
  color: #fff;
  margin-bottom: 18px;
  text-wrap: auto;
}

.custom-hero-form-module p {
  font-size: 1.5rem;  /* 24px */
  line-height: 1.25em;
}

.custom-hero-form-module .module-container {
  display: flex;
  flex-direction: column;
  gap: 0:
}
.custom-hero-form-module .content-container .inner { 
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 20px;
}
.custom-hero-form-module .content-container {
  margin-bottom: 40px;
}
.custom-hero-form-module .image-container img {
  height: auto;
}
.custom-hero-form-module  .form-container {
  border-top: 3px solid #F9423A;
  background-color: #F8F8F8;
  box-shadow: -10px 15px 13px #2C3B411F;
  padding: 20px;
  max-width: 959px;
  margin: 0 auto;
  box-shadow: -10px 15px 13px #2C3B411F;
}

.custom-hero-form-module .form-container  h2 {
  color: #115091;
  font-size: 1.75rem;  /* 28px */
  line-height: 1.21em;
  font-weight: 700;
  margin-bottom: 14px;
}

.custom-hero-form-module .form-container  p {
  font-size: 1rem;  /* 16px */
  line-height: 1.5em;
  color: #071D49;
}

.custom-hero-form-module .form-container .hs-form-field label {
  font-size: 0.8125rem;
  line-height: 1.1538;
  color: #001E62;
  font-weight: 700;
}
.custom-hero-form-module form {
  display: grid;
  gap: 10px;
}
.custom-hero-form-module form fieldset {
  max-width: none;
}
.custom-hero-form-module form fieldset.form-columns-2 .hs-form-field {
  width: 100%;
  float: none;
}
.custom-hero-form-module form .form-columns-2 {
  display: grid; 
  grid-template-rows: 1fr 1fr;
   gap: 10px;
}
.custom-hero-form-module form .input {
  margin: 0 !important;
}
.custom-hero-form-module form input[type=text], 
.custom-hero-form-module form input[type=email] {
  border: 1px solid #D0D3D4;
  border-radius: 2px;
  width: 100% !important;
  height: 42px;
  padding: 10px;
}
.custom-hero-form-module .form-container  .hs_submit {
  margin-top: 30px;
}
.custom-hero-form-module .form-container  .hs_submit .hs-button {
  background-color: #00B74F;
  color: #fff;
  font-size: 1.125rem;
  line-height: 1.1666;
  font-weight: 700;
  text-transform: uppercase;
  padding: 12px 42px;
  border: none;
  border-radius: 23px;
  margin: 0 auto;
  display: block;
  cursor: pointer;
  transition: background-color .3s ease;
}
.custom-hero-form-module .form-container  .hs_submit .hs-button:hover {
  background-color: #008A3B;
}
@media screen and (min-width: 640px) {
  .custom-hero-form-module .content-container .inner {
    flex-direction: row;
  }
}
@media screen and (min-width: 768px) {
  .custom-hero-form-module {
    padding-top: 80px;
    padding-bottom: 10px;
/*     min-height: 750px; */
  }
  .custom-hero-form-module .content-container {
/*     max-width: 700px; */
  }
  .custom-hero-form-module h1 {
  font-size: 2.75rem;
    line-height: 1.1363;
  }
  .custom-hero-form-module p {
  font-size: 1.875rem;
  line-height: 1.2666;
  
}
  .custom-hero-form-module .form-container {
    padding-inline: 6%;
    padding-block: 42px;
    width: calc(100% - 60px);
    max-width: 960px;
    
  }
  .custom-hero-form-module .form-container  h2 {
    font-size: 2.25rem;
    line-height: 1.1666;
  }
  
  .custom-hero-form-module .form-container  p {
    font-size: 1.125rem;
    line-height: 1.444;
     max-width: 527px;
     margin: 0 auto;
  }
  
  .custom-hero-form-module form fieldset.form-columns-2 {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    gap: 28px;
    
  }
  .form-container {
    position: absolute;
    z-index: 1;
    width: 100%;
    left: 50%;
/*     bottom: -620px; */
    bottom: -560px;
/*     bottom: -495px; */
    transform: translateX(-50%);
  }
  
}
@media screen and (min-width: 1200px) {
  .form-container {
    bottom: -560px;
  }
}
