/* Casa Floresta — subtle, accessible public interactions v0.3.5.
 * Keep the previously approved Hero geometry and imagery intact. */
.mpcf-home{scroll-behavior:smooth}
.mpcf-home .mpcf-site-header{position:sticky;top:var(--wp-admin--admin-bar--height,0px);z-index:40;transition:box-shadow .22s ease,background-color .22s ease}
.mpcf-home.is-scrolled .mpcf-site-header{box-shadow:0 9px 28px rgba(15,50,29,.10)}
.mpcf-home .mpcf-scroll-progress{position:fixed;z-index:999;top:var(--wp-admin--admin-bar--height,0px);left:0;width:100%;height:3px;pointer-events:none}
.mpcf-home .mpcf-scroll-progress>span{display:block;width:0;height:100%;background:#319130;transition:width .1s linear}
.mpcf-home .mpcf-back-to-top{position:fixed;z-index:60;bottom:22px;right:22px;width:44px;height:44px;display:grid;place-items:center;border:1px solid #d4ead6;border-radius:50%;background:#fff;color:#1b6530;font-family:Arial,Helvetica,sans-serif;font-weight:700;font-size:23px;box-shadow:0 8px 24px rgba(19,56,33,.15);opacity:0;transform:translateY(12px);pointer-events:none;transition:opacity .2s ease,transform .2s ease,background .2s ease;cursor:pointer}
.mpcf-home .mpcf-back-to-top.is-visible{opacity:1;transform:translateY(0);pointer-events:auto}
.mpcf-home .mpcf-back-to-top:hover{background:#eaf6ea}
.mpcf-home .mpcf-desktop-nav a{position:relative}
.mpcf-home .mpcf-desktop-nav a:after{content:"";position:absolute;left:0;right:0;bottom:-6px;height:2px;background:#319130;transform:scaleX(0);transform-origin:left;transition:transform .18s ease}
.mpcf-home .mpcf-desktop-nav a:hover:after,.mpcf-home .mpcf-desktop-nav a[aria-current="page"]:after{transform:scaleX(1)}
/* Room cards use their original v0.3.3 hover: only the gentle image zoom from style.css. */
.mpcf-home .mpcf-product{transition:transform .22s ease,box-shadow .22s ease}
.mpcf-home .mpcf-product:hover{transform:translateY(-3px);box-shadow:0 9px 24px #24412313}
.mpcf-home .mpcf-button{transition:transform .18s ease,background-color .18s ease,box-shadow .18s ease}
.mpcf-home .mpcf-button:hover{transform:translateY(-2px);box-shadow:0 7px 19px #1f632f26}
.mpcf-home :is(.mpcf-button,.mpcf-room,.mpcf-desktop-nav a,.mpcf-header-tools summary,.mpcf-header-tools a,.mpcf-back-to-top):focus-visible{outline:3px solid #45af4e;outline-offset:3px}
.mpcf-home :is(#mpcf-room-title,#mpcf-custom-title,#mpcf-story-title,#mpcf-featured-title){scroll-margin-top:125px}
@media(max-width:920px){.mpcf-home .mpcf-mobile-menu[open] nav{border-radius:8px;box-shadow:0 20px 35px #133b2f2c}.mpcf-home .mpcf-mobile-menu[open] nav a:hover{background:#f0f8ee}}
@media(max-width:700px){.mpcf-home .mpcf-back-to-top{width:40px;height:40px;right:14px;bottom:14px}.mpcf-home .mpcf-scroll-progress{height:2px}}
@media(prefers-reduced-motion:reduce){.mpcf-home *,.mpcf-home *::before,.mpcf-home *::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}

/* v0.3.5 — Single brand-colour scroll control; resets generic WordPress/Astra button styling. */
.mpcf-home button.mpcf-back-to-top,
.mpcf-home button.mpcf-back-to-top:visited{
  -webkit-appearance:none!important;appearance:none!important;
  display:grid!important;place-items:center!important;
  position:fixed!important;inset:auto 19px 19px auto!important;
  width:42px!important;height:42px!important;min-width:42px!important;min-height:42px!important;
  max-width:42px!important;max-height:42px!important;
  margin:0!important;padding:0!important;
  border:1px solid rgba(255,255,255,.28)!important;border-radius:50%!important;
  background:#319130!important;background-image:none!important;
  color:#fff!important;line-height:0!important;font-size:0!important;
  box-shadow:0 5px 16px rgba(17,63,24,.18)!important;
  text-align:center!important;overflow:hidden!important;
  z-index:60!important;
  opacity:0;transform:translateY(10px);pointer-events:none;
  transition:opacity .2s ease,transform .2s ease,background-color .2s ease!important;
}
.mpcf-home button.mpcf-back-to-top.is-visible{opacity:1!important;transform:translateY(0)!important;pointer-events:auto!important}
.mpcf-home button.mpcf-back-to-top:hover{background:#226e26!important;box-shadow:0 6px 18px rgba(17,63,24,.24)!important}
.mpcf-home button.mpcf-back-to-top svg{display:block!important;width:18px!important;height:18px!important;flex:none!important;color:#fff!important;stroke:#fff!important;fill:none!important;pointer-events:none!important}
.mpcf-home button.mpcf-back-to-top:focus-visible{outline:3px solid #a6dca3!important;outline-offset:3px!important}
@media(max-width:700px){.mpcf-home button.mpcf-back-to-top{inset:auto 14px 14px auto!important;width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important;max-width:38px!important;max-height:38px!important}}
@media(prefers-reduced-motion:reduce){.mpcf-home button.mpcf-back-to-top{transition:none!important}}
