/* =====================================================
   Booking page — Check Availability funnel
   Scoped to booking.html only. Design tokens come from style.css :root
   ===================================================== */

/* ---------- Page hero + trust strip ---------- */
.bk-hero {
  background: var(--white);
  border-bottom: 1px solid var(--card-border);
  padding: calc(var(--nav-height) + 2.5rem) 0 2rem;
}
.bk-hero__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}
.bk-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}
.bk-breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}
.bk-breadcrumb a:hover { color: var(--charcoal); }
.bk-breadcrumb span[aria-hidden="true"] { opacity: 0.4; }
.bk-breadcrumb [aria-current="page"] { color: var(--charcoal); font-weight: 500; }

.bk-hero__eyebrow {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--evergreen);
  margin-bottom: 0.625rem;
}
.bk-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--charcoal);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 0.75rem;
}
.bk-hero__sub {
  font-size: 1rem;
  color: var(--muted);
  max-width: 620px;
  line-height: 1.7;
  margin: 0;
}

.trust-strip {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem 2rem;
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
  padding: 1.25rem 0;
}
.trust-strip__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-left: 1px solid var(--card-border);
  padding-left: 1rem;
}
.trust-strip__item:first-child { border-left: none; padding-left: 0; }
.trust-strip__icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--charcoal);
}
.trust-strip__icon svg { width: 22px; height: 22px; }
.trust-strip__body { display: flex; flex-direction: column; gap: 2px; }
.trust-strip__title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--charcoal);
}
.trust-strip__detail {
  font-size: 0.8125rem;
  color: var(--muted);
}

/* ---------- Body grid ---------- */
.bk-body {
  background: var(--cream);
  padding: 2.5rem 0 4rem;
}
.bk-body__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}
.bk-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 2rem;
  align-items: start;
}
.bk-grid > * {
  min-width: 0;
}

/* ---------- Form shell ---------- */
.bk-form {
  box-sizing: border-box;
  min-width: 0;
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  padding: 2rem 2rem 1.5rem;
  box-shadow: var(--shadow-sm);
}
.bk-step {
  border: none;
  padding: 0 0 1.5rem;
  margin: 0 0 1.5rem;
  border-bottom: 1px solid var(--card-border);
}
.bk-step:last-of-type { border-bottom: none; margin-bottom: 0.5rem; }
.bk-step__legend {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal);
  margin-bottom: 1rem;
  padding: 0;
}
.bk-step__num { color: var(--muted); margin-right: 0.25rem; }
.bk-step__hint {
  font-size: 0.875rem;
  color: var(--muted);
  margin: -0.5rem 0 1rem;
}

.bk-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.bk-field {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  margin-bottom: 1rem;
}
.bk-row .bk-field { margin-bottom: 0; }
.bk-step .bk-field:last-child { margin-bottom: 0; }

.bk-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--charcoal);
}
.bk-req { color: #c0392b; margin-left: 2px; }
.bk-opt { color: var(--muted); font-weight: 400; font-size: 0.75rem; }

.bk-input {
  width: 100%;
  padding: 0.6875rem 0.875rem;
  font-size: 0.9375rem;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--white);
  border: 1.5px solid var(--card-border);
  border-radius: 6px;
  transition: border-color 0.15s, box-shadow 0.15s;
  box-sizing: border-box;
  -webkit-appearance: none;
}
.bk-input::placeholder { color: var(--muted); opacity: 0.55; }
.bk-input:focus {
  outline: none;
  border-color: var(--evergreen);
  box-shadow: 0 0 0 3px rgba(52, 107, 78, 0.1);
}
.bk-input.is-error {
  border-color: #c0392b;
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.08);
}
select.bk-input {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1l5 5 5-5' stroke='%23667' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0.875rem center;
  padding-right: 2.25rem;
}
.bk-textarea { resize: vertical; min-height: 80px; }
.bk-error {
  font-size: 0.75rem;
  color: #c0392b;
  min-height: 1em;
}

/* ---------- Optional details toggle ---------- */
.bk-optional-toggle {
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  color: var(--muted);
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 0.25rem;
}
.bk-optional-toggle:hover { color: var(--charcoal); }
.bk-optional-toggle svg { flex-shrink: 0; transition: transform 0.2s; }
.bk-optional-toggle[aria-expanded="true"] svg { transform: rotate(45deg); }
.bk-optional-expand[hidden] { display: none; }

/* ---------- Service cards ---------- */
.bk-services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.service-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.875rem;
  padding: 0.875rem 1rem;
  border: 1.5px solid var(--card-border);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.service-card:hover { border-color: var(--charcoal); }
.service-card input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  inset: 0;
}
.service-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--charcoal);
  flex-shrink: 0;
}
.service-card__icon svg { width: 20px; height: 20px; }
.service-card__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.service-card__title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--charcoal);
}
.service-card__desc {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.4;
}
.service-card__price {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 2px;
}
.service-card__check {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  border: 1.5px solid var(--card-border);
  background: var(--white);
  flex-shrink: 0;
  position: relative;
  transition: background 0.15s, border-color 0.15s;
}
.service-card:has(input:checked) {
  border-color: var(--charcoal);
  background: #fafafa;
}
.service-card:has(input:checked) .service-card__check {
  background: var(--charcoal);
  border-color: var(--charcoal);
}
.service-card:has(input:checked) .service-card__check::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none'><path d='M3 7l3 3 5-6' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
}
.service-card input:focus-visible ~ .service-card__check,
.service-card:focus-within {
  outline: none;
  border-color: var(--evergreen);
  box-shadow: 0 0 0 3px rgba(52, 107, 78, 0.12);
}

/* Fallback for browsers without :has() */
.service-card.is-checked {
  border-color: var(--charcoal);
  background: #fafafa;
}
.service-card.is-checked .service-card__check {
  background: var(--charcoal);
  border-color: var(--charcoal);
}
.service-card.is-checked .service-card__check::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none'><path d='M3 7l3 3 5-6' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
}

/* ---------- Submit + reassurance ---------- */
.bk-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.bk-submit {
  width: 100%;
  justify-content: center;
  padding: 0.9375rem 1.5rem;
  font-size: 0.9375rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.bk-actions__note {
  font-size: 0.75rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  line-height: 1.5;
}
.bk-actions__note svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.cp-feedback {
  padding: 0.875rem 1rem;
  border-radius: 6px;
  font-size: 0.875rem;
  line-height: 1.5;
}
.cp-feedback--error {
  background: #fdf3f2;
  border: 1px solid #f5c6c2;
  color: #8b1f18;
}
.cp-feedback--error a { color: inherit; font-weight: 600; }

/* ---------- Sticky summary sidebar ---------- */
.bk-summary {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
  position: sticky;
  top: calc(var(--nav-height) + 1.5rem);
}
.bk-summary__card {
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  padding: 1.25rem 1.25rem 1.5rem;
}
.bk-summary__heading {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1rem;
}
.bk-summary__details {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}
.bk-summary__row {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--charcoal);
  line-height: 1.4;
}
.bk-summary__icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
}
.bk-summary__icon svg { width: 16px; height: 16px; }
.bk-summary__text { padding-top: 4px; }
.bk-summary__text--placeholder { color: var(--muted); }

.bk-summary__divider {
  height: 1px;
  background: var(--card-border);
  margin: 1.25rem 0;
}

.bk-summary__services {
  list-style: none;
  padding: 0;
  margin: 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  min-height: 1.5em;
}
.bk-summary__service-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  font-size: 0.875rem;
}
.bk-summary__service-name { color: var(--charcoal); }
.bk-summary__service-price { color: var(--muted); font-size: 0.8125rem; white-space: nowrap; }
.bk-summary__services--empty {
  color: var(--muted);
  font-size: 0.875rem;
  font-style: italic;
}

.bk-summary__total-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.5rem;
}
.bk-summary__total {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--charcoal);
  margin: 0 0 0.5rem;
  line-height: 1;
}
.bk-summary__total-ccy {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  font-family: var(--font-body);
  margin-left: 0.375rem;
}
.bk-summary__total-note {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 0 0 1.25rem;
}

.bk-summary__response {
  display: flex;
  gap: 0.625rem;
  background: var(--cream);
  border-radius: 8px;
  padding: 0.875rem;
}
.bk-summary__response-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.8125rem;
  color: var(--charcoal);
}
.bk-summary__response-label { color: var(--muted); }
.bk-summary__response-detail { color: var(--muted); }
.bk-summary__response strong { font-weight: 700; }

.bk-summary__card--help .bk-summary__help-line {
  font-size: 0.875rem;
  color: var(--muted);
  margin: 0 0 1rem;
}
.bk-summary__contact {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.bk-summary__contact li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.9375rem;
}
.bk-summary__contact a {
  color: var(--charcoal);
  text-decoration: none;
  font-weight: 500;
}
.bk-summary__contact a:hover { color: var(--evergreen); }

/* ---------- Bottom trust band ---------- */
.bk-band {
  background: var(--cream);
  border-top: 1px solid var(--card-border);
  padding: 2.5rem 0;
}
.bk-band__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2.5rem;
}
.bk-band__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--charcoal);
  margin: 0 0 0.5rem;
}
.bk-band__text {
  font-size: 0.9375rem;
  color: var(--muted);
  margin: 0;
  max-width: 480px;
  line-height: 1.6;
}
.bk-band__stats {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 2.5rem;
}
.bk-band__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.bk-band__stat-num {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1;
}
.bk-band__stat-label {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.375rem;
}

/* ---------- Responsive ---------- */

/* Tablet — narrow the sticky summary so the form keeps breathing room */
@media (max-width: 1180px) {
  .bk-grid { grid-template-columns: 1fr 320px; gap: 1.5rem; }
}

/* Tablet portrait — drop the summary below the form, keep two-column form rows */
@media (max-width: 1024px) {
  .bk-hero { padding: calc(var(--nav-height) + 1.75rem) 0 1.5rem; }
  .bk-body { padding: 2rem 0 3rem; }
  .bk-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .bk-summary {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
  }
  .bk-summary__card { flex: 1 1 320px; }
  .bk-summary__card--help { flex: 1 1 260px; }
  .trust-strip { grid-template-columns: repeat(2, 1fr); gap: 0.875rem 1.25rem; padding: 1rem 0; }
  .trust-strip__item:nth-child(odd) { border-left: none; padding-left: 0; }
  .trust-strip__item:nth-child(even) { padding-left: 0.875rem; }
}

/* Phablet / large phone */
@media (max-width: 768px) {
  .bk-hero { padding: calc(var(--nav-height) + 0.875rem) 0 0.875rem; }
  .bk-breadcrumb { margin-bottom: 0.75rem; font-size: 0.8125rem; }
  .bk-hero__title { font-size: clamp(1.625rem, 6vw, 2.125rem); }
  .bk-hero__sub { font-size: 0.9375rem; line-height: 1.55; max-width: 34ch; }
  .trust-strip { margin-top: 1rem; padding: 0.875rem 0; }
  .bk-body { padding: 1rem 0 2.5rem; }
  .bk-form { padding: 1.5rem 1.25rem 1.25rem; }
  .bk-row { grid-template-columns: 1fr; gap: 0.875rem; }
  .bk-services { grid-template-columns: 1fr; gap: 0.625rem; }
  .bk-step { padding-bottom: 1.25rem; margin-bottom: 1.25rem; }
  .bk-summary { flex-direction: column; }
  .bk-summary__card { flex: 1 1 auto; padding: 1.125rem 1.125rem 1.25rem; }
  .bk-summary__total { font-size: 1.875rem; }
  .bk-band { padding: 2rem 0; }
  .bk-band__inner { grid-template-columns: 1fr; gap: 1.5rem; text-align: center; }
  .bk-band__text { margin-left: auto; margin-right: auto; }
  .bk-band__stats { justify-content: center; gap: 1.75rem; }
}

/* Mobile */
@media (max-width: 580px) {
  .bk-hero__inner,
  .bk-body__inner,
  .bk-band__inner { padding: 0 1rem; }
  .bk-form { padding: 1.25rem 1rem 1rem; border-radius: 10px; }
  .bk-hero__sub { max-width: 31ch; }
  .bk-step__legend { font-size: 0.75rem; }
  .bk-input { padding: 0.75rem 0.875rem; font-size: 1rem; } /* 16px avoids iOS zoom */
  select.bk-input { font-size: 1rem; }
  .service-card { padding: 0.75rem 0.875rem; gap: 0.75rem; }
  .service-card__icon { width: 36px; height: 36px; }
  .service-card__title { font-size: 0.9375rem; }
  .service-card__desc { font-size: 0.8125rem; }
  .bk-submit { letter-spacing: 0.04em; padding: 0.875rem 1rem; }
  .bk-summary__card { padding: 1rem 1rem 1.125rem; border-radius: 10px; }
  .bk-summary__total { font-size: 1.75rem; }
  .bk-summary__response { padding: 0.75rem; }
  .trust-strip {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0.625rem 0 0.75rem;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
  }
  .trust-strip::-webkit-scrollbar { display: none; }
  .trust-strip__item {
    flex: 0 0 min(74vw, 280px);
    scroll-snap-align: start;
    border: 1px solid var(--card-border);
    border-radius: 10px;
    padding: 0.625rem 0.75rem;
    background: var(--white);
  }
  .trust-strip__item:first-child { padding-left: 0.75rem; }
  .trust-strip__item:nth-child(even) { padding-left: 0.75rem; }
  .trust-strip__icon { width: 32px; height: 32px; }
  .trust-strip__icon svg { width: 20px; height: 20px; }
  .trust-strip__title { font-size: 0.8125rem; }
  .trust-strip__detail { font-size: 0.75rem; }
  .bk-band__stats { grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
  .bk-band__stat-num { font-size: 1.375rem; }
  .bk-band__stat-label { font-size: 0.6875rem; }
}

/* Small phones */
@media (max-width: 380px) {
  .trust-strip__item {
    flex-basis: min(82vw, 280px);
  }
}

/* =====================================================
   Mobile 4-step wizard
   .bk-mw-* elements hidden on desktop; wizard activates
   on narrow screens via body.bk-mw-active (set by JS).
   ===================================================== */

/* Hide sidebar pricing — no total means individual prices are misleading */
.bk-summary__service-price { display: none; }

/* Hidden by default (desktop) */
.bk-mw-progress,
.bk-mw-step-header,
.bk-mw-review,
.bk-mw-inline-nav,
.bk-mw-trust { display: none; }

@media (max-width: 640px) {

  /* ── Wizard chrome visibility ── */
  .bk-mw-progress { display: block; }
  .bk-mw-step-header { display: block; }
  .bk-mw-bottom { display: flex; flex-direction: column; }

  /* ── Sticky progress bar ──
     Sits flush below the fixed nav (top: var(--nav-height) = 72px).
     Using sticky so it stays under the nav as the page scrolls. */
  .bk-mw-progress {
    padding: 0.875rem 1.125rem;
    background: var(--white);
    border-bottom: 1px solid var(--card-border);
    position: sticky;
    top: var(--nav-height);
    z-index: 90;
  }
  .bk-mw-steps { display: flex; align-items: center; }
  .bk-mw-step-ind { display: flex; align-items: center; flex: 1; }

  .bk-mw-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1.5px solid var(--card-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--muted);
    flex-shrink: 0;
    background: var(--white);
    transition: background 0.22s, border-color 0.22s, color 0.22s, box-shadow 0.22s;
  }
  .bk-mw-step-ind.bk-mw-step--active .bk-mw-circle {
    border-color: var(--charcoal);
    color: var(--charcoal);
    box-shadow: 0 0 0 3px rgba(28, 31, 33, 0.09);
  }
  .bk-mw-step-ind.bk-mw-step--done .bk-mw-circle {
    background: var(--charcoal);
    border-color: var(--charcoal);
    color: var(--white);
    box-shadow: none;
  }
  .bk-mw-slabel {
    font-size: 0.6875rem;
    color: var(--muted);
    margin-left: 0.375rem;
    letter-spacing: 0.02em;
    white-space: nowrap;
    transition: color 0.22s, font-weight 0.22s;
  }
  .bk-mw-step-ind.bk-mw-step--active .bk-mw-slabel,
  .bk-mw-step-ind.bk-mw-step--done .bk-mw-slabel {
    color: var(--charcoal);
    font-weight: 500;
  }
  .bk-mw-line {
    flex: 1;
    height: 1.5px;
    background: var(--card-border);
    margin: 0 0.375rem;
    border-radius: 1px;
    transition: background 0.35s;
  }
  .bk-mw-line.bk-mw-line--done { background: var(--charcoal); }

  /* ── Inline wizard nav (static, not fixed) ── */
  .bk-mw-inline-nav { display: none; }
  body.bk-mw-active .bk-mw-inline-nav {
    display: flex;
    gap: 0.625rem;
    margin-top: 1.75rem;
  }

  .bk-mw-btn-back {
    width: 52px;
    height: 54px;
    border: 1.5px solid var(--card-border);
    background: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--charcoal);
    border-radius: 8px;
    transition: border-color 0.15s, background 0.15s;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }
  .bk-mw-btn-back:hover,
  .bk-mw-btn-back:focus-visible { border-color: var(--charcoal); outline: none; }
  .bk-mw-btn-back:active { background: var(--slate-light); }
  .bk-mw-btn-back.bk-mw-btn-back--hidden { display: none; }

  .bk-mw-btn-next {
    flex: 1;
    height: 54px;
    background: var(--charcoal);
    color: var(--white);
    border: none;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.15s, opacity 0.15s;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }
  .bk-mw-btn-next:hover,
  .bk-mw-btn-next:focus-visible { background: var(--navy-deep); outline: none; }
  .bk-mw-btn-next:active { opacity: 0.85; }

  /* ── Step headers ── */
  .bk-mw-step-header { margin-bottom: 1.25rem; }
  .bk-mw-eyebrow {
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.375rem;
  }
  .bk-mw-title {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 6.5vw, 1.875rem);
    font-weight: 700;
    line-height: 1.12;
    color: var(--charcoal);
    letter-spacing: -0.01em;
    margin: 0 0 0.5rem;
  }
  .bk-mw-sub {
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.6;
    margin: 0;
  }

  /* ── Compact trust strip (wizard step 1 only) ── */
  body.bk-mw-active .bk-mw-trust {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    overflow: hidden;
    margin: 0.875rem 0 1.5rem;
  }
  .bk-mw-trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0.75rem 0.25rem;
    border-right: 1px solid var(--card-border);
    background: var(--slate-light);
  }
  .bk-mw-trust-item:last-child { border-right: none; }
  .bk-mw-trust-val {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--charcoal);
    font-variant-numeric: tabular-nums;
    line-height: 1.2;
  }
  .bk-mw-trust-lbl {
    font-size: 0.625rem;
    color: var(--muted);
    margin-top: 2px;
    letter-spacing: 0.03em;
  }

  /* ── Review step ── */
  .bk-mw-review { display: none; }
  .bk-mw-rv-section { margin-bottom: 1.25rem; }
  .bk-mw-rv-section-label {
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
  }
  .bk-mw-rv-edit {
    font-size: 0.75rem;
    color: var(--muted);
    text-decoration: underline;
    text-underline-offset: 2px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    padding: 0.25rem 0;
    min-height: 44px;
    display: flex;
    align-items: center;
    touch-action: manipulation;
  }
  .bk-mw-rv-edit:hover { color: var(--charcoal); }
  .bk-mw-rv-block {
    border: 1px solid var(--card-border);
    border-radius: 8px;
    overflow: hidden;
  }
  .bk-mw-rv-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0.75rem 0.875rem;
    border-bottom: 1px solid var(--card-border);
    gap: 1rem;
  }
  .bk-mw-rv-row:last-child { border-bottom: none; }
  .bk-mw-rv-key { font-size: 0.75rem; color: var(--muted); flex-shrink: 0; padding-top: 1px; }
  .bk-mw-rv-val {
    font-size: 0.8125rem;
    color: var(--charcoal);
    text-align: right;
    font-weight: 500;
    word-break: break-word;
  }
  .bk-mw-rv-svc {
    padding: 0.625rem 0.875rem;
    font-size: 0.875rem;
    color: var(--charcoal);
    border-bottom: 1px solid var(--card-border);
  }
  .bk-mw-rv-svc:last-child { border-bottom: none; }
  .bk-mw-rv-empty {
    font-size: 0.875rem;
    color: var(--muted);
    padding: 0.75rem 0.875rem;
    font-style: italic;
  }
  .bk-mw-rv-quote-note {
    font-size: 0.8125rem;
    color: var(--muted);
    background: var(--slate-light);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    padding: 0.75rem 0.875rem;
    margin-top: 0.75rem;
    line-height: 1.55;
  }

  /* ── Wizard-active layout overrides ── */
  body.bk-mw-active .bk-hero { display: none; }
  body.bk-mw-active .bk-summary { display: none; }
  body.bk-mw-active .bk-band { display: none; }
  body.bk-mw-active .bk-body { background: var(--white); padding: 0; }
  body.bk-mw-active .bk-body__inner { padding: 0; }
  body.bk-mw-active .bk-grid { display: block; }
  body.bk-mw-active .bk-form {
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 1.5rem 1.125rem 2rem;
  }

  /* Prevent iOS input-focus zoom (must be ≥ 16px) */
  body.bk-mw-active .bk-input { font-size: 1rem; }

  /* ── Step visibility ── */
  body.bk-mw-active .bk-step { display: none; }
  body.bk-mw-active .bk-step.bk-mw-cur {
    display: block;
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
    animation: bkMwSlideIn 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  }
  body.bk-mw-active .bk-step.bk-mw-cur.bk-mw-going-back {
    animation: bkMwSlideBack 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  }
  body.bk-mw-active .bk-mw-review.bk-mw-cur { display: block; }
  body.bk-mw-active .bk-actions { display: none; }
  body.bk-mw-active .bk-actions.bk-mw-actions-cur {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    margin-top: 1rem;
  }
  /* Bottom bar handles the confirm tap; hide the desktop button but keep the error panel */
  body.bk-mw-active .bk-actions.bk-mw-actions-cur .bk-submit { display: none; }
  body.bk-mw-active .bk-step__legend { display: none; }
  body.bk-mw-active .bk-step__hint { display: none; }

  /* ── Step transition animations ── */
  @keyframes bkMwSlideIn {
    from { opacity: 0; transform: translateX(20px); }
    to   { opacity: 1; transform: translateX(0); }
  }
  @keyframes bkMwSlideBack {
    from { opacity: 0; transform: translateX(-20px); }
    to   { opacity: 1; transform: translateX(0); }
  }
}

@supports (content-visibility: auto) {
  .bk-summary,
  .bk-band {
    content-visibility: auto;
    contain-intrinsic-size: auto 480px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bk-input, .service-card, .service-card__check { transition: none; }
  body.bk-mw-active .bk-step,
  body.bk-mw-active .bk-mw-review { animation: none; }
  .bk-mw-circle,
  .bk-mw-slabel,
  .bk-mw-line { transition: none; }
}
