/* CraftLink booking.css (3.19.0, from reference/craftlink-booking.html): the four step booking flow (.bk), inline on /contact/
   (booking_flow block) and in the modal (.bkm) every "Book a free consultation" button opens. Every rule is scoped to .bk or
   .bkm, so nothing collides with the theme's own classes (the theme has a global .vhint, for one). Loaded with the page
   where the flow is inline, and on demand with assets/js/booking.js everywhere else. */
.bk{max-width:760px;margin:0 auto;background:#F6F3EA;color:#132E32;border-radius:26px;box-shadow:0 40px 90px rgba(0,0,0,.45);overflow:hidden;text-align:left;font-family:var(--f-body)}
.bk *{box-sizing:border-box}
.bk-top{padding:22px 28px 0}
.bk-prog{display:flex;gap:6px;margin:0;padding:0;list-style:none}
.bk-prog i{flex:1;height:5px;border-radius:9px;background:#E3DBC4;overflow:hidden;position:relative;display:block}
.bk-prog i::after{content:"";position:absolute;inset:0;background:#F37020;transform:scaleX(0);transform-origin:left;transition:transform .5s cubic-bezier(.4,0,.2,1)}
.bk-prog i.on::after{transform:none}
.bk-steps{display:flex;justify-content:space-between;gap:8px;margin:10px 0 0;padding:0;list-style:none;font:600 10.5px var(--f-mono);letter-spacing:.1em;text-transform:uppercase;color:#6B746D}
.bk-steps li.on{color:#B8500F}
.bk-body{position:relative;min-height:470px}
.bk .b-st{position:absolute;inset:0;padding:22px 28px 90px;opacity:0;transform:translateX(30px);pointer-events:none;visibility:hidden;transition:opacity .35s,transform .45s cubic-bezier(.2,.8,.2,1),visibility 0s .45s;overflow-y:auto}
.bk .b-st.on{opacity:1;transform:none;pointer-events:auto;visibility:visible;transition:opacity .35s,transform .45s cubic-bezier(.2,.8,.2,1),visibility 0s}
.bk .b-st.gone{transform:translateX(-30px)}
.bk .b-st h2{font-family:var(--f-head);font-weight:800;letter-spacing:-.035em;line-height:1.1;font-size:clamp(24px,3vw,30px);margin:6px 0;color:#132E32}
.bk .b-st h2:focus{outline:none}
.bk .b-st .sub{color:#4B5650;margin:0 0 18px;font-size:16px;line-height:1.5}
/* step 1: the box, the mic, the wave, the chips */
.bk .vbar{position:relative;display:flex;align-items:flex-end;gap:10px;background:#fff;border:2px solid rgba(19,46,50,.14);border-radius:22px;padding:14px 14px 14px 20px;transition:border-color .25s,box-shadow .25s}
.bk .vbar:focus-within{border-color:#F37020;box-shadow:0 0 0 5px rgba(243,112,32,.12)}
.bk .vbar textarea{flex:1;border:0;outline:0;resize:none;font:500 18px/1.45 var(--f-body);color:#132E32;background:transparent;min-height:52px;max-height:130px;padding:0;margin:0;width:100%}
.bk .vbar textarea::placeholder{color:#6B746D;opacity:1}
.bk .mic{position:relative;z-index:2;flex:none;width:58px;height:58px;border-radius:50%;border:0;background:#F37020;cursor:pointer;display:grid;place-items:center;box-shadow:0 10px 24px rgba(243,112,32,.38);transition:transform .2s,background .2s;padding:0}
.bk .mic[hidden]{display:none}
.bk .mic:hover{transform:scale(1.06)}
.bk .mic:focus-visible{outline:3px solid #132E32;outline-offset:3px}
.bk .mic svg{width:26px;height:26px;fill:none;stroke:#132E32;stroke-width:2;stroke-linecap:round}
.bk .mic svg rect{fill:#132E32;stroke:none}
.bk .vbar.rec .mic{background:#132E32}.bk .vbar.rec .mic svg{stroke:#F37020}.bk .vbar.rec .mic svg rect{fill:#F37020}
.bk .vring{position:absolute;right:14px;bottom:14px;width:58px;height:58px;border-radius:50%;border:2px solid #F37020;opacity:0;pointer-events:none}
.bk .vbar.rec .vring{animation:bkRing 1.6s ease-out infinite}.bk .vbar.rec .vring.r2{animation-delay:.8s}
@keyframes bkRing{0%{opacity:.8;transform:scale(1)}100%{opacity:0;transform:scale(2.1)}}
.bk .wave{display:flex;justify-content:center;align-items:center;gap:4px;height:34px;margin:14px 0 2px;opacity:0;transition:opacity .3s}
.bk .wave i{display:block;width:4px;height:6px;border-radius:4px;background:#F37020;transition:height .12s}
.bk .wave.on{opacity:1}
.bk .vhint{text-align:center;color:#4B5650;font-size:14px;margin:6px 0 16px;min-height:20px;max-width:none;position:static}
.bk .b-chips{display:flex;flex-wrap:wrap;gap:8px}
.bk .b-chips .vlab{display:block;width:100%;font:600 10.5px var(--f-mono);letter-spacing:.1em;text-transform:uppercase;color:#6B746D;margin-bottom:2px}
.bk .b-chip{display:flex;gap:10px;align-items:center;text-align:left;font:600 14px var(--f-body);background:#fff;border:1.5px solid rgba(19,46,50,.14);border-radius:999px;padding:8px 14px;cursor:pointer;color:#132E32;transition:border-color .2s,background .2s,transform .15s}
.bk .b-chip:hover{transform:translateY(-1px)}
.bk .b-chip[aria-pressed="true"]{border-color:#F37020;background:rgba(243,112,32,.08)}
.bk .b-chip:focus-visible,.bk .b-day:focus-visible,.bk .b-slot:focus-visible,.bk .b-back:focus-visible,.bk .b-next:focus-visible,.bk .b-cal:focus-visible,.bk .b-fail a:focus-visible{outline:3px solid #F37020;outline-offset:2px}
/* step 2: details */
.bk .b-fg{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.bk .b-fd label{display:block;font:600 11px var(--f-mono);letter-spacing:.08em;text-transform:uppercase;color:#4B5650;margin-bottom:5px}
.bk .b-fd input{width:100%;font:500 16px var(--f-body);border:1.5px solid rgba(19,46,50,.16);border-radius:12px;padding:11px 13px;background:#fff;color:#132E32;transition:border-color .2s,box-shadow .2s;margin:0}
.bk .b-fd input:focus{outline:0;border-color:#F37020;box-shadow:0 0 0 4px rgba(243,112,32,.14)}
.bk .b-fd.b-full{grid-column:1/-1}
.bk .b-fd .b-err{display:none;color:#B3261E;font-size:12.5px;margin-top:4px}
.bk .b-fd.bad .b-err{display:block}.bk .b-fd.bad input{border-color:#B3261E}
.bk .b-consent{display:flex;gap:10px;align-items:flex-start;font-size:13px;color:#4B5650;margin-top:14px;line-height:1.45;cursor:pointer}
.bk .b-consent input{margin-top:3px;accent-color:#F37020;flex:none}
.bk .b-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
/* step 3: days and times */
.bk .b-days{display:flex;gap:8px;overflow-x:auto;padding-bottom:6px;scrollbar-width:thin}
.bk .b-day{flex:none;width:66px;text-align:center;background:#fff;border:1.5px solid rgba(19,46,50,.14);border-radius:14px;padding:9px 0;cursor:pointer;font-family:var(--f-body);color:#132E32}
.bk .b-day small{display:block;font:600 10px var(--f-mono);text-transform:uppercase;color:#4B5650}
.bk .b-day b{display:block;font:800 20px var(--f-head)}
.bk .b-day[aria-pressed="true"]{background:#132E32;border-color:#132E32;color:#fff}.bk .b-day[aria-pressed="true"] small{color:#BFD7EA}
.bk .b-slots{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:14px}
.bk .b-slot{font:700 14px var(--f-head);background:#fff;border:1.5px solid rgba(19,46,50,.14);border-radius:12px;padding:11px 0;cursor:pointer;color:#132E32;transition:border-color .2s,background .2s}
.bk .b-slot:hover{border-color:#F37020}.bk .b-slot[aria-pressed="true"]{background:#F37020;border-color:#F37020;color:#132E32}
.bk .b-tz{margin-top:12px;font-size:13px;color:#4B5650}.bk .b-tz b{color:#132E32}
.bk .b-load{display:flex;gap:6px;align-items:center;color:#4B5650;font-size:14px;margin-top:16px}
.bk .b-load i{display:block;width:8px;height:8px;border-radius:50%;background:#F37020;animation:bkDot 1s infinite}
.bk .b-load i:nth-child(2){animation-delay:.15s}.bk .b-load i:nth-child(3){animation-delay:.3s}
@keyframes bkDot{50%{opacity:.25;transform:scale(.7)}}
.bk .b-empty{margin-top:16px;color:#4B5650;font-size:15px}
/* step 4: summary */
.bk .b-sum{background:#fff;border:1px solid rgba(19,46,50,.12);border-radius:16px;padding:16px 18px;display:grid;gap:10px;margin:0}
.bk .b-sum div{display:flex;justify-content:space-between;gap:12px;font-size:15px}
.bk .b-sum dt{color:#4B5650}.bk .b-sum dd{margin:0;text-align:right;font-weight:700;overflow-wrap:anywhere}
/* navigation */
.bk .bk-nav{position:absolute;left:28px;right:28px;bottom:22px;display:flex;justify-content:space-between;align-items:center;z-index:3}
.bk .bk-nav[hidden]{display:none}
.bk .b-back{background:none;border:0;font:600 15px var(--f-body);color:#4B5650;cursor:pointer;padding:10px 4px}
.bk .b-back[hidden]{display:inline-block;visibility:hidden}
.bk .b-next{font:700 15px var(--f-head);background:#F37020;color:#132E32;border:0;border-radius:999px;padding:13px 26px;cursor:pointer;box-shadow:0 10px 24px rgba(243,112,32,.35);transition:transform .15s,opacity .2s}
.bk .b-next:disabled{opacity:.45;cursor:not-allowed;box-shadow:none}.bk .b-next:not(:disabled):hover{transform:translateY(-1px)}
/* done */
.bk .b-done{text-align:center;padding-top:20px}
.bk .b-check{width:84px;height:84px;margin:6px auto 16px;border-radius:50%;background:#F37020;display:grid;place-items:center;animation:bkPop .6s cubic-bezier(.3,1.6,.5,1)}
.bk .b-check svg{width:40px;height:40px;fill:none;stroke:#132E32;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:40;stroke-dashoffset:40;animation:bkDraw .5s .35s forwards}
@keyframes bkPop{from{transform:scale(.2);opacity:0}}@keyframes bkDraw{to{stroke-dashoffset:0}}
.bk .b-nexts{text-align:left;max-width:440px;margin:18px auto 0;padding:0;list-style:none;display:grid;gap:8px}
.bk .b-nexts li{display:flex;gap:10px;font-size:15px}.bk .b-nexts li::before{content:"\2713";color:#F37020;font-weight:700}
.bk .b-cal{display:inline-block;margin-top:16px;font-weight:600;color:#33528C;text-decoration:none;border-bottom:1px solid rgba(51,82,140,.35);background:none;border-top:0;border-left:0;border-right:0;font-size:16px;cursor:pointer;padding:0}
/* errors */
.bk .b-fail{margin-top:16px;background:#fff;border:1.5px solid rgba(179,38,30,.35);border-radius:14px;padding:14px 16px;font-size:15px;color:#132E32}
.bk .b-fail[hidden]{display:none}
.bk .b-fail p{margin:0 0 10px}
.bk .b-fail-a{display:flex;flex-wrap:wrap;gap:10px}
.bk .b-fail a{display:inline-block;font:700 14px var(--f-head);text-decoration:none;border-radius:999px;padding:9px 16px;border:1.5px solid #132E32;color:#132E32}
.bk .b-fail a.b-fb{background:#F37020;border-color:#F37020}
@media (max-width:620px){
  .bk .b-fg{grid-template-columns:1fr}.bk .b-slots{grid-template-columns:repeat(3,1fr)}.bk-body{min-height:620px}
  .bk-top{padding:18px 18px 0}.bk .b-st{padding:18px 18px 90px}.bk .bk-nav{left:18px;right:18px}.bk-steps{font-size:9.5px}
}
@media (prefers-reduced-motion:reduce){
  .bk .vbar.rec .vring{animation:none}.bk .wave{display:none}
  .bk .b-st,.bk .b-st.on,.bk-prog i::after{transition:none}.bk .b-check,.bk .b-check svg{animation:none;stroke-dashoffset:0}.bk .b-load i{animation:none}
}

/* the modal */
.bkm{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:20px;background:rgba(14,35,38,.72);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);opacity:0;transition:opacity .25s}
.bkm.on{opacity:1}
.bkm[hidden]{display:none}
.bkm-box{position:relative;width:100%;max-width:760px;max-height:calc(100vh - 40px);overflow:auto;border-radius:26px;transform:translateY(16px);transition:transform .3s cubic-bezier(.2,.8,.2,1)}
.bkm.on .bkm-box{transform:none}
.bkm-x{position:absolute;right:14px;top:12px;z-index:5;width:40px;height:40px;border-radius:50%;border:0;background:rgba(19,46,50,.08);color:#132E32;font-size:22px;line-height:1;cursor:pointer}
.bkm-x:hover{background:rgba(19,46,50,.16)}.bkm-x:focus-visible{outline:3px solid #F37020;outline-offset:2px}
.bkm .bk{box-shadow:0 40px 90px rgba(0,0,0,.5)}
.bkm .bk-top{padding-right:64px}
html.bkm-open,html.bkm-open body{overflow:hidden}
@media (max-width:620px){.bkm{padding:0;place-items:end center}.bkm-box{max-height:100vh;border-radius:22px 22px 0 0}.bkm .bk{border-radius:22px 22px 0 0}}
@media (prefers-reduced-motion:reduce){.bkm,.bkm-box{transition:none}}

/* the inline block (booking_flow) */
.bkf-head{text-align:center;max-width:760px;margin:0 auto 26px}
.bkf .bkf-h{color:#fff;font-size:clamp(32px,4vw,48px)}
.bkf .bkf-h em{font-style:normal;color:var(--orange)}
.bkf-intro{color:var(--muted-dk);font-size:clamp(17px,1.5vw,19px);max-width:58ch;margin:10px auto 0}
.bkf-fb{text-align:center;margin:10px 0 0}
