/* CSG — confirmation modal after lead form submit */
.csg-toast {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.csg-toast.is-open {
  opacity: 1;
  pointer-events: auto;
}
.csg-toast__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.65);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  cursor: pointer;
}
.csg-toast__card {
  position: relative;
  width: min(440px, calc(100% - 32px));
  background: #FFFFFF;
  color: #0A0A0A;
  border-radius: 16px;
  padding: 36px 32px 32px;
  text-align: center;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  transform: translateY(8px) scale(0.98);
  transition: transform 0.25s ease;
}
.csg-toast.is-open .csg-toast__card { transform: translateY(0) scale(1); }

.csg-toast__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  font-size: 24px;
  font-weight: 300;
  line-height: 1;
  color: #6B7280;
  cursor: pointer;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: background 0.15s, color 0.15s;
  font-family: inherit;
}
.csg-toast__close:hover { background: #F4F4F5; color: #0A0A0A; }

.csg-toast__icon {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}

.csg-toast__card h3 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  color: #0A0A0A;
}
.csg-toast__card p {
  font-size: 15px;
  color: #4B5563;
  line-height: 1.55;
  margin: 0 0 24px;
  max-width: 340px;
  margin-left: auto;
  margin-right: auto;
}

.csg-toast__actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.csg-toast__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.15s, background 0.15s;
  font-family: inherit;
  border: 1px solid transparent;
}
.csg-toast__btn:active { transform: translateY(1px); }
.csg-toast__btn--primary {
  background: #25D366;
  color: #FFFFFF;
}
.csg-toast__btn--primary:hover { background: #1fb954; }
.csg-toast__btn--ghost {
  background: transparent;
  color: #229ED9;
  border-color: #229ED9;
}
.csg-toast__btn--ghost:hover { background: #229ED9; color: #FFFFFF; }

@media (max-width: 480px) {
  .csg-toast__card { padding: 28px 22px 24px; }
  .csg-toast__card h3 { font-size: 20px; }
}
