/* A quiet invitation; the homepage form remains the only destination. */
.quote-prompt {
  box-sizing: border-box;
  position: fixed;
  z-index: 190;
  right: 24px;
  bottom: max(24px, env(safe-area-inset-bottom));
  width: 360px;
  max-width: calc(100vw - 32px);
  padding: 26px;
  border: 1px solid rgba(240, 168, 48, .45);
  border-radius: 14px;
  background: #1A0F28;
  color: #FAF0E8;
  box-shadow: 0 16px 48px rgba(0, 0, 0, .38);
  font-family: 'DM Sans', sans-serif;
  text-align: left;
  animation: quote-prompt-enter .3s ease-out;
}
.quote-prompt[hidden] { display: none; }
.quote-prompt h2 {
  margin: 0 24px 10px 0;
  color: #FAF0E8;
  font: 700 25px/1.2 'Playfair Display', Georgia, serif;
  letter-spacing: -.3px;
}
.quote-prompt p { margin: 0 0 19px; color: #D4BAA0; font-size: 14px; line-height: 1.55; }
.quote-prompt__close {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #D4BAA0;
  font: 28px/1 sans-serif;
  cursor: pointer;
}
.quote-prompt__actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.quote-prompt__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 17px;
  border-radius: 8px;
  background: #F0A830;
  color: #0D0810;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
}
.quote-prompt__later {
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #D4BAA0;
  font: 400 13px/1.4 'DM Sans', sans-serif;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.quote-prompt__cta:hover { background: #FFD060; color: #0D0810; }
.quote-prompt__close:hover, .quote-prompt__later:hover { color: #FAF0E8; }
.quote-prompt :focus-visible { outline: 2px solid #FFD060; outline-offset: 4px; }
/* Only one floating invitation at a time. */
body.quote-prompt-enabled .chat-nudge { display: none !important; }
body.quote-prompt-open .sticky-quote,
body.quote-prompt-open .mobile-cta-bar,
body.quote-prompt-open .call-fab { visibility: hidden !important; pointer-events: none !important; }
#iqCard { scroll-margin-top: 110px; }
@keyframes quote-prompt-enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 640px) {
  .quote-prompt {
    left: 10px;
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    width: auto;
    max-width: none;
    padding: 15px 18px;
    border-radius: 12px;
  }
  .quote-prompt h2 { margin-right: 27px; margin-bottom: 5px; font: 700 17px/1.25 'DM Sans', sans-serif; letter-spacing: 0; }
  .quote-prompt p { margin-bottom: 8px; font-size: 12px; line-height: 1.4; }
  .quote-prompt__actions { gap: 16px; }
  .quote-prompt__cta { font-size: 13px; padding: 9px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .quote-prompt { animation: none; }
  html { scroll-behavior: auto !important; }
}
