/* ================================================
   QUANTUM AESTHETICS — booking-modal.css
   Modal de reserva: overlay + card + wizard
   ================================================ */

/* ---- OVERLAY ---- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(28, 24, 20, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* ---- CARD ---- */
.modal-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 44px;
  max-width: 580px;
  width: 100%;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 40px 100px rgba(0,0,0,0.15);
  animation: modalIn 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}
.modal-overlay:not(.open) .modal-card {
  animation: none;
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ---- CLOSE BUTTON ---- */
.modal-close {
  position: absolute;
  top: 18px; right: 18px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg-3);
  border: 1px solid var(--border);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 0.25s ease;
  flex-shrink: 0;
}
.modal-close:hover {
  background: var(--gold);
  color: #1c1814;
  border-color: var(--gold);
}

/* ---- MODAL HEADER ---- */
.modal-header {
  text-align: center;
  margin-bottom: 32px;
}
.modal-title {
  font-family: var(--ff-serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.2;
  margin: 10px 0 8px;
}
.modal-title em {
  font-style: italic;
  color: var(--gold);
}
.modal-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---- CONTACT CTA BOX (en la sección #contacto) ---- */
.contact-cta-box {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.contact-cta-icon {
  font-size: 2rem;
  color: var(--gold);
}
.contact-cta-box h3 {
  font-family: var(--ff-serif);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--white);
}
.contact-cta-box p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 340px;
}

/* ---- MOBILE ---- */
@media (max-width: 640px) {
  .modal-card {
    padding: 36px 24px;
  }
  .contact-cta-box {
    padding: 36px 24px;
  }
}
