/* ================================================================
   booking-flow.css — Chapter state machine styles
   All colour/font values use tokens from tokens.css
   ================================================================ */

/* ── Keyframes ─────────────────────────────────────────────────── */
@keyframes chapterIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes spinRing {
  to { transform: rotate(360deg); }
}

/* ── Layout shell ───────────────────────────────────────────────── */
#booking-app {
  max-width: 960px;
  margin: 0 auto;
  padding: clamp(24px, 2.8vw, 56px) 24px clamp(64px, 6.9vw, 160px);
  min-height: calc(100vh - 60px);
}

/* ── Progress track ─────────────────────────────────────────────── */
.progress-track {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 36px;
}

.progress-track .step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  white-space: nowrap;
}

.progress-track .step .step-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--line-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.progress-track .step.active .step-num {
  border-color: var(--aqua);
  background: rgba(46,247,199,0.12);
  color: var(--aqua);
}

.progress-track .step.done .step-num {
  border-color: var(--aqua);
  background: var(--aqua);
  color: var(--ink);
}

.progress-track .step.done { color: var(--aqua); }
.progress-track .step.active { color: var(--fg); }

.progress-connector {
  flex: 1;
  height: 1px;
  background: var(--line-2);
  margin: 0 10px;
  min-width: 12px;
}

.progress-connector.done {
  background: var(--aqua);
  opacity: 0.4;
}

/* ── Chapter sections ───────────────────────────────────────────── */
.chapter {
  display: none;
  max-width: 760px;
  margin: 0 auto;
}

.chapter.active {
  display: block;
  animation: chapterIn 0.25s ease both;
}

/* Wide chapters (scope, review) */
.chapter.wide {
  max-width: 900px;
}

/* ── Nav buttons ────────────────────────────────────────────────── */
.chapter-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 32px;
}

/* ── Buttons ────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: filter 0.12s ease, transform 0.1s ease, opacity 0.15s;
  white-space: nowrap;
}

.btn:hover:not(:disabled) { filter: brightness(1.1); }
.btn:active:not(:disabled) { transform: scale(0.97); filter: brightness(0.95); }
.btn:disabled { opacity: 0.4; cursor: not-allowed; }

.btn-primary {
  background: var(--aqua);
  color: var(--ink);
}

.btn-secondary {
  background: transparent;
  color: rgba(243,244,248,0.6);
  border: 1px solid var(--line-2);
}

.btn-secondary:hover:not(:disabled) {
  border-color: rgba(255,255,255,0.28);
  color: var(--fg);
  filter: none;
}

.btn-ghost-sm {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--line);
  font-size: 11px;
  padding: 5px 10px;
}

.btn-ghost-sm:hover { color: var(--fg); border-color: var(--line-2); filter: none; }

.btn-lg {
  padding: 14px 28px;
  font-size: 15px;
}

.btn-lock {
  background: var(--aqua);
  color: var(--ink);
  width: 100%;
  justify-content: center;
  padding: 15px 20px;
  font-size: 15px;
  border-radius: var(--radius);
}

/* ── Cards ──────────────────────────────────────────────────────── */
.bf-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  margin-bottom: 14px;
}

.bf-card-accent {
  background: rgba(46,247,199,0.05);
  border: 1px solid rgba(46,247,199,0.18);
  border-radius: var(--radius-lg);
  padding: 22px;
  margin-bottom: 14px;
}

.bf-card-rush {
  background: rgba(244,208,111,0.06);
  border: 1px solid rgba(244,208,111,0.28);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  margin-bottom: 14px;
}

/* ── Eyebrow ────────────────────────────────────────────────────── */
.eyebrow {
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 8px;
}

.eyebrow.green { color: rgba(46,247,199,0.8); }
.eyebrow.jasmine { color: rgba(244,208,111,0.8); }
.eyebrow.red { color: rgba(254,95,85,0.8); }

/* ── Chapter headings ───────────────────────────────────────────── */
.ch-heading {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.025em;
  color: var(--fg);
  margin: 0 0 8px;
  line-height: 1.1;
}

.ch-lede {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.65;
  margin: 0 0 22px;
}

/* ── Form fields ────────────────────────────────────────────────── */
.field-group {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}

.field-group.col2 { grid-template-columns: 1fr 1fr; }

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field label {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  color: rgba(243,244,248,0.7);
}

.field .hint-text {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  margin: 0;
  opacity: 0.6;
}

.bf-input {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 10px 13px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--fg);
  outline: none;
  transition: border-color 0.15s;
  box-sizing: border-box;
}

.bf-input:focus {
  border-color: rgba(46,247,199,0.4);
}

.bf-input::placeholder { color: var(--muted); opacity: 0.5; }

.bf-input.error { border-color: rgba(254,95,85,0.5); }

.field-error {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--bittersweet);
  margin: 0;
}

/* ── Choice group (pills/chips) ─────────────────────────────────── */
.choice-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.choice-btn {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(243,244,248,0.55);
  background: rgba(255,255,255,0.03);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.choice-btn:hover {
  border-color: var(--line-2);
  color: var(--fg);
}

.choice-btn.selected {
  border-color: rgba(46,247,199,0.45);
  background: rgba(46,247,199,0.09);
  color: var(--aqua);
}

.choice-btn .ch-hint {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
  opacity: 0.6;
  margin-left: 2px;
}

.choice-btn.selected .ch-hint { opacity: 0.8; }

/* ── Tier cards (Chapter 2) ─────────────────────────────────────── */
.tiers-grid-bf {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}

.tier-card-bf {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  cursor: pointer;
  position: relative;
  transition: border-color 0.15s, background 0.15s;
}

.tier-card-bf:hover {
  border-color: var(--line-2);
}

.tier-card-bf.selected {
  border-color: rgba(46,247,199,0.45);
  background: rgba(46,247,199,0.04);
}

.tier-card-bf.featured-bf {
  border-color: rgba(57,94,229,0.35);
  background: linear-gradient(160deg, rgba(57,94,229,0.08), rgba(57,94,229,0.03));
}

.tier-card-bf.featured-bf.selected {
  border-color: rgba(46,247,199,0.5);
}

.tier-badge-bf {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--royal);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 3px 10px;
  border-radius: 4px;
  white-space: nowrap;
  text-transform: uppercase;
}

.tier-name-bf {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 16px;
  color: var(--fg);
}

.tier-price-bf {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 24px;
  color: var(--fg);
  letter-spacing: -0.03em;
}

.tier-price-bf .from-bf {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 300;
  color: var(--muted);
  letter-spacing: 0;
  margin-left: 4px;
}

.tier-timeline-bf {
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--aqua);
}

.tier-features-bf {
  list-style: none;
  padding: 0;
  margin: 6px 0 12px;
  flex: 1;
}

.tier-features-bf li {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 300;
  color: rgba(243,244,248,0.5);
  padding: 6px 0;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: flex-start;
  gap: 7px;
}

.tier-features-bf li::before {
  content: "✓";
  color: var(--aqua);
  font-weight: 700;
  flex-shrink: 0;
  font-size: 11px;
}

.tier-select-btn {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 12px;
  padding: 8px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--line-2);
  background: transparent;
  color: rgba(243,244,248,0.5);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  text-align: center;
}

.tier-card-bf.selected .tier-select-btn {
  background: var(--aqua);
  color: var(--ink);
  border-color: var(--aqua);
}

/* ── Live price bar ─────────────────────────────────────────────── */
.price-bar {
  background: rgba(46,247,199,0.06);
  border: 1px solid rgba(46,247,199,0.18);
  border-radius: var(--radius-lg);
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0;
}

.price-bar-label {
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(46,247,199,0.7);
  margin-bottom: 4px;
}

.price-bar-total {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 700;
  color: var(--aqua);
  letter-spacing: -0.02em;
  transition: opacity 0.15s;
}

.price-bar-deposit-label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(46,247,199,0.5);
  margin-bottom: 3px;
  text-align: right;
}

.price-bar-deposit {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  color: rgba(46,247,199,0.85);
  text-align: right;
}

.price-bar-discount {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--jasmine);
  margin-top: 3px;
}

@media (max-width: 480px) {
  .price-bar {
    flex-wrap: wrap;
    gap: 12px;
  }
  .price-bar > div:last-child {
    width: 100%;
    border-top: 1px solid rgba(46,247,199,0.12);
    padding-top: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .price-bar > div:last-child .price-bar-label {
    margin-bottom: 0;
  }
}

/* ── Showcase context strip (Chapter 3) ─────────────────────────── */
.ch3-showcase-note {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid rgba(244,208,111,0.3);
  background: rgba(244,208,111,0.06);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(244,208,111,0.8);
  margin-bottom: 20px;
}

.ch3-showcase-note b {
  color: var(--jasmine);
  font-weight: 600;
}

.showcase-note-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(244,208,111,0.8);
  flex-shrink: 0;
}

.showcase-note-dismiss {
  margin-left: auto;
  background: none;
  border: none;
  padding: 2px 8px;
  border-radius: 50%;
  font-size: 15px;
  line-height: 1;
  color: rgba(244,208,111,0.6);
  cursor: pointer;
  flex-shrink: 0;
  transition: color 0.15s, background 0.15s;
}

.showcase-note-dismiss:hover {
  color: var(--jasmine);
  background: rgba(244,208,111,0.12);
}

/* ── Schedule mode toggle ───────────────────────────────────────── */
.schedule-mode-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 28px;
}

.mode-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px;
  cursor: pointer;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  transition: border-color 0.15s, background 0.15s;
}

.mode-card:hover { border-color: var(--line-2); }

.mode-card.active {
  border-color: rgba(46,247,199,0.35);
  background: rgba(46,247,199,0.04);
}

.mode-radio {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid var(--line-2);
  flex-shrink: 0;
  margin-top: 2px;
  transition: border-color 0.15s, background 0.15s;
}

.mode-card.active .mode-radio {
  border: 4px solid var(--aqua);
  background: rgba(46,247,199,0.1);
}

.mode-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  color: var(--fg);
  margin-bottom: 4px;
}

.mode-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
}

/* ── Schedule content area ──────────────────────────────────────── */
.schedule-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  align-items: start;
}

/* ── Window info card ───────────────────────────────────────────── */
.window-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}

.window-label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 4px;
}

.window-value {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  color: var(--fg);
}

.window-bar {
  height: 4px;
  background: var(--line);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 10px;
  display: flex;
}

.window-bar-fill {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--aqua), rgba(46,247,199,0.5));
  border-radius: 2px;
  flex-shrink: 0;
  transition: width 0.4s ease;
}

.window-bar-rush {
  height: 100%;
  width: 0;
  background: var(--jasmine);
  opacity: 0.65;
  flex-shrink: 0;
  transition: width 0.4s ease;
}

.window-rush-days-tag {
  color: var(--jasmine);
}

.window-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
}

.window-meta strong { color: var(--fg); font-weight: 600; }

.window-rush-note {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--jasmine);
  margin-top: 6px;
}

/* Heads-up aside */
.headsup-aside {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
}

.headsup-aside p {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 300;
  color: rgba(243,244,248,0.45);
  line-height: 1.55;
  margin: 0;
}

/* Rush card */
.rush-card-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  color: var(--jasmine);
  margin-bottom: 4px;
}

.rush-card-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(244,208,111,0.6);
}

/* ── Review chapter ─────────────────────────────────────────────── */
.review-sections-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

.review-section-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.review-section-label {
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 4px;
}

.review-section-value {
  font-size: 13px;
  color: var(--fg);
  line-height: 1.45;
}

/* Price breakdown table */
.price-rows {
  margin-bottom: 0;
}

.price-row {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 13px;
  color: var(--fg);
}

.price-row .pr-label { color: rgba(243,244,248,0.6); }
.price-row .pr-val { font-family: var(--font-mono); }

/* Early-bird showcase discount row */
.price-row-discount.price-row .pr-label { color: rgba(244,208,111,0.8); }
.price-row-discount.price-row .pr-val { color: var(--jasmine); }

.price-row-total {
  display: flex;
  justify-content: space-between;
  padding: 14px 0 10px;
  border-top: 1px solid var(--line-2);
  font-size: 15px;
  font-weight: 700;
  color: var(--fg);
  margin-top: 6px;
}

.price-row-total .pr-val { font-family: var(--font-mono); }

.price-row-deposit {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--aqua);
  border-bottom: none;
}

.price-row-deposit .pr-val { font-family: var(--font-mono); }

.price-row-balance {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  font-size: 12px;
  color: var(--muted);
  border-bottom: none;
}

.price-row-balance .pr-val { font-family: var(--font-mono); }

.price-discount-footnote {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(244,208,111,0.6);
  margin: 8px 0 0;
}

/* Payment method selector */
.pay-method-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pay-method-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.03);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.pay-method-card:hover {
  border-color: rgba(46,247,199,0.25);
}

.pay-method-card:has(input:checked) {
  border-color: rgba(46,247,199,0.5);
  background: rgba(46,247,199,0.05);
}

.pay-method-card input[type="radio"] {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--aqua);
  cursor: pointer;
}

.pay-method-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pay-method-title {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
}

.pay-method-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  opacity: 0.7;
}

/* Terms checkbox row */
.terms-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 24px;
  cursor: pointer;
}

.bf-checkbox {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1.5px solid var(--line-2);
  background: transparent;
  flex-shrink: 0;
  margin-top: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  appearance: none;
  -webkit-appearance: none;
}

.bf-checkbox:checked {
  background: var(--aqua);
  border-color: var(--aqua);
}

.bf-checkbox:checked::after {
  content: "✓";
  font-size: 11px;
  color: var(--ink);
  font-weight: 700;
  line-height: 1;
}

.terms-text {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 300;
  color: rgba(243,244,248,0.5);
  line-height: 1.6;
}

.terms-text a {
  color: var(--aqua);
  text-decoration: none;
}

.terms-text a:hover { text-decoration: underline; }

/* ── Success screen ─────────────────────────────────────────────── */
#success-screen:not([hidden]) {
  display: block;
  padding: clamp(24px, 2.2vw, 100px) 0 clamp(64px, 6.9vw, 180px);
  animation: chapterIn 0.3s ease both;
}

.success-confirmation {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 40px;
}

#success-brief-wrap {
  text-align: left;
}

.success-brief-state {
  max-width: 520px;
  margin: 0 auto;
}

.success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1.5px solid rgba(46,247,199,0.35);
  background: rgba(46,247,199,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  font-size: 28px;
}

.success-heading {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 32px;
  letter-spacing: -0.025em;
  color: var(--fg);
  margin: 0 0 12px;
}

.success-sub {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
  max-width: 46ch;
}

.success-next {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
  text-align: left;
  margin-bottom: 12px;
}

.success-next p {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
  margin: 4px 0 0;
}

/* ── Inline brief cascade animation ────────────────────────────── */
.success-brief-anim {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.success-brief-anim.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Loading overlay ────────────────────────────────────────────── */
.loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6,9,32,0.75);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
}

.loading-spinner {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid rgba(46,247,199,0.18);
  border-top-color: var(--aqua);
  animation: spinRing 0.75s linear infinite;
}

/* ── Error banner ───────────────────────────────────────────────── */
.error-banner {
  background: rgba(254,95,85,0.08);
  border: 1px solid rgba(254,95,85,0.3);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(254,95,85,0.85);
  margin-bottom: 14px;
  display: none;
}

.error-banner.visible { display: block; }

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .tiers-grid-bf { grid-template-columns: repeat(2, 1fr); }
  .schedule-grid { grid-template-columns: 1fr; }
  .review-sections-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .tiers-grid-bf { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  #booking-app { padding: 24px 16px 80px; }

  .ch-heading { font-size: 22px; }

  .progress-track .step span:not(.step-num) { display: none; }

  .field-group.col2 { grid-template-columns: 1fr; }

  .schedule-mode-grid { grid-template-columns: 1fr; }

  /* Showcase strip text wraps on small screens — soften the pill radius */
  .ch3-showcase-note {
    border-radius: 14px;
    align-items: flex-start;
  }
  .ch3-showcase-note .showcase-note-dot { margin-top: 5px; }
  .ch3-showcase-note .showcase-note-dismiss { margin-top: -2px; }

  .chapter-nav { flex-wrap: wrap; gap: 10px; }
  .chapter-nav .btn-secondary { order: 2; }
  .chapter-nav .btn-primary   { order: 1; width: 100%; justify-content: center; }

  /* Touch target minimums (44px) */
  .btn { min-height: 44px; }
  .choice-btn { min-height: 44px; }
  .tier-select-btn { min-height: 44px; }
  .mode-card { min-height: 60px; }
  .bf-input { min-height: 44px; }

  /* Checkbox: wrap in a larger touch area via the label */
  .bf-checkbox {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
  }
  .terms-row {
    min-height: 44px;
    align-items: center;
    cursor: pointer;
  }

  /* Sticky price bar in Chapter 2 — keeps price context visible while scrolling scope choices */
  .price-bar {
    position: sticky;
    bottom: 0;
    z-index: 20;
    background: rgba(6, 9, 32, 0.97);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-bottom: none;
    margin-bottom: 0;
    margin-left: -16px;
    margin-right: -16px;
    padding: 14px 16px;
  }
}
