.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,18,20,0.72);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s;
}
.popup-overlay.is-open { opacity: 1; visibility: visible; }

.popup {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  width: 100%;
  max-width: 440px;
  position: relative;
  box-shadow: 0 32px 80px rgba(0,0,0,0.3);
  transform: translateY(16px);
  transition: transform 0.25s ease;
}
.popup-overlay.is-open .popup { transform: translateY(0); }

.popup__close {
  position: absolute;
  top: 14px; right: 14px;
  background: var(--warm-white);
  border: none;
  border-radius: 50%;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--steel);
  transition: background var(--transition), color var(--transition);
}
.popup__close:hover { background: var(--amber-100); color: var(--amber-600); }

.popup__icon { text-align: center; margin-bottom: 12px; }
.popup__icon img { display: block; margin: 0 auto; width: 56px; height: 56px; object-fit: contain; }
.popup__title { font: 700 22px var(--font-head); color: var(--graphite-800); text-align: center; margin-bottom: 8px; }
.popup__desc { font-size: 14px; color: var(--steel); text-align: center; margin-bottom: 24px; line-height: 1.5; }

.btn--full { width: 100%; justify-content: center; padding: 15px; font-size: 15px; }

.popup__privacy { font-size: 12px; color: var(--steel-light); text-align: center; margin-top: 12px; }
.popup__privacy a { color: var(--amber-600); text-decoration: underline; }

.popup__success {
  flex-direction: column; align-items: center; text-align: center; gap: 16px;
  padding: 24px 0;
}
.popup__success h3 { font: 700 22px var(--font-head); color: var(--graphite-800); }
.popup__success p { font-size: 15px; color: var(--steel); line-height: 1.6; }

@media (max-width: 480px) {
  .popup { padding: 28px 20px; }
}
