/* ——— Quote request modal (hero CTA) ——— */
.quote-modal {
  z-index: 280;
  align-items: flex-end;
  padding: 0;
}

@media (min-width: 561px) {
  .quote-modal {
    align-items: center;
    padding: 1.25rem;
  }
}

.quote-modal__panel {
  width: min(520px, 100%);
  max-height: min(92dvh, 760px);
  border-radius: var(--radius) var(--radius) 0 0;
}

@media (min-width: 561px) {
  .quote-modal__panel {
    border-radius: var(--radius);
  }
}

.quote-modal__heading {
  min-width: 0;
}

.quote-modal__kicker {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #3da554;
}

.quote-modal__heading h2 {
  font-size: clamp(1.25rem, 4vw, 1.45rem);
}

.quote-modal__body {
  padding: 0.85rem 1.15rem 1.25rem;
}

.quote-form--modal {
  border: none;
  box-shadow: none;
  padding: 0;
  gap: 0.75rem;
}

.quote-form--modal .btn-submit {
  margin-top: 0.25rem;
}

body.quote-modal-open {
  overflow: hidden;
}

html.js .quote-modal.is-open .quote-modal__panel {
  animation: quoteModalIn 0.32s cubic-bezier(0.25, 0.8, 0.25, 1);
}

@keyframes quoteModalIn {
  from {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html.js .quote-modal.is-open .quote-modal__panel {
    animation: none;
  }
}
