:root{--preview-navy:#111b2a;--preview-gold:#b98221;--preview-ivory:#fbf8f1}
.preview-topbar{height:76px;gap:20px;padding:0 3.2vw}
.preview-topbar .brand{min-width:245px}
.preview-topbar nav{gap:18px}
.preview-topbar nav a{font-size:10px;line-height:1.2;text-align:center;padding:29px 0 26px;border-bottom:3px solid transparent}
.preview-topbar nav a.active{color:var(--gold);border-color:var(--gold)}
.menu-toggle{display:none;border:1px solid var(--line);background:#fff;border-radius:999px;padding:10px 16px;font-weight:700}
.mobile-menu{position:fixed;top:72px;left:0;right:0;z-index:45;background:#fff;padding:18px 5vw;box-shadow:0 12px 30px rgba(0,0,0,.12)}
.mobile-menu a{display:block;padding:13px 0;border-bottom:1px solid var(--line);color:var(--ink);text-decoration:none;font-weight:700}
.journey-bar{height:38px;display:flex;align-items:center;gap:9px;padding:0 4vw;background:var(--preview-navy);color:#fff;position:sticky;top:76px;z-index:29}
.journey-bar button,.journey-bar a{border:0;background:transparent;color:#fff;text-decoration:none;font-size:11px;cursor:pointer;padding:7px 10px;border-radius:99px}
.journey-bar button:hover,.journey-bar a:hover{background:rgba(255,255,255,.12)}
.journey-label{margin-left:auto;font-size:9px;letter-spacing:.16em;color:#d9bd83}
.page-hero{min-height:460px;display:flex;align-items:flex-end;padding:80px 6vw;background-position:center;background-size:cover;position:relative;color:#fff}
.page-hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(10,18,29,.9),rgba(10,18,29,.26) 70%)}
.page-hero>div{position:relative;max-width:690px;z-index:1}
.page-hero h1,.property-page-head h1{font:400 clamp(48px,5.4vw,82px)/.98 'Libre Caslon Display',Georgia,serif;margin:0 0 20px}
.page-hero h1 em,.property-page-head h1 em{color:#e2b75f;font-style:italic}
.page-hero p:last-child{font-size:19px;line-height:1.55;max-width:620px;color:#edf0f3}
.page-hero-properties{background-image:url('../../../../assets/home-editorial/hero-madero-approved-clean-23sep.jpg')}
.page-hero-market{background-image:url('../img/editorial/v230/puerto-madero-lived-master-01.png')}
.page-hero-valuation{background-image:url('../img/editorial/v500/slot-vb-17-02-scene-031.jpg')}
.page-hero-madero{background-image:url('../img/editorial/waterfront-life.jpg')}
.page-hero-professionals{background-image:url('../img/editorial/v500/slot-vb-20-01-scene-039.jpg')}
.page-hero-contact{background-image:url('../img/editorial/marina-life.jpg')}
.page-content{scroll-margin-top:120px}
.page-next{padding:70px 5vw;text-align:center;background:var(--preview-ivory);border-top:1px solid var(--line)}
.page-next a{display:inline-block;color:#fff;background:var(--gold);text-decoration:none;border-radius:999px;padding:16px 26px;font-weight:700}
.journey-cards{padding:70px 5vw;display:grid;grid-template-columns:repeat(3,1fr);gap:16px;background:var(--preview-ivory)}
.journey-cards a{min-height:180px;padding:26px;border:1px solid var(--line);border-radius:18px;background:#fff;text-decoration:none;color:var(--ink);display:flex;flex-direction:column}
.journey-cards small{color:var(--gold);font-size:12px}
.journey-cards b{font:31px 'Libre Caslon Display';margin:20px 0 auto}
.journey-cards span{font-size:12px;font-weight:700;color:var(--gold)}
.contact-page{padding:90px 6vw;display:grid;grid-template-columns:1fr 1fr;gap:8vw}
.contact-page h2{font:400 56px/1.05 'Libre Caslon Display';margin:0 0 20px}
.contact-page p{font-size:18px;line-height:1.6;color:var(--muted)}
.contact-details{display:flex;flex-direction:column;gap:12px;margin-top:30px}
.contact-details span{padding:14px 0;border-top:1px solid var(--line)}
.contact-page form{display:grid;gap:13px;padding:28px;border:1px solid var(--line);border-radius:20px;background:var(--preview-ivory)}
.contact-page label{display:grid;gap:7px;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.07em}
.contact-page input,.contact-page textarea{width:100%;border:1px solid var(--line);border-radius:12px;background:#fff;padding:14px;font:inherit}
.contact-page button{border:0;border-radius:999px;background:var(--gold);color:#fff;padding:15px;font-weight:700;cursor:pointer}
#preview-contact-status{font-size:12px;margin:0}
.property-page-head{padding:75px 6vw 45px;background:var(--preview-navy);color:#fff}
.property-page-head h1{font-size:58px}
.property-disclaimer{display:flex;gap:20px;padding:28px 6vw;background:#f4eee1;border-top:1px solid #e6dac1}
.property-disclaimer b{color:var(--gold)}
.property-disclaimer span{max-width:760px}
.preview-detail-media{min-height:460px;background-size:cover;background-position:center;position:relative;overflow:hidden}
.preview-detail-media:after{content:"Imagen editorial de contexto · no corresponde a la unidad";position:absolute;left:18px;bottom:18px;background:rgba(8,14,22,.8);color:#fff;padding:9px 12px;border-radius:999px;font-size:10px}
.preview-back-link{display:inline-block;margin-bottom:24px;color:var(--gold);text-decoration:none;font-weight:700}
.preview-facts{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin:24px 0}
.preview-facts span{padding:13px;background:var(--preview-ivory);border-radius:10px}
.preview-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px}
.preview-actions a{padding:14px 20px;border-radius:999px;text-decoration:none;font-weight:700;background:var(--gold);color:#fff}
.preview-actions a.secondary-action{background:#fff;color:var(--ink);border:1px solid var(--line)}
.detail-link{display:inline-block;text-decoration:none}
.master-hero{min-height:680px}
.master-hero .hero-photo{background-image:url('../img/editorial/waterfront-life.jpg')}
@media(max-width:1100px){
.preview-topbar nav{display:none}.menu-toggle{display:block;margin-left:auto}.preview-topbar .top-action{margin-left:0}
.journey-bar{top:72px}.page-hero{min-height:420px}.contact-page{gap:5vw}
}
@media(max-width:760px){
.preview-topbar{height:72px}.preview-topbar .brand strong{font-size:20px}.preview-topbar .top-action{display:none}
.journey-label{display:none}.journey-bar{justify-content:center}.page-hero{min-height:390px;padding:60px 6vw}
.page-hero h1{font-size:48px}.page-hero p:last-child{font-size:16px}
.contact-page{grid-template-columns:1fr;padding:65px 6vw}.contact-page h2{font-size:44px}
.journey-cards{grid-template-columns:1fr}.property-page-head h1{font-size:45px}
.property-disclaimer{flex-direction:column}.preview-facts{grid-template-columns:1fr}
}

.context-visual{height:215px;position:relative;isolation:isolate;background-size:cover;background-position:center;color:#fff;align-items:flex-end;font-weight:700;text-shadow:0 1px 4px rgba(0,0,0,.7)}
.context-visual:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(7,15,24,.02) 35%,rgba(7,15,24,.76))}
.context-0{background-image:url('../img/editorial/v500/slot-vb-07-03-scene-001.jpg')}
.context-1{background-image:url('../img/editorial/v500/slot-vb-10-02-scene-010.jpg')}
.context-2{background-image:url('../img/editorial/v500/slot-vb-17-02-scene-031.jpg')}
.context-3{background-image:url('../img/editorial/v500/slot-vb-21-03-scene-044.jpg')}
.context-4{background-image:url('../img/editorial/v500/slot-vb-28-02-scene-064.jpg')}
.context-5{background-image:url('../img/editorial/v500/slot-vb-31-03-scene-074.jpg')}

.contact-link{display:inline-block;margin-top:8px;padding:14px 20px;border-radius:999px;text-decoration:none;font-weight:700;background:var(--gold);color:#fff}
.property-card .contact-link{padding:13px 17px;margin-left:5px;font-size:12px}

/* V6.71 exact approved visual master home */
body.vm-exact{margin:0;background:#f3f0e9;color:#17130e;overflow-x:hidden}
.vm-page{min-height:100vh;padding:0;background:#f3f0e9}
.vm-canvas{position:relative;width:min(100vw,1536px);aspect-ratio:3/2;margin:0 auto;background:#fff;box-shadow:0 12px 45px rgba(31,24,14,.12)}
.vm-canvas>img{display:block;width:100%;height:100%;object-fit:cover}
.vm-link{position:absolute;display:block;border:1px solid transparent;border-radius:10px;z-index:5}
.vm-link:focus-visible,.vm-link:hover{border-color:rgba(181,130,25,.8);background:rgba(218,170,58,.10);outline:none}
@media(max-width:720px){
 body.vm-exact{overflow:auto}
 .vm-page{width:100%}
 .vm-canvas{width:100vw;min-width:0}
 .vm-link{border-radius:4px}
}

/* V6.73 property share actions */
.mp-share{position:relative;margin:14px 0}.mp-action{border:1px solid #b59a62;background:#fff;padding:10px 16px;border-radius:999px;cursor:pointer}.mp-share-menu{position:absolute;z-index:20;top:46px;left:0;background:#fff;border:1px solid #d8d0c2;border-radius:14px;padding:8px;box-shadow:0 12px 30px #0002;min-width:190px}.mp-share-menu a,.mp-share-menu button{display:block;width:100%;box-sizing:border-box;text-align:left;padding:10px;border:0;background:#fff;color:#191714;text-decoration:none;cursor:pointer}

/* V6.73 exact-unit gallery viewer */
.mp-gallery-open{margin:12px 0;padding:11px 16px;border:1px solid #b59a62;border-radius:999px;background:#fff;cursor:pointer}.mp-gallery-modal{position:fixed;inset:0;z-index:9999;background:#f7f5ef;overflow:auto}.mp-gallery-head{position:sticky;top:0;z-index:2;display:flex;gap:16px;align-items:center;padding:16px 22px;background:#f7f5ef;border-bottom:1px solid #ddd}.mp-gallery-head button{margin-left:auto;font-size:30px;border:0;background:none;cursor:pointer}.mp-gallery-scroll{max-width:1100px;margin:auto;padding:20px}.mp-gallery-scroll figure{margin:0 0 18px}.mp-gallery-scroll img{display:block;width:100%;height:auto;max-height:82vh;object-fit:contain;background:#eee}.mp-gallery-scroll figcaption{text-align:right;padding:5px;color:#666}@media(max-width:720px){.mp-gallery-scroll{padding:8px}.mp-gallery-head{padding:12px}.mp-gallery-scroll img{max-height:none}}

/* V6.73 user actions */
.mp-user-actions{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0}.mp-user-actions button{border:1px solid #b59a62;background:#fff;padding:10px 15px;border-radius:999px;cursor:pointer}@media(max-width:720px){.mp-user-actions button{flex:1 1 100%}}

/* MP II gallery entry — approved interaction */
.mp-cover-entry{display:block;width:100%;padding:0;border:0;background:transparent;cursor:zoom-in}
.mp-cover-entry img{display:block;width:100%;max-height:72vh;object-fit:cover}
.mp-gallery-v2{position:fixed;inset:0;z-index:9999;background:rgba(8,15,25,.96);color:#fff;padding:18px 28px;overflow:auto}.mp-gallery-v2 .mp-gallery-head{display:flex;align-items:center;gap:18px;justify-content:space-between;max-width:1440px;margin:auto;background:#101923;color:#fff;border-bottom:1px solid rgba(255,255,255,.22);border-radius:6px}.mp-gallery-v2 .mp-gallery-head strong,.mp-gallery-v2 .mp-gallery-head span{color:#fff}.mp-gallery-v2 .mp-gallery-head .mp-close{color:#fff}.mp-gallery-v2 .mp-close{font-size:2rem;background:none;border:0;color:#fff}.mp-gallery-stage{max-width:1440px;margin:14px auto;display:grid;grid-template-columns:54px minmax(0,1fr) 54px;align-items:center}.mp-gallery-stage img{width:100%;height:min(62vh,720px);object-fit:contain}.mp-gallery-arrow{height:64px;border:0;background:rgba(255,255,255,.08);color:#fff;font-size:2.5rem}.mp-gallery-analysis,.mp-gallery-groups,.mp-gallery-reel{max-width:1320px;margin:14px auto}.mp-gallery-analysis{border-top:1px solid rgba(255,255,255,.18);padding-top:12px}.mp-gallery-groups,.mp-gallery-reel{display:flex;gap:9px;overflow-x:auto}.mp-gallery-groups button{white-space:nowrap;border:1px solid rgba(255,255,255,.3);border-radius:999px;padding:8px 13px;background:transparent;color:#fff}.mp-gallery-groups button.active{background:#fff;color:#111}.mp-gallery-reel button{flex:0 0 132px;border:1px solid transparent;padding:3px;background:transparent;color:#fff;text-align:left}.mp-gallery-reel button.active{border-color:#c7922b}.mp-gallery-reel img{width:100%;height:82px;object-fit:cover}.mp-gallery-reel span{display:block;font-size:.68rem;margin-top:4px}

/* MP II gallery responsive 18SEP */
@media (max-width:720px){.mp-gallery-v2{padding:10px 8px}.mp-gallery-v2 .mp-gallery-head{gap:8px;font-size:.78rem}.mp-gallery-stage{grid-template-columns:38px minmax(0,1fr) 38px;margin:8px auto}.mp-gallery-stage img{height:52vh}.mp-gallery-arrow{height:52px;font-size:2rem}.mp-gallery-reel button{flex-basis:104px}.mp-gallery-reel img{height:68px}}

/* Flechas de fotos en tarjetas; el enlace de la imagen sigue abriendo la ficha. */
.mp-card-photo-frame{position:relative;height:260px;background:#f4f1eb;overflow:hidden}
.mp-card-photo-frame .publication-card-media{display:block;width:100%;height:100%}
.mp-card-photo-frame .publication-card-media img{display:block;width:100%;height:100%;object-fit:contain;object-position:center}
.mp-card-photo-controls{display:none;position:absolute;inset:0;align-items:center;justify-content:space-between;pointer-events:none}
.mp-card-photo-frame.has-gallery:hover .mp-card-photo-controls,.mp-card-photo-frame.has-gallery:focus-within .mp-card-photo-controls{display:flex}
.mp-card-photo-controls button{pointer-events:auto;z-index:1;width:38px;height:44px;border:0;border-radius:50%;background:rgba(18,25,32,.78);color:#fff;font-size:30px;line-height:1;cursor:pointer;margin:0 8px}
.mp-card-photo-controls button:focus-visible{outline:3px solid #b97b17;outline-offset:2px}
.mp-card-photo-count{pointer-events:none;align-self:flex-end;margin-bottom:10px;padding:4px 8px;border-radius:12px;background:rgba(18,25,32,.75);color:#fff;font-size:12px}
@media(hover:none){.mp-card-photo-frame.has-gallery .mp-card-photo-controls{display:flex}.mp-card-photo-controls button{width:42px;height:48px}}
@media(max-width:720px){.mp-card-photo-frame{height:220px}}

/* 19SEP — fotografía completa + reel de ficha aprobado */
.property-card .publication-card-media{height:260px;background:#f4f1eb;display:flex;align-items:center;justify-content:center;overflow:hidden}
.property-card a.publication-card-media{cursor:pointer;text-decoration:none}
.property-card a.publication-card-media:focus-visible{outline:3px solid #b57a13;outline-offset:-3px}
.property-card .publication-card-media img{width:100%;height:100%;object-fit:contain;object-position:center;background:#f4f1eb}
.mp-cover-entry{background:#f4f1eb;overflow:hidden}
.mp-cover-entry img{width:100%;height:auto;max-height:none;object-fit:contain;object-position:center;background:#f4f1eb}
.mp-detail-reel{display:flex;gap:10px;overflow-x:auto;padding:12px 2px 18px;scrollbar-width:thin}
.mp-detail-reel button{flex:0 0 150px;height:100px;padding:3px;border:1px solid #ded6c8;border-radius:10px;background:#fff;cursor:pointer;overflow:hidden}
.mp-detail-reel img{display:block;width:100%;height:100%;object-fit:contain;background:#f4f1eb;border-radius:7px}
.mp-gallery-analysis p{font-size:1rem;line-height:1.55}
@media(max-width:720px){.property-card .publication-card-media{height:220px}.mp-detail-reel button{flex-basis:112px;height:78px}}

/* MP II final property media contract — 19SEP */
.mp-cover-entry{display:block;width:100%;padding:0;border:0;background:#f4f1eb;cursor:pointer;overflow:hidden}
.mp-cover-entry img{display:block;width:100%;height:auto;max-height:none;object-fit:contain;object-position:center;background:#f4f1eb}
.mp-detail-gallery-tools{margin:14px 0 28px}
.mp-detail-reel{display:flex;gap:10px;overflow-x:auto;padding:8px 0 3px}
.mp-detail-reel button{flex:0 0 150px;height:100px;border:1px solid #ddd4c5;border-radius:8px;padding:3px;background:#fff;cursor:pointer}
.mp-detail-reel img{display:block;width:100%;height:100%;object-fit:contain;object-position:center;background:#f4f1eb;border-radius:6px}
@media(max-width:720px){.mp-detail-reel button{flex-basis:112px;height:78px}}

/* 23SEP — ficha maestra aprobada: galería izquierda / datos derecha */
body:has(#preview-property-detail) .property-page-head{display:none}
#preview-property-detail{max-width:1460px;margin:0 auto;padding:26px 44px 72px;display:grid;grid-template-columns:minmax(0,65fr) minmax(0,35fr);column-gap:38px;align-items:start}
#preview-property-detail>.preview-back-link{grid-column:1/-1;margin:0 0 16px;color:#8f6417;font-weight:700}
#preview-property-detail>.mp-master-media{grid-column:1;grid-row:2;min-width:0}
#preview-property-detail .mp-cover-entry{width:100%;aspect-ratio:1.48/1;border-radius:4px;background:#f3f1ec}
#preview-property-detail .mp-cover-entry img{width:100%;height:100%;object-fit:contain}
#preview-property-detail .mp-gallery-entry-row{margin:8px 0}
#preview-property-detail .mp-detail-reel{min-width:0}
#preview-property-detail .mp-detail-reel button.active{border-color:#b97b17;box-shadow:0 0 0 2px #b97b17}
#preview-property-detail .mp-detail-reel button:focus-visible{outline:2px solid #b97b17;outline-offset:2px}
#preview-property-detail .mp-cover-entry{display:block;height:auto}
#preview-property-detail .mp-cover-entry img{display:block;width:100%;height:100%;object-fit:contain;object-position:center}
#preview-property-detail>.property-sheet{grid-column:2;grid-row:2;min-width:0;padding:8px 0 0 6px;margin:0;max-width:none}
#preview-property-detail:not(:has(.mp-cover-entry))>.property-sheet{grid-column:1/-1;max-width:850px}
#preview-property-detail .property-sheet h2{font:400 clamp(38px,3vw,58px)/1.03 'Libre Caslon Display',Georgia,serif;margin:8px 0;color:#151515}
#preview-property-detail .detail-price{font:400 clamp(34px,2.8vw,50px)/1 Georgia,serif;color:#b97b17;margin:12px 0 22px}
#preview-property-detail .preview-facts{grid-template-columns:repeat(3,minmax(0,1fr));gap:0;border-top:1px solid #e5ded1;border-bottom:1px solid #e5ded1;padding:18px 0;margin:14px 0 24px}
#preview-property-detail .preview-facts span{min-width:0;padding:8px 10px;border-radius:0;border-right:1px solid #eee7dc;background:transparent;overflow-wrap:anywhere}
#preview-property-detail .property-description{border-top:1px solid #e5ded1;padding-top:20px}
#preview-property-detail .property-description h3,#preview-property-detail .market-intelligence h3{font:400 27px/1.2 Georgia,serif}
@media(max-width:980px){#preview-property-detail{padding:20px;grid-template-columns:minmax(0,1fr)}#preview-property-detail>.mp-master-media,#preview-property-detail>.property-sheet{grid-column:1;grid-row:auto}#preview-property-detail>.property-sheet{padding:24px 0 0}#preview-property-detail .preview-facts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){#preview-property-detail{padding:14px 14px 50px}#preview-property-detail .detail-price{font-size:36px}}

/* 24SEP — edificios múltiples y detalles acreditados de cada aviso */
#filters .building-picker{position:relative;min-width:225px}
#filters .building-picker-toggle{width:100%;height:100%;min-height:52px;display:flex;align-items:center;justify-content:space-between;gap:10px;text-align:left;border:1px solid #ddd4c5;border-radius:13px;background:#fff;color:#272a30;font-size:15px;font-weight:600;line-height:1.25;padding:13px 16px}
#filters .building-picker-toggle:hover,#filters .building-picker-toggle[aria-expanded="true"]{border-color:#af843d;background:#fffaf1;color:#242220}
.building-picker-count{border-radius:99px;padding:2px 8px;background:#b18535;color:white;font-size:12px;margin-left:auto}
.building-picker-panel{position:absolute;top:calc(100% + 7px);left:0;z-index:30;width:min(350px,85vw);max-height:385px;overflow:auto;border:1px solid #d8ccb7;border-radius:16px;background:#fff;box-shadow:0 18px 40px rgba(21,29,41,.16);padding:14px}
.building-picker-panel[hidden],.selected-buildings[hidden]{display:none}
.building-picker-panel p{margin:2px 8px 12px;color:#756344;font-size:13px;font-weight:700}
.building-picker-search-label{display:block;margin:0 8px 5px;color:#574c3b;font-size:12px;font-weight:700}
#filters .building-picker-search{display:block;width:100%;min-height:42px;border:1px solid #d8ccb7;border-radius:10px;background:#fff;color:#272a30;font:inherit;font-size:14px;padding:8px 12px;margin:0 0 10px}
#filters .building-picker-search:focus-visible{outline:2px solid #8b631e;outline-offset:2px}
#filters .building-picker-options label[hidden],#filters .building-picker-empty[hidden]{display:none}
#filters .building-picker-empty{font-weight:500;color:#746c61;padding:8px 2px;margin:0}
.building-picker-options{display:grid;gap:2px}
#filters .building-picker-options label{display:flex;align-items:center;gap:10px;padding:9px 10px;border-radius:9px;font-size:14px;cursor:pointer}
#filters .building-picker-options label:hover,#filters .building-picker-options label:has(input:checked){background:#f8f3e9}
#filters .building-picker-options input{width:17px;height:17px;accent-color:#b18535;margin:0;padding:0}
#filters .selected-buildings{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:8px;align-items:center}
#filters .building-chip{display:inline-flex;align-items:center;gap:10px;border:1px solid #d5c39f;border-radius:999px;background:#f6f0e4;color:#30281b;padding:8px 10px 8px 14px;font-size:13px;font-weight:600;cursor:pointer}
#filters .building-chip span{display:grid;place-items:center;width:19px;height:19px;border-radius:50%;background:#b18535;color:white;font-size:17px;line-height:1}
#filters .building-chip:hover{background:#efe2ca}
#filters .building-picker-toggle:focus-visible,#filters .building-chip:focus-visible,#filters .building-picker-options input:focus-visible{outline:2px solid #8b631e;outline-offset:2px}
.card-icon-defs{position:absolute;width:0;height:0;overflow:hidden}
#property-grid{gap:24px}
#property-grid .property-card{border-color:#e4dbcd;border-radius:20px;box-shadow:0 8px 28px rgba(27,26,22,.07);transition:transform .18s ease,box-shadow .18s ease}
#property-grid .property-card:hover{transform:translateY(-3px);box-shadow:0 15px 36px rgba(27,26,22,.12)}
#property-grid .property-card .card-body{padding:22px 24px 25px;display:flex;flex-direction:column;min-height:230px}
#property-grid .property-card .card-body .eyebrow{font-size:10px;letter-spacing:.17em;color:#9c742d;margin:0 0 10px}
#property-grid .property-card h3{font-size:clamp(22px,2vw,28px);line-height:1.2;margin:0 0 14px}
#property-grid .property-card .price{margin:auto 0 14px;color:#a87421;font-size:23px}
#property-grid .card-facts{display:flex;flex-wrap:wrap;gap:8px 13px;border-top:1px solid #e9e2d8;padding:15px 0 17px;color:#454b52}
#property-grid .card-fact{display:inline-flex;align-items:center;gap:6px;font-size:13px;white-space:nowrap}
#property-grid .card-fact svg{width:17px;height:17px;color:#a67c33;flex:none}
#property-grid .card-fact--quiet{color:#777;font-style:italic}
#property-grid .property-card .detail-link{align-self:flex-start;margin:0;background:#182332;border-radius:99px;font-size:13px;padding:12px 18px}
@media(max-width:760px){#filters .building-picker{width:100%}#filters .building-picker-panel{width:min(350px,90vw)}#property-grid .property-card .card-body{min-height:0}}

#filters .more-filters{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
@media(max-width:900px){#filters .more-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){#filters .more-filters{grid-template-columns:1fr}}
#property-grid .property-card[hidden],.catalog-pagination[hidden]{display:none!important}
.catalog-pagination{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:8px;margin:32px auto 12px}
.catalog-pagination a,.catalog-pagination span:not([aria-hidden]){display:inline-flex;justify-content:center;align-items:center;min-width:42px;min-height:42px;padding:8px 13px;border:1px solid #d5c39f;border-radius:12px;background:#fff;color:#30281b;font:inherit;text-decoration:none}
.catalog-pagination a:hover{background:#f6f0e4}
.catalog-pagination [aria-current="page"]{background:#182332;color:#fff;border-color:#182332}
.catalog-pagination [aria-disabled="true"]{opacity:.45}
.catalog-pagination a:focus-visible{outline:2px solid #8b631e;outline-offset:2px}
@media(max-width:600px){.catalog-pagination .catalog-page-number:not([aria-current]),.catalog-pagination [aria-hidden="true"]{display:none}}

/* 25SEP — visor simple: imagen y flechas; sin panel inferior de galería. */
.mp-gallery-v2 .mp-gallery-analysis,.mp-gallery-v2 .mp-gallery-groups,.mp-gallery-v2 .mp-gallery-reel{display:none}
.mp-gallery-v2 .mp-gallery-stage{margin:18px auto 0}
.mp-gallery-v2 .mp-gallery-head{position:relative}

/* 25SEP — fichas de catálogo: encuadre parejo y lectura compacta. */
#property-grid{gap:20px}
#property-grid .property-card{border-radius:16px}
#property-grid .mp-card-photo-frame{height:230px;background:#e8e4dd}
#property-grid .mp-card-photo-frame .publication-card-media{height:100%;background:#e8e4dd}
#property-grid .mp-card-photo-frame .publication-card-media img{width:100%;height:100%;object-fit:cover;object-position:center;background:#e8e4dd}
#property-grid .property-card .card-body{padding:18px 20px 22px;min-height:0}
#property-grid .property-card .card-body .eyebrow{font-size:10px;margin-bottom:8px}
#property-grid .property-card h3{font-size:clamp(19px,1.45vw,23px);line-height:1.22;margin:0 0 11px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
#property-grid .property-card .price{margin:0 0 12px;font-size:21px}
#property-grid .card-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 10px;padding:12px 0 15px}
#property-grid .card-fact{white-space:normal;font-size:12px;line-height:1.3}
#property-grid .card-fact svg{width:16px;height:16px}
#property-grid .property-card .detail-link{margin-top:auto}
@media(max-width:760px){#property-grid .mp-card-photo-frame{height:220px}}


/* Ficha apaisada acordada: descripción y análisis ocupan el ancho completo. */
/* La lectura continúa bajo la galería y los datos principales. */
#preview-property-detail>.property-sheet-wide{grid-column:1/-1;grid-row:3;width:100%;max-width:none;padding:34px 0 0;margin:0;min-width:0}
#preview-property-detail>.property-sheet-wide .property-description{width:100%;max-width:none;margin:0 0 38px;padding-top:30px}
#preview-property-detail>.property-sheet-wide .property-description p{font-size:clamp(17px,1.25vw,20px);line-height:1.7;overflow-wrap:break-word}
#preview-property-detail>.property-sheet-wide .market-intelligence,#preview-property-detail>.property-sheet-wide .preview-actions{width:100%}
#preview-property-detail>.property-sheet-wide .preview-facts{grid-template-columns:repeat(auto-fit,minmax(170px,1fr))}
@media(max-width:980px){#preview-property-detail>.property-sheet-wide{grid-column:1;grid-row:auto;padding:24px 0 0}}
@media(max-width:600px){#preview-property-detail>.property-sheet-wide .preview-facts{grid-template-columns:repeat(2,minmax(0,1fr))}}
#preview-property-detail>.property-sheet:not(.property-sheet-wide) .preview-facts{grid-template-columns:repeat(2,minmax(0,1fr))}

#preview-property-detail .mp-detail-engagement{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;margin:16px 0 0;padding:12px 0;border-top:1px solid #e5ded1}
#preview-property-detail .mp-detail-engagement a{display:inline-flex;justify-content:center;align-items:center;min-height:43px;padding:10px 15px;border-radius:999px;background:#b9872b;color:#fff;text-decoration:none;font-size:13px;font-weight:700;text-align:center}
#preview-property-detail .mp-detail-engagement a.mp-similar-action{background:#fff;color:#70511c;border:1px solid #b9872b}
#preview-property-detail .mp-detail-engagement a:focus-visible{outline:2px solid #70511c;outline-offset:3px}
@media(max-width:600px){#preview-property-detail .mp-detail-engagement a{width:100%}}

/* Una imagen ilustrativa siempre conserva el aviso visible en portada y galería. */
#preview-property-detail .mp-cover-entry,.mp-gallery-stage{position:relative}
.mp-virtual-badge{position:absolute;left:14px;bottom:14px;z-index:3;background:rgba(24,28,29,.90);color:white;border:1px solid rgba(255,255,255,.75);padding:9px 12px;border-radius:3px;font:600 12px/1.25 system-ui,sans-serif;letter-spacing:.015em;text-align:left}
.mp-virtual-badge[hidden]{display:none!important}
.mp-reel-virtual{position:absolute;left:6px;bottom:6px;background:rgba(24,28,29,.88);color:#fff;padding:2px 6px;border-radius:2px;font:600 10px system-ui,sans-serif}
.mp-detail-reel button{position:relative}
.mp-card-photo-frame{position:relative}.mp-card-virtual-badge{position:absolute;left:8px;bottom:8px;background:rgba(24,28,29,.9);color:#fff;padding:4px 7px;border-radius:2px;font:600 10px system-ui,sans-serif;pointer-events:none}.mp-card-virtual-badge[hidden]{display:none!important}

/* Galería Potenciada: acceso claro y acorde a la ficha de lujo. */
#preview-property-detail .mp-gallery-open-action{display:inline-flex;align-items:center;justify-content:center;min-height:39px;padding:9px 16px;border:1px solid #b58a35;border-radius:24px;background:#fbf8f1;color:#76551b;font:600 13px/1.3 system-ui,sans-serif;letter-spacing:.015em;cursor:pointer;transition:background .16s ease,box-shadow .16s ease,transform .16s ease}
#preview-property-detail .mp-gallery-open-action:hover{background:#f5ecda;box-shadow:0 3px 12px rgba(120,86,30,.15);transform:translateY(-1px)}
#preview-property-detail .mp-gallery-open-action:focus-visible{outline:2px solid #8b611a;outline-offset:3px}
@media(max-width:720px){#preview-property-detail .mp-gallery-open-action{width:100%;padding:11px 14px}}

/* Compartir: menú dentro de la ficha, sin tapar título ni precio. */
#preview-property-detail .mp-share{position:relative;margin:5px 0 14px}
#preview-property-detail .mp-share-menu{position:static;display:grid;gap:4px;box-sizing:border-box;min-width:0;width:min(100%,340px);margin-top:8px;padding:10px}
#preview-property-detail .mp-share-menu[hidden]{display:none}
#preview-property-detail .mp-share-menu button{font-weight:600;border-radius:8px}
#preview-property-detail .mp-share-menu small,#preview-property-detail .mp-share-status{display:block;padding:4px 10px;color:#675e50;font-size:12px;line-height:1.4;overflow-wrap:anywhere}

/* Visible brand signature on public photo presentation. Source media remains intact. */
#property-grid .publication-card-media,
#preview-property-detail .mp-cover-entry,
#preview-property-detail .mp-detail-reel button,
.mp-gallery-v2 .mp-gallery-stage{position:relative;isolation:isolate}
#property-grid .publication-card-media::after,
#preview-property-detail .mp-cover-entry::after,
#preview-property-detail .mp-detail-reel button::after,
.mp-gallery-v2 .mp-gallery-stage::after{
 content:"M  |  MADERO PROPERTIES";position:absolute;right:9px;bottom:9px;z-index:3;
 display:block;max-width:75%;padding:6px 9px;border:1px solid rgba(255,255,255,.65);border-radius:5px;
 background:rgba(26,31,35,.72);color:#fff;font-family:Georgia,serif;font-size:10px;font-weight:600;
 letter-spacing:.13em;line-height:1.15;text-shadow:0 1px 2px rgba(0,0,0,.45);pointer-events:none;
 box-shadow:0 2px 8px rgba(0,0,0,.15)
}
#preview-property-detail .mp-detail-reel button::after{right:5px;bottom:5px;padding:3px 4px;font-size:6px;letter-spacing:.04em}
.mp-gallery-v2 .mp-gallery-stage::after{right:16px;bottom:16px;padding:8px 11px;font-size:12px}
@media(max-width:600px){#property-grid .publication-card-media::after,#preview-property-detail .mp-cover-entry::after{right:7px;bottom:7px;padding:5px 7px;font-size:8px;letter-spacing:.08em}}

/* Approved dark-charcoal logo on a translucent cream plaque; native photographs remain unchanged. */
#property-grid .publication-card-media::after,
#preview-property-detail .mp-cover-entry::after,
#preview-property-detail .mp-detail-reel button::after,
.mp-gallery-v2 .mp-gallery-stage::after{
 content:"";box-sizing:border-box;width:150px;height:60px;max-width:42%;padding:0;
 border:1px solid rgba(255,255,255,.66);border-radius:7px;
 background:rgba(247,241,231,.87) url('../img/brand/madero-properties-logo-approved.png') center/contain no-repeat;
 box-shadow:0 2px 10px rgba(0,0,0,.16)
}
#preview-property-detail .mp-detail-reel button::after{width:55px;height:23px;max-width:40%;right:4px;bottom:4px;border-radius:3px}
.mp-gallery-v2 .mp-gallery-stage::after{width:180px;height:72px;max-width:35%}
@media(max-width:600px){#property-grid .publication-card-media::after,#preview-property-detail .mp-cover-entry::after{width:112px;height:45px;max-width:38%}}

/* Gallery watermark anchored to its photo, not to the modal grid. */
.mp-gallery-v2 .mp-gallery-stage::after{display:none!important}
.mp-gallery-v2 .mp-gallery-image-frame{position:relative;grid-column:2;justify-self:center;display:block;width:fit-content;max-width:100%;line-height:0;isolation:isolate}
.mp-gallery-v2 .mp-gallery-image-frame img{display:block;width:auto!important;max-width:100%;height:auto!important;max-height:min(62vh,720px);object-fit:contain}
.mp-gallery-v2 .mp-gallery-image-frame::after{content:"";position:absolute;right:8px;bottom:8px;z-index:2;box-sizing:border-box;width:150px;height:60px;max-width:35%;border:1px solid rgba(255,255,255,.66);border-radius:7px;background:rgba(247,241,231,.87) url('../img/brand/madero-properties-logo-approved.png') center/contain no-repeat;box-shadow:0 2px 10px rgba(0,0,0,.16);pointer-events:none}
@media(max-width:720px){.mp-gallery-v2 .mp-gallery-image-frame img{max-height:52vh}.mp-gallery-v2 .mp-gallery-image-frame::after{width:105px;height:42px;right:5px;bottom:5px}}


/* Brand photo mark is opt-in. Legacy and other agencies have no ownership mark. */
#property-grid .publication-card-media::after,
#preview-property-detail .mp-cover-entry::after,
#preview-property-detail .mp-detail-reel button::after,
.mp-gallery-v2 .mp-gallery-image-frame::after{content:none!important;display:none!important}
/* Only verified organic Madero Properties Renoir I floor 5. */
#property-grid .publication-card-media[href*="ref=R0DE4A5FFCD3439EE"]::after,
#preview-property-detail.mp-owned-brand .mp-cover-entry::after,
#preview-property-detail.mp-owned-brand .mp-detail-reel button::after,
.mp-gallery-v2.mp-owned-brand .mp-gallery-image-frame::after{content:""!important;display:block!important}
