/* Scoped to native forms inside the two rebuilt page designs. */
[data-gk-page] .gkr-native-form .gform_wrapper {
  --gf-color-primary: #101820;
  --gf-color-primary-rgb: 16, 24, 32;
  --gf-color-in-ctrl-primary: #101820;
  --gf-color-in-ctrl-primary-rgb: 16, 24, 32;
  --gf-ctrl-bg-color: #fff;
  --gf-ctrl-color: #101820;
  --gf-ctrl-border-color: rgba(16, 24, 32, .58);
  --gf-ctrl-radius: 0;
  --gf-ctrl-font-family: inherit;
  --gf-ctrl-font-size: 16px;
  --gf-ctrl-label-font-size-primary: 15px;
  --gf-ctrl-label-color-primary: #101820;
  --gf-ctrl-label-color-secondary: #525c66;
  --gf-ctrl-label-font-weight-primary: 600;
  --gf-ctrl-btn-bg-color-primary: #e3e829;
  --gf-ctrl-btn-color-primary: #101820;
  --gf-ctrl-btn-radius: 999px;
  --gf-ctrl-btn-font-family: inherit;
  --gf-ctrl-btn-font-size: 15px;
  --gf-ctrl-btn-font-weight: 600;
  --gf-form-gap-y: 20px;
  --gf-form-footer-margin-y-start: 24px;
  font-family: inherit;
  color: #101820;
  margin: 0;
  min-width: 0;
}

[data-gk-page] .gkr-native-form .gform_fields { row-gap: 20px; }
[data-gk-page] .gkr-native-form .gfield { min-width: 0; }
[data-gk-page] .gkr-native-form .gfield_label { line-height: 1.5; }
[data-gk-page] .gkr-native-form .ginput_container input:not([type="radio"]):not([type="checkbox"]):not([type="hidden"]),
[data-gk-page] .gkr-native-form .ginput_container select,
[data-gk-page] .gkr-native-form .ginput_container textarea {
  background: #fff;
  color: #101820;
  border: 1.5px solid rgba(16, 24, 32, .58);
  border-radius: 0;
  min-height: 48px;
  padding: 12px 16px;
  font: inherit;
  font-size: 16px;
  width: 100%;
}

[data-gk-page] .gkr-native-form .gfield_radio { gap: 12px; }
[data-gk-page] .gkr-native-form .gchoice { min-height: 32px; }
[data-gk-page] .gkr-native-form .gchoice label { color: #101820; font: inherit; }
[data-gk-page] .gkr-native-form .gform_footer .gform_button {
  background: #e3e829 !important;
  border: 1.5px solid transparent;
  border-radius: 999px !important;
  color: #101820 !important;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  min-height: 52px;
  padding: 14px 20px;
  width: 100%;
  white-space: normal;
  cursor: pointer;
}
[data-gk-page] .gkr-native-form .gform_footer .gform_button:hover { background: #d5da23 !important; }
[data-gk-page] .gkr-native-form :is(input, select, textarea, button):focus-visible {
  outline: 3px solid #101820;
  outline-offset: 3px;
}
[data-gk-page] .gkr-native-form .gform_confirmation_message {
  color: #101820;
  font: inherit;
  line-height: 1.6;
  padding: 20px;
  border: 1px solid #101820;
  background: #f5f6d6;
}

/* Restore the original five-field estimate card, using native Gravity Forms inputs. */
#gk-wp-root .gkr-native-form .gform_heading { display: none; }
#gk-wp-root .gkr-native-form .gform_fields {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px 16px;
}
#gk-wp-root .gkr-native-form .gkr-compact-field { grid-column: 1 / -1; padding: 0; margin: 0; }
#gk-wp-root .gkr-native-form #field_1_4,
#gk-wp-root .gkr-native-form #field_1_2 { grid-column: span 6; }
#gk-wp-root .gkr-native-form .gfield_label {
  font-size: .9375rem !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
  margin: 0 0 8px;
  padding: 0;
}
#gk-wp-root .gkr-native-form .gfield_required {
  color: inherit;
  font: inherit;
}
#gk-wp-root .gkr-native-form .ginput_complex {
  display: block;
  margin: 0;
}
#gk-wp-root .gkr-native-form .ginput_complex > span {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
}
#gk-wp-root .gkr-native-form .ginput_container input:not([type="radio"]):not([type="checkbox"]):not([type="hidden"]) {
  min-height: 52px;
  height: 52px;
  font-size: 1.0625rem !important;
  border: 1.5px solid #10182094;
}
#gk-wp-root .gkr-native-form .gfield_radio {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
#gk-wp-root .gkr-native-form .gchoice {
  display: inline-flex;
  align-items: center;
  position: relative;
  min-height: 48px;
}
#gk-wp-root .gkr-native-form .gchoice label {
  display: inline-flex;
  max-width: none;
  width: 100%;
  align-items: center;
  min-height: 48px;
  padding: 0 18px 0 46px;
  margin: 0;
  border: 1.5px solid #10182094;
  border-radius: 999px;
  font-size: .9375rem !important;
  font-weight: 600 !important;
  cursor: pointer;
}
#gk-wp-root .gkr-native-form .gchoice input[type="radio"] {
  appearance: auto;
  position: absolute;
  z-index: 1;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  width: 18px;
  height: 18px;
  accent-color: #101820;
}
#gk-wp-root .gkr-native-form .gchoice input:checked + label {
  background: #101820 !important;
  border-color: #101820;
  color: #e3e829 !important;
}
#gk-wp-root .gkr-native-form .gchoice input:checked { accent-color: #e3e829; }
#gk-wp-root .gkr-native-form .gchoice:focus-within {
  outline: 2px solid #101820;
  outline-offset: 3px;
  border-radius: 999px;
}
#gk-wp-root .gkr-native-form .gform_footer {
  margin: 18px 0 0;
  padding: 0;
}
#gk-wp-root .gkr-native-form .gform_footer .gform_button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 56px;
  margin: 0;
  font-size: 1rem !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
}
#gk-wp-root .gkr-native-form .gform_button .gk-icon { flex: 0 0 20px; width: 20px; height: 20px; }
#gk-wp-root .gkr-native-form .gfield_error input:not([type="radio"]):not([type="hidden"]) { border-color: #b42318; }
@media (max-width: 669.98px) {
  #gk-wp-root .gkr-native-form #field_1_4,
  #gk-wp-root .gkr-native-form #field_1_2 { grid-column: 1 / -1; }
}
