/* Shared mobile layout: applies to marketing, forms, accounts and brokerage. */
.mobile-backdrop {display:none;}
@media (max-width:1100px) {
  .site-header .account-link {display:none;}
  .mobile-backdrop {display:block;position:fixed;inset:0;z-index:1201;background:#18291f70;backdrop-filter:blur(3px);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .3s ease,visibility 0s .3s;}
  .mobile-backdrop.open {opacity:1;visibility:visible;pointer-events:auto;transition-delay:0s;}
  .mobile-nav {display:flex!important;flex-direction:column;align-items:stretch;position:fixed;inset:0 auto 0 0;top:0!important;z-index:1202;background:#f5f0e4;width:min(88vw,390px);height:100dvh;max-height:100dvh;box-shadow:12px 0 60px #14251b24;border-radius:0 26px 26px 0;padding:24px 20px max(20px,env(safe-area-inset-bottom));transform:translateX(-105%);opacity:1;overflow-x:hidden;overflow-y:auto;transition:transform .32s cubic-bezier(.22,1,.36,1),visibility 0s .32s;}
  html[dir="rtl"] .mobile-nav {left:auto;right:0;border-radius:26px 0 0 26px;transform:translateX(105%);}
  .mobile-nav.open {
    z-index:1202;
    display:flex!important; flex-direction:column; align-items:stretch;
    opacity:1;pointer-events:auto;transform:none!important;transition-delay:0s;
    overflow-x:hidden; overflow-y:auto; overscroll-behavior:contain;
    height:100dvh; max-height:100dvh;
    padding:24px 20px max(20px,env(safe-area-inset-bottom));
  }
  .mobile-nav a {flex:0 0 auto;width:100%;min-width:0;min-height:44px;padding:10px 12px;overflow-wrap:anywhere;border:0;text-decoration:none;}
  .mobile-menu-head {display:flex;align-items:center;justify-content:space-between;gap:12px;flex-shrink:0;margin-bottom:28px;}
  .mobile-nav .mobile-brand {display:flex;align-items:center;gap:10px;width:auto;padding:0;font-size:21px;line-height:1.3;}
  .mobile-brand img {width:44px;height:44px;object-fit:contain;border-radius:5px;}
  .mobile-brand small {display:block;font:10px Arial,sans-serif;letter-spacing:1.8px;color:#8a784d;margin-top:4px;}
  .mobile-close {display:grid;place-items:center;flex-shrink:0;width:44px;height:44px;border:1px solid #d8cfbb;border-radius:14px;background:transparent;color:#354b3b;cursor:pointer;}
  .mobile-close svg {width:21px;height:21px;}
  .mobile-links {display:grid;gap:5px;flex-shrink:0;}
  .mobile-nav .mobile-links a {display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:52px;font-size:21px;border-radius:13px;color:#354b3b;transition:background .2s,color .2s;}
  .mobile-links svg {width:17px;height:17px;opacity:.45;flex-shrink:0;}
  html[dir="rtl"] .mobile-links svg {transform:rotate(180deg);}
  .mobile-nav .mobile-links a[aria-current="page"],.mobile-links a:hover {background:#e2e9dc;color:#304b36;}
  .mobile-nav .mobile-profile {display:flex;align-items:center;gap:10px;font-size:14px;color:#73806c;margin:14px 0 24px;}
  .mobile-profile svg {width:18px;height:18px;}
  .mobile-menu-footer {margin-top:auto;padding-top:20px;border-top:1px solid #dfd6c4;flex-shrink:0;}
  .mobile-nav .mobile-income {display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:54px;margin:0;padding:13px 18px;font-size:17px;border-radius:16px;color:#fff;background:#3f5844;}
  .mobile-income>span {font:23px Arial,sans-serif;color:#e2d1a9;}
  html[dir="rtl"] .mobile-income>span {transform:scaleX(-1);}
  .mobile-utilities {display:flex;align-items:center;justify-content:space-between;gap:4px;margin-top:12px;flex-wrap:wrap;}
  .mobile-nav .mobile-utilities a {width:auto;padding:10px 4px;font-size:14px;min-height:44px;color:#63715f;}
  .mobile-language {margin-inline-start:auto;}
  .nav-toggle {min-width:44px;min-height:44px;flex-shrink:0;}
  .nav-toggle[aria-expanded="true"] path {d:path('M6 6L18 18M18 6L6 18');}
}
@media (max-width:760px) {
  :root {--section-gap:48px;}
  .visionary-page .sec {padding-block:var(--section-gap);}
  .hero {padding-top:32px;padding-bottom:40px;}
  .hero-grid {gap:28px;}
  .hero-copy {gap:16px;}
  .audience-paths {margin-top:12px;gap:10px;}
  .audience-path {padding:16px;gap:12px;}
  .audience-path strong {font-size:18px;line-height:1.5;}
  .audience-path>span:last-child {gap:4px;}
  .audience-icon {font-size:24px;}
  .sec-head {margin-bottom:28px;gap:10px;}
  .btn,.br-button {max-width:100%;white-space:normal;text-align:center;justify-content:center;}
  .page-hero {padding-block:36px;}
  .page-hero-grid {gap:28px;}
  .hero-media {max-height:360px;}
  .page-hero-media {max-height:300px;}
  .br-favorite {min-width:44px!important;min-height:44px!important;}
  .br-search-form select,.calculator-panel #phone-country {font-size:16px!important;}
  .br-section-nav nav {scroll-padding-inline:16px;}
  .br-section-nav nav a {min-height:44px;display:inline-flex;align-items:center;}
  .br-photo-dialog button {min-width:44px;min-height:44px;}
  .br-photo-dialog-stage img {touch-action:pan-y pinch-zoom;}
  .br-search-page .br-shell,.br-property-page .br-shell {padding-inline:16px;}
  .br-search-page .br-search-hero {padding:28px 12px;}
  .br-search-hero .br-heading {margin-bottom:20px;}
  .br-search-card .br-search-details {min-height:44px;display:inline-flex;align-items:center;}
  .br-compare {min-height:44px;}
  .br-map .leaflet-control-zoom a {width:44px;height:44px;line-height:44px;}
  .whatsapp-float,.wa-float {bottom:max(16px,env(safe-area-inset-bottom));}
  .br-property-page .wa-float {bottom:calc(88px + env(safe-area-inset-bottom));}
  input,select,textarea {scroll-margin-block:100px;}
}
@media (max-width:360px) {
  .site-header .header-row {padding-inline:12px;gap:6px;}
  .site-header .header-actions {gap:6px;}
  .site-header .btn-sm {padding-inline:10px;}
}
@media (prefers-reduced-motion:reduce) {
  .mobile-nav,.mobile-backdrop {transition:none;}
}
