
.residencias-swiper .swiper-slide img { cursor: zoom-in; }
.residencias-swiper .swiper-slide img:focus-visible { outline: 3px solid #7c1d2a; outline-offset: -4px; }
#residencias-lightbox { position: fixed; inset: 0; margin: auto; width: 100vw; max-width: none; height: 100vh; height: 100dvh; max-height: none; padding: 64px 68px 32px; border: 0; background: rgba(8,10,12,.97); color: white; overflow: hidden; }
#residencias-lightbox[open] { display: flex; align-items: center; justify-content: center; }
#residencias-lightbox::backdrop { background: rgba(0,0,0,.9); }
#residencias-lightbox .rl-figure { margin: 0; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
#residencias-lightbox .rl-image { display: block; width: 100%; height: calc(100% - 52px); min-height: 0; object-fit: contain; touch-action: pan-y pinch-zoom; }
#residencias-lightbox .rl-caption { min-height: 40px; text-align: center; font: 14px/1.5 Inter, sans-serif; color: #eee; }
#residencias-lightbox button { position: absolute; z-index: 2; display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid #ffffff55; border-radius: 50%; color: white; background: #ffffff18; cursor: pointer; font-size: 24px; }
#residencias-lightbox button:hover { background: #ffffff35; }
#residencias-lightbox button:focus-visible { outline: 3px solid white; outline-offset: 3px; }
#residencias-lightbox .rl-close { top: 12px; right: 16px; font-size: 32px; }
#residencias-lightbox .rl-prev { left: 12px; top: calc(50% - 24px); }
#residencias-lightbox .rl-next { right: 12px; top: calc(50% - 24px); }
@media (max-width: 767px) {
 #residencias-lightbox { padding: 64px 8px 76px; }
 #residencias-lightbox .rl-prev { top: auto; bottom: 16px; left: calc(50% - 62px); }
 #residencias-lightbox .rl-next { top: auto; bottom: 16px; right: calc(50% - 62px); }
}
