.shortcode-hero-form {
  position: relative;
  z-index: 5;
  margin-top: -12vh;
}
.shortcode-hero-form .lead-form-wrap {
  max-width: 896px;
  margin: 0 auto;
  padding: 24px;
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  color: var(--ivory);
  position: relative;
}
@media (min-width: 768px) {
  .shortcode-hero-form .lead-form-wrap {
    padding: 36px 48px;
  }
}
.shortcode-hero-form .jetpack-contact-form-container {
  --jetpack--contact-form--input-background: rgba(0, 0, 0, 0.2) !important;
  --jetpack--contact-form--input-background-fallback: rgba(0, 0, 0, 0.2) !important;
  --jetpack--contact-form--border-color: rgba(255, 255, 255, 0.3) !important;
  --jetpack--contact-form--border-radius: 0.75rem !important;
  --jetpack--contact-form--text-color: var(--ivory) !important;
  --jetpack--contact-form--input-padding: 14px 18px !important;
}
.shortcode-hero-form .wp-block-jetpack-contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: stretch;
}
@media (min-width: 1024px) {
  .shortcode-hero-form .wp-block-jetpack-contact-form {
    flex-direction: row;
    align-items: flex-end;
    gap: 18px;
  }
}
.shortcode-hero-form .contact-form__error {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  margin-bottom: 12px;
  padding: 10px 16px;
  border-radius: 0.75rem;
  background: rgba(179, 45, 46, 0.95);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.shortcode-hero-form .wp-block-jetpack-contact-form .grunion-field-wrap {
  position: relative;
  flex: 1 1 0%;
  width: auto;
  min-width: 0;
  text-align: start;
}
.shortcode-hero-form .grunion-field-label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-size: clamp(max(16px, 7.8px), calc(13 * 0.0521vw), 13px);
  letter-spacing: 0.04em;
  color: var(--sand);
}
.shortcode-hero-form .grunion-field-label .grunion-label-required {
  color: var(--gold);
  margin-inline-start: 2px;
}
.shortcode-hero-form .grunion-field,
.shortcode-hero-form .jetpack-field__input-phone-wrapper {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(0, 0, 0, 0.2);
  color: var(--ivory);
  font-size: 16px;
  font-size: clamp(max(16px, 9.6px), calc(16 * 0.0521vw), 16px);
  padding: 14px 18px;
  transition: border-color 0.3s !important;
}
.shortcode-hero-form .grunion-field::placeholder,
.shortcode-hero-form .jetpack-field__input-phone-wrapper::placeholder {
  color: rgba(250, 246, 236, 0.6);
}
.shortcode-hero-form .grunion-field:focus,
.shortcode-hero-form .jetpack-field__input-phone-wrapper:focus {
  border-color: var(--ivory);
  outline: none;
}
.shortcode-hero-form .jetpack-field__input-phone-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}
.shortcode-hero-form .jetpack-field__input-phone-wrapper:focus-within {
  border-color: var(--ivory);
}
.shortcode-hero-form .jetpack-field__input-phone-wrapper .jetpack-field__input-element {
  flex: 1;
  border: none;
  background: transparent;
  color: inherit;
  font-size: inherit;
  padding: 0;
}
.shortcode-hero-form .jetpack-field__input-phone-wrapper .jetpack-field__input-element:focus {
  outline: none;
}
.shortcode-hero-form .jetpack-custom-combobox,
.shortcode-hero-form .jetpack-combobox-trigger {
  background: transparent;
  border: none;
  color: var(--ivory);
}
.shortcode-hero-form .jetpack-combobox-trigger {
  padding-block: 5px !important;
}
.shortcode-hero-form .contact-form__input-error {
  font-size: 13px;
  font-size: clamp(max(16px, 7.8px), calc(13 * 0.0521vw), 13px);
  color: #ffb4b4;
  margin-top: 4px;
}
@media (min-width: 1024px) {
  .shortcode-hero-form .contact-form__input-error {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 4px;
  }
}
@media (min-width: 1024px) {
  .shortcode-hero-form .wp-block-button {
    flex: 0 0 auto;
  }
}
.shortcode-hero-form .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: var(--gold);
  color: var(--teal-deep);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 16px 34px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease !important;
}
.shortcode-hero-form .wp-block-button__link:hover {
  transform: translateY(-2px);
  color: var(--teal-deep);
}
@media (min-width: 1024px) {
  .shortcode-hero-form .wp-block-button__link {
    width: auto;
  }
}
