/* Hero form */
.hero-form {
  width: 100%;
}

.hero-form__scroll-next {
  display: flex;
  width: 3rem;
  height: 3rem;
  margin: 4rem auto 0;
  padding: 0;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: #00B596;
  cursor: pointer;
  transition: transform 0.2s ease-in-out;
}

.hero-form__scroll-next:hover {
  transform: translateY(0.35rem);
}

.hero-form__scroll-next:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 0.25rem;
}

.hero-form__scroll-next svg {
  display: block;
  width: 2.5rem;
  height: auto;
  overflow: visible;
}

.hero-form__scroll-next path {
  fill: none;
  stroke: currentColor;
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-form__layout {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 64em) {
  .hero-form__layout {
    grid-template-columns: minmax(0, 1fr) minmax(24rem, 28.5rem);
    gap: clamp(2.5rem, 4vw, 4rem);
  }
}

.hero-form__content {
  min-width: 0;
}

.hero-form__topheadline {
  margin-bottom: 1.75rem;
}

.hero-form__headline {
  margin: 0 0 1.5rem;
  color: #00B596;
  font-family: "CalvertMT", "sans serif";
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.05;
  font-weight: 700;
}

.hero-form__intro {
  max-width: 52rem;
  font-size: clamp(1.125rem, 2vw, 1.75rem);
  line-height: 1.55;
}

.hero-form__intro p:last-child {
  margin-bottom: 0;
}

.hero-form__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 2.5rem;
}

.hero-form__cta {
  min-width: 8.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 0.2rem;
  background: #0F0FAA;
  color: white;
  text-align: center;
  text-decoration: none;
  transition: background 0.2s ease-in-out;
}

.hero-form__cta:hover,
.hero-form__cta:focus-visible {
  background: #00B596;
  color: #000040;
}

.hero-form__seal {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2.5rem;
  color: #5A86FC;
}

.hero-form__seal-icon {
  display: block;
  width: 7rem;
  height: auto;
}

.hero-form__seal-text {
  font-size: 1rem;
  line-height: 1.4;
}

.hero-form__card {
  width: 100%;
  max-width: 28.5rem;
  min-height: 41.25rem;
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 2.25rem);
  border-radius: 2rem;
  background: #0F0FAA;
}

.hero-form__step-count {
  margin-bottom: 0.75rem;
  color: #00B596;
  font-size: 1.125rem;
  line-height: 1.4;
}

.hero-form__form-headline,
.hero-form__success h2 {
  margin: 0 0 1rem;
  color: #00B596;
  font-family: "CalvertMT", "sans serif";
  font-size: 1.75rem;
  line-height: 1.15;
  font-weight: 700;
}

.hero-form__step-title {
  margin: 0 0 1rem;
  color: white;
  font-family: "CalvertMT", "sans serif";
  font-size: 1.75rem;
  line-height: 1.2;
  font-weight: 400;
}

.hero-form__fields {
  display: grid;
  gap: 0.75rem;
}

.hero-form__form .form--text,
.hero-form__form .form--textarea {
  min-height: 3.2rem;
  border: 0;
  border-radius: 0.2rem;
  background: white;
  color: #00007D;
  font-size: 1rem !important;
  line-height: 1.4;
}

.hero-form__form input[type="date"] {
  color: #00007D !important;
}

.hero-form__form .form--textarea {
  min-height: 6rem;
}

.hero-form__form .form--text::placeholder,
.hero-form__form .form--textarea::placeholder {
  color: #00007D;
  opacity: 1;
}

.hero-form__next,
.hero-form__submit {
  display: block;
  width: 100%;
  margin-top: 6rem;
  text-align: center;
}

.hero-form__step-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.hero-form__step-actions .hero-form__next,
.hero-form__step-actions .hero-form__submit {
  margin-top: 6rem;
}

.hero-form__back {
  align-self: flex-start;
  margin-top: 1.25rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: white;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

.hero-form__dropzone {
  position: relative;
  display: flex;
  min-height: 18.5rem;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
  padding: 2rem;
  border: 2px dashed #00B596;
  border-radius: 1rem;
  background: #00007D;
  color: white;
  cursor: pointer;
}

.hero-form__dropzone input[type="file"] {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.hero-form__dropzone strong {
  font-size: 1.125rem;
  font-weight: bold;
}

.hero-form__file-list {
  overflow-wrap: anywhere;
  color: #00B596;
  font-size: 0.875rem;
}

.hero-form__privacy {
  margin-top: 1.25rem;
  color: white;
}

.hero-form__privacy a {
  color: white;
}

.hero-form__privacy label {
  padding-left: 2rem;
  font-size: 0.95rem;
  line-height: 1.4;
}

.hero-form__privacy label input[type="checkbox"] {
  top: 0.1rem;
  width: 1.25rem;
  height: 1.25rem;
  transform: none;
  border-color: white;
  border-radius: 0.25rem;
}

.hero-form__captcha {
  min-height: 4.1rem;
  margin-top: 1rem;
}

.hero-form__errors {
  margin-bottom: 1.5rem;
  padding: 0.75rem 1rem;
  border-left: 0.25rem solid #dc0000;
  background: white;
  color: #dc0000;
}

.hero-form__errors ul {
  margin: 0;
  padding-left: 1.25rem;
}

.hero-form__success {
  min-height: 20rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: white;
}

.hero-form__success p {
  line-height: 1.5;
}

.hero-form__sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 63.99em) {
  .hero-form__card {
    max-width: 28.5rem;
  }
}

@media (max-width: 43.115em) {
  .fold--inner-type__hero-form {
    padding-left: 1.125rem;
    padding-right: 1.125rem;
  }

  .hero-form__layout {
    gap: 2.5rem;
  }

  .hero-form__headline {
    font-size: 2.5rem;
  }

  .hero-form__intro {
    font-size: 1.125rem;
  }

  .hero-form__ctas {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-form__cta {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero-form__seal-icon {
    width: 5.5rem;
  }

  .hero-form__card {
    padding: 2rem 1.5rem;
    border-radius: 1.5rem;
  }

  .hero-form__scroll-next {
    margin-top: 2.5rem;
  }
}
