/* ============================================================
   BeAWhale — booking pages (/skambutis/ + /skambutis/patvirtinta/)
   Extracted from the Claude Design handoff (skambutis.html +
   patvirtinta.html) so both pages share one stylesheet.
   Tokens come from assets.css :root — don't hardcode colors.
   ============================================================ */

body{min-height:100vh;display:flex;flex-direction:column}
a{color:#fff}a:hover{color:var(--sky)}

/* header: plain bar, logo + contact email (no nav) */
header{position:static;background:none;backdrop-filter:none;border-bottom:0}
.logo img.mark{width:auto;height:34px;border:0;border-radius:0;transform:none;background:none;transition:transform .16s}
.logo:hover img.mark{transform:translateY(-3px) rotate(-0.6deg)}
.nav{display:flex!important;flex-direction:row!important;justify-content:space-between!important;align-items:center}
.nav .logo{order:0!important;margin:0!important}
.top-contacts{order:1!important;margin-left:auto!important;justify-self:end;display:flex;gap:26px;align-items:center}
.top-contacts a{display:inline-block;text-decoration:none;font-family:'Saira',sans-serif;font-weight:500;font-size:13.5px;text-transform:uppercase;letter-spacing:1px;color:var(--soft);padding:4px 0;transition:color .15s,transform .16s}
.top-contacts a:hover{color:#fff;transform:translateY(-3px) rotate(-0.6deg)}
@media (max-width:520px){.top-contacts{gap:14px}.top-contacts a{font-size:12px;letter-spacing:.5px}}

.wrap{flex:1;display:grid;place-items:center;padding:40px 20px}
.modal{width:min(520px,100%);text-align:center}
.modal.wide{width:min(760px,100%)}
.modal.done{width:min(560px,100%);animation:in .4s ease both}
@keyframes in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}

h1{font-size:clamp(26px,4.4vw,36px);text-transform:uppercase;line-height:1.15;letter-spacing:-0.5px;margin-bottom:28px;text-wrap:balance}
h1 .hand{display:block;font-family:'Caveat',cursive;font-weight:700;font-size:0.95em;text-transform:none;letter-spacing:0;color:var(--sky);margin-bottom:14px}

/* --- wizard progress --- */
.prog{display:flex;align-items:center;justify-content:center;gap:0;margin-bottom:34px;position:relative}
.back{position:absolute;left:-8px;top:50%;transform:translateY(-50%);background:none;border:0;width:34px;height:34px;color:#fff;cursor:pointer;display:grid;place-items:center;opacity:.8;transition:opacity .15s,transform .15s}
.back:hover{opacity:1;transform:translateY(-50%) translateX(-3px)}.back[hidden]{display:none}
.back svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.dots{display:flex;align-items:center}
.dot{width:16px;height:16px;border-radius:50%;background:rgba(255,255,255,0.4);flex:none;transition:background .25s,box-shadow .25s}
.seg{width:44px;height:3px;background:rgba(255,255,255,0.4);transition:background .25s}
.dot.done,.seg.done{background:var(--sky)}
.dot.cur{background:var(--sky);box-shadow:0 0 0 5px rgba(155,212,242,0.3)}

/* --- fields + steps --- */
.field{width:100%;background:#fff;border:0;border-radius:6px;padding:16px 18px;font-family:'Inter',sans-serif;font-size:17px;color:var(--ink);outline:none;box-shadow:0 14px 30px rgba(3,10,40,0.35);display:block}
.field:focus{box-shadow:0 0 0 3px var(--sky),0 14px 30px rgba(3,10,40,0.35)}
.field::placeholder{color:#8A93AB}
textarea.field{min-height:180px;resize:vertical;line-height:1.55}
.hint{margin-top:12px;font-family:'Caveat',cursive;font-weight:600;font-size:20px;color:var(--success);min-height:26px}
.next{display:block;width:100%;margin-top:18px;background:#fff;color:var(--bg-deep);font-family:'Saira',sans-serif;font-weight:700;font-size:17px;text-transform:uppercase;letter-spacing:.6px;border:0;border-radius:6px;padding:17px;cursor:pointer;box-shadow:0 10px 26px rgba(3,12,48,0.38);transition:transform .16s,background .2s,color .2s,box-shadow .2s}
.next:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 18px 36px rgba(3,12,48,0.5)}
.next:disabled{background:rgba(255,255,255,0.55);color:rgba(17,48,126,0.55);cursor:not-allowed;box-shadow:none}
.step{display:none;animation:in .32s ease both}
.step.on{display:block}
.hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}

/* --- step 4: month calendar + slots --- */
.sched{border:2.5px solid #fff;border-radius:14px;background:rgba(255,255,255,0.05);filter:drop-shadow(0 22px 38px rgba(3,10,40,0.42));text-align:left;overflow:hidden;display:grid;grid-template-columns:1fr 200px}
.cal{padding:22px 24px 24px;border-right:1.5px dashed rgba(255,255,255,0.32)}
.cal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}
.cal-head b{font-family:'Saira',sans-serif;font-weight:700;font-size:17px;letter-spacing:.2px}
.cal-head b span{color:var(--faint);font-weight:500;margin-left:6px}
.wk{display:flex;gap:6px}
.wk button{background:none;border:1.5px solid rgba(255,255,255,0.45);color:#fff;border-radius:5px;width:32px;height:32px;cursor:pointer;display:grid;place-items:center}
.wk button:hover:not(:disabled){background:rgba(255,255,255,0.1)}
.wk button:disabled{opacity:.3;cursor:default}
.wk svg{width:12px;height:12px;stroke:currentColor;fill:none;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.grid{display:grid;grid-template-columns:repeat(7,1fr);gap:5px}
.grid .wd{text-align:center;font-family:'Saira',sans-serif;font-weight:600;font-size:11px;letter-spacing:1.2px;text-transform:uppercase;color:var(--soft);padding-bottom:8px}
.grid .wd.we{color:var(--faint)}
.d{aspect-ratio:1;display:grid;place-items:center;position:relative;font-family:'Inter',sans-serif;font-weight:500;font-size:14.5px;border-radius:7px;border:0;background:transparent;color:rgba(255,255,255,0.4);cursor:default}
.d.av{background:rgba(255,255,255,0.14);color:#fff;font-weight:600;cursor:pointer;transition:background .15s,transform .12s}
.d.av:hover{background:rgba(255,255,255,0.26);transform:translateY(-1px)}
.d.today::after{content:"";position:absolute;bottom:6px;left:50%;transform:translateX(-50%);width:4px;height:4px;border-radius:50%;background:currentColor}
.d.sel{background:#fff;color:var(--bg-deep)}
.d.sel:hover{background:#fff}
.times{padding:22px 18px 22px;display:flex;flex-direction:column;min-height:100%}
.times h3{font-family:'Saira',sans-serif;font-weight:700;font-size:14px;text-transform:uppercase;letter-spacing:.8px;margin-bottom:14px;color:#fff}
.times h3 span{color:var(--faint);font-weight:500;margin-left:6px}
.slots{display:flex;flex-direction:column;gap:7px;max-height:340px;overflow:auto;padding-right:4px}
.slots::-webkit-scrollbar{width:4px}.slots::-webkit-scrollbar-thumb{background:rgba(255,255,255,0.3);border-radius:2px}
.slot{flex:none;background:transparent;border:1.5px solid rgba(255,255,255,0.5);color:#fff;font-family:'Inter',sans-serif;font-weight:500;font-size:14px;border-radius:6px;padding:10px 0;cursor:pointer;transition:background .15s,transform .12s}
.slot:hover{background:rgba(255,255,255,0.14);transform:translateY(-1px)}
.slot.sel{background:#fff;color:var(--bg-deep);border-color:#fff;font-weight:600}
.none{font-size:13px;color:var(--faint);font-style:italic;line-height:1.5}
.tz{margin-top:14px;font-size:13px;color:var(--faint)}
.picked{margin-top:14px;font-family:'Caveat',cursive;font-weight:700;font-size:24px;color:var(--success);min-height:30px}

/* loading skeleton while GET ?slots is in flight */
.sk{border-radius:7px;background:rgba(255,255,255,0.14);animation:pulse 1.1s ease-in-out infinite}
.grid .sk{aspect-ratio:1}
.slots .sk{height:38px;flex:none}
@keyframes pulse{0%,100%{opacity:.45}50%{opacity:.9}}

/* inline error line under the submit button */
.err{margin-top:12px;font-size:14px;color:var(--peach);min-height:20px}

@media (max-width:640px){.sched{grid-template-columns:1fr}.cal{border-right:0;border-bottom:1.5px dashed rgba(255,255,255,0.32);padding:18px 16px}.times{padding:18px 16px}.slots{max-height:none;flex-direction:row;flex-wrap:wrap}.slot{flex:1 1 30%}.seg{width:28px}.dot{width:14px;height:14px}}

/* --- confirmation page --- */
.disc{width:56px;height:56px;border-radius:50%;border:2px solid rgba(255,255,255,0.7);display:grid;place-items:center;margin:0 auto 26px;animation:pop .5s cubic-bezier(.2,1.45,.45,1) both}
.disc svg{width:26px;height:26px}
.disc path{stroke:#fff;stroke-width:7;fill:none;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:120;stroke-dashoffset:120;animation:draw .5s ease .35s forwards}
@keyframes pop{from{transform:scale(.6);opacity:0}to{transform:scale(1);opacity:1}}
@keyframes draw{to{stroke-dashoffset:0}}
.modal.done h1{margin-bottom:0}
.modal.done h1 em{font-style:normal;color:var(--sky)}
.lead{margin:22px auto 0;font-size:17px;color:var(--soft);line-height:1.6;max-width:440px;text-wrap:pretty}
.lead strong{color:#fff;font-weight:600}
.back-home{display:inline-block;margin-top:34px;background:#fff;color:var(--bg-deep);font-family:'Saira',sans-serif;font-weight:700;font-size:15px;text-transform:uppercase;letter-spacing:.6px;text-decoration:none;border-radius:6px;padding:15px 30px;box-shadow:0 10px 26px rgba(3,12,48,0.38);transition:transform .16s,box-shadow .2s}
.back-home:hover{color:var(--bg-deep);transform:translateY(-3px) rotate(-0.6deg);box-shadow:0 18px 36px rgba(3,12,48,0.5)}
