/* Scoped to the AutoMotion Vehicle Height Guide plugin; no global Divi styling. */
.am-vhg-panel, .am-vhg-panel *, .am-vhg-popup, .am-vhg-popup *, .am-vhg-open {
  box-sizing: border-box;
}
.am-vhg-panel {
  --am-vhg-aqua: #54dbe5;
  width: 100%;
  min-height: 600px;
  padding: clamp(55px, 6.8vw, 106px) clamp(27px, 8.25vw, 126px) 55px;
  position: relative;
  overflow: hidden;
  border-radius: 25px;
  color: #fff;
  background: linear-gradient(107deg, #004969 0%, #00334b 30%, #002235 58%, #00070a 100%);
  font-family: 'Nunito', sans-serif;
  isolation: isolate;
}
.am-vhg-panel .am-vhg-request { width: 100%; }
.am-vhg-panel .am-vhg-heading {
  color: var(--am-vhg-aqua) !important;
  font-family: 'Questrial', sans-serif !important;
  font-size: clamp(39px, 4.85vw, 73px) !important;
  font-weight: 400 !important;
  line-height: 1.1 !important;
  letter-spacing: -.035em !important;
  text-transform: none !important;
  margin: 0 0 27px !important;
  padding: 0 !important;
  border: 0 !important;
}
.am-vhg-panel .am-vhg-heading > span { display: block; }
.am-vhg-panel .am-vhg-intro {
  color: #fff !important;
  font-family: 'Nunito', sans-serif !important;
  font-size: clamp(17px, 1.65vw, 25px) !important;
  font-weight: 400 !important;
  line-height: 1.35 !important;
  letter-spacing: 0 !important;
  margin: 0 0 32px !important;
  padding: 0 !important;
}
.am-vhg-panel .am-vhg-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  width: calc(100% - 48px);
}
.am-vhg-panel .am-vhg-input-wrap { min-width: 0; }
.am-vhg-panel .am-vhg-input-wrap input {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 74px !important;
  padding: 0 42px !important;
  margin: 0 !important;
  background: rgba(0, 0, 0, .015) !important;
  border: 1px solid rgba(255, 255, 255, .55) !important;
  border-radius: 100px !important;
  outline: none !important;
  box-shadow: none !important;
  font-family: 'Nunito', sans-serif !important;
  font-size: 18px !important;
  line-height: normal !important;
  font-weight: 700 !important;
  color: #fff !important;
  text-overflow: ellipsis;
  transition: border-color .2s ease, box-shadow .2s ease !important;
}
.am-vhg-panel .am-vhg-input-wrap input::placeholder {
  color: var(--am-vhg-aqua) !important;
  opacity: 1 !important;
  letter-spacing: .02em;
}
.am-vhg-panel .am-vhg-input-wrap input:focus {
  border-color: var(--am-vhg-aqua) !important;
  box-shadow: 0 0 0 2px rgba(84, 219, 229, .12) !important;
}
.am-vhg-panel .am-vhg-actions {
  display: flex;
  justify-content: flex-end;
  margin: clamp(48px, 5.9vw, 89px) 0 0;
  padding-right: 48px;
}
.am-vhg-panel button.am-vhg-submit {
  position: relative;
  border: 0 !important;
  background: transparent !important;
  color: var(--am-vhg-aqua) !important;
  cursor: pointer !important;
  padding: 0 10px 4px !important;
  font-family: 'Questrial', sans-serif !important;
  font-size: clamp(22px, 2.1vw, 33px) !important;
  font-weight: 400 !important;
  line-height: 1.25 !important;
  text-transform: uppercase !important;
  letter-spacing: -.02em !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transition: opacity .2s ease, transform .2s ease !important;
}
.am-vhg-panel button.am-vhg-submit::before,
.am-vhg-panel button.am-vhg-submit::after { content: none !important; }
.am-vhg-panel button.am-vhg-submit:hover,
.am-vhg-panel button.am-vhg-submit:focus-visible { opacity: .8; transform: translateX(3px); }
.am-vhg-panel button.am-vhg-submit:disabled { opacity: .5; cursor: wait !important; }
.am-vhg-panel .am-vhg-feedback {
  color: #fff !important;
  background: rgba(186, 40, 40, .35);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 10px;
  padding: 10px 14px;
  margin: 18px 0 0 !important;
  font: 600 15px/1.4 'Nunito', sans-serif !important;
}
.am-vhg-panel .am-vhg-success {
  position: absolute;
  inset: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 25px;
  transform: translateY(-25px);
}
.am-vhg-panel .am-vhg-success-title {
  color: var(--am-vhg-aqua) !important;
  font-family: 'Questrial', sans-serif !important;
  font-size: clamp(40px, 5.7vw, 88px) !important;
  font-weight: 400 !important;
  line-height: 1.12 !important;
  letter-spacing: -.035em !important;
  margin: 0 0 27px !important;
  padding: 0 !important;
}
.am-vhg-panel .am-vhg-success p {
  color: #fff !important;
  font-family: 'Nunito', sans-serif !important;
  font-size: clamp(19px, 1.88vw, 29px) !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
  margin: 0 !important;
  padding: 0 !important;
}
.am-vhg-panel [hidden], .am-vhg-popup[hidden], .am-vhg-panel .am-vhg-trap { display: none !important; }
.am-vhg-panel .am-vhg-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.am-vhg-open {
  display: inline-block;
  background: #004c72 !important;
  color: #5ce1e6 !important;
  padding: 15px 26px !important;
  border: 1px solid #004c72 !important;
  border-radius: 999px !important;
  font: 400 17px/1.35 'Questrial', sans-serif !important;
  cursor: pointer !important;
  transition: background .2s ease, color .2s ease;
}
.am-vhg-open:hover, .am-vhg-open:focus-visible { background: #00334b !important; color: #fff !important; }
.am-vhg-open::after { display: none !important; }
.am-vhg-popup {
  position: fixed !important;
  z-index: 2147483000 !important;
  inset: 0 !important;
  overflow: auto !important;
  overscroll-behavior: contain;
  display: grid;
  place-items: center;
  padding: 35px 20px;
}
.am-vhg-popup-backdrop { position: fixed; inset: 0; background: rgba(0, 8, 13, .82); }
.am-vhg-popup-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 1532px);
  max-height: calc(100dvh - 70px);
  overflow: auto;
  border-radius: 25px;
  background: #002e47;
  box-shadow: 0 25px 100px rgba(0,0,0,.4);
}
.am-vhg-popup-dialog .am-vhg-panel { min-height: 615px; }
.am-vhg-close {
  position: absolute !important;
  right: 24px !important;
  top: 20px !important;
  z-index: 3;
  width: 40px;
  height: 40px;
  border: none !important;
  border-radius: 50% !important;
  background: rgba(255,255,255,.1) !important;
  color: #fff !important;
  cursor: pointer;
  font: 400 32px/1 'Questrial',sans-serif !important;
  padding: 1px 0 0 !important;
}
.am-vhg-close:hover { background: rgba(255,255,255,.24) !important; }
.am-vhg-close::after { display: none !important; }
body.am-vhg-modal-open { overflow: hidden !important; }
@media (min-width: 1250px) {
  .am-vhg-panel { min-height: 689px; }
  .am-vhg-panel.am-vhg-complete { min-height: 689px; }
}
@media (max-width: 767px) {
  .am-vhg-panel {
    min-height: auto;
    padding: 55px 25px 45px;
    border-radius: 20px;
  }
  .am-vhg-panel .am-vhg-heading {
    font-size: clamp(34px, 8vw, 50px) !important;
    line-height: 1.12 !important;
    margin-bottom: 26px !important;
  }
  .am-vhg-panel .am-vhg-intro {
    font-size: 17px !important;
    line-height: 1.45 !important;
    margin-bottom: 35px !important;
  }
  .am-vhg-panel .am-vhg-fields { grid-template-columns: 1fr; gap: 15px; width: 100%; }
  .am-vhg-panel .am-vhg-input-wrap input { height: 62px !important; padding: 0 25px !important; font-size: 14px !important; }
  .am-vhg-panel .am-vhg-actions { margin-top: 39px; padding-right: 0; }
  .am-vhg-panel button.am-vhg-submit { font-size: 26px !important; }
  .am-vhg-panel .am-vhg-desktop-break { display: none; }
  .am-vhg-panel.am-vhg-complete { min-height: 385px; }
  .am-vhg-panel .am-vhg-success { transform: translateY(0); }
  .am-vhg-panel .am-vhg-success-title { font-size: clamp(35px, 8.5vw, 55px) !important; margin-bottom: 25px !important; }
  .am-vhg-panel .am-vhg-success p { font-size: 18px !important; }
  .am-vhg-popup { padding: 12px; }
  .am-vhg-popup-dialog { max-height: calc(100dvh - 24px); border-radius: 20px; }
  .am-vhg-popup-dialog .am-vhg-panel { min-height: auto; padding-top: 67px; }
  .am-vhg-close { top: 14px !important; right: 15px !important; }
}
@media (prefers-reduced-motion: reduce) {
  .am-vhg-panel *, .am-vhg-popup * { transition: none !important; }
}

/* Short usage note for manual guide fulfillment. */
.am-vhg-panel .am-vhg-privacy {
  color: rgba(255,255,255,.73) !important;
  margin: 16px 48px 0 0 !important;
  padding: 0 !important;
  font: 500 12px/1.5 'Nunito', Arial, sans-serif !important;
  text-align: right !important;
}
@media (max-width:767px) {
  .am-vhg-panel .am-vhg-privacy { margin: 18px 0 0 !important; text-align: center !important; }
}
