/* --------------------------------------------------
   Global lead-generation popup (includes/lead-popup.php)
   Loaded site-wide; behavior driven by assets/js/lead-popup.js
   -------------------------------------------------- */
:root {
  --lead-popup-accent: #e07728;
  --lead-popup-accent-2: #ff9900;
  --lead-popup-navy: #0f2f5c;
  --lead-popup-whatsapp: #25d366;
  --lead-popup-radius: 16px;
  --lead-popup-shadow: 0 24px 60px rgba(15, 23, 42, 0.28);
  --lead-popup-duration: 250ms;
}

.lead-popup-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(10, 15, 25, 0.6);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity var(--lead-popup-duration) ease;
}

.lead-popup-backdrop.is-open {
  opacity: 1;
}

@supports not (
  (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))
) {
  .lead-popup-backdrop {
    background: rgba(10, 15, 25, 0.78);
  }
}

.lead-popup {
  position: fixed;
  inset: 0;
  z-index: 100001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--lead-popup-duration) ease;
}

.lead-popup.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lead-popup__card {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  background: #ffffff;
  border-radius: var(--lead-popup-radius);
  box-shadow: var(--lead-popup-shadow);
  padding: 32px 28px 24px;
  text-align: center;
  transform: translateY(24px) scale(0.98);
  transition: transform var(--lead-popup-duration) ease;
}

.lead-popup.is-open .lead-popup__card {
  transform: translateY(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .lead-popup-backdrop,
  .lead-popup,
  .lead-popup__card {
    transition: none;
  }
}

.lead-popup__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: #f1f3f6;
  color: #333;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.lead-popup__close:hover,
.lead-popup__close:focus-visible {
  background: var(--lead-popup-accent);
  color: #ffffff;
}
.importNotes {
  color: #0f2f5c;
  font-weight: 700;
}
.lead-popup__eyebrow {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--lead-popup-accent);
}

.lead-popup__heading {
  margin: 0 0 16px;
  font-family: "Lato", sans-serif;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 800;
  color: var(--lead-popup-navy);
}

.lead-popup__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 18px;
  padding: 6px 16px;
  border-radius: 999px;
  background: linear-gradient(
    135deg,
    var(--lead-popup-accent-2),
    var(--lead-popup-accent)
  );
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
}

.lead-popup__highlights {
  text-align: left;
  background: #fff8ee;
  border: 1px solid #f4e0c4;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 14px;
}

.lead-popup__highlights--muted {
  background: #f7f9fb;
  border-color: #e7ebf0;
}

.lead-popup__highlights-title {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--lead-popup-accent);
}

.lead-popup__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lead-popup__list li {
  font-size: 14px;
  color: #333;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.lead-popup__list i {
  color: var(--lead-popup-accent);
  margin-top: 3px;
}

.lead-popup__features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lead-popup__features li {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  display: flex;
  align-items: center;
  gap: 8px;
}

.lead-popup__features i {
  color: var(--lead-popup-whatsapp);
}

.lead-popup__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 14px;
}

.lead-popup__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lead-popup__btn:hover,
.lead-popup__btn:focus-visible {
  transform: translateY(-2px);
}

.lead-popup__btn--call {
  background: var(--lead-popup-navy);
  color: #ffffff;
}

.lead-popup__btn--call:hover,
.lead-popup__btn--call:focus-visible {
  box-shadow: 0 10px 20px rgba(15, 47, 92, 0.3);
}

.lead-popup__btn--whatsapp {
  background: var(--lead-popup-whatsapp);
  color: #ffffff;
}

.lead-popup__btn--whatsapp:hover,
.lead-popup__btn--whatsapp:focus-visible {
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

.lead-popup__tagline {
  margin: 0 0 16px;
  font-size: 13px;
  font-style: italic;
  color: #666;
}

.lead-popup__disclaimer {
  margin: 0;
  font-size: 11px;
  color: #888;
}

/* Mobile: near-full-width, compact spacing/type so the card fits without
   internal scrolling instead of stretching to fill the viewport. */
@media (max-width: 480px) {
  .lead-popup {
    padding: 0;
    align-items: center;
  }

  .lead-popup__card {
    max-width: 100%;
    max-height: 88vh;
    padding: 12px 14px 10px;
  }

  .lead-popup__close {
    top: 8px;
    right: 8px;
    width: 26px;
    height: 26px;
    font-size: 12px;
  }

  .lead-popup__eyebrow {
    font-size: 12px;
    margin-bottom: 3px;
  }

  .lead-popup__heading {
    font-size: 15px;
    line-height: 1.2;
    margin-bottom: 16px;
  }

  .lead-popup__badge {
    font-size: 10.5px;
    padding: 3px 9px;
    margin-bottom: 16px;
  }

  .lead-popup__highlights {
    padding: 6px 9px;
    margin-bottom: 16px;
  }

  .lead-popup__highlights-title {
    font-size: 10.5px;
    margin-bottom: 3px;
  }

  .lead-popup__list,
  .lead-popup__features {
    gap: 3px;
  }

  .lead-popup__list li,
  .lead-popup__features li {
    font-size: 11.5px;
  }

  .lead-popup__tagline {
    font-size: 10.5px;
    margin-bottom: 4px;
  }

  .lead-popup__actions {
    gap: 12px;
    margin-bottom: 5px;
  }

  .lead-popup__btn {
    padding: 8px 14px;
    font-size: 13px;
  }

  .lead-popup__disclaimer {
    font-size: 10px;
  }
}
