/* Booking experience: calm, focused, app-like. Builds on site.css tokens. */
body.booking { background: radial-gradient(ellipse at 50% -10%, rgba(47, 125, 246, .16), transparent 55%) no-repeat, var(--bg); min-height: 100svh; padding-bottom: 0; }
.bk-head { display: flex; align-items: center; justify-content: space-between; height: 72px; padding-inline: max(4vw, 20px); background: rgba(7, 8, 10, .85); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.bk-head__logo img { height: 42px; width: auto; }
.bk-head__phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; min-height: 44px; }
.bk { padding: clamp(24px, 5vw, 56px) max(4vw, 16px) 80px; }
.bk-loading { display: grid; place-items: center; min-height: 50vh; }
.spinner { width: 34px; height: 34px; border-radius: 50%; border: 2.5px solid var(--line); border-top-color: var(--blue); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.bk-shell { max-width: 760px; margin-inline: auto; }
.bk-shell--wide { max-width: 1080px; }
.bk-top { display: flex; align-items: center; gap: 20px; min-height: 44px; margin-bottom: 28px; }
.bk-back { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px 0 8px; margin-left: -8px; border: 0; background: none; font: 500 15px var(--body); color: var(--charcoal); cursor: pointer; border-radius: 999px; }
.bk-back:hover { background: rgba(255, 255, 255, .06); }
.bk-back .ico { width: 18px; height: 18px; }
.prog { flex: 1; display: grid; gap: 8px; }
.prog__bars { display: flex; gap: 6px; }
.prog__bars span { flex: 1; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .1); overflow: hidden; position: relative; }
.prog__bars span.is-done { background: var(--blue); }
.prog__bars span.is-now::after { content: ""; position: absolute; inset: 0; background: var(--blue); transform-origin: left; animation: grow .6s var(--ease) both; }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(.5); } }
.prog__label { font-size: 13px; color: var(--muted); font-weight: 500; }

.bk-step { animation: stepIn .5s var(--ease) both; }
.bk-step.from-left { animation-name: stepInL; }
@keyframes stepIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@keyframes stepInL { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }
.bk-kicker { font-size: 14px; font-weight: 600; color: var(--orange); margin-bottom: 10px; }
.bk h1 { font-size: clamp(32px, 4.6vw, 46px); letter-spacing: -.035em; outline: none; }
.bk-sub { margin-top: 12px; color: var(--muted); font-size: 17px; max-width: 40em; }
.bk-note { margin-top: 20px; font-size: 14px; color: var(--muted); }
.bk-note.center { text-align: center; }
.bk-alt { margin-top: 20px; text-align: center; font-size: 15px; color: var(--muted); }
.bk-alt a, .bk-note a, .bk-sub a { color: var(--hi); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.bk-actions { display: flex; justify-content: flex-end; margin-top: 32px; }
.bk-actions--center { justify-content: center; }
.bk-next .ico { width: 18px; height: 18px; }
.btn:disabled { opacity: .35; cursor: not-allowed; transform: none; box-shadow: none; }
.btn.is-busy { position: relative; color: transparent !important; }
.btn.is-busy::after { content: ""; position: absolute; width: 20px; height: 20px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: spin .7s linear infinite; }
.bk-err { margin-top: 18px; color: #ff7a6b; font-weight: 500; font-size: 15px; min-height: 1px; }
.bk-noscript { text-align: center; padding: 40px; }

/* Option cards (service select) */
.opt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 32px; }
.opt { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; text-align: left; padding: 24px 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); cursor: pointer; font: inherit; color: inherit; box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.opt:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: rgba(79, 147, 255, .5); }
.opt__ico { grid-row: span 2; width: 52px; height: 52px; border-radius: 14px; background: rgba(47, 125, 246, .12); color: var(--blue-hi); display: grid; place-items: center; }
.opt__body { display: grid; gap: 6px; padding-right: 26px; }
.opt__title { font: 600 19px/1.25 var(--display); letter-spacing: -.01em; }
.opt__desc { font-size: 15px; color: var(--muted); line-height: 1.5; }
.opt__tag { grid-column: 2; justify-self: start; margin-top: 6px; font-size: 13px; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: rgba(255, 138, 31, .12); color: var(--orange); }
.opt__go { position: absolute; top: 24px; right: 20px; color: var(--muted); transition: transform .3s var(--ease), color .3s; }
.opt:hover .opt__go { transform: translateX(3px); color: var(--hi); }
.opt__go .ico { width: 18px; height: 18px; }
.opt--quiet { margin-top: 14px; width: 100%; background: transparent; box-shadow: none; border-style: dashed; border-color: var(--silver); }
.opt--quiet .opt__ico { background: rgba(255, 255, 255, .05); }
.ico--xl { width: 34px; height: 34px; }

/* Packages */
.pkg-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 30px; }
.pkg-grid--sm { margin-top: 0; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.pkg { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 24px 22px; text-align: left; font: inherit; color: inherit; background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r); cursor: pointer; transition: border-color .25s, box-shadow .25s, transform .25s var(--ease); min-height: 44px; }
.pkg:hover { border-color: var(--silver); transform: translateY(-2px); }
.pkg.is-sel { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue), var(--shadow); }
.pkg__name { font: 600 19px/1.2 var(--display); }
.pkg__range { font-size: 15px; color: var(--muted); }
.pkg__price { margin-top: 14px; font: 600 34px/1 var(--display); letter-spacing: -.03em; }
.pkg__price--sm { font-size: 17px; letter-spacing: 0; margin-top: 18px; }
.pkg__badge { position: absolute; top: 18px; right: 52px; font-size: 12px; font-weight: 700; background: var(--orange); color: #1b0e00; padding: 4px 10px; border-radius: 999px; }
.pkg__check { position: absolute; top: 18px; right: 18px; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--silver); display: grid; place-items: center; color: transparent; transition: .25s; }
.pkg__check .ico { width: 14px; height: 14px; stroke-width: 2.4; }
.pkg.is-sel .pkg__check { background: var(--blue); border-color: var(--blue); color: #fff; }
.pkg--custom { background: transparent; border-style: dashed; }
.pkg-grid--sm .pkg { padding: 18px 16px; }
.pkg-grid--sm .pkg__name { font-size: 16px; padding-right: 26px; }
.pkg-grid--sm .pkg__range { font-size: 13px; }
.pkg-grid--sm .pkg__price { font-size: 24px; margin-top: 10px; }
.pkg-grid--sm .pkg__price--sm { font-size: 14px; }
.pkg-grid--sm .pkg__check { top: 14px; right: 14px; width: 22px; height: 22px; }

/* Pressure toggles */
.tgl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 30px; }
.bsec .tgl-grid { margin-top: 0; }
.tgl { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 22px 20px; background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r); cursor: pointer; text-align: left; font: inherit; color: inherit; transition: .25s var(--ease); }
.tgl:hover { border-color: var(--silver); }
.tgl.is-on { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue), var(--shadow); }
.tgl__ico { width: 46px; height: 46px; border-radius: 12px; background: rgba(47, 125, 246, .12); color: var(--blue-hi); display: grid; place-items: center; margin-bottom: 8px; }
.tgl__name { font: 600 17px/1.25 var(--display); }
.tgl__rate { font: 600 22px/1 var(--display); letter-spacing: -.02em; margin-top: 4px; }
.tgl__rate small { font: 500 14px var(--body); color: var(--muted); letter-spacing: 0; }
.tgl__box { position: absolute; top: 18px; right: 18px; width: 26px; height: 26px; border-radius: 8px; border: 1.5px solid var(--silver); display: grid; place-items: center; color: transparent; transition: .25s; }
.tgl__box .ico { width: 15px; height: 15px; stroke-width: 2.4; }
.tgl.is-on .tgl__box { background: var(--blue); border-color: var(--blue); color: #fff; }
.deal { display: flex; align-items: center; gap: 18px; margin-top: 16px; padding: 18px 22px; border-radius: var(--r); border: 1.5px dashed rgba(255, 138, 31, .45); background: var(--white); transition: .4s var(--ease); }
.deal__pct { display: grid; place-items: center; flex: none; width: 66px; height: 66px; border-radius: 50%; background: rgba(255, 138, 31, .12); font: 700 22px/1 var(--display); color: var(--orange); transition: .4s var(--ease); }
.deal__pct small { display: block; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; margin-top: -10px; }
.deal__txt { display: grid; gap: 2px; font-size: 15px; color: var(--muted); }
.deal__txt strong { color: var(--ink); font: 600 17px/1.3 var(--display); }
.deal.is-on { border-style: solid; border-color: var(--orange); background: linear-gradient(120deg, #ff8a1f, #ff6a00); color: #1b0e00; animation: pop .5s var(--ease); box-shadow: 0 16px 40px -16px rgba(255, 138, 31, .7); }
.deal.is-on .deal__pct { background: #1b0e00; color: var(--orange); }
.deal.is-on .deal__txt, .deal.is-on .deal__txt strong { color: #1b0e00; }
@keyframes pop { 40% { transform: scale(1.02); } }

/* Bundle */
.bundle { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 28px; margin-top: 32px; align-items: start; }
.bundle__main { display: grid; gap: 26px; }
.bsec h2 { display: flex; align-items: center; gap: 12px; font-size: 20px; letter-spacing: -.015em; margin-bottom: 14px; }
.bsec h2 span { width: 28px; height: 28px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 14px; display: grid; place-items: center; }
.incl { display: flex; gap: 14px; align-items: flex-start; padding: 20px 22px; background: var(--white); border-radius: var(--r); border: 1.5px solid var(--blue); }
.incl .ico { width: 22px; height: 22px; margin-top: 2px; stroke-width: 2; }
.incl strong { font-family: var(--display); font-size: 17px; }
.incl p { font-size: 15px; color: var(--muted); margin-top: 2px; }
.sum { background: var(--white); border-radius: var(--r); padding: 24px; box-shadow: var(--shadow); position: sticky; top: 96px; }
.sum--flat { position: static; margin-top: 0; }
.sum__title { font: 600 17px var(--display); margin-bottom: 8px; }
.sum__row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.sum__row > span:first-child { display: grid; gap: 2px; }
.sum__row small { color: var(--muted); font-size: 13px; }
.sum__row > span:last-child { font-weight: 600; white-space: nowrap; text-align: right; }
.sum__row--disc { color: var(--orange); font-weight: 600; }
.sum__total > span:last-child { color: var(--hi); }
.sum__total { display: flex; justify-content: space-between; padding-top: 16px; font: 600 20px var(--display); letter-spacing: -.01em; }
.sum__foot { margin-top: 10px; font-size: 13px; color: var(--muted); }
.sum__empty { color: var(--muted); font-size: 15px; padding: 12px 0; }

/* Forms */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 30px; }
.fld { display: grid; gap: 8px; }
.fld--full { grid-column: 1 / -1; }
.fld__label { font-size: 14px; font-weight: 600; }
.fld__label em { font-style: normal; font-weight: 400; color: var(--muted); }
.fld input, .fld textarea, .fld select { width: 100%; min-height: 54px; padding: 14px 16px; font: 400 16px/1.4 var(--body); color: var(--ink); background: var(--white); border: 1.5px solid rgba(255, 255, 255, .14); border-radius: var(--r-sm); transition: border-color .2s, box-shadow .2s; appearance: none; }
.fld select { background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.fld textarea { resize: vertical; min-height: 96px; }
.fld input:focus, .fld textarea:focus, .fld select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(47, 125, 246, .2); }
.fld [aria-invalid="true"] { border-color: #ff6b5e; }
.fld__err { color: #ff7a6b; font-size: 14px; min-height: 0; }
.fld__err:empty { display: none; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); cursor: pointer; line-height: 1.5; }
.consent input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--blue); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Calendar */
.cal { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 20px; margin-top: 30px; }
.cal__month, .cal__slots { background: var(--white); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); }
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cal__title { font: 600 19px var(--display); }
.cal__nav { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 154, 61, .35); background: transparent; font-size: 22px; line-height: 1; cursor: pointer; color: var(--ink); }
.cal__nav:hover:not(:disabled) { border-color: var(--blue); }
.cal__nav:disabled { opacity: .3; cursor: default; }
.cal__dow, .cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal__dow span { text-align: center; font-size: 12px; font-weight: 600; color: var(--muted); padding-bottom: 8px; }
.cal__grid.is-loading { opacity: .4; pointer-events: none; }
.cal__day { aspect-ratio: 1; min-height: 40px; border: 0; border-radius: 12px; background: transparent; font: 500 15px var(--body); color: rgba(255, 154, 61, .3); cursor: default; position: relative; }
.cal__day.is-open { color: var(--ink); background: rgba(255, 255, 255, .06); cursor: pointer; font-weight: 600; }
.cal__day.is-open::after { content: ""; position: absolute; bottom: 7px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--orange); }
.cal__day.is-open:hover { background: rgba(47, 125, 246, .25); }
.cal__day.is-sel { background: var(--blue); color: #fff; }
.cal__day.is-sel::after { background: #fff; opacity: .8; }
.cal__slots-title { font: 600 17px var(--display); margin-bottom: 14px; }
.cal__slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
.cal__slot { min-height: 48px; border: 1.5px solid rgba(255, 255, 255, .14); border-radius: 12px; background: transparent; font: 600 15px var(--body); color: var(--ink); cursor: pointer; transition: .2s; }
.cal__slot:hover { border-color: var(--blue); }
.cal__slot.is-sel { background: var(--blue); border-color: var(--blue); color: #fff; }
.cal__slots--hint { display: grid; place-items: center; text-align: center; min-height: 160px; }
.cal__empty { color: var(--muted); font-size: 15px; }
.cal__empty--month { margin-top: 12px; text-align: center; }
.cal__err { color: #ff7a6b; margin-top: 10px; font-size: 14px; }
.linkbtn { border: 0; background: none; font: inherit; text-decoration: underline; cursor: pointer; color: inherit; }

/* Review */
.review { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 30px; }
.bk-shell--wide .review { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: start; }
.rv { margin: 0; background: var(--white); border-radius: var(--r); padding: 6px 24px; box-shadow: var(--shadow); }
.rv > div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.rv > div:last-child { border-bottom: 0; }
.rv dt { color: var(--muted); font-size: 14px; }
.rv dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }

/* Done + processing */
.done, .proc { text-align: center; padding-top: 12px; }
.done .bk-sub, .proc .bk-sub { margin-inline: auto; }
.done__mark { width: 88px; height: 88px; margin: 0 auto 26px; }
.done__mark svg { width: 100%; height: 100%; fill: none; stroke: var(--blue-hi); filter: drop-shadow(0 0 14px rgba(47, 125, 246, .6)); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.done__mark circle { stroke-dasharray: 151; stroke-dashoffset: 151; animation: draw .8s var(--ease) forwards; }
.done__mark path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .5s .6s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.done__card { margin: 30px auto 0; max-width: 560px; text-align: left; }
.done .sum, .proc .sum { margin: 28px auto 0; max-width: 520px; text-align: left; }
.proc__ring { position: relative; width: 128px; height: 128px; margin: 0 auto 28px; }
.proc__ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.proc__ring circle { fill: none; stroke-width: 5; }
.proc__ring .trk { stroke: rgba(255, 255, 255, .1); }
.proc__ring .bar { stroke: var(--blue); stroke-linecap: round; stroke-dasharray: 339.3; stroke-dashoffset: 339.3; transition: stroke-dashoffset 1.2s var(--ease); }
.proc__ring:not(.is-done)::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 1.5px solid transparent; border-top-color: var(--orange); animation: spin 1.6s linear infinite; }
.proc__glyph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--blue-hi); }
.proc__steps { list-style: none; padding: 0; margin: 30px auto 0; max-width: 360px; display: grid; gap: 12px; text-align: left; }
.proc__steps li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: rgba(255, 154, 61, .5); transition: color .4s; }
.proc__steps li span { width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid #3a404a; display: grid; place-items: center; flex: none; transition: .4s; }
.proc__steps li span .ico { width: 13px; height: 13px; stroke-width: 2.6; }
.proc__steps li.now { color: var(--ink); font-weight: 600; }
.proc__steps li.now span { border-color: var(--blue); border-top-color: transparent; animation: spin 1s linear infinite; }
.proc__steps li.done { color: var(--ink); }
.proc__steps li.done span { background: var(--blue); border-color: var(--blue); color: #fff; }
.proc__note { margin: 30px auto 0; max-width: 520px; text-align: left; background: var(--white); border-radius: var(--r); padding: 22px 24px; box-shadow: var(--shadow); }
.proc__note strong { font-family: var(--display); font-size: 17px; }
.proc__note p { margin-top: 6px; color: var(--muted); font-size: 15px; }

@media (max-width: 860px) {
  .bundle { grid-template-columns: 1fr; }
  .sum { position: static; }
  .pkg-grid--sm { grid-template-columns: 1fr 1fr; }
  .cal { grid-template-columns: 1fr; }
  .bk-shell--wide .review { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .bk-head { height: 62px; }
  .bk-head__logo img { height: 36px; }
  .bk-head__phone span { display: none; }
  .bk-head__phone { width: 44px; justify-content: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .14); }
  .bk-top { flex-direction: column-reverse; align-items: stretch; gap: 10px; margin-bottom: 22px; }
  .bk-back { align-self: flex-start; }
  .opt-grid, .pkg-grid, .form { grid-template-columns: 1fr; }
  .opt { padding: 20px 18px; }
  .opt__ico { width: 46px; height: 46px; }
  .tgl-grid { grid-template-columns: 1fr; }
  .tgl { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 4px 14px; padding: 16px 18px; }
  .tgl__ico { margin: 0; width: 44px; height: 44px; }
  .tgl__name { flex: 1; padding-right: 30px; }
  .tgl__rate { width: 100%; padding-left: 58px; margin-top: -6px; font-size: 18px; }
  .tgl__box { top: 50%; translate: 0 -50%; }
  .pkg__price { font-size: 30px; }
  .pkg__price--sm { font-size: 17px; }
  .bk-step .opt, .bk-step .pkg, .bk-step .tgl, .cal__slot, .cal__day, .fld input, .fld select, .fld textarea { scroll-margin-bottom: 120px; }
  .cal__slots { margin-bottom: 8px; }
  .bk-actions { position: sticky; bottom: 0; margin-inline: calc(-1 * max(4vw, 16px)); padding: 14px max(4vw, 16px) max(14px, env(safe-area-inset-bottom)); background: linear-gradient(0deg, var(--bg) 70%, rgba(7, 8, 10, 0)); z-index: 5; }
  .bk-actions .btn { width: 100%; }
  .rv { padding: 4px 18px; }
  .rv > div { grid-template-columns: 1fr; gap: 2px; padding: 12px 0; }
  .cal__month, .cal__slots { padding: 16px; }
  .cal__dow, .cal__grid { gap: 2px; }
}

/* Confirmation screens: keep the button in the page flow so it never covers details */
.done .bk-actions, .proc .bk-actions { position: static; background: none; margin-inline: 0; padding: 0; }
