/* Propflix Minimal Motion: restrained, accessible motion */
:root { --pf-motion-ease: cubic-bezier(.22, 1, .36, 1); --pf-motion-time: 650ms; }
html { scroll-behavior: smooth; }
/* Reveal selected content on scroll, but never hide content if JS is unavailable. */
.pf-motion-ready [data-pf-reveal] { opacity: 0; transform: translate3d(0, 18px, 0); transition: opacity var(--pf-motion-time) var(--pf-motion-ease), transform var(--pf-motion-time) var(--pf-motion-ease); }
.pf-motion-ready [data-pf-reveal].pf-is-visible { opacity: 1; transform: translate3d(0,0,0); }
/* Common theme/plugin section and card selectors */
.ppp-property-card, .property-card, .property-item, .location-card, .ppp-location-card,
.ppp-section, .property-grid > *, .ppp-property-grid > *, .ppp-location-grid > *,
[class*="property-card"], [class*="location-card"] { transition: transform 320ms var(--pf-motion-ease), box-shadow 320ms var(--pf-motion-ease), border-color 320ms ease; }
@media (hover:hover) and (pointer:fine) {
  .ppp-property-card:hover, .property-card:hover, .property-item:hover, .location-card:hover, .ppp-location-card:hover,
  .property-grid > *:hover, .ppp-property-grid > *:hover, .ppp-location-grid > *:hover,
  [class*="property-card"]:hover, [class*="location-card"]:hover {
    transform: translateY(-4px); box-shadow: 0 18px 42px rgba(16, 32, 50, .12); border-color: rgba(22, 125, 116, .24);
  }
  .ppp-property-card img, .property-card img, .property-item img, .location-card img, .ppp-location-card img,
  [class*="property-card"] img, [class*="location-card"] img { transition: transform 650ms var(--pf-motion-ease); }
  .ppp-property-card:hover img, .property-card:hover img, .property-item:hover img, .location-card:hover img, .ppp-location-card:hover img,
  [class*="property-card"]:hover img, [class*="location-card"]:hover img { transform: scale(1.035); }
  a, button, input[type="submit"], .button, .wp-element-button { transition: color 220ms ease, background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease, transform 220ms var(--pf-motion-ease); }
  button:hover, input[type="submit"]:hover, .button:hover, .wp-element-button:hover { transform: translateY(-1px); }
  button:active, input[type="submit"]:active, .button:active, .wp-element-button:active { transform: translateY(0) scale(.985); }
}
/* Keep text crisp; avoid animating every paragraph or form field. */
:focus-visible { outline: 3px solid rgba(226, 170, 102, .85); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .pf-motion-ready [data-pf-reveal] { opacity: 1; transform: none; }
}
