/* Booking flow: service card, add-ons, month calendar, times, details, summary. Blue Mal Magic glass look. */
.bk { max-width: 1240px; margin-inline: auto; padding: clamp(28px, 5vw, 64px) var(--gutter) clamp(100px, 10vw, 140px); }
.bk-loading { display: grid; place-items: center; gap: 16px; padding: 22svh 0; }
.spinner { width: 42px; height: 42px; border-radius: 50%; border: 3px solid rgba(255,255,255,.15); border-top-color: var(--blue-lite); animation: spin360 .9s linear infinite; }
@keyframes spin360 { to { transform: rotate(360deg); } }

.bk-crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.bk-crumbs a { color: inherit; text-decoration: none; padding: 10px 0; }
.bk-crumbs a:hover { color: var(--white); }

.bk-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); gap: clamp(20px, 3vw, 36px); align-items: start; margin-top: 12px; }
.bk-main { display: grid; gap: 20px; min-width: 0; }

/* the service, front and centre */
.svc-hero { display: grid; grid-template-columns: minmax(180px, 300px) minmax(0, 1fr); gap: clamp(18px, 3vw, 32px); align-items: center; padding: 14px; border-radius: 34px; position: relative; isolation: isolate; overflow: hidden;
  background: linear-gradient(160deg, rgba(255,255,255,.16), rgba(255,255,255,.04) 45%, rgba(36,104,216,.16)); border: 1px solid var(--edge); box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 40px 100px -50px rgba(36,104,216,.95);
  animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
.svc-hero::before { content: ""; position: absolute; inset: -40%; z-index: -1; background: conic-gradient(from var(--ang), transparent 0 30%, rgba(106,166,255,.35) 40%, transparent 52% 100%); animation: spin 9s linear infinite; }
.svc-hero::after { content: ""; position: absolute; inset: 1px; z-index: -1; border-radius: 33px; background: linear-gradient(160deg, rgba(14,22,44,.96), rgba(7,11,22,.96)); }
.svc-photo { position: relative; aspect-ratio: 1; border-radius: 24px; overflow: hidden; }
.svc-photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); animation: zoomIn 1.2s cubic-bezier(.2,.7,.2,1) both; }
.svc-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(5,7,13,.5), transparent 50%); }
@keyframes zoomIn { from { transform: scale(1.18); filter: blur(6px); } to { transform: scale(1.04); filter: none; } }
.svc-copy { padding: 8px 10px 8px 0; min-width: 0; }
.svc-copy h1 { font-family: var(--display); font-weight: 400; font-size: clamp(34px, 4.6vw, 64px); line-height: .94; text-transform: uppercase; margin-top: 10px; text-wrap: balance; }
.svc-copy p { color: var(--dim); margin-top: 14px; font-size: 16px; max-width: 46ch; }
.svc-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.fact { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(5,7,13,.5); border: 1px solid var(--edge); font-family: var(--mono); font-size: 13px; }
.fact b { font-weight: 500; color: var(--blue-lite); }

/* step cards */
.step { padding: clamp(18px, 2.4vw, 28px); border-radius: 28px; background: linear-gradient(160deg, rgba(255,255,255,.1), rgba(255,255,255,.03) 50%, rgba(36,104,216,.08)); border: 1px solid var(--edge); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); animation: rise .6s cubic-bezier(.2,.7,.2,1) both; }
.step-head { display: flex; align-items: center; gap: 14px; }
.step-num { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-content: center; font-family: var(--mono); font-size: 13px; border: 1px solid var(--edge); background: rgba(5,7,13,.5); transition: background .3s, box-shadow .3s; }
.step.done .step-num { background: linear-gradient(135deg, var(--blue-lite), var(--blue)); border-color: transparent; box-shadow: 0 0 18px rgba(36,104,216,.9); }
.step h2 { font-family: var(--display); font-weight: 400; font-size: clamp(24px, 2.6vw, 32px); line-height: 1; text-transform: uppercase; }
.step .hint { color: var(--dim); font-size: 14px; margin-top: 4px; }
.step-body { margin-top: 20px; }

/* add-ons */
.addons { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.addon { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 18px; background: rgba(5,7,13,.45); border: 1px solid var(--edge); cursor: pointer; transition: border-color .2s, background .2s, transform .2s, box-shadow .2s; min-height: 64px; }
.addon input { position: absolute; opacity: 0; pointer-events: none; }
.addon .box { flex: none; width: 24px; height: 24px; border-radius: 8px; border: 1.5px solid var(--edge); display: grid; place-content: center; transition: background .2s, border-color .2s; }
.addon .box::after { content: ""; width: 10px; height: 6px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) scale(0); margin-top: -2px; transition: transform .2s cubic-bezier(.3,1.6,.5,1); }
.addon strong { display: block; font-size: 14px; }
.addon span { display: block; font-family: var(--mono); font-size: 12px; color: var(--dim); margin-top: 2px; }
.addon:hover { border-color: var(--blue-lite); transform: translateY(-2px); }
.addon:has(input:checked) { background: rgba(36,104,216,.22); border-color: var(--blue-lite); box-shadow: 0 0 24px -6px rgba(36,104,216,.9); }
.addon:has(input:checked) .box { background: linear-gradient(135deg, var(--blue-lite), var(--blue)); border-color: transparent; }
.addon:has(input:checked) .box::after { transform: rotate(-45deg) scale(1); }
.addon:has(input:focus-visible) { outline: 2px solid #fff; outline-offset: 2px; }

/* calendar */
.cal-wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(16px, 2.4vw, 28px); align-items: start; }
.cal { border-radius: 24px; padding: 16px; background: radial-gradient(120% 90% at 0% 0%, rgba(106,166,255,.16), transparent 55%), rgba(5,7,13,.5); border: 1px solid var(--edge); }
.cal-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cal-month { font-family: var(--display); font-size: 28px; line-height: 1; text-transform: uppercase; }
.cal-month small { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--dim); text-transform: none; margin-top: 6px; }
.cal-nav { display: flex; gap: 6px; }
.cal-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--edge); background: var(--glass); color: var(--white); font-size: 18px; cursor: pointer; transition: background .2s, transform .2s; }
.cal-nav button:hover:not(:disabled) { background: var(--glass-2); transform: scale(1.06); }
.cal-week, .cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cal-week { margin-top: 16px; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); text-align: center; }
.cal-grid { margin-top: 8px; }
.cal-grid.slide { animation: calIn .45s cubic-bezier(.2,.7,.2,1) both; }
@keyframes calIn { from { opacity: 0; transform: translateX(calc(var(--dir, 1) * 24px)); } to { opacity: 1; transform: none; } }
.cd { position: relative; aspect-ratio: 1; border-radius: 14px; display: grid; place-content: center; font-family: var(--mono); font-size: 15px; color: rgba(245,248,252,.28); border: 1px solid transparent; background: none; padding: 0; }
.cd.open { color: var(--white); cursor: pointer; background: linear-gradient(160deg, rgba(106,166,255,.22), rgba(36,104,216,.1)); border-color: rgba(106,166,255,.45); transition: transform .2s, box-shadow .2s, background .2s; }
.cd.open::after { content: ""; position: absolute; left: 50%; bottom: 6px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--blue-lite); box-shadow: 0 0 8px var(--blue-lite); }
.cd.open:hover { transform: translateY(-2px) scale(1.04); box-shadow: 0 10px 26px -10px rgba(36,104,216,.9); }
.cd.today { box-shadow: inset 0 0 0 1px rgba(255,255,255,.5); }
.cd[aria-pressed="true"] { color: #fff; background: linear-gradient(135deg, var(--blue-lite), var(--blue) 60%, var(--blue-deep)); border-color: transparent; box-shadow: 0 0 26px rgba(36,104,216,.95), inset 0 1px 0 rgba(255,255,255,.45); transform: scale(1.06); }
.cd[aria-pressed="true"]::after { background: #fff; box-shadow: 0 0 8px #fff; }
.cd:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.cal.loading .cd { animation: shimmer 1.2s ease-in-out infinite; }
@keyframes shimmer { 50% { opacity: .45; } }
.cal-key { display: flex; gap: 14px; margin-top: 14px; font-size: 12px; color: var(--dim); }
.cal-key i { display: inline-block; width: 10px; height: 10px; border-radius: 4px; margin-right: 6px; vertical-align: -1px; background: linear-gradient(160deg, rgba(106,166,255,.5), rgba(36,104,216,.3)); border: 1px solid rgba(106,166,255,.6); }

.times h3 { font-family: var(--display); font-weight: 400; font-size: 24px; text-transform: uppercase; line-height: 1; }
.times .tz { font-family: var(--mono); font-size: 11px; color: var(--dim); margin-top: 6px; }
.tgroup { margin-top: 18px; }
.tgroup h4 { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-lite); margin-bottom: 8px; }
.tslots { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.ts { font: inherit; font-family: var(--mono); font-size: 14px; color: var(--white); min-height: 46px; border-radius: 14px; border: 1px solid var(--edge); background: rgba(5,7,13,.5); cursor: pointer; transition: transform .2s, border-color .2s, background .2s, box-shadow .2s; animation: rise .4s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--i, 0) * 25ms); }
.ts:hover { border-color: var(--blue-lite); transform: translateY(-2px); }
.ts[aria-pressed="true"] { background: linear-gradient(135deg, var(--blue-lite), var(--blue) 60%, var(--blue-deep)); border-color: transparent; box-shadow: 0 0 22px rgba(36,104,216,.9); }
.ts:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.times-empty { padding: 28px 8px; text-align: center; color: var(--dim); border: 1px dashed var(--edge); border-radius: 20px; }
.times-empty strong { display: block; color: var(--white); font-size: 15px; margin-bottom: 6px; }

/* details form */
.bk-form { display: grid; gap: 14px; }
.bk-form .grid2 { gap: 14px; }
.policy { display: grid; gap: 10px; padding: 16px; border-radius: 18px; background: rgba(5,7,13,.4); border: 1px solid var(--line); }
.policy li { list-style: none; font-size: 13px; color: var(--dim); padding-left: 18px; position: relative; }
.policy li::before { content: ""; position: absolute; left: 0; top: 7px; width: 6px; height: 6px; border-radius: 50%; background: var(--blue-lite); }
.check { align-items: flex-start; }
.check input { flex: none; margin-top: 2px; }

/* summary */
.summary { position: sticky; top: 96px; padding: 22px; border-radius: 30px; background: linear-gradient(170deg, rgba(255,255,255,.16), rgba(12,20,40,.75) 28%, rgba(8,12,24,.88)); border: 1px solid var(--edge); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 40px 100px -40px rgba(36,104,216,.9); animation: rise .7s .1s cubic-bezier(.2,.7,.2,1) both; }
.summary h2 { font-family: var(--display); font-weight: 400; font-size: 26px; text-transform: uppercase; line-height: 1; }
.sum-svc { display: flex; gap: 12px; align-items: center; margin-top: 16px; }
.sum-svc img { width: 56px; height: 56px; border-radius: 14px; object-fit: cover; flex: none; }
.sum-svc strong { display: block; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; }
.sum-svc span { font-family: var(--mono); font-size: 12px; color: var(--dim); }
.sum-lines { margin-top: 16px; display: grid; gap: 8px; font-size: 14px; }
.sum-lines div { display: flex; justify-content: space-between; gap: 12px; }
.sum-lines span:last-child { font-family: var(--mono); }
.sum-when { margin-top: 16px; padding: 14px; border-radius: 16px; background: rgba(5,7,13,.5); border: 1px solid var(--line); font-size: 14px; }
.sum-when strong { display: block; font-family: var(--display); font-weight: 400; font-size: 22px; text-transform: uppercase; line-height: 1.05; }
.sum-when.empty { color: var(--dim); }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.sum-total b { font-family: var(--mono); font-size: 26px; font-weight: 500; }
.sum-dep { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; padding: 12px 14px; border-radius: 16px; background: rgba(36,104,216,.2); border: 1px solid rgba(106,166,255,.5); font-size: 14px; }
.sum-dep b { font-family: var(--mono); font-size: 18px; font-weight: 500; color: #fff; }
.summary .btn { width: 100%; justify-content: center; margin-top: 16px; min-height: 54px; }
.summary .fine { font-size: 12px; color: var(--dim); margin-top: 12px; text-align: center; }
.sq-note { display: flex; gap: 10px; align-items: center; margin-top: 12px; font-size: 12px; color: var(--dim); }
.sq-note i { flex: none; width: 22px; height: 22px; border-radius: 6px; border: 2px solid var(--dim); position: relative; }
.sq-note i::after { content: ""; position: absolute; inset: 4px; border-radius: 2px; background: var(--dim); }

/* mobile bottom bar */
.bk-bar { display: none; }

/* confirmation */
.done-wrap { max-width: 720px; margin: clamp(10px, 4vw, 40px) auto 0; text-align: center; }
.done-ring { width: 120px; height: 120px; margin: 0 auto; position: relative; }
.done-ring svg { width: 100%; height: 100%; overflow: visible; }
.done-ring circle { fill: none; stroke: url(#ringGrad); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 340; stroke-dashoffset: 340; animation: draw 1s .1s cubic-bezier(.6,.1,.2,1) forwards; filter: drop-shadow(0 0 12px rgba(106,166,255,.9)); }
.done-ring path { fill: none; stroke: #fff; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 80; stroke-dashoffset: 80; animation: draw .5s .9s ease-out forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.done-wrap h1 { font-family: var(--display); font-weight: 400; font-size: clamp(42px, 7vw, 80px); line-height: .92; text-transform: uppercase; margin-top: 22px; text-wrap: balance; }
.done-wrap > p { color: var(--dim); margin: 14px auto 0; max-width: 46ch; }
.done-card { text-align: left; margin-top: 28px; }
.done-card .row { justify-content: space-between; }
.done-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: 18px; text-align: left; }
.done-actions .glass h3 { margin-bottom: 8px; }
.done-actions .btn { margin-top: 14px; }

/* service chooser (no service picked yet) */
.pick-head { text-align: center; }
.pick-head h1 { font-family: var(--display); font-weight: 400; font-size: clamp(40px, 6vw, 72px); line-height: .95; text-transform: uppercase; margin-top: 10px; }
.pick-cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 22px; }
.pick-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; margin-top: 26px; }
.pick-item { display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: 22px; text-decoration: none; color: var(--white); background: linear-gradient(160deg, rgba(255,255,255,.12), rgba(255,255,255,.03)); border: 1px solid var(--edge); transition: transform .25s, box-shadow .25s, border-color .25s; animation: rise .5s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(min(var(--i, 0), 10) * 40ms); }
.pick-item:hover { transform: translateY(-4px); border-color: var(--blue-lite); box-shadow: 0 24px 60px -30px rgba(36,104,216,.9); }
.pick-item img { width: 84px; height: 84px; border-radius: 16px; object-fit: cover; flex: none; }
.pick-item strong { display: block; font-family: var(--display); font-weight: 400; font-size: 20px; line-height: 1.02; text-transform: uppercase; }
.pick-item span { display: block; font-family: var(--mono); font-size: 13px; color: var(--blue-lite); margin-top: 6px; }

@media (max-width: 960px) {
  .bk-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .cal-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .bk { padding-top: 18px; padding-bottom: 130px; }
  .svc-hero { grid-template-columns: 1fr; padding: 10px; border-radius: 28px; }
  .svc-photo { aspect-ratio: 16 / 11; border-radius: 20px; }
  .svc-copy { padding: 4px 8px 10px; }
  .svc-copy h1 { font-size: clamp(32px, 10vw, 44px); }
  .step { border-radius: 24px; padding: 18px 14px; }
  .addons { grid-template-columns: 1fr; }
  .cal { padding: 12px; border-radius: 20px; }
  .cal-week, .cal-grid { gap: 4px; }
  .cd { border-radius: 12px; font-size: 14px; }
  .summary { display: none; }
  .bk-bar { display: flex; align-items: center; gap: 12px; position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom, 0px)); background: rgba(5,7,13,.92); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border-top: 1px solid var(--line); }
  .bk-bar .tot { flex: none; line-height: 1.15; }
  .bk-bar .tot b { display: block; font-family: var(--mono); font-size: 18px; font-weight: 500; }
  .bk-bar .tot span { font-size: 11px; color: var(--dim); }
  .bk-bar .btn { flex: 1; justify-content: center; min-height: 52px; }
  .mobile-summary { display: block; }
}
.mobile-summary { display: none; }
@media (prefers-reduced-motion: reduce) {
  .svc-hero, .svc-hero::before, .svc-photo img, .step, .summary, .ts, .pick-item, .cal-grid.slide, .spinner { animation: none !important; }
  .done-ring circle, .done-ring path { animation: none; stroke-dashoffset: 0; }
}
/* working screen: keep the drips short and still so nothing falls over the calendar */
body:has(.bk) .drips i { display: none; }
body:has(.bk) .drips b { animation: none; transform: scaleY(.55); }
.summary { top: 112px; }
.bk-form .check a { color: var(--white); text-underline-offset: 3px; }
/* unit services: consultation first */
.consult-first { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 18px 20px; border-radius: 24px; background: linear-gradient(135deg, rgba(255,200,80,.16), rgba(255,160,40,.05)); border: 1px solid rgba(255,200,80,.5); box-shadow: 0 20px 60px -30px rgba(255,180,60,.6); animation: rise .6s cubic-bezier(.2,.7,.2,1) both; }
.cf-icon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-content: center; font-family: var(--display); font-size: 22px; color: #1b1203; background: linear-gradient(135deg, #ffe08a, #ffb84a); box-shadow: 0 0 22px rgba(255,190,70,.7); }
.consult-first strong { display: block; font-family: var(--display); font-weight: 400; font-size: 24px; text-transform: uppercase; line-height: 1; }
.consult-first p { color: var(--dim); font-size: 14px; margin-top: 6px; }
.consult-first.shake { animation: shake .5s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
@media (max-width: 640px) { .consult-first { grid-template-columns: auto minmax(0, 1fr); } .consult-first .btn { grid-column: 1 / -1; justify-content: center; } }
.steps-2 { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 26px auto 0; }
.steps-2 i { width: 48px; height: 2px; background: linear-gradient(90deg, var(--blue-lite), rgba(255,255,255,.2)); }
.s2 { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.s2 b { width: 32px; height: 32px; border-radius: 50%; display: grid; place-content: center; font-family: var(--mono); font-weight: 500; border: 1px solid var(--edge); }
.s2.done b { background: linear-gradient(135deg, var(--blue-lite), var(--blue)); border-color: transparent; color: #fff; }
.s2.on { color: var(--white); } .s2.on b { border-color: var(--blue-lite); box-shadow: 0 0 18px rgba(36,104,216,.8); animation: s2pulse 1.8s ease-in-out infinite; }
@keyframes s2pulse { 50% { box-shadow: 0 0 4px rgba(36,104,216,.4); } }
.go-next { margin-top: 26px; min-height: 54px; padding-inline: 28px; }
