/* ==========================================================================
   BOOKING FLOW
   A multi-step flow, not a contact form. One step visible at a time, a
   numbered rail showing where you are, and a persistent estimate panel so the
   price is never a surprise at the end.
   ========================================================================== */

.booking {
  position: relative;
  padding: 0 0 clamp(4rem, 10vh, 7rem);
  background: var(--ground);
}

/* The flow sits on a card that overlaps the hero, so the whole thing reads as
   one object you are working inside rather than a page you are reading. */
.booking-shell {
  position: relative;
  margin-top: clamp(-3.5rem, -5vh, -2rem);
  background: var(--white);
  border: 1px solid var(--g100);
  box-shadow: 0 24px 60px -30px rgba(15, 20, 23, .28);
}

.booking-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  align-items: stretch;
}
@media (max-width: 1040px) { .booking-layout { grid-template-columns: 1fr; } }

.booking-main { padding: clamp(1.75rem, 4vw, 3.25rem); min-width: 0; }

/* --------------------------------------------------------------------------
   STEP RAIL
   Numbered, clickable back to any step already completed. Knowing how many
   steps remain is most of what stops people abandoning a multi-step form.
   -------------------------------------------------------------------------- */
.brail {
  display: flex;
  align-items: flex-start;
  gap: .25rem;
  margin-bottom: clamp(2rem, 4vh, 3rem);
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--g100);
}

.brail__step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .6rem;
  padding: 0;
  text-align: left;
  cursor: default;
  min-width: 0;
}
.brail__step[data-done="true"] { cursor: pointer; }

.brail__line {
  position: relative;
  width: 100%; height: 2px;
  background: var(--g100);
  overflow: hidden;
}
.brail__line::after {
  content: "";
  position: absolute; inset: 0 100% 0 0;
  background: var(--breeze);
  transition: right var(--dur-med) var(--ease-expo);
}
.brail__step[data-state="done"] .brail__line::after,
.brail__step[data-state="current"] .brail__line::after { right: 0; }

.brail__label { display: flex; align-items: center; gap: .5rem; min-width: 0; }

.brail__num {
  flex: none;
  width: 22px; height: 22px;
  display: grid; place-items: center;
  border: 1px solid var(--g300);
  color: var(--g500);
  font-size: .62rem; line-height: 1;
  transition: background var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out);
}
.brail__step[data-state="current"] .brail__num {
  background: var(--breeze); border-color: var(--breeze); color: var(--white);
}
.brail__step[data-state="done"] .brail__num {
  background: var(--ink); border-color: var(--ink); color: var(--white);
}

.brail__name {
  font-size: .62rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--g500);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: color var(--dur-fast) var(--ease-out);
}
.brail__step[data-state="current"] .brail__name { color: var(--ink); }
.brail__step[data-done="true"]:hover .brail__name { color: var(--breeze); }

/* Below the rail's useful width, collapse to a compact counter */
.brail__compact { display: none; }
@media (max-width: 860px) {
  .brail__step .brail__name { display: none; }
  .brail__compact {
    display: flex; align-items: baseline; justify-content: space-between;
    gap: 1rem; width: 100%;
    margin-bottom: .9rem;
  }
  .brail { flex-wrap: wrap; }
  .brail__step { flex: 1 1 0; }
  .brail__label { justify-content: center; }
  .brail__compact-step { font-size: .6rem; letter-spacing: .22em; text-transform: uppercase; color: var(--g500); }
  .brail__compact-name { font-size: .85rem; font-weight: 400; }
}

/* --------------------------------------------------------------------------
   STEPS
   -------------------------------------------------------------------------- */
.bstep { display: none; }
.bstep.is-active { display: block; animation: bstepIn .45s var(--ease-out) both; }
@keyframes bstepIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}
.no-motion .bstep.is-active { animation: none; }

.bstep__head { margin-bottom: 2.25rem; }
.bstep__eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: .58rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--breeze);
}
.bstep__title { margin-bottom: .85rem; outline: none; }
.bstep__intro { color: var(--g500); max-width: 58ch; }

.bstep__group { margin-bottom: 2.5rem; }
.bstep__group:last-of-type { margin-bottom: 0; }

/* Group heading: a small numbered marker plus a label, so a long step still
   reads as a sequence of decisions rather than a wall of inputs. */
.bgroup-head {
  display: flex; align-items: baseline; gap: .7rem;
  margin-bottom: 1rem;
  padding-bottom: .7rem;
  border-bottom: 1px solid var(--g100);
}
.bgroup-head__mark {
  font-size: .58rem; letter-spacing: .18em;
  color: var(--breeze);
}
.bgroup-head__text {
  font-size: .68rem; font-weight: 400;
  letter-spacing: .2em; text-transform: uppercase;
}
.bgroup-head__hint { margin-left: auto; font-size: .72rem; color: var(--g500); }

.bstep__group-note { font-size: .78rem; color: var(--g500); margin-top: .85rem; line-height: 1.65; }

.bnav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
  margin-top: 2.75rem; padding-top: 1.75rem;
  border-top: 1px solid var(--g100);
}
.bnav__back {
  font-size: .62rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--g500);
  display: inline-flex; align-items: center; gap: .5rem;
  min-height: 44px;
  transition: color var(--dur-fast) var(--ease-out), gap var(--dur-med) var(--ease-expo);
}
.bnav__back:hover { color: var(--ink); gap: .8rem; }
@media (max-width: 520px) {
  .bnav { flex-direction: column-reverse; align-items: stretch; }
  .bnav .btn { width: 100%; }
  .bnav__back { justify-content: center; }
}

/* --------------------------------------------------------------------------
   OPTION CARDS
   The booking flow's own richer variant: a visible selection indicator, and
   the whole card is the target.
   -------------------------------------------------------------------------- */
.bopt {
  position: relative;
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: .9rem;
  padding: 1.15rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--g100);
  cursor: pointer;
  transition: border-color var(--dur-fast) var(--ease-out),
              background var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out);
}
.bopt:hover { border-color: var(--g300); }
.bopt input { position: absolute; opacity: 0; width: 0; height: 0; }

.bopt__mark {
  width: 20px; height: 20px;
  margin-top: .1rem;
  border: 1px solid var(--g300);
  display: grid; place-items: center;
  transition: background var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out);
}
/* Radios read as circles, checkboxes as squares — the shape tells you whether
   you can pick more than one before you try. */
.bopt--radio .bopt__mark { border-radius: 50%; }
.bopt__mark::after {
  content: "";
  width: 8px; height: 8px;
  background: var(--white);
  transform: scale(0);
  transition: transform var(--dur-fast) var(--ease-expo);
}
.bopt--radio .bopt__mark::after { border-radius: 50%; }
.bopt--check .bopt__mark::after {
  width: 10px; height: 6px;
  background: none;
  border-left: 1.5px solid var(--white);
  border-bottom: 1.5px solid var(--white);
  transform: rotate(-45deg) scale(0);
  margin-top: -2px;
}

.bopt.is-selected { border-color: var(--breeze); background: #F5FAFE; }
.bopt.is-selected .bopt__mark { background: var(--breeze); border-color: var(--breeze); }
.bopt.is-selected .bopt__mark::after { transform: scale(1); }
.bopt--check.is-selected .bopt__mark::after { transform: rotate(-45deg) scale(1); }
.bopt:focus-within { outline: 2px solid var(--breeze); outline-offset: 2px; }

.bopt__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.bopt__name { font-size: .97rem; font-weight: 400; }
.bopt__price { font-size: .82rem; color: var(--breeze); white-space: nowrap; }
.bopt__price--free { color: var(--mint); }
.bopt__desc { margin-top: .35rem; font-size: .8rem; color: var(--g500); line-height: 1.6; }

.bopt__flag {
  position: absolute; top: -1px; right: -1px;
  background: var(--breeze); color: var(--white);
  font-size: .5rem; letter-spacing: .18em; text-transform: uppercase;
  padding: .28rem .55rem;
}

.bopt-grid { display: grid; gap: .6rem; }
.bopt-grid--2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 760px) { .bopt-grid--2 { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   VOLUME PICKER
   People cannot estimate laundry weight, so each tier is drawn as a bag that
   grows and described in objects they own. The pound figure is secondary.
   -------------------------------------------------------------------------- */
.vol-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; }
@media (max-width: 860px) { .vol-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 440px) { .vol-grid { grid-template-columns: 1fr; } }

.vol {
  position: relative;
  display: flex; flex-direction: column;
  padding: 1.25rem 1.15rem;
  background: var(--white);
  border: 1px solid var(--g100);
  cursor: pointer;
  text-align: left;
  transition: border-color var(--dur-fast) var(--ease-out),
              background var(--dur-fast) var(--ease-out);
}
.vol:hover { border-color: var(--g300); }
.vol input { position: absolute; opacity: 0; width: 0; height: 0; }
.vol.is-selected { border-color: var(--breeze); background: #F5FAFE; }
.vol:focus-within { outline: 2px solid var(--breeze); outline-offset: 2px; }

/* The bag mark scales with the tier, so the four options are legible as a
   size sequence at a glance. */
.vol__mark {
  height: 46px;
  display: flex; align-items: flex-end;
  margin-bottom: 1rem;
  color: var(--g300);
  transition: color var(--dur-fast) var(--ease-out);
}
.vol.is-selected .vol__mark { color: var(--breeze); }
.vol__mark svg { display: block; }

.vol__label { font-size: .97rem; font-weight: 400; }
.vol__lbs {
  margin-top: .25rem;
  font-size: .68rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--breeze);
}
.vol__desc { margin-top: .65rem; font-size: .76rem; color: var(--g500); line-height: 1.6; }

/* --------------------------------------------------------------------------
   ESTIMATE PANEL
   Its own dark surface so it reads as a running tally you can glance at,
   not another section of the form.
   -------------------------------------------------------------------------- */
.bsummary {
  background: var(--ink);
  color: var(--white);
  border-left: 1px solid var(--g100);
}
.bsummary__inner {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  padding: clamp(1.75rem, 3vw, 2.25rem);
}
@media (max-width: 1040px) {
  .bsummary { border-left: 0; border-top: 1px solid var(--g100); }
  .bsummary__inner { position: static; }
}

.bsummary__title {
  font-size: .58rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--breeze-w);
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--g700);
  margin-bottom: 1.25rem;
}
.bsummary__lines { margin-bottom: 1.5rem; }
.bsummary__line {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1rem; padding: .42rem 0;
  font-size: .83rem;
}
.bsummary__line span:first-child { color: var(--g300); }
.bsummary__line span:last-child { white-space: nowrap; }
.bsummary__line--credit span:last-child { color: #6FD8B6; }

.bsummary__total {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--g700);
}
.bsummary__total-label {
  font-size: .58rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--g500);
}
.bsummary__total-value {
  font-size: 2rem; font-weight: 300; letter-spacing: -.03em; line-height: 1;
}

/* The reassurance under the number is the point of the whole panel — the
   estimate is not a charge, and that has to be visible at every step. */
.bsummary__note {
  margin-top: 1.5rem; padding-top: 1.25rem;
  border-top: 1px solid var(--g700);
  font-size: .76rem; color: var(--g300); line-height: 1.7;
}
.bsummary__note strong { color: var(--white); font-weight: 400; }
.bsummary__empty { font-size: .84rem; color: var(--g300); line-height: 1.75; }
.bsummary__empty a { color: var(--breeze-w); }

.bsummary .notice { background: rgba(181, 118, 31, .16); color: #F0D9AE; border-color: var(--warn); }

/* Trust row under the estimate */
.bsummary__trust { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--g700); }
.bsummary__trust li {
  position: relative;
  padding: .4rem 0 .4rem 1.25rem;
  font-size: .76rem; color: var(--g300); line-height: 1.6;
}
.bsummary__trust li::before {
  content: ""; position: absolute; left: 0; top: .85rem;
  width: 7px; height: 4px;
  border-left: 1.5px solid var(--breeze-w);
  border-bottom: 1.5px solid var(--breeze-w);
  transform: rotate(-45deg);
}

/* --------------------------------------------------------------------------
   REVIEW
   -------------------------------------------------------------------------- */
.review-block { border-top: 1px solid var(--g100); }
.review-row {
  display: grid; grid-template-columns: 160px 1fr auto;
  gap: 1rem; align-items: start;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--g100);
}
.review-row__label {
  font-size: .58rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--g500); padding-top: .25rem;
}
.review-row__value { font-size: .93rem; line-height: 1.7; }
.review-row__value span { display: block; color: var(--g500); font-size: .82rem; }
.review-row__edit {
  font-size: .6rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--breeze);
  text-decoration: underline; text-underline-offset: 4px;
  min-height: 32px;
}
@media (max-width: 640px) {
  .review-row { grid-template-columns: 1fr auto; }
  .review-row__label { grid-column: 1 / -1; }
}

/* --------------------------------------------------------------------------
   SCHEDULING STEP
   -------------------------------------------------------------------------- */
.sched { min-height: 380px; }
.sched__embed { width: 100%; min-height: 620px; border: 1px solid var(--g100); background: var(--white); }
.sched__embed iframe { width: 100%; min-height: 620px; border: 0; display: block; }

.sched__fallback { background: var(--ground); border: 1px solid var(--g100); padding: clamp(1.5rem, 3vw, 2.25rem); }

.win-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; }
@media (max-width: 520px) { .win-grid { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   CONFIRMATION
   -------------------------------------------------------------------------- */
.bconfirm { max-width: 660px; }
.bconfirm__mark {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  background: var(--mint); color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 1.75rem;
}
.bconfirm__ref {
  display: inline-block;
  margin-top: 1.5rem; padding: .75rem 1.15rem;
  background: var(--ground);
  border: 1px solid var(--g100);
  font-size: .8rem; letter-spacing: .12em;
}
.bconfirm__next { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--g100); }
.bconfirm__next li {
  position: relative;
  padding: .55rem 0 .55rem 1.5rem;
  font-size: .9rem; color: var(--g700); line-height: 1.7;
}
.bconfirm__next li::before {
  content: ""; position: absolute; left: 0; top: 1.05rem;
  width: 6px; height: 1px; background: var(--breeze);
}

.oo-area { max-width: 560px; }

/* --------------------------------------------------------------------------
   AREA CHECK inside the flow
   -------------------------------------------------------------------------- */
.bzip {
  display: flex; gap: .6rem; flex-wrap: wrap;
  max-width: 460px;
}
.bzip .field { flex: 1 1 200px; }
.bzip .btn { flex: none; align-self: flex-end; }
@media (max-width: 520px) {
  .bzip { flex-direction: column; }
  .bzip .btn { width: 100%; align-self: stretch; }
}
