/* Booking modal – shared across marketing pages */
#booking-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
#booking-modal.is-open { display: flex; }

.bm-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 17, 13, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.bm-box {
  position: relative;
  background: rgba(251, 248, 243, 0.92);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 1.5rem;
  width: 100%;
  max-width: 540px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.5rem 2rem 2rem;
  box-shadow: 0 32px 80px rgba(20,17,13,0.28);
}

.bm-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--stone, #7B746B);
  padding: 0.25rem;
  min-width: 44px;
  min-height: 44px;
}
.bm-close:hover { color: var(--charcoal, #2F2A24); }

.bm-step { display: none; }
.bm-step.is-active { display: block; }

.bm-progress {
  display: flex;
  gap: 6px;
  margin-bottom: 2rem;
}
.bm-dot {
  flex: 1;
  height: 3px;
  border-radius: 2px;
  background: var(--border, #D9D1C7);
}
.bm-dot.done { background: var(--orange, #EC6A37); }

.bm-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stone, #7B746B);
  margin-bottom: 0.5rem;
}
.bm-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--charcoal, #2F2A24);
  margin-bottom: 0.35rem;
  line-height: 1.3;
}
.bm-sub {
  font-size: 0.9rem;
  color: var(--stone, #7B746B);
  margin-bottom: 1.75rem;
}

.bm-field { margin-bottom: 1.1rem; }
.bm-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--charcoal, #2F2A24);
  margin-bottom: 0.35rem;
}
.bm-field input {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1.5px solid var(--border, #D9D1C7);
  border-radius: 0.5rem;
  background: #fff;
  font-size: 0.95rem;
  color: var(--charcoal, #2F2A24);
  font-family: inherit;
  outline: none;
}
.bm-field input:focus { border-color: var(--orange, #EC6A37); }
.bm-field input.bm-error { border-color: #d94f3b; }
.bm-field select,
.bm-select {
  width: 100%;
  min-height: 44px;
  padding: 0.65rem 0.85rem;
  border: 1.5px solid var(--border, #D9D1C7);
  border-radius: 0.5rem;
  background: #fff;
  font-size: 0.95rem;
  color: var(--charcoal, #2F2A24);
  font-family: inherit;
  outline: none;
  margin-bottom: 1.1rem;
  cursor: pointer;
}
.bm-field select:focus,
.bm-select:focus { border-color: var(--orange, #EC6A37); }
.bm-field select.bm-error,
.bm-select.bm-error { border-color: #d94f3b; }

.bm-check {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.82rem;
  color: var(--charcoal, #2F2A24);
  margin-bottom: 1.1rem;
  cursor: pointer;
}
.bm-check input { margin-top: 0.2rem; flex-shrink: 0; }
.bm-check.bm-error { color: #d94f3b; }
.bm-check a { color: inherit; text-decoration: underline; }

.bm-options {
  display: grid;
  gap: 0.6rem;
  margin-bottom: 1.75rem;
}
.bm-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  min-height: 44px;
  border: 1.5px solid var(--border, #D9D1C7);
  border-radius: 0.6rem;
  cursor: pointer;
  background: #fff;
  font-size: 0.92rem;
  color: var(--charcoal, #2F2A24);
  font-family: inherit;
  text-align: left;
  width: 100%;
}
.bm-option:hover,
.bm-option.selected {
  border-color: var(--orange, #EC6A37);
  background: #fff8f4;
}
.bm-option.selected { font-weight: 600; }

.bm-slider-block {
  margin: 0.5rem 0 1.75rem;
  padding: 1.25rem 1.15rem 1.1rem;
  background: #fff;
  border: 1.5px solid var(--border, #D9D1C7);
  border-radius: 0.85rem;
}

.bm-slider-value {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  margin-bottom: 1.1rem;
}

.bm-slider-value #bm-volume-display {
  font-family: var(--serif, 'Source Serif 4', Georgia, serif);
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1;
  color: var(--racing-green, #004225);
  letter-spacing: -0.03em;
}

.bm-slider-unit {
  font-size: 0.85rem;
  color: var(--stone, #7B746B);
  font-weight: 600;
}

.bm-slider {
  --bm-slider-pct: 26.666%;
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--orange, #EC6A37) 0%,
    var(--orange, #EC6A37) var(--bm-slider-pct),
    var(--border, #D9D1C7) var(--bm-slider-pct),
    var(--border, #D9D1C7) 100%
  );
  outline: none;
  cursor: pointer;
  margin: 0;
}

.bm-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--orange, #EC6A37);
  box-shadow: 0 4px 12px rgba(47, 42, 36, 0.18);
  cursor: pointer;
}

.bm-slider::-moz-range-thumb {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--orange, #EC6A37);
  box-shadow: 0 4px 12px rgba(47, 42, 36, 0.18);
  cursor: pointer;
}

.bm-slider-scale {
  display: flex;
  justify-content: space-between;
  margin-top: 0.65rem;
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--stone, #7B746B);
}

.bm-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  margin-top: 0.5rem;
}
.bm-btn-back {
  background: none;
  border: 1.5px solid var(--border, #D9D1C7);
  border-radius: 0.5rem;
  padding: 0.6rem 1.2rem;
  min-height: 44px;
  font-size: 0.9rem;
  color: var(--stone, #7B746B);
  cursor: pointer;
  font-family: inherit;
}
.bm-btn-next {
  background: var(--orange, #EC6A37);
  border: none;
  border-radius: 0.5rem;
  padding: 0.6rem 1.5rem;
  min-height: 44px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--on-orange, #2F2A24);
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.bm-btn-next:hover { background: var(--orange-hover, #F37A48); }

.bm-cal-wrap {
  min-height: 4rem;
  margin-top: 1rem;
}

@media (max-width: 480px) {
  .bm-box { padding: 2rem 1.25rem 1.25rem; border-radius: 1rem; }
}
