.quote-thanks {
  position: fixed;
  inset: 0;
  width: min(540px, calc(100% - 28px));
  max-width: none;
  max-height: calc(100% - 28px);
  margin: auto;
  padding: 0;
  border: 1px solid #a9e88255;
  border-radius: 24px;
  background: #081e31;
  color: #f6fbf8;
  box-shadow: 0 30px 95px #000b;
  font-family: Heebo, Arial, sans-serif;
}

.quote-thanks::backdrop {
  background: #030f1bd9;
  backdrop-filter: blur(7px);
}

.quote-thanks-content {
  padding: clamp(24px, 5vw, 44px) clamp(19px, 5vw, 54px);
  text-align: center;
  background: linear-gradient(150deg, #102f45, #0a2539);
}

.quote-thanks-content img {
  display: block;
  width: clamp(145px, 49vw, 225px);
  height: auto;
  margin: 0 auto 26px;
}

.quote-thanks h2 {
  margin: 0;
  color: #c8ef9a;
  font-size: clamp(34px, 8vw, 53px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -.04em;
}

.quote-thanks p {
  margin: 14px 0 0;
  color: #dbe8eb;
  font-size: clamp(15px, 4vw, 18px);
  line-height: 1.7;
}

.quote-thanks form {
  display: grid;
  justify-items: center;
  gap: 12px;
  margin: 23px 0 0;
}

.quote-thanks-close,
.quote-thanks-call {
  display: inline-grid;
  min-height: 44px;
  place-items: center;
  padding: 8px 25px;
  border: 1px solid #d4edc350;
  border-radius: 30px;
  background: #102c4099;
  color: #f6fbf8;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.quote-thanks-close {
  background: #a9dc65;
  color: #071e30;
}

.quote-thanks-call {
  text-decoration: none;
  color: #c8ef9a;
  border-color: #a9dc65;
}

@media (prefers-reduced-motion: no-preference) {
  .quote-thanks[open] { animation: quote-thanks-enter .32s ease-out both; }
}

@keyframes quote-thanks-enter {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
