/* Limitless Fitness – booking request flow */

.book { display: grid; gap: 24px; align-items: start; }
@media (min-width: 1060px) { .book { grid-template-columns: 1fr 340px; gap: 32px; } }

html:not(.js) .wizard { display: none; }
.wizard { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-1); overflow: hidden; }

/* Progress */
.progress { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.progress li {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 8px; font-size: 0.85rem; font-weight: 600; color: var(--stone-2);
  transition: color 0.3s;
}
.progress .n {
  display: grid; place-items: center; width: 28px; height: 28px; flex: none; border-radius: 50%;
  border: 2px solid var(--line-2); font-size: 0.78rem; transition: background-color 0.3s, border-color 0.3s, color 0.3s;
}
.progress .label { display: none; }
@media (min-width: 720px) { .progress .label { display: inline; } }
.progress li.is-current { color: var(--ink); }
.progress li.is-current .n { background: var(--aqua); border-color: var(--aqua); color: var(--ink); }
.progress li.is-done { color: var(--ink); }
.progress li.is-done .n { background: var(--ink); border-color: var(--ink); color: #fff; }

.wizard__body { padding: clamp(22px, 4vw, 40px); }
.step { animation: stepIn 0.45s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: none; } }
.step h2 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); }
.step__sub { margin-top: 8px; color: var(--stone); }

/* Step 1 – services */
.choices { display: grid; gap: 12px; margin-top: 26px; }
@media (min-width: 720px) {
  .choices { grid-template-columns: 1fr 1fr; }
  .choice:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice label {
  display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 20px 20px 18px;
  border-radius: 18px; border: 1.5px solid var(--line); cursor: pointer; background: #fff;
  transition: border-color 0.25s, background-color 0.25s, box-shadow 0.25s;
}
.choice label:hover { border-color: var(--line-2); }
.choice input:checked + label { border-color: var(--ink); background: var(--mist); box-shadow: inset 0 0 0 1px var(--ink); }
.choice input:focus-visible + label { outline: 2px solid var(--aqua-deep); outline-offset: 3px; }
.choice__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.choice__name { font-family: var(--display); font-stretch: 106%; font-weight: 640; font-size: 1.12rem; letter-spacing: -0.015em; }
.choice__check { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-2); transition: border-color 0.25s, background-color 0.25s, box-shadow 0.25s; }
.choice input:checked + label .choice__check { border-color: var(--ink); background: var(--ink); box-shadow: inset 0 0 0 4px #fff; }
.choice__desc { font-size: 0.92rem; color: var(--stone); }
.choice__meta { display: flex; flex-wrap: wrap; gap: 6px; }
.choice__meta span { padding: 4px 10px; border-radius: 999px; background: var(--mist); font-size: 0.78rem; color: var(--stone); }
.choice input:checked + label .choice__meta span { background: #fff; }
.choice__perk { font-size: 0.84rem; font-weight: 600; color: var(--aqua-deep); }

/* Step 2 – calendar + times */
.picker { display: grid; gap: 24px; margin-top: 26px; }
@media (min-width: 880px) { .picker { grid-template-columns: 1.25fr 0.75fr; } }
.cal { padding: 16px; border-radius: 18px; border: 1px solid var(--line); }
.cal__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.cal__title { font-family: var(--display); font-stretch: 106%; font-weight: 640; font-size: 1.05rem; }
.cal__nav { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; transition: border-color 0.25s; }
.cal__nav:hover:not([disabled]) { border-color: var(--ink); }
.cal__nav[disabled] { opacity: 0.35; cursor: default; }
.cal__nav svg { width: 16px; height: 16px; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal__dow { padding: 6px 0; text-align: center; font-size: 0.72rem; font-weight: 600; color: var(--stone-2); }
.cal__day {
  display: grid; place-items: center; aspect-ratio: 1; min-height: 40px; border: 0; border-radius: 12px;
  background: transparent; font-weight: 600; font-size: 0.92rem; transition: background-color 0.2s, color 0.2s;
}
.cal__day:hover:not([disabled]):not([aria-pressed="true"]) { background: var(--mist); }
.cal__day[disabled] { color: #c3c7cf; cursor: not-allowed; font-weight: 500; }
.cal__day.is-today { box-shadow: inset 0 0 0 1.5px var(--line-2); }
.cal__day[aria-pressed="true"] { background: var(--ink); color: #fff; }
.cal__blank { aspect-ratio: 1; }
.cal__note { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; font-size: 0.85rem; color: var(--stone); }
.cal__note .ring-dot { margin-top: 3px; }

.times { display: grid; gap: 8px; }
.times__label { font-size: 0.875rem; font-weight: 600; margin-bottom: 4px; }
.time input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.time { position: relative; }
.time label {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  min-height: 56px; padding: 0 18px; border-radius: 14px; border: 1.5px solid var(--line);
  cursor: pointer; font-weight: 600; font-size: 0.95rem; transition: border-color 0.25s, background-color 0.25s;
}
.time label span { font-weight: 400; color: var(--stone); font-size: 0.85rem; }
.time input:checked + label { border-color: var(--ink); background: var(--mist); }
.time input:focus-visible + label { outline: 2px solid var(--aqua-deep); outline-offset: 3px; }
.selected-date { margin-top: 12px; font-size: 0.92rem; color: var(--stone); }
.selected-date strong { color: var(--ink); }

/* Step 3 – details */
.step .fields { margin-top: 26px; }
.consent {
  display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 14px;
  background: var(--mist); font-size: 0.92rem; line-height: 1.5; cursor: pointer;
}
.consent input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--ink); }

/* Step 4 – review */
.notice {
  display: flex; gap: 14px; align-items: flex-start; margin-top: 22px; padding: 16px 18px;
  border-radius: 14px; background: #fff3dc; border: 1px solid #f1dcae; color: #4f3b00; font-size: 0.94rem; line-height: 1.5;
}
.notice svg { flex: none; width: 20px; height: 20px; margin-top: 1px; }
.summary { margin-top: 22px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.summary div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.summary div:last-child { border-bottom: 0; }
@media (min-width: 640px) { .summary div { grid-template-columns: 170px 1fr; } }
.summary dt { color: var(--stone); font-size: 0.9rem; }
.summary dd { font-weight: 600; word-break: break-word; }
.summary .edit { justify-self: start; margin-top: 4px; padding: 0; border: 0; background: none; font-size: 0.85rem; font-weight: 600; color: var(--aqua-deep); text-decoration: underline; text-underline-offset: 3px; }

/* Footer bar */
.wizard__foot {
  position: sticky; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px clamp(22px, 4vw, 40px); border-top: 1px solid var(--line); background: rgba(255, 255, 255, 0.97);
}
.wizard__foot .btn { min-width: 132px; }
.wizard__error { margin: 0 clamp(22px, 4vw, 40px) 18px; }

/* Success */
.done { padding: clamp(32px, 6vw, 64px) clamp(22px, 4vw, 48px); text-align: center; }
.done h2 { margin-top: 20px; font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
.done__ref { display: inline-block; margin-top: 18px; padding: 10px 18px; border-radius: 999px; background: var(--mist); font-family: var(--display); font-stretch: 112%; font-weight: 700; letter-spacing: 0.04em; }
.done > p { margin: 16px auto 0; max-width: 34em; color: var(--stone); }
.track { display: grid; gap: 0; max-width: 460px; margin: 32px auto 0; text-align: left; }
.track li { position: relative; display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding-bottom: 22px; }
.track li:last-child { padding-bottom: 0; }
.track li::before { content: ""; position: absolute; left: 13px; top: 28px; bottom: 0; width: 2px; background: var(--line); }
.track li:last-child::before { display: none; }
.track .dot { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--line-2); background: #fff; }
.track li.is-now .dot { border-color: var(--aqua); box-shadow: inset 0 0 0 5px #fff; background: var(--aqua); }
.track li.is-done .dot { border-color: var(--ink); background: var(--ink); }
.track strong { display: block; font-size: 0.98rem; }
.track span { font-size: 0.88rem; color: var(--stone); }
.done__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }

/* Aside */
.book-aside { display: grid; gap: 14px; }
@media (min-width: 1060px) { .book-aside { position: sticky; top: 112px; } }
.aside-card { padding: 24px; border-radius: var(--r-md); background: var(--mist); }
.aside-card--ink { background: var(--ink); color: #fff; }
.coach { display: flex; align-items: center; gap: 14px; }
.coach img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; object-position: 50% 25%; box-shadow: 0 0 0 3px var(--aqua); }
.coach strong { display: block; }
.coach span { font-size: 0.86rem; color: rgba(255, 255, 255, 0.7); }
.aside-card p { margin-top: 14px; font-size: 0.92rem; line-height: 1.55; }
.aside-card--ink p { color: rgba(255, 255, 255, 0.78); }
.aside-card h2 { font-size: 1.05rem; font-stretch: 106%; }
.aside-card .checks { margin-top: 14px; font-size: 0.92rem; }
.aside-card a.phone { display: block; margin-top: 6px; font-family: var(--display); font-stretch: 112%; font-weight: 700; font-size: 1.35rem; }
