/* akcernansky.sk: experimental interaction layer, loaded by ck-luxury-ux.php. Every state below hangs on a class or element that the layer adds, so without JS (and, for motion, with reduced motion) pages render exactly as before. Nothing here is tied to the scroll position. */

/* 1. Právne služby: the 2s highlight on the card an anchor scrolls to. Since Round 43 only its border darkens: the old gold-dark frame had turned into a heavy navy box with a brown shadow. */
@keyframes ck-flash{18%,72%{border-color:rgba(8,20,48,.45)}}
.ck-light .ck-area-card.is-flash{animation:ck-flash 2s var(--ck-ease)}

/* 2. Kontakt: a gold seal draws itself next to the form's thank-you message. */
.ck-form .elementor-message-success.has-seal{display:flex;align-items:center;gap:16px;margin-top:20px;padding:18px 20px;border:1px solid rgba(212,175,55,.35);border-radius:2px;background:rgba(212,175,55,.05);font-size:1rem;line-height:1.5;color:var(--ck-white);text-align:left}
.ck-form .elementor-message-success.has-seal::before{content:none}
.ck-seal{position:relative;flex:none;display:grid;place-items:center;width:48px;height:48px}
.ck-seal svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.ck-seal circle{fill:none;stroke:var(--ck-gold);stroke-width:1.5}
.ck-seal__mark{font-family:var(--ck-serif);font-size:1.7rem;font-style:italic;font-weight:500;line-height:1;color:var(--ck-gold)}
@keyframes ck-seal-ring{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
@keyframes ck-seal-mark{from{opacity:0;transform:scale(.6)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:no-preference){
.ck-seal circle{stroke-dasharray:1 1;stroke-dashoffset:1;transform:rotate(-90deg);transform-box:fill-box;transform-origin:center;animation:ck-seal-ring 1s var(--ck-ease) .1s forwards}
.ck-seal__mark{animation:ck-seal-mark .6s var(--ck-ease) .55s both}
}

/* 3. Cross-document view transitions: the header holds still, the page cross-fades, and the § of a clicked home practice row travels into its card on Právne služby. */
@media (prefers-reduced-motion:no-preference){
@view-transition{navigation:auto}
::view-transition-old(root){animation:ck-vt-out .3s cubic-bezier(.4,0,1,1) both}
::view-transition-new(root){animation:ck-vt-in .3s cubic-bezier(.16,1,.3,1) both}
::view-transition-group(ck-par){animation-duration:.65s;animation-timing-function:cubic-bezier(.16,1,.3,1)}
/* Elementor's sticky spacer is a clone with the same classes, and a duplicated name would cancel the transition. */
.ck-header:not(.elementor-sticky__spacer){view-transition-name:ck-header}
}
@keyframes ck-vt-out{to{opacity:0}}
@keyframes ck-vt-in{from{opacity:0}}
.ck-par{display:inline-block}
