/* Navigation labels roll inside a fixed-size window, keeping hit areas steady. */
.nav-label-window{position:relative;display:block;overflow:clip;height:1.5em;line-height:1.5;white-space:nowrap}
.nav-label-main,.nav-label-next{display:block;line-height:inherit}
.nav-label-next{position:absolute;inset:0;transform:translateY(115%);opacity:0;pointer-events:none}
.motion-enhanced .nav-label-main,.motion-enhanced .nav-label-next{transition:transform 480ms cubic-bezier(.16,1,.3,1),opacity 240ms ease}
.motion-enhanced .nav-animated{position:relative}
.motion-enhanced .nav-animated:is(:hover,:focus-visible) .nav-label-main{transform:translateY(-115%);opacity:0}
.motion-enhanced .nav-animated:is(:hover,:focus-visible) .nav-label-next{transform:translateY(0);opacity:1}
.motion-enhanced .nav-links a:hover{text-decoration:none}
.motion-enhanced .nav-links a::after{content:'';position:absolute;left:0;right:0;bottom:6px;height:1px;background:currentColor;transform:scaleX(0);transform-origin:right;transition:transform 450ms cubic-bezier(.22,.61,.36,1)}
.motion-enhanced .nav-links a:is(:hover,:focus-visible)::after{transform:scaleX(1);transform-origin:left}
.motion-enhanced .nav-book:is(:hover,:focus-visible) svg{animation:nos-nav-arrow 520ms cubic-bezier(.22,.61,.36,1) both}
.motion-enhanced .nav-book:is(:hover,:focus-visible)::after{animation:nos-nav-rule 600ms cubic-bezier(.22,.61,.36,1) both}
.motion-enhanced .nav-label-window{transition:scale 150ms ease}
.motion-enhanced .nav-animated:active .nav-label-window{scale:.96}
@keyframes nos-nav-arrow{0%{transform:translate(0,0);opacity:1}42%{transform:translate(10px,-10px);opacity:0}43%{transform:translate(-10px,10px);opacity:0}100%{transform:translate(0,0);opacity:1}}
@keyframes nos-nav-rule{0%{transform:scaleX(1);transform-origin:right}45%{transform:scaleX(0);transform-origin:right}46%{transform:scaleX(0);transform-origin:left}100%{transform:scaleX(1);transform-origin:left}}

/* Entrances use paint and compositing properties, preserving document flow. */
.motion-enhanced .motion-line{overflow:clip;padding-block:.08em;margin-block:-.08em}
.js.motion-enhanced .motion-line-inner{transform:translate3d(0,108%,0) rotate(2deg);transition-duration:820ms;transition-timing-function:cubic-bezier(.16,1,.3,1)}
.js.motion-enhanced .motion-title.is-visible .motion-line-inner,.js.motion-enhanced.hero-revealed #heroTitle .motion-line-inner{transform:translate3d(0,0,0)}

.motion-enhanced .photo-reveal{clip-path:inset(0 0 100% 0 round 12px);transition:clip-path 950ms cubic-bezier(.16,1,.3,1);transition-delay:var(--photo-delay,50ms)}
.motion-enhanced .has-arrived .photo-reveal,.motion-enhanced .has-arrived.photo-reveal{clip-path:inset(0 0 0 0 round 12px)}
.motion-enhanced .detail-reveal{opacity:0;filter:blur(3px);transform:translate3d(0,16px,0);transition:opacity 650ms ease,filter 650ms ease,transform 750ms cubic-bezier(.16,1,.3,1);transition-delay:var(--detail-delay,120ms)}
.motion-enhanced .has-arrived .detail-reveal{opacity:1;filter:blur(0);transform:translate3d(0,0,0)}
.motion-enhanced .drawn-heart{stroke-dasharray:1;stroke-dashoffset:1;transition:stroke-dashoffset 1000ms cubic-bezier(.22,.61,.36,1) 280ms}
.motion-enhanced .has-arrived .drawn-heart{stroke-dashoffset:0}
.motion-enhanced .doctor-portrait{overflow:hidden;border-radius:var(--radius,12px)}
.motion-enhanced .doctor-portrait img{scale:1;transition:scale 850ms cubic-bezier(.22,.61,.36,1)}

.motion-enhanced .primary-button{position:relative;isolation:isolate;overflow:hidden;translate:var(--pointer-x,0px) var(--pointer-y,0px);transition:background 240ms,transform 240ms,translate 300ms cubic-bezier(.22,.61,.36,1)}
.button-pulse{position:absolute;left:var(--pulse-x,50%);top:var(--pulse-y,50%);width:80px;height:80px;border-radius:50%;background:currentColor;opacity:0;pointer-events:none;animation:nos-button-pulse 650ms ease-out forwards;z-index:-1}
@keyframes nos-button-pulse{from{transform:translate(-50%,-50%) scale(0);opacity:.2}to{transform:translate(-50%,-50%) scale(9);opacity:0}}

.motion-enhanced .booking-dialog[open]{animation:nos-dialog-enter 380ms cubic-bezier(.16,1,.3,1) both}
.motion-enhanced .booking-dialog[open]::backdrop{animation:nos-backdrop-enter 300ms ease both}
.motion-enhanced .booking-dialog[open] .form-field{animation:nos-field-enter 500ms cubic-bezier(.16,1,.3,1) both;animation-delay:calc(90ms + var(--field-order,0) * 65ms)}
.motion-enhanced .booking-dialog[open] .form-field:focus-within{animation:none}
.motion-enhanced .menu[open] .menu-links a{animation:nos-menu-enter 650ms cubic-bezier(.16,1,.3,1) both;animation-delay:calc(var(--menu-order,0) * 65ms)}
@keyframes nos-dialog-enter{from{opacity:0;transform:translate3d(0,22px,0) scale(.975)}to{opacity:1;transform:translate3d(0,0,0) scale(1)}}
@keyframes nos-backdrop-enter{from{opacity:0}to{opacity:1}}
@keyframes nos-field-enter{from{opacity:0;transform:translate3d(0,12px,0)}to{opacity:1;transform:translate3d(0,0,0)}}
@keyframes nos-menu-enter{from{opacity:0;transform:translate3d(24px,10px,0)}to{opacity:1;transform:translate3d(0,0,0)}}

@media(hover:hover) and (pointer:fine){
 .motion-enhanced .doctor-card:hover .doctor-portrait img{scale:1.035}
 .motion-enhanced .gallery-expand-item.is-active .gallery-caption .specialist-pet-heart{animation:nos-heart-beat 650ms ease both}
}
@keyframes nos-heart-beat{0%,100%{scale:1}35%{scale:1.2}65%{scale:.96}}
@media(max-width:767px){
 .motion-enhanced .photo-reveal{transition-duration:750ms}
 .js.motion-enhanced .motion-line-inner{transition-duration:650ms}
 .motion-enhanced .detail-reveal{filter:none;transition-duration:500ms}
}
@media(prefers-reduced-motion:reduce){
 .motion-enhanced .photo-reveal{clip-path:none;transition:none}
 .motion-enhanced .detail-reveal{opacity:1;filter:none;transform:none;transition:none}
 .motion-enhanced .drawn-heart{stroke-dashoffset:0;transition:none}
 .motion-enhanced .primary-button{translate:none}
 .button-pulse{display:none}
 .motion-enhanced .booking-dialog[open],.motion-enhanced .booking-dialog[open]::backdrop,.motion-enhanced .booking-dialog[open] .form-field,.motion-enhanced .menu[open] .menu-links a{animation:none}
}
