/* ══════════════════════════════════════════
   BOOKING — 5-Step Wizard Modal
   MP Skin & SPA — Brand Refresh
══════════════════════════════════════════ */

/* ── BOOKING OVERLAY ── */
.booking-overlay {
  position: fixed; inset: 0;
  background: rgba(0,83,76,0.65);
  backdrop-filter: blur(6px);
  z-index: 800;
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s ease;
}
.booking-overlay.open { opacity: 1; pointer-events: all; }

/* ── BOOKING MODAL ── */
.booking-modal {
  position: fixed; inset: 0;
  z-index: 900;
  display: grid;
  grid-template-columns: 300px 1fr;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.77,0,0.175,1);
  overflow: hidden;
}
.booking-modal.open { transform: translateY(0); }

/* ── LEFT PANEL ── */
.bm-panel {
  background: linear-gradient(160deg, #00534c 0%, #003d38 50%, #00534c 100%);
  padding: 48px 40px;
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
}
.bm-panel-top { position: relative; z-index: 1; }
.bm-panel-logo {
  font-family: 'Prompt', sans-serif;
  font-size: 1.3rem; font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--cream);
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 6px;
}
.bm-panel-tagline {
  font-size: 0.6rem; font-weight: 300;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(247,243,238,0.35);
}

/* ── PANEL SUMMARY ── */
.bm-summary {
  margin-top: 60px;
  display: flex; flex-direction: column; gap: 28px;
  position: relative; z-index: 1;
}
.bm-summary-item { display: flex; flex-direction: column; gap: 6px; }
.bsum-label {
  font-size: 0.55rem; font-weight: 400;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--gold);
}
.bsum-value {
  font-family: 'Prompt', sans-serif;
  font-size: 1rem; font-weight: 300;
  color: rgba(247,243,238,0.8);
  line-height: 1.4;
}

/* ── DECORATIVE CIRCLES ── */
.bm-deco-circle {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(111,162,135,0.12);
}
.bm-deco-1 { width: 300px; height: 300px; bottom: -100px; left: -100px; }
.bm-deco-2 { width: 200px; height: 200px; bottom: -50px; left: -50px; }
.bm-deco-3 { width: 120px; height: 120px; bottom: 20px; left: 20px; }

/* ── RIGHT CONTENT PANEL ── */
.bm-content {
  background: var(--warm-white);
  display: flex; flex-direction: column;
  overflow-y: auto;
  position: relative;
}

/* ── HEADER ── */
.bm-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 32px 48px 0;
  flex-shrink: 0;
}

/* ── STEP INDICATOR ── */
.bm-steps-indicator {
  display: flex; align-items: center; gap: 8px;
}
.bm-step-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(0,83,76,0.15);
  transition: background 0.3s, transform 0.3s;
  flex-shrink: 0;
}
.bm-step-dot.active { background: var(--gold); transform: scale(1.3); }
.bm-step-dot.done { background: var(--gold-light); }
.bm-step-line {
  width: 24px; height: 1px;
  background: rgba(0,83,76,0.15);
  flex-shrink: 0;
}

/* ── CLOSE ── */
.bm-close {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Noto Sans', sans-serif;
  font-size: 0.6rem; font-weight: 400;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(0,83,76,0.6);
  background: none; border: 1px solid rgba(0,83,76,0.2);
  padding: 9px 18px; cursor: none;
  transition: color 0.3s, border-color 0.3s;
  flex-shrink: 0;
}
.bm-close:hover { color: var(--dark); border-color: rgba(0,83,76,0.5); }

/* ── STEPS ── */
.bm-step {
  padding: 36px 48px 40px;
  flex: 1;
  animation: bmFadeIn 0.35s ease forwards;
}
@keyframes bmFadeIn {
  from { opacity: 0; transform: translateX(18px); }
  to   { opacity: 1; transform: translateX(0); }
}
.bm-step-label {
  font-size: 0.6rem; font-weight: 400;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.bm-step-title {
  font-family: 'Prompt', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 300; line-height: 1.1;
  color: var(--dark);
  margin-bottom: 32px;
}
.bm-step-title em { font-style: italic; color: var(--brown-mid); }
.bm-step-sub {
  font-size: 0.78rem; font-weight: 300;
  color: var(--brown-light);
  margin-bottom: 24px; margin-top: -20px;
  letter-spacing: 0.05em;
}

/* ── STEP 1 — SERVICE GRID ── */
.bm-service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.bm-service-card {
  background: var(--cream);
  border: 1px solid var(--border);
  padding: 22px 20px;
  text-align: left;
  cursor: none;
  transition: background 0.25s, border-color 0.25s, transform 0.2s;
  position: relative; overflow: hidden;
}
.bm-service-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.35s ease;
}
.bm-service-card:hover { background: var(--warm-white); border-color: var(--gold); transform: translateY(-2px); }
.bm-service-card:hover::after { width: 100%; }
.bm-service-card.selected { border-color: var(--gold); background: rgba(0,83,76,0.04); }
.bm-sc-num {
  font-family: 'Prompt', sans-serif;
  font-size: 1.6rem; font-weight: 300;
  color: rgba(0,83,76,0.15);
  line-height: 1; margin-bottom: 10px;
}
.bm-sc-name {
  font-family: 'Prompt', sans-serif;
  font-size: 1rem; font-weight: 400;
  color: var(--dark);
  margin-bottom: 4px;
}
.bm-sc-dur {
  font-size: 0.62rem; font-weight: 300;
  letter-spacing: 0.12em;
  color: var(--brown-light);
}
.bm-sc-price {
  position: absolute; top: 16px; right: 16px;
  font-family: 'Prompt', sans-serif;
  font-size: 0.95rem; font-weight: 400;
  color: var(--gold);
}

/* ── STEP 2 — UNIT GRID ── */
.bm-unit-grid { display: flex; flex-direction: column; gap: 14px; }
.bm-unit-card {
  background: var(--cream);
  border: 1px solid var(--border);
  padding: 28px 28px 24px;
  text-align: left; cursor: none;
  position: relative; overflow: hidden;
  transition: border-color 0.25s, transform 0.2s, background 0.25s;
}
.bm-unit-card:hover { border-color: var(--gold); transform: translateY(-2px); background: var(--warm-white); }
.bm-unit-num {
  font-family: 'Prompt', sans-serif;
  font-size: 2.2rem; font-weight: 300;
  color: rgba(0,83,76,0.1);
  line-height: 1; margin-bottom: 8px;
}
.bm-unit-name {
  font-family: 'Prompt', sans-serif;
  font-size: 1.3rem; font-weight: 400;
  color: var(--dark); margin-bottom: 6px;
}
.bm-unit-addr {
  font-size: 0.78rem; font-weight: 300;
  color: var(--brown-mid); line-height: 1.6;
  margin-bottom: 10px;
}
.bm-unit-hours {
  font-size: 0.62rem; font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--brown-light);
}
.bm-unit-arrow {
  position: absolute; right: 24px; top: 50%;
  transform: translateY(-50%);
  color: var(--gold); opacity: 0;
  transition: opacity 0.25s, transform 0.25s;
}
.bm-unit-card:hover .bm-unit-arrow { opacity: 1; transform: translateY(-50%) translateX(4px); }

/* ── STEP 3 — CALENDAR ── */
.bm-calendar { max-width: 380px; }
.bm-cal-nav {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px;
}
.bm-cal-nav-btn {
  background: none; border: 1px solid var(--border);
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  cursor: none; color: var(--brown-mid);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.bm-cal-nav-btn:hover { background: var(--cream); color: var(--dark); border-color: var(--gold); }
.bm-cal-month {
  font-family: 'Prompt', sans-serif;
  font-size: 1.1rem; font-weight: 400;
  color: var(--dark); letter-spacing: 0.05em;
  text-transform: capitalize;
}
.bm-cal-weekdays {
  display: grid; grid-template-columns: repeat(7, 1fr);
  gap: 4px; margin-bottom: 8px;
}
.bm-cal-weekdays span {
  font-size: 0.58rem; font-weight: 400;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--brown-light);
  text-align: center; padding: 4px 0;
}
.bm-cal-days {
  display: grid; grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.bm-cal-day {
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.78rem; font-weight: 300;
  color: var(--dark);
  border: 1px solid transparent;
  cursor: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  border-radius: 2px;
}
.bm-cal-day:hover:not(.disabled):not(.other-month) { background: var(--cream); border-color: var(--border); }
.bm-cal-day.selected { background: var(--gold); color: var(--dark); font-weight: 500; border-color: var(--gold); }
.bm-cal-day.today { border-color: var(--gold); color: var(--gold); font-weight: 500; }
.bm-cal-day.disabled { color: rgba(0,83,76,0.2); cursor: not-allowed; pointer-events: none; }
.bm-cal-day.other-month { color: rgba(0,83,76,0.15); }

/* ── STEP 4 — TIME SLOTS ── */
.bm-time-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.bm-time-slot {
  padding: 12px 8px;
  text-align: center;
  font-size: 0.78rem; font-weight: 300;
  color: var(--dark);
  background: var(--cream);
  border: 1px solid var(--border);
  cursor: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s;
}
.bm-time-slot:hover:not(.unavailable) { background: var(--warm-white); border-color: var(--gold); }
.bm-time-slot.selected { background: var(--gold); color: var(--dark); border-color: var(--gold); font-weight: 500; }
.bm-time-slot.unavailable { color: rgba(0,83,76,0.2); pointer-events: none; text-decoration: line-through; }

/* ── STEP 5 — FORM ── */
.bm-form { display: flex; flex-direction: column; gap: 20px; max-width: 440px; }
.bm-field { display: flex; flex-direction: column; gap: 7px; }
.bm-label {
  font-size: 0.6rem; font-weight: 400;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--brown-light);
}
.bm-input {
  font-family: 'Noto Sans', sans-serif;
  font-size: 0.88rem; font-weight: 300;
  color: var(--dark);
  background: var(--cream);
  border: 1px solid var(--border);
  padding: 13px 16px;
  outline: none;
  transition: border-color 0.25s, background 0.25s;
  width: 100%;
}
.bm-input:focus { border-color: var(--gold); background: var(--warm-white); }
.bm-input::placeholder { color: rgba(0,83,76,0.3); }
.bm-textarea { resize: vertical; min-height: 90px; }

/* ── FORM ACTIONS ── */
.bm-actions { display: flex; gap: 12px; align-items: center; margin-top: 8px; }
.bm-back-btn {
  font-size: 0.62rem; font-weight: 400;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--brown-light);
  background: none; border: none; cursor: none;
  padding: 8px 0;
  transition: color 0.2s;
}
.bm-back-btn:hover { color: var(--dark); }
.bm-submit-btn {
  font-size: 0.65rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--dark);
  background: var(--gold);
  border: none; cursor: none;
  padding: 15px 36px;
  transition: background 0.3s, transform 0.2s;
}
.bm-submit-btn:hover { background: var(--gold-light); transform: translateY(-1px); }

/* ── CONFIRMATION ── */
.bm-confirm { text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.bm-confirm-icon {
  width: 70px; height: 70px; border-radius: 50%;
  background: rgba(0,83,76,0.1);
  border: 1px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  margin-bottom: 28px;
  animation: confirmPop 0.5s cubic-bezier(0.34,1.56,0.64,1) forwards;
}
@keyframes confirmPop {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.bm-confirm-text {
  font-size: 0.85rem; font-weight: 300;
  line-height: 1.8;
  color: var(--brown-mid);
  margin-bottom: 28px; max-width: 380px;
}
.bm-confirm-summary {
  background: var(--cream);
  border: 1px solid var(--border);
  padding: 24px 32px;
  width: 100%; max-width: 380px;
  text-align: left;
}
.bm-cs-row {
  display: flex; justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(0,83,76,0.08);
  font-size: 0.78rem;
}
.bm-cs-row:last-child { border-bottom: none; }
.bm-cs-key {
  font-size: 0.58rem; font-weight: 400;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--brown-light);
}
.bm-cs-val {
  font-family: 'Prompt', sans-serif;
  font-size: 0.95rem; font-weight: 400;
  color: var(--dark);
}

/* ── GLOBAL BACK BUTTON ── */
.bm-global-back {
  position: absolute; bottom: 28px; left: 48px;
  display: flex; align-items: center; gap: 8px;
  font-size: 0.6rem; font-weight: 400;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--brown-light);
  background: none; border: none; cursor: none;
  transition: color 0.2s;
}
.bm-global-back:hover { color: var(--dark); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .booking-modal { grid-template-columns: 1fr; }
  .bm-panel { display: none; }
  .bm-step { padding: 28px 24px 80px; }
  .bm-header { padding: 24px 24px 0; }
  .bm-global-back { left: 24px; bottom: 20px; }
  .bm-service-grid { grid-template-columns: 1fr; }
  .bm-time-grid { grid-template-columns: repeat(3, 1fr); }
  .bm-step-title { font-size: clamp(1.6rem, 6vw, 2.2rem); }
}
@media (max-width: 600px) {
  .bm-time-grid { grid-template-columns: repeat(2, 1fr); }
  .bm-step { padding: 24px 20px 80px; }
  .bm-header { padding: 20px 20px 0; }
  .bm-global-back { left: 20px; bottom: 16px; }
}
