.av-estimator {
  --av-gold: #c99600;
  --av-gold-hover: #a97800;
  --av-gold-dark: #765600;
  --av-ink: #1f2937;
  --av-muted: #5f6672;
  --av-border: #e4d9c2;
  --av-focus: rgba(201, 150, 0, 0.18);
  box-sizing: border-box;
  color: var(--av-ink);
  margin: 0 auto;
  max-width: 560px;
  width: 100%;
}

.av-estimator *,
.av-estimator *::before,
.av-estimator *::after {
  box-sizing: border-box;
}
.av-estimator__heading {
  margin: 0 auto 26px;
  max-width: 440px;
  text-align: center;
}
.av-estimator__heading h2 {
  color: var(--av-ink);
  font-size: clamp(28px, 3vw, 34px);
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 6px 0 10px;
}
.av-estimator__heading p {
  color: var(--av-muted);
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
}
.av-estimator__eyebrow {
  color: var(--av-gold-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.av-estimator__form {
  margin: 0;
}
.av-estimator__grid {
  display: grid;
  gap: 18px 16px;
  grid-template-columns: 1fr 1fr;
}
.av-estimator__wide {
  grid-column: 1 / -1;
}
.av-estimator label {
  display: block;
  margin: 0 0 16px;
}
.av-estimator__grid label {
  margin-bottom: 0;
}
.av-estimator label > span {
  color: var(--av-ink);
  display: block;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.4;
  margin-bottom: 7px;
}
.av-estimator input,
.av-estimator select {
  background: #fff;
  border: 1px solid #cfd5df;
  border-radius: 11px;
  box-sizing: border-box;
  color: var(--av-ink);
  font: inherit;
  font-size: 16px;
  min-height: 50px;
  padding: 11px 13px;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
  width: 100%;
}
.av-estimator input::placeholder {
  color: #8992a2;
  opacity: 1;
}
.av-estimator select:disabled {
  background: #f6f7f9;
  color: #697386;
  cursor: not-allowed;
}
.av-estimator input:focus,
.av-estimator select:focus {
  border-color: var(--av-gold);
  box-shadow: 0 0 0 4px var(--av-focus);
  outline: 0;
}
.av-estimator__button {
  -webkit-appearance: none;
  appearance: none;
  background: linear-gradient(120deg,#2443B8 0%,#4A2FA8 55%,#5E2B97 100%);
	margin-top:15px;
  border-radius: 999px;
	border:0px;
  color: #fff !important;
  cursor: pointer;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
  min-height: 52px;
  padding: 13px 18px;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.16s ease, border-color 0.16s ease,
    box-shadow 0.16s ease, transform 0.16s ease;
  width: 100%;
}
.av-estimator__button:hover,
.av-estimator__button:focus-visible {
  background: linear-gradient(120deg,#2443B8 0%,#4A2FA8 55%,#5E2B97 100%);

  box-shadow: 0 10px 24px rgba(139, 101, 0, 0.22);
  color: #fff !important;
}
.av-estimator__button:active {
  transform: translateY(1px);
}
.av-estimator__button:disabled {
  cursor: wait;
  opacity: 0.65;
}
.av-estimator__button--secondary,
.av-estimator__button--secondary:hover,
.av-estimator__button--secondary:focus-visible {
  background: #272f3b !important;
  border-color: #272f3b !important;
}
.av-estimator__stage {
  border-top: 1px solid #ece7dc;
  margin-top: 22px;
  padding-top: 22px;
}
.av-estimator__stage[hidden],
.av-estimator__result[hidden],
.av-estimator__confirmation[hidden],
.av-estimator__video[hidden] {
  display: none !important;
}
.av-estimator__stage > .av-estimator__button {
  margin-top: 2px;
}
.av-estimator__status {
  color: #495362;
  font-size: 14px;
  line-height: 1.5;
  margin: 14px 0;
  min-height: 21px;
}
.av-estimator__status:empty {
  margin: 0;
  min-height: 0;
}
.av-estimator__status[data-kind="error"] {
  color: #b42318;
}
.av-estimator__status[data-kind="success"] {
  color: #167245;
}
.av-estimator__help {
  color: #667085;
  font-size: 12px;
  line-height: 1.55;
  margin: 10px 0 0;
  text-align: center;
}
.av-estimator__consent {
  color: #667085;
  font-size: 12px;
  line-height: 1.55;
  margin: 4px 0 16px;
}
.av-estimator__consent a {
  color: var(--av-gold-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.av-estimator__confirmation {
  background: #fff9eb;
  border: 1px solid #e7c86f;
  border-radius: 14px;
  margin: 18px 0 0;
  padding: 18px;
}
.av-estimator__confirmation strong {
  display: block;
  font-size: 15px;
}
.av-estimator__confirmation p {
  color: var(--av-muted);
  font-size: 13px;
  line-height: 1.55;
  margin: 7px 0 4px;
}
.av-estimator__result {
  background: #fffaf0;
  border: 1px solid #dfc98f;
  border-radius: 17px;
  margin-top: 22px;
  padding: 24px;
  text-align: center;
}
.av-estimator__result strong {
  color: var(--av-gold-dark);
  display: block;
  font-size: clamp(34px, 5vw, 48px);
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin: 12px 0;
}
.av-estimator__result p {
  font-size: 14px;
  line-height: 1.55;
}
.av-estimator__result .av-estimator__button {
  margin-top: 12px;
}
.av-estimator__link {
  background: none;
  border: 0;
  color: var(--av-gold-dark);
  cursor: pointer;
  font-size: 15px;
  font-weight: 750;
  margin-top: 16px;
  min-height: 40px;
  padding: 8px 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.av-estimator__secondary-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 12px;
}
.av-estimator__pledged {
  border-top: 1px solid #e9dfc9;
  color: var(--av-gold-dark);
  display: block;
  font-size: 13px;
  margin-top: 18px;
  padding-top: 18px;
  text-decoration: none;
}
.av-estimator__pledged span,
.av-estimator__pledged strong {
  display: block;
  font-size: inherit;
  letter-spacing: 0;
  line-height: 1.45;
  margin: 0;
}
.av-estimator__pledged strong {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.av-estimator__video {
  inset: 0;
  position: fixed;
  z-index: 100000;
}
.av-estimator__video-backdrop {
  background: rgba(12, 18, 28, 0.78);
  border: 0;
  inset: 0;
  position: absolute;
  width: 100%;
}
.av-estimator__video-dialog {
  background: #000;
  border-radius: 16px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
  left: 50%;
  max-width: 880px;
  overflow: hidden;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 32px);
}
.av-estimator__video-dialog iframe {
  aspect-ratio: 16 / 9;
  border: 0;
  display: block;
  width: 100%;
}
.av-estimator__video-close {
  align-items: center;
  background: #fff;
  border: 0;
  border-radius: 999px;
  color: #111827;
  cursor: pointer;
  display: flex;
  font-size: 24px;
  height: 40px;
  justify-content: center;
  position: absolute;
  right: 12px;
  top: 12px;
  width: 40px;
  z-index: 1;
}
body.av-estimator-video-open {
  overflow: hidden;
}

@media (max-width: 781px) {
  .av-estimator__grid {
    grid-template-columns: 1fr;
  }
  .av-estimator__wide {
    grid-column: auto;
  }
}

@media (max-width: 767px) {
  .av-estimator {
    border-radius: 20px;
    box-shadow: 0 16px 42px rgba(73, 54, 8, 0.11);
    padding: 24px 20px;
  }

  .av-estimator__heading {
    margin-bottom: 22px;
  }
  .av-estimator__heading h2 {
    font-size: clamp(27px, 8vw, 32px);
    line-height: 1.18;
  }
  .av-estimator__heading p {
    font-size: 13px;
  }
  .av-estimator__grid {
    gap: 17px;
  }
  .av-estimator label {
    margin-bottom: 15px;
  }
  .av-estimator input,
  .av-estimator select {
    min-height: 50px;
  }
  .av-estimator__stage {
    margin-top: 20px;
    padding-top: 20px;
  }
  .av-estimator__result {
    padding: 22px 18px;
  }
  .av-estimator__result strong {
    font-size: clamp(32px, 10vw, 42px);
  }
}

@media (max-width: 359px) {
  .av-estimator {
    padding: 22px 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .av-estimator input,
  .av-estimator select,
  .av-estimator__button {
    transition: none;
  }
}
