/* ============================================================
   contact-modal.css
   Styles the "Speak with an alwaysAI Expert" modal overlay
   that slides in when any CTA button calls openContact().
   ============================================================ */

/* --- Overlay backdrop --- */
.contact-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,22,40,0.6);
  backdrop-filter: blur(3px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.contact-modal-overlay.open { display: flex; }

/* --- Modal box --- */
.contact-modal {
  background: var(--white);
  border-radius: 14px;
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 24px 64px rgba(10,22,40,0.35);
}

/* --- Modal header --- */
.contact-modal__header {
  padding: 24px 28px 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.contact-modal__header h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.3px;
  margin-bottom: 4px;
}
.contact-modal__header p {
  font-size: 13px;
  color: var(--muted);
}

/* --- Close button --- */
.contact-modal__close {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
  border-radius: 6px;
  transition: all 0.15s;
}
.contact-modal__close:hover {
  background: var(--light);
  color: var(--text);
}

/* --- Modal body --- */
.contact-modal__body {
  padding: 20px 28px 28px;
}
