# utils/branch_locator.py

def detectar_sucursal(ip, cliente_id):
    # Lógica temporal básica o de prueba
    if ip.startswith("192.168."):
        return "oficina-local"
    elif ip.startswith("10.0."):
        return "vpn"
    else:
        return "remoto"

