/* Contact bar on every page (Nov 27), same look as the property pages' bar. Phones: always at the bottom, two
   actions. Wider screens: a floating box once the visitor scrolls. contact-bar.js hides it over the closing call
   to action and the footer; without JavaScript it simply stays on phones. */
.mse-bar { --cb-ink: #0a404d; --cb-accent: #b05434; position: fixed; z-index: 990; right: 0; bottom: 0; left: 0; box-sizing: border-box; display: grid; grid-auto-columns: 1fr; grid-auto-flow: column; gap: 10px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); font-family: "Raleway", sans-serif; background: rgb(255 255 255 / 0.94); backdrop-filter: blur(10px); box-shadow: 0 -6px 24px rgb(10 40 50 / 0.12); transition: transform 0.3s ease, visibility 0s linear 0s; }
.mse-bar * { box-sizing: border-box; }
.mse-bar .mse-bar__text { display: none; margin: 0; }
.mse-bar .mse-bar__btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 16px; border-radius: 999px; font-size: 16px; font-weight: 700; line-height: 1.2; text-decoration: none; transition: transform 0.15s ease, filter 0.2s ease; }
.mse-bar .mse-bar__btn:active { transform: scale(0.97); }
.mse-bar .mse-bar__btn--wa, .mse-bar .mse-bar__btn--wa:hover { color: #fff; background: #198845; } /* WhatsApp green, darkened for white text (4.5:1) */
.mse-bar .mse-bar__btn--call, .mse-bar .mse-bar__btn--call:hover { color: var(--cb-ink); background: #fff; box-shadow: inset 0 0 0 2px var(--cb-ink); }
.mse-bar .mse-bar__btn:focus-visible { outline: 3px solid var(--cb-accent); outline-offset: 2px; }
.mse-bar-js .mse-bar:not(.is-on) { transform: translate3d(0, 120%, 0); visibility: hidden; transition: transform 0.3s ease, visibility 0s linear 0.3s; }

/* Without JavaScript the bar never steps aside, so the page gets room for it; with it, the bar hides over the
   footer and no extra band is left under the footer. */
@media (max-width: 767px) {
  html:not(.mse-bar-js) body.mse-has-bar { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
}
@media (min-width: 768px) {
  .mse-bar { right: 24px; bottom: 24px; left: auto; grid-auto-flow: column; grid-auto-columns: auto; align-items: center; gap: 10px; padding: 10px 10px 10px 20px; border-radius: 18px; box-shadow: 0 16px 40px rgb(10 64 77 / 0.18); }
  .mse-bar .mse-bar__text { display: block; color: var(--cb-ink); font-size: 14px; font-weight: 700; }
  .mse-bar .mse-bar__btn { min-height: 44px; font-size: 15px; }
  html:not(.mse-bar-js) .mse-bar { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .mse-bar, .mse-bar .mse-bar__btn, .mse-bar-js .mse-bar:not(.is-on) { transition: none; }
}
@media print {
  .mse-bar { display: none; }
}
