/* Motion tied to sections and interactions, without changing layout. */
:root{--motion-ease:cubic-bezier(.22,1,.36,1);--aos-ease:cubic-bezier(.22,1,.36,1)}

@media(prefers-reduced-motion:no-preference){
  .site-menu:not([hidden]){animation:menu-enter .18s var(--motion-ease) both;transform-origin:top right}
  @keyframes menu-enter{
    from{opacity:0;transform:translateY(-6px) scale(.985)}
    to{opacity:1;transform:translateY(0) scale(1)}
  }
  html.aos-ready .aos-item:not(.aos-in){
    opacity:0;
    translate:var(--aos-x,0px) var(--aos-y,0px);
    scale:var(--aos-scale,1);
  }
  html.aos-ready .aos-item.aos-in:not(.aos-finished){
    animation:aos-enter var(--aos-duration,.74s) var(--aos-ease) var(--aos-delay,0s) both;
    will-change:opacity,translate,scale;
  }
  html.aos-ready .aos-item.aos-finished{opacity:1;translate:0 0;scale:1}
  @keyframes aos-enter{
    from{opacity:0;translate:var(--aos-x,0px) var(--aos-y,0px);scale:var(--aos-scale,1)}
    to{opacity:1;translate:0 0;scale:1}
  }
}

.featured-carousel{overflow:visible;background:transparent;box-shadow:none;cursor:grab;touch-action:pan-x}
.hero-left .stats{position:relative;z-index:2}
.featured-carousel::after{content:none}
.featured-carousel.is-dragging{cursor:grabbing;user-select:none;-webkit-user-select:none}
.featured-slide{position:absolute;inset:0;display:block;overflow:hidden;border-radius:18px;color:#fff;background:transparent;box-shadow:0 10px 24px rgba(16,28,24,.18);cursor:grab;transition:transform .5s var(--motion-ease),opacity .38s ease-out}
.featured-carousel.is-dragging .featured-slide{cursor:grabbing;transition:none}
.featured-carousel.is-settling .featured-slide{transition-duration:.32s,.25s}
.featured-slide.is-active{z-index:1}
.featured-slide:not(.is-active){z-index:0;transform:translate3d(12px,16px,0) rotate(3deg) scale(.96);transition-timing-function:cubic-bezier(.16,1.25,.32,1),ease-out;pointer-events:none}
.featured-slide::after{content:"";position:absolute;inset:35% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.8));pointer-events:none}
.featured-slide>img{width:100%;height:100%;object-fit:cover;transition:transform .35s}
.featured-controls{z-index:3}
.featured-controls button{display:grid;place-items:center;width:31px;height:31px;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.3);color:#fff;line-height:1;backdrop-filter:blur(5px);transition:background-color .2s ease,transform .2s var(--motion-ease)}
@media(hover:hover){.featured-controls button:hover{background:rgba(255,255,255,.48);transform:translateY(-2px)}}
.featured-controls button:active{transform:scale(.94)}
.featured-controls button:focus-visible{outline:2px solid #fff;outline-offset:2px}
.featured-controls button .ms-icon{display:block;transform:rotate(90deg)}
@media(max-width:760px){.featured-controls{right:11px;bottom:11px;gap:8px}.featured-controls button{width:42px;height:42px}.featured-controls button .ms-icon{width:18px;height:18px}}

.button,.property-filters button,.circle-control,.round-arrow,.social-heading-actions .button{
  transition:transform .2s var(--motion-ease),background-color .2s ease,border-color .2s ease,box-shadow .2s ease,color .2s ease;
}
.property-filters button:active,.circle-control:active,.round-arrow:active{transform:scale(.96)}
.property-filters button:focus-visible,.circle-control:focus-visible,.round-arrow:focus-visible,
.button:focus-visible,.text-link:focus-visible,.review-source:focus-visible,.footer a:focus-visible{
  outline:2px solid var(--brand-orange,#ff4a00);outline-offset:4px;
}

.property-card,.benefit-grid article,.testimonial-grid article,.social-post{
  transition:transform .28s var(--motion-ease),box-shadow .28s var(--motion-ease),border-color .2s ease;
}
@media(hover:hover){
  .property-card:hover,.benefit-grid article:hover,.testimonial-grid article:hover,.social-post:hover{
    transform:translateY(-3px);
    box-shadow:0 12px 28px rgba(0,0,0,.07);
  }
  .testimonials .testimonial-grid article:hover{
    border-color:#dedede;
    box-shadow:0 14px 30px rgba(0,0,0,.11);
  }
  #property-grid .property-card:hover{
    border-color:#dedede;
    box-shadow:0 14px 30px rgba(0,0,0,.11);
  }
  .expertise-list .feature-icon{transition:transform .22s var(--motion-ease),background-color .22s ease}
  .expertise-list article:hover .feature-icon{transform:translateY(-2px);background-color:#fff0e9}
}

.contact-form input,.contact-form textarea{transition:border-color .2s ease,box-shadow .2s ease}
.contact-form input:focus-visible,.contact-form textarea:focus-visible{
  outline:none;border-color:var(--brand-orange,#ff4a00);box-shadow:0 0 0 3px rgba(255,74,0,.12);
}
.social-post .social-post-top>.ms-icon,.review-source>span{transition:transform .22s var(--motion-ease)}
.social-post:hover .social-post-top>.ms-icon,.social-post:focus-visible .social-post-top>.ms-icon,
.review-source:hover>span,.review-source:focus-visible>span{transform:translate(2px,-2px)}
.footer-grid a{transition:color .2s ease}
.footer-grid a:hover{color:var(--brand-orange,#ff4a00)}

@media(prefers-reduced-motion:reduce){
  #property-grid,.testimonials .testimonial-grid{scroll-behavior:auto}
}

