/* JUANA header — single production source (v4). */
body{margin:0;padding:0;background:#f5f7fb;color:#07111f;font-family:inherit}
.juana-page-surface{max-width:1320px;margin:0 auto;padding:24px 20px 48px}
.juana-page-surface > :first-child{margin-top:0}
.juana-page-surface .juana-page-hero,
.juana-page-surface .page-hero,
.juana-page-surface .juana-section,
.juana-page-surface .section,
.juana-page-surface .container,
.juana-page-surface .card,
.juana-page-surface .juana-contact-professional,
.juana-page-surface .juana-map-section,
.juana-page-surface .contact-cta{width:100%;max-width:100%;margin-inline:auto}
.juana-page-surface .juana-page-hero,
.juana-page-surface .page-hero{border-radius:20px;overflow:hidden}
.juana-page-surface .juana-section,
.juana-page-surface .section{margin-top:24px}
.juana-header,.juana-header *{box-sizing:border-box}
.juana-mobile-cta{display:flex;align-items:center;justify-content:center;gap:10px;padding:12px 16px 0;background:#07111f}
.juana-mobile-cta a{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 14px;border-radius:999px;text-decoration:none;font-weight:800;font-size:14px;transition:transform .2s ease,box-shadow .2s ease}
.juana-mobile-cta a:hover{transform:translateY(-1px)}
.juana-mobile-cta .juana-cta-primary{background:#d6aa38;color:#07111f;box-shadow:0 8px 20px rgba(214,170,56,.25)}
.juana-mobile-cta .juana-cta-secondary{background:#25d366;color:#fff}
.juana-floating{position:fixed;right:16px;bottom:16px;display:flex;flex-direction:column;gap:10px;z-index:10050}
.juana-floating a{width:54px;height:54px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;color:#fff;text-decoration:none;font-size:22px;box-shadow:0 12px 30px rgba(0,0,0,.2)}
.juana-floating .wa{background:#25d366}
.juana-floating .call{background:#d6aa38;color:#07111f}
@media (max-width:980px){.juana-mobile-cta{padding:10px 12px 0}.juana-mobile-cta a{padding:9px 12px;font-size:13px}.juana-floating{right:12px;bottom:12px}.juana-floating a{width:50px;height:50px;font-size:20px}}
.juana-skip-link{position:absolute;inset-inline-start:-9999px;top:8px;z-index:10050;background:#fff;color:#07111f;padding:10px 14px;border-radius:8px}
.juana-skip-link:focus{inset-inline-start:12px}
.juana-header{position:relative;z-index:1000;background:#07111f;color:#fff;font-family:inherit;box-shadow:0 6px 24px rgba(0,0,0,.16)}
.juana-topbar{background:#d6aa38;color:#07111f}
.juana-topbar-inner{max-width:1280px;margin:auto;padding:7px 18px;display:flex;align-items:center;justify-content:space-between;gap:16px;font-weight:700}
.topbar-phone{display:inline-flex;align-items:center;gap:7px;color:#07111f!important;text-decoration:none}
.juana-social{display:flex;align-items:center;gap:8px}
.juana-social a{width:28px;height:28px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:#07111f;color:#fff!important;text-decoration:none}
.juana-navbar{max-width:1280px;min-height:78px;margin:auto;padding:8px 18px;display:flex;align-items:center;gap:18px;position:relative}
.juana-brand{display:flex;align-items:center;gap:10px;flex:0 0 auto;color:#d6aa38!important;text-decoration:none}
.juana-brand img{width:auto;height:58px;object-fit:contain;mix-blend-mode:screen;background:transparent}
.juana-brand-text{display:flex;flex-direction:column;line-height:1.05}.juana-brand-text strong{font-size:18px}.juana-brand-text small{font-size:10px;letter-spacing:.12em;color:#fff}
.juana-menu{list-style:none;display:flex;align-items:center;gap:2px;flex:1;margin:0;padding:0}
.juana-menu>li{position:relative;list-style:none}
.juana-menu a,.juana-menu summary{display:flex;align-items:center;gap:7px;padding:11px 9px;color:#fff!important;text-decoration:none;font-weight:700;white-space:nowrap;border-radius:9px;cursor:pointer;list-style:none}
.juana-menu a.nav-owner-properties{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 16px;border:1px solid #f0c24b;border-radius:12px;background:linear-gradient(135deg,#f4c84f 0%,#c99218 100%);color:#07111f!important;font-weight:800;box-shadow:0 8px 22px rgba(205,153,28,.24);transition:transform .2s ease,box-shadow .2s ease,background .2s ease}
.juana-menu a.nav-owner-properties::before{content:"+";display:grid;width:22px;height:22px;place-items:center;border-radius:50%;background:#07111f;color:#f4c84f;font-size:18px;line-height:1}
.juana-menu a.nav-owner-properties:hover,.juana-menu a.nav-owner-properties:focus-visible,.juana-menu a.nav-owner-properties.active{background:linear-gradient(135deg,#ffd968 0%,#d9a324 100%);color:#07111f!important;transform:translateY(-1px);box-shadow:0 10px 26px rgba(205,153,28,.34)}
.juana-menu summary::-webkit-details-marker{display:none}.juana-menu summary::after{content:"▾";font-size:.72em;margin-inline-start:3px}
.juana-menu a:hover,.juana-menu a.active,.juana-menu summary:hover,.juana-menu summary.active{color:#d6aa38!important;background:rgba(255,255,255,.06)}
.juana-public-dropdown-menu,.juana-admin-dropdown{display:none;position:absolute;top:calc(100% + 7px);inset-inline-start:0;min-width:240px;margin:0;padding:8px;list-style:none;background:#fff;border:1px solid rgba(7,17,31,.12);border-radius:14px;box-shadow:0 18px 42px rgba(0,0,0,.2);z-index:10020}
details[open]>.juana-public-dropdown-menu,details[open]>.juana-admin-dropdown{display:block}
.juana-public-dropdown-menu a,.juana-admin-dropdown a{color:#07111f!important;padding:10px 12px;white-space:normal}.juana-public-dropdown-menu a:hover,.juana-admin-dropdown a:hover{background:#f7f0dc;color:#7b5b0b!important}
.juana-langs{display:flex;align-items:center;gap:4px;flex:0 0 auto}.juana-langs a{display:inline-flex;align-items:center;justify-content:center;min-width:27px;height:29px;padding:0 5px;border-radius:7px;color:#fff!important;text-decoration:none;font-size:12px;font-weight:800}.juana-langs a.active,.juana-langs a:hover{background:#d6aa38;color:#07111f!important}
.juana-menu-toggle{display:none;align-items:center;justify-content:center;flex-direction:column;gap:5px;width:44px;height:42px;border:1px solid rgba(214,170,56,.65);border-radius:10px;background:#07111f;cursor:pointer;z-index:10022}
.juana-menu-toggle span{display:block;width:23px;height:2px;background:#d6aa38;transition:transform .2s,opacity .2s}.juana-menu-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg)}.juana-menu-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}.juana-menu-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
html.juana-menu-open,html.juana-menu-open body{overflow:hidden}
@media(max-width:1100px){.juana-brand-text{display:none}.juana-menu a,.juana-menu summary{font-size:13px;padding-inline:7px}}
@media(max-width:980px){
 .juana-topbar-inner{padding:6px 12px}.juana-navbar{min-height:70px;padding:8px 12px;justify-content:space-between;flex-wrap:nowrap}.juana-brand img{height:51px}.juana-brand-text{display:flex}
 .juana-menu-toggle{display:flex;order:3;flex:0 0 auto}.juana-brand{order:1}.juana-langs{order:2;margin-inline-start:auto}
 .juana-menu{display:none!important;position:absolute!important;top:100%!important;inset-inline:10px!important;z-index:10021!important;max-height:calc(100vh - 95px)!important;overflow:auto!important;flex-direction:column!important;align-items:stretch!important;padding:12px!important;margin:0!important;background:#07111f!important;border:1px solid rgba(214,170,56,.5)!important;border-radius:14px!important;box-shadow:0 18px 45px rgba(0,0,0,.3)!important}
 .juana-menu.is-open{display:flex!important}.juana-menu>li,.juana-menu a,.juana-menu summary,.juana-public-dropdown,.juana-public-dropdown>details{width:100%}.juana-menu a,.juana-menu summary{padding:12px 14px!important;color:#fff!important}.juana-menu a.nav-owner-properties{color:#07111f!important}
 .juana-public-dropdown-menu,.juana-admin-dropdown{position:static!important;display:none;min-width:0!important;width:100%!important;box-shadow:none!important;margin-top:4px!important;border-radius:10px!important}.juana-public-dropdown details[open]>.juana-public-dropdown-menu,.juana-admin-menu details[open]>.juana-admin-dropdown{display:block!important}
}
@media(max-width:520px){.juana-brand-text{display:none}.juana-topbar-inner{font-size:12px}.juana-social{gap:4px}.juana-social a{width:25px;height:25px}.juana-langs{gap:1px}.juana-langs a{min-width:24px;padding:0 3px}}

/* JUANA unified navigation/mobile stabilization — 2026-07-23 */
.juana-public-dropdown-menu{max-height:min(72vh,620px);overflow-y:auto;overscroll-behavior:contain}
.juana-public-dropdown-menu li{margin:0;padding:0}
.juana-topbar-owner{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-width:190px;background:#071b33;color:#fff!important;text-decoration:none;border:2px solid #07111f;border-radius:7px;padding:10px 28px;font-size:16px;line-height:1;font-weight:900;box-shadow:0 6px 16px rgba(3,13,27,.28);transition:transform .2s ease,background .2s ease,box-shadow .2s ease}.juana-topbar-owner span{display:grid;place-items:center;width:23px;height:23px;border-radius:4px;background:transparent;color:#fff;font-size:24px;font-weight:900;line-height:1}.juana-topbar-owner:hover{background:#0d294b;color:#fff!important;transform:translateY(-1px);box-shadow:0 8px 20px rgba(3,13,27,.34)}
@media(max-width:980px){.juana-topbar-owner{min-width:160px;padding:8px 16px;font-size:14px}}
@media(max-width:520px){.juana-topbar-inner{gap:5px!important}.juana-topbar-owner{min-width:auto;padding:7px 10px;font-size:12px;gap:6px}.juana-topbar-owner span{width:19px;height:19px;font-size:17px}.topbar-phone span{font-size:10px}}
@media(max-width:980px){
 .juana-header{position:sticky;top:0}
 .juana-navbar{width:100%;max-width:none}
 .juana-menu{inset-inline:0!important;top:100%!important;border-radius:0 0 14px 14px!important;max-height:calc(100dvh - 70px)!important}
 .juana-public-dropdown-menu{background:#fff!important;padding:8px!important}
 .juana-public-dropdown-menu a{display:flex!important;min-height:44px!important;align-items:center!important;color:#07111f!important;background:#fff!important;border-bottom:1px solid #eef0f3;border-radius:8px!important}
 .juana-public-dropdown-menu a:hover,.juana-public-dropdown-menu a.active{background:#f7f0dc!important;color:#7b5b0b!important}
 .juana-language-dropdown{max-height:48vh}
}

/* JUANA R15 canonical nested navigation */
.juana-public-dropdown-menu .juana-public-dropdown{position:relative}
.juana-public-dropdown-menu .juana-public-dropdown>details>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;cursor:pointer;padding:11px 14px;font-weight:800;white-space:nowrap}
.juana-public-dropdown-menu .juana-public-dropdown>details>summary::after{content:'›';font-size:18px}
[dir=rtl] .juana-public-dropdown-menu .juana-public-dropdown>details>summary::after{transform:rotate(180deg)}
.juana-submenu-level-2,.juana-submenu-level-3{position:static!important;min-width:0!important;width:100%!important;margin:4px 0 4px 12px!important;box-shadow:none!important;border:0!important;border-inline-start:3px solid #d6aa38!important;border-radius:8px!important;background:#f8fafc!important;overflow:visible!important;max-height:none!important}
[dir=rtl] .juana-submenu-level-2,[dir=rtl] .juana-submenu-level-3{margin:4px 12px 4px 0!important}
.juana-submenu-level-2 a,.juana-submenu-level-3 a{padding-inline-start:18px!important}
@media(max-width:980px){.juana-submenu-level-2,.juana-submenu-level-3{margin-inline-start:14px!important}.juana-public-dropdown-menu .juana-public-dropdown>details>summary{padding-inline:12px}}

/* JUANA SSOT FINAL — property mega-menu is rendered fully expanded in one canonical dropdown. */
.juana-property-mega-menu{min-width:min(920px,94vw)!important;padding:14px!important}
.juana-property-all-link{display:flex!important;align-items:center;justify-content:center;font-weight:900;margin-bottom:10px;background:#f7f0dc!important;color:#6f530d!important;border:1px solid #ead79c!important}
.juana-property-columns{display:grid;grid-template-columns:repeat(3,minmax(220px,1fr));gap:12px}
.juana-property-group{background:#f8fafc;border:1px solid #e6e9ee;border-radius:12px;padding:8px;min-width:0}
.juana-property-group h3{margin:0 0 6px;font-size:15px}
.juana-property-group h3 a{display:flex!important;font-weight:900!important;background:#07111f!important;color:#fff!important;border-radius:8px!important}
.juana-property-group ul{list-style:none;margin:0;padding:0}
.juana-property-group li{margin:0;padding:0}
.juana-property-group li a{display:flex!important;min-height:42px!important;align-items:center!important;color:#07111f!important;background:#fff!important;border-bottom:1px solid #eef0f3;border-radius:7px!important;padding:9px 11px!important}
.juana-property-group li:last-child a{border-bottom:0}
.juana-property-group li a:hover,.juana-property-group li a.active{background:#f7f0dc!important;color:#7b5b0b!important}
@media(max-width:980px){
 .juana-property-mega-menu{min-width:0!important;width:100%!important;padding:8px!important}
 .juana-property-columns{grid-template-columns:1fr!important;gap:8px!important}
 .juana-property-group{width:100%}
 .juana-property-group h3 a{color:#fff!important}
}


/* JUANA ONE-PASS UI FIX 2026-07-24: click-only dropdowns, full property images, one visual layer */
@media (min-width:981px){
  .juana-public-dropdown:hover > details:not([open]) > .juana-public-dropdown-menu,
  .juana-menu details:not([open]) > .juana-public-dropdown-menu{display:none!important;}
  .juana-menu details[open] > .juana-public-dropdown-menu{display:block!important;}
}
.juana-public-dropdown-menu{pointer-events:auto!important;}
.property-card,.property-card.card,.juana-card-pro{position:relative!important;isolation:isolate!important;overflow:hidden!important;background:#fff!important;}
.property-card::before,.property-card::after,.juana-card-pro::before,.juana-card-pro::after{content:none!important;display:none!important;}
.property-card>a:first-child,.property-card .property-slider,.property-card .property-slider-track{position:relative!important;z-index:1!important;background:#f3f4f6!important;overflow:hidden!important;}
.property-card>a:first-child img,.property-card .property-slider img,.property-card .property-slide,.properties-grid .property-card img{width:100%!important;height:260px!important;max-height:260px!important;object-fit:contain!important;object-position:center center!important;background:#f3f4f6!important;display:block!important;position:relative!important;z-index:2!important;}
.property-card .property-slide{display:none!important;}
.property-card .property-slide.active{display:block!important;}
.property-card .card-body,.property-card .property-card-body{position:relative!important;z-index:3!important;background:#fff!important;transform:none!important;margin:0!important;}
.property-card .card-body::before,.property-card .card-body::after,.property-card .property-card-body::before,.property-card .property-card-body::after{content:none!important;display:none!important;}
.property-card .badge,.property-card .meta,.property-card h2,.property-card h3,.property-card p,.property-card .price{position:static!important;transform:none!important;}
@media(max-width:680px){.property-card>a:first-child img,.property-card .property-slider img,.property-card .property-slide,.properties-grid .property-card img{height:230px!important;max-height:230px!important;}}


/* JUANA DB-INTEGRATED FINAL 2026-07-24 */
.juana-menu details:not([open])>.juana-public-dropdown-menu{display:none!important;visibility:hidden!important;opacity:0!important}
.juana-menu details[open]>.juana-public-dropdown-menu{display:block!important;visibility:visible!important;opacity:1!important}
.juana-menu summary{cursor:pointer}
.property-card .property-slider-track{display:block!important;height:280px!important;background:#f4f5f7!important}
.property-card .property-slide{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:contain!important;opacity:0!important;visibility:hidden!important;display:block!important}
.property-card .property-slide.active{opacity:1!important;visibility:visible!important}
.property-card .card-body{position:relative!important;inset:auto!important;background:#fff!important;color:inherit!important;padding:18px!important}
.property-card .card-body>*{position:relative!important;inset:auto!important;opacity:1!important;visibility:visible!important}
.property-card .card-body h3,.property-card .card-body .meta,.property-card .card-body .property-specs,.property-card .card-body .price{background:transparent!important}
.juana-home-featured,.juana-home-projects{max-width:1180px;margin:34px auto;padding:0 20px}.juana-home-section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.juana-home-section-head a{font-weight:800}.juana-home-project-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:18px}.juana-home-project-grid article{background:#fff;border-radius:18px;overflow:hidden;box-shadow:0 10px 28px rgba(7,17,31,.08)}.juana-home-project-grid a{text-decoration:none;color:inherit}.juana-home-project-grid img{width:100%;height:220px;object-fit:contain;background:#f4f5f7;display:block}.juana-home-project-grid h3,.juana-home-project-grid p{padding-inline:16px}.juana-home-project-grid p{padding-bottom:16px}


/* JUANA Wikipedia mega menu: three focused groups on desktop, accordion-like stacked groups on mobile. */
@media (min-width:981px){
 .juana-wiki-mega-menu{width:min(760px,calc(100vw - 32px));padding:18px;inset-inline-start:50%;transform:translateX(-50%);overflow:visible;max-height:none}
 [dir=rtl] .juana-wiki-mega-menu{transform:translateX(50%)}
 .juana-wiki-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
 .juana-wiki-group{min-width:0}
 .juana-wiki-group h3{margin:0 0 8px;padding:0 10px 10px;border-bottom:2px solid #d6aa38;color:#07111f;font-size:15px}
 .juana-wiki-group ul{list-style:none;margin:0;padding:0}
 .juana-wiki-group a{white-space:normal!important}
}
@media (max-width:980px){
 .juana-wiki-mega-menu{padding:8px!important}
 .juana-wiki-columns{display:block}
 .juana-wiki-group{border:1px solid #e5e7eb;border-radius:10px;margin-bottom:8px;overflow:hidden}
 .juana-wiki-group h3{margin:0;padding:12px 14px;background:#f7f0dc;color:#07111f;font-size:15px}
 .juana-wiki-group ul{list-style:none;margin:0;padding:0 8px 8px}
}
