/* Discovery Call Modal */
.discovery-call-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(43, 115, 123, 0.75);
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

.discovery-call-modal.modal-open {
  display: flex;
}

.discovery-call-modal-card {
  background: white;
  border-radius: 16px;
  padding: 2.5rem 2.5rem 1rem;
  max-width: 650px;
  width: 90%;
  position: relative;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.18);
}

.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: none;
  border: none;
  font-size: 1.75rem;
  color: #888;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  transition: color 0.2s;
  z-index: 1;
}

.modal-close-btn:hover {
  color: var(--color-four);
}

.modal-title {
  font-size: 2rem;
  margin: 0 0 0.5rem 0;
  color: var(--color-primary);
}

/* Calendly Embed */
.discovery-call-modal-card .calendly-inline-widget {
  min-width: 100%;
  height: 660px;
}

@media (max-width: 480px) {
  .discovery-call-modal-card {
    padding: 2rem 1rem 0.5rem;
    max-height: 95vh;
  }

  .modal-title {
    font-size: 1.6rem;
  }

  .discovery-call-modal-card .calendly-inline-widget {
    height: 550px;
  }
}
