/* Marca de agua visual (CSS overlay) para fotos de fichas de inmobiliarias */
.wm-wrap { position: relative; display: inline-block; max-width: 100%; overflow: hidden; z-index: 3; }
.wm-wrap > img { display: block; max-width: 100%; height: auto; }
.wm-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    z-index: 6;
    user-select: none;
}
.wm-overlay.wm-pos-center { align-items: center; justify-content: center; }
.wm-overlay.wm-pos-bottom-right { align-items: flex-end; justify-content: flex-end; padding: 12px; }
.wm-overlay.wm-pos-top-left { align-items: flex-start; justify-content: flex-start; padding: 12px; }
.wm-logo {
    width: 144px;
    height: auto;
    max-width: none;
    max-height: none;
    object-fit: contain;
    opacity: 0.35;
    /* Marca de agua: logo en gris, semitransparente */
    filter: grayscale(1) drop-shadow(0 1px 2px rgba(0,0,0,0.4));
}
.wm-text {
    color: rgba(255,255,255,0.95);
    opacity: var(--wm-op, 0.30);
    font-weight: 700;
    font-size: clamp(12px, 2.2vw, 26px);
    text-align: center;
    text-shadow: 0 1px 4px rgba(0,0,0,0.65);
    padding: 0 8px;
    word-break: break-word;
}
/* Variante diagonal estilo marca de agua */
.wm-overlay.wm-diagonal .wm-text {
    transform: rotate(-30deg);
    white-space: nowrap;
}
