:root {
  --crimson: #ad0404;
  --crimson-dark: #8a0303;
  --ink: #1e1c1d;
  --paper: #f3f3f4;
  --white: #ffffff;
  --grey: #6b6764;
  --line: #e3ded9;
  --ok: #1a7f4b;
  --radius: 6px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
/* The [hidden] attribute must win over the display rules on .btn / sections. */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* ======================= WIZARD ======================= */
.wizard-body {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding: 28px 16px 48px;
}
.wizard-shell { width: 100%; max-width: 600px; }

/* White logo bar: Heli-Flights · Helicopterflights.be · Heli-One, split by hairlines */
.wizard-head {
  display: flex; align-items: center; justify-content: center; gap: 18px;
  flex-wrap: nowrap; background: var(--white); border: 1px solid var(--line);
  border-radius: 12px; padding: 14px 18px; margin-bottom: 16px;
}
.hb-logo { display: block; width: auto; flex: none; }
.hb-hf  { height: 30px; }
.hb-hcf { height: 34px; }
.hb-h1  { height: 17px; }
.hb-div { width: 1px; height: 30px; background: var(--ink); flex: none; }
.badge {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  color: #ff6b6b; border: 1px solid rgba(255, 107, 107, 0.45); border-radius: 100px;
  padding: 5px 12px; background: transparent; white-space: nowrap;
}

/* Progress steps */
.steps {
  list-style: none; display: flex; gap: 6px; margin-bottom: 16px;
}
.steps li {
  flex: 1; display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; color: var(--grey);
  padding: 8px 6px; border-radius: var(--radius);
  border-top: 3px solid var(--line);
}
.steps li .num {
  width: 22px; height: 22px; border-radius: 50%; background: var(--line); color: var(--white);
  display: inline-flex; align-items: center; justify-content: center; font-size: 12px; flex: none;
}
.steps li.active { color: var(--ink); border-top-color: var(--crimson); }
.steps li.active .num { background: var(--crimson); }
.steps li.done .num { background: var(--ok); }
.steps li.done { border-top-color: var(--ok); }
.steps li .lbl { white-space: nowrap; }

/* Card */
.wizard-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  padding: 28px; box-shadow: 0 10px 40px rgba(30,28,29,0.06);
}
.wstep-title { font-size: 23px; letter-spacing: -0.02em; font-weight: 800; }
.wstep-sub { color: var(--grey); margin: 6px 0 22px; font-size: 15px; }
.field-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--grey); margin-bottom: 12px; }
.wdivider { border: none; border-top: 1px solid var(--line); margin: 26px 0; }

/* Day tabs */
.day-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.day-tab {
  border: 1px solid var(--line); background: var(--white); border-radius: 100px;
  padding: 9px 18px; font-weight: 700; cursor: pointer; font-size: 14px; color: var(--ink);
}
.day-tab.active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Slot grid */
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.slot {
  border: 1px solid var(--line); background: var(--white); border-radius: var(--radius);
  padding: 9px 4px; text-align: center; cursor: pointer; font-size: 14px; font-weight: 700;
}
.slot small { display: block; font-weight: 600; font-size: 11px; color: var(--grey); margin-top: 2px; }
.slot.night small { color: var(--crimson); }
.slot:hover:not(.full):not(.active) { border-color: var(--ink); }
.slot.active { background: var(--crimson); color: #fff; border-color: var(--crimson); }
.slot.active small { color: #ffd9d9; }
.slot.full {
  background: #ebe7e2; color: #b3aca6; cursor: not-allowed; text-decoration: line-through;
}
.slot.full small { color: #b3aca6; }

.slot-legend { display: flex; gap: 16px; margin-top: 14px; font-size: 13px; color: var(--grey); flex-wrap: wrap; }
.slot-legend span { display: inline-flex; align-items: center; gap: 6px; }
.dot { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.dot.day { background: #fff; border: 1px solid var(--line); }
.dot.night { background: #fff; border: 1px solid var(--crimson); }
.dot.sel { background: var(--crimson); }
.dot.full { background: #ebe7e2; border: 1px solid var(--line); }

/* Calendar (borderless, clean) */
.calendar { }
.cal-header { text-align: center; font-weight: 800; font-size: 16px; margin-bottom: 12px; }
.cal-weekdays, .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-weekdays { margin-bottom: 4px; }
.cal-weekdays span { text-align: center; font-size: 11px; font-weight: 700; color: var(--grey); text-transform: uppercase; }
.cal-day {
  aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius); font-size: 14px; font-weight: 700; color: var(--ink);
  border: 1px solid transparent; cursor: pointer; position: relative;
}
.cal-day[data-date]:hover { border-color: var(--ink); }
.cal-day.muted { color: #cfc9c3; cursor: default; }
.cal-day.soldout { color: #cfc9c3; text-decoration: line-through; cursor: not-allowed; }
.cal-day.today { box-shadow: inset 0 0 0 1.5px var(--line); }
.cal-day.today::after {
  content: ''; position: absolute; bottom: 5px; width: 4px; height: 4px; border-radius: 50%; background: var(--crimson);
}
.cal-day.active { background: var(--crimson); color: #fff; border-color: var(--crimson); }
.cal-day.active::after { background: #fff; }

/* Date cards (step 1) — big, easy to tap */
.datecards { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 10px; }
.datecard {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  border: 1.5px solid var(--line); background: var(--white); border-radius: 12px;
  padding: 14px 6px; cursor: pointer; font-family: inherit; color: var(--ink);
  transition: border-color .12s ease, background .12s ease;
}
.datecard:hover { border-color: var(--ink); }
.datecard.active { border-color: var(--crimson); background: #fdf3f3; }
.dc-dow { font-size: 12px; font-weight: 700; color: var(--grey); text-transform: uppercase; letter-spacing: 0.04em; }
.datecard.active .dc-dow { color: var(--crimson-dark); }
.dc-day { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; }
.datecard.active .dc-day { color: var(--crimson); }
.dc-mon { font-size: 12px; font-weight: 600; color: var(--grey); text-transform: uppercase; }
.datecard.soldout { opacity: 0.45; cursor: not-allowed; text-decoration: line-through; }

/* Days that fall during the festival — subtle highlight + tiny note */
.datecard.festival { border-color: #f0d2d2; background: #fdf7f7; }
.datecard.festival:hover { border-color: var(--crimson); }
.datecard.festival.active { border-color: var(--crimson); background: #fdf3f3; }
.dc-fest {
  margin-top: 3px; font-size: 8.5px; line-height: 1.15; font-weight: 700;
  letter-spacing: 0.02em; text-transform: uppercase; text-align: center;
  color: var(--crimson); opacity: 0.85;
}

/* "free Heli-One membership" callout under the date grid (step 1) */
.member-callout {
  display: flex; align-items: center; gap: 12px;
  margin-top: 16px; padding: 13px 15px;
  background: #fdf3f3; border: 1px solid #f2d6d6; border-radius: 10px;
}
.member-callout .mc-icon { width: 24px; height: 24px; flex: none; color: var(--crimson); }
.member-callout p { margin: 0; min-width: 0; font-size: 13.5px; line-height: 1.45; color: var(--ink); }
.member-callout b { color: var(--crimson-dark); }
.member-callout .mc-logo { height: 15px; width: auto; flex: none; align-self: center; }

/* Trip composition bar (airport style) */
.tripbar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.tripbar .chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: #1e1e1e; color: #fff; border-radius: 100px; padding: 6px 13px;
  font-size: 13px; font-weight: 700; white-space: nowrap;
}
.tripbar .chip svg { width: 14px; height: 14px; flex: none; }

/* Apple-style time wheel (branded) */
.wheel-wrap { display: flex; flex-direction: column; align-items: center; }
/* Wraps ONLY the wheel so the highlight bar can sit at the fixed centre and
   never scroll with the list (keeps the red bar exactly over the chosen time). */
.wheel-viewport { position: relative; width: 100%; }
.wheel {
  position: relative;
  width: 100%;
  height: 200px;            /* 5 rows of 40px */
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 26%, #000 74%, transparent);
          mask-image: linear-gradient(to bottom, transparent, #000 26%, #000 74%, transparent);
}
.wheel::-webkit-scrollbar { display: none; }
.wheel-highlight {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(220px, 70%); height: 40px; border-radius: 12px;
  background: rgba(173, 4, 4, 0.06);
  box-shadow: inset 0 1px 0 rgba(173,4,4,.16), inset 0 -1px 0 rgba(173,4,4,.16);
  pointer-events: none;
}
.wheel-list { list-style: none; margin: 0; padding: 80px 0; text-align: center; }
.wheel-list li {
  height: 40px; line-height: 40px; scroll-snap-align: center; cursor: pointer;
  font-size: 26px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink);
  font-variant-numeric: tabular-nums; will-change: transform, opacity;
}
.wheel-list li.sel { color: var(--crimson); }
.wheel-list li.full { text-decoration: line-through; color: var(--grey); }
.wheel-caption { margin-top: 12px; font-size: 14px; color: var(--grey); text-align: center; }
.wheel-caption b { color: var(--ink); font-weight: 800; }
.wheel-caption.soldout { color: var(--crimson); }

/* Stepper */
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stepper button { width: 52px; height: 52px; border: none; background: var(--paper); font-size: 24px; cursor: pointer; font-weight: 700; color: var(--ink); }
.stepper button:disabled { opacity: .4; cursor: not-allowed; }
.stepper input { width: 68px; height: 52px; text-align: center; border: none; border-left: 1px solid var(--line); border-right: 1px solid var(--line); font-size: 18px; font-weight: 700; }
.seat-hint { font-size: 13px; color: var(--grey); margin-top: 10px; }
.heli-note {
  margin-top: 16px; background: #fff7ec; border: 1px solid #f2e2c6; border-radius: var(--radius);
  padding: 12px 14px; font-size: 14px; color: #6a5a34;
}

/* Fields */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 700; }
.field input {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; font-size: 16px; font-family: inherit; width: 100%;
}
.field input:focus { outline: 2px solid var(--crimson); border-color: var(--crimson); }
.field input.invalid { border-color: var(--crimson); outline-color: var(--crimson); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* Passengers */
.pax { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin-bottom: 12px; }
.pax-head { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink); margin-bottom: 12px; }
.pax-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* Weight slider */
.pax-weight { margin-top: 16px; }
.pax-weight-top { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 8px; }
.pax-weight-top label { font-size: 13px; font-weight: 700; }
.pax-est { font-size: 11px; font-weight: 600; color: var(--grey); text-transform: none; letter-spacing: 0; margin-left: 6px; }
.wval { font-size: 18px; font-weight: 800; color: var(--crimson); font-variant-numeric: tabular-nums; }
.wscale { display: flex; justify-content: space-between; font-size: 12px; color: var(--grey); margin-top: 4px; }

.weight-slider {
  -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 100px;
  background: var(--line); outline: none; cursor: pointer; margin: 4px 0;
}
.weight-slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--crimson); border: 3px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.25); cursor: pointer;
}
.weight-slider::-moz-range-thumb {
  width: 26px; height: 26px; border-radius: 50%; background: var(--crimson);
  border: 3px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.25); cursor: pointer;
}
.weight-slider:focus-visible { outline: 2px solid var(--crimson); outline-offset: 4px; }

/* Transport / festival + taxi questions */
.transport-note { color: var(--grey); font-size: 14px; margin-bottom: 14px; }
.question { margin-bottom: 16px; }
.q-label { font-size: 15px; font-weight: 700; margin-bottom: 10px; }
.q-fee { color: var(--crimson); font-weight: 800; }
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice-btn {
  text-align: left; background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 14px 16px; cursor: pointer; font-family: inherit; color: var(--ink);
  display: flex; flex-direction: column; gap: 3px; transition: border-color .12s ease, background .12s ease;
}
.choice-btn b { font-size: 15px; }
.choice-btn span { font-size: 13px; color: var(--grey); }
.choice-btn:hover { border-color: var(--ink); }
.choice-btn.active { border-color: var(--crimson); background: #fdf3f3; }
.choice-btn.active span { color: var(--crimson-dark); }

/* Discount code */
.promo-row { display: flex; gap: 8px; }
.promo-row input {
  flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px;
  font-size: 16px; font-family: inherit; text-transform: uppercase; letter-spacing: 0.04em;
}
.promo-row input:focus { outline: 2px solid var(--crimson); border-color: var(--crimson); }
.promo-row input:disabled { background: var(--paper); color: var(--grey); }
.promo-row .btn { padding: 12px 20px; }
.promo-msg { font-size: 13px; font-weight: 600; margin-top: 8px; min-height: 16px; }
.promo-msg.ok { color: var(--ok); }
.promo-msg.err { color: var(--crimson); }
.os-discount b { color: var(--ok); }

/* Order summary */
.order-summary { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.os-row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 16px; font-size: 15px; border-bottom: 1px solid var(--line); }
.os-row span { color: var(--grey); }
.os-row b { text-align: right; }
.os-row:last-child { border-bottom: none; }
.os-total { background: var(--paper); font-size: 18px; }
.os-total b { font-weight: 800; }

/* Nav */
.wizard-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 24px; }
.nav-right { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.running-total { font-weight: 800; font-size: 16px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; font-size: 16px; border: none; cursor: pointer;
  padding: 14px 26px; border-radius: var(--radius); text-decoration: none; font-family: inherit;
  transition: transform .05s ease, background .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--crimson); color: #fff; }
.btn-primary:hover { background: var(--crimson-dark); }
.btn-primary:disabled { background: #d3a7a7; cursor: not-allowed; }
.btn-ghost-dark { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost-dark:hover { border-color: var(--ink); }
.pay-btn { min-width: 200px; }

.err { color: var(--crimson); font-size: 14px; font-weight: 600; margin-top: 12px; min-height: 18px; }
.secure { font-size: 12px; color: var(--grey); margin-top: 12px; display: flex; align-items: center; gap: 6px; }

.wizard-foot { text-align: center; color: var(--grey); font-size: 14px; margin-top: 22px; }
.wizard-foot a { color: var(--ink); }

/* ============================================================================
   FESTIVAL DARK BRAND THEME — mirrors festival-flight.heli-flights.be
   Pure restyle. Appended last so each property wins by source order.
   ============================================================================ */
:root {
  --brand-red: #ad0404;
  --brand-red-hi: #ff4b4b;
  --brand-soft: #ff8a8a;
  --glass: rgba(255,255,255,0.05);
  --glass-line: rgba(255,255,255,0.14);
  --txt: #f4f1f1;
  --txt-muted: rgba(244,241,241,0.64);
  --txt-faint: rgba(244,241,241,0.6);
  --ok: #37c47a;              /* brighter green so "Included · free" / discounts read on dark */
}

body.wizard-body {
  font-family: 'Arimo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  color: var(--txt);
  background:
    radial-gradient(ellipse 90% 55% at 50% -8%, rgba(173,4,4,0.42) 0%, rgba(13,10,11,0) 62%),
    #0d0a0b;
  background-attachment: fixed;
}
.wstep-title, .running-total, .os-total b, .btn, .wval, .steps li,
.q-label, .pax-head, .dc-day { font-family: 'Onest', sans-serif; }

/* Header logo bar — logos recoloured white to sit on the dark bar (Heli-Flights keeps its red icon) */
.wizard-head {
  background: rgba(255,255,255,0.04); border: 1px solid var(--glass-line);
  box-shadow: none; gap: 22px; padding: 15px 24px;
}
.hb-hf { height: 30px; } .hb-hcf { height: 34px; } .hb-h1 { height: 17px; }
.hb-h1 { filter: brightness(0) invert(1); }   /* Heli-One is solid white; helicopterflights is pre-coloured (red icon + white text) */
.hb-div { background: rgba(255,255,255,0.28); height: 30px; }

/* Progress steps */
.steps li { color: var(--txt-faint); border-top-color: rgba(255,255,255,0.14); }
.steps li .num { background: rgba(255,255,255,0.13); color: #fff; }
.steps li.active { color: #fff; border-top-color: var(--brand-red-hi); }
.steps li.active .num { background: var(--brand-red); }
.steps li.done .num { background: var(--ok); }

/* Card */
.wizard-card {
  background: rgba(255,255,255,0.045); border: 1px solid var(--glass-line);
  box-shadow: 0 24px 64px rgba(0,0,0,0.45);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.wstep-title { color: #fff; }
.wstep-sub { color: var(--txt-muted); }
.wstep-sub b { color: #fff; }

/* Tripbar */
.tripbar .chip { background: rgba(255,255,255,0.1); border: 1px solid var(--glass-line); color: #fff; }

/* Date cards */
.datecard { background: rgba(255,255,255,0.05); border-color: var(--glass-line); color: var(--txt); }
.datecard .dc-dow, .datecard .dc-mon { color: var(--txt-muted); }
.datecard:hover { border-color: rgba(255,255,255,0.42); }
.datecard.active { border-color: var(--brand-red-hi); background: rgba(173,4,4,0.24); }
.datecard.active .dc-dow { color: var(--brand-soft); }
.datecard.active .dc-day { color: #fff; }
/* Festival days — subtle crimson wash (lighter than the selected state) + tiny note */
.datecard.festival { background: rgba(173,4,4,0.10); border-color: rgba(173,4,4,0.38); }
.datecard.festival:hover { border-color: var(--brand-red-hi); }
.datecard.festival.active { border-color: var(--brand-red-hi); background: rgba(173,4,4,0.24); }
.datecard.festival .dc-fest { color: var(--brand-red-hi); opacity: 0.95; }

/* Membership callout — intentionally a bright highlight (keeps black Heli-One logo + text legible) */
.member-callout { background: #fff5f5; border-color: #ffd2d2; }
.member-callout p { color: #1e1c1d; }
.member-callout b { color: var(--brand-red); }
.member-callout .mc-icon { color: var(--brand-red); }

/* Time wheel */
.wheel-list li { color: var(--txt); }
.wheel-list li.sel { color: var(--brand-red-hi); }
.wheel-list li.full, .wheel-list li.full.sel { color: rgba(244,241,241,0.38); }
.wheel-highlight { background: rgba(255,75,75,0.1);
  box-shadow: inset 0 1px 0 rgba(255,75,75,.32), inset 0 -1px 0 rgba(255,75,75,.32); }
.wheel-caption { color: var(--txt-muted); }
.wheel-caption b { color: #fff; }
.wheel-caption.soldout { color: var(--brand-soft); }

/* Stepper */
.stepper { border-color: var(--glass-line); background: rgba(255,255,255,0.04); }
.stepper button { background: rgba(255,255,255,0.07); color: #fff; }
.stepper input { background: transparent; color: #fff; border-color: var(--glass-line); }
.seat-hint { color: var(--txt-muted); }

/* Heli capacity note */
.heli-note { background: rgba(255,255,255,0.05); border-color: var(--glass-line); color: var(--txt-muted); }
.heli-note b { color: #fff; }

/* Fields */
.field label, .pax-weight-top label, .field-label { color: var(--txt); }
.req { color: var(--brand-red-hi); font-weight: 800; }
.field-err { color: var(--brand-soft); font-size: 12.5px; font-weight: 600; margin: 2px 0 0; }
.field input, .promo-row input {
  background: rgba(255,255,255,0.06); border-color: var(--glass-line); color: #fff;
}
.field input::placeholder, .promo-row input::placeholder { color: rgba(244,241,241,0.38); }
.field input:focus, .promo-row input:focus {
  outline-color: var(--brand-red-hi); border-color: var(--brand-red-hi); background: rgba(255,255,255,0.09);
}
.field input.invalid { border-color: var(--brand-red-hi); outline-color: var(--brand-red-hi); }

/* Passengers */
.pax { background: rgba(255,255,255,0.04); border-color: var(--glass-line); }
.pax-head { color: #fff; }
.pax-est, .wscale { color: var(--txt-faint); }
.wval { color: var(--brand-red-hi); }
.weight-slider { background: rgba(255,255,255,0.16); }
.weight-slider::-webkit-slider-thumb { background: var(--brand-red); border-color: #fff; }
.weight-slider::-moz-range-thumb { background: var(--brand-red); border-color: #fff; }

/* Choice buttons */
.choice-btn { background: rgba(255,255,255,0.05); border-color: var(--glass-line); color: #fff; }
.choice-btn span { color: var(--txt-muted); }
.choice-btn:hover { border-color: rgba(255,255,255,0.45); }
.choice-btn.active { border-color: var(--brand-red-hi); background: rgba(173,4,4,0.26); }
.choice-btn.active span { color: var(--brand-soft); }
.q-label { color: #fff; }
.transport-note { color: var(--txt-muted); }

/* Promo + order summary */
.field-label { color: var(--txt-muted); }
.promo-row input:disabled { background: rgba(255,255,255,0.03); color: var(--txt-faint); }
.order-summary { border-color: var(--glass-line); }
.os-row { border-bottom-color: var(--glass-line); }
.os-row span { color: var(--txt-muted); }
.os-row b { color: #fff; }
.os-total { background: rgba(173,4,4,0.2); }

/* Buttons — brand pills */
.btn { border-radius: 999px; }
.btn-primary { background: var(--brand-red); box-shadow: 0 10px 30px rgba(173,4,4,0.42); }
.btn-primary:hover { background: #c81414; }
.btn-primary:disabled { background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.4); box-shadow: none; }
.btn-ghost-dark { background: rgba(255,255,255,0.06); color: #fff; border-color: var(--glass-line); }
.btn-ghost-dark:hover { border-color: rgba(255,255,255,0.5); }
.running-total { color: #fff; }

/* Misc */
.err { color: var(--brand-soft); }
.secure { color: var(--txt-faint); }
.wizard-foot { color: var(--txt-faint); }
.wizard-foot a { color: var(--brand-soft); }

/* ---- intl-tel-input, dark ---- */
.iti { width: 100%; display: block; }
.iti__tel-input {
  background: rgba(255,255,255,0.06); border: 1px solid var(--glass-line); border-radius: var(--radius);
  color: #fff; font-size: 16px; font-family: inherit; width: 100%; padding-top: 12px; padding-bottom: 12px;
}
.iti__tel-input::placeholder { color: rgba(244,241,241,0.38); }
.iti__tel-input:focus { outline: 2px solid var(--brand-red-hi); border-color: var(--brand-red-hi); }
.iti--invalid .iti__tel-input, .iti__tel-input.invalid { border-color: var(--brand-red-hi); }
.iti__selected-country { border-radius: var(--radius) 0 0 var(--radius); }
.iti__selected-country:hover, .iti__selected-country:focus { background: rgba(255,255,255,0.09); }
.iti__selected-dial-code { color: var(--txt-muted); }
.iti__arrow { border-top-color: var(--txt-muted); }
.iti__arrow--up { border-bottom-color: var(--txt-muted); }
.iti__dropdown-content {
  background: #171214; border: 1px solid var(--glass-line); border-radius: 12px;
  box-shadow: 0 24px 56px rgba(0,0,0,0.6); color: #fff;
}
.iti__search-input {
  background: rgba(255,255,255,0.06); color: #fff;
  border-bottom: 1px solid var(--glass-line) !important; border-radius: 12px 12px 0 0;
}
.iti__search-input::placeholder { color: rgba(244,241,241,0.45); }
.iti__country { color: #fff; }
.iti__country.iti__highlight { background: rgba(255,255,255,0.1); }
.iti__dial-code { color: var(--txt-muted); }
.iti__country-name { color: #fff; }
.iti__no-results { color: var(--txt-muted); }

/* Dark-theme contrast fixes (accents that were still using the print-dark crimson) */
.q-fee { color: var(--brand-red-hi); }
.promo-msg.err { color: var(--brand-soft); }

/* Visible keyboard focus on the dark surface (buttons had none) */
.btn:focus-visible, .datecard:focus-visible, .choice-btn:focus-visible,
.stepper button:focus-visible, .wheel:focus-visible, .iti__selected-country:focus-visible {
  outline: 2px solid #fff; outline-offset: 2px;
}

/* ===== Mobile: each step fills the viewport (app-style), sticky bottom actions ===== */
@media (max-width: 640px) {
  html, body { height: 100%; }
  .wizard-body { padding: 0; display: block; }
  .wizard-shell {
    height: 100vh; height: 100dvh;
    display: flex; flex-direction: column; max-width: none; width: 100%;
  }

  /* compact top chrome (always visible) */
  .wizard-head { flex: none; border-radius: 0; border-left: none; border-right: none; border-top: none; margin: 0; padding: 15px 14px; gap: 15px; }
  .hb-hf { height: 25px; } .hb-hcf { height: 27px; } .hb-h1 { height: 14px; } .hb-div { height: 27px; }
  .member-callout { margin-top: 14px; padding: 11px 13px; gap: 10px; }
  .member-callout p { font-size: 12.5px; }
  .steps { flex: none; margin: 0; padding: 14px 12px 9px; gap: 5px; }
  .steps li { padding: 0; border-top: none; justify-content: center; }
  .steps li .lbl { display: none; }
  .steps li .num { width: 20px; height: 20px; font-size: 11px; }
  .steps li.active .num { box-shadow: 0 0 0 3px rgba(173,4,4,0.14); }
  .tripbar { flex: none; margin: 0; padding: 6px 14px 13px; }
  .tripbar .chip { font-size: 12px; padding: 5px 11px; }

  /* content fills remaining space; scrolls internally only if it must */
  .wizard-card {
    flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column;
    border-radius: 0; box-shadow: none; border: none; padding: 0; background: transparent;
  }
  .wstep { flex: 1 1 auto; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 12px 16px 8px; }
  .wstep-title { font-size: 21px; }
  .wstep-sub { margin: 5px 0 16px; font-size: 14px; }
  .form-grid { grid-template-columns: 1fr; }
  .pax-grid { grid-template-columns: 1fr 1fr; }
  .pax { padding: 14px; margin-bottom: 10px; }
  /* discount field + Apply full width, like the other fields */
  .promo-row { flex-direction: column; }
  .promo-row input, .promo-row .btn { width: 100%; }
  /* keep the review step compact so the whole summary fits without scrolling */
  .wstep[data-step="8"] .wstep-sub { display: none; }
  .promo { margin-bottom: 14px; }
  .promo .field-label { margin-bottom: 8px; }
  .promo-row .btn { padding: 11px 20px; }
  .promo-msg { margin-top: 6px; min-height: 0; }
  .os-row { padding: 9px 14px; font-size: 14px; gap: 10px; }
  .os-row span, .os-row b { min-width: 0; overflow-wrap: anywhere; }
  .os-total { font-size: 16px; }
  .heli-note { font-size: 13px; padding: 10px 12px; margin-top: 12px; }
  .wheel { height: 176px; }

  /* sticky bottom action bar (thumb zone + safe area) */
  .wizard-nav {
    flex: none; margin: 0; gap: 8px;
    padding: 10px 16px; border-top: 1px solid var(--glass-line); background: #0d0a0b;
  }
  .nav-right { gap: 10px; }
  .btn { padding: 13px 20px; }
  .err { flex: none; padding: 4px 16px 0; margin: 0; }
  .secure {
    flex: none; justify-content: center; font-size: 11px; margin: 0; background: #0d0a0b;
    padding: 5px 16px calc(7px + env(safe-area-inset-bottom, 0px));
  }

  /* keep the step frame clean — membership stays in the callout + review summary */
  .wizard-foot { display: none !important; }
}

/* Extra safety on the smallest phones */
@media (max-width: 380px) {
  .wizard-head { gap: 9px; padding: 9px 10px; }
  .hb-hf { height: 20px; } .hb-hcf { height: 22px; } .hb-h1 { height: 12px; } .hb-div { height: 18px; }
  .badge { font-size: 10px; padding: 4px 9px; }
  .btn { padding: 12px 16px; font-size: 15px; }
  .choice-btn b { font-size: 14px; }
  /* pack the review summary tighter on the smallest phones */
  .os-row { padding: 7px 12px; font-size: 13px; }
  .wstep[data-step="8"] .wstep-title { font-size: 19px; margin-bottom: 4px; }
  /* keep the bottom action bar within the tiniest viewports */
  .pay-btn { min-width: 0; }
  .running-total { font-size: 14px; }
  .wizard-nav .btn { padding: 12px 14px; }
}


/* ======================= SUCCESS PAGE ======================= */
.topbar { background: #1e1e1e; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.wrap { max-width: 720px; margin: 0 auto; padding: 0 24px; }
.topbar .badge { position: static; }
.block { padding: 56px 0; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
.section-title { font-size: 26px; letter-spacing: -0.02em; font-weight: 800; }
.section-sub { color: var(--grey); margin-top: 8px; }
footer { background: var(--ink); color: #b7b2ae; padding: 28px 0; font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer a { color: #e8e4e0; }
